docs/reference/gtk/ 0000775 0001750 0001750 00000000000 13620336746 014373 5 ustar mclasen mclasen docs/reference/gtk/version.xml 0000644 0001750 0001750 00000000007 13620336746 016575 0 ustar mclasen mclasen 3.98.0
docs/reference/gtk/getting_started.xml 0000664 0001750 0001750 00000130323 13617645614 020311 0 ustar mclasen mclasen
Getting Started with GTK
GTK is a
widget toolkit . Each user interface created by
GTK consists of widgets. This is implemented in C using
GObject, an object-oriented framework for C.
Widgets are organized in a hierachy. The window widget is the main container.
The user interface is then built by adding buttons, drop-down menus, input
fields, and other widgets to the window.
If you are creating complex user interfaces it is recommended to
use #GtkBuilder and its GTK-specific markup description language, instead of
assembling the interface manually. You can also use a visual user interface
editor, like Glade .
GTK is event-driven. The toolkit listens for events such as
a click on a button, and passes the event to your application.
This chapter contains some tutorial information to get you
started with GTK programming. It assumes that you have GTK, its
dependencies and a C compiler installed and ready to use. If you
need to build GTK itself first, refer to the
Compiling the GTK libraries
section in this reference.
Basics
To begin our introduction to GTK, we'll start with a simple
signal-based Gtk application. This program will create an empty 200 × 200 pixel
window.
Create a new file with the following content named example-0.c.
MISSING XINCLUDE CONTENT
You can compile the program above with GCC using:
gcc `pkg-config --cflags gtk4` -o example-0 example-0.c `pkg-config --libs gtk4`
For more information on how to compile a GTK application, please
refer to the Compiling GTK Applications
section in this reference.
All GTK applications will, of course, include
gtk/gtk.h , which declares functions, types and
macros required by GTK applications.
Even if GTK installs multiple header files, only the
top-level gtk/gtk.h header can be directly included
by third party code. The compiler will abort with an error if any other
header is directly included.
In a GTK application, the purpose of the main() function is to
create a #GtkApplication object and run it. In this example a
#GtkApplication pointer named app is called and then
initialized using gtk_application_new().
When creating a #GtkApplication
you need to pick an application identifier (a name)
and input to gtk_application_new() as parameter.
For this example org.gtk.example is used
but for choosing an identifier for your application see
this guide .
Lastly gtk_application_new() takes a GApplicationFlags as input for your
application, if your application would have special needs.
Next the
activate signal
is connected to the activate() function above the main() functions.
The activate signal will be sent
when your application is launched with
g_application_run() on the line below.
The g_application_run() also takes as arguments the command line arguments counter
and the pointer to string array; this allows GTK to parse specific command line
arguments that control the behavior of GTK itself. The parsed arguments
will be removed from the array, leaving the unrecognized ones for your
application to parse.
Within g_application_run the activate() signal is sent and
we then proceed into the activate () function of the
application. Inside the activate() function we want to construct
our GTK window, so that a window is shown when the application
is launched. The call to gtk_application_window_new() will
create a new #GtkWindow and store it inside the
window pointer. The window will have a frame,
a title bar, and window controls depending on the platform.
A window title is set using gtk_window_set_title(). This function
takes a GtkWindow* pointer and a string as input. As our
window pointer is a GtkWidget pointer, we need to cast it
to GtkWindow*.
But instead of casting window via
(GtkWindow*) ,
window can be cast using the macro
GTK_WINDOW() .
GTK_WINDOW() will check if the
pointer is an instance of the GtkWindow class, before casting, and emit a
warning if the check fails. More information about this convention
can be found
here .
Finally the window size is set using gtk_window_set_default_size and
the window is then shown by GTK via gtk_widget_show().
When you exit the window, by for example pressing the X,
the g_application_run() in the main loop returns with a number
which is saved inside an integer named "status". Afterwards, the
#GtkApplication object is freed from memory with g_object_unref().
Finally the status integer is returned and the GTK application exits.
While the program is running, GTK is receiving
events . These are typically input events caused by
the user interacting with your program, but also things like messages from
the window manager or other applications. GTK processes these and as a
result, signals may be emitted on your widgets.
Connecting handlers for these signals is how you normally make your
program do something in response to user input.
The following example is slightly more complex, and tries to
showcase some of the capabilities of GTK.
In the long tradition of programming languages and libraries,
it is called Hello, World .
Hello World in GTK
Create a new file with the following content named example-1.c.
MISSING XINCLUDE CONTENT
You can compile the program above with GCC using:
gcc `pkg-config --cflags gtk4` -o example-1 example-1.c `pkg-config --libs gtk4`
As seen above, example-1.c builds further upon example-0.c by adding a
button to our window, with the label "Hello World". Two new GtkWidget pointers
are declared to accomplish this, button and
button_box . The button_box variable is created to store a
#GtkBox which is GTK's way of controlling the size and layout of buttons.
The #GtkBox is created and assigned to gtk_box_new() which takes a
#GtkOrientation enum as parameter. The buttons which this box will contain can
either be stored horizontally or vertically but this does not matter in this
particular case as we are dealing with only one button. After initializing
button_box with horizontal orientation, the code adds the button_box widget to the
window widget using gtk_container_add().
Next the button variable is initialized in similar manner.
gtk_button_new_with_label() is called which returns a GtkButton to be stored inside
button . Afterwards button is added to
our button_box .
Using g_signal_connect the button is connected to a function in our app called
print_hello(), so that when the button is clicked, GTK will call this function.
As the print_hello() function does not use any data as input, NULL is passed
to it. print_hello() calls g_print() with the string "Hello World"
which will print Hello World in a terminal if the GTK application was started
from one.
After connecting print_hello(), another signal is connected to the "clicked" state
of the button using g_signal_connect_swapped(). This functions is similar to
a g_signal_connect() with the difference lying in how the callback function is
treated. g_signal_connect_swapped() allow you to specify what the callback
function should take as parameter by letting you pass it as data. In this case
the function being called back is gtk_widget_destroy() and the window
pointer is passed to it. This has the effect that when the button is clicked,
the whole GTK window is destroyed. In contrast if a normal g_signal_connect() were used
to connect the "clicked" signal with gtk_widget_destroy(), then the button
itself would have been destroyed, not the window.
More information about creating buttons can be found
here .
The rest of the code in example-1.c is identical to example-0.c. Next
section will elaborate further on how to add several GtkWidgets to your GTK
application.
Packing
When creating an application, you'll want to put more than one widget
inside a window.
When you want to put more than one widget into a window,
it becomes important to control how each widget is positioned and sized.
This is where packing comes in.
GTK comes with a large variety of layout containers
whose purpose it is to control the layout of the child widgets that are
added to them. See for an overview.
The following example shows how the GtkGrid container lets you
arrange several buttons:
Packing buttons
Create a new file with the following content named example-2.c.
MISSING XINCLUDE CONTENT
You can compile the program above with GCC using:
gcc `pkg-config --cflags gtk4` -o example-2 example-2.c `pkg-config --libs gtk4`
Building user interfaces
When construcing a more complicated user interface, with dozens
or hundreds of widgets, doing all the setup work in C code is
cumbersome, and making changes becomes next to impossible.
Thankfully, GTK supports the separation of user interface
layout from your business logic, by using UI descriptions in an
XML format that can be parsed by the #GtkBuilder class.
Packing buttons with GtkBuilder
Create a new file with the following content named example-3.c.
MISSING XINCLUDE CONTENT
Create a new file with the following content named builder.ui.
MISSING XINCLUDE CONTENT
You can compile the program above with GCC using:
gcc `pkg-config --cflags gtk4` -o example-3 example-3.c `pkg-config --libs gtk4`
Note that GtkBuilder can also be used to construct objects
that are not widgets, such as tree models, adjustments, etc.
That is the reason the method we use here is called
gtk_builder_get_object() and returns a GObject* instead of a
GtkWidget*.
Normally, you would pass a full path to
gtk_builder_add_from_file() to make the execution of your program
independent of the current directory. A common location to install
UI descriptions and similar data is
/usr/share/appname .
It is also possible to embed the UI description in the source
code as a string and use gtk_builder_add_from_string() to load it.
But keeping the UI description in a separate file has several
advantages: It is then possible to make minor adjustments to the UI
without recompiling your program, and, more importantly, graphical
UI editors such as glade
can load the file and allow you to create and modify your UI by
point-and-click.
Building applications
An application consists of a number of files:
The binary
This gets installed in /usr/bin .
A desktop file
The desktop file provides important information about the application to the desktop shell, such as its name, icon, D-Bus name, commandline to launch it, etc. It is installed in /usr/share/applications .
An icon
The icon gets installed in /usr/share/icons/hicolor/48x48/apps , where it will be found regardless of the current theme.
A settings schema
If the application uses GSettings, it will install its schema
in /usr/share/glib-2.0/schemas , so that tools
like dconf-editor can find it.
Other resources
Other files, such as GtkBuilder ui files, are best loaded from
resources stored in the application binary itself. This eliminates the
need for most of the files that would traditionally be installed in
an application-specific location in /usr/share .
GTK includes application support that is built on top of
#GApplication. In this tutorial we'll build a simple application by
starting from scratch, adding more and more pieces over time. Along
the way, we'll learn about #GtkApplication, templates, resources,
application menus, settings, #GtkHeaderBar, #GtkStack, #GtkSearchBar,
#GtkListBox, and more.
The full, buildable sources for these examples can be found
in the examples/ directory of the GTK source distribution, or
online in the GTK git repository.
You can build each example separately by using make with the Makefile.example
file. For more information, see the README included in the
examples directory.
A trivial application
When using #GtkApplication, the main() function can be very
simple. We just call g_application_run() and give it an instance
of our application class.
MISSING XINCLUDE CONTENT
All the application logic is in the application class, which
is a subclass of #GtkApplication. Our example does not yet have any
interesting functionality. All it does is open a window when it is
activated without arguments, and open the files it is given, if it
is started with arguments.
To handle these two cases, we override the activate() vfunc,
which gets called when the application is launched without commandline
arguments, and the open() vfunc, which gets called when the application
is launched with commandline arguments.
To learn more about GApplication entry points, consult the
GIO documentation .
MISSING XINCLUDE CONTENT
Another important class that is part of the application support
in GTK is #GtkApplicationWindow. It is typically subclassed as well.
Our subclass does not do anything yet, so we will just get an empty
window.
MISSING XINCLUDE CONTENT
As part of the initial setup of our application, we also
create an icon and a desktop file.
MISSING XINCLUDE CONTENT
Note that @bindir@ needs to be replaced
with the actual path to the binary before this desktop file can be used.
Here is what we've achieved so far:
This does not look very impressive yet, but our application
is already presenting itself on the session bus, it has single-instance
semantics, and it accepts files as commandline arguments.
Populating the window
In this step, we use a #GtkBuilder template to associate a
#GtkBuilder ui file with our application window class.
Our simple ui file puts a #GtkHeaderBar on top of a #GtkStack
widget. The header bar contains a #GtkStackSwitcher, which is a
standalone widget to show a row of 'tabs' for the pages of a #GtkStack.
MISSING XINCLUDE CONTENT
To make use of this file in our application, we revisit
our #GtkApplicationWindow subclass, and call
gtk_widget_class_set_template_from_resource() from the class init
function to set the ui file as template for this class. We also
add a call to gtk_widget_init_template() in the instance init
function to instantiate the template for each instance of our
class.
(full source )
You may have noticed that we used the _from_resource() variant
of the function that sets a template. Now we need to use GLib's resource functionality
to include the ui file in the binary. This is commonly done by listing
all resources in a .gresource.xml file, such as this:
MISSING XINCLUDE CONTENT
This file has to be converted into a C source file that will be
compiled and linked into the application together with the other source
files. To do so, we use the glib-compile-resources utility:
glib-compile-resources exampleapp.gresource.xml --target=resources.c --generate-source
Our application now looks like this:
Opening files
In this step, we make our application show the content of
all the files that it is given on the commandline.
To this end, we add a member to the struct in application
window subclass and keep a reference to the #GtkStack there.
The first member of the struct should be the parent type from
which the class is derived. Here, ExampleAppWindow is derived
from GtkApplicationWindow.
The gtk_widget_class_bind_template_child() function
arranges things so that after instantiating the template, the
@stack member of the struct will point to the widget of
the same name from the template.
(full source )
Now we revisit the example_app_window_open() function that
is called for each commandline argument, and construct a GtkTextView
that we then add as a page to the stack:
stack), scrolled, basename, basename);
if (g_file_load_contents (file, NULL, &contents, &length, NULL, NULL))
{
GtkTextBuffer *buffer;
buffer = gtk_text_view_get_buffer (GTK_TEXT_VIEW (view));
gtk_text_buffer_set_text (buffer, contents, length);
g_free (contents);
}
g_free (basename);
}
...
]]>
(full source )
Note that we did not have to touch the stack switcher
at all. It gets all its information from the stack that it
belongs to. Here, we are passing the label to show for each
file as the last argument to the gtk_stack_add_titled()
function.
Our application is beginning to take shape:
An application menu
An application menu is shown by GNOME shell at the top of the
screen. It is meant to collect infrequently used actions that affect
the whole application.
Just like the window template, we specify our application menu
in a ui file, and add it as a resource to our binary.
MISSING XINCLUDE CONTENT
To associate the app menu with the application, we have to call
gtk_application_set_app_menu(). Since app menus work by activating
#GActions, we also have to add a suitable set of actions to our
application.
Both of these tasks are best done in the startup() vfunc,
which is guaranteed to be called once for each primary application
instance:
...
static void
preferences_activated (GSimpleAction *action,
GVariant *parameter,
gpointer app)
{
}
static void
quit_activated (GSimpleAction *action,
GVariant *parameter,
gpointer app)
{
g_application_quit (G_APPLICATION (app));
}
static GActionEntry app_entries[] =
{
{ "preferences", preferences_activated, NULL, NULL, NULL },
{ "quit", quit_activated, NULL, NULL, NULL }
};
static void
example_app_startup (GApplication *app)
{
GtkBuilder *builder;
GMenuModel *app_menu;
const gchar *quit_accels[2] = { "<Ctrl>Q", NULL };
G_APPLICATION_CLASS (example_app_parent_class)->startup (app);
g_action_map_add_action_entries (G_ACTION_MAP (app),
app_entries, G_N_ELEMENTS (app_entries),
app);
gtk_application_set_accels_for_action (GTK_APPLICATION (app),
"app.quit",
quit_accels);
builder = gtk_builder_new_from_resource ("/org/gtk/exampleapp/app-menu.ui");
app_menu = G_MENU_MODEL (gtk_builder_get_object (builder, "appmenu"));
gtk_application_set_app_menu (GTK_APPLICATION (app), app_menu);
g_object_unref (builder);
}
static void
example_app_class_init (ExampleAppClass *class)
{
G_APPLICATION_CLASS (class)->startup = example_app_startup;
...
}
...
(full source )
Our preferences menu item does not do anything yet,
but the Quit menu item is fully functional. Note that it
can also be activated by the usual Ctrl-Q shortcut. The
shortcut was added with gtk_application_set_accels_for_action().
The application menu looks like this:
A preference dialog
A typical application will have a some preferences that
should be remembered from one run to the next. Even for our
simple example application, we may want to change the font
that is used for the content.
We are going to use GSettings to store our preferences.
GSettings requires a schema that describes our settings:
MISSING XINCLUDE CONTENT
Before we can make use of this schema in our application,
we need to compile it into the binary form that GSettings
expects. GIO provides macros
to do this in autotools-based projects.
Next, we need to connect our settings to the widgets
that they are supposed to control. One convenient way to do
this is to use GSettings bind functionality to bind settings
keys to object properties, as we do here for the transition
setting.
settings = g_settings_new ("org.gtk.exampleapp");
g_settings_bind (win->settings, "transition",
win->stack, "transition-type",
G_SETTINGS_BIND_DEFAULT);
}
...
]]>
(full source )
The code to connect the font setting is a little more involved,
since there is no simple object property that it corresponds to, so
we are not going to go into that here.
At this point, the application will already react if you
change one of the settings, e.g. using the gsettings commandline
tool. Of course, we expect the application to provide a preference
dialog for these. So lets do that now. Our preference dialog will
be a subclass of GtkDialog, and we'll use the same techniques that
we've already seen: templates, private structs, settings
bindings.
Lets start with the template.
MISSING XINCLUDE CONTENT
Next comes the dialog subclass.
MISSING XINCLUDE CONTENT
Now we revisit the preferences_activated() function in our
application class, and make it open a new preference dialog.
(full source )
After all this work, our application can now show
a preference dialog like this:
Adding a search bar
We continue to flesh out the functionality of our application.
For now, we add search. GTK supports this with #GtkSearchEntry and
#GtkSearchBar. The search bar is a widget that can slide in from the
top to present a search entry.
We add a toggle button to the header bar, which can be used
to slide out the search bar below the header bar.
MISSING XINCLUDE CONTENT
Implementing the search needs quite a few code changes that
we are not going to completely go over here. The central piece of
the search implementation is a signal handler that listens for
text changes in the search entry.
stack));
view = gtk_bin_get_child (GTK_BIN (tab));
buffer = gtk_text_view_get_buffer (GTK_TEXT_VIEW (view));
/* Very simple-minded search implementation */
gtk_text_buffer_get_start_iter (buffer, &start);
if (gtk_text_iter_forward_search (&start, text, GTK_TEXT_SEARCH_CASE_INSENSITIVE,
&match_start, &match_end, NULL))
{
gtk_text_buffer_select_range (buffer, &match_start, &match_end);
gtk_text_view_scroll_to_iter (GTK_TEXT_VIEW (view), &match_start,
0.0, FALSE, 0.0, 0.0);
}
}
static void
example_app_window_init (ExampleAppWindow *win)
{
...
gtk_widget_class_bind_template_callback (GTK_WIDGET_CLASS (class), search_text_changed);
...
}
...
]]>
(full source )
With the search bar, our application now looks like this:
Adding a side bar
As another piece of functionality, we are adding a sidebar,
which demonstrates #GtkMenuButton, #GtkRevealer and #GtkListBox.
MISSING XINCLUDE CONTENT
The code to populate the sidebar with buttons for the words
found in each file is a little too involved to go into here. But we'll
look at the code to add the gears menu.
As expected by now, the gears menu is specified in a GtkBuilder
ui file.
MISSING XINCLUDE CONTENT
To connect the menuitem to the show-words setting, we use
a #GAction corresponding to the given #GSettings key.
gears), menu);
g_object_unref (builder);
action = g_settings_create_action (priv->settings, "show-words");
g_action_map_add_action (G_ACTION_MAP (win), action);
g_object_unref (action);
}
...
]]>
(full source )
What our application looks like now:
Properties
Widgets and other objects have many useful properties.
Here we show some ways to use them in new and flexible ways,
by wrapping them in actions with #GPropertyAction or by binding them
with #GBinding.
To set this up, we add two labels to the header bar in our
window template, named @lines_label and @lines, and bind them to
struct members in the private struct, as we've seen a couple of times
by now.
We add a new "Lines" menu item to the gears menu, which
triggers the show-lines action:
MISSING XINCLUDE CONTENT
To make this menu item do something, we create a property
action for the visible property of the @lines label, and add it to the
actions of the window. The effect of this is that the visibility
of the label gets toggled every time the action is activated.
Since we want both labels to appear and disappear together,
we bind the visible property of the @lines_label widget to the
same property of the @lines widget.
...
static void
example_app_window_init (ExampleAppWindow *win)
{
...
action = (GAction*) g_property_action_new ("show-lines", win->lines, "visible");
g_action_map_add_action (G_ACTION_MAP (win), action);
g_object_unref (action);
g_object_bind_property (win->lines, "visible",
win->lines_label, "visible",
G_BINDING_DEFAULT);
}
...
(full source )
We also need a function that counts the lines of the currently
active tab, and updates the @lines label. See the
full source
if you are interested in the details.
This brings our example application to this appearance:
Header bar
Our application already uses a GtkHeaderBar, but so far it
still gets a 'normal' window titlebar on top of that. This is a
bit redundant, and we will now tell GTK to use the header bar
as replacement for the titlebar. To do so, we move it around to
be a direct child of the window, and set its type to be titlebar.
MISSING XINCLUDE CONTENT
A small extra bonus of using a header bar is that we get
a fallback application menu for free. Here is how the
application now looks, if this fallback is used.
If we set up the window icon for our window, the menu button
will use that instead of the generic placeholder icon you see
here.
Custom Drawing
Many widgets, like buttons, do all their drawing themselves. You
just tell them the label you want to see, and they figure out what font
to use, draw the button outline and focus rectangle, etc. Sometimes, it
is necessary to do some custom drawing. In that case, a #GtkDrawingArea
might be the right widget to use. It offers a canvas on which you can
draw by connecting to the #GtkWidget::draw signal.
The contents of a widget often need to be partially or fully redrawn,
e.g. when another window is moved and uncovers part of the widget, or
when the window containing it is resized. It is also possible to explicitly
cause part or all of the widget to be redrawn, by calling
gtk_widget_queue_draw() or its variants. GTK takes care of most of the
details by providing a ready-to-use cairo context to the ::draw signal
handler.
The following example shows a ::draw signal handler. It is a bit
more complicated than the previous examples, since it also demonstrates
input event handling by means of ::button-press and ::motion-notify
handlers.
Drawing in response to input
Create a new file with the following content named example-4.c.
MISSING XINCLUDE CONTENT
You can compile the program above with GCC using:
gcc `pkg-config --cflags gtk4` -o example-4 example-4.c `pkg-config --libs gtk4`
docs/reference/gtk/gtk4.types 0000664 0001750 0001750 00000012711 13620316153 016322 0 ustar mclasen mclasen #include
#include
gtk_about_dialog_get_type
gtk_accel_group_get_type
gtk_accel_label_get_type
gtk_accel_map_get_type
gtk_accessible_get_type
gtk_actionable_get_type
gtk_action_bar_get_type
gtk_adjustment_get_type
gtk_app_chooser_get_type
gtk_app_chooser_button_get_type
gtk_app_chooser_dialog_get_type
gtk_app_chooser_widget_get_type
gtk_application_get_type
gtk_application_window_get_type
gtk_aspect_frame_get_type
gtk_assistant_get_type
gtk_assistant_page_get_type
gtk_bin_get_type
gtk_bin_layout_get_type
gtk_box_get_type
gtk_box_layout_get_type
gtk_builder_cscope_get_type
gtk_builder_get_type
gtk_builder_scope_get_type
gtk_buildable_get_type
gtk_button_get_type
gtk_calendar_get_type
gtk_cell_area_get_type
gtk_cell_area_box_get_type
gtk_cell_area_context_get_type
gtk_cell_editable_get_type
gtk_cell_layout_get_type
gtk_cell_renderer_accel_get_type
gtk_cell_renderer_combo_get_type
gtk_cell_renderer_get_type
gtk_cell_renderer_pixbuf_get_type
gtk_cell_renderer_progress_get_type
gtk_cell_renderer_spin_get_type
gtk_cell_renderer_spinner_get_type
gtk_cell_renderer_text_get_type
gtk_cell_renderer_toggle_get_type
gtk_cell_view_get_type
gtk_check_button_get_type
gtk_color_button_get_type
gtk_color_chooser_get_type
gtk_color_chooser_dialog_get_type
gtk_color_chooser_widget_get_type
gtk_combo_box_get_type
gtk_combo_box_text_get_type
gtk_constraint_get_type
gtk_constraint_guide_get_type
gtk_constraint_layout_get_type
gtk_constraint_target_get_type
gtk_container_get_type
gtk_css_provider_get_type
gtk_dialog_get_type
gtk_drag_icon_get_type
gtk_drag_source_get_type
gtk_drawing_area_get_type
gtk_drop_target_get_type
gtk_editable_get_type
gtk_emoji_chooser_get_type
gtk_entry_buffer_get_type
gtk_entry_completion_get_type
gtk_entry_get_type
gtk_event_controller_get_type
gtk_event_controller_key_get_type
gtk_event_controller_legacy_get_type
gtk_event_controller_motion_get_type
gtk_event_controller_scroll_get_type
gtk_expander_get_type
gtk_file_chooser_button_get_type
gtk_file_chooser_dialog_get_type
gtk_file_chooser_get_type
gtk_file_chooser_widget_get_type
gtk_file_filter_get_type
gtk_filter_list_model_get_type
gtk_fixed_get_type
gtk_fixed_layout_get_type
gtk_flatten_list_model_get_type
gtk_flow_box_get_type
gtk_flow_box_child_get_type
gtk_font_button_get_type
gtk_font_chooser_get_type
gtk_font_chooser_dialog_get_type
gtk_font_chooser_widget_get_type
gtk_frame_get_type
gtk_gesture_get_type
gtk_gesture_click_get_type
gtk_gesture_drag_get_type
gtk_gesture_long_press_get_type
gtk_gesture_pan_get_type
gtk_gesture_rotate_get_type
gtk_gesture_single_get_type
gtk_gesture_stylus_get_type
gtk_gesture_swipe_get_type
gtk_gesture_zoom_get_type
gtk_gl_area_get_type
gtk_grid_get_type
gtk_grid_layout_child_get_type
gtk_grid_layout_get_type
gtk_header_bar_get_type
gtk_icon_theme_get_type
gtk_icon_view_get_type
gtk_image_get_type
gtk_im_context_get_type
gtk_im_context_simple_get_type
gtk_im_multicontext_get_type
gtk_info_bar_get_type
gtk_label_get_type
gtk_layout_child_get_type
gtk_layout_manager_get_type
gtk_link_button_get_type
gtk_list_store_get_type
gtk_list_box_get_type
gtk_list_box_row_get_type
gtk_lock_button_get_type
gtk_map_list_model_get_type
gtk_media_controls_get_type
gtk_media_file_get_type
gtk_media_stream_get_type
gtk_menu_button_get_type
gtk_message_dialog_get_type
gtk_mount_operation_get_type
gtk_native_get_type
gtk_no_selection_get_type
gtk_notebook_get_type
gtk_notebook_page_get_type
gtk_orientable_get_type
gtk_overlay_get_type
gtk_pad_controller_get_type
gtk_page_setup_get_type
gtk_page_setup_unix_dialog_get_type
gtk_paned_get_type
gtk_paper_size_get_type
gtk_password_entry_get_type
gtk_picture_get_type
gtk_popover_get_type
gtk_popover_menu_get_type
gtk_popover_menu_bar_get_type
gtk_printer_get_type
gtk_print_context_get_type
gtk_print_job_get_type
gtk_print_operation_get_type
gtk_print_operation_preview_get_type
gtk_print_settings_get_type
gtk_print_unix_dialog_get_type
gtk_progress_bar_get_type
gtk_radio_button_get_type
gtk_range_get_type
gtk_recent_manager_get_type
gtk_revealer_get_type
gtk_root_get_type
gtk_scale_button_get_type
gtk_scale_get_type
gtk_scrollable_get_type
gtk_scrollbar_get_type
gtk_scrolled_window_get_type
gtk_search_bar_get_type
gtk_search_entry_get_type
gtk_selection_model_get_type
gtk_separator_get_type
gtk_settings_get_type
gtk_shortcut_label_get_type
gtk_shortcuts_window_get_type
gtk_shortcuts_section_get_type
gtk_shortcuts_group_get_type
gtk_shortcuts_shortcut_get_type
gtk_single_selection_get_type
gtk_size_group_get_type
gtk_slice_list_model_get_type
gtk_snapshot_get_type
gtk_sort_list_model_get_type
gtk_spin_button_get_type
gtk_spinner_get_type
gtk_stack_get_type
gtk_stack_page_get_type
gtk_stack_sidebar_get_type
gtk_stack_switcher_get_type
gtk_statusbar_get_type
gtk_switch_get_type
gtk_level_bar_get_type
gtk_style_context_get_type
gtk_style_provider_get_type
gtk_text_buffer_get_type
gtk_text_child_anchor_get_type
gtk_text_get_type
gtk_text_iter_get_type
gtk_text_mark_get_type
gtk_text_tag_get_type
gtk_text_tag_table_get_type
gtk_text_view_get_type
gtk_toggle_button_get_type
gtk_tree_drag_dest_get_type
gtk_tree_drag_source_get_type
gtk_tree_list_model_get_type
gtk_tree_list_row_get_type
gtk_tree_model_filter_get_type
gtk_tree_model_get_type
gtk_tree_model_sort_get_type
gtk_tree_selection_get_type
gtk_tree_sortable_get_type
gtk_tree_store_get_type
gtk_tree_view_column_get_type
gtk_tree_view_get_type
gtk_video_get_type
gtk_viewport_get_type
gtk_volume_button_get_type
gtk_widget_get_type
gtk_window_get_type
gtk_window_group_get_type
docs/reference/gtk/actions.xml 0000664 0001750 0001750 00000033463 13620320467 016557 0 ustar mclasen mclasen
The GTK Action Model
3
GTK Library
The GTK Action Model
How actions are used in GTK
Overview of actions in GTK
This chapter describes in detail how GTK uses actions to connect
activatable UI elements to callbacks. GTK inherits the underlying
architecture of GAction and GMenu for describing abstract actions
and menus from the GIO library.
Basics about actions
A GAction is essentially a way to tell the toolkit about a
piece of functionality in your program, and to give it a name.
Actions are purely functional. They do not contain any
presentational information.
An action has four pieces of information associated with it:
a name as an identifier (usually all-lowercase, untranslated
English string)
an enabled flag indicating if the action can be activated or
not (like the "sensitive" property on widgets)
an optional state value, for stateful actions (like a boolean
for toggles)
an optional parameter type, used when activating the action
An action supports two operations. You can activate it, which
requires passing a parameter of the correct type
And you can request to change the actions state (for stateful
actions) to a new state value of the correct type.
Here are some rules about an action:
the name is immutable (in the sense that it will never
change) and it is never %NULL
the enabled flag can change
the parameter type is immutable
the parameter type is optional: it can be %NULL
if the parameter type is %NULL then action activation must
be done without a parameter (ie: a %NULL GVariant pointer)
if the parameter type is non-%NULL then the parameter must
have this type
the state can change, but it cannot change type
if the action was stateful when it was created, it will
always have a state and it will always have exactly the same
type (such as boolean or string)
if the action was stateless when it was created, it can never
have a state
you can only request state changes on stateful actions and it
is only possible to request that the state change to a value
of the same type as the existing state
An action does not have any sort of presentational information
such as a label, an icon or a way of creating a widget from it.
Action state and parameters
Most actions in your application will be stateless actions with
no parameters. These typically appear as menu items with no
special decoration. An example is "quit".
Stateful actions are used to represent an action which has a
closely-associated state of some kind. A good example is a
"fullscreen" action. For this case, you'd expect to see a
checkmark next to the menu item when the fullscreen option
is active. This is usually called a toggle action, and it has
a boolean state. By convention, toggle actions have no parameter
type for activation: activating the action always toggles the
state.
Another common case is to have an action representing a
enumeration of possible values of a given type (typically
string). This is often called a radio action and is usually
represented in the user interface with radio buttons or radio
menu items, or sometimes a combobox. A good example is
"text-justify" with possible values "left", "center", and
"right". By convention, these types of actions have a parameter
type equal to their state type, and activating them with a
particular parameter value is equivalent to changing their
state to that value.
This approach to handling radio buttons is different than many
other action systems such as GtkAction. With GAction, there is
only one action for "text-justify" and "left", "center" and
"right" are possible states on that action. There are not three
separate "justify-left", "justify-center" and "justify-right"
actions.
The final common type of action is a stateless action with a
parameter. This is typically used for actions like
"open-bookmark" where the parameter to the action would be
the identifier of the bookmark to open.
Because some types of actions cannot be invoked without a
parameter, it is often important to specify a parameter when
referring to the action from a place where it will be invoked
(such as from a radio button that sets the state to a particular
value or from a menu item that opens a specific bookmark). In
these contexts, the value used for the action parameter is
typically called the target of the action.
Even though toggle actions have a state, they do not have a
parameter. Therefore, a target value is not needed when
referring to them — they will always be toggled on activation.
Most APIs that allow using a GAction (such as GMenuModel and
GtkActionable) allow use of detailed action names. This is a
convenient way of specifying an action name and an action target
with a single string.
In the case that the action target is a string with no unusual
characters (ie: only alpha-numeric, plus '-' and '.') then you
can use a detailed action name of the form "justify::left" to
specify the justify action with a target of left.
In the case that the action target is not a string, or contains
unusual characters, you can use the more general format
"action-name(5)", where the "5" here is any valid text-format
GVariant (ie: a string that can be parsed by g_variant_parse()).
Another example is "open-bookmark('http://gnome.org/')".
You can convert between detailed action names and split-out
action names and target values using g_action_parse_detailed_action_name()
and g_action_print_detailed_action_name() but usually you will
not need to. Most APIs will provide both ways of specifying
actions with targets.
Action scopes
Actions are always scoped to a particular object on which they
operate.
In GTK, actions are typically scoped to either an application
or a window, but any widget can have actions associated with it.
Actions scoped to windows should be the actions that
specifically impact that window. These are actions like
"fullscreen" and "close", or in the case that a window contains
a document, "save" and "print".
Actions that impact the application as a whole rather than one
specific window are scoped to the application. These are actions
like "about" and "preferences".
If a particular action is scoped to a window then it is scoped
to a specific window. Another way of saying this: if your
application has a "fullscreen" action that applies to windows
and it has three windows, then it will have three fullscreen
actions: one for each window.
Having a separate action per-window allows for each window to
have a separate state for each instance of the action as well
as being able to control the enabled state of the action on a
per-window basis.
Actions are added to their relevant scope (application,
window or widget) either using the GActionMap interface,
or by using gtk_widget_insert_action_group(). Actions that
will be the same for all instances of a widget class can
be added globally using gtk_widget_class_install_action().
Action groups and action maps
Actions rarely occurs in isolation. It is common to have groups
of related actions, which are represented by instances of the
GActionGroup interface.
Action maps are a variant of action groups that allow to change
the name of the action as it is looked up. In GTK, the convention
is to add a prefix to the action name to indicate the scope of
the actions, such as "app." for the actions with application scope
or "win." for those with window scope.
When referring to actions on a GActionMap only the name of the
action itself is used (ie: "quit", not "app.quit"). The
"app.quit" form is only used when referring to actions from
places like a GMenu or GtkActionable widget where the scope
of the action is not already known.
GtkApplication and GtkApplicationWindow implement the GActionMap
interface, so you can just add actions directly to them. For
other widgets, use gtk_widget_insert_action_group() to add
actions to it.
If you want to insert several actions at the same time, it is
typically faster and easier to use GActionEntry.
Connecting actions to widgets
Any widget that implements the GtkActionable interface can
be connected to an action just by setting the ::action-name
property. If the action has a parameter, you will also need
to set the ::action-target property.
Widgets that implement GtkActionable include GtkSwitch, GtkButton,
and their respective subclasses.
Another way of obtaining widgets that are connected to actions
is to create a menu using a GMenu menu model. GMenu provides an
abstract way to describe typical menus: nested groups of items
where each item can have a label, and icon, and an action.
Typical uses of GMenu inside GTK are to set up an application
menu or menubar with gtk_application_set_app_menu() or
gtk_application_set_menubar(). Another, maybe more common use
is to create a popover for a menubutton, using
gtk_menu_button_set_menu_model().
Unlike traditional menus, those created from menu models don't
have keyboard accelerators associated with menu items. Instead,
GtkApplication offers the gtk_application_set_accels_for_action()
API to associate keyboard shortcuts with actions.
Activation
When a widget with a connected action is activated, GTK finds
the action to activate by walking up the widget hierarchy,
looking for a matching action, ending up at the GtkApplication.
Built-in Actions
GTK uses actions for its own purposes in a number places. These
built-in actions can sometimes be activated by applications, and
you should avoid naming conflicts with them when creating your
own actions.
default.activate
Activates the default widget in a context
(typically a GtkWindow, GtkDialog or GtkPopover)
clipboard.cut, clipboard.copy, clipboard.paste
Clipboard operations on entries, text view
and labels, typically used in the context menu
selection.delete, selection.select-all
Selection operations on entries, text view
and labels
color.select, color.customize
Operations on colors in GtkColorChooserWidget.
These actions are unusual in that they have the non-trivial
parameter type (dddd).
docs/reference/gtk/broadway.xml 0000664 0001750 0001750 00000004140 13620320467 016715 0 ustar mclasen mclasen
Using GTK with Broadway
3
GTK Library
Using GTK with Broadway
HTML-specific aspects of using GTK
Using GTK with Broadway
The GDK Broadway backend provides support for displaying GTK
applications in a web browser, using HTML5 and web sockets. To run
your application in this way, select the Broadway backend by setting
GDK_BACKEND=broadway . Then you can make
your application appear in a web browser by pointing it at
http://127.0.0.1:8080 . Note that you need
to enable web sockets in your web browser.
You can choose a different port from the default 8080 by setting
the BROADWAY_DISPLAY environment variable to the
port that you want to use.
It is also possible to use multiple GTK applications in the same
web browser window, by using the Broadway server,
broadwayd , that ships with GTK.
To use broadwayd, start it like this:
broadwayd :5
Then point your web browser at http://127.0.0.1:8085 .
Start your applications like this:
GDK_BACKEND=broadway BROADWAY_DISPLAY=:5 gtk4-demo
Broadway-specific environment variables
BROADWAY_DISPLAY
Specifies the Broadway display number. The default display is 0.
The display number determines the port to use when connecting
to a Broadway application via the following formula:
port = 8080 + display
docs/reference/gtk/building.xml 0000664 0001750 0001750 00000050157 13620320467 016713 0 ustar mclasen mclasen
Compiling the GTK libraries
3
GTK Library
Compiling the GTK Libraries
How to compile GTK itself
Building GTK
Before we get into the details of how to compile GTK, we should
mention that in many cases, binary packages of GTK prebuilt for
your operating system will be available, either from your
operating system vendor or from independent sources. If such a
set of packages is available, installing it will get you
programming with GTK much faster than building it yourself. In
fact, you may well already have GTK installed on your system
already.
In order to build GTK, you will need meson
installed on your system. On Linux, and other UNIX-like operating
systems, you will also need ninja . This
guide does not cover how to install these two requirements, but you
can refer to the Meson website
for more information. The Ninja
build tool is also usable on various operating systems, so we will
refer to it in the examples.
If you are building GTK from a source distribution or from a Git
clone, you will need to use meson to
configure the project. The most commonly useful argument is the
--prefix one, which determines where the
files will go once installed. To install GTK under a prefix
like /opt/gtk you would run Meson as:
meson --prefix /opt/gtk builddir
Meson will create the builddir directory and
place all the build artefacts there.
You can get a list of all available options for the build by
running meson configure .
After Meson successfully configured the build directory, you then
can run the build, using Ninja:
cd builddir
ninja
ninja install
If you don't have permission to write to the directory you are
installing in, you may have to change to root temporarily before
running ninja install .
Several environment variables are useful to pass to set before
running meson . CPPFLAGS
contains options to pass to the C compiler, and is used to tell
the compiler where to look for include files. The LDFLAGS
variable is used in a similar fashion for the linker. Finally the
PKG_CONFIG_PATH environment variable contains
a search path that pkg-config (see below)
uses when looking for files describing how to compile
programs using different libraries. If you were installing GTK
and it's dependencies into /opt/gtk , you
might want to set these variables as:
CPPFLAGS="-I/opt/gtk/include"
LDFLAGS="-L/opt/gtk/lib"
PKG_CONFIG_PATH="/opt/gtk/lib/pkgconfig"
export CPPFLAGS LDFLAGS PKG_CONFIG_PATH
You may also need to set the LD_LIBRARY_PATH
environment variable so the systems dynamic linker can find
the newly installed libraries, and the PATH
environment program so that utility binaries installed by
the various libraries will be found.
LD_LIBRARY_PATH="/opt/gtk/lib"
PATH="/opt/gtk/bin:$PATH"
export LD_LIBRARY_PATH PATH
Build types
Meson has different build types, exposed by the buildtype
configuration option. GTK enables and disables functionality depending on
the build type used when calling meson to
configure the build.
debug and debugoptimized
GTK will enable debugging code paths in both the
debug and debugoptimized
build types. Builds with buildtype set
to debug will additionally enable
consistency checks on the internal state of the toolkit.
It is recommended to use the debug or
debugoptimized build types when developing
GTK itself. Additionally, debug builds of
GTK are recommended for profiling and debugging GTK applications,
as they include additional validation of the internal state.
The debugoptimized build type is the
default for GTK if no build type is specified when calling
meson
release
The release build type will disable
debugging code paths and additional run time safeties, like
checked casts for object instances.
The plain build type provided by Meson
should only be used when packaging GTK, and it's expected
that packagers will provide their own compiler flags when
building GTK. See the previous section for the list of
environment variables to be used to define compiler and
linker flags.
Dependencies
Before you can compile the GTK widget toolkit, you need to have
various other tools and libraries installed on your
system. Dependencies of GTK have their own build systems, so
you will need to refer to their own installation instructions.
A particular important tool used by GTK to find its dependencies
is pkg-config .
pkg-config
is a tool for tracking the compilation flags needed for
libraries that are used by the GTK libraries. (For each
library, a small .pc text file is installed
in a standard location that contains the compilation flags
needed for that library along with version number information.)
Some of the libraries that GTK depends on are maintained by
by the GTK team: GLib, GdkPixbuf, Pango, ATK and GObject Introspection.
Other libraries are maintained separately.
The GLib library provides core non-graphical functionality
such as high level data types, Unicode manipulation, and
an object and type system to C programs. It is available
from here .
The GdkPixbuf library
provides facilities for loading images in a variety of file formats.
It is available here .
Pango is a library
for internationalized text handling. It is available
here .
ATK is the Accessibility Toolkit. It provides a set of generic
interfaces allowing accessibility technologies such as
screen readers to interact with a graphical user interface.
It is available
here .
Gobject Introspection
is a framework for making introspection data available to
language bindings. It is available
here .
External dependencies
The GNU
libiconv library is needed to build GLib if your
system doesn't have the iconv()
function for doing conversion between character
encodings. Most modern systems should have
iconv() .
The libintl library from the GNU gettext
package is needed if your system doesn't have the
gettext() functionality for handling
message translation databases.
The libraries from the X window system are needed to build
Pango and GTK. You should already have these installed on
your system, but it's possible that you'll need to install
the development environment for these libraries that your
operating system vendor provides.
The fontconfig
library provides Pango with a standard way of locating
fonts and matching them against font names.
Cairo
is a graphics library that supports vector graphics and image
compositing. Both Pango and GTK use Cairo for drawing.
libepoxy
is a library that abstracts the differences between different
OpenGL libraries. GTK uses it for cross-platform GL support
and for its own drawing.
Graphene
is a library that provides vector and matrix types for 2D and
3D transformations. GTK uses it internally for drawing.
The Wayland libraries
are needed to build GTK with the Wayland backend.
The shared-mime-info
package is not a hard dependency of GTK, but it contains definitions
for mime types that are used by GIO and, indirectly, by GTK.
gdk-pixbuf will use GIO for mime type detection if possible. For this
to work, shared-mime-info needs to be installed and
XDG_DATA_DIRS set accordingly at configure time.
Otherwise, gdk-pixbuf falls back to its built-in mime type detection.
Building and testing GTK
First make sure that you have the necessary external
dependencies installed: pkg-config , Meson, Ninja,
the JPEG, PNG, and TIFF libraries, FreeType, and, if necessary,
libiconv and libintl. To get detailed information about building
these packages, see the documentation provided with the
individual packages. On any average Linux system, it's quite likely
you'll have all of these installed already, or they will be easily
accessible through your operating system package repositories.
Then build and install the GTK libraries in the order:
GLib, Cairo, Pango, ATK, then GTK. For each library, follow the
instructions they provide, and make sure to share common settings
between them and the GTK build; if you are using a separate prefix
for GTK, for instance, you will need to use the same prefix for all
its dependencies you build. If you're lucky, this will all go smoothly,
and you'll be ready to start compiling
your own GTK applications. You can test your GTK installation
by running the gtk4-demo program that
GTK installs.
If one of the projects you're configuring or building fails, look
closely at the error messages printed; these will often provide useful
information as to what went wrong. Every build system has its own
log that can help you understand the issue you're encountering. If all
else fails, you can ask for help on the gtk-list mailing list.
See for more information.
docs/reference/gtk/compiling.xml 0000664 0001750 0001750 00000007025 13620320467 017073 0 ustar mclasen mclasen
Compiling GTK Applications
3
GTK Library
Compiling GTK Applications
How to compile your GTK application
Compiling GTK Applications on UNIX
To compile a GTK application, you need to tell the compiler where to
find the GTK header files and libraries. This is done with the
pkg-config utility.
The following interactive shell session demonstrates how
pkg-config is used (the actual output on
your system may be different):
$ pkg-config --cflags gtk4
-pthread -I/usr/include/gtk-4.0 -I/usr/lib64/gtk-4.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12
$ pkg-config --libs gtk4
-pthread -lgtk-4 -lgdk-4 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0
The simplest way to compile a program is to use the "backticks"
feature of the shell. If you enclose a command in backticks
(not single quotes ), then its output will be
substituted into the command line before execution. So to compile
a GTK Hello, World, you would type the following:
$ cc `pkg-config --cflags gtk4` hello.c -o hello `pkg-config --libs gtk4`
Deprecated GTK functions are annotated to make the compiler
emit warnings when they are used (e.g. with gcc, you need to use
the -Wdeprecated-declarations option). If these warnings are
problematic, they can be turned off by defining the preprocessor
symbol %GDK_DISABLE_DEPRECATION_WARNINGS by using the commandline
option -DGDK_DISABLE_DEPRECATION_WARNINGS
GTK deprecation annotations are versioned; by defining the
macros %GDK_VERSION_MIN_REQUIRED and %GDK_VERSION_MAX_ALLOWED,
you can specify the range of GTK versions whose API you want
to use. APIs that were deprecated before or introduced after
this range will trigger compiler warnings.
Here is how you would compile hello.c if you want to allow it
to use symbols that were not deprecated in 4.2:
$ cc `pkg-config --cflags gtk4` -DGDK_VERSION_MIN_REQIRED=GDK_VERSION_4_2 hello.c -o hello `pkg-config --libs gtk4`
And here is how you would compile hello.c if you don't want
it to use any symbols that were introduced after 4.2:
$ cc `pkg-config --cflags gtk4` -DGDK_VERSION_MAX_ALLOWED=GDK_VERSION_4_2 hello.c -o hello `pkg-config --libs gtk4`
The older deprecation mechanism of hiding deprecated interfaces
entirely from the compiler by using the preprocessor symbol
GTK_DISABLE_DEPRECATED is still used for deprecated macros,
enumeration values, etc. To detect uses of these in your code,
use the commandline option -DGTK_DISABLE_DEPRECATED .
There are similar symbols GDK_DISABLE_DEPRECATED,
GDK_PIXBUF_DISABLE_DEPRECATED and G_DISABLE_DEPRECATED for GDK, GdkPixbuf and
GLib.
docs/reference/gtk/css-overview.xml 0000664 0001750 0001750 00000077035 13620320467 017556 0 ustar mclasen mclasen
GTK CSS Overview
3
GTK Library
GTK CSS Overview
Overview of CSS in GTK
Overview of CSS in GTK
This chapter describes in detail how GTK uses CSS for styling
and layout.
We loosely follow the CSS
value definition
specification in the formatting of syntax productions.
Nonterminals are enclosed in angle backets (〈〉), all other strings that are not listed here are literals
Juxtaposition means all components must occur, in the given order
A double ampersand (&&) means all components must occur, in any order
A double bar (||) means one or more of the components must occur, in any order
A single bar (|) indicates an alternative; exactly one of the components must occur
Brackets ([]) are used for grouping
A question mark (?) means that the preceding component is optional
An asterisk (*) means zero or more copies of the preceding component
A plus (+) means one or more copies of the preceding component
A number in curly braces ({n}) means that the preceding component occurs exactly n times
Two numbers in curly braces ({m,n}) mean that the preceding component occurs at least m times and at most n times
CSS nodes
GTK applies the style information found in style sheets by matching
the selectors against a tree of nodes. Each node in the tree has a
name, a state and possibly style classes. The children of each node
are linearly ordered.
Every widget has one or more of these CSS nodes, and determines their
name, state, style classes and how they are layed out as children and
siblings in the overall node tree. The documentation for each widget
explains what CSS nodes it has.
The CSS nodes of a GtkScale
Style sheets
The basic structure of the style sheets understood by GTK is
a series of statements, which are either rule sets or “@-rules”,
separated by whitespace.
A rule set consists of a selector and a declaration block, which is
a series of declarations enclosed in curly braces. The declarations
are separated by semicolons. Multiple selectors can share the same
declaration block, by putting all the separators in front of the block,
separated by commas.
A rule set with two selectors
Importing style sheets
GTK supports the CSS @import rule, in order to load another
style sheet in addition to the currently parsed one.
The syntax for @import rules is as follows:
〈import rule〉 = @import [ 〈url〉 | 〈string〉 ]
〈url〉 = url( 〈string〉 )
An example for using the @import rule
To learn more about the @import rule, you can read the
Cascading
module of the CSS specification.
Selectors
Selectors work very similar to the way they do in CSS.
All widgets have one or more CSS nodes with element names and style
classes. When style classes are used in selectors, they have to be prefixed
with a period. Widget names can be used in selectors like IDs. When used
in a selector, widget names must be prefixed with a # character.
In more complicated situations, selectors can be combined in various ways.
To require that a node satisfies several conditions, combine several selectors
into one by concatenating them. To only match a node when it occurs inside some
other node, write the two selectors after each other, separated by whitespace.
To restrict the match to direct children of the parent node, insert a >
character between the two selectors.
Theme labels that are descendants of a window
Theme notebooks, and anything within
Theme combo boxes, and entries that are direct children of a notebook
entry {
color: @fg_color;
background-color: #1209a2;
}
]]>
Theme any widget within a GtkBox
Theme a label named title-label
Theme any widget named main-entry
Theme all widgets with the style class entry
Theme the entry of a GtkSpinButton
It is possible to select CSS nodes depending on their position amongst
their siblings by applying pseudo-classes to the selector, like :first-child,
:last-child or :nth-child(even). When used in selectors, pseudo-classes
must be prefixed with a : character.
Theme labels in the first notebook tab
Another use of pseudo-classes is to match widgets depending on their
state. The available pseudo-classes for widget states are :active, :hover
:disabled, :selected, :focus, :indeterminate, :checked and :backdrop.
In addition, the following pseudo-classes don't have a direct equivalent
as a widget state: :dir(ltr) and :dir(rtl) (for text direction), :link and
:visited (for links) and :drop(active) (for highlighting drop targets).
Widget state pseudo-classes may only apply to the last element in a selector.
Theme pressed buttons
Theme buttons with the mouse pointer over it
Theme insensitive widgets
Theme checkbuttons that are checked
Theme focused labels
Theme indeterminate checkbuttons
To determine the effective style for a widget, all the matching rule
sets are merged. As in CSS, rules apply by specificity, so the rules
whose selectors more closely match a node will take precedence
over the others.
The full syntax for selectors understood by GTK can be found in the
table below. The main difference to CSS is that GTK does not currently
support attribute selectors.
Selector syntax
Pattern Matches Reference Notes
*
any node
CSS
E
any node with name E
CSS
E.class
any E node with the given style class
CSS
E#id
any E node with the given ID
CSS
GTK uses the widget name as ID
E:nth-child(〈nth-child〉)
any E node which is the n-th child of its parent node
CSS
E:nth-last-child(〈nth-child〉)
any E node which is the n-th child of its parent node, counting from the end
CSS
E:first-child
any E node which is the first child of its parent node
CSS
E:last-child
any E node which is the last child of its parent node
CSS
E:only-child
any E node which is the only child of its parent node
CSS
Equivalent to E:first-child:last-child
E:link, E:visited
any E node which represents a hyperlink, not yet visited (:link) or already visited (:visited)
CSS
Corresponds to GTK_STATE_FLAG_LINK and GTK_STATE_FLAGS_VISITED
E:active, E:hover, E:focus
any E node which is part of a widget with the corresponding state
CSS
Correspond to GTK_STATE_FLAG_ACTIVE, GTK_STATE_FLAG_PRELIGHT and GTK_STATE_FLAGS_FOCUSED respectively
E:disabled
any E node which is part of a widget which is disabled
CSS
Corresponds to GTK_STATE_FLAG_INSENSITIVE
E:checked
any E node which is part of a widget (e.g. radio- or checkbuttons) which is checked
CSS
Corresponds to GTK_STATE_FLAG_CHECKED
E:indeterminate
any E node which is part of a widget (e.g. radio- or checkbuttons) which is in an indeterminate state
CSS3 ,
CSS4
Corresponds to GTK_STATE_FLAG_INCONSISTENT
E:backdrop, E:selected
any E node which is part of a widget with the corresponding state
Corresponds to GTK_STATE_FLAG_BACKDROP, GTK_STATE_FLAG_SELECTED
E:not(〈selector〉)
any E node which does not match the simple selector 〈selector〉
CSS
E:dir(ltr), E:dir(rtl)
any E node that has the corresponding text direction
CSS4
E:drop(active)
any E node that is an active drop target for a current DND operation
CSS4
E F
any F node which is a descendent of an E node
CSS
E > F
any F node which is a child of an E node
CSS
E ~ F
any F node which is preceded by an E node
CSS
E + F
any F node which is immediately preceded by an E node
CSS
〈nth-child〉 = even | odd | 〈integer〉 | 〈integer〉n | 〈integer〉n [ + | - ] 〈integer〉
To learn more about selectors in CSS, read the
Selectors
module of the CSS specification.
Colors
CSS allows to specify colors in various ways, using numeric
values or names from a predefined list of colors.
〈color〉 = currentColor | transparent | 〈color name〉 | 〈rgb color〉 | 〈rgba color〉 | 〈hex color〉 | 〈gtk color〉
〈rgb color〉 = rgb( 〈number〉, 〈number〉, 〈number〉 ) | rgb( 〈percentage〉, 〈percentage〉, 〈percentage〉 )
〈rgba color〉 = rgba( 〈number〉, 〈number〉, 〈number〉, 〈alpha value〉 ) | rgba( 〈percentage〉, 〈percentage〉, 〈percentage〉, 〈alpha value〉 )
〈hex color〉 = #〈hex digits〉
〈alpha value〉 = 〈number〉
, clamped to values between 0 and 1
The keyword currentColor resolves to the current value of the
color property when used in another property, and to the inherited value
of the color property when used in the color property itself.
The keyword transparent can be considered a shorthand for rgba(0,0,0,0).
For a list of valid color names and for more background on colors in
CSS, see the Color
module of the CSS specification.
Specifying colors in various ways
GTK adds several additional ways to specify colors.
〈gtk color〉 = 〈symbolic color〉 | 〈color expression〉
The first is a reference to a color defined via a @define-color rule.
The syntax for @define-color rules is as follows:
〈define color rule〉 = @define-color 〈name〉 〈color〉
To refer to the color defined by a @define-color rule,
use the name from the rule, prefixed with @.
〈symbolic color〉 = @〈name〉
An example for defining colors
GTK also supports color expressions, which allow colors to be transformed
to new ones and can be nested, providing a rich language to define colors.
Color expressions resemble functions, taking 1 or more colors and in some
cases a number as arguments.
shade() leaves the color unchanged when the number is 1 and transforms it
to black or white as the number approaches 0 or 2 respectively. For mix(),
0 or 1 return the unaltered 1st or 2nd color respectively; numbers between
0 and 1 return blends of the two; and numbers below 0 or above 1 intensify
the RGB components of the 1st or 2nd color respectively. alpha() takes a
number from 0 to 1 and applies that as the opacity of the supplied color.
〈color expression〉 = lighter( 〈color〉 ) | darker( 〈color〉 ) | shade( 〈color〉, 〈number〉 ) |
alpha( 〈color〉, 〈number〉 ) | mix( 〈color〉, 〈color〉, 〈number〉 )
Images
CSS allows to specify images in various ways, for backgrounds
and borders.
〈image〉 = 〈url〉 | 〈crossfade〉 | 〈alternatives〉 | 〈gradient〉 | 〈gtk image〉
〈crossfade〉 = cross-fade( 〈percentage〉, 〈image〉, 〈image〉 )
〈alternatives〉 = image([ 〈image〉, ]* [ 〈image〉 | 〈color〉 ] )
〈gradient〉 = 〈linear gradient〉 | 〈radial gradient〉
〈linear gradient〉 = [ linear-gradient | repeating-linear-gradient ] (
[ [ 〈angle〉 | to 〈side or corner〉 ] , ]?
〈color stops〉 )
〈radial gradient〉 = [ radial-gradient | repeating-radial-gradient ] (
[ [ 〈shape〉 || 〈size〉 ] [ at 〈position〉 ]? , | at 〈position〉, ]?
〈color stops〉 )
〈side or corner〉 = [ left | right ] || [ top | bottom ]
〈color stops〉 = 〈color stop〉 [ , 〈color stop〉 ]+
〈color stop〉 = 〈color〉 [ 〈percentage〉 | 〈length〉 ]?
〈shape〉 = circle | ellipse
〈size〉 = 〈extent keyword〉 | 〈length〉 | [ 〈length〉 | 〈percentage〉 ]{1,2}
〈extent keyword〉 = closest-size | farthest-side | closest-corner | farthest-corner
The simplest way to specify an image in CSS is to load an image
file from a URL. CSS does not specify anything about supported file
formats; within GTK, you can expect at least PNG, JPEG and SVG to
work. The full list of supported image formats is determined by the
available gdk-pixbuf image loaders and may vary between systems.
Loading an image file
A crossfade lets you specify an image as an intermediate between two
images. Crossfades are specified in the draft of the level 4
Image
module of the CSS specification.
Crossfading two images
The image() syntax provides a way to specify fallbacks in case an image
format may not be supported. Multiple fallback images can be specified,
and will be tried in turn until one can be loaded successfully. The
last fallback may be a color, which will be rendered as a solid color
image.
Image fallback
Gradients are images that smoothly fades from one color to another. CSS
provides ways to specify repeating and non-repeating linear and radial
gradients. Radial gradients can be circular, or axis-aligned ellipses.
A linear gradient is created by specifying a gradient line and then several
colors placed along that line. The gradient line may be specified using
an angle, or by using direction keywords.
Linear gradients
A radial gradient is created by specifying a center point and one or two
radii. The radii may be given explicitly as lengths or percentages or
indirectly, by keywords that specify how the end circle or ellipsis
should be positioned relative to the area it is derawn in.
Radial gradients
To learn more about gradients in CSS, including details of how color stops
are placed on the gradient line and keywords for specifying radial sizes,
you can read the
Image
module of the CSS specification.
GTK extends the CSS syntax for images and also uses it for specifying icons.
〈gtk image〉 = 〈themed icon〉 | 〈scaled image〉 | 〈recolored image〉
GTK has extensive support for loading icons from icon themes. It is
accessible from CSS with the -gtk-icontheme syntax.
〈themed icon〉 = -gtk-icontheme( 〈icon name〉 )
The specified icon name is used to look up a themed icon, while taking
into account the values of the -gtk-icon-theme and -gtk-icon-palette
properties. This kind of image is mainly used as value of the
-gtk-icon-source property.
Using themed icons in CSS
GTK supports scaled rendering on hi-resolution displays. This works
best if images can specify normal and hi-resolution variants. From
CSS, this can be done with the -gtk-scaled syntax.
〈scaled image〉 = -gtk-scaled( 〈image〉[ , 〈image〉 ]* )
While -gtk-scaled accepts multiple higher-resolution variants, in
practice, it will mostly be used to specify a regular image and one
variant for scale 2.
Scaled images in CSS
〈recolored image〉 = -gtk-recolor( 〈url〉 [ , 〈color palette〉 ] )
Symbolic icons from the icon theme are recolored according to the
-gtk-icon-palette property. The recoloring is sometimes needed for images
that are not part of an icon theme, and the -gtk-recolor syntax makes
this available. -gtk-recolor requires a url as first argument. The
remaining arguments specify the color palette to use. If the palette
is not explicitly specified, the current value of the -gtk-icon-palette
property is used.
Recoloring an image
Transitions
CSS defines a mechanism by which changes in CSS property values can
be made to take effect gradually, instead of all at once. GTK supports
these transitions as well.
To enable a transition for a property when a rule set takes effect, it
needs to be listed in the transition-property property in that rule set.
Only animatable properties can be listed in the transition-property.
The details of a transition can modified with the transition-duration,
transition-timing-function and transition-delay properties.
To learn more about transitions, you can read the
Transitions
module of the CSS specification.
Animations
In addition to transitions, which are triggered by changes of the underlying
node tree, CSS also supports defined animations. While transitions specify how
property values change from one value to a new value, animations explicitly
define intermediate property values in keyframes.
Keyframes are defined with an @-rule which contains one or more of rule sets
with special selectors. Property declarations for nonanimatable properties
are ignored in these rule sets (with the exception of animation properties).
〈keyframe rule〉 = @keyframes 〈name〉 { 〈animation rule〉 }
〈animation rule〉 = 〈animation selector〉 { 〈declaration〉* }
〈animation selector〉 = 〈single animation selector〉 [ , 〈single animation selector〉 ]*
〈single animation selector〉 = from | to | 〈percentage〉
To enable an animation, the name of the keyframes must be set as the value
of the animation-name property. The details of the animation can modified
with the animation-duration, animation-timing-function, animation-iteration-count
and other animation properties.
A CSS animation
To learn more about animations, you can read the
Animations
module of the CSS specification.
docs/reference/gtk/css-properties.xml 0000664 0001750 0001750 00000221130 13620320467 020067 0 ustar mclasen mclasen
GTK CSS Properties
3
GTK Library
GTK CSS Properties
CSS Properties in GTK
Supported CSS Properties
GTK supports CSS properties and shorthands as far as they can be applied
in the context of widgets, and adds its own properties only when needed.
All GTK-specific properties have a -gtk prefix.
All properties support the following keywords: inherit, initial, unset, with
the same meaning as in CSS .
The following basic datatypes are used throughout:
〈length〉 = 〈number〉 [ px | pt | em | ex |rem | pc | in | cm | mm ] | 〈calc expression〉
〈percentage〉 = 〈number〉 % | 〈calc expression〉
〈angle〉 = 〈number〉 [ deg | grad | turn ] | 〈calc expression〉
〈time〉 = 〈number〉 [ s | ms ] | 〈calc expression〉
Length values with the em or ex units are resolved using the font
size value, unless they occur in setting the font-size itself, in
which case they are resolved using the inherited font size value.
The rem unit is resolved using the initial font size value, which is
not quite the same as the CSS definition of rem.
〈calc expression〉 = calc( 〈calc sum〉 )
〈calc sum〉 = 〈calc product〉 [ [ + | - ] 〈calc product〉 ]*
〈calc product〉 = 〈calc value〉 [ * 〈calc value〉 | / 〈number〉 ]*
〈calc value〉 = 〈number〉 | 〈length〉 | 〈percentage〉 | 〈angle〉 | 〈time〉 | ( 〈calc sum〉 )
The calc() notation adds considerable expressive power. There are limits
on what types can be combined in such an expression (e.g. it does not make
sense to add a number and a time). For the full details, see the
CSS3 Values and
Units spec.
A common pattern among shorthand properties (called 'four sides') is one
where one to four values can be specified, to determine a value for each
side of an area. In this case, the specified values are interpreted as
follows:
4 values: top right bottom left
3 values: top horizontal bottom
2 values: vertical horizontal
1 value: all
Color and Filter Properties
Name Value Initial Inh. Ani. Reference Notes
color
〈color〉
rgba(1,1,1,1)
✓
✓
CSS2 ,
CSS3
opacity
〈alpha value〉
1
✓
CSS3
filter
none | 〈filter-function-list〉
none
✓
CSS3
〈filter-function-list〉 = [ 〈filter〉]+
〈filter〉 = brightness( 〈number〉 ) |
contrast( 〈number〉 ) |
grayscale( 〈number〉 ) |
hue-rotate( 〈number〉 ) |
invert( 〈number〉 ) |
opacity( 〈number〉 ) |
saturate( 〈number〉 ) |
sepia( 〈number〉 )
The color property specifies the color to use for text, icons and other
foreground rendering. The opacity property specifies the opacity that is
used to composite the widget onto its parent widget. The filter property
specifies filters to be applied to the rendering.
Font Properties
Name Value Initial Inh. Ani. Reference Notes
font-family
〈family name〉 [ , 〈family name〉 ]*
gtk-font-name setting
✓
CSS2 ,
CSS3
font-size
〈absolute size〉 | 〈relative size〉 | 〈length〉 | 〈percentage〉
gtk-font-name setting
✓
✓
CSS2 ,
CSS3
font-style
normal | oblique | italic
normal
✓
CSS2 ,
CSS3
font-variant
normal | small-caps
normal
✓
CSS2 ,
CSS3
only CSS2 values supported
font-weight
normal | bold | bolder | lighter | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900
normal
✓
✓
CSS2 ,
CSS3
normal is synonymous with 400, bold with 700
font-stretch
ultra-condensed | extra-condensed | condensed | semi-condensed | normal | semi-expanded | expanded | extra-expanded | ultra-expanded
normal
✓
CSS3
-gtk-dpi
〈number〉
screen resolution
✓
✓
font-kerning
auto | normal | none
auto
✓
CSS3
font-variant-ligatures
normal | none | [ 〈common-lig-values〉|| 〈discretionary-lig-values〉|| 〈historical-lig-values〉|| 〈contextual-alt-values〉]
normal
✓
CSS3
font-variant-position
normal | sub | super
normal
✓
CSS3
font-variant-caps
normal | small-caps | all-small-caps | petite-caps | all-petite-caps | unicase | titling-caps
normal
✓
CSS3
font-variant-numeric
normal | [ 〈numeric-figure-values〉|| 〈numeric-spacing-values〉|| 〈numeric-fraction-values〉|| ordinal || slashed-zero ]
normal
✓
CSS3
font-variant-alternates
normal | [ stylistic(〈feature-value-name〉) || historical-forms || styleset(〈feature-value-name〉#) || character-variant(〈feature-value-name〉#) || swash(〈feature-value-name〉) || ornaments(〈feature-value-name〉) || annotation(〈feature-value-name〉) ]
normal
✓
CSS3
font-variant-east-asian
normal | [ 〈east-asian-variant-values〉 || 〈east-asian-width-values〉 || ruby ]
normal
✓
CSS3
font-feature-settings
normal | 〈feature-tag-value〉#
normal
✓
>
CSS3
font-variation-settings
normal | [ 〈string〉〈number〉]#
normal
✓
✓
CSS4
Shorthand Value Initial Reference Notes
font
[ 〈font-style〉 || 〈font-variant〉 || 〈font-weight〉 || 〈font-stretch〉 ]? 〈font-size〉 〈font-family〉
see individual properties
CSS2 ,
CSS3
CSS allows line-height, etc
font-variant
normal | none | [ 〈common-lig-values〉 || 〈discretionary-lig-values〉 || 〈historical-lig-values〉 || 〈contextual-alt-values〉 || stylistic(>〈feature-value-name〉) || historical-forms || styleset(〈feature-value-name〉 #) || character-variant(〈feature-value-name〉 #) || swash(〈feature-value-name〉) || ornaments(〈feature-value-name〉) || annotation(〈feature-value-name〉) || [ small-caps | all-small-caps | petite-caps | all-petite-caps | unicase | titling-caps ] || 〈numeric-figure-values〉 || 〈numeric-spacing-values〉 || 〈numeric-fraction-values〉 || ordinal || slashed-zero || 〈east-asian-variant-values〉 || 〈east-asian-width-values〉 || ruby ]
see individual properties
CSS3
〈absolute size〉 = xx-small | x-small | small | medium | large | x-large | xx-large
〈relative size〉 = larger | smaller
〈common-lig-values〉 = [ common-ligatures| no-common-ligatures ]
〈discretionary-lig-values〉 = [ discretionary-ligatures | no-discretionary-ligatures ]
〈historical-lig-values〉 = [ historical-ligatures | no-historical-ligatures ]
〈contextual-alt-values〉 = [ contextual | no-contextual ]
〈numeric-figure-values〉 = [ lining-nums | oldstyle-nums ]
〈numeric-spacing-values〉 = [ proportional-nums | tabular-nums ]
〈numeric-fraction-values〉 = [ diagonal-fractions | stacked-fractions ]
〈east-asian-variant-values〉 = [ jis78 | jis83 | jis90 | jis04 | simplified | traditional ]
〈east-asian-width-values〉 = [ full-width | proportional-width ]
〈feature-tag-value〉 = 〈string〉[ 〈integer〉| on | off ]?
The font properties determine the font to use for rendering text. Relative
font sizes and weights are resolved relative to the inherited value for
these properties.
Text caret properties
Name Value Initial Inh. Ani. Reference Notes
caret-color
〈color〉
currentColor
✓
✓
CSS3
CSS allows an auto value
-gtk-secondary-caret-color
〈color〉
currentColor
✓
✓
Used for the secondary caret in bidirectional text
The caret properties provide a way to change the appearance of the insertion
caret in editable text.
Text decoration properties
Name Value Initial Inh. Ani. Reference Notes
letter-spacing
〈length〉
0px
✓
✓
CSS3
text-decoration-line
none | underline | line-through
none
CSS2 ,
CSS3
CSS allows overline
text-decoration-color
〈color〉
currentColor
✓
CSS3
text-decoration-style
solid | double | wavy
solid
CSS3
CSS allows dashed and dotted
text-shadow
none | 〈shadow〉
none
✓
✓
CSS3
Shorthand Value Initial Reference Notes
text-decoration
〈text-decoration-line〉 || 〈text-decoration-style〉 || 〈text-decoration-color〉
see individual properties
CSS3
〈shadow〉 = 〈length〉 〈length〉 〈color〉?
The text decoration properties determine whether to apply extra decorations
when rendering text.
Icon Properties
Name Value Initial Inh. Ani. Reference Notes
-gtk-icon-source
builtin | 〈image〉 | none
builtin
✓
-gtk-icon-transform
none | 〈transform〉+
none
✓
-gtk-icon-style
requested | regular | symbolic
requested
✓
Determines the preferred style for application-loaded icons
-gtk-icon-theme
〈name〉
current icon theme
✓
The icon theme to use with -gtk-icontheme(). Since 3.20
-gtk-icon-palette
〈color palette〉
default
✓
✓
Used to recolor symbolic icons (both application-loaded and from -gtk-icontheme()). Since 3.20
-gtk-icon-shadow
none | 〈shadow〉
none
✓
✓
-gtk-icon-filter
none | 〈filter-function-list〉
none
✓
CSS3
-gtk-icon-size
〈length〉
none
✓
Determines the size at which icons are displayed. See GtkIconSize
〈transform〉 = matrix( 〈number〉 [ , 〈number〉 ]{5} ) |
matrix3d( 〈number〉 [ , 〈number〉 ]{15} ) |
translate( 〈length〉, 〈length〉 ) | translate3d( 〈length〉, 〈length〉, 〈length〉 ) |
translateX( 〈length〉 ) | translateY( 〈length〉 ) | translateZ( 〈length〉 ) |
scale( 〈number〉 [ , 〈number〉 ]? ) | scale3d( 〈number〉, 〈number〉, 〈number〉 ) |
scaleX( 〈number〉 ) | scaleY( 〈number〉 ) | scaleZ( 〈number〉 ) |
rotate( 〈angle〉 ) | rotate3d( 〈number〉, 〈number〉, 〈number〉, 〈angle〉 ) |
rotateX( 〈angle〉 ) | rotateY( 〈angle〉 ) | rotateZ( 〈angle〉 ) |
skew( 〈angle〉 [ , 〈angle〉 ]? ) | skewX( 〈angle〉 ) | skewY( 〈angle〉 )
〈color palette〉 = default | 〈name〉 〈color〉 [ , 〈name〉 〈color〉 ]*
The -gtk-icon-source property is used by widgets that are rendering 'built-in'
icons, such as arrows, expanders, spinners, checks or radios.
The -gtk-icon-style property determines the preferred style for
application-provided icons.
The -gtk-icon-transform and -gtk-icon-shadow properties affect the rendering
of both built-in and application-provided icons.
-gtk-icon-palette defines a color palette for recoloring symbolic
icons. The recognized names for colors in symbolic icons are error,
warning and success. The default palette maps these three names to
symbolic colors with the names @error_color, @warning_color and
@success_color respectively.
Box properties
Name Value Initial Inh. Ani. Reference Notes
transform
none | 〈transform〉+
none
✓
CSS3 ,
3D
min-width
〈length〉
0px
✓
CSS2 ,
CSS3
CSS allows percentages
min-height
〈length〉
0px
✓
CSS2 ,
CSS3
CSS allows percentages
margin-top
〈length〉
0px
✓
CSS2 ,
CSS3
CSS allows percentages or auto
margin-right
〈length〉
0px
✓
CSS2 ,
CSS3
CSS allows percentages or auto
margin-bottom
〈length〉
0px
✓
CSS2 ,
CSS3
CSS allows percentages or auto
margin-left
〈length〉
0px
✓
CSS2 ,
CSS3
CSS allows percentages or auto
padding-top
〈length〉
0px
✓
CSS2 ,
CSS3
CSS allows percentages
padding-right
〈length〉
0px
✓
CSS2 ,
CSS3
CSS allows percentages
padding-bottom
〈length〉
0px
✓
CSS2 ,
CSS3
CSS allows percentages
padding-left
〈length〉
0px
✓
CSS2 ,
CSS3
CSS allows percentages
Shorthand Value Initial Reference Notes
margin
〈length〉{1,4}
see individual properties
CSS2 ,
CSS3
a 'four sides' shorthand
padding
〈length〉{1,4}
see individual properties
CSS2 ,
CSS3
a 'four sides' shorthand
Border properties
Name Value Initial Inh. Ani. Reference Notes
border-top-width
〈length〉
0px
✓
CSS2 ,
CSS3
CSS allows other values
border-right-width
〈length〉
0px
✓
CSS2 ,
CSS3
CSS allows other values
border-bottom-width
〈length〉
0px
✓
CSS2 ,
CSS3
CSS allows other values
border-left-width
〈length〉
0px
✓
CSS2 ,
CSS3
CSS allows other values
border-top-style
〈border style〉
none
CSS2 ,
CSS3
border-right-style
〈border style〉
none
CSS2 ,
CSS3
border-bottom-style
〈border style〉
none
CSS2 ,
CSS3
border-left-style
〈border style〉
none
CSS2 ,
CSS3
border-top-right-radius
〈corner radius〉
0
✓
CSS2 ,
CSS3
border-bottom-right-radius
〈corner radius〉
0
✓
CSS2 ,
CSS3
border-bottom-left-radius
〈corner radius〉
0
✓
CSS2 ,
CSS3
border-top-left-radius
〈corner radius〉
0
✓
CSS2 ,
CSS3
border-top-color
〈color〉
currentColor
✓
CSS2 ,
CSS3
border-right-color
〈color〉
currentColor
✓
CSS2 ,
CSS3
border-bottom-color
〈color〉
currentColor
✓
CSS2 ,
CSS3
border-left-color
〈color〉
currentColor
✓
CSS2 ,
CSS3
border-image-source
〈image〉 | none
none
✓
CSS3
border-image-repeat
〈border repeat〉{1,2}
stretch
CSS3
border-image-slice
[ 〈number〉 | 〈percentage〉 ]{1,4} && fill?
100%
CSS3
a 'four sides' shorthand
border-image-width
[ 〈length〉 | 〈number〉 | 〈percentage〉 | auto ]{1,4}
1
CSS3
a 'four sides' shorthand
Shorthand Value Initial Reference Notes
border-width
〈length〉{1,4}
see individual properties
CSS2 ,
CSS3
a 'four sides' shorthand
border-style
〈border style〉{1,4}
see individual properties
CSS2 ,
CSS3
a 'four sides' shorthand
border-color
〈color〉{1,4}
see individual properties
CSS3
a 'four sides' shorthand
border-top
〈length〉 || 〈border style〉 || 〈color〉
see individual properties
CSS2 ,
CSS3
border-right
〈length〉 || 〈border style〉 || 〈color〉
see individual properties
CSS2 ,
CSS3
border-bottom
〈length〉 || 〈border style〉 || 〈color〉
see individual properties
CSS2 ,
CSS3
border-left
〈length〉 || 〈border style〉 || 〈color〉
see individual properties
CSS2 ,
CSS3
border
〈length〉 || 〈border style〉 || 〈color〉
see individual properties
CSS2 ,
CSS3
border-radius
[ 〈length〉 | 〈percentage〉 ]{1,4} [ / [ 〈length〉 | 〈percentage〉 ]{1,4} ]?
see individual properties
CSS3
border-image
〈border-image-source〉 || 〈border-image-slice〉 [ / 〈border-image-width〉 | / 〈border-image-width〉? / 〈border-image-outset〉 ]? || 〈border-image-repeat〉
see individual properties
CSS3
〈border style〉 = none | solid | inset | outset | hidden | dotted | dashed | double | groove | ridge
〈corner radius〉 = [ 〈length〉 | 〈percentage〉 ]{1,2}
Outline properties
Name Value Initial Inh. Ani. Reference Notes
outline-style
none | solid | inset | outset | hidden | dotted | dashed | double | groove | ridge
none
CSS2 ,
CSS3
outline-width
〈length〉
0px
✓
CSS2 ,
CSS3
outline-color
〈color〉
currentColor
✓
CSS2 ,
CSS3
outline-offset
〈length〉
0px
CSS3
Shorthand Value Initial Reference Notes
outline
〈outline-color〉 || 〈outline-style〉 || 〈outline-width〉
see individual properties
CSS2 ,
CSS3
GTK uses the CSS outline properties to render the 'focus rectangle'.
Background properties
Name Value Initial Inh. Ani. Reference Notes
background-color
〈color〉
rgba(0,0,0,0)
✓
CSS2 ,
CSS3
background-clip
〈box〉 [ , 〈box〉 ]*
border-box
CSS3
background-origin
〈box〉 [ , 〈box〉 ]*
padding-box
CSS3
background-size
〈bg-size〉 [ , 〈bg-size〉 ]*
auto
✓
CSS3
background-position
〈position〉 [ , 〈position〉 ]*
0
✓
CSS2 ,
CSS3
background-repeat
〈bg-repeat〉 [ , 〈bg-repeat〉 ]*
repeat
CSS2 ,
CSS3
background-image
〈bg-image〉 [ , 〈bg-image〉 ]*
none
✓
CSS2 ,
CSS3
not supported: urls without quotes, colors in crossfades
background-blend-mode
〈blend-mode〉 [ , 〈blend-mode〉 ]*
normal
only affects multiple backgrounds
box-shadow
none | 〈box shadow〉 [ , 〈box shadow〉 ]*
none
✓
CSS3
Shorthand Value Initial Reference Notes
background
[ 〈bg-layer〉 , ]* 〈final-bg-layer〉
see individual properties
CSS2 ,
CSS3
〈box〉 = border-box | padding-box | content-box
〈bg-size〉 = [ 〈length〉 | 〈percentage〉 | auto ]{1,2} | cover | contain
〈position〉 = [ left | right | center | top | bottom | 〈percentage〉 | 〈length〉 ]{1,2,3,4}
〈bg-repeat〉 = repeat-x | repeat-y | [ no-repeat | repeat | round | space ]{1,2}
〈bg-image〉 = 〈image〉 | none
〈bg-layer〉 = 〈bg-image〉 || 〈position〉 [ / 〈bg-size〉 ]? || 〈bg-repeat〉 || 〈box〉 || 〈box〉
〈final-bg-layer〉 = 〈bg-image〉 || 〈position〉 [ / 〈bg-size〉 ]? || 〈bg-repeat〉 || 〈box〉 || 〈box〉 || 〈color〉
〈blend-mode〉 = color || color-burn || color-dodge || darken || difference || exclusion ||
hard-light || hue || lighten || luminosity || multiply || normal || overlay ||
saturate || screen || soft-light
〈box shadow〉 = inset? && 〈length〉{2,4}? && 〈color〉?
As in CSS, the background color is rendered underneath all the background image layers, so it will only be visible if
background images are absent or have transparency.
Alternatively, multiple backgrounds can be blended using the background-blend-mode
property.
Transition properties
Name Value Initial Inh. Ani. Reference Notes
transition-property
none | all | 〈property name〉 [ , 〈property name〉 ]*
all
CSS3
transition-duration
〈time〉 [ , 〈time〉 ]*
0s
CSS3
transition-timing-function
〈single-timing-function〉 [ , 〈single-timing-function〉 ]*
ease
CSS3
transition-delay
〈time〉 [ , 〈time〉 ]*
0s
CSS3
Shorthand Value Initial Reference Notes
transition
〈single-transition〉 [ , 〈single-transition〉 ]*
see individual properties
CSS3
〈single-timing-function〉 = ease | linear | ease-in | ease-out | ease-in-out |
step-start | step-end | steps( 〈integer〉 [ , [ start | end ] ]? ) |
cubic-bezier( 〈number〉, 〈number〉, 〈number〉, 〈number〉 )
〈single-transition〉 = [ none | 〈property name〉 ] || 〈time〉 || 〈single-transition-timing-function〉 || 〈time〉
Animation properties
Name Value Initial Inh. Ani. Reference Notes
animation-name
〈single-animation-name〉 [ , 〈single-animation-name〉 ]*
none
CSS3
animation-duration
〈time〉 [ , 〈time〉 ]*
0s
CSS3
animation-timing-function
〈single-timing-function〉 [ , 〈single-timing-function〉 ]*
ease
CSS3
animation-iteration-count
〈single-animation-iteration-count〉 [ , 〈single-animation-iteration-count〉 ]*
1
CSS3
animation-direction
〈single-animation-direction〉 [ , 〈single-animation-direction〉 ]*
normal
CSS3
animation-play-state
〈single-animation-play-state〉 [ , 〈single-animation-play-state〉 ]*
running
CSS3
animation-delay
〈time〉 [ , 〈time〉 ]*
0s
CSS3
animation-fill-mode
〈single-animation-fill-mode〉 [ , 〈single-animation-fill-mode〉 ]*
none
CSS3
Shorthand Value Initial Reference Notes
animation
〈single-animation〉 [ , 〈single-animation〉 ]*
see individual properties
CSS3
〈single-animation-name〉 = none | 〈property name〉
〈single-animation-iteration-count〉 = infinite | 〈number〉
〈single-animation-direction〉 = normal | reverse | alternate | alternate-reverse
〈single-animation-play-state〉 = running | paused
〈single-animation-fill-mode〉 = none | forwards | backwards | both
〈single-animation〉 = 〈single-animation-name〉 || 〈time〉 || 〈single-timing-function〉 || 〈time〉 ||
〈single-animation-iteration-count〉 || 〈single-animation-direction〉 ||
〈single-animation-play-state〉 || 〈single-animation-fill-mode〉
Table-related properties
Name Value Initial Inh. Ani. Reference Notes
border-spacing
〈length〉{1,2}
0
✓
✓
CSS2 ,
CSS3
The border-spacing property is respected by GtkBox and GtkGrid, and by box gadgets that
are used internally in complex widgets.
docs/reference/gtk/drawing-model.xml 0000664 0001750 0001750 00000023073 13620320467 017644 0 ustar mclasen mclasen
The GTK Drawing Model
3
GTK Library
The GTK Drawing Model
How widgets draw
Overview of the drawing model
This chapter describes the GTK drawing model in detail. If you
are interested in the procedure which GTK follows to draw its
widgets and windows, you should read this chapter; this will be
useful to know if you decide to implement your own widgets. This
chapter will also clarify the reasons behind the ways certain
things are done in GTK.
Windows and events
Applications that use a windowing system generally create
rectangular regions in the screen called surfaces
(GTK is following the Wayland terminology, other windowing systems
such as X11 may call these windows ).
Traditional windowing systems do not automatically save the
graphical content of surfaces, and instead ask applications to
provide new content whenever it is needed.
For example, if a window that is stacked below other
windows gets raised to the top, then the application has to
repaint it, so the previously obscured area can be shown.
When the windowing system asks an application to redraw
a window, it sends a frame event
(expose event in X11 terminology)
for that window.
Each GTK toplevel window or dialog is associated with a
windowing system surface. Child widgets such as buttons or
entries don't have their own surface; they use the surface
of their toplevel.
Generally, the drawing cycle begins when GTK receives
a frame event from the underlying windowing system: if the
user drags a window over another one, the windowing system will
tell the underlying surface that it needs to repaint itself. The
drawing cycle can also be initiated when a widget itself decides
that it needs to update its display. For example, when the user
types a character in an entry widget, the entry asks GTK to queue
a redraw operation for itself.
The windowing system generates frame events for surfaces. The GDK
interface to the windowing system translates such events into
emissions of the ::render signal on the affected surfaces.
The GTK toplevel window connects to that signal, and reacts appropriately.
The following sections describe how GTK decides which widgets
need to be repainted in response to such events, and how widgets
work internally in terms of the resources they use from the
windowing system.
The frame clock
All GTK applications are mainloop-driven, which means that most
of the time the app is idle inside a loop that just waits for
something to happen and then calls out to the right place when
it does. On top of this GTK has a frame clock that gives a
“pulse” to the application. This clock beats at a steady rate,
which is tied to the framerate of the output (this is synced to
the monitor via the window manager/compositor). A typical
refresh rate is 60 frames per second, so a new “pulse” happens
roughly every 16 milliseconds.
The clock has several phases:
Events
Update
Layout
Paint
The phases happens in this order and we will always run each
phase through before going back to the start.
The Events phase is a stretch of time between each redraw where
GTK processes input events from the user and other events
(like e.g. network I/O). Some events, like mouse motion are
compressed so that only a single mouse motion event per clock
cycle needs to be handled.
Once the Events phase is over, external events are paused and
the redraw loop is run. First is the Update phase, where all
animations are run to calculate the new state based on the
estimated time the next frame will be visible (available via
the frame clock). This often involves geometry changes which
drive the next phase, Layout. If there are any changes in
widget size requirements the new layout is calculated for the
widget hierarchy (i.e. sizes and positions for all widgets are
determined). Then comes the Paint phase, where we redraw the
regions of the window that need redrawing.
If nothing requires the Update/Layout/Paint phases we will
stay in the Events phase forever, as we don’t want to redraw
if nothing changes. Each phase can request further processing
in the following phases (e.g. the Update phase will cause there
to be layout work, and layout changes cause repaints).
There are multiple ways to drive the clock, at the lowest level
you can request a particular phase with
gdk_frame_clock_request_phase() which will schedule a clock beat
as needed so that it eventually reaches the requested phase.
However, in practice most things happen at higher levels:
If you are doing an animation, you can use
gtk_widget_add_tick_callback() which will cause a regular
beating of the clock with a callback in the Update phase
until you stop the tick.
If some state changes that causes the size of your widget
to change you call gtk_widget_queue_resize() which will
request a Layout phase and mark your widget as needing
relayout.
If some state changes so you need to redraw some area of
your widget you use the normal gtk_widget_queue_draw()
set of functions. These will request a Paint phase and
mark the region as needing redraw.
There are also a lot of implicit triggers of these from the
CSS layer (which does animations, resizes and repaints as needed).
The scene graph
The first step in “drawing” a window is that GTK creates
render nodes for all the widgets
in the window. The render nodes are combined into a tree
that you can think of as a scene graph
describing your window contents.
Render nodes belong to the GSK layer, and there are various kinds
of them, for the various kinds of drawing primitives you are likely
to need when translating widget content and CSS styling. Typical
examples are text nodes, gradient nodes, texture nodes or clip nodes.
In the past, all drawing in GTK happened via cairo. It is still possible
to use cairo for drawing your custom widget contents, by using a cairo
render node.
A GSK renderer takes these render nodes, transforms
them into rendering commands for the drawing API it targets, and arranges
for the resulting drawing to be associated with the right surface. GSK has
renderers for OpenGL, Vulkan and cairo.
Hierarchical drawing
During the Paint phase GTK receives a single ::render signal on the toplevel
window. The signal handler will create a snapshot object (which is a
helper for creating a scene graph) and emit a GtkWidget::snapshot() signal,
which will propagate down the widget hierarchy. This lets each widget
snapshot its content at the right place and time, correctly handling things
like partial transparencies and overlapping widgets.
To avoid excessive work when generating scene graphs, GTK caches render nodes.
Each widget keeps a reference to its render node (which in turn, will refer to
the render nodes of children, and grandchildren, and so on), and will reuse
that node during the Paint phase. Invalidating a widget (by calling
gtk_widget_queue_draw()) discards the cached render node, forcing the widget
to regenerate it the next time it needs to handle a ::snapshot.
docs/reference/gtk/glossary.xml 0000664 0001750 0001750 00000030270 13620320467 016753 0 ustar mclasen mclasen
Glossary
allocation
The final size of a widget within its parent . For example, a widget
may request a minimum size of 20×20 pixels, but its
parent may decide to allocate 50×20 pixels for it
instead.
requisition
bin
A container that
can hold at most one child widget. The base class for bins is
#GtkBin.
container
child
A container's child
is a widget contained
inside it.
column
GTK contains several widgets which display data in columns,
e.g. the #GtkTreeView.
These view columns in
the tree view are represented by #GtkTreeViewColumn
objects inside GTK. They should not be confused with
model columns which
are used to organize the data in tree models.
model-view widget
container
A widget that contains
other widgets; in that case, the container is the
parent of the child
widgets. Some containers don't draw anything on their own,
but rather just organize their children's geometry ; for example, #GtkVBox lays out
its children vertically without painting anything on its own. Other
containers include decorative elements; for example, #GtkFrame contains
the frame's child and a label in addition to the shaded frame it draws.
The base class for containers is #GtkContainer.
widget
geometry
display
GDK inherited the concept of display from the X window system,
which considers a display to be the combination
of a keyboard, a pointing device and one or more
screens .
Applications open a display to show windows and interact with the user.
In GDK, a display is represented by a #GdkDisplay.
Ellipsization is the process of replacing some part
of a text by an ellipsis (usually "...") to make the
text fit in a smaller space. Pango can ellipsize text
at the beginning, at the end or in the middle.
event
Events are the way in which GDK informs GTK about external events
like pointer motion, button clicks, key presses, etc.
geometry
A widget's position
and size. Within its parent, this is called the widget's
allocation .
mapping
This is the step in a widget's life cycle where it
actually shows the GdkSurfaces it created when it was
realized . When a
widget is mapped, it must turn on its
%GTK_MAPPED flag.
Note that due to the asynchronous nature of the X window
system, a widget's window may not appear on the screen
immediatly after one calls gdk_surface_show():
you must wait for the corresponding map event to be received. You can do
this with the GtkWidget::map-event
signal.
model column
A column in a tree model, holding data of a certain type.
The types which can be stored in the columns of a model
have to be specified when the model is constructed, see
e.g. gtk_list_store_new().
view column
model-view widget
These widgets follow the well-known model-view pattern, which separates
the data (the model) to be displayed from the component which does the
actual visualization (the view). Examples of this pattern in GTK are
the #GtkTreeView/#GtkTreeModel and #GtkTextView/#GtkTextBuffer
One important advantage of this pattern is that it is possible to
display the same model in multiple views; another one that the
separation of the model allows a great deal of flexibility, as
demonstrated by e.g. #GtkTreeModelSort or #GtkTreeModelFilter.
no-window widget
A widget that does not have a GdkSurface of its own on which to
draw its contents, but rather shares its parent's . This can be tested with
the gtk_widget_get_has_surface() function.
parent
A widget's parent is
the container
inside which it resides.
realization
This is the step in a widget's life cycle where it
creates its own GdkSurface, or otherwise associates itself with
its parent's
GdkSurface. If the widget has its own window, then it must
also attach a style to
it. A widget becomes unrealized by destroying its associated
GdkSurface. When a widget is realized, it must turn on its
%GTK_REALIZED flag.
Widgets that don't own the GdkSurface on which they draw are
called no-window widgets .
This can be tested with the gtk_widget_get_has_surface() function. Normally,
these widgets draw on their parent's GdkSurface.
Note that when a #GtkWidget creates a window in its #GtkWidget::realize
handler, it does not actually show the window. That is, the
window's structure is just created in memory. The widget
actually shows the window when it gets mapped .
requisition
The size requisition of a widget is the minimum amount of
space it requests from its parent . Once the parent computes
the widget's final size, it gives it its size allocation .
allocation
screen
GDK inherited the concept of screen from the X window system,
which considers a screen to be a rectangular area, on which
applications may place their windows. Screens under X may have
quite dissimilar visuals .
Each screen can stretch across multiple physical monitors.
In GDK, screens are represented by #GdkScreen objects.
style
A style encapsulates what GTK needs to know in order to draw
a widget. Styles can be modified with
resource files.
toplevel
A widget that does not
require a parent container.
The only toplevel widgets in GTK are #GtkWindow and widgets derived from it.
container
unmap
mapping
unrealize
realization
view column
A displayed column in a tree view, represented by a
#GtkTreeViewColumn object.
model column
visual
A visual describes how color information is stored in pixels.
A screen may support
multiple visuals. On modern hardware, the most common visuals
are truecolor visuals, which store a fixed number of bits
(typically 8) for the red, green and blue components of a color.
On ancient hardware, one may still meet indexed visuals, which
store color information as an index into a color map, or even
monochrome visuals.
widget
A control in a graphical user interface. Widgets can draw
themselves and process events from the mouse and keyboard.
Widget types include buttons, menus, text entry lines, and
lists. Widgets can be arranged into containers , and these take
care of assigning the geometry of the widgets: every
widget thus has a parent except those widgets which are
toplevels . The base
class for widgets is #GtkWidget.
container
docs/reference/gtk/gtk4-broadwayd.xml 0000664 0001750 0001750 00000005150 13620320467 017732 0 ustar mclasen mclasen
gtk4-broadwayd
GTK
Developer
Alexander
Larsson
gtk4-broadwayd
1
User Commands
gtk4-broadwayd
Broadway display server
gtk4-broadwayd
--port PORT
--address ADDRESS
--unixsocket ADDRESS
:DISPLAY
Description
gtk4-broadwayd is a display server for the Broadway
GDK backend. It allows multiple GTK applications to display their
windows in the same web browser, by connecting to gtk4-broadwayd.
When using gtk4-broadwayd, specify the display number to use, prefixed
with a colon, similar to X. The default display number is 0.
gtk4-broadwayd :5
Then point your web browser at http://127.0.0.1:8085 .
Start your applications like this:
GDK_BACKEND=broadway BROADWAY_DISPLAY=:5 gtk4-demo
Options
--port
Use PORT as the HTTP
port, instead of the default 8080 + (DISPLAY - 1).
--address
Use ADDRESS as the HTTP
address, instead of the default http://127.0.0.1:PORT .
--unixsocket
Use ADDRESS as the unix domain socket
address. This option overrides --address and --port .
It is available only on Unix-like systems.
docs/reference/gtk/gtk4-builder-tool.xml 0000664 0001750 0001750 00000006663 13620320467 020371 0 ustar mclasen mclasen
gtk4-builder-tool
GTK
Developer
Matthias
Clasen
gtk4-builder-tool
1
User Commands
gtk4-builder-tool
GtkBuilder file utility
gtk4-builder-tool
COMMAND
OPTION
FILE
Description
gtk4-builder-tool can perform various operations
on GtkBuilder .ui files.
You should always test the modified .ui files produced by gtk4-builder-tool
before using them in production.
Commands
The following commands are understood:
validate
Validates the .ui file and report errors to stderr.
simplify
Simplifies the .ui file by removing properties that
are set to their default values and write the resulting XML to stdout,
or back to the input file.
enumerate
Lists all the named objects that are created in the .ui file.
preview
Preview the .ui file. This command accepts options
to specify the ID of an object and a .css file to use.
Simplify Options
The simplify command accepts the following options:
--replace
Write the content back to the .ui file instead of stdout.
--3to4
Transform a GTK 3 ui file to GTK 4
Preview Options
The preview command accepts the following options:
--id=ID
The ID of the object to preview. If not specified,
gtk4-builder-tool will choose a suitable object on its own.
--css=FILE
Load style information from the given .css file.
docs/reference/gtk/gtk4-demo-application.xml 0000664 0001750 0001750 00000002073 13620320467 021204 0 ustar mclasen mclasen
gtk4-demo-application
GTK
Developer
Matthias
Clasen
gtk4-demo-application
1
User Commands
gtk4-demo-application
Demonstrate GtkApplication
gtk4-demo-application
Description
gtk4-demo-application is an example application
used by gtk4-demo . There is no need to call it
manually.
docs/reference/gtk/gtk4-demo.xml 0000664 0001750 0001750 00000004304 13620320467 016702 0 ustar mclasen mclasen
gtk4-demo
GTK
Developer
Matthias
Clasen
gtk4-demo
1
User Commands
gtk4-demo
Demonstrate GTK widgets
gtk4-demo
--help
--list
--run EXAMPLE
--autoquit
Description
gtk4-demo is a collection of examples.
Its purpose is to demonstrate many GTK widgets in a form
that is useful to application developers.
The application shows the source code for each example, as well as
other used resources, such as ui files and icons.
Options
The following options are understood:
-h , --help
Show help options
--list
List available examples.
-run EXAMPLE
Run the named example. Use --list to
see the available examples.
--autoquit
Quit after a short timeout. This is intended for use
with --run , e.g. when profiling.
docs/reference/gtk/gtk4-encode-symbolic-svg.xml 0000664 0001750 0001750 00000004036 13620320467 021631 0 ustar mclasen mclasen
gtk4-encode-symbolic-svg
GTK
Developer
Alexander
Larsson
gtk4-encode-symbolic-svg
1
User Commands
gtk4-encode-symbolic-svg
Symbolic icon conversion utility
gtk4-encode-symbolic-svg
OPTION...
PATH
WIDTH xHEIGHT
Description
gtk4-encode-symbolic-svg converts symbolic svg icons into
specially prepared png files. GTK can load and recolor these pngs, just like
original svgs, but loading them is much faster.
PATH is the name of a symbolic svg file,
WIDTH xHEIGHT are the
desired dimensions for the generated png file.
To distinguish them from ordinary pngs, the generated files have the extension
.symbolic.png .
Options
-o DIRECTORY
--output DIRECTORY
Write png files to DIRECTORY
instead of the current working directory.
docs/reference/gtk/gtk4-icon-browser.xml 0000664 0001750 0001750 00000002665 13620320467 020377 0 ustar mclasen mclasen
gtk4-icon-browser
GTK
Developer
Matthias
Clasen
gtk4-icon-browser
1
User Commands
gtk4-icon-browser
List themed icons
gtk4-icon-browser
--help
Description
gtk4-icon-browser is a utility to explore the icons
in the current icon theme. It shows icons in various sizes, their symbolic
variants where available, as well as a description of the icon and its context.
Options
The following options are understood:
-h , --help
Show help options
docs/reference/gtk/gtk4-launch.xml 0000664 0001750 0001750 00000004175 13620320467 017236 0 ustar mclasen mclasen
gtk4-launch
GTK
Developer
Tomáš
Bžatek
tbzatek@redhat.com
gtk4-launch
1
User Commands
gtk4-launch
Launch an application
gtk4-launch
OPTION
APPLICATION
URI
Description
gtk4-launch launches an application using the given name.
The application is started with proper startup notification on a default
display, unless specified otherwise.
gtk4-launch takes at least one argument, the name of
the application to launch. The name should match application desktop file name,
as residing in /usr/share/application, with or without the '.desktop' suffix.
If called with more than one argument, the rest of them besides the application
name are considered URI locations and are passed as arguments to the launched
application.
Options
The following options are understood:
-? , --help
Prints a short help text and exits.
--version
Prints the program version and exits.
docs/reference/gtk/gtk4-query-settings.xml 0000664 0001750 0001750 00000002307 13620320467 020762 0 ustar mclasen mclasen
gtk4-query-settings
GTK
Developer
Timm
Bäder
gtk4-query-settings
1
User Commands
gtk4-query-settings
Utility to print name and value of all GtkSettings properties
gtk4-query-settings
PATTERN
Description
gtk4-query-settings prints both name and value of all properties
available in the GtkSettings class. Optionally, you can filter which properties
to list by specifying a PATTERN.
docs/reference/gtk/gtk4-update-icon-cache.xml 0000664 0001750 0001750 00000007161 13620320467 021233 0 ustar mclasen mclasen
gtk4-update-icon-cache
GTK
Developer
Matthias
Clasen
gtk4-update-icon-cache
1
User Commands
gtk4-update-icon-cache
Icon theme caching utility
gtk4-update-icon-cache
--force
--ignore-theme-index
--index-only
--include-image-data
--source NAME
--quiet
--validate
PATH
Description
gtk4-update-icon-cache creates mmapable cache
files for icon themes.
It expects to be given the PATH to an icon theme
directory containing an index.theme , e.g.
/usr/share/icons/hicolor , and writes a
icon-theme.cache containing cached information about
the icons in the directory tree below the given directory.
GTK can use the cache files created by gtk4-update-icon-cache
to avoid a lot of system call and disk seek overhead when the application
starts. Since the format of the cache files allows them to be mmaped
shared between multiple applications, the overall memory consumption is
reduced as well.
Options
--force
-f
Overwrite an existing cache file even if it appears to be
uptodate.
--ignore-theme-index
-t
Don't check for the existence of index.theme
in the icon theme directory. Without this option, gtk4-update-icon-cache
refuses to create an icon cache in a directory which does not appear to
be the toplevel directory of an icon theme.
--index-only
-i
Don't include image data in the cache.
--include-image-data
Include image data in the cache.
--source
-c
Output a C header file declaring a constant
NAME with the contents of the icon
cache.
--quiet
-q
Turn off verbose output.
--validate
-v
Validate existing icon cache.
docs/reference/gtk/gtk4-widget-factory.xml 0000664 0001750 0001750 00000002744 13620320467 020714 0 ustar mclasen mclasen
gtk4-widget-factory
GTK
Developer
Matthias
Clasen
gtk4-widget-factory
1
User Commands
gtk4-widget-factory
Demonstrate GTK widgets
gtk4-widget-factory
--help
Description
gtk4-widget-factory is a collection of examples.
Its purpose is to demonstrate many GTK widgets in a form
that is useful to GTK theme developers.
The application shows widgets in different, typical combinations
and states.
Options
The following options are understood:
-h , --help
Show help options
docs/reference/gtk/input-handling.xml 0000664 0001750 0001750 00000035200 13620320467 020027 0 ustar mclasen mclasen
The GTK Input Model
3
GTK Library
The GTK Input Model
input and event handling in detail
Overview of GTK input and event handling
This chapter describes in detail how GTK handles input. If you are interested
in what happens to translate a key press or mouse motion of the users into a
change of a GTK widget, you should read this chapter. This knowledge will also
be useful if you decide to implement your own widgets.
Devices and events
The most basic input devices that every computer user has interacted with are
keyboards and mice; beyond these, GTK supports touchpads, touchscreens and
more exotic input devices such as graphics tablets. Inside GTK, every such
input device is represented by a #GdkDevice object.
To simplify dealing with the variability between these input devices, GTK
has a concept of master and slave devices. The concrete physical devices that
have many different characteristics (mice may have 2 or 3 or 8 buttons,
keyboards have different layouts and may or may not have a separate number
block, etc) are represented as slave devices. Each slave device is
associated with a virtual master device. Master devices always come in
pointer/keyboard pairs - you can think of such a pair as a 'seat'.
GTK widgets generally deal with the master devices, and thus can be used
with any pointing device or keyboard.
When a user interacts with an input device (e.g. moves a mouse or presses
a key on the keyboard), GTK receives events from the windowing system.
These are typically directed at a specific surface - for pointer events,
the surface under the pointer (grabs complicate this), for keyboard events,
the surface with the keyboard focus.
GDK translates these raw windowing system events into #GdkEvents.
Typical input events are:
#GdkEventButton
#GdkEventMotion
#GdkEventCrossing
#GdkEventKey
#GdkEventFocus
#GdkEventTouch
Additionally, GDK/GTK synthesizes other signals to let know whether
grabs (system-wide or in-app) are taking input away:
#GdkEventGrabBroken
#GtkWidget::grab-notify
When GTK creates a GdkSurface, it connects to the ::event signal
on it, which receives all of these input events. Surfaces have
have signals and properties, e.g. to deal with window management
related events.
Event propagation
The function which initially receives input events on the GTK
side is responsible for a number of tasks.
Compress enter/leave notify events. If the event passed build an
enter/leave pair together with the next event (peeked from GDK), both
events are thrown away. This is to avoid a backlog of (de-)highlighting
widgets crossed by the pointer.
Find the widget which got the event. If the widget can’t be determined
the event is thrown away unless it belongs to a INCR transaction.
Then the event is pushed onto a stack so you can query the currently
handled event with gtk_get_current_event().
The event is sent to a widget. If a grab is active all events for widgets
that are not in the contained in the grab widget are sent to the latter
with a few exceptions:
Deletion and destruction events are still sent to the event widget for
obvious reasons.
Events which directly relate to the visual representation of the event
widget.
Leave events are delivered to the event widget if there was an enter
event delivered to it before without the paired leave event.
Drag events are not redirected because it is unclear what the semantics
of that would be.
After finishing the delivery the event is popped from the event stack.
When a GDK backend produces an input event, it is tied to a #GdkDevice and
a #GdkSurface, which in turn represents a windowing system surface in the
backend. If a widget has grabbed the current input device, or all input
devices, the event is propagated to that #GtkWidget. Otherwise, it is
propagated to the the #GtkRoot which owns the #GdkSurface receiving the event.
Grabs are implemented for each input device, and globally. A grab for a
specific input device (gtk_device_grab_add()), is sent events in
preference to a global grab (gtk_grab_add()). Input grabs only have effect
within the #GtkWindowGroup containing the #GtkWidget which registered the
event’s #GdkSurface. If this #GtkWidget is a child of the grab widget, the
event is propagated to the child — this is the basis for propagating
events within modal dialogs.
An event is propagated down and up the widget hierarchy in three phases
(see #GtkPropagationPhase) towards a target widget.
For key events, the top-level window gets a first shot at activating
mnemonics and accelerators. If that does not consume the events,
the target widget for event propagation is window's current focus
widget (see gtk_window_get_focus()).
For pointer events, the target widget is determined by picking
the widget at the events coordinates (see gtk_window_pick()).
In the first phase (the “capture” phase) the event is
delivered to each widget from the top-most (the top-level
#GtkWindow or grab widget) down to the target #GtkWidget.
Event
controllers that are attached with %GTK_PHASE_CAPTURE
get a chance to react to the event.
After the “capture” phase, the widget that was intended to be the
destination of the event will run event controllers attached to
it with %GTK_PHASE_TARGET. This is known as the “target” phase,
and only happens on that widget.
In the last phase (the “bubble” phase), the event is delivered
to each widget from the target to the top-most, and event
controllers attached with %GTK_PHASE_BUBBLE are run.
Events are not delivered to a widget which is insensitive or
unmapped.
Any time during the propagation phase, a controller may indicate
that a received event was consumed and propagation should
therefore be stopped. If gestures are used, this may happen
when the gesture claims the event touch sequence (or the
pointer events) for its own. See the “gesture states” section
below to learn more about gestures and sequences.
Touch events
Touch events are emitted as events of type %GDK_TOUCH_BEGIN,
%GDK_TOUCH_UPDATE or %GDK_TOUCH_END, those events contain an
“event sequence” that univocally identifies the physical touch
until it is lifted from the device.
Grabs
Grabs are a method to claim all input events from a device,
they happen either implicitly on pointer and touch devices,
or explicitly. Implicit grabs happen on user interaction, when
a #GdkEventButtonPress happens, all events from then on, until
after the corresponding #GdkEventButtonRelease, will be reported
to the widget that got the first event. Likewise, on touch events,
every #GdkEventSequence will deliver only events to the widget
that received its %GDK_TOUCH_BEGIN event.
Explicit grabs happen programatically (both activation and
deactivation), and can be either system-wide (GDK grabs) or
application-wide (GTK grabs). On the windowing platforms that
support it, GDK grabs will prevent any interaction with any other
application/window/widget than the grabbing one, whereas GTK grabs
will be effective only within the application (across all its
windows), still allowing for interaction with other applications.
But one important aspect of grabs is that they may potentially
happen at any point somewhere else, even while the pointer/touch
device is already grabbed. This makes it necessary for widgets to
handle the cancellation of any ongoing interaction. Depending on
whether a GTK or GDK grab is causing this, the widget will
respectively receive a #GtkWidget::grab-notify signal, or a
#GdkEventGrabBroken event.
On gestures, these signals are handled automatically, causing the
gesture to cancel all tracked pointer/touch events, and signal
the end of recognition.
Keyboard input
Every #GtkWindow maintains a single focus location (in
the ::focus-widget property). The focus widget is the
target widget for key events sent to the window. Only
widgets which have ::can-focus set to %TRUE can become
the focus. Typically these are input controls such as
entries or text fields, but e.g. buttons can take the
focus too.
Input widgets can be given the focus by clicking on them,
but focus can also be moved around with certain key
events (this is known as “keyboard navigation”). GTK
reserves the Tab key to move the focus to the next location,
and Shift-Tab to move it back to the previous one. In addition
many containers allow “directional navigation” with the
arrow keys.
Event controllers and gestures
Event controllers are standalone objects that can perform
specific actions upon received #GdkEvents. These are tied
to a #GtkWidget, and can be told of the event propagation
phase at which they will manage the events.
Gestures are a set of specific controllers that are prepared
to handle pointer and/or touch events, each gesture
implementation attempts to recognize specific actions out the
received events, notifying of the state/progress accordingly to
let the widget react to those. On multi-touch gestures, every
interacting touch sequence will be tracked independently.
Since gestures are “simple” units, it is not uncommon to tie
several together to perform higher level actions, grouped
gestures handle the same event sequences simultaneously, and
those sequences share a same state across all grouped
gestures. Some examples of grouping may be:
A “drag” and a “swipe” gestures may want grouping.
The former will report events as the dragging happens,
the latter will tell the swipe X/Y velocities only after
recognition has finished.
Grouping a “drag” gesture with a “pan” gesture will only
effectively allow dragging in the panning orientation, as
both gestures share state.
If “press” and “long press” are wanted simultaneously,
those would need grouping.
Gesture states
Gestures have a notion of “state” for each individual touch
sequence. When events from a touch sequence are first received,
the touch sequence will have “none” state, this means the touch
sequence is being handled by the gesture to possibly trigger
actions, but the event propagation will not be stopped.
When the gesture enters recognition, or at a later point in time,
the widget may choose to claim the touch sequences (individually
or as a group), hence stopping event propagation after the event
is run through every gesture in that widget and propagation phase.
Anytime this happens, the touch sequences are cancelled downwards
the propagation chain, to let these know that no further events
will be sent.
Alternatively, or at a later point in time, the widget may choose
to deny the touch sequences, thus letting those go through again
in event propagation. When this happens in the capture phase, and
if there are no other claiming gestures in the widget,
a %GDK_TOUCH_BEGIN/%GDK_BUTTON_PRESS event will be emulated and
propagated downwards, in order to preserve consistency.
Grouped gestures always share the same state for a given touch
sequence, so setting the state on one does transfer the state to
the others. They also are mutually exclusive, within a widget
there may be only one gesture group claiming a given sequence.
If another gesture group claims later that same sequence, the
first group will deny the sequence.
docs/reference/gtk/migrating-2to4.xml 0000664 0001750 0001750 00000001232 13620320467 017653 0 ustar mclasen mclasen
]>
Migrating from GTK 2.x to GTK 4
If your application is still using GTK 2, you should first convert it to
GTK 3, by following the migration guide in the GTK 3
documentation, and then follow .
docs/reference/gtk/migrating-3to4.xml 0000664 0001750 0001750 00000110073 13620320467 017660 0 ustar mclasen mclasen
]>
Migrating from GTK 3.x to GTK 4
GTK 4 is a major new version of GTK that breaks both API and ABI
compared to GTK 3.x. Thankfully, most of the changes are not hard
to adapt to and there are a number of steps that you can take to
prepare your GTK 3.x application for the switch to GTK 4. After
that, there's a number of adjustments that you may have to do
when you actually switch your application to build against GTK 4.
Preparation in GTK 3.x
The steps outlined in the following sections assume that your
application is working with GTK 3.24, which is the final stable
release of GTK 3.x. It includes all the necessary APIs and tools
to help you port your application to GTK 4. If you are using
an older version of GTK 3.x, you should first get your application
to build and work with the latest minor release in the 3.24 series.
Do not use deprecated symbols
Over the years, a number of functions, and in some cases, entire
widgets have been deprecated. These deprecations are clearly spelled
out in the API reference, with hints about the recommended replacements.
The API reference for GTK 3 also includes an
index of all deprecated symbols.
To verify that your program does not use any deprecated symbols,
you can use defines to remove deprecated symbols from the header files,
as follows:
make CFLAGS+="-DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED"
Note that some parts of our API, such as enumeration values, are
not well covered by the deprecation warnings. In most cases, using
them will require you to also use deprecated functions, which will
trigger warnings.
Enable diagnostic warnings
Deprecations of properties and signals cannot be caught at compile
time, as both properties and signals are installed and used after
types have been instantiated. In order to catch deprecations and
changes in the run time components, you should use the
G_ENABLE_DIAGNOSTIC environment variable when
running your application, e.g.:
G_ENABLE_DIAGNOSTIC=1 ./your-app
Do not use widget style properties
Style properties do not exist in GTK 4. You should stop using them in
your custom CSS and in your code.
Review your window creation flags
GTK 4 removes the GDK_WA_CURSOR flag. Instead, just use
gdk_window_set_cursor() to set a cursor on the window after
creating it.
GTK 4 also removes the GDK_WA_VISUAL flag, and always uses
an RGBA visual for windows. To prepare your code for this, use
gdk_window_set_visual (gdk_screen_get_rgba_visual ())
after creating your window.
GTK 4 also removes the GDK_WA_WMCLASS flag. If you need this
X11-specific functionality, use XSetClassHint() directly.
Stop using non-RGBA visuals
GTK 4 always uses RGBA visuals for its windows; you should make
sure that your code works with that.
At the same time, you should stop using GdkVisual APIs, this object
not longer exist in GTK 4. Most of its APIs are deprecated already
and not useful when dealing with RGBA visuals.
Stop using GtkBox:padding, GtkBox:fill and GtkBox:expand
GTK 4 removes these #GtkBox child properties, so you should not use them.
You can replace GtkBox:padding using the #GtkWidget:margin properties
on your #GtkBox child widgets.
The fill child property can be replaced by setting appropriate values
for the #GtkWidget:halign and #GtkWidget:valign properties of the child
widgets. If you previously set the fill child property to %TRUE, you can
achieve the same effect by setting the halign or valign properties to
%GTK_ALIGN_FILL, depending on the parent box -- halign for a horizontal
box, valign for a vertical one.
#GtkBox also uses the expand child property. It can be replaced by setting
#GtkWidget:hexpand or #GtkWidget:vexpand on the child widgets. To match the
old behavior of the #GtkBox's expand child property, you need to set
#GtkWidget:hexpand on the child widgets of a horizontal #GtkBox and
#GtkWidget:vexpand on the child widgets of a vertical #GtkBox.
Note that there's a subtle but important difference between #GtkBox's
expand and fill child properties and the ones in #GtkWidget: setting
#GtkWidget:hexpand or #GtkWidget:vexpand to %TRUE will propagate up
the widget hierarchy, so a pixel-perfect port might require you to reset
the expansion flags to %FALSE in a parent widget higher up the hierarchy.
Stop using the state argument of GtkStyleContext getters
The getters in the GtkStyleContext API, such as
gtk_style_context_get_property(), gtk_style_context_get(),
or gtk_style_context_get_color() only accept the context's current
state for their state argument. You should update all callers to pass
the current state.
Stop using gdk_pixbuf_get_from_window() and gdk_cairo_set_source_surface()
These functions are not supported in GTK 4. Instead, either use backend-specific
APIs, or render your widgets using gtk_widget_render().
Stop using GtkButton's image-related API
The functions and properties related to automatically add a GtkImage
to a GtkButton, and using a GtkSetting to control its visibility, are
not supported in GTK 4. Instead, you can just pack a GtkImage inside
a GtkButton, and control its visibility like you would for any other
widget. If you only want to add a named icon to a GtkButton, you can
use gtk_button_set_icon_name().
Stop using GtkWidget event signals
Event controllers and #GtkGestures replace event signals in GTK 4.
They have been backported to GTK 3.x so you can prepare for this change.
Set a proper application ID
In GTK 4 we want the application's #GApplication
'application-id' (and therefore the D-Bus name), the desktop
file basename and Wayland's xdg-shell app_id to match. In
order to achieve this with GTK 3.x call g_set_prgname() with the same
application ID you passed to #GtkApplication. Rename your
desktop files to match the application ID if needed.
The call to g_set_prgname() can be removed once you fully migrated
to GTK 4.
You should be aware that changing the application ID makes your
application appear as a new, different app to application installers.
You should consult the appstream documentation for best practices
around renaming applications.
Stop using gtk_main() and related APIs
GTK4 removes the gtk_main_ family of APIs. The recommended replacement
is GtkApplication, but you can also iterate the GLib mainloop directly,
using GMainContext APIs.
The replacement for gtk_events_pending() is g_main_context_pending(),
the replacement for gtk_main_iteration() is g_main_context_iteration().
Changes that need to be done at the time of the switch
This section outlines porting tasks that you need to tackle when
you get to the point that you actually build your application against
GTK 4. Making it possible to prepare for these in GTK 3 would
have been either impossible or impractical.
Convert your ui files
A number of the changes outlined below affect .ui files. The
gtk4-builder-tool simplify command can perform many of the
necessary changes automatically, when called with the --3to4
option. You should always review the resulting changes.
Stop using GdkScreen
The GdkScreen object has been removed in GTK 4. Most of its APIs already
had replacements in GTK 3 and were deprecated, a few remaining replacements
have been added to GdkDisplay.
Stop using the root window
The root window is an X11-centric concept that is no longer exposed in the
backend-neutral GDK API. gdk_surface_get_parent() will return %NULL for toplevel
windows. If you need to interact with the X11 root window, you can use
gdk_x11_display_get_xrootwindow() to get its XID.
Stop using GdkVisual
This object is not useful with current GTK drawing APIs and has been removed
without replacement.
Stop using GdkDeviceManager
The GdkDeviceManager object has been removed in GTK 4. Most of its APIs already
had replacements in GTK 3 and were deprecated in favor of GdkSeat.
Adapt to GdkWindow API changes
GdkWindow has been renamed to GdkSurface.
The gdk_window_new() function has been replaced by a number of more
specialized constructors: gdk_surface_new_toplevel(), gdk_surface_new_popup(),
gdk_surface_new_temp(), gdk_wayland_surface_new_subsurface().
Use the appropriate ones to create your windows.
Native and foreign subwindows are no longer supported. These concepts were
complicating the code and could not be supported across backends.
gdk_window_reparent() is no longer available.
Stop accessing GdkEvent fields
Direct access to GdkEvent structs is no longer possible in GTK 4. Some
frequently-used fields already had accessors in GTK 3, and the remaining
fields have gained accessors in GTK 4.
Stop using gdk_surface_set_event_compression
Event compression is now always enabled. If you need to see the uncoalesced
motion history, use gdk_event_get_motion_history().
Stop using gdk_pointer_warp()
Warping the pointer is disorienting and unfriendly to users.
GTK 4 does not support it. In special circumstances (such as when
implementing remote connection UIs) it can be necessary to
warp the pointer; in this case, use platform APIs such as XWarpPointer
directly.
Stop using grabs
GTK 4 no longer provides the gdk_device_grab() or gdk_seat_grab() apis.
If you need to dismiss a popup when the user clicks outside (a common
use for grabs), you can use the GdkSurface #GdkSurface:autohide property instead.
GtkPopover also has a #GtkPopover:autohide property.
Adapt to coordinate API changes
A number of coordinate APIs in GTK 3 had _double variants:
gdk_device_get_position(), gdk_device_get_surface_at_position(),
gdk_surface_get_device_position(). These have been changed to use
doubles, and the _double variants have been removed. Update your
code accordingly.
Any APIs that deal with global (or root) coordinates have been
removed in GTK4, since not all backends support them. You should
replace your use of such APIs with surface-relative equivalents.
Examples of this are gdk_surfae_get_origin(), gdk_surface_move()
or gdk_event_get_root_coords().
Adapt to GdkKeymap API changes
The way to get a keymap has changed slightly. gdk_keymap_get_for_display() has
been renamed to gdk_display_get_keymap().
Adapt to event controller API changes
A few changes to the event controller and #GtkGesture APIs
did not make it back to GTK3, and have to be taken into account
when moving to GTK4. One is that the
#GtkEventControllerMotion::enter,
#GtkEventControllerMotion::leave,
#GtkEventControllerKey::focus-in and
#GtkEventControllerKey::focus-out signals
have gained new arguments. Another is that #GtkGestureMultiPress
has been renamed to #GtkGestureClick.
Stop using GtkEventBox
GtkEventBox is no longer needed and has been removed.
All widgets receive all events.
Stop using GtkButtonBox
GtkButtonBox has been removed. Use a GtkBox instead.
Adapt to GtkBox API changes
GtkBox no longer has pack-start and -end. Pack your widgets in the
correct order, or reorder them as necessary.
Adapt to GtkHeaderBar and GtkActionBar API changes
The gtk_header_bar_set_show_close_button() function has been renamed to
the more accurate name gtk_header_bar_set_show_title_buttons(). The corresponding
getter and the property itself have also been renamed.
The ::pack-type child properties of GtkHeaderBar and GtkActionBar have
been removed. If you need to programmatically place children, use the
pack_start() and pack_end() APIs. In ui files, use the type attribute
on the child element.
gtk4-builder-tool can help with this conversion, with the --3to4 option
of the simplify command.
Adapt to GtkStack, GtkAssistant and GtkNotebook API changes
The child properties of GtkStack, GtkAssistant and GtkNotebook have been
converted into child meta objects.
Instead of gtk_container_child_set (stack, child, …), you can now use
g_object_set (gtk_stack_get_page (stack, child), …). In .ui files, the
GtkStackPage objects must be created explicitly, and take the child widget
as property. GtkNotebook and GtkAssistant are similar.
gtk4-builder-tool can help with this conversion, with the --3to4 option
of the simplify command.
Adapt to GtkStyleContext API changes
The getters in the GtkStyleContext API, such as
gtk_style_context_get_property(), gtk_style_context_get(),
or gtk_style_context_get_color() have lost their state argument,
and always use the context's current state. Update all callers
to omit the state argument.
Adapt to GtkCssProvider API changes
In GTK 4, the various #GtkCssProvider load functions have lost
their #GError argument. If you want to handle CSS loading errors,
use the #GtkCssProvider::parsing-error signal instead.
gtk_css_provider_get_named() has been replaced by
gtk_css_provider_load_named().
Stop using GtkContainer::border-width
GTK 4 has removed the #GtkContainer::border-width property.
Use other means to influence the spacing of your containers,
such as the CSS margin and padding properties on child widgets.
Adapt to GtkWidget's size request changes
GTK 3 used five different virtual functions in GtkWidget to
implement size requisition, namely the gtk_widget_get_preferred_width()
family of functions. To simplify widget implementations, GTK 4 uses
only one virtual function, GtkWidgetClass::measure() that widgets
have to implement.
Adapt to GtkWidget's size allocation changes
The #GtkWidget::size-allocate signal now takes the baseline as an
argument, so you no longer need to call gtk_widget_get_allocated_baseline()
to get it.
Switch to GtkWidget's children APIs
Instead of the GtkContainer subclass, in GTK 4, any widget can
have children, and there is new API to navigate the widget tree:
gtk_widget_get_first_child(), gtk_widget_get_last_child(),
gtk_widget_get_next_sibling(), gtk_widget_get_prev_sibling().
The GtkContainer API still works, but if you are implementing
your own widgets, you should consider using the new APIs.
Don't use -gtk-gradient in your CSS
GTK now supports standard CSS syntax for both linear and radial
gradients, just use those.
Don't use -gtk-icon-effect in your CSS
GTK now supports a more versatile -gtk-icon-filter instead. Replace
-gtk-icon-effect: dim; with -gtk-icon-filter: opacity(0.5); and
-gtk-icon-effect: hilight; with -gtk-icon-filter: brightness(1.2);.
Use gtk_widget_measure
gtk_widget_measure() replaces the various gtk_widget_get_preferred_ functions
for querying sizes.
Adapt to drawing model changes
This area has seen the most radical changes in the transition from GTK 3
to GTK 4. Widgets no longer use a draw() function to render their contents
to a cairo surface. Instead, they have a snapshot() function that creates
one or more GskRenderNodes to represent their content. Third-party widgets
that use a draw() function or a #GtkWidget::draw signal handler for custom
drawing will need to be converted to use gtk_snapshot_append_cairo().
The auxiliary #GtkSnapshot object has APIs to help with creating render
nodes.
If you are using a #GtkDrawingArea for custom drawing, you need to switch
to using gtk_drawing_area_set_draw_func() to set a draw function instead
of connnecting a handler to the #GtkWidget::draw signal.
Stop using APIs to query GdkSurfaces
A number of APIs for querying special-purpose windows have been removed,
since these windows are no longer publically available:
gtk_tree_view_get_bin_window(), gtk_viewport_get_bin_window(),
gtk_viewport_get_view_window().
Widgets are now visible by default
The default value of #GtkWidget::visible in GTK 4 is %TRUE, so you no
longer need to explicitly show all your widgets. On the flip side, you
need to hide widgets that are not meant to be visible from the start.
A convenient way to remove unnecessary property assignments like this
from ui files it run the command gtk4-builder-tool simplify --replace
on them.
The function gtk_widget_show_all(), the #GtkWidget::no-show-all property
and its getter and setter have been removed in GTK 4, so you should stop using them.
Adapt to changes in animated hiding and showing of widgets
Widgets that appear and disappear with an animation, such as GtkPopover,
GtkInfoBar, GtkRevealer no longer use gtk_widget_show() and gtk_widget_hide()
for this, but have gained dedicated APIs for this purpose that you should
use.
Stop passing commandline arguments to gtk_init
The gtk_init() and gtk_init_check() functions no longer accept commandline
arguments. Just call them without arguments. Other initialization functions
that were purely related to commandline argument handling, such as
gtk_parse_args() and gtk_get_option_group(), are gone. The APIs to
initialize GDK separately are also gone, but it is very unlikely
that you are affected by that.
GdkPixbuf is deemphasized
A number of #GdkPixbuf-based APIs have been removed. The available replacements
are either using #GIcon, or the newly introduced #GdkTexture or #GdkPaintable
classes instead.
If you are dealing with pixbufs, you can use gdk_texture_new_for_pixbuf()
to convert them to texture objects where needed.
GtkWidget event signals are removed
Event controllers and #GtkGestures have already been introduced in GTK 3 to handle
input for many cases. In GTK 4, the traditional widget signals for handling input,
such as #GtkWidget::motion-event or #GtkWidget::event have been removed.
Invalidation handling has changed
Only gtk_widget_queue_draw() is left to mark a widget as needing redraw.
Variations like gtk_widget_queue_draw_rectangle() or gtk_widget_queue_draw_region()
are no longer available.
Stop using GtkWidget::draw
The #GtkWidget::draw signal has been removed. Widgets need to implement the
#GtkWidget::snapshot function now. Connecting draw signal handlers is no longer possible.
Window content observation has changed
Observing widget contents and widget size is now done by using the
#GtkWidgetPaintable object instead of connecting to widget signals.
The gtk_window_fullscreen_on_monitor API has changed
Instead of a monitor number, gtk_window_fullscreen_on_monitor() now takes a
#GdkMonitor argument.
Adapt to cursor API changes
Use the new gtk_widget_set_cursor() function to set cursors, instead of
setting the cursor on the underlying window directly. This is necessary
because most widgets don't have their own window anymore, turning any
such calls into global cursor changes.
For creating standard cursors, gdk_cursor_new_for_display() has been removed,
you have to use cursor names instead of GdkCursorType. For creating custom cursors,
use gdk_cursor_new_from_texture(). The ability to get cursor images has been removed.
Adapt to icon size API changes
Instead of the existing extensible set of symbolic icon sizes, GTK now only
supports normal and large icons with the #GtkIconSize enumeration. The actual sizes
can be defined by themes via the CSS property -gtk-icon-size.
GtkImage setters like gtk_image_set_from_icon_name() no longer take a #GtkIconSize
argument. You can use the separate gtk_image_set_icon_size() setter if you need
to override the icon size.
The ::stock-size property of GtkCellRendererPixbuf has been renamed to
#GtkCellRendererPixbuf:icon-size.
Convert .ui files
The simplify command of gtk4-builder-tool has gained a --3to4 option, which
can help with some of the required changes in .ui files, such as converting
child properties to child meta objects.
Adapt to changes in the GtkAssistant API
The ::has-padding property is gone, and GtkAssistant no longer adds padding
to pages. You can easily do that yourself.
Adapt to changes in the API of GtkEntry, GtkSearchEntry and GtkSpinButton
The GtkEditable interface has been made more useful, and the core functionality of
GtkEntry has been broken out as a GtkText widget. GtkEntry, GtkSearchEntry,
GtkSpinButton and the new GtkPasswordEntry now use a GtkText widget internally
and implement GtkEditable. In particular, this means that it is no longer
possible to use GtkEntry API such as gtk_entry_grab_focus_without_selecting()
on a search entry.
Use GtkEditable API for editable functionality, and widget-specific APIs for
things that go beyond the common interface. For password entries, use
GtkPasswordEntry. As an example, gtk_spin_button_set_max_width_chars()
has been removed in favor of gtk_editable_set_max_width_chars().
Adapt to changes in GtkOverlay API
The GtkOverlay::pass-through child property has been replaced by the
GtkWidget::can-pick property. Note that they have the opposite sense:
pass-through == !can-pick.
Use GtkFixed instead of GtkLayout
Since GtkScrolledWindow can deal with widgets that do not implement
the GtkScrollable interface by automatically wrapping them into a
GtkViewport, GtkLayout is redundant, and has been removed in favor
of the existing GtkFixed container widget.
Adapt to search entry changes
The way search entries are connected to global events has changed;
gtk_search_entry_handle_event() has been dropped and replaced by
gtk_search_entry_set_key_capture_widget() and
gtk_event_controller_key_forward().
Stop using child properties
GtkContainer no longer provides facilities for defining and using
child properties. If you have custom widgets using child properties,
they will have to be converted either to layout properties provided
by a layout manager (if they are layout-related), or handled in
some other way. One possibility is to use child meta objects,
as seen with GtkAssistantPage, GtkStackPage and the like.
Stop using tabular menus
Tabular menus were rarely used and complicated the menu code,
so they have been removed. If you need complex layout in menu-like
popups, consider using a #GtkPopover instead.
Stop using gtk_menu_set_display()
This function has been removed. Menus should always be
attached to a widget and get their display that way.
Stop using gtk_window_activate_default()
The handling of default widgets has been changed, and activating
the default now works by calling gtk_widget_activate_default()
on the widget that caused the activation.
If you have a custom widget that wants to override the default
handling, you can provide an implementation of the default.activate
action in your widgets' action groups.
Stop setting ::has-default and ::has-focus in .ui files
The special handling for the ::has-default and ::has-focus properties
has been removed. If you want to define the initial focus or the
the default widget in a .ui file, set the ::default-widget or
::focus-widget properties of the toplevel window.
Stop using the GtkWidget::display-changed signal
To track the current display, use the GtkWidget::root property
instead.
GtkPopover::modal has been renamed to autohide
The modal property has been renamed to autohide.
gtk-builder-tool can assist with the rename in ui files.
gtk_widget_get_surface has been removed
gtk_widget_get_surface() has been removed.
Use gtk_native_get_surface() in combination with
gtk_widget_get_native() instead.
gtk_widget_is_toplevel has been removed
gtk_widget_is_toplevel() has been removed.
Use GTK_IS_ROOT, GTK_IS_NATIVE or GTK_IS_WINDOW
instead, as appropriate.
gtk_widget_get_toplevel has been removed
gtk_widget_get_toplevel() has been removed.
Use gtk_widget_get_root() or gtk_widget_get_native()
instead, as appropriate.
GtkEntryBuffer ::deleted-text has changed
To allow signal handlers to access the deleted text before it
has been deleted #GtkEntryBuffer::deleted-text has changed from
%G_SIGNAL_RUN_FIRST to %G_SIGNAL_RUN_LAST. The default handler
removes the text from the #GtkEntryBuffer.
To adapt existing code, use g_signal_connect_after() or
%G_CONNECT_AFTER when using g_signal_connect_data() or
g_signal_connect_object().
The "iconified" window state has been renamed to "minimized"
The GDK_SURFACE_STATE_ICONIFIED value of the
#GdkSurfaceState enumeration is now %GDK_SURFACE_STATE_MINIMIZED.
The #GdkSurface functions gdk_surface_iconify()
and gdk_surface_deiconify() have been renamed to
gdk_surface_minimize() and gdk_surface_unminimize(), respectively.
The corresponding #GtkWindow functions gtk_window_iconify()
and gtk_window_deiconify() have been renamed
to gtk_window_minimize() and gtk_window_unminimize(), respectively.
The behavior of the minimization and unminimization operations have
not been changed, and they still require support from the underlying
windowing system.
GtkMenu, GtkMenuBar and GtkMenuItem are gone
These widgets were heavily relying on X11-centric concepts such as
override-redirect windows and grabs, and were hard to adjust to other
windowing systems.
Menus can already be replaced using GtkPopoverMenu in GTK 3. Additionally,
GTK 4 introduces GtkPopoverMenuBar to replace menubars. These new widgets
can only be constructed from menu models, so the porting effort involves
switching to menu models and actions.
Since menus are gone, GtkMenuButton also lost its ability to show menus,
and needs to be used with popovers in GTK 4.
GtkToolbar has been removed
Toolbars were using outdated concepts such as requiring special toolitem
widgets.
Toolbars should be replaced by using a GtkBox with regular widgets instead.
Stop using custom tooltip windows
Tooltips no longer use GtkWindows in GTK 4, and it is no longer
possible to provide a custom window for tooltips. Replacing the content
of the tooltip with a custom widget is still possible, with
gtk_tooltip_set_custom().
Switch to the new DND api
The source-side DND apis in GTK 4 have been changed to use an event controller, #GtkDragSource.
Instead of calling gtk_drag_source_set() and connecting to #GtkWidget signals, you create
a #GtkDragSource object, attach it to the widget with gtk_widget_add_controller(), and connect
to #GtkDragSource signals. Instead of calling gtk_drag_begin() on a widget to start a drag
manually, call gdk_drag_begin().
The ::drag-data-get signal has been replaced by the #GtkDragSource::prepare signal, which
returns a #GdkContentProvider for the drag operation.
The destination-side DND apis in GTK 4 have also been changed to use and event controller,
#GTkDropTarget.
Instead of calling gtk_drag_dest_set() and connecting to #GtkWidget signals, you create
a #GtkDropTarget object, attach it to the widget with gtk_widget_add_controller(), and
connect to #GtkDropTarget signals.
The ::drag-motion signal has been renamed to #GtkDragSource::accept, and instead of
::drag-data-received, you need to use async read methods on the #GdkDrop object, such
as gdk_drop_read_value_async() or gdk_drop_read_text_async().
docs/reference/gtk/osx.xml 0000664 0001750 0001750 00000001653 13620320467 015724 0 ustar mclasen mclasen
Using GTK on Apple macOS
3
GTK Library
Using GTK on Apple macOS
MacOS-specific aspects of using GTK
Using GTK on Apple macOS
The Apple macOS port of GTK is an implementation of GDK (and therefore GTK)
on top of the Quartz API.
Currently, the macOS port does not use any additional commandline options
or environment variables.
For up-to-date information about the current status of this port, see the
project page .
docs/reference/gtk/other_software.xml 0000664 0001750 0001750 00000013767 13620320467 020157 0 ustar mclasen mclasen
Mixing GTK with other software
3
Mixing GTK with other software
Mixing GTK with other software
How to combine GTK with other code and event loops
Overview
Often people want to use GTK in combination with another library or existing
body of code that is not GTK-aware. The general problem people encounter
is that the control flow of the other code does not return to GTK, so
widgets do not repaint, mouse and keyboard events are ignored, and so forth.
This section describes some approaches to solving this problem. The most
suitable approach depends on the code that's involved, the platforms you're
targetting, and your own familiarity with each approach.
Periodically yield to GTK main loop
This is the simplest method, but requires you to modify the non-GTK code.
Say you have a function that does some kind of lengthy task:
void
do_lengthy_task (void)
{
int i;
for (i = 0; i < BIG_NUMBER; ++i)
{
do_small_part_of_task ();
}
}
You simply insert code into this function that processes pending main loop tasks, if any:
void
do_lengthy_task (void)
{
int i;
for (i = 0; i < BIG_NUMBER; ++i)
{
do_small_part_of_task ();
/* allow main loop to process pending events; NULL
* means the default context.
*/
while (g_main_context_pending (NULL))
g_main_context_iteration (NULL, FALSE);
}
}
The primary disadvantage of this approach is that you have to trade off UI
responsiveness and the performance of the task. That is, if
do_small_part_of_task() does very little of the task, you'll spend lots of CPU
time on g_main_context_iteration(). While if
do_small_part_of_task() does a lot of work, the GUI will seem noticeably
"chunky" to the user.
Another disadvantage to this approach is that you can't have more than one
lengthy task at the same time, unless you manually integrate them.
The big advantage of this approach is that it's simple and straightforward, and
works fine for simple applications such as tossing up a progress bar during the
lengthy task.
Run the other code as a slave of the GTK main loop
As a slightly cleaner solution, you can ask the main loop to run a small part of your
task whenever it isn't busy — that is, when it's idle .
GLib provides a function g_idle_add() that's useful
for this. An "idle handler" added with g_idle_add()
will be run continuously as long as it returns TRUE . However,
the main loop gives higher priority to GUI-related tasks, so will run those instead
when appropriate.
Here's a simple example:
gboolean
my_idle_handler (gpointer user_data)
{
do_small_part_of_task ();
if (task_complete)
return G_SOURCE_REMOVE; /* removes the idle handler */
else
return G_SOURCE_CONTINUE; /* runs the idle handler again */
}
g_idle_add (my_idle_handler, NULL);
If your task involves reading data from the network, you should instead use
g_input_add(); this will allow the
main loop to sleep until data is available on a file descriptor, then
wake up to read that data.
g_idle_add() returns a main loop source ID you can
use to remove the idle handler with g_source_remove().
This is useful for cancelling a task, for example. Another approach is to keep a flag
variable and have the idle handler itself return FALSE when appropriate.
Use multiple processes
If you can't break a task into small chunks — the
"do_small_part_of_task()" function in the above examples — you'll have to
separate your program into two parts, by spawning a child thread or process.
A process does not share the same address space (variables and data) with its parent.
A thread does share the same address space, so a change made to a variable in
one thread will be visible to other threads as well.
This manual can't go into full detail on processes, threads, and other UNIX
programming topics. You may wish to get a book or two — two I'm familiar
with are Beginning Linux Programming (WROX Press) and Advanced Programming in
the UNIX Environment (by Richard Stevens.
Those books also cover the central issue you'll need to address in order to have
a multi-process application: how to communicate between the processes. The
simplest solution is to use pipes; g_input_add() in combination with g_spawn_async_with_pipes() should make
this reasonably convenient. There are other possibilities, of course, such as
sockets, shared memory, and X Window System client message events, depending on
your needs.
Use multiple threads
Integrate the GTK main loop with another main loop
Things that won't work
signals
docs/reference/gtk/overview.xml 0000664 0001750 0001750 00000006762 13620320467 016767 0 ustar mclasen mclasen
GTK is a library for creating graphical user interfaces. It
works on many UNIX-like platforms, Windows, and OS X.
GTK is released under the GNU Library General Public License
(GNU LGPL), which allows for flexible licensing of client
applications. GTK has a C-based object-oriented architecture that
allows for maximum flexibility. Bindings for many other languages have
been written, including C++, Objective-C, Guile/Scheme, Perl, Python,
TOM, Ada95, Free Pascal, and Eiffel. The GTK library itself contains
widgets , that is, GUI components such as GtkButton
or GtkTextView.
GTK depends on the following libraries:
GLib
A general-purpose utility library, not specific to graphical user interfaces.
GLib provides many useful data types, macros, type conversions,
string utilities, file utilities, a main loop abstraction, and so on.
GObject
A library that provides a type system, a collection of
fundamental types including an object type, a signal system.
GIO
A modern, easy-to-use VFS API including abstractions for
files, drives, volumes, stream IO, as well as network programming and
DBus communication.
cairo
Cairo is a 2D graphics library with support for multiple
output devices.
Pango
Pango is a library for internationalized text handling. It centers
around the PangoLayout object, representing a paragraph of text.
Pango provides the engine for GtkTextView, GtkLabel, GtkEntry, and
other widgets that display text.
ATK
ATK is the Accessibility Toolkit. It provides a set of generic
interfaces allowing accessibility technologies to interact with a
graphical user interface. For example, a screen reader uses ATK to
discover the text in an interface and read it to blind users. GTK
widgets have built-in support for accessibility using the ATK
framework.
GdkPixbuf
This is a small library which allows you to create GdkPixbuf
("pixel buffer") objects from image data or image files.
Use a GdkPixbuf in combination with GtkImage to display images.
graphene
This is a small library which provides vector and matrix datatypes
and operations. graphene provides optimized implementations using
various SIMD instruction sets such as SSE.
GDK
GDK is the abstraction layer that allows GTK to support multiple
windowing systems. GDK provides window system facilities on Wayland,
X11, Windows, and OS X.
GSK
GSK is a library for creating a scene graph from render nodes,
and rendering it using different rendering APIs. GSK provides renderers
for OpenGL, Vulkan and cairo.
docs/reference/gtk/question_index.xml 0000664 0001750 0001750 00000067016 13620320467 020156 0 ustar mclasen mclasen
Common Questions
3
Common Questions
Common Questions
Find answers to common questions in the GTK manual
Questions and Answers
This is an "index" of the reference manual organized by common "How do
I..." questions. If you aren't sure which documentation to read for
the question you have, this list is a good place to start.
General
How do I get started with GTK?
The GTK website offers some
tutorials and other
documentation (most of it about GTK 2.x, but mostly still applicable).
More documentation ranging from whitepapers to online books can be found at
the GNOME developer's site .
After studying these materials you should be well prepared to come back to
this reference manual for details.
Where can I get help with GTK, submit a bug report, or make a feature request?
See the documentation on this topic.
How do I port from one GTK version to another?
See .
You may also find useful information in the documentation for
specific widgets and functions.
If you have a question not covered in the manual, feel free to
ask on the mailing lists and please file a bug report
against the documentation.
How does memory management work in GTK? Should I free data returned from functions?
See the documentation for #GObject and #GInitiallyUnowned. For #GObject note
specifically g_object_ref() and g_object_unref(). #GInitiallyUnowned is a
subclass of #GObject so the same points apply, except that it has a "floating"
state (explained in its documentation).
For strings returned from functions, they will be declared "const"
if they should not be freed. Non-const strings should be
freed with g_free(). Arrays follow the same rule. If you find an
undocumented exception to the rules, please
file a bug report .
Why does my program leak memory, if I destroy a widget immediately
after creating it ?
If GtkFoo isn't a toplevel window, then
foo = gtk_foo_new ();
gtk_widget_destroy (foo);
is a memory leak, because no one assumed the initial floating
reference. If you are using a widget and you aren't immediately
packing it into a container, then you probably want standard
reference counting, not floating reference counting.
To get this, you must acquire a reference to the widget and drop the
floating reference (ref and sink
in GTK parlance) after
creating it:
foo = gtk_foo_new ();
g_object_ref_sink (foo);
When you want to get rid of the widget, you must call gtk_widget_destroy()
to break any external connections to the widget before dropping your
reference:
gtk_widget_destroy (foo);
g_object_unref (foo);
When you immediately add a widget to a container, it takes care of
assuming the initial floating reference and you don't have to worry
about reference counting at all ... just call gtk_widget_destroy()
to get rid of the widget.
How do I use GTK with threads?
This is covered in the GDK threads
documentation. See also the GThread
documentation for portable threading primitives.
How do I internationalize a GTK program?
Most people use GNU
gettext , already required in order to install GLib. On a UNIX
or Linux system with gettext installed, type info gettext
to read the documentation.
The short checklist on how to use gettext is: call bindtextdomain() so
gettext can find the files containing your translations, call textdomain()
to set the default translation domain, call bind_textdomain_codeset() to
request that all translated strings are returned in UTF-8, then call
gettext() to look up each string to be translated in the default domain.
gi18n.h provides the following shorthand macros for
convenience.
Conventionally, people define macros as follows for convenience:
#define _(x) gettext (x)
#define N_(x) x
#define C_(ctx,x) pgettext (ctx, x)
You use N_() (N stands for no-op) to mark a string for translation in
a location where a function call to gettext() is not allowed, such as
in an array initializer.
You eventually have to call gettext() on the string to actually fetch
the translation. _() both marks the string for translation and actually
translates it.
The C_() macro (C stands for context) adds an additional context to
the string that is marked for translation, which can help to disambiguate
short strings that might need different translations in different
parts of your program.
Code using these macros ends up looking like this:
#include <gi18n.h>
static const char *global_variable = N_("Translate this string");
static void
make_widgets (void)
{
GtkWidget *label1;
GtkWidget *label2;
label1 = gtk_label_new (_("Another string to translate"));
label2 = gtk_label_new (_(global_variable));
...
Libraries using gettext should use dgettext() instead of gettext(), which
allows them to specify the translation domain each time they ask for a
translation. Libraries should also avoid calling textdomain(), since
they will be specifying the domain instead of using the default.
With the convention that the macro GETTEXT_PACKAGE is
defined to hold your libraries translation domain,
gi18n-lib.h can be included to provide
the following convenience:
#define _(x) dgettext (GETTEXT_PACKAGE, x)
How do I use non-ASCII characters in GTK programs ?
GTK uses Unicode (more exactly
UTF-8) for all text. UTF-8 encodes each Unicode codepoint as a sequence of
one to six bytes and has a number of nice properties which make it a good
choice for working with Unicode text in C programs:
ASCII characters are encoded by their familiar ASCII codepoints.
ASCII characters never appear as part of any other character.
The zero byte doesn't occur as part of a character, so that UTF-8 strings
can be manipulated with the usual C library functions for handling
zero-terminated strings.
More information about Unicode and UTF-8 can be found in the
UTF-8 and Unicode
FAQ for Unix/Linux .
GLib provides functions for converting strings between UTF-8 and other
encodings, see g_locale_to_utf8() and g_convert().
Text coming from external sources (e.g. files or user input), has to be
converted to UTF-8 before being handed over to GTK. The following example
writes the content of a IS0-8859-1 encoded text file to
stdout :
gchar *text, *utf8_text;
gsize length;
GError *error = NULL;
if (g_file_get_contents (filename, &text, &length, NULL))
{
utf8_text = g_convert (text, length, "UTF-8", "ISO-8859-1",
NULL, NULL, &error);
if (error != NULL)
{
fprintf ("Couldn't convert file %s to UTF-8\n", filename);
g_error_free (error);
}
else
g_print (utf8_text);
}
else
fprintf (stderr, "Unable to read file %s\n", filename);
For string literals in the source code, there are several alternatives for
handling non-ASCII content:
direct UTF-8
If your editor and compiler are capable of handling UTF-8 encoded sources,
it is very convenient to simply use UTF-8 for string literals, since it
allows you to edit the strings in "wysiwyg". Note that choosing this option
may reduce the portability of your code.
escaped UTF-8
Even if your toolchain can't handle UTF-8 directly, you can still encode
string literals in UTF-8 by using octal or hexadecimal escapes like
\212 or \xa8 to encode each byte.
This is portable, but modifying the escaped strings is not very convenient.
Be careful when mixing hexadecimal escapes with ordinary text;
"\xa8abcd" is a string of length 1 !
runtime conversion
If the string literals can be represented in an encoding which your
toolchain can handle (e.g. IS0-8859-1), you can write your source files
in that encoding and use g_convert() to convert the strings to UTF-8 at
runtime. Note that this has some runtime overhead, so you may want to move
the conversion out of inner loops.
Here is an example showing the three approaches using the copyright sign
© which has Unicode and ISO-8859-1 codepoint 169 and is represented
in UTF-8 by the two bytes 194, 169, or "\302\251" as
a string literal:
g_print ("direct UTF-8: ©");
g_print ("escaped UTF-8: \302\251");
text = g_convert ("runtime conversion: ©", -1, "ISO-8859-1", "UTF-8", NULL, NULL, NULL);
g_print(text);
g_free (text);
If you are using gettext() to localize your application, you need to
call bind_textdomain_codeset() to ensure that translated strings are
returned in UTF-8 encoding.
How do I use GTK with C++?
There are two ways to approach this. The GTK header files use the subset
of C that's also valid C++, so you can simply use the normal GTK API
in a C++ program. Alternatively, you can use a "C++ binding"
such as gtkmm
which provides a native C++ API.
When using GTK directly, keep in mind that only functions can be
connected to signals, not methods. So you will need to use global
functions or "static" class functions for signal connections.
Another common issue when using GTK directly is that
C++ will not implicitly convert an integer to an enumeration.
This comes up when using bitfields; in C you can write the following
code:
gdk_surface_set_events (gdk_surface,
GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK);
while in C++ you must write:
gdk_surface_set_events (gdk_surface,
(GdkEventMask) GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK);
There are very few functions that require this cast, however.
How do I use GTK with other non-C languages?
See the list of language
bindings on https://www.gtk.org .
How do I load an image or animation from a file?
To load an image file straight into a display widget, use
gtk_image_new_from_file() If the file load fails,
gtk_image_new_from_file() will display no image graphic — to detect
a failed load yourself, use gdk_pixbuf_new_from_file() directly, then
gtk_image_new_from_pixbuf(). .
To load an image for another purpose, use gdk_pixbuf_new_from_file(). To
load an animation, use gdk_pixbuf_animation_new_from_file().
gdk_pixbuf_animation_new_from_file() can also load non-animated images, so
use it in combination with gdk_pixbuf_animation_is_static_image() to load a
file of unknown type.
To load an image or animation file asynchronously (without blocking), use
#GdkPixbufLoader.
How do I draw text ?
To draw a piece of text, use a Pango layout and pango_cairo_show_layout().
layout = gtk_widget_create_pango_layout (widget, text);
fontdesc = pango_font_description_from_string ("Luxi Mono 12");
pango_layout_set_font_description (layout, fontdesc);
pango_cairo_show_layout (cr, layout);
pango_font_description_free (fontdesc);
g_object_unref (layout);
See also the
Cairo Rendering
section of Pango manual .
How do I measure the size of a piece of text ?
To obtain the size of a piece of text, use a Pango layout and
pango_layout_get_pixel_size(), using code like the following:
layout = gtk_widget_create_pango_layout (widget, text);
fontdesc = pango_font_description_from_string ("Luxi Mono 12");
pango_layout_set_font_description (layout, fontdesc);
pango_layout_get_pixel_size (layout, &width, &height);
pango_font_description_free (fontdesc);
g_object_unref (layout);
See also the
Layout Objects
section of Pango manual .
Why are types not registered if I use their GTK_TYPE_BLAH
macro ?
The GTK_TYPE_BLAH macros are defined as calls to
gtk_blah_get_type() , and the _get_type()
functions are declared as %G_GNUC_CONST which allows the compiler to optimize
the call away if it appears that the value is not being used.
GLib provides the g_type_ensure() function to work around this problem.
g_type_ensure (GTK_TYPE_BLAH);
How do I create a transparent toplevel window ?
Any toplevel window can be transparent.
It is just a matter of setting a transparent background
in the CSS style for it.
Which widget should I use...
...for lists and trees?
This question has different answers, depending on the size of the dataset
and the required formatting flexibility.
If you want to display a large amount of data in a uniform way, your
best option is a #GtkTreeView widget. See tree
widget overview. A list is just a tree with no branches, so the treeview
widget is used for lists as well.
If you want to display a small amount of items, but need flexible formatting
and widgetry inside the list, then you probably want to use a #GtkListBox,
which uses regular widgets for display.
...for multi-line text display or editing?
See text widget overview — you
should use the #GtkTextView widget.
If you only have a small amount of text, #GtkLabel may also be appropriate
of course. It can be made selectable with gtk_label_set_selectable(). For a
single-line text entry, see #GtkEntry.
...to display an image or animation?
GTK has two widgets that are dedicated to displaying images. #GtkImage, for
small, fixed-size icons and #GtkPicture for content images.
Both can display images in just about any format GTK understands.
You can also use #GtkDrawingArea if you need to do something more complex,
such as draw text or graphics over the top of the image.
...for presenting a set of mutually-exclusive choices, where Windows
would use a combo box?
With GTK, a #GtkComboBox is the recommended widget to use for this use case.
This widget looks like either a combo box or the current option menu, depending
on the current theme. If you need an editable text entry, use the
#GtkComboBox:has-entry property.
GtkWidget
How do I change the color of a widget?
The background color of a widget is determined by the CSS style that applies
to it. To change that, you can set style classes on the widget, and provide
custom CSS to change the appearance. Such CSS can be loaded with
gtk_css_provider_load_from_file() and its variants. See gtk_style_context_add_provider().
How do I change the font of a widget?
If you want to make the text of a label larger, you can use
gtk_label_set_markup():
gtk_label_set_markup (label, "<big>big text</big>");
This is preferred for many apps because it's a relative size to the
user's chosen font size. See g_markup_escape_text() if you are
constructing such strings on the fly.
You can also change the font of a widget by putting
.my-widget-class {
font: Sans 30;
}
in a CSS file, loading it with gtk_css_provider_load_from_file(), and
adding the provider with gtk_style_context_add_provider_for_display().
To associate this style information with your widget, set a style class
on its #GtkStyleContext using gtk_style_context_add_class().
The advantage of this approach is that users can then override the font
you have chosen. See the #GtkStyleContext documentation for more discussion.
How do I disable/ghost/desensitize a widget?
In GTK a disabled widget is termed "insensitive."
See gtk_widget_set_sensitive().
GtkTextView
How do I get the contents of the entire text widget as a string?
See gtk_text_buffer_get_bounds() and gtk_text_buffer_get_text()
or gtk_text_iter_get_text().
GtkTextIter start, end;
GtkTextBuffer *buffer;
char *text;
buffer = gtk_text_view_get_buffer (GTK_TEXT_VIEW (text_view));
gtk_text_buffer_get_bounds (buffer, &start, &end);
text = gtk_text_iter_get_text (&start, &end);
/* use text */
g_free (text);
How do I make a text widget display its complete contents in a specific font?
If you use gtk_text_buffer_insert_with_tags() with appropriate tags to
select the font, the inserted text will have the desired appearance, but
text typed in by the user before or after the tagged block will appear in
the default style.
To ensure that all text has the desired appearance, use
gtk_widget_override_font() to change the default font for the widget.
How do I make a text view scroll to the end of the buffer automatically ?
A good way to keep a text buffer scrolled to the end is to place a
mark at the end of the buffer, and
give it right gravity. The gravity has the effect that text inserted
at the mark gets inserted before , keeping the mark
at the end.
To ensure that the end of the buffer remains visible, use
gtk_text_view_scroll_to_mark() to scroll to the mark after
inserting new text.
The gtk-demo application contains an example of this technique.
#GtkTreeView
How do I associate some data with a row in the tree?
Remember that the #GtkTreeModel columns don't necessarily have to be
displayed. So you can put non-user-visible data in your model just
like any other data, and retrieve it with gtk_tree_model_get().
See the tree widget overview.
How do I put an image and some text in the same column?
You can pack more than one #GtkCellRenderer into a single #GtkTreeViewColumn
using gtk_tree_view_column_pack_start() or gtk_tree_view_column_pack_end().
So pack both a #GtkCellRendererPixbuf and a #GtkCellRendererText into the
column.
I can set data easily on my #GtkTreeStore/#GtkListStore models using
gtk_list_store_set() and gtk_tree_store_set(), but can't read it back?
Both the #GtkTreeStore and the #GtkListStore implement the #GtkTreeModel
interface. Consequentially, you can use any function this interface
implements. The easiest way to read a set of data back is to use
gtk_tree_model_get().
How do I change the way that numbers are formatted by #GtkTreeView?
Use gtk_tree_view_insert_column_with_data_func()
or gtk_tree_view_column_set_cell_data_func() and do the conversion
from number to string yourself (with, say, g_strdup_printf()).
The following example demonstrates this:
enum
{
DOUBLE_COLUMN,
N_COLUMNS
};
GtkListStore *mycolumns;
GtkTreeView *treeview;
void
my_cell_double_to_text (GtkTreeViewColumn *tree_column,
GtkCellRenderer *cell,
GtkTreeModel *tree_model,
GtkTreeIter *iter,
gpointer data)
{
GtkCellRendererText *cell_text = (GtkCellRendererText *)cell;
gdouble d;
gchar *text;
/* Get the double value from the model. */
gtk_tree_model_get (tree_model, iter, (gint)data, &d, -1);
/* Now we can format the value ourselves. */
text = g_strdup_printf ("%.2f", d);
g_object_set (cell, "text", text, NULL);
g_free (text);
}
void
set_up_new_columns (GtkTreeView *myview)
{
GtkCellRendererText *renderer;
GtkTreeViewColumn *column;
GtkListStore *mycolumns;
/* Create the data model and associate it with the given TreeView */
mycolumns = gtk_list_store_new (N_COLUMNS, G_TYPE_DOUBLE);
gtk_tree_view_set_model (myview, GTK_TREE_MODEL (mycolumns));
/* Create a GtkCellRendererText */
renderer = gtk_cell_renderer_text_new ();
/* Create a new column that has a title ("Example column"),
* uses the above created renderer that will render the double
* value into text from the associated model's rows.
*/
column = gtk_tree_view_column_new ();
gtk_tree_view_column_set_title (column, "Example column");
renderer = gtk_cell_renderer_text_new ();
gtk_tree_view_column_pack_start (column, renderer, TRUE);
/* Append the new column after the GtkTreeView's previous columns. */
gtk_tree_view_append_column (GTK_TREE_VIEW (myview), column);
/* Since we created the column by hand, we can set it up for our
* needs, e.g. set its minimum and maximum width, etc.
*/
/* Set up a custom function that will be called when the column content
* is rendered. We use the func_data pointer as an index into our
* model. This is convenient when using multi column lists.
*/
gtk_tree_view_column_set_cell_data_func (column, renderer,
my_cell_double_to_text,
(gpointer)DOUBLE_COLUMN, NULL);
}
How do I hide the expander arrows in my tree view ?
Set the expander-column property of the tree view to a hidden column.
See gtk_tree_view_set_expander_column() and gtk_tree_view_column_set_visible().
Using cairo with GTK
How do I use cairo to draw in GTK applications ?
Use gtk_snapshot_append_cairo() in your #GtkWidget::snapshot signal handler
to optain a cairo context and draw with that.
Can I improve the performance of my application by using another backend
of cairo (such as GL) ?
No. Most drawing in GTK is not done via cairo anymore (but instead
by the GL or Vulkan renderers of GSK).
If you use cairo for drawing your own widgets, gtk_snapshot_append_cairo()
will choose the most appropriate surface type for you.
If you are interested in using GL for your own drawing, see #GtkGLArea.
Can I use cairo to draw on a #GdkPixbuf ?
No. The cairo image surface does not support the pixel format used by GdkPixbuf.
If you need to get cairo drawing into a format that can be displayed efficiently
by GTK, you may want to use an image surface and gdk_memory_texture_new().
docs/reference/gtk/resources.xml 0000664 0001750 0001750 00000011142 13620320467 017117 0 ustar mclasen mclasen
Mailing lists and bug reports
3
Mailing lists and bug reports
Mailing lists and bug reports
Getting help with GTK
Opening a bug or feature request
If you encounter a bug, misfeature, or missing feature in GTK, please
file a bug report on our
GitLab project .
You should also file issues if the documentation is out of date with the
existing API, or unclear.
Don't hesitate to file a bug report, even if you think we may know
about it already, or aren't sure of the details. Just give us as much
information as you have, and if it's already fixed or has already been
discussed, we'll add a note to that effect in the report.
The bug tracker should definitely be used for feature requests, it's
not only for bugs. We track all GTK development in GitLab, to ensure
that nothing gets lost.
Working on GTK
If you develop a bugfix or enhancement for GTK, please open a merge
request in GitLab as well. You should not attach patches to an issue,
or describe the fix as a comment. Merge requests allow us to build
GTK with your code applied, and run the test suite, on multiple platforms
and architectures, and verify that nothing breaks. They also allow us to
do proper code reviews, so we can iterate over the changes.
You should follow the contribution guide
for GTK, available on GitLab.
If you want to discuss your approach before or after working on it,
send and email to gtk-devel-list@gnome.org .
You should not send a patch to the mailing list, as it will inevitably
get lost, or forgotten. Always open a merge request.
Mailing lists
There are several mailing lists dedicated to GTK and related
libraries. Discussion of GLib, Pango, and ATK in addition to GTK
proper is welcome on these lists. You can subscribe or view the
archives of these lists on
http://mail.gnome.org .
If you aren't subscribed to the list, any message you post to
the list will be held for manual moderation, which might take
some days to happen.
gtk-list@gnome.org
gtk-list covers general GTK topics; questions about using GTK in programs,
GTK from a user standpoint, announcements of GTK-related projects
such as themes or GTK modules would all be on-topic. The bulk of the
traffic consists of GTK programming questions.
gtk-app-devel-list@gnome.org
gtk-app-devel-list covers writing applications in GTK. It's narrower
in scope than gtk-list, but the two lists overlap quite a
bit. gtk-app-devel-list is a good place to ask questions about GTK
programming.
gtk-devel-list@gnome.org
gtk-devel-list is for discussion of work on GTK itself, it is
not for
asking questions about how to use GTK in applications. gtk-devel-list
is appropriate for discussion of patches, bugs, proposed features,
and so on.
gtk-i18n-list@gnome.org
gtk-i18n-list is for discussion of internationalization in GTK;
Pango is the main focus of the list. Questions about the details of
using Pango, and discussion of proposed Pango patches or features, are
all on topic.
gtk-doc-list@gnome.org
gtk-doc-list is for discussion of the gtk-doc
documentation system (used to document GTK), and for work on the GTK
documentation.
docs/reference/gtk/running.xml 0000664 0001750 0001750 00000052204 13620320467 016571 0 ustar mclasen mclasen
Running GTK Applications
3
GTK Library
Running GTK Applications
How to run and debug your GTK application
Running and debugging GTK Applications
Environment variables
GTK inspects a number of environment variables in addition to standard
variables like LANG , PATH , HOME
or DISPLAY ; mostly to determine paths to look for certain
files. The X11,
Windows and
Broadway GDK backends use some
additional environment variables.
GTK_DEBUG
Unless GTK has been configured with --enable-debug=no ,
this variable can be set to a list of debug options, which cause GTK
to print out different types of debugging information.
actions
Actions and menu models
builder
GtkBuilder support
geometry
Size allocation
icontheme
Icon themes
keybindings
Keybindings
modules
Loading of modules
printing
Printing support
size-request
Size requests
text
Text widget internals
tree
Tree widget internals
A number of keys are influencing behavior instead of just logging:
interactive
Open the interactive debugger
no-css-cache
Bypass caching for CSS style properties
touchscreen
Pretend the pointer is a touchscreen device
updates
Visual feedback about window updates
resize
Highlight resizing widgets
layout
Show layout borders
snapshot
Include debug render nodes in the generated snapshots
The special value all can be used to turn on all
debug options. The special value help can be used
to obtain a list of all supported debug options.
GTK_PATH
Specifies a list of directories to search when GTK is looking for
dynamically loaded objects such as input method
modules and print backends. If the path to
the dynamically loaded object is given as an absolute path name,
then GTK loads it directly.
Otherwise, GTK goes in turn through the directories in GTK_PATH ,
followed by the directory .gtk-4.0 in the user's
home directory, followed by the system default directory,
which is libdir /gtk-4.0/modules .
(If GTK_EXE_PREFIX is defined, libdir is
$GTK_EXE_PREFIX/lib . Otherwise it is the libdir
specified when GTK was configured, usually
/usr/lib , or
/usr/local/lib .)
For each directory in this list, GTK actually looks in a
subdirectory
directory /version /host /type
Where version is derived from the
version of GTK (use pkg-config
--variable=gtk_binary_version gtk4 to determine this from a
script), host is the architecture on
which GTK was built. (use pkg-config
--variable=gtk_host gtk4 to determine this from a
script), and type is a directory
specific to the type of modules; currently it can be
modules , engines ,
immodules , filesystems or
printbackends , corresponding to the types of
modules mentioned above. Either version ,
host , or both may be omitted. GTK looks
first in the most specific directory, then in directories with
fewer components.
The components of GTK_PATH are separated by the ':' character on
Linux and Unix, and the ';' character on Windows.
Note that this environment variable is read by GTK 2.x and GTK 3.x too,
which makes it unsuitable for setting it system-wide (or session-wide),
since doing so will cause applications using different GTK versions
to see incompatible modules.
GTK_IM_MODULE
Specifies an IM module to use in preference to the one determined
from the locale. If this isn't set and you are running on the system
that enables XSETTINGS and has a value in
Gtk/IMModule , that will be used for the default
IM module.
This also can be a colon-separated list of input-methods, which
GTK will try in turn until it finds one available on the system.
GTK_EXE_PREFIX
If set, GTK uses $GTK_EXE_PREFIX/lib instead of
the libdir configured when GTK was compiled.
GTK_DATA_PREFIX
If set, makes GTK use $GTK_DATA_PREFIX
instead of the prefix configured when GTK was compiled.
GTK_THEME
If set, makes GTK use the named theme instead of the theme
that is specified by the gtk-theme-name setting. This is intended
mainly for easy debugging of theme issues.
It is also possible to specify a theme variant to load, by appending
the variant name with a colon, like this: `GTK_THEME=Adwaita:dark`.
The following environment variables are used by GdkPixbuf, GDK or
Pango, not by GTK itself, but we list them here for completeness
nevertheless.
GDK_PIXBUF_MODULE_FILE
Specifies the file listing the GdkPixbuf loader modules to load.
This environment variable overrides the default value
libdir /gtk-4.0/4.0.0/loaders.cache
(libdir is the sysconfdir specified when
GTK was configured, usually /usr/local/lib .)
The loaders.cache file is generated by the
gdk-pixbuf-query-loaders utility.
GDK_DEBUG
If GTK has been configured with --enable-debug=yes ,
this variable can be set to a list of debug options, which cause GDK
to print out different types of debugging information.
cursor
Information about cursor objects (only win32)
eventloop
Information about event loop operation (mostly Quartz)
misc
Miscellaneous information
frames
Information about the frame clock
settings
Information about xsettings
selection
Information about selections
clipboard
Information about clipboards
dnd
Information about drag-and-drop
opengl
Information about OpenGL
vulkan
Information about Vulkan
A number of options affect behavior instead of logging:
nograbs
Turn off all pointer and keyboard grabs
gl-disable
Disable OpenGL support
gl-software
Force OpenGL software rendering
gl-texture-rect
Use the OpenGL texture rectangle extension, if available
gl-legacy
Use a legacy OpenGL context
gl-gles
Use a GLES OpenGL context
vulkan-disable
Disable Vulkan support
vulkan-validate
Load the Vulkan validation layer, if available
The special value all can be used to turn on all
debug options. The special value help can be used
to obtain a list of all supported debug options.
GSK_DEBUG
If GTK has been configured with --enable-debug=yes ,
this variable can be set to a list of debug options, which cause GSK
to print out different types of debugging information.
renderer
General renderer information
cairo
cairo renderer information
opengl
OpenGL renderer information
shaders
Shaders
ssurface
Surfaces
vulkan
Vulkan renderer information
fallback
Information about fallbacks
glyphcache
Information about glyph caching
A number of options affect behavior instead of logging:
diff
Show differences
geometry
Show borders
full-redraw
Force full redraws for every frame
sync
Sync after each frame
vulkan-staging-image
Use a staging image for Vulkan texture upload
vulkan-staging-buffer
Use a staging buffer for Vulkan texture upload
The special value all can be used to turn on all
debug options. The special value help can be used
to obtain a list of all supported debug options.
GDK_BACKEND
If set, selects the GDK backend to use. Selecting a backend requires that
GTK is compiled with support for that backend. The following backends can
be selected, provided they are included in the GDK libraries you are using:
quartz
Selects the native Quartz backend
win32
Selects the native backend for Microsoft Windows
x11
Selects the native backend for connecting to X11 servers.
broadway
Selects the Broadway backend for display in web browsers
wayland
Selects the Wayland backend for connecting to Wayland display servers
Since 3.10, this environment variable can contain a comma-separated list
of backend names, which are tried in order. The list may also contain
a *, which means: try all remaining backends. The special value "help" can
be used to make GDK print out a list of all available backends.
For more information about selecting backends, see the gdk_display_manager_get() function.
GDK_VULKAN_DEVICE
This variable can be set to the index of a Vulkan device to override the
default selection of the device that is used for Vulkan rendering.
The special value list can be used to obtain a list
of all Vulkan devices.
GSK_RENDERER
If set, selects the GSK renderer to use. The following renderers can
be selected, provided they are included in the GTK library you are using
and the GDK backend supports them:
help
Prints information about available options
broadway
Selects the Broadway-backend specific renderer
cairo
Selects the fallback Cairo renderer
gl
Selects the default OpenGL renderer
vulkan
Selects the Vulkan renderer
GTK_CSD
The default value of this environment variable is 1. If changed to 0, this
disables the default use of client-side decorations on GTK windows, thus
making the window manager responsible for drawing the decorations of
windows that do not have a custom titlebar widget.
CSD is always used for windows with a custom titlebar widget set, as the WM
should not draw another titlebar or other decorations around the custom one.
XDG_DATA_HOME , XDG_DATA_DIRS
GTK uses these environment variables to locate icon themes
and MIME information. For more information, see
Icon Theme Specification ,
the Shared MIME-info Database
and the Base Directory Specification .
DESKTOP_STARTUP_ID
GTK uses this environment variable to provide startup notification
according to the Startup Notification Spec .
Following the specification, GTK unsets this variable after reading
it (to keep it from leaking to child processes). So, if you need its
value for your own purposes, you have to read it before calling
gtk_init().
Interactive debugging
GTK includes an interactive debugger, called the GTK Inspector, which
lets you explore the widget tree of any GTK application at runtime, as
well as tweak the theme and trigger visual debugging aids. You can
easily try out changes at runtime before putting them into the code.
Note that the GTK inspector can only show GTK internals. It can not
understand the application-specific logic of a GTK application. Also,
the fact that the GTK inspector is running in the application process
limits what it can do. It is meant as a complement to full-blown debuggers
and system tracing facilities such as DTrace, not as a replacement.
To enable the GTK inspector, you can use the Control-Shift-I or
Control-Shift-D keyboard shortcuts, or set the
GTK_DEBUG=interactive environment variable.
There are a few more environment variables that can be set to influence
how the inspector renders its UI. GTK_INSPECTOR_DISPLAY and
GTK_INSPECTOR_RENDERER determine the GDK display and
the GSK renderer that the inspector is using.
In some situations, it may be inappropriate to give users access to the
GTK inspector. The keyboard shortcuts can be disabled with the
`enable-inspector-keybinding` key in the `org.gtk.Settings.Debug`
GSettings schema.
Profiling
GTK supports profiling with sysprof. It exports timing information
about frameclock phases and various characteristics of GskRenders
in a format that can be displayed by sysprof or GNOME Builder.
A simple way to capture data is to set the GTK_TRACE
environment variable. When it is set, GTK will write profiling
data to a file called
gtk.PID .syscap .
When launching the application from sysprof, it will set the
SYSPROF_TRACE_FD environment variable to point
GTK at a file descriptor to write profiling data to.
When GtkApplication registers with D-Bus, it exports the
org.gnome.Sysprof2.Profiler interface
that lets sysprof request profiling data at runtime.
docs/reference/gtk/text_widget.xml 0000664 0001750 0001750 00000020441 13620320467 017436 0 ustar mclasen mclasen
Text Widget Overview
3
GTK Library
Text Widget Overview
Overview of GtkTextBuffer, GtkTextView, and friends
Conceptual Overview
GTK has an extremely powerful framework for multiline text editing. The
primary objects involved in the process are #GtkTextBuffer, which represents the
text being edited, and #GtkTextView, a widget which can display a #GtkTextBuffer.
Each buffer can be displayed by any number of views.
One of the important things to remember about text in GTK is that it's in the
UTF-8 encoding. This means that one character can be encoded as multiple
bytes. Character counts are usually referred to as
offsets , while byte counts are called
indexes . If you confuse these two, things will work fine
with ASCII, but as soon as your buffer contains multibyte characters, bad
things will happen.
Text in a buffer can be marked with tags . A tag is an
attribute that can be applied to some range of text. For example, a tag might
be called "bold" and make the text inside the tag bold. However, the tag
concept is more general than that; tags don't have to affect appearance. They
can instead affect the behavior of mouse and key presses, "lock" a range of
text so the user can't edit it, or countless other things. A tag is
represented by a #GtkTextTag object. One #GtkTextTag can be applied to any
number of text ranges in any number of buffers.
Each tag is stored in a #GtkTextTagTable. A tag table defines a set of
tags that can be used together. Each buffer has one tag table associated with
it; only tags from that tag table can be used with the buffer. A single tag
table can be shared between multiple buffers, however.
Tags can have names, which is convenient sometimes (for example, you can name
your tag that makes things bold "bold"), but they can also be anonymous (which
is convenient if you're creating tags on-the-fly).
Most text manipulation is accomplished with iterators ,
represented by a #GtkTextIter. An iterator represents a position between two
characters in the text buffer. #GtkTextIter is a struct designed to be
allocated on the stack; it's guaranteed to be copiable by value and never
contain any heap-allocated data. Iterators are not valid indefinitely;
whenever the buffer is modified in a way that affects the number of characters
in the buffer, all outstanding iterators become invalid. (Note that deleting
5 characters and then reinserting 5 still invalidates iterators, though you
end up with the same number of characters you pass through a state with a
different number).
Because of this, iterators can't be used to preserve positions across buffer
modifications. To preserve a position, the #GtkTextMark object is ideal. You
can think of a mark as an invisible cursor or insertion point; it floats in
the buffer, saving a position. If the text surrounding the mark is deleted,
the mark remains in the position the text once occupied; if text is inserted
at the mark, the mark ends up either to the left or to the right of the new
text, depending on its gravity . The standard text
cursor in left-to-right languages is a mark with right gravity, because it
stays to the right of inserted text.
Like tags, marks can be either named or anonymous. There are two marks built-in
to #GtkTextBuffer; these are named "insert" and
"selection_bound" and refer to the insertion point and the
boundary of the selection which is not the insertion point, respectively. If
no text is selected, these two marks will be in the same position. You can
manipulate what is selected and where the cursor appears by moving these
marks around.
If you want to place the cursor in response to a user action, be sure to use
gtk_text_buffer_place_cursor(), which moves both at once without causing a
temporary selection (moving one then the other temporarily selects the range in
between the old and new positions).
Text buffers always contain at least one line, but may be empty (that
is, buffers can contain zero characters). The last line in the text
buffer never ends in a line separator (such as newline); the other
lines in the buffer always end in a line separator. Line separators
count as characters when computing character counts and character
offsets. Note that some Unicode line separators are represented with
multiple bytes in UTF-8, and the two-character sequence "\r\n" is also
considered a line separator.
Text buffers support undo and redo if gtk_text_buffer_set_undo_enabled()
has been set to %TRUE. Use gtk_text_buffer_undo() or gtk_text_buffer_redo()
to perform the necessary action. Note that these operations are ignored if
the buffer is not editable. Developers may want some operations to not be
undoable. To do this, wrap your changes in
gtk_text_buffer_begin_irreversible_action() and
gtk_text_buffer_end_irreversible_action().
Simple Example
The simplest usage of #GtkTextView might look like this:
GtkWidget *view;
GtkTextBuffer *buffer;
view = gtk_text_view_new ();
buffer = gtk_text_view_get_buffer (GTK_TEXT_VIEW (view));
gtk_text_buffer_set_text (buffer, "Hello, this is some text", -1);
/* Now you might put the view in a container and display it on the
* screen; when the user edits the text, signals on the buffer
* will be emitted, such as "changed", "insert_text", and so on.
*/
In many cases it's also convenient to first create the buffer with
gtk_text_buffer_new(), then create a widget for that buffer with
gtk_text_view_new_with_buffer(). Or you can change the buffer the widget
displays after the widget is created with gtk_text_view_set_buffer().
Example of Changing Text Attributes
The way to affect text attributes in #GtkTextView is to
apply tags that change the attributes for a region of text.
For text features that come from the theme — such as font and
foreground color — use CSS to override their default values.
GtkWidget *view;
GtkTextBuffer *buffer;
GtkTextIter start, end;
PangoFontDescription *font_desc;
GdkRGBA rgba;
GtkTextTag *tag;
GtkCssProvider *provider;
GtkStyleContext *context;
view = gtk_text_view_new ();
buffer = gtk_text_view_get_buffer (GTK_TEXT_VIEW (view));
gtk_text_buffer_set_text (buffer, "Hello, this is some text", -1);
/* Change default font and color throughout the widget */
provider = gtk_css_provider_new ();
gtk_css_provider_load_from_data (provider,
"textview {"
" font: 15 serif;"
" color: green;"
"}",
-1);
context = gtk_widget_get_style_context (view);
gtk_style_context_add_provider (context,
GTK_STYLE_PROVIDER (provider),
GTK_STYLE_PROVIDER_PRIORITY_APPLICATION);
/* Change left margin throughout the widget */
gtk_text_view_set_left_margin (GTK_TEXT_VIEW (view), 30);
/* Use a tag to change the color for just one part of the widget */
tag = gtk_text_buffer_create_tag (buffer, "blue_foreground",
"foreground", "blue", NULL);
gtk_text_buffer_get_iter_at_offset (buffer, &start, 7);
gtk_text_buffer_get_iter_at_offset (buffer, &end, 12);
gtk_text_buffer_apply_tag (buffer, tag, &start, &end);
The gtk-demo application that comes with
GTK contains more example code for #GtkTextView.
docs/reference/gtk/tree_widget.xml 0000664 0001750 0001750 00000031057 13620320467 017416 0 ustar mclasen mclasen
Tree and List Widget Overview
3
GTK Library
Tree and List Widget Overview
Overview of GtkTreeModel, GtkTreeView, and friends
Overview
To create a tree or list in GTK, use the #GtkTreeModel interface in
conjunction with the #GtkTreeView widget. This widget is
designed around a Model/View/Controller
design and consists of four major parts:
The tree view widget (GtkTreeView )
The view column (GtkTreeViewColumn )
The cell renderers (GtkCellRenderer etc.)
The model interface (GtkTreeModel )
The View is composed of the first three
objects, while the last is the Model . One
of the prime benefits of the MVC design is that multiple views
can be created of a single model. For example, a model mapping
the file system could be created for a file manager. Many views
could be created to display various parts of the file system,
but only one copy need be kept in memory.
The purpose of the cell renderers is to provide extensibility to the
widget and to allow multiple ways of rendering the same type of data.
For example, consider how to render a boolean variable. Should it
render it as a string of "True" or "False", "On" or "Off", or should
it be rendered as a checkbox?
Creating a model
GTK provides two simple models that can be used: the #GtkListStore
and the #GtkTreeStore. GtkListStore is used to model list widgets,
while the GtkTreeStore models trees. It is possible to develop a new
type of model, but the existing models should be satisfactory for all
but the most specialized of situations. Creating the model is quite
simple:
This creates a list store with two columns: a string column and a boolean
column. Typically the 2 is never passed directly like that; usually an
enum is created wherein the different columns are enumerated, followed by
a token that represents the total number of columns. The next example will
illustrate this, only using a tree store instead of a list store. Creating
a tree store operates almost exactly the same.
Adding data to the model is done using gtk_tree_store_set() or
gtk_list_store_set(), depending upon which sort of model was
created. To do this, a #GtkTreeIter must be acquired. The iterator
points to the location where data will be added.
Once an iterator has been acquired, gtk_tree_store_set() is used to
apply data to the part of the model that the iterator points to.
Consider the following example:
Notice that the last argument is -1. This is always done because
this is a variable-argument function and it needs to know when to stop
processing arguments. It can be used to set the data in any or all
columns in a given row.
The third argument to gtk_tree_store_append() is the parent iterator. It
is used to add a row to a GtkTreeStore as a child of an existing row. This
means that the new row will only be visible when its parent is visible and
in its expanded state. Consider the following example:
Creating the view component
While there are several different models to choose from, there is
only one view widget to deal with. It works with either the list
or the tree store. Setting up a #GtkTreeView is not a difficult
matter. It needs a #GtkTreeModel to know where to retrieve its data
from.
Columns and cell renderers
Once the #GtkTreeView widget has a model, it will need to know how
to display the model. It does this with columns and cell renderers.
Cell renderers are used to draw the data in the tree model in a
way. There are a number of cell renderers that come with GTK,
including the #GtkCellRendererText, #GtkCellRendererPixbuf and
the #GtkCellRendererToggle.
It is relatively easy to write a custom renderer.
A #GtkTreeViewColumn is the object that GtkTreeView uses to organize
the vertical columns in the tree view. It needs to know the name of
the column to label for the user, what type of cell renderer to use,
and which piece of data to retrieve from the model for a given row.
GtkCellRenderer *renderer;
GtkTreeViewColumn *column;
renderer = gtk_cell_renderer_text_new ();
column = gtk_tree_view_column_new_with_attributes ("Author",
renderer,
"text", AUTHOR_COLUMN,
NULL);
gtk_tree_view_append_column (GTK_TREE_VIEW (tree), column);
At this point, all the steps in creating a displayable tree have been
covered. The model is created, data is stored in it, a tree view is
created and columns are added to it.
Selection handling
Most applications will need to not only deal with displaying data, but
also receiving input events from users. To do this, simply get a
reference to a selection object and connect to the
#GtkTreeSelection::changed signal.
Then to retrieve data for the row selected:
Simple Example
Here is a simple example of using a #GtkTreeView widget in context
of the other widgets. It simply creates a simple model and view,
and puts them together. Note that the model is never populated
with data — that is left as an exercise for the reader.
More information can be found on this in the #GtkTreeModel section.
enum
{
TITLE_COLUMN,
AUTHOR_COLUMN,
CHECKED_COLUMN,
N_COLUMNS
};
void
setup_tree (void)
{
GtkTreeStore *store;
GtkWidget *tree;
GtkTreeViewColumn *column;
GtkCellRenderer *renderer;
/* Create a model. We are using the store model for now, though we
* could use any other GtkTreeModel */
store = gtk_tree_store_new (N_COLUMNS,
G_TYPE_STRING,
G_TYPE_STRING,
G_TYPE_BOOLEAN);
/* custom function to fill the model with data */
populate_tree_model (store);
/* Create a view */
tree = gtk_tree_view_new_with_model (GTK_TREE_MODEL (store));
/* The view now holds a reference. We can get rid of our own
* reference */
g_object_unref (G_OBJECT (store));
/* Create a cell render and arbitrarily make it red for demonstration
* purposes */
renderer = gtk_cell_renderer_text_new ();
g_object_set (G_OBJECT (renderer),
"foreground", "red",
NULL);
/* Create a column, associating the "text" attribute of the
* cell_renderer to the first column of the model */
column = gtk_tree_view_column_new_with_attributes ("Author", renderer,
"text", AUTHOR_COLUMN,
NULL);
/* Add the column to the view. */
gtk_tree_view_append_column (GTK_TREE_VIEW (tree), column);
/* Second column.. title of the book. */
renderer = gtk_cell_renderer_text_new ();
column = gtk_tree_view_column_new_with_attributes ("Title",
renderer,
"text", TITLE_COLUMN,
NULL);
gtk_tree_view_append_column (GTK_TREE_VIEW (tree), column);
/* Last column.. whether a book is checked out. */
renderer = gtk_cell_renderer_toggle_new ();
column = gtk_tree_view_column_new_with_attributes ("Checked out",
renderer,
"active", CHECKED_COLUMN,
NULL);
gtk_tree_view_append_column (GTK_TREE_VIEW (tree), column);
/* Now we can manipulate the view just like any other GTK widget */
...
}
docs/reference/gtk/visual_index.xml 0000664 0001750 0001750 00000016615 13620320467 017611 0 ustar mclasen mclasen
docs/reference/gtk/wayland.xml 0000664 0001750 0001750 00000002062 13620320467 016545 0 ustar mclasen mclasen
Using GTK with Wayland
3
GTK Library
Using GTK with Wayland
Wayland-specific aspects of using GTK
Using GTK with Wayland
The GDK Wayland backend provides support for running GTK applications
under the Wayland display server. To run your application in this way,
select the Wayland backend by setting GDK_BACKEND=wayland .
Currently, the Wayland backend does not use any additional commandline
options or environment variables.
For up-to-date information about the current status of this backend, see
the project page .
docs/reference/gtk/windows.xml 0000664 0001750 0001750 00000007060 13620320467 016603 0 ustar mclasen mclasen
Using GTK on Windows
3
GTK Library
Using GTK on Windows
Windows-specific aspects of using GTK
Using GTK on Windows
The Windows port of GTK is an implementation of GDK (and therefore GTK)
on top of the Win32 API. When compiling GTK on Windows, this backend is
the default.
Windows-specific commandline options
The Windows GDK backend can be influenced with some
additional command line arguments.
--sync
Don't batch GDI requests. This might be a marginally useful option for
debugging.
--no-wintab ,
--ignore-wintab
Don't use the Wintab API for tablet support.
--use-wintab
Use the Wintab API for tablet support. This is the default.
--max-colors number
In 256 color mode, restrict the size of the color palette to
the specified number of colors. This option is obsolete.
Windows-specific environment variables
The Win32 GDK backend can be influenced with some
additional environment variables.
GDK_IGNORE_WINTAB
If this variable is set, GTK doesn't use
the Wintab API for tablet support.
GDK_USE_WINTAB
If this variable is set, GTK uses the Wintab API for
tablet support. This is the default.
GDK_WIN32_MAX_COLORS
Specifies the size of the color palette used
in 256 color mode.
Windows-specific handling of cursors
By default the "system" cursor theme is used. This makes GTK prefer cursors
that Windows currently uses, falling back to Adwaita cursors and (as the last
resort) built-in X cursors.
When any other cursor theme is used, GTK will prefer cursors from that theme,
falling back to Windows cursors and built-in X cursors.
Theme can be changed by setting gtk-cursor-theme-name GTK setting. Users can override GTK settings in the settings.ini file or at runtime in the GTK Inspector.
Themes are loaded from normal Windows variants of the XDG locations:
%HOME%/icons/THEME/cursors ,
%APPDATA%/icons/THEME/cursors ,
RUNTIME_PREFIX/share/icons/THEME/cursors .
The gtk-cursor-theme-size setting is ignored, GTK will use the cursor size that Windows tells it to use.
More information about GTK on Windows, including detailed build
instructions, binary downloads, etc, can be found
online .
docs/reference/gtk/x11.xml 0000664 0001750 0001750 00000011361 13620320467 015521 0 ustar mclasen mclasen
Using GTK on the X Window System
3
GTK Library
Using GTK on the X Window System
X11-specific aspects of using GTK
GTK for the X Window System
On UNIX, the X backend is the default build for GTK.
So you don't need to do anything special when compiling it,
and everything should "just work."
To mix low-level Xlib routines into a GTK program,
see GDK X Window
System interaction in the GDK manual.
X11-specific commandline options
The X backend understands some additional command line arguments.
--display display
The name of the X display to open instead of the one specified
in the DISPLAY environment variable.
X11-specific environment variables
The X11 GDK backend can be influenced with some additional environment variables.
GDK_SYNCHRONIZE
If set, GDK makes all X requests synchronously. This is a useful
option for debugging, but it will slow down the performance considerably.
GDK_SCALE
Must be set to an integer, typically 2. If set, GDK will scale all
windows by the specified factor. Scaled output is meant to be used on
high-dpi displays. Normally, GDK will pick up a suitable scale factor
for each monitor from the display system. This environment variable
allows to override that.
Understanding the X11 architecture
People coming from a Windows or MacOS background often find certain
aspects of the X Window System surprising. This section introduces
some basic X concepts at a high level. For more details, the book most
people use is called the Xlib Programming
Manual by Adrian Nye; this book is volume one in the
O'Reilly X Window System series.
Standards are another important resource if you're poking in low-level
X11 details, in particular the ICCCM and the Extended Window Manager
Hints specifications. freedesktop.org
has links to many relevant specifications.
The GDK manual covers using Xlib in a GTK
program.
Server, client, window manager
Other window systems typically put all their functionality in the
application itself. With X, each application involves three different
programs: the X server , the application (called
a client because it's a client of the X
server), and a special client called the window
manager .
The X server is in charge of managing resources, processing drawing
requests, and dispatching events such as keyboard and mouse events to
interested applications. So client applications can ask the X server
to create a window, draw a circle, or move windows around.
The window manager is in charge of rendering the frame or borders
around windows; it also has final say on the size of each window,
and window states such as minimized, maximized, and so forth.
On Windows and MacOS the application handles most of this.
On X11, if you wish to modify the window's state, or
change its frame, you must ask the window manager to do so on your
behalf, using an established convention .
GTK has functions for asking the window manager to do various things;
see for example gtk_window_minimize() or gtk_window_maximize() or gtk_window_set_decorated().
Keep in mind that most window managers will ignore
certain requests from time to time, in the interests of good user interface.
docs/reference/gtk/gtk4-docs.xml 0000664 0001750 0001750 00000040745 13620320467 016717 0 ustar mclasen mclasen
]>
GTK 4 Reference Manual
This document is for the GTK 4 library, version &version;.
The latest versions can be found online at
https://developer.gnome.org/gtk4/ .
If you are looking for the older GTK 3 series of libraries,
see https://developer.gnome.org/gtk3/ .
GTK Overview
GTK Widgets and Objects
Object Hierarchy
Widget Gallery
GListModel support
Application support
Interface builder
Windows
Layout Containers
Layout Managers
Display Widgets
Media Support
Buttons and Toggles
Numeric and Text Data Entry
Multiline Text Editor
Tree, List and Icon Grid Widgets
Menus, Combo Box
Selector Widgets and Dialogs
Widgets for custom drawing
Ornaments
Scrolling
Printing
Shortcuts Overview
Miscellaneous
Abstract Base Classes
Recently Used Documents
Choosing from installed applications
Gestures and event handling
Data exchange, clipboards and Drag-and-Drop
GTK Core Reference
Theming in GTK
Migrating from Previous Versions of GTK
This part describes what you need to change in programs use
older versions of GTK so that they can use the new features.
It also mentions how to convert applications using widgets
found in the libgnomeui library to use their counterparts
in GTK.
GTK Tools
GTK Platform Support
Index of all symbols
Index of deprecated symbols
docs/reference/gtk/gtk4-sections.txt 0000664 0001750 0001750 00000501340 13620320467 017626 0 ustar mclasen mclasen
gtkaboutdialog
GtkAboutDialog
GtkAboutDialog
GtkLicense
gtk_about_dialog_new
gtk_about_dialog_get_program_name
gtk_about_dialog_set_program_name
gtk_about_dialog_get_version
gtk_about_dialog_set_version
gtk_about_dialog_get_copyright
gtk_about_dialog_set_copyright
gtk_about_dialog_get_comments
gtk_about_dialog_set_comments
gtk_about_dialog_get_license
gtk_about_dialog_set_license
gtk_about_dialog_get_wrap_license
gtk_about_dialog_set_wrap_license
gtk_about_dialog_get_license_type
gtk_about_dialog_set_license_type
gtk_about_dialog_get_website
gtk_about_dialog_set_website
gtk_about_dialog_get_website_label
gtk_about_dialog_set_website_label
gtk_about_dialog_get_authors
gtk_about_dialog_set_authors
gtk_about_dialog_get_artists
gtk_about_dialog_set_artists
gtk_about_dialog_get_documenters
gtk_about_dialog_set_documenters
gtk_about_dialog_get_translator_credits
gtk_about_dialog_set_translator_credits
gtk_about_dialog_get_logo
gtk_about_dialog_set_logo
gtk_about_dialog_get_logo_icon_name
gtk_about_dialog_set_logo_icon_name
gtk_about_dialog_get_system_information
gtk_about_dialog_set_system_information
gtk_about_dialog_add_credit_section
gtk_show_about_dialog
GTK_ABOUT_DIALOG
GTK_IS_ABOUT_DIALOG
GTK_TYPE_ABOUT_DIALOG
GTK_ABOUT_DIALOG_CLASS
GTK_IS_ABOUT_DIALOG_CLASS
GTK_ABOUT_DIALOG_GET_CLASS
GtkAboutDialogPrivate
gtk_about_dialog_get_type
gtkaccelgroup
Keyboard Accelerators
GtkAccelGroup
GtkAccelGroupClass
gtk_accel_group_new
GtkAccelFlags
gtk_accel_group_connect
gtk_accel_group_connect_by_path
GtkAccelGroupActivate
GtkAccelGroupFindFunc
gtk_accel_group_disconnect
gtk_accel_group_disconnect_key
gtk_accel_group_activate
gtk_accel_group_lock
gtk_accel_group_unlock
gtk_accel_group_get_is_locked
gtk_accel_group_from_accel_closure
gtk_accel_group_get_modifier_mask
gtk_accel_groups_activate
gtk_accel_groups_from_object
gtk_accel_group_find
GtkAccelKey
gtk_accelerator_valid
gtk_accelerator_parse
gtk_accelerator_name
gtk_accelerator_get_label
gtk_accelerator_parse_with_keycode
gtk_accelerator_name_with_keycode
gtk_accelerator_get_label_with_keycode
gtk_accelerator_set_default_mod_mask
gtk_accelerator_get_default_mod_mask
GTK_TYPE_ACCEL_GROUP
GTK_ACCEL_GROUP
GTK_IS_ACCEL_GROUP
GTK_ACCEL_GROUP_CLASS
GTK_IS_ACCEL_GROUP_CLASS
GTK_ACCEL_GROUP_GET_CLASS
GTK_ACCEL_GROUP_GET_PRIVATE
GtkAccelGroupPrivate
GtkAccelGroupEntry
gtk_accel_group_query
gtk_accel_group_get_type
gtkaccelmap
Accelerator Maps
GtkAccelMap
GtkAccelMapForeach
gtk_accel_map_add_entry
gtk_accel_map_lookup_entry
gtk_accel_map_change_entry
gtk_accel_map_load
gtk_accel_map_save
gtk_accel_map_foreach
gtk_accel_map_load_fd
gtk_accel_map_save_fd
gtk_accel_map_load_scanner
gtk_accel_map_add_filter
gtk_accel_map_foreach_unfiltered
gtk_accel_map_get
gtk_accel_map_lock_path
gtk_accel_map_unlock_path
GTK_ACCEL_MAP
GTK_TYPE_ACCEL_MAP
GTK_IS_ACCEL_MAP
GTK_ACCEL_MAP_CLASS
GTK_IS_ACCEL_MAP_CLASS
GTK_ACCEL_MAP_GET_CLASS
GtkAccelMapClass
gtk_accel_map_get_type
gtkaccellabel
GtkAccelLabel
GtkAccelLabel
gtk_accel_label_new
gtk_accel_label_set_accel_closure
gtk_accel_label_get_accel_closure
gtk_accel_label_get_accel_widget
gtk_accel_label_set_accel_widget
gtk_accel_label_get_accel_width
gtk_accel_label_set_accel
gtk_accel_label_get_accel
gtk_accel_label_refetch
gtk_accel_label_set_label
gtk_accel_label_get_label
GTK_ACCEL_LABEL
GTK_IS_ACCEL_LABEL
GTK_TYPE_ACCEL_LABEL
GTK_ACCEL_LABEL_CLASS
GTK_IS_ACCEL_LABEL_CLASS
GTK_ACCEL_LABEL_GET_CLASS
GtkAccelLabelPrivate
gtk_accel_label_get_type
gtkaccessible
GtkAccessible
GtkAccessible
gtk_accessible_get_widget
gtk_accessible_set_widget
GTK_ACCESSIBLE
GTK_TYPE_ACCESSIBLE
GTK_ACCESSIBLE_CLASS
GTK_ACCESSIBLE_GET_CLASS
GTK_IS_ACCESSIBLE
GTK_IS_ACCESSIBLE_CLASS
GtkAccessiblePrivate
gtk_accessible_get_type
gtkadjustment
GtkAdjustment
GtkAdjustment
gtk_adjustment_new
gtk_adjustment_get_value
gtk_adjustment_set_value
gtk_adjustment_clamp_page
gtk_adjustment_configure
gtk_adjustment_get_lower
gtk_adjustment_get_page_increment
gtk_adjustment_get_page_size
gtk_adjustment_get_step_increment
gtk_adjustment_get_minimum_increment
gtk_adjustment_get_upper
gtk_adjustment_set_lower
gtk_adjustment_set_page_increment
gtk_adjustment_set_page_size
gtk_adjustment_set_step_increment
gtk_adjustment_set_upper
GTK_ADJUSTMENT
GTK_IS_ADJUSTMENT
GTK_TYPE_ADJUSTMENT
GTK_ADJUSTMENT_CLASS
GTK_IS_ADJUSTMENT_CLASS
GTK_ADJUSTMENT_GET_CLASS
GtkAdjustmentPrivate
gtk_adjustment_get_type
gtkassistant
GtkAssistant
GtkAssistant
GtkAssistantPage
gtk_assistant_new
gtk_assistant_get_page
gtk_assistant_get_pages
gtk_assistant_page_get_child
gtk_assistant_get_current_page
gtk_assistant_set_current_page
gtk_assistant_get_n_pages
gtk_assistant_get_nth_page
gtk_assistant_prepend_page
gtk_assistant_append_page
gtk_assistant_insert_page
gtk_assistant_remove_page
GtkAssistantPageFunc
gtk_assistant_set_forward_page_func
GtkAssistantPageType
gtk_assistant_set_page_type
gtk_assistant_get_page_type
gtk_assistant_set_page_title
gtk_assistant_get_page_title
gtk_assistant_set_page_complete
gtk_assistant_get_page_complete
gtk_assistant_add_action_widget
gtk_assistant_remove_action_widget
gtk_assistant_update_buttons_state
gtk_assistant_commit
gtk_assistant_next_page
gtk_assistant_previous_page
GTK_TYPE_ASSISTANT
GTK_ASSISTANT
GTK_ASSISTANT_CLASS
GTK_IS_ASSISTANT
GTK_IS_ASSISTANT_CLASS
GTK_ASSISTANT_GET_CLASS
GtkAssistantPrivate
gtk_assistant_get_type
gtkaspectframe
GtkAspectFrame
GtkAspectFrame
gtk_aspect_frame_new
gtk_aspect_frame_set
GTK_ASPECT_FRAME
GTK_IS_ASPECT_FRAME
GTK_TYPE_ASPECT_FRAME
GTK_ASPECT_FRAME_CLASS
GTK_IS_ASPECT_FRAME_CLASS
GTK_ASPECT_FRAME_GET_CLASS
GtkAspectFramePrivate
gtk_aspect_frame_get_type
gtkbin
GtkBin
GtkBin
GtkBinClass
gtk_bin_get_child
GTK_BIN
GTK_IS_BIN
GTK_TYPE_BIN
GTK_BIN_CLASS
GTK_IS_BIN_CLASS
GTK_BIN_GET_CLASS
GtkBinPrivate
gtk_bin_get_type
gtkbox
GtkBox
GtkBox
GtkBoxClass
gtk_box_new
gtk_box_get_homogeneous
gtk_box_set_homogeneous
gtk_box_get_spacing
gtk_box_set_spacing
gtk_box_get_baseline_position
gtk_box_set_baseline_position
gtk_box_insert_child_after
gtk_box_reorder_child_after
GTK_BOX
GTK_IS_BOX
GTK_TYPE_BOX
GTK_BOX_CLASS
GTK_IS_BOX_CLASS
GTK_BOX_GET_CLASS
GtkBoxPrivate
gtk_box_get_type
gtkcenterbox
GtkCenterBox
GtkCenterBox
gtk_center_box_new
gtk_center_box_set_start_widget
gtk_center_box_set_center_widget
gtk_center_box_set_end_widget
gtk_center_box_get_start_widget
gtk_center_box_get_center_widget
gtk_center_box_get_end_widget
gtk_center_box_set_baseline_position
gtk_center_box_get_baseline_position
GTK_TYPE_CENTER_BOX
GTK_CENTER_BOX
GTK_CENTER_BOX_CLASS
GTK_IS_CENTER_BOX
GTK_IS_CENTER_BOX_CLASS
GTK_CENTER_BOX_GET_CLASS
gtk_center_box_get_type
gtkcenterlayout
GtkCenterLayout
GtkCenterLayout
gtk_center_layout_new
gtk_center_layout_set_start_widget
gtk_center_layout_set_center_widget
gtk_center_layout_set_end_widget
gtk_center_layout_get_start_widget
gtk_center_layout_get_center_widget
gtk_center_layout_get_end_widget
gtk_center_layout_set_baseline_position
gtk_center_layout_get_baseline_position
GTK_TYPE_CENTER_layout
GTK_CENTER_LAYOUT
GTK_CENTER_LAYOUT_CLASS
GTK_IS_CENTER_LAYOUT
GTK_IS_CENTER_LAYOUT_CLASS
GTK_CENTER_LAYOUT_GET_CLASS
gtk_center_layout_get_type
gtklistbox
GtkListBox
GtkListBox
GtkListBoxRow
GtkListBoxRowClass
GtkListBoxFilterFunc
GtkListBoxSortFunc
GtkListBoxUpdateHeaderFunc
gtk_list_box_new
gtk_list_box_prepend
gtk_list_box_insert
gtk_list_box_select_row
gtk_list_box_unselect_row
gtk_list_box_select_all
gtk_list_box_unselect_all
gtk_list_box_get_selected_row
GtkListBoxForeachFunc
gtk_list_box_selected_foreach
gtk_list_box_get_selected_rows
gtk_list_box_set_show_separators
gtk_list_box_get_show_separators
gtk_list_box_set_selection_mode
gtk_list_box_get_selection_mode
gtk_list_box_set_activate_on_single_click
gtk_list_box_get_activate_on_single_click
gtk_list_box_get_adjustment
gtk_list_box_set_adjustment
gtk_list_box_set_placeholder
gtk_list_box_get_row_at_index
gtk_list_box_get_row_at_y
gtk_list_box_invalidate_filter
gtk_list_box_invalidate_headers
gtk_list_box_invalidate_sort
gtk_list_box_set_filter_func
gtk_list_box_set_header_func
gtk_list_box_set_sort_func
gtk_list_box_drag_highlight_row
gtk_list_box_drag_unhighlight_row
GtkListBoxCreateWidgetFunc
gtk_list_box_bind_model
gtk_list_box_row_new
gtk_list_box_row_changed
gtk_list_box_row_is_selected
gtk_list_box_row_get_header
gtk_list_box_row_set_header
gtk_list_box_row_get_index
gtk_list_box_row_set_activatable
gtk_list_box_row_get_activatable
gtk_list_box_row_set_selectable
gtk_list_box_row_get_selectable
GTK_LIST_BOX
GTK_LIST_BOX_CLASS
GTK_LIST_BOX_GET_CLASS
GTK_LIST_BOX_ROW
GTK_LIST_BOX_ROW_CLASS
GTK_LIST_BOX_ROW_GET_CLASS
GTK_IS_LIST_BOX
GTK_IS_LIST_BOX_CLASS
GTK_IS_LIST_BOX_ROW
GTK_IS_LIST_BOX_ROW_CLASS
GTK_TYPE_LIST_BOX
GTK_TYPE_LIST_BOX_ROW
gtk_list_box_get_type
gtk_list_box_row_get_type
gtkselectionmodel
GtkSelectionModel
GtkSelectionModel
gtk_selection_model_is_selected
gtk_selection_model_select_item
gtk_selection_model_unselect_item
gtk_selection_model_select_range
gtk_selection_model_unselect_range
gtk_selection_model_select_all
gtk_selection_model_unselect_all
gtk_selection_model_query_range
gtk_selection_model_selection_changed
GTK_SELECTION_MODEL
GTK_SELECTION_MODEL_CLASS
GTK_SELECTION_MODEL_GET_CLASS
GTK_IS_SELECTION_MODEL
GTK_IS_SELECTION_MODEL_CLASS
GTK_TYPE_SELECTION_MODEL
gtk_selection_model_get_type
gtknoselection
GtkNoSelection
GtkNoSelection
gtk_no_selection_new
gtk_no_selection_get_model
gtk_no_selection_get_type
gtksingleselection
GtkSingleSelection
GtkSingleSelection
GTK_INVALID_LIST_POSITION
gtk_single_selection_new
gtk_single_selection_get_model
gtk_single_selection_get_selected
gtk_single_selection_set_selected
gtk_single_selection_get_selected_item
gtk_single_selection_get_autoselect
gtk_single_selection_set_autoselect
gtk_single_selection_get_can_unselect
gtk_single_selection_set_can_unselect
gtk_single_selection_get_type
gtkbuildable
GtkBuildable
GtkBuildableIface
gtk_buildable_set_name
gtk_buildable_get_name
gtk_buildable_add_child
gtk_buildable_set_buildable_property
gtk_buildable_construct_child
gtk_buildable_custom_tag_start
gtk_buildable_custom_tag_end
gtk_buildable_custom_finished
gtk_buildable_parser_finished
gtk_buildable_get_internal_child
GTK_BUILDABLE
GTK_IS_BUILDABLE
GTK_TYPE_BUILDABLE
gtk_buildable_get_type
GTK_BUILDABLE_CLASS
GTK_BUILDABLE_GET_IFACE
gtkbuilderscope
GtkBuilderScope
gtk_builder_cscope_new
gtk_builder_cscope_add_callback_symbol
gtk_builder_cscope_add_callback_symbols
gtk_builder_cscope_lookup_callback_symbol
GTK_BUILDER_SCOPE
GTK_IS_BUILDER_SCOPE
GTK_TYPE_BUILDER_SCOPE
GTK_BUILDER_SCOPE_INTERFACE
GTK_IS_BUILDER_SCOPE_INTERFACE
GTK_BUILDER_SCOPE_GET_INTERFACE
GTK_BUILDER_CSCOPE
GTK_IS_BUILDER_CSCOPE
GTK_TYPE_BUILDER_CSCOPE
GTK_BUILDER_CSCOPE_CLASS
GTK_IS_BUILDER_CSCOPE_CLASS
GTK_BUILDER_CSCOPE_GET_CLASS
gtk_builder_scope_get_type
gtk_builder_cscope_get_type
gtkbuilder
GtkBuilder
GtkBuilder
GtkBuilderError
gtk_builder_new
gtk_builder_new_from_file
gtk_builder_new_from_resource
gtk_builder_new_from_string
gtk_builder_create_closure
gtk_builder_add_from_file
gtk_builder_add_from_resource
gtk_builder_add_from_string
gtk_builder_add_objects_from_file
gtk_builder_add_objects_from_string
gtk_builder_add_objects_from_resource
gtk_builder_extend_with_template
gtk_builder_get_object
gtk_builder_get_objects
gtk_builder_expose_object
gtk_builder_set_current_object
gtk_builder_get_current_object
gtk_builder_set_scope
gtk_builder_get_scope
gtk_builder_set_translation_domain
gtk_builder_get_translation_domain
gtk_builder_get_type_from_name
gtk_builder_value_from_string
gtk_builder_value_from_string_type
GTK_BUILDER_WARN_INVALID_CHILD_TYPE
GTK_BUILDER_ERROR
GTK_BUILDER
GTK_IS_BUILDER
GTK_TYPE_BUILDER
GTK_BUILDER_CLASS
GTK_IS_BUILDER_CLASS
GTK_BUILDER_GET_CLASS
gtk_builder_get_type
gtk_builder_error_quark
gtkbutton
GtkButton
GtkButton
GtkButtonClass
gtk_button_new
gtk_button_new_with_label
gtk_button_new_with_mnemonic
gtk_button_new_from_icon_name
gtk_button_set_relief
gtk_button_get_relief
gtk_button_get_label
gtk_button_set_label
gtk_button_get_use_underline
gtk_button_set_use_underline
gtk_button_set_icon_name
gtk_button_get_icon_name
GTK_BUTTON
GTK_IS_BUTTON
GTK_TYPE_BUTTON
GTK_BUTTON_CLASS
GTK_IS_BUTTON_CLASS
GTK_BUTTON_GET_CLASS
GtkButtonPrivate
gtk_button_get_type
gtkcalendar
GtkCalendar
GtkCalendar
GtkCalendarDisplayOptions
gtk_calendar_new
gtk_calendar_select_month
gtk_calendar_select_day
gtk_calendar_mark_day
gtk_calendar_unmark_day
gtk_calendar_get_day_is_marked
gtk_calendar_clear_marks
gtk_calendar_get_display_options
gtk_calendar_set_display_options
gtk_calendar_get_date
GTK_CALENDAR
GTK_IS_CALENDAR
GTK_TYPE_CALENDAR
GTK_CALENDAR_CLASS
GTK_IS_CALENDAR_CLASS
GTK_CALENDAR_GET_CLASS
GtkCalendarPrivate
gtk_calendar_get_type
gtkcheckbutton
GtkCheckButton
GtkCheckButton
gtk_check_button_new
gtk_check_button_new_with_label
gtk_check_button_new_with_mnemonic
gtk_check_button_get_draw_indicator
gtk_check_button_set_draw_indicator
gtk_check_button_get_inconsistent
gtk_check_button_set_inconsistent
GTK_CHECK_BUTTON
GTK_IS_CHECK_BUTTON
GTK_TYPE_CHECK_BUTTON
GTK_CHECK_BUTTON_CLASS
GTK_IS_CHECK_BUTTON_CLASS
GTK_CHECK_BUTTON_GET_CLASS
gtk_check_button_get_type
gtkcolorbutton
GtkColorButton
GtkColorButton
gtk_color_button_new
gtk_color_button_new_with_rgba
gtk_color_button_set_title
gtk_color_button_get_title
GTK_COLOR_BUTTON
GTK_IS_COLOR_BUTTON
GTK_TYPE_COLOR_BUTTON
GTK_COLOR_BUTTON_CLASS
GTK_IS_COLOR_BUTTON_CLASS
GTK_COLOR_BUTTON_GET_CLASS
gtk_color_button_get_type
GtkColorButtonPrivate
gtkcombobox
GtkComboBox
GtkComboBox
GtkComboBoxClass
gtk_combo_box_new
gtk_combo_box_new_with_entry
gtk_combo_box_new_with_model
gtk_combo_box_new_with_model_and_entry
gtk_combo_box_get_active
gtk_combo_box_set_active
gtk_combo_box_get_active_iter
gtk_combo_box_set_active_iter
gtk_combo_box_get_id_column
gtk_combo_box_set_id_column
gtk_combo_box_get_active_id
gtk_combo_box_set_active_id
gtk_combo_box_get_model
gtk_combo_box_set_model
gtk_combo_box_popdown
gtk_combo_box_get_popup_accessible
gtk_combo_box_get_row_separator_func
gtk_combo_box_set_row_separator_func
GtkSensitivityType
gtk_combo_box_set_button_sensitivity
gtk_combo_box_get_button_sensitivity
gtk_combo_box_get_has_entry
gtk_combo_box_set_entry_text_column
gtk_combo_box_get_entry_text_column
gtk_combo_box_set_popup_fixed_width
gtk_combo_box_get_popup_fixed_width
GTK_TYPE_COMBO_BOX
GTK_COMBO_BOX
GTK_COMBO_BOX_CLASS
GTK_IS_COMBO_BOX
GTK_IS_COMBO_BOX_CLASS
GTK_COMBO_BOX_GET_CLASS
GtkComboBoxPrivate
gtk_combo_box_get_type
gtkcomboboxtext
GtkComboBoxText
GtkComboBoxText
gtk_combo_box_text_new
gtk_combo_box_text_new_with_entry
gtk_combo_box_text_append
gtk_combo_box_text_prepend
gtk_combo_box_text_insert
gtk_combo_box_text_append_text
gtk_combo_box_text_prepend_text
gtk_combo_box_text_insert_text
gtk_combo_box_text_remove
gtk_combo_box_text_remove_all
gtk_combo_box_text_get_active_text
GTK_TYPE_COMBO_BOX_TEXT
GTK_COMBO_BOX_TEXT
GTK_IS_COMBO_BOX_TEXT
GTK_COMBO_BOX_TEXT_CLASS
GTK_IS_COMBO_BOX_TEXT_CLASS
GTK_COMBO_BOX_TEXT_GET_CLASS
GtkComboBoxTextPrivate
gtk_combo_box_text_get_type
gtkcontainer
GtkContainer
GtkContainer
GtkContainerClass
gtk_container_add
gtk_container_remove
gtk_container_foreach
gtk_container_get_children
gtk_container_get_focus_vadjustment
gtk_container_set_focus_vadjustment
gtk_container_get_focus_hadjustment
gtk_container_set_focus_hadjustment
gtk_container_child_type
gtk_container_forall
GTK_CONTAINER
GTK_IS_CONTAINER
GTK_TYPE_CONTAINER
GTK_CONTAINER_CLASS
GTK_IS_CONTAINER_CLASS
GTK_CONTAINER_GET_CLASS
GtkContainerPrivate
gtk_container_get_type
gtkdialog
GtkDialog
GtkDialog
GtkDialogClass
GtkDialogFlags
GtkResponseType
gtk_dialog_new
gtk_dialog_new_with_buttons
gtk_dialog_run
gtk_dialog_response
gtk_dialog_add_button
gtk_dialog_add_buttons
gtk_dialog_add_action_widget
gtk_dialog_set_default_response
gtk_dialog_set_response_sensitive
gtk_dialog_get_response_for_widget
gtk_dialog_get_widget_for_response
gtk_dialog_get_content_area
gtk_dialog_get_header_bar
GTK_DIALOG
GTK_IS_DIALOG
GTK_TYPE_DIALOG
GTK_DIALOG_CLASS
GTK_IS_DIALOG_CLASS
GTK_DIALOG_GET_CLASS
GtkDialogPrivate
gtk_dialog_get_type
gtkdrawingarea
GtkDrawingArea
GtkDrawingArea
gtk_drawing_area_new
gtk_drawing_area_get_content_width
gtk_drawing_area_set_content_width
gtk_drawing_area_get_content_height
gtk_drawing_area_set_content_height
GtkDrawingAreaDrawFunc
gtk_drawing_area_set_draw_func
GTK_DRAWING_AREA
GTK_IS_DRAWING_AREA
GTK_TYPE_DRAWING_AREA
GTK_DRAWING_AREA_CLASS
GTK_IS_DRAWING_AREA_CLASS
GTK_DRAWING_AREA_GET_CLASS
gtk_drawing_area_get_type
gtkeditable
GtkEditable
GtkEditable
gtk_editable_get_text
gtk_editable_set_text
gtk_editable_get_chars
gtk_editable_insert_text
gtk_editable_delete_text
gtk_editable_get_selection_bounds
gtk_editable_select_region
gtk_editable_delete_selection
gtk_editable_set_position
gtk_editable_get_position
gtk_editable_set_editable
gtk_editable_get_editable
gtk_editable_set_alignment
gtk_editable_get_alignment
gtk_editable_get_width_chars
gtk_editable_set_width_chars
gtk_editable_get_max_width_chars
gtk_editable_set_max_width_chars
gtk_editable_get_enable_undo
gtk_editable_set_enable_undo
gtk_editable_install_properties
gtk_editable_init_delegate
gtk_editable_finish_delegate
gtk_editable_delegate_set_property
gtk_editable_delegate_get_property
GTK_EDITABLE
GTK_IS_EDITABLE
GTK_TYPE_EDITABLE
GTK_EDITABLE_GET_IFACE
gtk_editable_get_type
gtktext
GtkText
GtkText
GtkTextClass
gtk_text_new
gtk_text_new_with_buffer
gtk_text_set_buffer
gtk_text_get_buffer
gtk_text_set_visibility
gtk_text_get_visibility
gtk_text_set_invisible_char
gtk_text_get_invisible_char
gtk_text_unset_invisible_char
gtk_text_set_overwrite_mode
gtk_text_get_overwrite_mode
gtk_text_set_max_length
gtk_text_get_max_length
gtk_text_get_text_length
gtk_text_set_activates_default
gtk_text_get_activates_default
gtk_text_set_placeholder_text
gtk_text_get_placeholder_text
gtk_text_set_input_purpose
gtk_text_get_input_purpose
gtk_text_set_input_hints
gtk_text_get_input_hints
gtk_text_set_attributes
gtk_text_get_attributes
gtk_text_set_tabs
gtk_text_get_tabs
gtk_text_grab_focus_without_selecting
gtk_text_set_extra_menu
gtk_text_get_extra_menu
gtk_text_get_type
gtkentry
GtkEntry
GtkEntry
GtkEntryClass
gtk_entry_new
gtk_entry_new_with_buffer
gtk_entry_get_buffer
gtk_entry_set_buffer
gtk_entry_get_text_length
gtk_entry_set_visibility
gtk_entry_get_visibility
gtk_entry_set_invisible_char
gtk_entry_get_invisible_char
gtk_entry_unset_invisible_char
gtk_entry_set_max_length
gtk_entry_get_max_length
gtk_entry_set_activates_default
gtk_entry_get_activates_default
gtk_entry_set_has_frame
gtk_entry_get_has_frame
gtk_entry_set_alignment
gtk_entry_get_alignment
gtk_entry_set_placeholder_text
gtk_entry_get_placeholder_text
gtk_entry_set_overwrite_mode
gtk_entry_get_overwrite_mode
gtk_entry_set_attributes
gtk_entry_get_attributes
gtk_entry_set_completion
gtk_entry_get_completion
gtk_entry_set_progress_fraction
gtk_entry_get_progress_fraction
gtk_entry_set_progress_pulse_step
gtk_entry_get_progress_pulse_step
gtk_entry_progress_pulse
gtk_entry_reset_im_context
gtk_entry_set_tabs
gtk_entry_get_tabs
GtkEntryIconPosition
gtk_entry_set_icon_from_paintable
gtk_entry_set_icon_from_icon_name
gtk_entry_set_icon_from_gicon
gtk_entry_get_icon_storage_type
gtk_entry_get_icon_paintable
gtk_entry_get_icon_name
gtk_entry_get_icon_gicon
gtk_entry_set_icon_activatable
gtk_entry_get_icon_activatable
gtk_entry_set_icon_sensitive
gtk_entry_get_icon_sensitive
gtk_entry_get_icon_at_pos
gtk_entry_set_icon_tooltip_text
gtk_entry_get_icon_tooltip_text
gtk_entry_set_icon_tooltip_markup
gtk_entry_get_icon_tooltip_markup
gtk_entry_set_icon_drag_source
gtk_entry_get_current_icon_drag_source
gtk_entry_get_icon_area
GtkInputPurpose
gtk_entry_set_input_purpose
gtk_entry_get_input_purpose
GtkInputHints
gtk_entry_set_input_hints
gtk_entry_get_input_hints
gtk_entry_grab_focus_without_selecting
gtk_entry_set_extra_menu
gtk_entry_get_extra_menu
GTK_ENTRY
GTK_IS_ENTRY
GTK_TYPE_ENTRY
GTK_ENTRY_CLASS
GTK_IS_ENTRY_CLASS
GTK_ENTRY_GET_CLASS
GTK_TYPE_TEXT_HANDLE_POSITION
GTK_TYPE_TEXT_HANDLE_MODE
GtkEntryPrivate
gtk_entry_get_type
gtkpasswordentry
GtkPasswordEntry
GtkPasswordEntry
gtk_password_entry_new
gtk_password_entry_set_show_peek_icon
gtk_password_entry_get_show_peek_icon
gtk_password_entry_set_extra_menu
gtk_password_entry_get_extra_menu
gtk_password_entry_get_type
gtkentrybuffer
GtkEntryBuffer
GtkEntryBuffer
gtk_entry_buffer_new
gtk_entry_buffer_get_text
gtk_entry_buffer_set_text
gtk_entry_buffer_get_bytes
gtk_entry_buffer_get_length
gtk_entry_buffer_get_max_length
gtk_entry_buffer_set_max_length
gtk_entry_buffer_insert_text
gtk_entry_buffer_delete_text
gtk_entry_buffer_emit_deleted_text
gtk_entry_buffer_emit_inserted_text
GTK_ENTRY_BUFFER
GTK_IS_ENTRY_BUFFER
GTK_TYPE_ENTRY_BUFFER
GTK_ENTRY_BUFFER_CLASS
GTK_IS_ENTRY_BUFFER_CLASS
GTK_ENTRY_BUFFER_GET_CLASS
GTK_ENTRY_BUFFER_MAX_SIZE
GtkEntryBufferPrivate
gtk_entry_buffer_get_type
gtkentrycompletion
GtkEntryCompletion
GtkEntryCompletion
GtkEntryCompletionMatchFunc
gtk_entry_completion_new
gtk_entry_completion_new_with_area
gtk_entry_completion_get_entry
gtk_entry_completion_set_model
gtk_entry_completion_get_model
gtk_entry_completion_set_match_func
gtk_entry_completion_set_minimum_key_length
gtk_entry_completion_get_minimum_key_length
gtk_entry_completion_compute_prefix
gtk_entry_completion_complete
gtk_entry_completion_get_completion_prefix
gtk_entry_completion_insert_prefix
gtk_entry_completion_insert_action_text
gtk_entry_completion_insert_action_markup
gtk_entry_completion_delete_action
gtk_entry_completion_set_text_column
gtk_entry_completion_get_text_column
gtk_entry_completion_set_inline_completion
gtk_entry_completion_get_inline_completion
gtk_entry_completion_set_inline_selection
gtk_entry_completion_get_inline_selection
gtk_entry_completion_set_popup_completion
gtk_entry_completion_get_popup_completion
gtk_entry_completion_set_popup_set_width
gtk_entry_completion_get_popup_set_width
gtk_entry_completion_set_popup_single_match
gtk_entry_completion_get_popup_single_match
GTK_TYPE_ENTRY_COMPLETION
GTK_ENTRY_COMPLETION
GTK_ENTRY_COMPLETION_CLASS
GTK_IS_ENTRY_COMPLETION
GTK_IS_ENTRY_COMPLETION_CLASS
GTK_ENTRY_COMPLETION_GET_CLASS
GtkEntryCompletionPrivate
gtk_entry_completion_get_type
gtkexpander
GtkExpander
GtkExpander
gtk_expander_new
gtk_expander_new_with_mnemonic
gtk_expander_set_expanded
gtk_expander_get_expanded
gtk_expander_set_label
gtk_expander_get_label
gtk_expander_set_use_underline
gtk_expander_get_use_underline
gtk_expander_set_use_markup
gtk_expander_get_use_markup
gtk_expander_set_label_widget
gtk_expander_get_label_widget
gtk_expander_set_resize_toplevel
gtk_expander_get_resize_toplevel
GTK_TYPE_EXPANDER
GTK_EXPANDER_CLASS
GTK_EXPANDER
GTK_IS_EXPANDER
GTK_IS_EXPANDER_CLASS
GTK_EXPANDER_GET_CLASS
gtk_expander_get_type
GtkExpanderPrivate
gtkfilechooser
GtkFileChooser
GtkFileChooser
GtkFileChooserAction
GtkFileChooserConfirmation
GTK_FILE_CHOOSER_ERROR
GtkFileChooserError
gtk_file_chooser_set_action
gtk_file_chooser_get_action
gtk_file_chooser_set_local_only
gtk_file_chooser_get_local_only
gtk_file_chooser_set_select_multiple
gtk_file_chooser_get_select_multiple
gtk_file_chooser_set_show_hidden
gtk_file_chooser_get_show_hidden
gtk_file_chooser_set_do_overwrite_confirmation
gtk_file_chooser_get_do_overwrite_confirmation
gtk_file_chooser_set_create_folders
gtk_file_chooser_get_create_folders
gtk_file_chooser_set_current_name
gtk_file_chooser_get_current_name
gtk_file_chooser_get_filename
gtk_file_chooser_set_filename
gtk_file_chooser_select_filename
gtk_file_chooser_unselect_filename
gtk_file_chooser_select_all
gtk_file_chooser_unselect_all
gtk_file_chooser_get_filenames
gtk_file_chooser_set_current_folder
gtk_file_chooser_get_current_folder
gtk_file_chooser_get_uri
gtk_file_chooser_set_uri
gtk_file_chooser_select_uri
gtk_file_chooser_unselect_uri
gtk_file_chooser_get_uris
gtk_file_chooser_set_current_folder_uri
gtk_file_chooser_get_current_folder_uri
gtk_file_chooser_set_preview_widget
gtk_file_chooser_get_preview_widget
gtk_file_chooser_set_preview_widget_active
gtk_file_chooser_get_preview_widget_active
gtk_file_chooser_set_use_preview_label
gtk_file_chooser_get_use_preview_label
gtk_file_chooser_get_preview_filename
gtk_file_chooser_get_preview_uri
gtk_file_chooser_set_extra_widget
gtk_file_chooser_get_extra_widget
gtk_file_chooser_add_filter
gtk_file_chooser_remove_filter
gtk_file_chooser_list_filters
gtk_file_chooser_set_filter
gtk_file_chooser_get_filter
gtk_file_chooser_add_shortcut_folder
gtk_file_chooser_remove_shortcut_folder
gtk_file_chooser_list_shortcut_folders
gtk_file_chooser_add_shortcut_folder_uri
gtk_file_chooser_remove_shortcut_folder_uri
gtk_file_chooser_list_shortcut_folder_uris
gtk_file_chooser_get_current_folder_file
gtk_file_chooser_get_file
gtk_file_chooser_get_files
gtk_file_chooser_get_preview_file
gtk_file_chooser_select_file
gtk_file_chooser_set_current_folder_file
gtk_file_chooser_set_file
gtk_file_chooser_unselect_file
gtk_file_chooser_add_choice
gtk_file_chooser_remove_choice
gtk_file_chooser_set_choice
gtk_file_chooser_get_choice
GTK_FILE_CHOOSER
GTK_IS_FILE_CHOOSER
GTK_TYPE_FILE_CHOOSER
gtk_file_chooser_error_quark
gtk_file_chooser_get_type
gtkfilechoosernative
GtkFileChooserNative
gtk_file_chooser_native_new
gtk_file_chooser_native_get_accept_label
gtk_file_chooser_native_set_accept_label
gtk_file_chooser_native_get_cancel_label
gtk_file_chooser_native_set_cancel_label
GTK_FILE_CHOOSER_NATIVE
GTK_IS_FILE_CHOOSER_NATIVE
GTK_TYPE_FILE_CHOOSER_NATIVE
GTK_FILE_CHOOSER_NATIVE_CLASS
GTK_IS_FILE_CHOOSER_NATIVE_CLASS
GTK_FILE_CHOOSER_NATIVE_GET_CLASS
gtk_file_chooser_native_get_type
gtkfilechooserdialog
GtkFileChooserDialog
GtkFileChooserDialog
gtk_file_chooser_dialog_new
GTK_FILE_CHOOSER_DIALOG
GTK_IS_FILE_CHOOSER_DIALOG
GTK_TYPE_FILE_CHOOSER_DIALOG
GTK_FILE_CHOOSER_DIALOG_CLASS
GTK_IS_FILE_CHOOSER_DIALOG_CLASS
GTK_FILE_CHOOSER_DIALOG_GET_CLASS
gtk_file_chooser_dialog_get_type
GtkFileChooserDialogPrivate
gtkfilechooserwidget
GtkFileChooserWidget
GtkFileChooserWidget
gtk_file_chooser_widget_new
GTK_FILE_CHOOSER_WIDGET
GTK_IS_FILE_CHOOSER_WIDGET
GTK_TYPE_FILE_CHOOSER_WIDGET
GTK_FILE_CHOOSER_WIDGET_CLASS
GTK_IS_FILE_CHOOSER_WIDGET_CLASS
GTK_FILE_CHOOSER_WIDGET_GET_CLASS
gtk_file_chooser_widget_get_type
GtkFileChooserWidgetPrivate
gtkfilechooserbutton
GtkFileChooserButton
GtkFileChooserButton
gtk_file_chooser_button_new
gtk_file_chooser_button_new_with_dialog
gtk_file_chooser_button_get_title
gtk_file_chooser_button_set_title
gtk_file_chooser_button_get_width_chars
gtk_file_chooser_button_set_width_chars
GTK_FILE_CHOOSER_BUTTON
GTK_IS_FILE_CHOOSER_BUTTON
GTK_TYPE_FILE_CHOOSER_BUTTON
GTK_FILE_CHOOSER_BUTTON_CLASS
GTK_IS_FILE_CHOOSER_BUTTON_CLASS
GTK_FILE_CHOOSER_BUTTON_GET_CLASS
gtk_file_chooser_button_get_type
GtkFileChooserButtonPrivate
gtkfilefilter
GtkFileFilter
GtkFileFilterInfo
GtkFileFilterFlags
GtkFileFilterFunc
gtk_file_filter_new
gtk_file_filter_set_name
gtk_file_filter_get_name
gtk_file_filter_add_mime_type
gtk_file_filter_add_pattern
gtk_file_filter_add_pixbuf_formats
gtk_file_filter_add_custom
gtk_file_filter_get_needed
gtk_file_filter_filter
gtk_file_filter_new_from_gvariant
gtk_file_filter_to_gvariant
GTK_FILE_FILTER
GTK_IS_FILE_FILTER
GTK_TYPE_FILE_FILTER
gtk_file_filter_get_type
gtkfilterlistmodel
GtkFilterListModel
GtkFilterListModel
gtk_filter_list_model_new
gtk_filter_list_model_new_for_type
gtk_filter_list_model_set_model
gtk_filter_list_model_get_model
gtk_filter_list_model_set_filter_func
gtk_filter_list_model_has_filter
gtk_filter_list_model_refilter
GTK_FILTER_LIST_MODEL
GTK_IS_FILTER_LIST_MODEL
GTK_TYPE_FILTER_LIST_MODEL
GTK_FILTER_LIST_MODEL_CLASS
GTK_IS_FILTER_LIST_MODEL_CLASS
GTK_FILTER_LIST_MODEL_GET_CLASS
gtk_filter_list_model_get_type
gtkfixed
GtkFixed
GtkFixed
gtk_fixed_new
gtk_fixed_put
gtk_fixed_move
GTK_FIXED
GTK_IS_FIXED
GTK_TYPE_FIXED
GTK_FIXED_CLASS
GTK_IS_FIXED_CLASS
GTK_FIXED_GET_CLASS
GtkFixedPrivate
GtkFixedChild
gtk_fixed_get_type
gtkflattenlistmodel
GtkFlattenListModel
GtkFlattenListModel
gtk_flatten_list_model_new
gtk_flatten_list_model_set_model
gtk_flatten_list_model_get_model
GTK_FLATTEN_LIST_MODEL
GTK_IS_FLATTEN_LIST_MODEL
GTK_TYPE_FLATTEN_LIST_MODEL
GTK_FLATTEN_LIST_MODEL_CLASS
GTK_IS_FLATTEN_LIST_MODEL_CLASS
GTK_FLATTEN_LIST_MODEL_GET_CLASS
gtk_flatten_list_model_get_type
gtkfontbutton
GtkFontButton
GtkFontButton
gtk_font_button_new
gtk_font_button_new_with_font
gtk_font_button_set_use_font
gtk_font_button_get_use_font
gtk_font_button_set_use_size
gtk_font_button_get_use_size
gtk_font_button_set_title
gtk_font_button_get_title
GTK_FONT_BUTTON
GTK_IS_FONT_BUTTON
GTK_TYPE_FONT_BUTTON
GTK_FONT_BUTTON_CLASS
GTK_IS_FONT_BUTTON_CLASS
GTK_FONT_BUTTON_GET_CLASS
GtkFontButtonPrivate
gtk_font_button_get_type
gtkfontchooser
GtkFontChooser
GtkFontChooser
gtk_font_chooser_get_font_family
gtk_font_chooser_get_font_face
gtk_font_chooser_get_font_size
gtk_font_chooser_get_font
gtk_font_chooser_set_font
gtk_font_chooser_get_font_desc
gtk_font_chooser_set_font_desc
gtk_font_chooser_get_font_features
gtk_font_chooser_get_language
gtk_font_chooser_set_language
gtk_font_chooser_get_preview_text
gtk_font_chooser_set_preview_text
gtk_font_chooser_get_show_preview_entry
gtk_font_chooser_set_show_preview_entry
GtkFontChooserLevel
gtk_font_chooser_get_level
gtk_font_chooser_set_level
GtkFontFilterFunc
gtk_font_chooser_set_filter_func
gtk_font_chooser_set_font_map
gtk_font_chooser_get_font_map
GtkFontChooserIface
GTK_TYPE_FONT_CHOOSER
GTK_FONT_CHOOSER
GTK_FONT_CHOOSER_IFACE
GTK_IS_FONT_CHOOSER
GTK_IS_FONT_CHOOSER_IFACE
GTK_FONT_CHOOSER_GET_IFACE
GTK_FONT_CHOOSER_DELEGATE_QUARK
gtk_font_chooser_get_type
gtkfontchooserwidget
GtkFontChooserWidget
GtkFontChooserWidget
gtk_font_chooser_widget_new
GTK_TYPE_FONT_CHOOSER_WIDGET
GTK_FONT_CHOOSER_WIDGET
GTK_FONT_CHOOSER_WIDGET_CLASS
GTK_IS_FONT_CHOOSER_WIDGET
GTK_IS_FONT_CHOOSER_WIDGET_CLASS
GTK_FONT_CHOOSER_WIDGET_GET_CLASS
GtkFontChooserWidgetPrivate
gtk_font_chooser_widget_get_type
gtkfontchooserdialog
GtkFontChooserDialog
GtkFontChooserDialog
gtk_font_chooser_dialog_new
GTK_TYPE_FONT_CHOOSER_DIALOG
GTK_FONT_CHOOSER_DIALOG
GTK_FONT_CHOOSER_DIALOG_CLASS
GTK_IS_FONT_CHOOSER_DIALOG
GTK_IS_FONT_CHOOSER_DIALOG_CLASS
GTK_FONT_CHOOSER_DIALOG_GET_CLASS
GtkFontChooserDialogPrivate
gtk_font_chooser_dialog_get_type
gtkframe
GtkFrame
GtkFrame
GtkFrameClass
gtk_frame_new
gtk_frame_set_label
gtk_frame_set_label_widget
gtk_frame_set_label_align
gtk_frame_set_shadow_type
gtk_frame_get_label
gtk_frame_get_label_align
gtk_frame_get_label_widget
gtk_frame_get_shadow_type
GTK_FRAME
GTK_IS_FRAME
GTK_TYPE_FRAME
GTK_FRAME_CLASS
GTK_IS_FRAME_CLASS
GTK_FRAME_GET_CLASS
GtkFramePrivate
gtk_frame_get_type
gtkiconview
GtkIconView
GtkIconView
GtkIconViewForeachFunc
gtk_icon_view_new
gtk_icon_view_new_with_area
gtk_icon_view_new_with_model
gtk_icon_view_set_model
gtk_icon_view_get_model
gtk_icon_view_set_text_column
gtk_icon_view_get_text_column
gtk_icon_view_set_markup_column
gtk_icon_view_get_markup_column
gtk_icon_view_set_pixbuf_column
gtk_icon_view_get_pixbuf_column
gtk_icon_view_get_path_at_pos
gtk_icon_view_get_item_at_pos
gtk_icon_view_set_cursor
gtk_icon_view_get_cursor
gtk_icon_view_selected_foreach
gtk_icon_view_set_selection_mode
gtk_icon_view_get_selection_mode
gtk_icon_view_set_item_orientation
gtk_icon_view_get_item_orientation
gtk_icon_view_set_columns
gtk_icon_view_get_columns
gtk_icon_view_set_item_width
gtk_icon_view_get_item_width
gtk_icon_view_set_spacing
gtk_icon_view_get_spacing
gtk_icon_view_set_row_spacing
gtk_icon_view_get_row_spacing
gtk_icon_view_set_column_spacing
gtk_icon_view_get_column_spacing
gtk_icon_view_set_margin
gtk_icon_view_get_margin
gtk_icon_view_set_item_padding
gtk_icon_view_get_item_padding
gtk_icon_view_set_activate_on_single_click
gtk_icon_view_get_activate_on_single_click
gtk_icon_view_get_cell_rect
gtk_icon_view_select_path
gtk_icon_view_unselect_path
gtk_icon_view_path_is_selected
gtk_icon_view_get_selected_items
gtk_icon_view_select_all
gtk_icon_view_unselect_all
gtk_icon_view_item_activated
gtk_icon_view_scroll_to_path
gtk_icon_view_get_visible_range
gtk_icon_view_set_tooltip_item
gtk_icon_view_set_tooltip_cell
gtk_icon_view_get_tooltip_context
gtk_icon_view_set_tooltip_column
gtk_icon_view_get_tooltip_column
gtk_icon_view_get_item_row
gtk_icon_view_get_item_column
GtkIconViewDropPosition
gtk_icon_view_enable_model_drag_source
gtk_icon_view_enable_model_drag_dest
gtk_icon_view_unset_model_drag_source
gtk_icon_view_unset_model_drag_dest
gtk_icon_view_set_reorderable
gtk_icon_view_get_reorderable
gtk_icon_view_set_drag_dest_item
gtk_icon_view_get_drag_dest_item
gtk_icon_view_get_dest_item_at_pos
gtk_icon_view_create_drag_icon
GTK_ICON_VIEW_CLASS
GTK_IS_ICON_VIEW
GTK_IS_ICON_VIEW_CLASS
GTK_ICON_VIEW_GET_CLASS
GTK_TYPE_ICON_VIEW
GTK_ICON_VIEW
gtk_icon_view_get_type
GtkIconViewPrivate
gtkimage
GtkImage
GtkImage
GtkImageType
gtk_image_new
gtk_image_new_from_file
gtk_image_new_from_resource
gtk_image_new_from_pixbuf
gtk_image_new_from_paintable
gtk_image_new_from_icon_name
gtk_image_new_from_gicon
gtk_image_clear
gtk_image_set_from_file
gtk_image_set_from_resource
gtk_image_set_from_pixbuf
gtk_image_set_from_paintable
gtk_image_set_from_icon_name
gtk_image_set_from_gicon
gtk_image_get_storage_type
gtk_image_get_paintable
gtk_image_get_icon_name
gtk_image_get_gicon
gtk_image_set_pixel_size
gtk_image_get_pixel_size
gtk_image_set_icon_size
gtk_image_get_icon_size
GTK_IMAGE
GTK_IS_IMAGE
GTK_TYPE_IMAGE
GTK_IMAGE_CLASS
GTK_IS_IMAGE_CLASS
GTK_IMAGE_GET_CLASS
GtkImagePrivate
gtk_image_get_type
GtkImagePixbufData
GtkImageAnimationData
GtkImageIconNameData
GtkImageGIconData
gtkimcontext
GtkIMContext
GtkIMContext
GtkIMContextClass
gtk_im_context_get_preedit_string
gtk_im_context_filter_keypress
gtk_im_context_focus_in
gtk_im_context_focus_out
gtk_im_context_reset
gtk_im_context_set_cursor_location
gtk_im_context_set_use_preedit
gtk_im_context_set_surrounding
gtk_im_context_get_surrounding
gtk_im_context_delete_surrounding
GTK_IM_CONTEXT
GTK_IS_IM_CONTEXT
GTK_TYPE_IM_CONTEXT
GTK_IM_CONTEXT_CLASS
GTK_IS_IM_CONTEXT_CLASS
GTK_IM_CONTEXT_GET_CLASS
gtk_im_context_get_type
gtkimcontextsimple
GtkIMContextSimple
GtkIMContextSimple
gtk_im_context_simple_new
gtk_im_context_simple_add_table
gtk_im_context_simple_add_compose_file
GTK_MAX_COMPOSE_LEN
GTK_IM_CONTEXT_SIMPLE
GTK_IS_IM_CONTEXT_SIMPLE
GTK_TYPE_IM_CONTEXT_SIMPLE
GTK_IM_CONTEXT_SIMPLE_CLASS
GTK_IS_IM_CONTEXT_SIMPLE_CLASS
GTK_IM_CONTEXT_SIMPLE_GET_CLASS
GtkIMContextSimplePrivate
gtk_im_context_simple_get_type
gtkimmulticontext
GtkIMMulticontext
GtkIMMulticontext
gtk_im_multicontext_new
gtk_im_multicontext_get_context_id
gtk_im_multicontext_set_context_id
GTK_IM_MULTICONTEXT
GTK_IS_IM_MULTICONTEXT
GTK_TYPE_IM_MULTICONTEXT
GTK_IM_MULTICONTEXT_CLASS
GTK_IS_IM_MULTICONTEXT_CLASS
GTK_IM_MULTICONTEXT_GET_CLASS
gtk_im_multicontext_get_type
GtkIMMulticontextPrivate
gtklabel
GtkLabel
GtkLabel
gtk_label_new
gtk_label_set_text
gtk_label_set_attributes
gtk_label_set_markup
gtk_label_set_markup_with_mnemonic
gtk_label_set_pattern
gtk_label_set_justify
gtk_label_set_xalign
gtk_label_set_yalign
gtk_label_set_ellipsize
gtk_label_set_width_chars
gtk_label_set_max_width_chars
gtk_label_set_wrap
gtk_label_set_wrap_mode
gtk_label_set_lines
gtk_label_get_layout_offsets
gtk_label_get_mnemonic_keyval
gtk_label_get_selectable
gtk_label_get_text
gtk_label_new_with_mnemonic
gtk_label_select_region
gtk_label_set_mnemonic_widget
gtk_label_set_selectable
gtk_label_set_text_with_mnemonic
gtk_label_get_attributes
gtk_label_get_justify
gtk_label_get_xalign
gtk_label_get_yalign
gtk_label_get_ellipsize
gtk_label_get_width_chars
gtk_label_get_max_width_chars
gtk_label_get_label
gtk_label_get_layout
gtk_label_get_wrap
gtk_label_get_wrap_mode
gtk_label_get_lines
gtk_label_get_mnemonic_widget
gtk_label_get_selection_bounds
gtk_label_get_use_markup
gtk_label_get_use_underline
gtk_label_get_single_line_mode
gtk_label_set_label
gtk_label_set_use_markup
gtk_label_set_use_underline
gtk_label_set_single_line_mode
gtk_label_get_current_uri
gtk_label_set_track_visited_links
gtk_label_get_track_visited_links
gtk_label_set_extra_menu
gtk_label_get_extra_menu
GTK_LABEL
GTK_IS_LABEL
GTK_TYPE_LABEL
GTK_LABEL_CLASS
GTK_IS_LABEL_CLASS
GTK_LABEL_GET_CLASS
gtk_label_get_type
GtkLabelPrivate
GtkLabelSelectionInfo
gtklinkbutton
GtkLinkButton
GtkLinkButton
gtk_link_button_new
gtk_link_button_new_with_label
gtk_link_button_get_uri
gtk_link_button_set_uri
gtk_link_button_get_visited
gtk_link_button_set_visited
GTK_TYPE_LINK_BUTTON
GTK_LINK_BUTTON
GTK_IS_LINK_BUTTON
GTK_LINK_BUTTON_CLASS
GTK_IS_LINK_BUTTON_CLASS
GTK_LINK_BUTTON_GET_CLASS
GtkLinkButtonPrivate
gtk_link_button_get_type
gtkmaplistmodel
GtkMapListModel
GtkMapListModel
GtkMapListModelMapFunc
gtk_map_list_model_new
gtk_map_list_model_set_map_func
gtk_map_list_model_set_model
gtk_map_list_model_get_model
gtk_map_list_model_has_map
GTK_MAP_LIST_MODEL
GTK_IS_MAP_LIST_MODEL
GTK_TYPE_MAP_LIST_MODEL
GTK_MAP_LIST_MODEL_CLASS
GTK_IS_MAP_LIST_MODEL_CLASS
GTK_MAP_LIST_MODEL_GET_CLASS
gtk_map_list_model_get_type
gtkmenubutton
GtkMenuButton
GtkMenuButton
gtk_menu_button_new
gtk_menu_button_set_popover
gtk_menu_button_get_popover
gtk_menu_button_set_menu_model
gtk_menu_button_get_menu_model
GtkArrowType
gtk_menu_button_set_direction
gtk_menu_button_get_direction
gtk_menu_button_set_align_widget
gtk_menu_button_get_align_widget
gtk_menu_button_set_icon_name
gtk_menu_button_get_icon_name
gtk_menu_button_set_label
gtk_menu_button_get_label
gtk_menu_button_set_relief
gtk_menu_button_get_relief
gtk_menu_button_popup
gtk_menu_button_popdown
GtkMenuButtonCreatePopupFunc
gtk_menu_button_set_create_popup_func
GTK_TYPE_MENU_BUTTON
GTK_MENU_BUTTON
GTK_MENU_BUTTON_CLASS
GTK_IS_MENU_BUTTON
GTK_IS_MENU_BUTTON_CLASS
GTK_MENU_BUTTON_GET_CLASS
GtkMenuButtonPrivate
gtk_menu_button_get_type
gtkmessagedialog
GtkMessageDialog
GtkMessageDialog
GtkMessageType
GtkButtonsType
gtk_message_dialog_new
gtk_message_dialog_new_with_markup
gtk_message_dialog_set_markup
gtk_message_dialog_format_secondary_text
gtk_message_dialog_format_secondary_markup
gtk_message_dialog_get_message_area
GTK_MESSAGE_DIALOG
GTK_IS_MESSAGE_DIALOG
GTK_TYPE_MESSAGE_DIALOG
GTK_MESSAGE_DIALOG_CLASS
GTK_IS_MESSAGE_DIALOG_CLASS
GTK_MESSAGE_DIALOG_GET_CLASS
GtkMessageDialogPrivate
gtk_message_dialog_get_type
gtkinfobar
GtkInfoBar
GtkInfoBar
gtk_info_bar_new
gtk_info_bar_new_with_buttons
gtk_info_bar_add_action_widget
gtk_info_bar_add_button
gtk_info_bar_add_buttons
gtk_info_bar_set_response_sensitive
gtk_info_bar_set_default_response
gtk_info_bar_response
gtk_info_bar_set_message_type
gtk_info_bar_get_message_type
gtk_info_bar_get_action_area
gtk_info_bar_get_content_area
gtk_info_bar_get_show_close_button
gtk_info_bar_set_show_close_button
gtk_info_bar_get_revealed
gtk_info_bar_set_revealed
GTK_TYPE_INFO_BAR
GTK_INFO_BAR
GTK_INFO_BAR_CLASS
GTK_IS_INFO_BAR
GTK_IS_INFO_BAR_CLASS
GTK_INFO_BAR_GET_CLASS
GtkInfoBarPrivate
gtk_info_bar_get_type
gtknativedialog
GtkNativeDialog
GTK_TYPE_NATIVE_DIALOG
GtkNativeDialogClass
gtk_native_dialog_show
gtk_native_dialog_hide
gtk_native_dialog_destroy
gtk_native_dialog_get_visible
gtk_native_dialog_set_modal
gtk_native_dialog_get_modal
gtk_native_dialog_set_title
gtk_native_dialog_get_title
gtk_native_dialog_set_transient_for
gtk_native_dialog_get_transient_for
gtk_native_dialog_run
GtkNativeDialog
gtk_native_dialog_get_type
gtknotebook
GtkNotebook
GtkNotebook
GtkNotebookPage
gtk_notebook_new
gtk_notebook_get_page
gtk_notebook_get_pages
gtk_notebook_page_get_child
gtk_notebook_append_page
gtk_notebook_append_page_menu
gtk_notebook_prepend_page
gtk_notebook_prepend_page_menu
gtk_notebook_insert_page
gtk_notebook_insert_page_menu
gtk_notebook_remove_page
gtk_notebook_detach_tab
gtk_notebook_page_num
gtk_notebook_next_page
gtk_notebook_prev_page
gtk_notebook_reorder_child
gtk_notebook_set_tab_pos
gtk_notebook_set_show_tabs
gtk_notebook_set_show_border
gtk_notebook_set_scrollable
gtk_notebook_popup_enable
gtk_notebook_popup_disable
gtk_notebook_get_current_page
gtk_notebook_get_menu_label
gtk_notebook_get_nth_page
gtk_notebook_get_n_pages
gtk_notebook_get_tab_label
gtk_notebook_set_menu_label
gtk_notebook_set_menu_label_text
gtk_notebook_set_tab_label
gtk_notebook_set_tab_label_text
gtk_notebook_set_tab_reorderable
gtk_notebook_set_tab_detachable
gtk_notebook_get_menu_label_text
gtk_notebook_get_scrollable
gtk_notebook_get_show_border
gtk_notebook_get_show_tabs
gtk_notebook_get_tab_label_text
gtk_notebook_get_tab_pos
gtk_notebook_get_tab_reorderable
gtk_notebook_get_tab_detachable
gtk_notebook_set_current_page
gtk_notebook_set_group_name
gtk_notebook_get_group_name
gtk_notebook_set_action_widget
gtk_notebook_get_action_widget
GTK_NOTEBOOK
GTK_IS_NOTEBOOK
GTK_TYPE_NOTEBOOK
GTK_NOTEBOOK_CLASS
GTK_IS_NOTEBOOK_CLASS
GTK_NOTEBOOK_GET_CLASS
gtk_notebook_get_type
gtk_notebook_page_get_type
GtkNotebookTab
GtkNotebookPrivate
gtkpaned
GtkPaned
GtkPaned
gtk_paned_new
gtk_paned_add1
gtk_paned_add2
gtk_paned_pack1
gtk_paned_pack2
gtk_paned_get_child1
gtk_paned_get_child2
gtk_paned_set_position
gtk_paned_get_position
gtk_paned_set_wide_handle
gtk_paned_get_wide_handle
GTK_PANED
GTK_IS_PANED
GTK_TYPE_PANED
GTK_PANED_CLASS
GTK_IS_PANED_CLASS
GTK_PANED_GET_CLASS
GtkPanedPrivate
gtk_paned_get_type
gtkpicture
GtkPicture
GtkPicture
gtk_picture_new
gtk_picture_new_for_paintable
gtk_picture_new_for_pixbuf
gtk_picture_new_for_file
gtk_picture_new_for_filename
gtk_picture_new_for_resource
gtk_picture_set_paintable
gtk_picture_get_paintable
gtk_picture_set_pixbuf
gtk_picture_set_file
gtk_picture_get_file
gtk_picture_set_filename
gtk_picture_set_resource
gtk_picture_set_keep_aspect_ratio
gtk_picture_get_keep_aspect_ratio
gtk_picture_set_can_shrink
gtk_picture_get_can_shrink
gtk_picture_set_alternative_text
gtk_picture_get_alternative_text
GTK_PICTURE
GTK_IS_PICTURE
GTK_TYPE_PICTURE
GTK_PICTURE_CLASS
GTK_IS_PICTURE_CLASS
GTK_PICTURE_GET_CLASS
gtk_picture_get_type
gtkprogressbar
GtkProgressBar
GtkProgressBar
gtk_progress_bar_new
gtk_progress_bar_pulse
gtk_progress_bar_set_fraction
gtk_progress_bar_get_fraction
gtk_progress_bar_set_inverted
gtk_progress_bar_get_inverted
gtk_progress_bar_set_show_text
gtk_progress_bar_get_show_text
gtk_progress_bar_set_text
gtk_progress_bar_get_text
gtk_progress_bar_set_ellipsize
gtk_progress_bar_get_ellipsize
gtk_progress_bar_set_pulse_step
gtk_progress_bar_get_pulse_step
GTK_PROGRESS_BAR
GTK_IS_PROGRESS_BAR
GTK_TYPE_PROGRESS_BAR
GTK_PROGRESS_BAR_CLASS
GTK_IS_PROGRESS_BAR_CLASS
GTK_PROGRESS_BAR_GET_CLASS
GtkProgressBarPrivate
gtk_progress_bar_get_type
gtkradiobutton
GtkRadioButton
GtkRadioButton
gtk_radio_button_new
gtk_radio_button_new_from_widget
gtk_radio_button_new_with_label
gtk_radio_button_new_with_label_from_widget
gtk_radio_button_new_with_mnemonic
gtk_radio_button_new_with_mnemonic_from_widget
gtk_radio_button_set_group
gtk_radio_button_get_group
gtk_radio_button_join_group
GTK_RADIO_BUTTON
GTK_IS_RADIO_BUTTON
GTK_TYPE_RADIO_BUTTON
GTK_RADIO_BUTTON_CLASS
GTK_IS_RADIO_BUTTON_CLASS
GTK_RADIO_BUTTON_GET_CLASS
GtkRadioButtonPrivate
gtk_radio_button_get_type
gtkrange
GtkRange
GtkRange
gtk_range_get_fill_level
gtk_range_get_restrict_to_fill_level
gtk_range_get_show_fill_level
gtk_range_set_fill_level
gtk_range_set_restrict_to_fill_level
gtk_range_set_show_fill_level
gtk_range_get_adjustment
gtk_range_set_adjustment
gtk_range_get_inverted
gtk_range_set_inverted
gtk_range_get_value
gtk_range_set_value
gtk_range_set_increments
gtk_range_set_range
gtk_range_get_round_digits
gtk_range_set_round_digits
gtk_range_get_flippable
gtk_range_set_flippable
gtk_range_get_range_rect
gtk_range_get_slider_range
gtk_range_get_slider_size_fixed
gtk_range_set_slider_size_fixed
GTK_RANGE
GTK_IS_RANGE
GTK_TYPE_RANGE
GTK_RANGE_CLASS
GTK_IS_RANGE_CLASS
GTK_RANGE_GET_CLASS
gtk_range_get_type
GtkRangePrivate
gtkrecentmanager
GtkRecentManager
GtkRecentManager
GtkRecentInfo
GtkRecentData
GTK_RECENT_MANAGER_ERROR
GtkRecentManagerError
gtk_recent_manager_new
gtk_recent_manager_get_default
gtk_recent_manager_add_item
gtk_recent_manager_add_full
gtk_recent_manager_remove_item
gtk_recent_manager_lookup_item
gtk_recent_manager_has_item
gtk_recent_manager_move_item
gtk_recent_manager_get_items
gtk_recent_manager_purge_items
gtk_recent_info_ref
gtk_recent_info_unref
gtk_recent_info_get_uri
gtk_recent_info_get_display_name
gtk_recent_info_get_description
gtk_recent_info_get_mime_type
gtk_recent_info_get_added
gtk_recent_info_get_modified
gtk_recent_info_get_visited
gtk_recent_info_get_private_hint
gtk_recent_info_get_application_info
gtk_recent_info_get_applications
gtk_recent_info_last_application
gtk_recent_info_has_application
gtk_recent_info_create_app_info
gtk_recent_info_get_groups
gtk_recent_info_has_group
gtk_recent_info_get_gicon
gtk_recent_info_get_short_name
gtk_recent_info_get_uri_display
gtk_recent_info_get_age
gtk_recent_info_is_local
gtk_recent_info_exists
gtk_recent_info_match
GTK_RECENT_MANAGER
GTK_IS_RECENT_MANAGER
GTK_TYPE_RECENT_MANAGER
GTK_RECENT_MANAGER_CLASS
GTK_IS_RECENT_MANAGER_CLASS
GTK_RECENT_MANAGER_GET_CLASS
GTK_TYPE_RECENT_INFO
gtk_recent_manager_get_type
gtk_recent_info_get_type
GtkRecentManagerPrivate
gtk_recent_manager_error_quark
gtkscale
GtkScale
GtkScale
gtk_scale_new
gtk_scale_new_with_range
gtk_scale_set_digits
gtk_scale_set_draw_value
gtk_scale_set_has_origin
gtk_scale_set_value_pos
gtk_scale_get_digits
gtk_scale_get_draw_value
gtk_scale_get_has_origin
gtk_scale_get_value_pos
gtk_scale_get_layout
gtk_scale_get_layout_offsets
gtk_scale_add_mark
gtk_scale_clear_marks
GTK_SCALE
GTK_IS_SCALE
GTK_TYPE_SCALE
GTK_SCALE_CLASS
GTK_IS_SCALE_CLASS
GTK_SCALE_GET_CLASS
GtkScalePrivate
gtk_scale_get_type
gtkscalebutton
GtkScaleButton
GtkScaleButton
gtk_scale_button_new
gtk_scale_button_set_adjustment
gtk_scale_button_set_icons
gtk_scale_button_set_value
gtk_scale_button_get_adjustment
gtk_scale_button_get_value
gtk_scale_button_get_popup
gtk_scale_button_get_plus_button
gtk_scale_button_get_minus_button
GTK_SCALE_BUTTON
GTK_IS_SCALE_BUTTON
GTK_TYPE_SCALE_BUTTON
GTK_SCALE_BUTTON_CLASS
GTK_IS_SCALE_BUTTON_CLASS
GTK_SCALE_BUTTON_GET_CLASS
GtkScaleButtonPrivate
gtk_scale_button_get_type
gtkscrollable
GtkScrollable
GtkScrollable
gtk_scrollable_get_hadjustment
gtk_scrollable_set_hadjustment
gtk_scrollable_get_vadjustment
gtk_scrollable_set_vadjustment
GtkScrollablePolicy
gtk_scrollable_get_hscroll_policy
gtk_scrollable_set_hscroll_policy
gtk_scrollable_get_vscroll_policy
gtk_scrollable_set_vscroll_policy
gtk_scrollable_get_border
GtkScrollableInterface
GTK_TYPE_SCROLLABLE
GTK_SCROLLABLE
GTK_IS_SCROLLABLE
GTK_SCROLLABLE_GET_IFACE
gtk_scrollable_get_type
gtkscrollbar
GtkScrollbar
GtkScrollbar
gtk_scrollbar_new
gtk_scrollbar_get_adjustment
gtk_scrollbar_set_adjustment
GTK_SCROLLBAR
GTK_IS_SCROLLBAR
GTK_TYPE_SCROLLBAR
GTK_SCROLLBAR_CLASS
GTK_IS_SCROLLBAR_CLASS
GTK_SCROLLBAR_GET_CLASS
gtk_scrollbar_get_type
gtkscrolledwindow
GtkScrolledWindow
GtkScrolledWindow
gtk_scrolled_window_new
gtk_scrolled_window_get_hadjustment
gtk_scrolled_window_set_hadjustment
gtk_scrolled_window_get_vadjustment
gtk_scrolled_window_set_vadjustment
gtk_scrolled_window_get_hscrollbar
gtk_scrolled_window_get_vscrollbar
GtkPolicyType
gtk_scrolled_window_get_policy
gtk_scrolled_window_set_policy
GtkCornerType
gtk_scrolled_window_get_placement
gtk_scrolled_window_set_placement
gtk_scrolled_window_unset_placement
gtk_scrolled_window_get_shadow_type
gtk_scrolled_window_set_shadow_type
gtk_scrolled_window_get_kinetic_scrolling
gtk_scrolled_window_set_kinetic_scrolling
gtk_scrolled_window_get_capture_button_press
gtk_scrolled_window_set_capture_button_press
gtk_scrolled_window_get_overlay_scrolling
gtk_scrolled_window_set_overlay_scrolling
gtk_scrolled_window_get_min_content_width
gtk_scrolled_window_set_min_content_width
gtk_scrolled_window_get_min_content_height
gtk_scrolled_window_set_min_content_height
gtk_scrolled_window_get_max_content_width
gtk_scrolled_window_set_max_content_width
gtk_scrolled_window_get_max_content_height
gtk_scrolled_window_set_max_content_height
gtk_scrolled_window_get_propagate_natural_width
gtk_scrolled_window_set_propagate_natural_width
gtk_scrolled_window_get_propagate_natural_height
gtk_scrolled_window_set_propagate_natural_height
GTK_SCROLLED_WINDOW
GTK_IS_SCROLLED_WINDOW
GTK_TYPE_SCROLLED_WINDOW
GTK_SCROLLED_WINDOW_CLASS
GTK_IS_SCROLLED_WINDOW_CLASS
GTK_SCROLLED_WINDOW_GET_CLASS
gtk_scrolled_window_get_type
GtkScrolledWindowPrivate
gtksearchbar
GtkSearchBar
GtkSearchBar
gtk_search_bar_new
gtk_search_bar_connect_entry
gtk_search_bar_get_search_mode
gtk_search_bar_set_search_mode
gtk_search_bar_get_show_close_button
gtk_search_bar_set_show_close_button
gtk_search_bar_set_key_capture_widget
gtk_search_bar_get_key_capture_widget
GTK_TYPE_SEARCH_BAR
GTK_SEARCH_BAR
GTK_SEARCH_BAR_CLASS
GTK_IS_SEARCH_BAR
GTK_IS_SEARCH_BAR_CLASS
GTK_SEARCH_BAR_GET_CLASS
gtk_search_bar_get_type
gtksearchentry
GtkSearchEntry
GtkSearchEntry
gtk_search_entry_new
gtk_search_entry_set_key_capture_widget
gtk_search_entry_get_key_capture_widget
GTK_TYPE_SEARCH_ENTRY
GTK_SEARCH_ENTRY
GTK_SEARCH_ENTRY_CLASS
GTK_IS_SEARCH_ENTRY
GTK_IS_SEARCH_ENTRY_CLASS
GTK_SEARCH_ENTRY_GET_CLASS
gtk_search_entry_get_type
gtkseparator
GtkSeparator
GtkSeparator
gtk_separator_new
GTK_SEPARATOR
GTK_IS_SEPARATOR
GTK_TYPE_SEPARATOR
GTK_SEPARATOR_CLASS
GTK_IS_SEPARATOR_CLASS
GTK_SEPARATOR_GET_CLASS
gtk_separator_get_type
GtkSeparatorPrivate
gtksettings
GtkSettings
GtkSettings
GtkSettingsValue
gtk_settings_get_default
gtk_settings_get_for_display
gtk_settings_reset_property
GtkSettingsClass
GTK_IS_SETTINGS
GTK_IS_SETTINGS_CLASS
GTK_SETTINGS
GTK_SETTINGS_CLASS
GTK_SETTINGS_GET_CLASS
GTK_TYPE_SETTINGS
GtkSettingsPrivate
gtk_settings_get_type
GtkSettingsPropertyValue
gtksizegroup
GtkSizeGroup
GtkSizeGroup
GtkSizeGroupMode
gtk_size_group_new
gtk_size_group_set_mode
gtk_size_group_get_mode
gtk_size_group_add_widget
gtk_size_group_remove_widget
gtk_size_group_get_widgets
GTK_SIZE_GROUP
GTK_IS_SIZE_GROUP
GTK_TYPE_SIZE_GROUP
GTK_SIZE_GROUP_CLASS
GTK_IS_SIZE_GROUP_CLASS
GTK_SIZE_GROUP_GET_CLASS
GtkSizeGroupPrivate
gtk_size_group_get_type
gtkslicelistmodel
GtkSliceListModel
GtkSliceListModel
gtk_slice_list_model_new
gtk_slice_list_model_new_for_type
gtk_slice_list_model_set_model
gtk_slice_list_model_get_model
gtk_slice_list_model_set_offset
gtk_slice_list_model_get_offset
gtk_slice_list_model_set_size
gtk_slice_list_model_get_size
GTK_SLICE_LIST_MODEL
GTK_IS_SLICE_LIST_MODEL
GTK_TYPE_SLICE_LIST_MODEL
GTK_SLICE_LIST_MODEL_CLASS
GTK_IS_SLICE_LIST_MODEL_CLASS
GTK_SLICE_LIST_MODEL_GET_CLASS
gtk_slice_list_model_get_type
gtksortlistmodel
GtkSortListModel
GtkSortListModel
gtk_sort_list_model_new
gtk_sort_list_model_new_for_type
gtk_sort_list_model_set_sort_func
gtk_sort_list_model_has_sort
gtk_sort_list_model_set_model
gtk_sort_list_model_get_model
gtk_sort_list_model_resort
GTK_SORT_LIST_MODEL
GTK_IS_SORT_LIST_MODEL
GTK_TYPE_SORT_LIST_MODEL
GTK_SORT_LIST_MODEL_CLASS
GTK_IS_SORT_LIST_MODEL_CLASS
GTK_SORT_LIST_MODEL_GET_CLASS
gtk_sort_list_model_get_type
gtkspinbutton
GtkSpinButton
GtkSpinButton
GtkSpinButtonUpdatePolicy
GtkSpinType
gtk_spin_button_configure
gtk_spin_button_new
gtk_spin_button_new_with_range
gtk_spin_button_set_adjustment
gtk_spin_button_get_adjustment
gtk_spin_button_set_digits
gtk_spin_button_set_increments
gtk_spin_button_set_range
gtk_spin_button_get_value_as_int
gtk_spin_button_set_value
gtk_spin_button_set_update_policy
gtk_spin_button_set_numeric
gtk_spin_button_spin
gtk_spin_button_set_wrap
gtk_spin_button_set_snap_to_ticks
gtk_spin_button_update
gtk_spin_button_get_digits
gtk_spin_button_get_increments
gtk_spin_button_get_numeric
gtk_spin_button_get_range
gtk_spin_button_get_snap_to_ticks
gtk_spin_button_get_update_policy
gtk_spin_button_get_value
gtk_spin_button_get_wrap
GTK_INPUT_ERROR
GTK_SPIN_BUTTON
GTK_IS_SPIN_BUTTON
GTK_TYPE_SPIN_BUTTON
GTK_SPIN_BUTTON_CLASS
GTK_IS_SPIN_BUTTON_CLASS
GTK_SPIN_BUTTON_GET_CLASS
GtkSpinButtonPrivate
gtk_spin_button_get_type
gtkspinner
GtkSpinner
GtkSpinner
gtk_spinner_new
gtk_spinner_start
gtk_spinner_stop
GTK_SPINNER
GTK_IS_SPINNER
GTK_TYPE_SPINNER
GTK_SPINNER_CLASS
GTK_IS_SPINNER_CLASS
GTK_SPINNER_GET_CLASS
GtkSpinnerPrivate
gtk_spinner_get_type
gtkstatusbar
GtkStatusbar
GtkStatusbar
gtk_statusbar_new
gtk_statusbar_get_context_id
gtk_statusbar_push
gtk_statusbar_pop
gtk_statusbar_remove
gtk_statusbar_remove_all
gtk_statusbar_get_message_area
GTK_STATUSBAR
GTK_IS_STATUSBAR
GTK_TYPE_STATUSBAR
GTK_STATUSBAR_CLASS
GTK_IS_STATUSBAR_CLASS
GTK_STATUSBAR_GET_CLASS
GtkStatusbarPrivate
gtk_statusbar_get_type
gtklevelbar
GtkLevelBar
GTK_LEVEL_BAR_OFFSET_LOW
GTK_LEVEL_BAR_OFFSET_HIGH
GTK_LEVEL_BAR_OFFSET_FULL
GtkLevelBarMode
GtkLevelBar
gtk_level_bar_new
gtk_level_bar_new_for_interval
gtk_level_bar_set_mode
gtk_level_bar_get_mode
gtk_level_bar_set_value
gtk_level_bar_get_value
gtk_level_bar_set_min_value
gtk_level_bar_get_min_value
gtk_level_bar_set_max_value
gtk_level_bar_get_max_value
gtk_level_bar_set_inverted
gtk_level_bar_get_inverted
gtk_level_bar_add_offset_value
gtk_level_bar_remove_offset_value
gtk_level_bar_get_offset_value
GTK_LEVEL_BAR
GTK_IS_LEVEL_BAR
GTK_TYPE_LEVEL_BAR
GTK_LEVEL_BAR_CLASS
GTK_IS_LEVEL_BAR_CLASS
GTK_LEVEL_BAR_GET_CLASS
GtkLevelBarPrivate
gtk_level_bar_get_type
gtktextbuffer
GtkTextBuffer
GtkTextBuffer
GtkTextBufferClass
gtk_text_buffer_new
gtk_text_buffer_get_line_count
gtk_text_buffer_get_char_count
gtk_text_buffer_get_tag_table
gtk_text_buffer_insert
gtk_text_buffer_insert_at_cursor
gtk_text_buffer_insert_interactive
gtk_text_buffer_insert_interactive_at_cursor
gtk_text_buffer_insert_range
gtk_text_buffer_insert_range_interactive
gtk_text_buffer_insert_with_tags
gtk_text_buffer_insert_with_tags_by_name
gtk_text_buffer_insert_markup
gtk_text_buffer_delete
gtk_text_buffer_delete_interactive
gtk_text_buffer_backspace
gtk_text_buffer_set_text
gtk_text_buffer_get_text
gtk_text_buffer_get_slice
gtk_text_buffer_insert_texture
gtk_text_buffer_insert_child_anchor
gtk_text_buffer_create_child_anchor
gtk_text_buffer_create_mark
gtk_text_buffer_move_mark
gtk_text_buffer_move_mark_by_name
gtk_text_buffer_add_mark
gtk_text_buffer_delete_mark
gtk_text_buffer_delete_mark_by_name
gtk_text_buffer_get_mark
gtk_text_buffer_get_insert
gtk_text_buffer_get_selection_bound
gtk_text_buffer_get_has_selection
gtk_text_buffer_place_cursor
gtk_text_buffer_select_range
gtk_text_buffer_apply_tag
gtk_text_buffer_remove_tag
gtk_text_buffer_apply_tag_by_name
gtk_text_buffer_remove_tag_by_name
gtk_text_buffer_remove_all_tags
gtk_text_buffer_create_tag
gtk_text_buffer_get_iter_at_line_offset
gtk_text_buffer_get_iter_at_offset
gtk_text_buffer_get_iter_at_line
gtk_text_buffer_get_iter_at_line_index
gtk_text_buffer_get_iter_at_mark
gtk_text_buffer_get_iter_at_child_anchor
gtk_text_buffer_get_start_iter
gtk_text_buffer_get_end_iter
gtk_text_buffer_get_bounds
gtk_text_buffer_get_modified
gtk_text_buffer_set_modified
gtk_text_buffer_delete_selection
gtk_text_buffer_paste_clipboard
gtk_text_buffer_copy_clipboard
gtk_text_buffer_cut_clipboard
gtk_text_buffer_get_selection_bounds
gtk_text_buffer_begin_user_action
gtk_text_buffer_end_user_action
gtk_text_buffer_add_selection_clipboard
gtk_text_buffer_remove_selection_clipboard
gtk_text_buffer_get_can_undo
gtk_text_buffer_get_can_redo
gtk_text_buffer_get_enable_undo
gtk_text_buffer_set_enable_undo
gtk_text_buffer_get_max_undo_levels
gtk_text_buffer_set_max_undo_levels
gtk_text_buffer_undo
gtk_text_buffer_redo
gtk_text_buffer_begin_irreversible_action
gtk_text_buffer_end_irreversible_action
gtk_text_buffer_begin_user_action
gtk_text_buffer_end_user_action
GTK_TEXT_BUFFER
GTK_IS_TEXT_BUFFER
GTK_TYPE_TEXT_BUFFER
GTK_TEXT_BUFFER_CLASS
GTK_IS_TEXT_BUFFER_CLASS
GTK_TEXT_BUFFER_GET_CLASS
gtk_text_buffer_get_type
GtkTextBufferPrivate
gtktextiter
GtkTextIter
GtkTextIter
gtk_text_iter_get_buffer
gtk_text_iter_copy
gtk_text_iter_assign
gtk_text_iter_free
gtk_text_iter_get_offset
gtk_text_iter_get_line
gtk_text_iter_get_line_offset
gtk_text_iter_get_line_index
gtk_text_iter_get_visible_line_index
gtk_text_iter_get_visible_line_offset
gtk_text_iter_get_char
gtk_text_iter_get_slice
gtk_text_iter_get_text
gtk_text_iter_get_visible_slice
gtk_text_iter_get_visible_text
gtk_text_iter_get_texture
gtk_text_iter_get_marks
gtk_text_iter_get_toggled_tags
gtk_text_iter_get_child_anchor
gtk_text_iter_starts_tag
gtk_text_iter_ends_tag
gtk_text_iter_toggles_tag
gtk_text_iter_has_tag
gtk_text_iter_get_tags
gtk_text_iter_editable
gtk_text_iter_can_insert
gtk_text_iter_starts_word
gtk_text_iter_ends_word
gtk_text_iter_inside_word
gtk_text_iter_starts_line
gtk_text_iter_ends_line
gtk_text_iter_starts_sentence
gtk_text_iter_ends_sentence
gtk_text_iter_inside_sentence
gtk_text_iter_is_cursor_position
gtk_text_iter_get_chars_in_line
gtk_text_iter_get_bytes_in_line
gtk_text_iter_get_language
gtk_text_iter_is_end
gtk_text_iter_is_start
gtk_text_iter_forward_char
gtk_text_iter_backward_char
gtk_text_iter_forward_chars
gtk_text_iter_backward_chars
gtk_text_iter_forward_line
gtk_text_iter_backward_line
gtk_text_iter_forward_lines
gtk_text_iter_backward_lines
gtk_text_iter_forward_word_ends
gtk_text_iter_backward_word_starts
gtk_text_iter_forward_word_end
gtk_text_iter_backward_word_start
gtk_text_iter_forward_cursor_position
gtk_text_iter_backward_cursor_position
gtk_text_iter_forward_cursor_positions
gtk_text_iter_backward_cursor_positions
gtk_text_iter_backward_sentence_start
gtk_text_iter_backward_sentence_starts
gtk_text_iter_forward_sentence_end
gtk_text_iter_forward_sentence_ends
gtk_text_iter_forward_visible_word_ends
gtk_text_iter_backward_visible_word_starts
gtk_text_iter_forward_visible_word_end
gtk_text_iter_backward_visible_word_start
gtk_text_iter_forward_visible_cursor_position
gtk_text_iter_backward_visible_cursor_position
gtk_text_iter_forward_visible_cursor_positions
gtk_text_iter_backward_visible_cursor_positions
gtk_text_iter_forward_visible_line
gtk_text_iter_backward_visible_line
gtk_text_iter_forward_visible_lines
gtk_text_iter_backward_visible_lines
gtk_text_iter_set_offset
gtk_text_iter_set_line
gtk_text_iter_set_line_offset
gtk_text_iter_set_line_index
gtk_text_iter_set_visible_line_index
gtk_text_iter_set_visible_line_offset
gtk_text_iter_forward_to_end
gtk_text_iter_forward_to_line_end
gtk_text_iter_forward_to_tag_toggle
gtk_text_iter_backward_to_tag_toggle
GtkTextCharPredicate
gtk_text_iter_forward_find_char
gtk_text_iter_backward_find_char
GtkTextSearchFlags
gtk_text_iter_forward_search
gtk_text_iter_backward_search
gtk_text_iter_equal
gtk_text_iter_compare
gtk_text_iter_in_range
gtk_text_iter_order
GTK_TYPE_TEXT_ITER
gtk_text_iter_get_type
gtktextmark
GtkTextMark
GtkTextMark
gtk_text_mark_new
gtk_text_mark_set_visible
gtk_text_mark_get_visible
gtk_text_mark_get_deleted
gtk_text_mark_get_name
gtk_text_mark_get_buffer
gtk_text_mark_get_left_gravity
GTK_TEXT_MARK
GTK_IS_TEXT_MARK
GTK_TYPE_TEXT_MARK
GTK_TEXT_MARK_CLASS
GTK_IS_TEXT_MARK_CLASS
GTK_TEXT_MARK_GET_CLASS
gtk_text_mark_get_type
gtktexttag
GtkTextTag
GtkTextTag
gtk_text_tag_new
gtk_text_tag_get_priority
gtk_text_tag_set_priority
gtk_text_tag_changed
GTK_TEXT_TAG
GTK_IS_TEXT_TAG
GTK_TYPE_TEXT_TAG
GTK_TEXT_TAG_CLASS
GTK_IS_TEXT_TAG_CLASS
GTK_TEXT_TAG_GET_CLASS
GtkTextTagPrivate
gtk_text_tag_get_type
gtktexttagtable
GtkTextTagTable
GtkTextTagTable
GtkTextTagTableForeach
gtk_text_tag_table_new
gtk_text_tag_table_add
gtk_text_tag_table_remove
gtk_text_tag_table_lookup
gtk_text_tag_table_foreach
gtk_text_tag_table_get_size
GTK_TEXT_TAG_TABLE
GTK_IS_TEXT_TAG_TABLE
GTK_TYPE_TEXT_TAG_TABLE
GTK_TEXT_TAG_TABLE_CLASS
GTK_IS_TEXT_TAG_TABLE_CLASS
GTK_TEXT_TAG_TABLE_GET_CLASS
GtkTextTagTablePrivate
gtk_text_tag_table_get_type
gtktextview
GtkTextView
GtkTextView
GtkTextViewClass
GtkTextViewLayer
GtkTextWindowType
GtkTextExtendSelection
GtkWrapMode
gtk_text_view_new
gtk_text_view_new_with_buffer
gtk_text_view_set_buffer
gtk_text_view_get_buffer
gtk_text_view_scroll_to_mark
gtk_text_view_scroll_to_iter
gtk_text_view_scroll_mark_onscreen
gtk_text_view_move_mark_onscreen
gtk_text_view_place_cursor_onscreen
gtk_text_view_get_visible_rect
gtk_text_view_get_iter_location
gtk_text_view_get_cursor_locations
gtk_text_view_get_line_at_y
gtk_text_view_get_line_yrange
gtk_text_view_get_iter_at_location
gtk_text_view_get_iter_at_position
gtk_text_view_buffer_to_window_coords
gtk_text_view_window_to_buffer_coords
gtk_text_view_forward_display_line
gtk_text_view_backward_display_line
gtk_text_view_forward_display_line_end
gtk_text_view_backward_display_line_start
gtk_text_view_starts_display_line
gtk_text_view_move_visually
gtk_text_view_add_child_at_anchor
GtkTextChildAnchor
gtk_text_child_anchor_new
gtk_text_child_anchor_get_widgets
gtk_text_child_anchor_get_deleted
gtk_text_view_get_gutter
gtk_text_view_set_gutter
gtk_text_view_add_overlay
gtk_text_view_move_overlay
gtk_text_view_set_wrap_mode
gtk_text_view_get_wrap_mode
gtk_text_view_set_editable
gtk_text_view_get_editable
gtk_text_view_set_cursor_visible
gtk_text_view_get_cursor_visible
gtk_text_view_reset_cursor_blink
gtk_text_view_set_overwrite
gtk_text_view_get_overwrite
gtk_text_view_set_pixels_above_lines
gtk_text_view_get_pixels_above_lines
gtk_text_view_set_pixels_below_lines
gtk_text_view_get_pixels_below_lines
gtk_text_view_set_pixels_inside_wrap
gtk_text_view_get_pixels_inside_wrap
gtk_text_view_set_justification
gtk_text_view_get_justification
gtk_text_view_set_left_margin
gtk_text_view_get_left_margin
gtk_text_view_set_right_margin
gtk_text_view_get_right_margin
gtk_text_view_set_top_margin
gtk_text_view_get_top_margin
gtk_text_view_set_bottom_margin
gtk_text_view_get_bottom_margin
gtk_text_view_set_indent
gtk_text_view_get_indent
gtk_text_view_set_tabs
gtk_text_view_get_tabs
gtk_text_view_set_accepts_tab
gtk_text_view_get_accepts_tab
gtk_text_view_im_context_filter_keypress
gtk_text_view_reset_im_context
gtk_text_view_set_input_purpose
gtk_text_view_get_input_purpose
gtk_text_view_set_input_hints
gtk_text_view_get_input_hints
gtk_text_view_set_monospace
gtk_text_view_get_monospace
gtk_text_view_set_extra_menu
gtk_text_view_get_extra_menu
GTK_TEXT_VIEW_PRIORITY_VALIDATE
GTK_TEXT_VIEW
GTK_IS_TEXT_VIEW
GTK_TYPE_TEXT_VIEW
GTK_TEXT_VIEW_CLASS
GTK_IS_TEXT_VIEW_CLASS
GTK_TEXT_VIEW_GET_CLASS
GtkTextChildAnchorClass
GTK_TEXT_CHILD_ANCHOR
GTK_IS_TEXT_CHILD_ANCHOR
GTK_TYPE_TEXT_CHILD_ANCHOR
GTK_TEXT_CHILD_ANCHOR_CLASS
GTK_IS_TEXT_CHILD_ANCHOR_CLASS
GTK_TEXT_CHILD_ANCHOR_GET_CLASS
GtkTextViewPrivate
gtk_text_view_get_type
gtk_text_child_anchor_get_type
GtkTextBTree
gtktogglebutton
GtkToggleButton
GtkToggleButton
gtk_toggle_button_new
gtk_toggle_button_new_with_label
gtk_toggle_button_new_with_mnemonic
gtk_toggle_button_toggled
gtk_toggle_button_get_active
gtk_toggle_button_set_active
GTK_TOGGLE_BUTTON
GTK_IS_TOGGLE_BUTTON
GTK_TYPE_TOGGLE_BUTTON
GTK_TOGGLE_BUTTON_CLASS
GTK_IS_TOGGLE_BUTTON_CLASS
GTK_TOGGLE_BUTTON_GET_CLASS
gtk_toggle_button_get_type
GtkToggleButtonPrivate
gtktooltip
GtkTooltip
GtkTooltip
gtk_tooltip_set_markup
gtk_tooltip_set_text
gtk_tooltip_set_icon
gtk_tooltip_set_icon_from_icon_name
gtk_tooltip_set_icon_from_gicon
gtk_tooltip_set_custom
gtk_tooltip_set_tip_area
GTK_TYPE_TOOLTIP
GTK_IS_TOOLTIP
GTK_TOOLTIP
gtk_tooltip_get_type
gtktreelistrow
GtkTreeListRow
gtk_tree_list_row_get_item
gtk_tree_list_row_set_expanded
gtk_tree_list_row_get_expanded
gtk_tree_list_row_is_expandable
gtk_tree_list_row_get_position
gtk_tree_list_row_get_depth
gtk_tree_list_row_get_children
gtk_tree_list_row_get_parent
gtk_tree_list_row_get_child_row
GTK_TREE_LIST_ROW
GTK_IS_TREE_LIST_ROW
GTK_TYPE_TREE_LIST_ROW
GTK_TREE_LIST_ROW_CLASS
GTK_IS_TREE_LIST_ROW_CLASS
GTK_TREE_LIST_ROW_GET_CLASS
gtk_tree_list_row_get_type
gtktreelistmodel
GtkTreeListModel
GtkTreeListModel
GtkTreeListRow
GtkTreeListModelCreateModelFunc
gtk_tree_list_model_new
gtk_tree_list_model_get_model
gtk_tree_list_model_get_passthrough
gtk_tree_list_model_set_autoexpand
gtk_tree_list_model_get_autoexpand
gtk_tree_list_model_get_child_row
gtk_tree_list_model_get_row
GTK_TREE_LIST_MODEL
GTK_IS_TREE_LIST_MODEL
GTK_TYPE_TREE_LIST_MODEL
GTK_TREE_LIST_MODEL_CLASS
GTK_IS_TREE_LIST_MODEL_CLASS
GTK_TREE_LIST_MODEL_GET_CLASS
gtk_tree_list_row_get_type
gtktreemodel
GtkTreeModel
GtkTreeModel
GtkTreeIter
GtkTreePath
GtkTreeRowReference
GtkTreeModelIface
GtkTreeModelForeachFunc
GtkTreeModelFlags
gtk_tree_path_new
gtk_tree_path_new_from_string
gtk_tree_path_new_from_indices
gtk_tree_path_new_from_indicesv
gtk_tree_path_to_string
gtk_tree_path_new_first
gtk_tree_path_append_index
gtk_tree_path_prepend_index
gtk_tree_path_get_depth
gtk_tree_path_get_indices
gtk_tree_path_get_indices_with_depth
gtk_tree_path_free
gtk_tree_path_copy
gtk_tree_path_compare
gtk_tree_path_next
gtk_tree_path_prev
gtk_tree_path_up
gtk_tree_path_down
gtk_tree_path_is_ancestor
gtk_tree_path_is_descendant
gtk_tree_row_reference_new
gtk_tree_row_reference_new_proxy
gtk_tree_row_reference_get_model
gtk_tree_row_reference_get_path
gtk_tree_row_reference_valid
gtk_tree_row_reference_free
gtk_tree_row_reference_copy
gtk_tree_row_reference_inserted
gtk_tree_row_reference_deleted
gtk_tree_row_reference_reordered
gtk_tree_iter_copy
gtk_tree_iter_free
gtk_tree_model_get_flags
gtk_tree_model_get_n_columns
gtk_tree_model_get_column_type
gtk_tree_model_get_iter
gtk_tree_model_get_iter_from_string
gtk_tree_model_get_iter_first
gtk_tree_model_get_path
gtk_tree_model_get_value
gtk_tree_model_iter_next
gtk_tree_model_iter_previous
gtk_tree_model_iter_children
gtk_tree_model_iter_has_child
gtk_tree_model_iter_n_children
gtk_tree_model_iter_nth_child
gtk_tree_model_iter_parent
gtk_tree_model_get_string_from_iter
gtk_tree_model_ref_node
gtk_tree_model_unref_node
gtk_tree_model_get
gtk_tree_model_get_valist
gtk_tree_model_foreach
gtk_tree_model_row_changed
gtk_tree_model_row_inserted
gtk_tree_model_row_has_child_toggled
gtk_tree_model_row_deleted
gtk_tree_model_rows_reordered
gtk_tree_model_rows_reordered_with_length
GTK_TREE_MODEL
GTK_IS_TREE_MODEL
GTK_TYPE_TREE_MODEL
GTK_TREE_MODEL_GET_IFACE
GTK_TYPE_TREE_ITER
GTK_TYPE_TREE_PATH
GTK_TYPE_TREE_ROW_REFERENCE
gtk_tree_row_reference_get_type
gtk_tree_model_get_type
gtk_tree_iter_get_type
gtk_tree_path_get_type
gtktreemodelsort
GtkTreeModelSort
GtkTreeModelSort
gtk_tree_model_sort_new_with_model
gtk_tree_model_sort_get_model
gtk_tree_model_sort_convert_child_path_to_path
gtk_tree_model_sort_convert_child_iter_to_iter
gtk_tree_model_sort_convert_path_to_child_path
gtk_tree_model_sort_convert_iter_to_child_iter
gtk_tree_model_sort_reset_default_sort_func
gtk_tree_model_sort_clear_cache
gtk_tree_model_sort_iter_is_valid
GTK_TREE_MODEL_SORT
GTK_IS_TREE_MODEL_SORT
GTK_TYPE_TREE_MODEL_SORT
GTK_TREE_MODEL_SORT_CLASS
GTK_IS_TREE_MODEL_SORT_CLASS
GTK_TREE_MODEL_SORT_GET_CLASS
GtkTreeModelSortPrivate
gtk_tree_model_sort_get_type
gtktreemodelfilter
GtkTreeModelFilter
GtkTreeModelFilter
GtkTreeModelFilterVisibleFunc
GtkTreeModelFilterModifyFunc
gtk_tree_model_filter_new
gtk_tree_model_filter_set_visible_func
gtk_tree_model_filter_set_modify_func
gtk_tree_model_filter_set_visible_column
gtk_tree_model_filter_get_model
gtk_tree_model_filter_convert_child_iter_to_iter
gtk_tree_model_filter_convert_iter_to_child_iter
gtk_tree_model_filter_convert_child_path_to_path
gtk_tree_model_filter_convert_path_to_child_path
gtk_tree_model_filter_refilter
gtk_tree_model_filter_clear_cache
GTK_TYPE_TREE_MODEL_FILTER
GTK_TREE_MODEL_FILTER
GTK_TREE_MODEL_FILTER_CLASS
GTK_IS_TREE_MODEL_FILTER
GTK_IS_TREE_MODEL_FILTER_CLASS
GTK_TREE_MODEL_FILTER_GET_CLASS
GtkTreeModelFilterPrivate
gtk_tree_model_filter_get_type
gtktreeselection
GtkTreeSelection
GtkTreeSelection
GtkTreeSelectionFunc
GtkTreeSelectionForeachFunc
gtk_tree_selection_set_mode
gtk_tree_selection_get_mode
gtk_tree_selection_set_select_function
gtk_tree_selection_get_select_function
gtk_tree_selection_get_user_data
gtk_tree_selection_get_tree_view
gtk_tree_selection_get_selected
gtk_tree_selection_selected_foreach
gtk_tree_selection_get_selected_rows
gtk_tree_selection_count_selected_rows
gtk_tree_selection_select_path
gtk_tree_selection_unselect_path
gtk_tree_selection_path_is_selected
gtk_tree_selection_select_iter
gtk_tree_selection_unselect_iter
gtk_tree_selection_iter_is_selected
gtk_tree_selection_select_all
gtk_tree_selection_unselect_all
gtk_tree_selection_select_range
gtk_tree_selection_unselect_range
GTK_TREE_SELECTION
GTK_IS_TREE_SELECTION
GTK_TYPE_TREE_SELECTION
GTK_TREE_SELECTION_CLASS
GTK_TREE_SELECTION_GET_CLASS
GTK_IS_TREE_SELECTION_CLASS
GtkTreeSelectionPrivate
gtk_tree_selection_get_type
gtktreesortable
GtkTreeSortable
GtkTreeSortable
GtkTreeSortableIface
GtkTreeIterCompareFunc
GTK_TREE_SORTABLE_DEFAULT_SORT_COLUMN_ID
GTK_TREE_SORTABLE_UNSORTED_SORT_COLUMN_ID
gtk_tree_sortable_sort_column_changed
gtk_tree_sortable_get_sort_column_id
gtk_tree_sortable_set_sort_column_id
gtk_tree_sortable_set_sort_func
gtk_tree_sortable_set_default_sort_func
gtk_tree_sortable_has_default_sort_func
GTK_TREE_SORTABLE
GTK_IS_TREE_SORTABLE
GTK_TYPE_TREE_SORTABLE
GTK_TREE_SORTABLE_CLASS
GTK_TREE_SORTABLE_GET_IFACE
gtk_tree_sortable_get_type
gtktreednd
GtkTreeView drag-and-drop
GtkTreeDragSource
GtkTreeDragSourceIface
gtk_tree_drag_source_drag_data_delete
gtk_tree_drag_source_drag_data_get
gtk_tree_drag_source_row_draggable
GtkTreeDragDest
GtkTreeDragDestIface
gtk_tree_drag_dest_drag_data_received
gtk_tree_drag_dest_row_drop_possible
gtk_tree_set_row_drag_data
gtk_tree_get_row_drag_data
GTK_TYPE_TREE_DRAG_DEST
GTK_TREE_DRAG_DEST
GTK_IS_TREE_DRAG_DEST
GTK_TREE_DRAG_DEST_GET_IFACE
GTK_TREE_DRAG_SOURCE
GTK_IS_TREE_DRAG_SOURCE
GTK_TYPE_TREE_DRAG_SOURCE
GTK_TREE_DRAG_SOURCE_GET_IFACE
gtk_tree_drag_source_get_type
gtk_tree_drag_dest_get_type
gtktreestore
GtkTreeStore
GtkTreeStore
gtk_tree_store_new
gtk_tree_store_newv
gtk_tree_store_set_column_types
gtk_tree_store_set_value
gtk_tree_store_set
gtk_tree_store_set_valist
gtk_tree_store_set_valuesv
gtk_tree_store_remove
gtk_tree_store_insert
gtk_tree_store_insert_before
gtk_tree_store_insert_after
gtk_tree_store_insert_with_values
gtk_tree_store_insert_with_valuesv
gtk_tree_store_prepend
gtk_tree_store_append
gtk_tree_store_is_ancestor
gtk_tree_store_iter_depth
gtk_tree_store_clear
gtk_tree_store_iter_is_valid
gtk_tree_store_reorder
gtk_tree_store_swap
gtk_tree_store_move_before
gtk_tree_store_move_after
GTK_TREE_STORE
GTK_IS_TREE_STORE
GTK_TYPE_TREE_STORE
GTK_TREE_STORE_CLASS
GTK_IS_TREE_STORE_CLASS
GTK_TREE_STORE_GET_CLASS
GtkTreeStorePrivate
gtk_tree_store_get_type
gtktreeviewcolumn
GtkTreeViewColumn
GtkTreeViewColumnSizing
GtkTreeCellDataFunc
GtkTreeViewColumn
gtk_tree_view_column_new
gtk_tree_view_column_new_with_area
gtk_tree_view_column_new_with_attributes
gtk_tree_view_column_pack_start
gtk_tree_view_column_pack_end
gtk_tree_view_column_clear
gtk_tree_view_column_add_attribute
gtk_tree_view_column_set_attributes
gtk_tree_view_column_set_cell_data_func
gtk_tree_view_column_clear_attributes
gtk_tree_view_column_set_spacing
gtk_tree_view_column_get_spacing
gtk_tree_view_column_set_visible
gtk_tree_view_column_get_visible
gtk_tree_view_column_set_resizable
gtk_tree_view_column_get_resizable
gtk_tree_view_column_set_sizing
gtk_tree_view_column_get_sizing
gtk_tree_view_column_get_width
gtk_tree_view_column_get_fixed_width
gtk_tree_view_column_set_fixed_width
gtk_tree_view_column_set_min_width
gtk_tree_view_column_get_min_width
gtk_tree_view_column_set_max_width
gtk_tree_view_column_get_max_width
gtk_tree_view_column_clicked
gtk_tree_view_column_set_title
gtk_tree_view_column_get_title
gtk_tree_view_column_set_expand
gtk_tree_view_column_get_expand
gtk_tree_view_column_set_clickable
gtk_tree_view_column_get_clickable
gtk_tree_view_column_set_widget
gtk_tree_view_column_get_widget
gtk_tree_view_column_get_button
gtk_tree_view_column_set_alignment
gtk_tree_view_column_get_alignment
gtk_tree_view_column_set_reorderable
gtk_tree_view_column_get_reorderable
gtk_tree_view_column_set_sort_column_id
gtk_tree_view_column_get_sort_column_id
gtk_tree_view_column_set_sort_indicator
gtk_tree_view_column_get_sort_indicator
gtk_tree_view_column_set_sort_order
gtk_tree_view_column_get_sort_order
gtk_tree_view_column_cell_set_cell_data
gtk_tree_view_column_cell_get_size
gtk_tree_view_column_cell_get_position
gtk_tree_view_column_cell_is_visible
gtk_tree_view_column_focus_cell
gtk_tree_view_column_queue_resize
gtk_tree_view_column_get_tree_view
gtk_tree_view_column_get_x_offset
GTK_TREE_VIEW_COLUMN
GTK_IS_TREE_VIEW_COLUMN
GTK_TYPE_TREE_VIEW_COLUMN
GTK_TREE_VIEW_COLUMN_CLASS
GTK_IS_TREE_VIEW_COLUMN_CLASS
GTK_TREE_VIEW_COLUMN_GET_CLASS
GtkTreeViewColumnPrivate
gtk_tree_view_column_get_type
gtktreeview
GtkTreeView
GtkTreeView
GtkTreeViewDropPosition
GtkTreeViewColumnDropFunc
GtkTreeViewMappingFunc
GtkTreeViewSearchEqualFunc
gtk_tree_view_new
gtk_tree_view_get_level_indentation
gtk_tree_view_get_show_expanders
gtk_tree_view_set_level_indentation
gtk_tree_view_set_show_expanders
gtk_tree_view_new_with_model
gtk_tree_view_get_model
gtk_tree_view_set_model
gtk_tree_view_get_selection
gtk_tree_view_get_headers_visible
gtk_tree_view_set_headers_visible
gtk_tree_view_columns_autosize
gtk_tree_view_get_headers_clickable
gtk_tree_view_set_headers_clickable
gtk_tree_view_set_activate_on_single_click
gtk_tree_view_get_activate_on_single_click
gtk_tree_view_append_column
gtk_tree_view_remove_column
gtk_tree_view_insert_column
gtk_tree_view_insert_column_with_attributes
gtk_tree_view_insert_column_with_data_func
gtk_tree_view_get_n_columns
gtk_tree_view_get_column
gtk_tree_view_get_columns
gtk_tree_view_move_column_after
gtk_tree_view_set_expander_column
gtk_tree_view_get_expander_column
gtk_tree_view_set_column_drag_function
gtk_tree_view_scroll_to_point
gtk_tree_view_scroll_to_cell
gtk_tree_view_set_cursor
gtk_tree_view_set_cursor_on_cell
gtk_tree_view_get_cursor
gtk_tree_view_row_activated
gtk_tree_view_expand_all
gtk_tree_view_collapse_all
gtk_tree_view_expand_to_path
gtk_tree_view_expand_row
gtk_tree_view_collapse_row
gtk_tree_view_map_expanded_rows
gtk_tree_view_row_expanded
gtk_tree_view_set_reorderable
gtk_tree_view_get_reorderable
gtk_tree_view_get_path_at_pos
gtk_tree_view_is_blank_at_pos
gtk_tree_view_get_cell_area
gtk_tree_view_get_background_area
gtk_tree_view_get_visible_rect
gtk_tree_view_get_visible_range
gtk_tree_view_convert_bin_window_to_tree_coords
gtk_tree_view_convert_bin_window_to_widget_coords
gtk_tree_view_convert_tree_to_bin_window_coords
gtk_tree_view_convert_tree_to_widget_coords
gtk_tree_view_convert_widget_to_bin_window_coords
gtk_tree_view_convert_widget_to_tree_coords
gtk_tree_view_enable_model_drag_dest
gtk_tree_view_enable_model_drag_source
gtk_tree_view_unset_rows_drag_source
gtk_tree_view_unset_rows_drag_dest
gtk_tree_view_set_drag_dest_row
gtk_tree_view_get_drag_dest_row
gtk_tree_view_get_dest_row_at_pos
gtk_tree_view_create_row_drag_icon
gtk_tree_view_set_enable_search
gtk_tree_view_get_enable_search
gtk_tree_view_get_search_column
gtk_tree_view_set_search_column
gtk_tree_view_get_search_equal_func
gtk_tree_view_set_search_equal_func
gtk_tree_view_get_search_entry
gtk_tree_view_set_search_entry
gtk_tree_view_get_fixed_height_mode
gtk_tree_view_set_fixed_height_mode
gtk_tree_view_get_hover_selection
gtk_tree_view_set_hover_selection
gtk_tree_view_get_hover_expand
gtk_tree_view_set_hover_expand
GtkTreeViewRowSeparatorFunc
gtk_tree_view_get_row_separator_func
gtk_tree_view_set_row_separator_func
gtk_tree_view_get_rubber_banding
gtk_tree_view_set_rubber_banding
gtk_tree_view_is_rubber_banding_active
gtk_tree_view_get_enable_tree_lines
gtk_tree_view_set_enable_tree_lines
GtkTreeViewGridLines
gtk_tree_view_get_grid_lines
gtk_tree_view_set_grid_lines
gtk_tree_view_set_tooltip_row
gtk_tree_view_set_tooltip_cell
gtk_tree_view_get_tooltip_context
gtk_tree_view_get_tooltip_column
gtk_tree_view_set_tooltip_column
GTK_TREE_VIEW
GTK_IS_TREE_VIEW
GTK_TYPE_TREE_VIEW
GTK_TREE_VIEW_CLASS
GTK_IS_TREE_VIEW_CLASS
GTK_TREE_VIEW_GET_CLASS
gtk_tree_view_get_type
gtkcellview
GtkCellView
GtkCellView
gtk_cell_view_new
gtk_cell_view_new_with_context
gtk_cell_view_new_with_text
gtk_cell_view_new_with_markup
gtk_cell_view_new_with_texture
gtk_cell_view_set_model
gtk_cell_view_get_model
gtk_cell_view_set_displayed_row
gtk_cell_view_get_displayed_row
gtk_cell_view_set_draw_sensitive
gtk_cell_view_get_draw_sensitive
gtk_cell_view_set_fit_model
gtk_cell_view_get_fit_model
GTK_TYPE_CELL_VIEW
GTK_CELL_VIEW
GTK_CELL_VIEW_CLASS
GTK_IS_CELL_VIEW
GTK_IS_CELL_VIEW_CLASS
GTK_CELL_VIEW_GET_CLASS
GtkCellViewPrivate
gtk_cell_view_get_type
gtkcelllayout
GtkCellLayout
GtkCellLayout
GtkCellLayoutIface
GtkCellLayoutDataFunc
gtk_cell_layout_pack_start
gtk_cell_layout_pack_end
gtk_cell_layout_get_area
gtk_cell_layout_get_cells
gtk_cell_layout_reorder
gtk_cell_layout_clear
gtk_cell_layout_set_attributes
gtk_cell_layout_add_attribute
gtk_cell_layout_set_cell_data_func
gtk_cell_layout_clear_attributes
GTK_TYPE_CELL_LAYOUT
GTK_CELL_LAYOUT
GTK_IS_CELL_LAYOUT
GTK_CELL_LAYOUT_GET_IFACE
gtk_cell_layout_get_type
gtkcellarea
GtkCellArea
GtkCellArea
GtkCellAreaClass
GtkCellCallback
GtkCellAllocCallback
GTK_CELL_AREA_WARN_INVALID_CELL_PROPERTY_ID
gtk_cell_area_add
gtk_cell_area_remove
gtk_cell_area_has_renderer
gtk_cell_area_foreach
gtk_cell_area_foreach_alloc
gtk_cell_area_event
gtk_cell_area_snapshot
gtk_cell_area_get_cell_allocation
gtk_cell_area_get_cell_at_position
gtk_cell_area_create_context
gtk_cell_area_copy_context
gtk_cell_area_get_request_mode
gtk_cell_area_get_preferred_width
gtk_cell_area_get_preferred_height_for_width
gtk_cell_area_get_preferred_height
gtk_cell_area_get_preferred_width_for_height
gtk_cell_area_get_current_path_string
gtk_cell_area_apply_attributes
gtk_cell_area_attribute_connect
gtk_cell_area_attribute_disconnect
gtk_cell_area_attribute_get_column
gtk_cell_area_class_install_cell_property
gtk_cell_area_class_find_cell_property
gtk_cell_area_class_list_cell_properties
gtk_cell_area_add_with_properties
gtk_cell_area_cell_set
gtk_cell_area_cell_get
gtk_cell_area_cell_set_valist
gtk_cell_area_cell_get_valist
gtk_cell_area_cell_set_property
gtk_cell_area_cell_get_property
gtk_cell_area_is_activatable
gtk_cell_area_activate
gtk_cell_area_focus
gtk_cell_area_set_focus_cell
gtk_cell_area_get_focus_cell
gtk_cell_area_add_focus_sibling
gtk_cell_area_remove_focus_sibling
gtk_cell_area_is_focus_sibling
gtk_cell_area_get_focus_siblings
gtk_cell_area_get_focus_from_sibling
gtk_cell_area_get_edited_cell
gtk_cell_area_get_edit_widget
gtk_cell_area_activate_cell
gtk_cell_area_stop_editing
gtk_cell_area_inner_cell_area
gtk_cell_area_request_renderer
GTK_CELL_AREA
GTK_IS_CELL_AREA
GTK_TYPE_CELL_AREA
gtk_cell_area_get_type
GTK_CELL_AREA_CLASS
GTK_IS_CELL_AREA_CLASS
GTK_CELL_AREA_GET_CLASS
GtkCellAreaPrivate
gtkcellareacontext
GtkCellAreaContext
GtkCellAreaContextClass
GtkCellAreaContext
gtk_cell_area_context_get_area
gtk_cell_area_context_allocate
gtk_cell_area_context_reset
gtk_cell_area_context_get_preferred_width
gtk_cell_area_context_get_preferred_height
gtk_cell_area_context_get_preferred_height_for_width
gtk_cell_area_context_get_preferred_width_for_height
gtk_cell_area_context_get_allocation
gtk_cell_area_context_push_preferred_width
gtk_cell_area_context_push_preferred_height
GTK_CELL_AREA_CONTEXT
GTK_IS_CELL_AREA_CONTEXT
GTK_TYPE_CELL_AREA_CONTEXT
gtk_cell_area_context_get_type
GTK_CELL_AREA_CONTEXT_CLASS
GTK_IS_CELL_AREA_CONTEXT_CLASS
GTK_CELL_AREA_CONTEXT_GET_CLASS
GtkCellAreaContextPrivate
gtkcellareabox
GtkCellAreaBox
GtkCellAreaBox
gtk_cell_area_box_new
gtk_cell_area_box_pack_start
gtk_cell_area_box_pack_end
gtk_cell_area_box_get_spacing
gtk_cell_area_box_set_spacing
GTK_CELL_AREA_BOX
GTK_IS_CELL_AREA_BOX
GTK_TYPE_CELL_AREA_BOX
GTK_CELL_AREA_BOX_CLASS
GTK_IS_CELL_AREA_BOX_CLASS
GTK_CELL_AREA_BOX_GET_CLASS
GTK_CELL_AREA_BOX_CONTEXT
GTK_CELL_AREA_BOX_CONTEXT_CLASS
GTK_CELL_AREA_BOX_CONTEXT_GET_CLASS
GTK_IS_CELL_AREA_BOX_CONTEXT
GTK_IS_CELL_AREA_BOX_CONTEXT_CLASS
gtk_cell_area_box_get_type
GtkCellAreaBoxPrivate
gtkcellrenderer
GtkCellRenderer
GtkCellRendererState
GtkCellRendererMode
GtkCellRenderer
GtkCellRendererClass
gtk_cell_renderer_class_set_accessible_type
gtk_cell_renderer_get_aligned_area
gtk_cell_renderer_snapshot
gtk_cell_renderer_activate
gtk_cell_renderer_start_editing
gtk_cell_renderer_stop_editing
gtk_cell_renderer_get_fixed_size
gtk_cell_renderer_set_fixed_size
gtk_cell_renderer_get_visible
gtk_cell_renderer_set_visible
gtk_cell_renderer_get_sensitive
gtk_cell_renderer_set_sensitive
gtk_cell_renderer_get_alignment
gtk_cell_renderer_set_alignment
gtk_cell_renderer_get_padding
gtk_cell_renderer_set_padding
gtk_cell_renderer_get_state
gtk_cell_renderer_is_activatable
gtk_cell_renderer_get_preferred_height
gtk_cell_renderer_get_preferred_height_for_width
gtk_cell_renderer_get_preferred_size
gtk_cell_renderer_get_preferred_width
gtk_cell_renderer_get_preferred_width_for_height
gtk_cell_renderer_get_request_mode
GTK_CELL_RENDERER
GTK_IS_CELL_RENDERER
GTK_TYPE_CELL_RENDERER
GTK_CELL_RENDERER_CLASS
GTK_IS_CELL_RENDERER_CLASS
GTK_CELL_RENDERER_GET_CLASS
GtkCellRendererPrivate
GtkCellRendererClassPrivate
gtk_cell_renderer_get_type
gtk_cell_renderer_mode_get_type
gtk_cell_renderer_state_get_type
gtkcelleditable
GtkCellEditable
GtkCellEditable
GtkCellEditableIface
gtk_cell_editable_start_editing
gtk_cell_editable_editing_done
gtk_cell_editable_remove_widget
GTK_CELL_EDITABLE
GTK_IS_CELL_EDITABLE
GTK_TYPE_CELL_EDITABLE
GTK_CELL_EDITABLE_CLASS
GTK_CELL_EDITABLE_GET_IFACE
gtk_cell_editable_get_type
gtkcellrenderercombo
GtkCellRendererCombo
GtkCellRendererCombo
gtk_cell_renderer_combo_new
GTK_TYPE_CELL_RENDERER_COMBO
GTK_CELL_RENDERER_COMBO
GTK_CELL_RENDERER_COMBO_CLASS
GTK_IS_CELL_RENDERER_COMBO
GTK_IS_CELL_RENDERER_COMBO_CLASS
GTK_CELL_RENDERER_COMBO_GET_CLASS
gtk_cell_renderer_combo_get_type
GtkCellRendererComboPrivate
gtkcellrendererspin
GtkCellRendererSpin
GtkCellRendererSpin
gtk_cell_renderer_spin_new
GTK_TYPE_CELL_RENDERER_SPIN
GTK_CELL_RENDERER_SPIN
GTK_CELL_RENDERER_SPIN_CLASS
GTK_IS_CELL_RENDERER_SPIN
GTK_IS_CELL_RENDERER_SPIN_CLASS
GTK_CELL_RENDERER_SPIN_GET_CLASS
GtkCellRendererSpinPrivate
gtk_cell_renderer_spin_get_type
gtkcellrendererspinner
GtkCellRendererSpinner
GtkCellRendererSpinner
gtk_cell_renderer_spinner_new
GTK_TYPE_CELL_RENDERER_SPINNER
GTK_CELL_RENDERER_SPINNER
GTK_CELL_RENDERER_SPINNER_CLASS
GTK_IS_CELL_RENDERER_SPINNER
GTK_IS_CELL_RENDERER_SPINNER_CLASS
GTK_CELL_RENDERER_SPINNER_GET_CLASS
GtkCellRendererSpinnerPrivate
gtk_cell_renderer_spinner_get_type
gtkcellrendererpixbuf
GtkCellRendererPixbuf
GtkCellRendererPixbuf
gtk_cell_renderer_pixbuf_new
GTK_CELL_RENDERER_PIXBUF
GTK_IS_CELL_RENDERER_PIXBUF
GTK_TYPE_CELL_RENDERER_PIXBUF
GTK_CELL_RENDERER_PIXBUF_CLASS
GTK_IS_CELL_RENDERER_PIXBUF_CLASS
GTK_CELL_RENDERER_PIXBUF_GET_CLASS
gtk_cell_renderer_pixbuf_get_type
GtkCellRendererPixbufPrivate
gtkcellrenderertext
GtkCellRendererText
GtkCellRendererText
gtk_cell_renderer_text_new
gtk_cell_renderer_text_set_fixed_height_from_font
GTK_CELL_RENDERER_TEXT
GTK_IS_CELL_RENDERER_TEXT
GTK_TYPE_CELL_RENDERER_TEXT
GTK_CELL_RENDERER_TEXT_CLASS
GTK_IS_CELL_RENDERER_TEXT_CLASS
GTK_CELL_RENDERER_TEXT_GET_CLASS
gtk_cell_renderer_text_get_type
GtkCellRendererTextPrivate
gtkcellrenderertoggle
GtkCellRendererToggle
GtkCellRendererToggle
gtk_cell_renderer_toggle_new
gtk_cell_renderer_toggle_get_radio
gtk_cell_renderer_toggle_set_radio
gtk_cell_renderer_toggle_get_active
gtk_cell_renderer_toggle_set_active
gtk_cell_renderer_toggle_get_activatable
gtk_cell_renderer_toggle_set_activatable
GTK_CELL_RENDERER_TOGGLE
GTK_IS_CELL_RENDERER_TOGGLE
GTK_TYPE_CELL_RENDERER_TOGGLE
GTK_CELL_RENDERER_TOGGLE_CLASS
GTK_IS_CELL_RENDERER_TOGGLE_CLASS
GTK_CELL_RENDERER_TOGGLE_GET_CLASS
gtk_cell_renderer_toggle_get_type
GtkCellRendererTogglePrivate
gtkcellrendererprogress
GtkCellRendererProgress
GtkCellRendererProgress
gtk_cell_renderer_progress_new
GTK_CELL_RENDERER_PROGRESS
GTK_IS_CELL_RENDERER_PROGRESS
GTK_TYPE_CELL_RENDERER_PROGRESS
GTK_CELL_RENDERER_PROGRESS_CLASS
GTK_IS_CELL_RENDERER_PROGRESS_CLASS
GTK_CELL_RENDERER_PROGRESS_GET_CLASS
gtk_cell_renderer_progress_get_type
GtkCellRendererProgressPrivate
gtkcellrendereraccel
GtkCellRendererAccel
GtkCellRendererAccel
GtkCellRendererAccelMode
gtk_cell_renderer_accel_new
GTK_TYPE_CELL_RENDERER_ACCEL
GTK_CELL_RENDERER_ACCEL
GTK_CELL_RENDERER_ACCEL_CLASS
GTK_IS_CELL_RENDERER_ACCEL
GTK_IS_CELL_RENDERER_ACCEL_CLASS
GTK_CELL_RENDERER_ACCEL_GET_CLASS
gtk_cell_renderer_accel_get_type
gtk_cell_renderer_accel_mode_get_type
GtkCellRendererAccelPrivate
gtkliststore
GtkListStore
GtkListStore
gtk_list_store_new
gtk_list_store_newv
gtk_list_store_set_column_types
gtk_list_store_set
gtk_list_store_set_valist
gtk_list_store_set_value
gtk_list_store_set_valuesv
gtk_list_store_remove
gtk_list_store_insert
gtk_list_store_insert_before
gtk_list_store_insert_after
gtk_list_store_insert_with_values
gtk_list_store_insert_with_valuesv
gtk_list_store_prepend
gtk_list_store_append
gtk_list_store_clear
gtk_list_store_iter_is_valid
gtk_list_store_reorder
gtk_list_store_swap
gtk_list_store_move_before
gtk_list_store_move_after
GTK_LIST_STORE
GTK_IS_LIST_STORE
GTK_TYPE_LIST_STORE
GTK_LIST_STORE_CLASS
GTK_IS_LIST_STORE_CLASS
GTK_LIST_STORE_GET_CLASS
GtkListStorePrivate
gtk_list_store_get_type
gtkviewport
GtkViewport
GtkViewport
gtk_viewport_new
gtk_viewport_set_shadow_type
gtk_viewport_get_shadow_type
GTK_VIEWPORT
GTK_IS_VIEWPORT
GTK_TYPE_VIEWPORT
GTK_VIEWPORT_CLASS
GTK_IS_VIEWPORT_CLASS
GTK_VIEWPORT_GET_CLASS
GtkViewportPrivate
gtk_viewport_get_type
gtkvolumebutton
GtkVolumeButton
GtkVolumeButton
gtk_volume_button_new
GTK_VOLUME_BUTTON
GTK_IS_VOLUME_BUTTON
GTK_TYPE_VOLUME_BUTTON
GTK_VOLUME_BUTTON_CLASS
GTK_IS_VOLUME_BUTTON_CLASS
GTK_VOLUME_BUTTON_GET_CLASS
gtk_volume_button_get_type
gtksnapshot
GtkSnapshot
GtkSnapshot
gtk_snapshot_new
gtk_snapshot_to_node
gtk_snapshot_to_paintable
gtk_snapshot_free_to_node
gtk_snapshot_free_to_paintable
gtk_snapshot_push_opacity
gtk_snapshot_push_color_matrix
gtk_snapshot_push_repeat
gtk_snapshot_push_clip
gtk_snapshot_push_rounded_clip
gtk_snapshot_push_cross_fade
gtk_snapshot_push_blend
gtk_snapshot_push_blur
gtk_snapshot_push_shadow
gtk_snapshot_push_debug
gtk_snapshot_pop
gtk_snapshot_save
gtk_snapshot_restore
gtk_snapshot_transform
gtk_snapshot_transform_matrix
gtk_snapshot_translate
gtk_snapshot_translate_3d
gtk_snapshot_rotate
gtk_snapshot_rotate_3d
gtk_snapshot_scale
gtk_snapshot_scale_3d
gtk_snapshot_perspective
gtk_snapshot_append_node
gtk_snapshot_append_cairo
gtk_snapshot_append_texture
gtk_snapshot_append_color
gtk_snapshot_append_layout
gtk_snapshot_append_linear_gradient
gtk_snapshot_append_repeating_linear_gradient
gtk_snapshot_append_border
gtk_snapshot_append_inset_shadow
gtk_snapshot_append_outset_shadow
gtk_snapshot_render_background
gtk_snapshot_render_frame
gtk_snapshot_render_focus
gtk_snapshot_render_layout
gtk_snapshot_render_insertion_cursor
gtk_snapshot_get_type
gtkwidgetpaintable
GtkWidgetPaintable
gtk_widget_paintable_new
gtk_widget_paintable_get_widget
gtk_widget_paintable_set_widget
GTK_WIDGET_PAINTABLE
GTK_IS_WIDGET_PAINTABLE
GTK_TYPE_WIDGET_PAINTABLE
GTK_WIDGET_PAINTABLE_CLASS
GTK_IS_WIDGET_PAINTABLE_CLASS
GTK_WIDGET_PAINTABLE_GET_CLASS
gtk_widget_paintable_get_type
gtkwidget
GtkWidget
GtkWidget
GtkWidgetClass
GtkCallback
GtkRequisition
GtkAllocation
gtk_widget_new
gtk_widget_destroy
gtk_widget_in_destruction
gtk_widget_destroyed
gtk_widget_unparent
gtk_widget_show
gtk_widget_hide
gtk_widget_map
gtk_widget_unmap
gtk_widget_realize
gtk_widget_unrealize
gtk_widget_queue_draw
gtk_widget_queue_resize
gtk_widget_queue_allocate
gtk_widget_get_frame_clock
gtk_widget_get_scale_factor
GtkTickCallback
gtk_widget_add_tick_callback
gtk_widget_remove_tick_callback
gtk_widget_size_allocate
gtk_widget_allocate
gtk_widget_add_accelerator
gtk_widget_remove_accelerator
gtk_widget_set_accel_path
gtk_widget_list_accel_closures
gtk_widget_can_activate_accel
gtk_widget_event
gtk_widget_activate
gtk_widget_is_focus
gtk_widget_grab_focus
gtk_widget_set_name
gtk_widget_get_name
gtk_widget_set_sensitive
gtk_widget_set_parent
gtk_widget_get_root
gtk_widget_get_native
gtk_widget_get_ancestor
gtk_widget_is_ancestor
gtk_widget_translate_coordinates
gtk_widget_add_controller
gtk_widget_remove_controller
gtk_widget_set_direction
GtkTextDirection
gtk_widget_get_direction
gtk_widget_set_default_direction
gtk_widget_get_default_direction
gtk_widget_input_shape_combine_region
gtk_widget_create_pango_context
gtk_widget_get_pango_context
gtk_widget_set_font_options
gtk_widget_get_font_options
gtk_widget_set_font_map
gtk_widget_get_font_map
gtk_widget_create_pango_layout
gtk_widget_get_cursor
gtk_widget_set_cursor
gtk_widget_set_cursor_from_name
gtk_widget_mnemonic_activate
gtk_widget_class_set_accessible_type
gtk_widget_class_set_accessible_role
gtk_widget_get_accessible
gtk_widget_child_focus
gtk_widget_get_child_visible
gtk_widget_get_parent
gtk_widget_get_settings
gtk_widget_get_clipboard
gtk_widget_get_primary_clipboard
gtk_widget_get_display
gtk_widget_get_size_request
gtk_widget_set_child_visible
gtk_widget_set_size_request
gtk_widget_list_mnemonic_labels
gtk_widget_add_mnemonic_label
gtk_widget_remove_mnemonic_label
gtk_widget_error_bell
gtk_widget_keynav_failed
gtk_widget_get_tooltip_markup
gtk_widget_set_tooltip_markup
gtk_widget_get_tooltip_text
gtk_widget_set_tooltip_text
gtk_widget_get_tooltip_window
gtk_widget_set_tooltip_window
gtk_widget_get_has_tooltip
gtk_widget_set_has_tooltip
gtk_widget_trigger_tooltip_query
gtk_widget_get_allocated_width
gtk_widget_get_allocated_height
gtk_widget_get_allocation
gtk_widget_get_allocated_baseline
gtk_widget_get_width
gtk_widget_get_height
gtk_widget_compute_bounds
gtk_widget_compute_transform
gtk_widget_compute_point
gtk_widget_contains
GtkPickFlags
gtk_widget_pick
gtk_widget_get_can_focus
gtk_widget_set_can_focus
gtk_widget_get_focus_on_click
gtk_widget_set_focus_on_click
gtk_widget_set_focus_child
gtk_widget_get_can_target
gtk_widget_set_can_target
gtk_widget_get_sensitive
gtk_widget_is_sensitive
gtk_widget_get_visible
gtk_widget_is_visible
gtk_widget_set_visible
gtk_widget_set_state_flags
gtk_widget_unset_state_flags
gtk_widget_get_state_flags
gtk_widget_has_default
gtk_widget_has_focus
gtk_widget_has_visible_focus
gtk_widget_has_grab
gtk_widget_is_drawable
gtk_widget_set_receives_default
gtk_widget_get_receives_default
gtk_widget_set_support_multidevice
gtk_widget_get_support_multidevice
gtk_widget_get_realized
gtk_widget_get_mapped
gtk_widget_device_is_shadowed
gtk_widget_get_modifier_mask
gtk_widget_get_opacity
gtk_widget_set_opacity
gtk_widget_get_overflow
gtk_widget_set_overflow
gtk_widget_measure
gtk_widget_snapshot_child
gtk_widget_get_next_sibling
gtk_widget_get_prev_sibling
gtk_widget_get_first_child
gtk_widget_get_last_child
gtk_widget_insert_before
gtk_widget_insert_after
gtk_widget_set_layout_manager
gtk_widget_get_layout_manager
gtk_widget_should_layout
gtk_widget_add_css_class
gtk_widget_remove_css_class
gtk_widget_has_css_class
gtk_widget_get_style_context
gtk_widget_reset_style
gtk_widget_class_get_css_name
gtk_widget_class_set_css_name
gtk_requisition_new
gtk_requisition_copy
gtk_requisition_free
GtkSizeRequestMode
GtkRequestedSize
gtk_widget_get_request_mode
gtk_widget_get_preferred_size
gtk_distribute_natural_allocation
GtkAlign
gtk_widget_get_halign
gtk_widget_set_halign
gtk_widget_get_valign
gtk_widget_set_valign
gtk_widget_get_margin_start
gtk_widget_set_margin_start
gtk_widget_get_margin_end
gtk_widget_set_margin_end
gtk_widget_get_margin_top
gtk_widget_set_margin_top
gtk_widget_get_margin_bottom
gtk_widget_set_margin_bottom
gtk_widget_get_hexpand
gtk_widget_set_hexpand
gtk_widget_get_hexpand_set
gtk_widget_set_hexpand_set
gtk_widget_get_vexpand
gtk_widget_set_vexpand
gtk_widget_get_vexpand_set
gtk_widget_set_vexpand_set
gtk_widget_compute_expand
gtk_widget_init_template
gtk_widget_class_set_template
gtk_widget_class_set_template_from_resource
gtk_widget_get_template_child
gtk_widget_class_bind_template_child
gtk_widget_class_bind_template_child_internal
gtk_widget_class_bind_template_child_private
gtk_widget_class_bind_template_child_internal_private
gtk_widget_class_bind_template_child_full
gtk_widget_class_bind_template_callback
gtk_widget_class_bind_template_callback_full
gtk_widget_class_set_template_scope
gtk_widget_observe_children
gtk_widget_observe_controllers
gtk_widget_insert_action_group
gtk_widget_activate_action
gtk_widget_activate_action_variant
gtk_widget_activate_default
GtkWidgetActionActivateFunc
gtk_widget_class_install_action
gtk_widget_class_install_property_action
gtk_widget_class_query_action
gtk_widget_action_set_enabled
GTK_WIDGET
GTK_IS_WIDGET
GTK_TYPE_WIDGET
GTK_WIDGET_CLASS
GTK_IS_WIDGET_CLASS
GTK_WIDGET_GET_CLASS
GTK_TYPE_REQUISITION
GtkWidgetClassPrivate
GtkWidgetPrivate
gtk_widget_get_type
gtk_requisition_get_type
gtkwindow
GtkWindow
GtkWindow
GtkWindowClass
GtkWindowType
gtk_window_new
gtk_window_set_title
gtk_window_set_resizable
gtk_window_get_resizable
gtk_window_add_accel_group
gtk_window_remove_accel_group
gtk_window_set_modal
gtk_window_set_default_size
gtk_window_set_hide_on_close
gtk_window_get_hide_on_close
gtk_window_set_transient_for
gtk_window_set_attached_to
gtk_window_set_destroy_with_parent
gtk_window_set_display
gtk_window_is_active
gtk_window_is_maximized
gtk_window_get_toplevels
gtk_window_list_toplevels
gtk_window_add_mnemonic
gtk_window_remove_mnemonic
gtk_window_mnemonic_activate
gtk_window_activate_key
gtk_window_propagate_key_event
gtk_window_get_focus
gtk_window_set_focus
gtk_window_get_default_widget
gtk_window_set_default_widget
gtk_window_present
gtk_window_present_with_time
gtk_window_close
gtk_window_minimize
gtk_window_unminimize
gtk_window_stick
gtk_window_unstick
gtk_window_maximize
gtk_window_unmaximize
gtk_window_fullscreen
gtk_window_fullscreen_on_monitor
gtk_window_unfullscreen
gtk_window_set_keep_above
gtk_window_set_keep_below
gtk_window_begin_resize_drag
gtk_window_begin_move_drag
gtk_window_set_decorated
gtk_window_set_deletable
gtk_window_set_mnemonic_modifier
gtk_window_set_type_hint
gtk_window_set_accept_focus
gtk_window_set_focus_on_map
gtk_window_set_startup_id
gtk_window_get_decorated
gtk_window_get_deletable
gtk_window_get_default_icon_name
gtk_window_get_default_size
gtk_window_get_destroy_with_parent
gtk_window_get_icon_name
gtk_window_get_mnemonic_modifier
gtk_window_get_modal
gtk_window_get_size
gtk_window_get_title
gtk_window_get_transient_for
gtk_window_get_attached_to
gtk_window_get_type_hint
gtk_window_get_accept_focus
gtk_window_get_focus_on_map
gtk_window_get_group
gtk_window_has_group
gtk_window_get_window_type
gtk_window_resize
gtk_window_set_default_icon_name
gtk_window_set_icon_name
gtk_window_set_auto_startup_notification
gtk_window_get_mnemonics_visible
gtk_window_set_mnemonics_visible
gtk_window_get_focus_visible
gtk_window_set_focus_visible
gtk_window_get_application
gtk_window_set_application
gtk_window_set_has_user_ref_count
gtk_window_set_titlebar
gtk_window_get_titlebar
gtk_window_set_interactive_debugging
GTK_WINDOW
GTK_IS_WINDOW
GTK_TYPE_WINDOW
GTK_WINDOW_CLASS
GTK_IS_WINDOW_CLASS
GTK_WINDOW_GET_CLASS
GtkWindowPrivate
gtk_window_get_type
GtkWindowGeometryInfo
gtk_window_remove_embedded_xid
gtk_window_add_embedded_xid
GtkWindowKeysForeachFunc
gtkwindowgroup
GtkWindowGroup
GtkWindowGroup
gtk_window_group_new
gtk_window_group_add_window
gtk_window_group_remove_window
gtk_window_group_list_windows
gtk_window_group_get_current_grab
gtk_window_group_get_current_device_grab
GTK_IS_WINDOW_GROUP
GTK_IS_WINDOW_GROUP_CLASS
GTK_TYPE_WINDOW_GROUP
GTK_WINDOW_GROUP
GTK_WINDOW_GROUP_CLASS
GTK_WINDOW_GROUP_GET_CLASS
GtkWindowGroupPrivate
gtk_window_group_get_type
gtkmain
General
gtk_disable_setlocale
gtk_get_default_language
gtk_get_locale_direction
gtk_init
gtk_init_check
gtk_grab_add
gtk_grab_get_current
gtk_grab_remove
gtk_device_grab_add
gtk_device_grab_remove
GTK_PRIORITY_RESIZE
gtk_get_current_event
gtk_get_current_event_time
gtk_get_current_event_state
gtk_get_current_event_device
gtk_get_event_widget
gtk_get_event_target
gtk_get_event_target_with_type
gtk_init_abi_check
gtk_init_check_abi_check
GTKMAIN_C_VAR
gtkfeatures
Feature Test Macros
gtk_get_major_version
gtk_get_minor_version
gtk_get_micro_version
gtk_get_binary_age
gtk_get_interface_age
gtk_check_version
GTK_MAJOR_VERSION
GTK_MINOR_VERSION
GTK_MICRO_VERSION
GTK_BINARY_AGE
GTK_INTERFACE_AGE
GTK_CHECK_VERSION
gtkstyleprovider
GtkStyleProvider
GtkStyleProvider
GTK_STYLE_PROVIDER_PRIORITY_FALLBACK
GTK_STYLE_PROVIDER_PRIORITY_THEME
GTK_STYLE_PROVIDER_PRIORITY_SETTINGS
GTK_STYLE_PROVIDER_PRIORITY_APPLICATION
GTK_STYLE_PROVIDER_PRIORITY_USER
GTK_TYPE_STYLE_PROVIDER
GTK_STYLE_PROVIDER
GTK_IS_STYLE_PROVIDER
GTK_STYLE_PROVIDER_GET_IFACE
gtk_style_provider_get_type
gtkstylecontext
GtkStyleContext
GtkBorderStyle
GTK_STYLE_CLASS_ACCELERATOR
GTK_STYLE_CLASS_ARROW
GTK_STYLE_CLASS_BACKGROUND
GTK_STYLE_CLASS_BOTTOM
GTK_STYLE_CLASS_BUTTON
GTK_STYLE_CLASS_CALENDAR
GTK_STYLE_CLASS_CELL
GTK_STYLE_CLASS_COMBOBOX_ENTRY
GTK_STYLE_CLASS_CONTEXT_MENU
GTK_STYLE_CLASS_CHECK
GTK_STYLE_CLASS_CSD
GTK_STYLE_CLASS_CURSOR_HANDLE
GTK_STYLE_CLASS_DEFAULT
GTK_STYLE_CLASS_DESTRUCTIVE_ACTION
GTK_STYLE_CLASS_DIM_LABEL
GTK_STYLE_CLASS_DND
GTK_STYLE_CLASS_DOCK
GTK_STYLE_CLASS_ENTRY
GTK_STYLE_CLASS_ERROR
GTK_STYLE_CLASS_EXPANDER
GTK_STYLE_CLASS_FRAME
GTK_STYLE_CLASS_FLAT
GTK_STYLE_CLASS_HEADER
GTK_STYLE_CLASS_HIGHLIGHT
GTK_STYLE_CLASS_HORIZONTAL
GTK_STYLE_CLASS_IMAGE
GTK_STYLE_CLASS_INFO
GTK_STYLE_CLASS_INSERTION_CURSOR
GTK_STYLE_CLASS_LABEL
GTK_STYLE_CLASS_LEFT
GTK_STYLE_CLASS_LEVEL_BAR
GTK_STYLE_CLASS_LINKED
GTK_STYLE_CLASS_LIST
GTK_STYLE_CLASS_LIST_ROW
GTK_STYLE_CLASS_MARK
GTK_STYLE_CLASS_MENU
GTK_STYLE_CLASS_MENUBAR
GTK_STYLE_CLASS_MENUITEM
GTK_STYLE_CLASS_MESSAGE_DIALOG
GTK_STYLE_CLASS_MONOSPACE
GTK_STYLE_CLASS_NEEDS_ATTENTION
GTK_STYLE_CLASS_NOTEBOOK
GTK_STYLE_CLASS_OSD
GTK_STYLE_CLASS_OVERSHOOT
GTK_STYLE_CLASS_PANE_SEPARATOR
GTK_STYLE_CLASS_PAPER
GTK_STYLE_CLASS_POPUP
GTK_STYLE_CLASS_POPOVER
GTK_STYLE_CLASS_PROGRESSBAR
GTK_STYLE_CLASS_PULSE
GTK_STYLE_CLASS_QUESTION
GTK_STYLE_CLASS_RADIO
GTK_STYLE_CLASS_RAISED
GTK_STYLE_CLASS_READ_ONLY
GTK_STYLE_CLASS_RIGHT
GTK_STYLE_CLASS_RUBBERBAND
GTK_STYLE_CLASS_SCALE
GTK_STYLE_CLASS_SCALE_HAS_MARKS_ABOVE
GTK_STYLE_CLASS_SCALE_HAS_MARKS_BELOW
GTK_STYLE_CLASS_SCROLLBAR
GTK_STYLE_CLASS_SCROLLBARS_JUNCTION
GTK_STYLE_CLASS_SEPARATOR
GTK_STYLE_CLASS_SIDEBAR
GTK_STYLE_CLASS_SLIDER
GTK_STYLE_CLASS_SPINBUTTON
GTK_STYLE_CLASS_SPINNER
GTK_STYLE_CLASS_STATUSBAR
GTK_STYLE_CLASS_SUBTITLE
GTK_STYLE_CLASS_SUGGESTED_ACTION
GTK_STYLE_CLASS_TITLE
GTK_STYLE_CLASS_TITLEBAR
GTK_STYLE_CLASS_TOOLBAR
GTK_STYLE_CLASS_TOOLTIP
GTK_STYLE_CLASS_TOUCH_SELECTION
GTK_STYLE_CLASS_TOP
GTK_STYLE_CLASS_TROUGH
GTK_STYLE_CLASS_UNDERSHOOT
GTK_STYLE_CLASS_VERTICAL
GTK_STYLE_CLASS_VIEW
GTK_STYLE_CLASS_WARNING
GTK_STYLE_CLASS_WIDE
GtkStyleContext
gtk_style_context_add_provider
gtk_style_context_add_provider_for_display
gtk_style_context_get_parent
gtk_style_context_get_display
gtk_style_context_get_state
gtk_style_context_get_color
gtk_style_context_get_border
gtk_style_context_get_padding
gtk_style_context_get_margin
gtk_style_context_lookup_color
gtk_style_context_remove_provider
gtk_style_context_remove_provider_for_display
gtk_style_context_reset_widgets
gtk_style_context_restore
gtk_style_context_save
gtk_style_context_set_parent
gtk_style_context_add_class
gtk_style_context_remove_class
gtk_style_context_has_class
gtk_style_context_list_classes
gtk_style_context_set_display
gtk_style_context_set_state
gtk_style_context_set_scale
gtk_style_context_get_scale
GtkStyleContextPrintFlags
gtk_style_context_to_string
GtkBorder
gtk_border_new
gtk_border_copy
gtk_border_free
gtk_render_arrow
gtk_render_background
gtk_render_check
gtk_render_expander
gtk_render_focus
gtk_render_frame
gtk_render_handle
gtk_render_layout
gtk_render_line
gtk_render_option
gtk_render_activity
gtk_render_icon
gtk_render_insertion_cursor
GTK_TYPE_STYLE_CONTEXT
GTK_STYLE_CONTEXT
GTK_STYLE_CONTEXT_CLASS
GTK_STYLE_CONTEXT_GET_CLASS
GTK_IS_STYLE_CONTEXT
GTK_IS_STYLE_CONTEXT_CLASS
GTK_TYPE_BORDER
GtkStyleContextPrivate
gtk_style_context_get_type
gtk_border_get_type
gtkcssprovider
GtkCssProvider
GtkCssProvider
gtk_css_provider_load_named
gtk_css_provider_load_from_data
gtk_css_provider_load_from_file
gtk_css_provider_load_from_path
gtk_css_provider_load_from_resource
gtk_css_provider_new
gtk_css_provider_to_string
GTK_CSS_PARSER_ERROR
GtkCssParserError
GtkCssParserWarning
GtkCssLocation
GtkCssSection
gtk_css_section_new
gtk_css_section_ref
gtk_css_section_unref
gtk_css_section_print
gtk_css_section_to_string
gtk_css_section_get_file
gtk_css_section_get_parent
gtk_css_section_get_start_location
gtk_css_section_get_end_location
GTK_TYPE_CSS_PROVIDER
GTK_CSS_PROVIDER
GTK_CSS_PROVIDER_CLASS
GTK_CSS_PROVIDER_GET_CLASS
GTK_IS_CSS_PROVIDER
GTK_IS_CSS_PROVIDER_CLASS
GTK_TYPE_CSS_SECTION
GtkCssProviderPrivate
gtk_css_provider_get_type
gtk_css_provider_error_quark
gtk_css_section_get_type
gtkselection
Selections
GtkSelectionData
gtk_selection_data_set
gtk_selection_data_set_text
gtk_selection_data_get_text
gtk_selection_data_set_pixbuf
gtk_selection_data_get_pixbuf
gtk_selection_data_set_texture
gtk_selection_data_get_texture
gtk_selection_data_set_uris
gtk_selection_data_get_uris
gtk_selection_data_get_targets
gtk_selection_data_targets_include_image
gtk_selection_data_targets_include_text
gtk_selection_data_targets_include_uri
gtk_selection_data_get_data
gtk_selection_data_get_length
gtk_selection_data_get_data_with_length
gtk_selection_data_get_data_type
gtk_selection_data_get_display
gtk_selection_data_get_format
gtk_selection_data_get_target
gtk_targets_include_image
gtk_targets_include_text
gtk_targets_include_uri
gtk_selection_data_copy
gtk_selection_data_free
GTK_TYPE_SELECTION_DATA
gtk_selection_data_get_type
gtkbindings
Bindings
GtkBindingSet
gtk_binding_set_new
gtk_binding_set_by_class
gtk_binding_set_find
gtk_bindings_activate
gtk_bindings_activate_event
gtk_binding_set_activate
gtk_binding_entry_add_action
gtk_binding_entry_add_action_variant
GtkBindingCallback
gtk_binding_entry_add_callback
gtk_binding_entry_add_signal
gtk_binding_entry_add_signal_from_string
gtk_binding_entry_skip
gtk_binding_entry_remove
gtkenums
Standard Enumerations
GtkBaselinePosition
GtkDeleteType
GtkDirectionType
GtkJustification
GtkMovementStep
GtkOrientation
GtkPackType
GtkPositionType
GtkReliefStyle
GtkScrollStep
GtkScrollType
GtkSelectionMode
GtkShadowType
GtkStateFlags
GtkSortType
GtkIconSize
gtkicontheme
GtkIconTheme
GtkIconPaintable
GtkIconTheme
GtkIconLookupFlags
GTK_ICON_THEME_ERROR
GTK_TYPE_ICON_THEME_ERROR
GTK_TYPE_ICON_LOOKUP_FLAGS
GtkIconThemeError
gtk_icon_theme_new
gtk_icon_theme_get_for_display
gtk_icon_theme_set_display
gtk_icon_theme_set_search_path
gtk_icon_theme_get_search_path
gtk_icon_theme_append_search_path
gtk_icon_theme_prepend_search_path
gtk_icon_theme_add_resource_path
gtk_icon_theme_set_custom_theme
gtk_icon_theme_has_icon
gtk_icon_theme_lookup_icon
gtk_icon_theme_choose_icon_async
gtk_icon_theme_choose_icon_finish
gtk_icon_theme_lookup_by_gicon
gtk_icon_theme_list_icons
gtk_icon_theme_get_icon_sizes
gtk_icon_paintable_new_for_file
gtk_icon_paintable_get_file
gtk_icon_paintable_get_icon_name
gtk_icon_paintable_is_symbolic
GtkIconClass
GTK_ICON_THEME
GTK_IS_ICON_THEME
GTK_TYPE_ICON_THEME
gtk_icon_theme_get_type
GTK_ICON_THEME_CLASS
GTK_IS_ICON_THEME_CLASS
GTK_ICON_THEME_GET_CLASS
gtk_icon_paintable_get_type
GTK_ICON_PAINTABLE
GTK_IS_ICON
GTK_TYPE_ICON
GTK_ICON_PAINTABLE_CLASS
GTK_ICON_PAINTABLE_GET_CLASS
GTK_IS_ICON_CLASS
GtkIconThemePrivate
gtk_icon_theme_error_quark
gtkprintoperation
High-level Printing API
GtkPrintOperation
GtkPrintOperationClass
GtkPrintStatus
GtkPrintOperationAction
GtkPrintOperationResult
GtkPrintError
GTK_PRINT_ERROR
gtk_print_operation_new
gtk_print_operation_set_allow_async
gtk_print_operation_get_error
gtk_print_operation_set_default_page_setup
gtk_print_operation_get_default_page_setup
gtk_print_operation_set_print_settings
gtk_print_operation_get_print_settings
gtk_print_operation_set_job_name
gtk_print_operation_set_n_pages
gtk_print_operation_get_n_pages_to_print
gtk_print_operation_set_current_page
gtk_print_operation_set_use_full_page
gtk_print_operation_set_unit
gtk_print_operation_set_export_filename
gtk_print_operation_set_show_progress
gtk_print_operation_set_track_print_status
gtk_print_operation_set_custom_tab_label
gtk_print_operation_run
gtk_print_operation_cancel
gtk_print_operation_draw_page_finish
gtk_print_operation_set_defer_drawing
gtk_print_operation_get_status
gtk_print_operation_get_status_string
gtk_print_operation_is_finished
gtk_print_operation_set_support_selection
gtk_print_operation_get_support_selection
gtk_print_operation_set_has_selection
gtk_print_operation_get_has_selection
gtk_print_operation_set_embed_page_setup
gtk_print_operation_get_embed_page_setup
gtk_print_run_page_setup_dialog
GtkPageSetupDoneFunc
gtk_print_run_page_setup_dialog_async
GtkPrintOperationPreview
gtk_print_operation_preview_end_preview
gtk_print_operation_preview_is_selected
gtk_print_operation_preview_render_page
GTK_TYPE_PRINT_OPERATION
GTK_PRINT_OPERATION
GTK_IS_PRINT_OPERATION
GTK_IS_PRINT_OPERATION_CLASS
GTK_PRINT_OPERATION_CLASS
GTK_PRINT_OPERATION_GET_CLASS
GTK_IS_PRINT_OPERATION_PREVIEW
GTK_PRINT_OPERATION_PREVIEW
GTK_PRINT_OPERATION_PREVIEW_GET_IFACE
GTK_TYPE_PRINT_OPERATION_PREVIEW
GtkPrintOperationPreviewIface
gtk_print_error_quark
gtk_print_operation_get_type
gtk_print_operation_preview_get_type
GtkPrintOperationPrivate
gtkprintunixdialog
GtkPrintUnixDialog
GtkPrintUnixDialog
gtk_print_unix_dialog_new
gtk_print_unix_dialog_set_page_setup
gtk_print_unix_dialog_get_page_setup
gtk_print_unix_dialog_set_current_page
gtk_print_unix_dialog_get_current_page
gtk_print_unix_dialog_set_settings
gtk_print_unix_dialog_get_settings
gtk_print_unix_dialog_get_selected_printer
gtk_print_unix_dialog_add_custom_tab
gtk_print_unix_dialog_set_support_selection
gtk_print_unix_dialog_get_support_selection
gtk_print_unix_dialog_set_has_selection
gtk_print_unix_dialog_get_has_selection
gtk_print_unix_dialog_set_embed_page_setup
gtk_print_unix_dialog_get_embed_page_setup
gtk_print_unix_dialog_get_page_setup_set
GtkPrintCapabilities
gtk_print_unix_dialog_set_manual_capabilities
gtk_print_unix_dialog_get_manual_capabilities
GTK_TYPE_PRINT_UNIX_DIALOG
GTK_PRINT_UNIX_DIALOG
GTK_PRINT_UNIX_DIALOG_CLASS
GTK_IS_PRINT_UNIX_DIALOG
GTK_IS_PRINT_UNIX_DIALOG_CLASS
GTK_PRINT_UNIX_DIALOG_GET_CLASS
GTK_TYPE_PRINT_CAPABILITIES
GtkPrintUnixDialogPrivate
gtk_print_unix_dialog_get_type
gtk_print_capabilities_get_type
gtkprinter
GtkPrinter
GtkPrinter
GtkPrintBackend
gtk_printer_new
gtk_printer_get_backend
gtk_printer_get_name
gtk_printer_get_state_message
gtk_printer_get_description
gtk_printer_get_location
gtk_printer_get_icon_name
gtk_printer_get_job_count
gtk_printer_is_active
gtk_printer_is_paused
gtk_printer_is_accepting_jobs
gtk_printer_is_virtual
gtk_printer_is_default
gtk_printer_accepts_ps
gtk_printer_accepts_pdf
gtk_printer_list_papers
gtk_printer_compare
gtk_printer_has_details
gtk_printer_request_details
gtk_printer_get_capabilities
gtk_printer_get_default_page_size
gtk_printer_get_hard_margins
gtk_printer_get_hard_margins_for_paper_size
GtkPrinterFunc
gtk_enumerate_printers
GTK_TYPE_PRINTER
GTK_PRINTER
GTK_PRINTER_CLASS
GTK_IS_PRINTER
GTK_IS_PRINTER_CLASS
GTK_PRINTER_GET_CLASS
GtkPrinterPrivate
gtk_printer_get_type
gtkprintsettings
GtkPrintSettings
GtkPrintSettings
GtkPrintSettingsFunc
gtk_print_settings_new
gtk_print_settings_copy
gtk_print_settings_has_key
gtk_print_settings_get
gtk_print_settings_set
gtk_print_settings_unset
gtk_print_settings_foreach
gtk_print_settings_get_bool
gtk_print_settings_set_bool
gtk_print_settings_get_double
gtk_print_settings_get_double_with_default
gtk_print_settings_set_double
gtk_print_settings_get_length
gtk_print_settings_set_length
gtk_print_settings_get_int
gtk_print_settings_get_int_with_default
gtk_print_settings_set_int
GTK_PRINT_SETTINGS_PRINTER
gtk_print_settings_get_printer
gtk_print_settings_set_printer
GtkPageOrientation
GTK_PRINT_SETTINGS_ORIENTATION
gtk_print_settings_get_orientation
gtk_print_settings_set_orientation
GTK_PRINT_SETTINGS_PAPER_FORMAT
gtk_print_settings_get_paper_size
gtk_print_settings_set_paper_size
GTK_PRINT_SETTINGS_PAPER_WIDTH
gtk_print_settings_get_paper_width
gtk_print_settings_set_paper_width
GTK_PRINT_SETTINGS_PAPER_HEIGHT
gtk_print_settings_get_paper_height
gtk_print_settings_set_paper_height
GTK_PRINT_SETTINGS_USE_COLOR
gtk_print_settings_get_use_color
gtk_print_settings_set_use_color
GTK_PRINT_SETTINGS_COLLATE
gtk_print_settings_get_collate
gtk_print_settings_set_collate
GTK_PRINT_SETTINGS_REVERSE
gtk_print_settings_get_reverse
gtk_print_settings_set_reverse
GtkPrintDuplex
GTK_PRINT_SETTINGS_DUPLEX
gtk_print_settings_get_duplex
gtk_print_settings_set_duplex
GtkPrintQuality
GTK_PRINT_SETTINGS_QUALITY
gtk_print_settings_get_quality
gtk_print_settings_set_quality
GTK_PRINT_SETTINGS_N_COPIES
gtk_print_settings_get_n_copies
gtk_print_settings_set_n_copies
GTK_PRINT_SETTINGS_NUMBER_UP
gtk_print_settings_get_number_up
gtk_print_settings_set_number_up
GtkNumberUpLayout
GTK_PRINT_SETTINGS_NUMBER_UP_LAYOUT
gtk_print_settings_get_number_up_layout
gtk_print_settings_set_number_up_layout
GTK_PRINT_SETTINGS_RESOLUTION
gtk_print_settings_get_resolution
gtk_print_settings_set_resolution
gtk_print_settings_set_resolution_xy
GTK_PRINT_SETTINGS_RESOLUTION_X
gtk_print_settings_get_resolution_x
GTK_PRINT_SETTINGS_RESOLUTION_Y
gtk_print_settings_get_resolution_y
GTK_PRINT_SETTINGS_PRINTER_LPI
gtk_print_settings_get_printer_lpi
gtk_print_settings_set_printer_lpi
GTK_PRINT_SETTINGS_SCALE
gtk_print_settings_get_scale
gtk_print_settings_set_scale
GtkPrintPages
GTK_PRINT_SETTINGS_PRINT_PAGES
gtk_print_settings_get_print_pages
gtk_print_settings_set_print_pages
GtkPageRange
GTK_PRINT_SETTINGS_PAGE_RANGES
gtk_print_settings_get_page_ranges
gtk_print_settings_set_page_ranges
GtkPageSet
GTK_PRINT_SETTINGS_PAGE_SET
gtk_print_settings_get_page_set
gtk_print_settings_set_page_set
GTK_PRINT_SETTINGS_DEFAULT_SOURCE
gtk_print_settings_get_default_source
gtk_print_settings_set_default_source
GTK_PRINT_SETTINGS_MEDIA_TYPE
gtk_print_settings_get_media_type
gtk_print_settings_set_media_type
GTK_PRINT_SETTINGS_DITHER
gtk_print_settings_get_dither
gtk_print_settings_set_dither
GTK_PRINT_SETTINGS_FINISHINGS
gtk_print_settings_get_finishings
gtk_print_settings_set_finishings
GTK_PRINT_SETTINGS_OUTPUT_BIN
gtk_print_settings_get_output_bin
gtk_print_settings_set_output_bin
GTK_PRINT_SETTINGS_OUTPUT_DIR
GTK_PRINT_SETTINGS_OUTPUT_BASENAME
GTK_PRINT_SETTINGS_OUTPUT_FILE_FORMAT
GTK_PRINT_SETTINGS_OUTPUT_URI
GTK_PRINT_SETTINGS_WIN32_DRIVER_EXTRA
GTK_PRINT_SETTINGS_WIN32_DRIVER_VERSION
gtk_print_settings_new_from_file
gtk_print_settings_new_from_key_file
gtk_print_settings_new_from_gvariant
gtk_print_settings_load_file
gtk_print_settings_load_key_file
gtk_print_settings_to_file
gtk_print_settings_to_key_file
gtk_print_settings_to_gvariant
GTK_TYPE_PRINT_SETTINGS
GTK_PRINT_SETTINGS
GTK_IS_PRINT_SETTINGS
gtk_print_settings_get_type
gtkpapersize
GtkPaperSize
GtkPaperSize
GtkUnit
GTK_UNIT_PIXEL
GTK_PAPER_NAME_A3
GTK_PAPER_NAME_A4
GTK_PAPER_NAME_A5
GTK_PAPER_NAME_B5
GTK_PAPER_NAME_LETTER
GTK_PAPER_NAME_EXECUTIVE
GTK_PAPER_NAME_LEGAL
gtk_paper_size_new
gtk_paper_size_new_from_ppd
gtk_paper_size_new_from_ipp
gtk_paper_size_new_custom
gtk_paper_size_copy
gtk_paper_size_free
gtk_paper_size_is_equal
gtk_paper_size_get_paper_sizes
gtk_paper_size_get_name
gtk_paper_size_get_display_name
gtk_paper_size_get_ppd_name
gtk_paper_size_get_width
gtk_paper_size_get_height
gtk_paper_size_is_ipp
gtk_paper_size_is_custom
gtk_paper_size_set_size
gtk_paper_size_get_default_top_margin
gtk_paper_size_get_default_bottom_margin
gtk_paper_size_get_default_left_margin
gtk_paper_size_get_default_right_margin
gtk_paper_size_get_default
gtk_paper_size_new_from_key_file
gtk_paper_size_new_from_gvariant
gtk_paper_size_to_key_file
gtk_paper_size_to_gvariant
GTK_TYPE_PAPER_SIZE
GTK_CUSTOM_PAPER_UNIX_DIALOG
GTK_CUSTOM_PAPER_UNIX_DIALOG_CLASS
GTK_CUSTOM_PAPER_UNIX_DIALOG_GET_CLASS
GTK_IS_CUSTOM_PAPER_UNIX_DIALOG
GTK_IS_CUSTOM_PAPER_UNIX_DIALOG_CLASS
GTK_TYPE_CUSTOM_PAPER_UNIX_DIALOG
GtkCustomPaperUnixDialog
GtkCustomPaperUnixDialogClass
gtk_paper_size_get_type
gtk_custom_paper_unix_dialog_get_type
GtkCustomPaperUnixDialogPrivate
gtkpagesetup
GtkPageSetup
GtkPageSetup
gtk_page_setup_new
gtk_page_setup_copy
gtk_page_setup_get_orientation
gtk_page_setup_set_orientation
gtk_page_setup_get_paper_size
gtk_page_setup_set_paper_size
gtk_page_setup_get_top_margin
gtk_page_setup_set_top_margin
gtk_page_setup_get_bottom_margin
gtk_page_setup_set_bottom_margin
gtk_page_setup_get_left_margin
gtk_page_setup_set_left_margin
gtk_page_setup_get_right_margin
gtk_page_setup_set_right_margin
gtk_page_setup_set_paper_size_and_default_margins
gtk_page_setup_get_paper_width
gtk_page_setup_get_paper_height
gtk_page_setup_get_page_width
gtk_page_setup_get_page_height
gtk_page_setup_new_from_file
gtk_page_setup_new_from_key_file
gtk_page_setup_new_from_gvariant
gtk_page_setup_load_file
gtk_page_setup_load_key_file
gtk_page_setup_to_file
gtk_page_setup_to_key_file
gtk_page_setup_to_gvariant
GTK_TYPE_PAGE_SETUP
GTK_PAGE_SETUP
GTK_IS_PAGE_SETUP
gtk_page_setup_get_type
gtkprintcontext
GtkPrintContext
GtkPrintContext
gtk_print_context_get_cairo_context
gtk_print_context_set_cairo_context
gtk_print_context_get_page_setup
gtk_print_context_get_width
gtk_print_context_get_height
gtk_print_context_get_dpi_x
gtk_print_context_get_dpi_y
gtk_print_context_get_pango_fontmap
gtk_print_context_create_pango_context
gtk_print_context_create_pango_layout
gtk_print_context_get_hard_margins
GTK_TYPE_PRINT_CONTEXT
GTK_PRINT_CONTEXT
GTK_IS_PRINT_CONTEXT
gtk_print_context_get_type
gtkprintjob
GtkPrintJob
GtkPrintJob
GtkPrintJobCompleteFunc
gtk_print_job_new
gtk_print_job_get_settings
gtk_print_job_get_printer
gtk_print_job_get_title
gtk_print_job_get_status
gtk_print_job_set_source_file
gtk_print_job_set_source_fd
gtk_print_job_get_surface
gtk_print_job_send
gtk_print_job_set_track_print_status
gtk_print_job_get_track_print_status
gtk_print_job_get_pages
gtk_print_job_set_pages
gtk_print_job_get_page_ranges
gtk_print_job_set_page_ranges
gtk_print_job_get_page_set
gtk_print_job_set_page_set
gtk_print_job_get_num_copies
gtk_print_job_set_num_copies
gtk_print_job_get_scale
gtk_print_job_set_scale
gtk_print_job_get_n_up
gtk_print_job_set_n_up
gtk_print_job_get_n_up_layout
gtk_print_job_set_n_up_layout
gtk_print_job_get_rotate
gtk_print_job_set_rotate
gtk_print_job_get_collate
gtk_print_job_set_collate
gtk_print_job_get_reverse
gtk_print_job_set_reverse
GTK_TYPE_PRINT_JOB
GTK_PRINT_JOB
GTK_PRINT_JOB_CLASS
GTK_IS_PRINT_JOB
GTK_IS_PRINT_JOB_CLASS
GTK_PRINT_JOB_GET_CLASS
GtkPrintJobPrivate
gtk_print_job_get_type
gtkpagesetupunixdialog
GtkPageSetupUnixDialog
GtkPageSetupUnixDialog
gtk_page_setup_unix_dialog_new
gtk_page_setup_unix_dialog_set_page_setup
gtk_page_setup_unix_dialog_get_page_setup
gtk_page_setup_unix_dialog_set_print_settings
gtk_page_setup_unix_dialog_get_print_settings
GTK_TYPE_PAGE_SETUP_UNIX_DIALOG
GTK_PAGE_SETUP_UNIX_DIALOG
GTK_PAGE_SETUP_UNIX_DIALOG_CLASS
GTK_IS_PAGE_SETUP_UNIX_DIALOG
GTK_IS_PAGE_SETUP_UNIX_DIALOG_CLASS
GTK_PAGE_SETUP_UNIX_DIALOG_GET_CLASS
GtkPageSetupUnixDialogPrivate
gtk_page_setup_unix_dialog_get_type
gtktesting
Testing
gtk_test_init
gtk_test_list_all_types
gtk_test_register_all_types
gtk_test_widget_wait_for_draw
filesystem
Filesystem utilities
GtkMountOperation
GtkMountOperationClass
gtk_mount_operation_new
gtk_mount_operation_is_showing
gtk_mount_operation_set_parent
gtk_mount_operation_get_parent
gtk_mount_operation_set_display
gtk_mount_operation_get_display
gtk_show_uri_on_window
GTK_IS_MOUNT_OPERATION
GTK_IS_MOUNT_OPERATION_CLASS
GTK_MOUNT_OPERATION
GTK_MOUNT_OPERATION_CLASS
GTK_MOUNT_OPERATION_GET_CLASS
GTK_TYPE_MOUNT_OPERATION
GtkMountOperationLookupContext
gtk_mount_operation_get_type
GtkMountOperationPrivate
gtkorientable
Orientable
GtkOrientable
gtk_orientable_get_orientation
gtk_orientable_set_orientation
GtkOrientableIface
GTK_IS_ORIENTABLE
GTK_IS_ORIENTABLE_CLASS
GTK_ORIENTABLE
GTK_ORIENTABLE_CLASS
GTK_ORIENTABLE_GET_IFACE
GTK_TYPE_ORIENTABLE
gtk_orientable_get_type
gtkapplication
GtkApplication
GtkApplication
GtkApplicationClass
gtk_application_new
gtk_application_add_window
gtk_application_remove_window
gtk_application_get_windows
gtk_application_get_window_by_id
gtk_application_get_active_window
GtkApplicationInhibitFlags
gtk_application_inhibit
gtk_application_uninhibit
gtk_application_prefers_app_menu
gtk_application_get_app_menu
gtk_application_set_app_menu
gtk_application_get_menubar
gtk_application_set_menubar
gtk_application_get_menu_by_id
gtk_application_list_action_descriptions
gtk_application_get_accels_for_action
gtk_application_set_accels_for_action
gtk_application_get_actions_for_accel
GTK_TYPE_APPLICATION
GTK_APPLICATION
GTK_APPLICATION_CLASS
GTK_IS_APPLICATION
GTK_IS_APPLICATION_CLASS
GTK_APPLICATION_GET_CLASS
gtk_application_get_type
GtkApplicationPrivate
gtkapplicationwindow
GtkApplicationWindow
GtkApplicationWindow
GtkApplicationWindowClass
gtk_application_window_new
gtk_application_window_set_show_menubar
gtk_application_window_get_show_menubar
gtk_application_window_get_id
gtk_application_window_set_help_overlay
gtk_application_window_get_help_overlay
GTK_TYPE_APPLICATION_WINDOW
GTK_APPLICATION_WINDOW
GTK_APPLICATION_WINDOW_CLASS
GTK_IS_APPLICATION_WINDOW
GTK_IS_APPLICATION_WINDOW_CLASS
GTK_APPLICATION_WINDOW_GET_CLASS
gtk_application_window_get_type
GtkApplicationWindowPrivate
gtkactionable
GtkActionable
GtkActionable
GtkActionableInterface
gtk_actionable_get_action_name
gtk_actionable_set_action_name
gtk_actionable_get_action_target_value
gtk_actionable_set_action_target_value
gtk_actionable_set_action_target
gtk_actionable_set_detailed_action_name
gtk_actionable_get_type
GTK_ACTIONABLE
GTK_ACTIONABLE_GET_IFACE
GTK_IS_ACTIONABLE
GTK_TYPE_ACTIONABLE
gtkgrid
GtkGrid
GtkGrid
GtkGridClass
gtk_grid_new
gtk_grid_attach
gtk_grid_attach_next_to
gtk_grid_get_child_at
gtk_grid_insert_row
gtk_grid_insert_column
gtk_grid_remove_row
gtk_grid_remove_column
gtk_grid_insert_next_to
gtk_grid_set_row_homogeneous
gtk_grid_get_row_homogeneous
gtk_grid_set_row_spacing
gtk_grid_get_row_spacing
gtk_grid_set_column_homogeneous
gtk_grid_get_column_homogeneous
gtk_grid_set_column_spacing
gtk_grid_get_column_spacing
gtk_grid_get_baseline_row
gtk_grid_set_baseline_row
gtk_grid_get_row_baseline_position
gtk_grid_set_row_baseline_position
GTK_TYPE_GRID
GTK_GRID
GTK_GRID_CLASS
GTK_IS_GRID
GTK_IS_GRID_CLASS
GTK_GRID_GET_CLASS
GtkGridPrivate
gtk_grid_get_type
gtkswitch
GtkSwitch
gtk_switch_new
gtk_switch_set_active
gtk_switch_get_active
gtk_switch_set_state
gtk_switch_get_state
GTK_TYPE_SWITCH
GTK_SWITCH
GTK_SWITCH_CLASS
GTK_IS_SWITCH
GTK_IS_SWITCH_CLASS
GTK_SWITCH_GET_CLASS
GtkSwitchPrivate
gtk_switch_get_type
gtkappchooser
GtkAppChooser
GtkAppChooser
gtk_app_chooser_get_app_info
gtk_app_chooser_get_content_type
gtk_app_chooser_refresh
GTK_TYPE_APP_CHOOSER
GTK_APP_CHOOSER
GTK_IS_APP_CHOOSER
GTK_APP_CHOOSER_GET_IFACE
gtk_app_chooser_get_type
GTK_APP_CHOOSER_ONLINE
GTK_APP_CHOOSER_ONLINE_GET_IFACE
GTK_APP_CHOOSER_ONLINE_PK
GTK_APP_CHOOSER_ONLINE_PK_CLASS
GTK_APP_CHOOSER_ONLINE_PK_GET_CLASS
GTK_IS_APP_CHOOSER_ONLINE
GTK_IS_APP_CHOOSER_ONLINE_PK
GTK_IS_APP_CHOOSER_ONLINE_PK_CLASS
gtkappchooserbutton
GtkAppChooserButton
GtkAppChooserButton
gtk_app_chooser_button_new
gtk_app_chooser_button_append_custom_item
gtk_app_chooser_button_append_separator
gtk_app_chooser_button_set_active_custom_item
gtk_app_chooser_button_get_show_default_item
gtk_app_chooser_button_set_show_default_item
gtk_app_chooser_button_get_show_dialog_item
gtk_app_chooser_button_set_show_dialog_item
gtk_app_chooser_button_get_heading
gtk_app_chooser_button_set_heading
GTK_TYPE_APP_CHOOSER_BUTTON
GTK_APP_CHOOSER_BUTTON
GTK_APP_CHOOSER_BUTTON_CLASS
GTK_IS_APP_CHOOSER_BUTTON
GTK_IS_APP_CHOOSER_BUTTON_CLASS
GTK_APP_CHOOSER_BUTTON_GET_CLASS
GtkAppChooserButtonPrivate
gtk_app_chooser_button_get_type
gtkappchooserdialog
GtkAppChooserDialog
GtkAppChooserDialog
gtk_app_chooser_dialog_new
gtk_app_chooser_dialog_new_for_content_type
gtk_app_chooser_dialog_get_widget
gtk_app_chooser_dialog_set_heading
gtk_app_chooser_dialog_get_heading
GTK_TYPE_APP_CHOOSER_DIALOG
GTK_APP_CHOOSER_DIALOG
GTK_APP_CHOOSER_DIALOG_CLASS
GTK_IS_APP_CHOOSER_DIALOG
GTK_IS_APP_CHOOSER_DIALOG_CLASS
GTK_APP_CHOOSER_DIALOG_GET_CLASS
GtkAppChooserDialogPrivate
gtk_app_chooser_dialog_get_type
gtkappchooserwidget
GtkAppChooserWidget
GtkAppChooserWidget
gtk_app_chooser_widget_new
gtk_app_chooser_widget_set_show_default
gtk_app_chooser_widget_get_show_default
gtk_app_chooser_widget_set_show_recommended
gtk_app_chooser_widget_get_show_recommended
gtk_app_chooser_widget_set_show_fallback
gtk_app_chooser_widget_get_show_fallback
gtk_app_chooser_widget_set_show_other
gtk_app_chooser_widget_get_show_other
gtk_app_chooser_widget_set_show_all
gtk_app_chooser_widget_get_show_all
gtk_app_chooser_widget_set_default_text
gtk_app_chooser_widget_get_default_text
GTK_TYPE_APP_CHOOSER_WIDGET
GTK_APP_CHOOSER_WIDGET
GTK_APP_CHOOSER_WIDGET_CLASS
GTK_IS_APP_CHOOSER_WIDGET
GTK_IS_APP_CHOOSER_WIDGET_CLASS
GTK_APP_CHOOSER_WIDGET_GET_CLASS
GtkAppChooserWidgetPrivate
gtk_app_chooser_widget_get_type
gtklockbutton
GtkLockButton
GtkLockButton
gtk_lock_button_new
gtk_lock_button_get_permission
gtk_lock_button_set_permission
GTK_TYPE_LOCK_BUTTON
GTK_LOCK_BUTTON
GTK_IS_LOCK_BUTTON
GTK_LOCK_BUTTON_CLASS
GTK_IS_LOCK_BUTTON_CLASS
GTK_LOCK_BUTTON_GET_CLASS
gtk_lock_button_get_type
GtkLockButtonPrivate
gtkoverlay
GtkOverlay
GtkOverlay
gtk_overlay_new
gtk_overlay_add_overlay
gtk_overlay_get_measure_overlay
gtk_overlay_set_measure_overlay
gtk_overlay_get_clip_overlay
gtk_overlay_set_clip_overlay
GTK_TYPE_OVERLAY
GTK_OVERLAY
GTK_OVERLAY_CLASS
GTK_IS_OVERLAY
GTK_IS_OVERLAY_CLASS
GTK_OVERLAY_GET_CLASS
gtk_overlay_get_type
GtkOverlayPrivate
gtkcolorchooser
GtkColorChooser
GtkColorChooser
gtk_color_chooser_get_rgba
gtk_color_chooser_set_rgba
gtk_color_chooser_get_use_alpha
gtk_color_chooser_set_use_alpha
gtk_color_chooser_add_palette
gtk_hsv_to_rgb
gtk_rgb_to_hsv
GTK_TYPE_COLOR_CHOOSER
GTK_COLOR_CHOOSER
GTK_IS_COLOR_CHOOSER
GTK_COLOR_CHOOSER_GET_IFACE
gtk_color_chooser_get_type
gtkcolorchooserwidget
GtkColorChooserWidget
GtkColorChooserWidget
gtk_color_chooser_widget_new
GTK_TYPE_COLOR_CHOOSER_WIDGET
GTK_COLOR_CHOOSER_WIDGET
GTK_COLOR_CHOOSER_WIDGET_CLASS
GTK_IS_COLOR_CHOOSER_WIDGET
GTK_IS_COLOR_CHOOSER_WIDGET_CLASS
GTK_COLOR_CHOOSER_WIDGET_GET_CLASS
gtk_color_chooser_widget_get_type
GtkColorChooserWidgetPrivate
gtkcolorchooserdialog
GtkColorChooserDialog
GtkColorChooserDialog
gtk_color_chooser_dialog_new
GTK_TYPE_COLOR_CHOOSER_DIALOG
GTK_COLOR_CHOOSER_DIALOG
GTK_COLOR_CHOOSER_DIALOG_CLASS
GTK_IS_COLOR_CHOOSER_DIALOG
GTK_IS_COLOR_CHOOSER_DIALOG_CLASS
GTK_COLOR_CHOOSER_DIALOG_GET_CLASS
GtkColorChooserDialogPrivate
gtk_color_chooser_dialog_get_type
gtkactionbar
GtkActionBar
GtkActionBar
gtk_action_bar_new
gtk_action_bar_pack_start
gtk_action_bar_pack_end
gtk_action_bar_get_center_widget
gtk_action_bar_set_center_widget
gtk_action_bar_get_revealed
gtk_action_bar_set_revealed
GTK_TYPE_ACTION_BAR
GTK_ACTION_BAR
GTK_ACTION_BAR_CLASS
GTK_IS_ACTION_BAR
GTK_IS_ACTION_BAR_CLASS
GTK_ACTION_BAR_GET_CLASS
GtkActionBarPrivate
gtk_action_bar_get_type
gtkheaderbar
GtkHeaderBar
GtkHeaderBar
gtk_header_bar_new
gtk_header_bar_set_title
gtk_header_bar_get_title
gtk_header_bar_set_subtitle
gtk_header_bar_get_subtitle
gtk_header_bar_set_has_subtitle
gtk_header_bar_get_has_subtitle
gtk_header_bar_set_custom_title
gtk_header_bar_get_custom_title
gtk_header_bar_pack_start
gtk_header_bar_pack_end
gtk_header_bar_set_show_title_buttons
gtk_header_bar_get_show_title_buttons
gtk_header_bar_set_decoration_layout
gtk_header_bar_get_decoration_layout
GTK_TYPE_HEADER_BAR
GTK_HEADER_BAR
GTK_HEADER_BAR_CLASS
GTK_IS_HEADER_BAR
GTK_IS_HEADER_BAR_CLASS
GTK_HEADER_BAR_GET_CLASS
GtkHeaderBarPrivate
gtk_header_bar_get_type
gtkstack
GtkStack
GtkStack
GtkStackPage
gtk_stack_new
gtk_stack_add_named
gtk_stack_add_titled
gtk_stack_get_child_by_name
gtk_stack_get_page
gtk_stack_get_pages
gtk_stack_page_get_child
gtk_stack_set_visible_child
gtk_stack_get_visible_child
gtk_stack_set_visible_child_name
gtk_stack_get_visible_child_name
gtk_stack_set_visible_child_full
gtk_stack_set_homogeneous
gtk_stack_get_homogeneous
gtk_stack_set_hhomogeneous
gtk_stack_get_hhomogeneous
gtk_stack_set_vhomogeneous
gtk_stack_get_vhomogeneous
gtk_stack_set_transition_duration
gtk_stack_get_transition_duration
GtkStackTransitionType
gtk_stack_set_transition_type
gtk_stack_get_transition_type
gtk_stack_get_transition_running
gtk_stack_get_interpolate_size
gtk_stack_set_interpolate_size
GTK_TYPE_STACK
GTK_IS_STACK
GTK_IS_STACK_CLASS
GTK_STACK
GTK_STACK_CLASS
GTK_STACK_GET_CLASS
gtk_stack_get_type
gtk_stack_page_get_type
gtkstackswitcher
GtkStackSwitcher
GtkStackSwitcher
gtk_stack_switcher_new
gtk_stack_switcher_set_stack
gtk_stack_switcher_get_stack
GTK_TYPE_STACK_SWITCHER
GTK_IS_STACK_SWITCHER
GTK_IS_STACK_SWITCHER_CLASS
GTK_STACK_SWITCHER
GTK_STACK_SWITCHER_CLASS
GTK_STACK_SWITCHER_GET_CLASS
gtk_stack_switcher_get_type
gtkrevealer
GtkRevealer
GtkRevealer
gtk_revealer_new
gtk_revealer_get_reveal_child
gtk_revealer_set_reveal_child
gtk_revealer_get_child_revealed
gtk_revealer_get_transition_duration
gtk_revealer_set_transition_duration
GtkRevealerTransitionType
gtk_revealer_get_transition_type
gtk_revealer_set_transition_type
GTK_TYPE_REVEALER
GTK_IS_REVEALER
GTK_IS_REVEALER_CLASS
GTK_REVEALER
GTK_REVEALER_CLASS
GTK_REVEALER_GET_CLASS
gtk_revealer_get_type
gtkflowbox
GtkFlowBox
GtkFlowBox
gtk_flow_box_new
gtk_flow_box_insert
gtk_flow_box_get_child_at_index
gtk_flow_box_get_child_at_pos
gtk_flow_box_set_hadjustment
gtk_flow_box_set_vadjustment
gtk_flow_box_set_homogeneous
gtk_flow_box_get_homogeneous
gtk_flow_box_set_row_spacing
gtk_flow_box_get_row_spacing
gtk_flow_box_set_column_spacing
gtk_flow_box_get_column_spacing
gtk_flow_box_set_min_children_per_line
gtk_flow_box_get_min_children_per_line
gtk_flow_box_set_max_children_per_line
gtk_flow_box_get_max_children_per_line
gtk_flow_box_set_activate_on_single_click
gtk_flow_box_get_activate_on_single_click
GtkFlowBoxForeachFunc
gtk_flow_box_selected_foreach
gtk_flow_box_get_selected_children
gtk_flow_box_select_child
gtk_flow_box_unselect_child
gtk_flow_box_select_all
gtk_flow_box_unselect_all
gtk_flow_box_set_selection_mode
gtk_flow_box_get_selection_mode
GtkFlowBoxFilterFunc
gtk_flow_box_set_filter_func
gtk_flow_box_invalidate_filter
GtkFlowBoxSortFunc
gtk_flow_box_set_sort_func
gtk_flow_box_invalidate_sort
GtkFlowBoxCreateWidgetFunc
gtk_flow_box_bind_model
GtkFlowBoxChild
gtk_flow_box_child_new
gtk_flow_box_child_get_index
gtk_flow_box_child_is_selected
gtk_flow_box_child_changed
GtkFlowBoxChildClass
GTK_TYPE_FLOW_BOX
GTK_TYPE_FLOW_BOX_CHILD
GTK_FLOW_BOX
GTK_FLOW_BOX_CLASS
GTK_FLOW_BOX_GET_CLASS
GTK_IS_FLOW_BOX
GTK_IS_FLOW_BOX_CLASS
GTK_FLOW_BOX_CHILD
GTK_FLOW_BOX_CHILD_CLASS
GTK_FLOW_BOX_CHILD_GET_CLASS
GTK_IS_FLOW_BOX_CHILD
GTK_IS_FLOW_BOX_CHILD_CLASS
gtk_flow_box_get_type
gtk_flow_box_child_get_type
gtkpopover
GtkPopover
GtkPopover
gtk_popover_new
gtk_popover_popup
gtk_popover_popdown
gtk_popover_set_relative_to
gtk_popover_get_relative_to
gtk_popover_set_pointing_to
gtk_popover_get_pointing_to
gtk_popover_set_position
gtk_popover_get_position
gtk_popover_set_autohide
gtk_popover_get_autohide
gtk_popover_set_has_arrow
gtk_popover_get_has_arrow
gtk_popover_set_default_widget
GTK_TYPE_POPOVER
GTK_IS_POPOVER
GTK_IS_POPOVER_CLASS
GTK_IS_POPOVER_MENU
GTK_IS_POPOVER_MENU_CLASS
GTK_POPOVER
GTK_POPOVER_CLASS
GTK_POPOVER_GET_CLASS
GtkPopoverPrivate
gtk_popover_get_type
gtkpopovermenu
GtkPopoverMenu
GtkPopoverMenu
gtk_popover_menu_new_from_model
gtk_popover_menu_set_menu_model
gtk_popover_menu_get_menu_model
GTK_TYPE_POPOVER_MENU
GTK_IS_POPOVER_MENU
GTK_POPOVER_MENU
gtk_popover_menu_get_type
gtkpopovermenubar
GtkPopoverMenuBar
GtkPopoverMenuBar
gtk_popover_menu_bar_new_from_model
gtk_popover_menu_bar_set_menu_model
gtk_popover_menu_bar_get_menu_model
GTK_TYPE_POPOVER_MENU_BAR
GTK_IS_POPOVER_MENU_BAR
GTK_POPOVER_MENU_BAR
gtk_popover_menu_bar_get_type
gtkeventcontroller
GtkEventController
GtkEventController
GtkPropagationPhase
gtk_event_controller_get_propagation_phase
gtk_event_controller_set_propagation_phase
GtkPropagationLimit
gtk_event_controller_get_propagation_limit
gtk_event_controller_set_propagation_limit
gtk_event_controller_handle_event
gtk_event_controller_get_widget
gtk_event_controller_reset
GTK_TYPE_EVENT_CONTROLLER
GTK_EVENT_CONTROLLER
GTK_EVENT_CONTROLLER_CLASS
GTK_IS_EVENT_CONTROLLER
GTK_EVENT_CONTROLLER_GET_CLASS
GTK_IS_EVENT_CONTROLLER_CLASS
GtkEventControllerPriv
gtk_event_controller_get_type
gtkgesture
GtkGesture
GtkGesture
gtk_gesture_get_device
gtk_gesture_is_active
gtk_gesture_is_recognized
GtkEventSequenceState
gtk_gesture_get_sequence_state
gtk_gesture_set_sequence_state
gtk_gesture_set_state
gtk_gesture_get_sequences
gtk_gesture_handles_sequence
gtk_gesture_get_last_updated_sequence
gtk_gesture_get_last_event
gtk_gesture_get_point
gtk_gesture_get_bounding_box
gtk_gesture_get_bounding_box_center
gtk_gesture_group
gtk_gesture_ungroup
gtk_gesture_get_group
gtk_gesture_is_grouped_with
GTK_TYPE_GESTURE
GTK_GESTURE
GTK_GESTURE_CLASS
GTK_IS_GESTURE
GTK_IS_GESTURE_CLASS
GTK_GESTURE_GET_CLASS
gtk_gesture_get_type
gtkgesturesingle
GtkGestureSingle
GtkGestureSingle
gtk_gesture_single_get_exclusive
gtk_gesture_single_set_exclusive
gtk_gesture_single_get_touch_only
gtk_gesture_single_set_touch_only
gtk_gesture_single_get_button
gtk_gesture_single_set_button
gtk_gesture_single_get_current_button
gtk_gesture_single_get_current_sequence
GTK_TYPE_GESTURE_SINGLE
GTK_GESTURE_SINGLE
GTK_GESTURE_SINGLE_CLASS
GTK_IS_GESTURE_SINGLE
GTK_IS_GESTURE_SINGLE_CLASS
GTK_GESTURE_SINGLE_GET_CLASS
gtk_gesture_single_get_type
gtkeventcontrollerlegacy
GtkEventControllerLegacy
GtkEventControllerLegacy
gtk_event_controller_legacy_new
GTK_TYPE_EVENT_CONTROLLER_LEGACY
GTK_EVENT_CONTROLLER_LEGACY
GTK_EVENT_CONTROLLER_LEGACY_CLASS
GTK_IS_EVENT_CONTROLLER_LEGACY
GTK_IS_EVENT_CONTROLLER_LEGACY_CLASS
GTK_EVENT_CONTROLLER_LEGACY_GET_CLASS
gtk_event_controller_legacy_get_type
gtkeventcontrollerscroll
GtkEventControllerScroll
GtkEventControllerScroll
GtkEventControllerScrollFlags
gtk_event_controller_scroll_new
gtk_event_controller_scroll_set_flags
gtk_event_controller_scroll_get_flags
GTK_TYPE_EVENT_CONTROLLER_SCROLL
GTK_EVENT_CONTROLLER_SCROLL
GTK_EVENT_CONTROLLER_SCROLL_CLASS
GTK_IS_EVENT_CONTROLLER_SCROLL
GTK_IS_EVENT_CONTROLLER_SCROLL_CLASS
GTK_EVENT_CONTROLLER_SCROLL_GET_CLASS
gtk_event_controller_scroll_get_type
gtkeventcontrollermotion
GtkEventControllerMotion
GtkEventControllerMotion
gtk_event_controller_motion_new
gtk_event_controller_motion_get_pointer_origin
gtk_event_controller_motion_get_pointer_target
gtk_event_controller_motion_contains_pointer
gtk_event_controller_motion_is_pointer
GTK_TYPE_EVENT_CONTROLLER_MOTION
GTK_EVENT_CONTROLLER_MOTION
GTK_EVENT_CONTROLLER_MOTION_CLASS
GTK_IS_EVENT_CONTROLLER_MOTION
GTK_IS_EVENT_CONTROLLER_MOTION_CLASS
GTK_EVENT_CONTROLLER_MOTION_GET_CLASS
gtk_event_controller_motion_get_type
gtkeventcontrollerkey
GtkEventControllerKey
GtkEventControllerKey
gtk_event_controller_key_new
gtk_event_controller_key_set_im_context
gtk_event_controller_key_get_im_context
gtk_event_controller_key_forward
gtk_event_controller_key_get_group
gtk_event_controller_key_get_focus_origin
gtk_event_controller_key_get_focus_target
gtk_event_controller_key_contains_focus
gtk_event_controller_key_is_focus
GTK_TYPE_EVENT_CONTROLLER_KEY
GTK_EVENT_CONTROLLER_KEY
GTK_EVENT_CONTROLLER_KEY_CLASS
GTK_IS_EVENT_CONTROLLER_KEY
GTK_IS_EVENT_CONTROLLER_KEY_CLASS
GTK_EVENT_CONTROLLER_KEY_GET_CLASS
gtk_event_controller_key_get_type
gtkgesturedrag
GtkGestureDrag
GtkGestureDrag
gtk_gesture_drag_new
gtk_gesture_drag_get_start_point
gtk_gesture_drag_get_offset
GTK_TYPE_GESTURE_DRAG
GTK_GESTURE_DRAG
GTK_GESTURE_DRAG_CLASS
GTK_IS_GESTURE_DRAG
GTK_IS_GESTURE_DRAG_CLASS
GTK_GESTURE_DRAG_GET_CLASS
gtk_gesture_drag_get_type
gtkgesturelongpress
GtkGestureLongPress
GtkGestureLongPress
gtk_gesture_long_press_new
gtk_gesture_long_press_set_delay_factor
gtk_gesture_long_press_get_delay_factor
GTK_TYPE_GESTURE_LONG_PRESS
GTK_GESTURE_LONG_PRESS
GTK_GESTURE_LONG_PRESS_CLASS
GTK_IS_GESTURE_LONG_PRESS
GTK_IS_GESTURE_LONG_PRESS_CLASS
GTK_GESTURE_LONG_PRESS_GET_CLASS
gtk_gesture_long_press_get_type
gtkgestureclick
GtkGestureClick
GtkGestureClick
gtk_gesture_click_new
gtk_gesture_click_set_area
gtk_gesture_click_get_area
GTK_TYPE_GESTURE_CLICK
GTK_GESTURE_CLICK
GTK_GESTURE_CLICK_CLASS
GTK_IS_GESTURE_CLICK
GTK_IS_GESTURE_CLICK_CLASS
GTK_GESTURE_CLICK_GET_CLASS
gtk_gesture_click_get_type
gtkgesturepan
GtkGesturePan
GtkGesturePan
GtkPanDirection
gtk_gesture_pan_new
gtk_gesture_pan_get_orientation
gtk_gesture_pan_set_orientation
GTK_TYPE_GESTURE_PAN
GTK_GESTURE_PAN
GTK_GESTURE_PAN_CLASS
GTK_IS_GESTURE_PAN
GTK_IS_GESTURE_PAN_CLASS
GTK_GESTURE_PAN_GET_CLASS
gtk_gesture_pan_get_type
gtkgestureswipe
GtkGestureSwipe
GtkGestureSwipe
gtk_gesture_swipe_new
gtk_gesture_swipe_get_velocity
GTK_TYPE_GESTURE_SWIPE
GTK_GESTURE_SWIPE
GTK_GESTURE_SWIPE_CLASS
GTK_IS_GESTURE_SWIPE
GTK_IS_GESTURE_SWIPE_CLASS
GTK_GESTURE_SWIPE_GET_CLASS
gtk_gesture_swipe_get_type
gtkgesturerotate
GtkGestureRotate
GtkGestureRotate
gtk_gesture_rotate_new
gtk_gesture_rotate_get_angle_delta
GTK_TYPE_GESTURE_ROTATE
GTK_GESTURE_ROTATE
GTK_GESTURE_ROTATE_CLASS
GTK_IS_GESTURE_ROTATE
GTK_IS_GESTURE_ROTATE_CLASS
GTK_GESTURE_ROTATE_GET_CLASS
gtk_gesture_rotate_get_type
gtkgesturezoom
GtkGestureZoom
GtkGestureZoom
gtk_gesture_zoom_new
gtk_gesture_zoom_get_scale_delta
GTK_TYPE_GESTURE_ZOOM
GTK_GESTURE_ZOOM
GTK_GESTURE_ZOOM_CLASS
GTK_IS_GESTURE_ZOOM
GTK_IS_GESTURE_ZOOM_CLASS
GTK_GESTURE_ZOOM_GET_CLASS
gtk_gesture_zoom_get_type
gtkpadcontroller
GtkPadController
GtkPadController
gtk_pad_controller_new
gtk_pad_controller_set_action_entries
gtk_pad_controller_set_action
GtkPadActionType
GtkPadActionEntry
GTK_TYPE_PAD_CONTROLLER
GTK_PAD_CONTROLLER
GTK_PAD_CONTROLLER_CLASS
GTK_IS_PAD_CONTROLLER
GTK_IS_PAD_CONTROLLER_CLASS
GTK_PAD_CONTROLLER_GET_CLASS
gtk_pad_controller_get_type
gtkgesturestylus
GtkGestureStylus
GtkGestureStylus
gtk_gesture_stylus_new
gtk_gesture_stylus_get_axis
gtk_gesture_stylus_get_axes
gtk_gesture_stylus_get_backlog
gtk_gesture_stylus_get_device_tool
GTK_TYPE_GESTURE_STYLUS
GTK_GESTURE_STYLUS
GTK_GESTURE_STYLUS_CLASS
GTK_IS_GESTURE_STYLUS
GTK_IS_GESTURE_STYLUS_CLASS
GTK_GESTURE_STYLUS_GET_CLASS
GtkGestureStylusClass
gtk_gesture_stylus_get_type
gtkstacksidebar
GtkStackSidebar
gtk_stack_sidebar_new
gtk_stack_sidebar_set_stack
gtk_stack_sidebar_get_stack
GtkStackSidebarClass
GTK_TYPE_STACK_SIDEBAR
GTK_STACK_SIDEBAR
GTK_STACK_SIDEBAR_CLASS
GTK_IS_STACK_SIDEBAR
GTK_IS_STACK_SIDEBAR_CLASS
GTK_STACK_SIDEBAR_GET_CLASS
GtkStackSidebarPrivate
gtk_stack_sidebar_get_type
gtkglarea
GtkGLArea
GtkGLAreaClass
gtk_gl_area_new
gtk_gl_area_get_context
gtk_gl_area_make_current
gtk_gl_area_queue_render
gtk_gl_area_attach_buffers
gtk_gl_area_set_error
gtk_gl_area_get_error
gtk_gl_area_set_has_depth_buffer
gtk_gl_area_get_has_depth_buffer
gtk_gl_area_set_has_stencil_buffer
gtk_gl_area_get_has_stencil_buffer
gtk_gl_area_set_auto_render
gtk_gl_area_get_auto_render
gtk_gl_area_get_required_version
gtk_gl_area_set_required_version
gtk_gl_area_set_use_es
gtk_gl_area_get_use_es
GTK_TYPE_GL_AREA
GTK_GL_AREA
GTK_GL_AREA_CLASS
GTK_GL_AREA_GET_CLASS
GTK_IS_GL_AREA
GTK_IS_GL_AREA_CLASS
gtk_gl_area_get_type
gtkshortcutswindow
GtkShortcutsWindow
GTK_TYPE_SHORTCUTS_WINDOW
GTK_SHORTCUTS_WINDOW
GTK_IS_SHORTCUTS_WINDOW
GTK_SHORTCUTS_WINDOW_CLASS
GTK_IS_SHORTCUTS_WINDOW_CLASS
GTK_GET_SHORTCUTS_WINDOW_CLASS
GtkShortcutsWindowClass
gtk_shortcuts_window_get_type
GTK_SHORTCUTS_WINDOW_GET_CLASS
gtkshortcutssection
GtkShortcutsSection
GTK_TYPE_SHORTCUTS_SECTION
GTK_SHORTCUTS_SECTION
GTK_IS_SHORTCUTS_SECTION
GTK_SHORTCUTS_SECTION_CLASS
GTK_IS_SHORTCUTS_SECTION_CLASS
GTK_GET_SHORTCUTS_SECTION_CLASS
GtkShortcutsSectionClass
gtk_shortcuts_section_get_type
GTK_SHORTCUTS_SECTION_GET_CLASS
gtkshortcutsgroup
GtkShortcutsGroup
GTK_TYPE_SHORTCUTS_GROUP
GTK_SHORTCUTS_GROUP
GTK_IS_SHORTCUTS_GROUP
GTK_SHORTCUTS_GROUP_CLASS
GTK_IS_SHORTCUTS_GROUP_CLASS
GTK_GET_SHORTCUTS_GROUP_CLASS
GtkShortcutsGroupClass
gtk_shortcuts_group_get_type
GTK_SHORTCUTS_GROUP_GET_CLASS
gtkshortcutsshortcut
GtkShortcutsShortcut
GtkShortcutType
GTK_TYPE_SHORTCUTS_SHORTCUT
GTK_SHORTCUTS_SHORTCUT
GTK_IS_SHORTCUTS_SHORTCUT
GTK_SHORTCUTS_SHORTCUT_CLASS
GTK_IS_SHORTCUTS_SHORTCUT_CLASS
GTK_GET_SHORTCUTS_SHORTCUT_CLASS
GtkShortcutsShortcutClass
gtk_shortcuts_shortcut_get_type
gtk_shortcuts_shortcut_update_accel
GTK_SHORTCUTS_SHORTCUT_GET_CLASS
gtkshortcutlabel
GtkShortcutLabel
gtk_shortcut_label_new
gtk_shortcut_label_get_accelerator
gtk_shortcut_label_get_disabled_text
gtk_shortcut_label_set_accelerator
gtk_shortcut_label_set_disabled_text
GtkShortcutLabelClass
gtk_shortcut_label_get_type
GTK_TYPE_SHORTCUT_LABEL
GTK_SHORTCUT_LABEL
GTK_SHORTCUT_LABEL_CLASS
GTK_SHORTCUT_LABEL_GET_CLASS
GTK_IS_SHORTCUT_LABEL
GTK_IS_SHORTCUT_LABEL_CLASS
gtkvideo
GtkVideo
gtk_video_new
gtk_video_new_for_media_stream
gtk_video_new_for_file
gtk_video_new_for_filename
gtk_video_new_for_resource
gtk_video_get_media_stream
gtk_video_set_media_stream
gtk_video_get_file
gtk_video_set_file
gtk_video_set_filename
gtk_video_set_resource
gtk_video_get_autoplay
gtk_video_set_autoplay
gtk_video_get_loop
gtk_video_set_loop
gtk_video_get_type
gtkmediacontrols
GtkMediaControls
gtk_media_controls_new
gtk_media_controls_get_media_stream
gtk_media_controls_set_media_stream
gtk_media_controls_get_type
gtkmediafile
GtkMediaFile
gtk_media_file_new
gtk_media_file_new_for_filename
gtk_media_file_new_for_resource
gtk_media_file_new_for_file
gtk_media_file_new_for_input_stream
gtk_media_file_clear
gtk_media_file_set_filename
gtk_media_file_set_resource
gtk_media_file_set_file
gtk_media_file_get_file
gtk_media_file_set_input_stream
gtk_media_file_get_input_stream
GTK_TYPE_MEDIA_FILE
gtk_media_file_get_type
gtkmediastream
GtkMediaStream
GtkMediaStreamClass
gtk_media_stream_is_prepared
gtk_media_stream_get_error
gtk_media_stream_has_audio
gtk_media_stream_has_video
gtk_media_stream_play
gtk_media_stream_pause
gtk_media_stream_get_playing
gtk_media_stream_set_playing
gtk_media_stream_get_ended
gtk_media_stream_get_timestamp
gtk_media_stream_get_duration
gtk_media_stream_is_seekable
gtk_media_stream_is_seeking
gtk_media_stream_seek
gtk_media_stream_get_loop
gtk_media_stream_set_loop
gtk_media_stream_get_muted
gtk_media_stream_set_muted
gtk_media_stream_get_volume
gtk_media_stream_set_volume
gtk_media_stream_realize
gtk_media_stream_unrealize
gtk_media_stream_prepared
gtk_media_stream_unprepared
gtk_media_stream_update
gtk_media_stream_ended
gtk_media_stream_seek_success
gtk_media_stream_seek_failed
gtk_media_stream_gerror
gtk_media_stream_error
gtk_media_stream_error_valist
GTK_TYPE_MEDIA_STREAM
gtk_media_stream_get_type
gtkroot
GtkRoot
GtkRoot
gtk_root_get_display
gtk_root_get_focus
gtk_root_set_focus
gtk_root_get_type
gtknative
GtkNative
gtk_native_get_for_surface
gtk_native_get_surface
gtk_native_get_renderer
gtk_native_check_resize
gtk_native_get_type
gtklayoutmanager
GtkLayoutManager
GtkLayoutManagerClass
gtk_layout_manager_measure
gtk_layout_manager_allocate
gtk_layout_manager_get_request_mode
gtk_layout_manager_get_widget
gtk_layout_manager_get_layout_child
gtk_layout_manager_layout_changed
GTK_TYPE_LAYOUT_MANAGER
gtk_layout_manager_get_type
gtklayoutchild
GtkLayoutChild
GtkLayoutChildClass
gtk_layout_child_get_layout_manager
gtk_layout_child_get_child_widget
GTK_TYPE_LAYOUT_CHILD
gtk_layout_child_get_type
gtkboxlayout
GtkBoxLayout
gtk_box_layout_new
gtk_box_layout_set_homogeneous
gtk_box_layout_get_homogeneous
gtk_box_layout_set_spacing
gtk_box_layout_get_spacing
gtk_box_layout_set_baseline_position
gtk_box_layout_get_baseline_position
GTK_TYPE_BOX_LAYOUT
gtk_box_layout_get_type
gtkcustomlayout
GtkCustomLayout
GtkCustomRequestModeFunc
GtkCustomMeasureFunc
GtkCustomAllocateFunc
gtk_custom_layout_new
GTK_TYPE_CUSTOM_LAYOUT
gtk_custom_layout_get_type
gtkbinlayout
GtkBinLayout
gtk_bin_layout_new
GTK_TYPE_BIN_LAYOUT
gtk_bin_layout_get_type
gtkfixedlayout
GtkFixedLayout
gtk_fixed_layout_new
GtkFixedLayoutChild
gtk_fixed_layout_child_set_transform
gtk_fixed_layout_child_get_transform
GTK_TYPE_FIXED_LAYOUT
gtk_fixed_layout_get_type
GTK_TYPE_FIXED_LAYOUT_CHILD
gtk_fixed_layout_child_get_type
gtkgridlayout
GtkGridLayout
gtk_grid_layout_new
gtk_grid_layout_set_row_homogeneous
gtk_grid_layout_get_row_homogeneous
gtk_grid_layout_set_row_spacing
gtk_grid_layout_get_row_spacing
gtk_grid_layout_set_column_homogeneous
gtk_grid_layout_get_column_homogeneous
gtk_grid_layout_set_column_spacing
gtk_grid_layout_get_column_spacing
gtk_grid_layout_set_row_baseline_position
gtk_grid_layout_get_row_baseline_position
gtk_grid_layout_set_baseline_row
gtk_grid_layout_get_baseline_row
GtkGridLayoutChild
gtk_grid_layout_child_set_top_attach
gtk_grid_layout_child_get_top_attach
gtk_grid_layout_child_set_left_attach
gtk_grid_layout_child_get_left_attach
gtk_grid_layout_child_set_column_span
gtk_grid_layout_child_get_column_span
gtk_grid_layout_child_set_row_span
gtk_grid_layout_child_get_row_span
GTK_TYPE_GRID_LAYOUT
gtk_grid_layout_get_type
GTK_TYPE_GRID_LAYOUT_CHILD
gtk_grid_layout_child_get_type
gtkconstraint
GtkConstraint
GtkConstraintTarget
gtk_constraint_new
gtk_constraint_new_constant
gtk_constraint_get_target
GtkConstraintAttribute
gtk_constraint_get_target_attribute
GtkConstraintRelation
gtk_constraint_get_relation
gtk_constraint_get_source
gtk_constraint_get_source_attribute
gtk_constraint_get_multiplier
gtk_constraint_get_constant
GtkConstraintStrength
gtk_constraint_get_strength
gtk_constraint_is_required
gtk_constraint_is_attached
gtk_constraint_is_constant
GTK_TYPE_CONSTRAINT
gtk_constraint_get_type
GTK_TYPE_CONSTRAINT_TARGET
gtk_constraint_target_get_type
gtkconstraintlayout
GtkConstraintLayout
GtkConstraintLayoutChild
GtkConstraintVflParserError
gtk_constraint_layout_new
gtk_constraint_layout_add_constraint
gtk_constraint_layout_remove_constraint
gtk_constraint_layout_remove_all_constraints
gtk_constraint_layout_add_guide
gtk_constraint_layout_remove_guide
gtk_constraint_layout_add_constraints_from_description
gtk_constraint_layout_add_constraints_from_descriptionv
gtk_constraint_layout_observe_constraints
gtk_constraint_layout_observe_guides
GTK_TYPE_CONSTRAINT_LAYOUT
gtk_constraint_layout_get_type
GTK_TYPE_CONSTRAINT_LAYOUT_CHILD
gtk_constraint_layout_child_get_type
GTK_CONSTRAINT_VFL_PARSER_ERROR
gtk_constraint_vfl_parser_error_quark
gtkconstraintguide
GtkConstraintGuide
gtk_constraint_guide_new
gtk_constraint_guide_set_name
gtk_constraint_guide_get_name
gtk_constraint_guide_set_strength
gtk_constraint_guide_get_strength
gtk_constraint_guide_set_min_size
gtk_constraint_guide_get_min_size
gtk_constraint_guide_set_nat_size
gtk_constraint_guide_get_nat_size
gtk_constraint_guide_set_max_size
gtk_constraint_guide_get_max_size
GTK_TYPE_CONSTRAINT_GUIDE
gtk_constraint_guide_get_tyoe
gtkdragsource
GtkDragSource
gtk_drag_source_new
gtk_drag_source_set_content
gtk_drag_source_get_content
gtk_drag_source_set_actions
gtk_drag_source_get_actions
gtk_drag_source_set_icon
gtk_drag_source_drag_cancel
gtk_drag_source_get_drag
gtk_drag_check_threshold
GTK_TYPE_DRAG_SOURCE
GTK_DRAG_SOURCE
GTK_DRAG_SOURCE_CLASS
GTK_IS_DRAG_SOURCE
GTK_IS_DRAG_SOURCE_CLASS
GTK_DRAG_SOURCE_GET_CLASS
gtk_drag_source_get_type
gtkdroptarget
GtkDropTarget
gtk_drop_target_new
gtk_drop_target_set_formats
gtk_drop_target_get_formats
gtk_drop_target_set_actions
gtk_drop_target_get_actions
gtk_drop_target_get_drop
gtk_drop_target_find_mimetype
gtk_drop_target_read_selection
gtk_drop_target_read_selection_finish
gtk_drag_highlight
gtk_drag_unhighlight
GTK_TYPE_DROP_TARGET
GTK_DROP_TARGET
GTK_DROP_TARGET_CLASS
GTK_IS_DROP_TARGET
GTK_IS_DROP_TARGET_CLASS
GTK_DROP_TARGET_GET_CLASS
gtk_drop_target_get_type
gtkdragicon
GtkDragIcon
gtk_drag_icon_new_for_drag
gtk_drag_icon_set_from_paintable
GTK_TYPE_DRAG_ICON
GTK_DRAG_ICON
GTK_DRAG_ICON_CLASS
GTK_IS_DRAG_ICON
GTK_IS_DRAG_ICON_CLASS
GTK_DRAG_ICON_GET_CLASS
gtk_drag_icon_get_type
gtkemojichooser
GtkEmojiChooser
gtk_emoji_chooser_new
GTK_TYPE_EMOJI_CHOOSER
GTK_EMOJI_CHOOSER
GTK_EMOJI_CHOOSER_CLASS
GTK_IS_EMOJI_CHOOSER
GTK_IS_EMOJI_CHOOSER_CLASS
GTK_EMOJI_CHOOSER_GET_CLASS
gtk_emoji_chooser_get_type
docs/reference/gtk/gtk4-overrides.txt 0000664 0001750 0001750 00000000000 13620320467 017764 0 ustar mclasen mclasen docs/reference/gtk/gtk4.signals 0000664 0001750 0001750 00000135402 13620320472 016620 0 ustar mclasen mclasen
GtkAboutDialog::activate-link
gboolean
l
GtkAboutDialog *aboutdialog
gchar *arg1
GtkAccelGroup::accel-activate
gboolean
d
GtkAccelGroup *accelgroup
GObject *arg1
guint arg2
GdkModifierType arg3
GtkAccelGroup::accel-changed
void
fd
GtkAccelGroup *accelgroup
guint arg1
GdkModifierType arg2
GClosure *arg3
GtkAccelMap::changed
void
ld
GtkAccelMap *accelmap
gchar *arg1
guint arg2
GdkModifierType arg3
GtkAdjustment::changed
void
fr
GtkAdjustment *adjustment
GtkAdjustment::value-changed
void
fr
GtkAdjustment *adjustment
GtkAppChooserButton::changed
void
l
GtkAppChooserButton *appchooserbutton
GtkAppChooserButton::custom-item-activated
void
fd
GtkAppChooserButton *appchooserbutton
gchar *arg1
GtkAppChooserWidget::application-activated
void
f
GtkAppChooserWidget *appchooserwidget
GAppInfo *arg1
GtkAppChooserWidget::application-selected
void
f
GtkAppChooserWidget *appchooserwidget
GAppInfo *arg1
GtkApplication::query-end
void
f
GtkApplication *application
GtkApplication::window-added
void
f
GtkApplication *application
GtkWindow *arg1
GtkApplication::window-removed
void
f
GtkApplication *application
GtkWindow *arg1
GtkAssistant::apply
void
l
GtkAssistant *assistant
GtkAssistant::cancel
void
l
GtkAssistant *assistant
GtkAssistant::close
void
l
GtkAssistant *assistant
GtkAssistant::escape
void
fa
GtkAssistant *assistant
GtkAssistant::prepare
void
l
GtkAssistant *assistant
GtkWidget *widget
GtkButton::activate
void
fa
GtkButton *button
GtkButton::clicked
void
fa
GtkButton *button
GtkCalendar::day-selected
void
f
GtkCalendar *calendar
GtkCalendar::next-month
void
f
GtkCalendar *calendar
GtkCalendar::next-year
void
f
GtkCalendar *calendar
GtkCalendar::prev-month
void
f
GtkCalendar *calendar
GtkCalendar::prev-year
void
f
GtkCalendar *calendar
GtkCellArea::add-editable
void
f
GtkCellArea *cellarea
GtkCellRenderer *arg1
GtkCellEditable *arg2
GdkRectangle *arg3
gchar *arg4
GtkCellArea::apply-attributes
void
f
GtkCellArea *cellarea
GtkTreeModel *arg1
GtkTreeIter *arg2
gboolean arg3
gboolean arg4
GtkCellArea::focus-changed
void
f
GtkCellArea *cellarea
GtkCellRenderer *arg1
gchar *arg2
GtkCellArea::remove-editable
void
f
GtkCellArea *cellarea
GtkCellRenderer *arg1
GtkCellEditable *arg2
GtkCellEditable::editing-done
void
l
GtkCellEditable *celleditable
GtkCellEditable::remove-widget
void
l
GtkCellEditable *celleditable
GtkCellRendererAccel::accel-cleared
void
l
GtkCellRendererAccel *cellrendereraccel
gchar *arg1
GtkCellRendererAccel::accel-edited
void
l
GtkCellRendererAccel *cellrendereraccel
gchar *arg1
guint arg2
GdkModifierType arg3
guint arg4
GtkCellRendererCombo::changed
void
l
GtkCellRendererCombo *cellrenderercombo
gchar *arg1
GtkTreeIter *arg2
GtkCellRenderer::editing-canceled
void
f
GtkCellRenderer *cellrenderer
GtkCellRenderer::editing-started
void
f
GtkCellRenderer *cellrenderer
GtkCellEditable *arg1
gchar *arg2
GtkCellRendererText::edited
void
l
GtkCellRendererText *cellrenderertext
gchar *arg1
gchar *arg2
GtkCellRendererToggle::toggled
void
l
GtkCellRendererToggle *cellrenderertoggle
gchar *arg1
GtkColorButton::color-set
void
f
GtkColorButton *colorbutton
GtkColorChooser::color-activated
void
f
GtkColorChooser *colorchooser
GdkRGBA *arg1
GtkComboBox::changed
void
l
GtkComboBox *combobox
GtkComboBox::format-entry-text
gchar*
l
GtkComboBox *combobox
gchar *arg1
GtkComboBox::move-active
void
la
GtkComboBox *combobox
GtkScrollType arg1
GtkComboBox::popdown
gboolean
la
GtkComboBox *combobox
GtkComboBox::popup
void
la
GtkComboBox *combobox
GtkContainer::add
void
f
GtkContainer *container
GtkWidget *widget
GtkContainer::remove
void
f
GtkContainer *container
GtkWidget *widget
GtkCssProvider::parsing-error
void
l
GtkCssProvider *cssprovider
GtkCssSection *arg1
GError *arg2
GtkDialog::close
void
la
GtkDialog *dialog
GtkDialog::response
void
l
GtkDialog *dialog
gint arg1
GtkDragSource::drag-begin
void
l
GtkDragSource *dragsource
GdkDrag *arg1
GtkDragSource::drag-cancel
gboolean
l
GtkDragSource *dragsource
GdkDrag *arg1
GdkDragCancelReason arg2
GtkDragSource::drag-end
void
l
GtkDragSource *dragsource
GdkDrag *arg1
gboolean arg2
GtkDragSource::prepare
GdkContentProvider*
l
GtkDragSource *dragsource
gdouble arg1
gdouble arg2
GtkDropTarget::accept
gboolean
l
GtkDropTarget *droptarget
GdkDrop *arg1
GtkDropTarget::drag-drop
gboolean
l
GtkDropTarget *droptarget
GdkDrop *arg1
gint arg2
gint arg3
GtkDropTarget::drag-enter
void
l
GtkDropTarget *droptarget
GdkDrop *arg1
GtkDropTarget::drag-leave
void
l
GtkDropTarget *droptarget
GdkDrop *arg1
GtkDropTarget::drag-motion
void
l
GtkDropTarget *droptarget
GdkDrop *arg1
gint arg2
gint arg3
GtkEditable::changed
void
l
GtkEditable *editable
GtkEditable::delete-text
void
l
GtkEditable *editable
gint arg1
gint arg2
GtkEditable::insert-text
void
l
GtkEditable *editable
gchar *arg1
gint arg2
gpointer arg3
GtkEmojiChooser::emoji-picked
void
l
GtkEmojiChooser *emojichooser
gchar *arg1
GtkEntryBuffer::deleted-text
void
l
GtkEntryBuffer *entrybuffer
guint arg1
guint arg2
GtkEntryBuffer::inserted-text
void
f
GtkEntryBuffer *entrybuffer
guint arg1
gchar *arg2
guint arg3
GtkEntryCompletion::action-activated
void
l
GtkEntryCompletion *entrycompletion
gint arg1
GtkEntryCompletion::cursor-on-match
gboolean
l
GtkEntryCompletion *entrycompletion
GtkTreeModel *arg1
GtkTreeIter *arg2
GtkEntryCompletion::insert-prefix
gboolean
l
GtkEntryCompletion *entrycompletion
gchar *arg1
GtkEntryCompletion::match-selected
gboolean
l
GtkEntryCompletion *entrycompletion
GtkTreeModel *arg1
GtkTreeIter *arg2
GtkEntryCompletion::no-matches
void
l
GtkEntryCompletion *entrycompletion
GtkEntry::activate
void
la
GtkEntry *entry
GtkEntry::icon-press
void
l
GtkEntry *entry
GtkEntryIconPosition arg1
GtkEntry::icon-release
void
l
GtkEntry *entry
GtkEntryIconPosition arg1
GtkEventControllerKey::focus-in
void
l
GtkEventControllerKey *eventcontrollerkey
GdkCrossingMode arg1
GdkNotifyType arg2
GtkEventControllerKey::focus-out
void
l
GtkEventControllerKey *eventcontrollerkey
GdkCrossingMode arg1
GdkNotifyType arg2
GtkEventControllerKey::im-update
void
l
GtkEventControllerKey *eventcontrollerkey
GtkEventControllerKey::key-pressed
gboolean
l
GtkEventControllerKey *eventcontrollerkey
guint arg1
guint arg2
GdkModifierType arg3
GtkEventControllerKey::key-released
void
l
GtkEventControllerKey *eventcontrollerkey
guint arg1
guint arg2
GdkModifierType arg3
GtkEventControllerKey::modifiers
gboolean
l
GtkEventControllerKey *eventcontrollerkey
GdkModifierType arg1
GtkEventControllerLegacy::event
gboolean
l
GtkEventControllerLegacy *eventcontrollerlegacy
GdkEvent *arg1
GtkEventControllerMotion::enter
void
f
GtkEventControllerMotion *eventcontrollermotion
gdouble arg1
gdouble arg2
GdkCrossingMode arg3
GdkNotifyType arg4
GtkEventControllerMotion::leave
void
f
GtkEventControllerMotion *eventcontrollermotion
GdkCrossingMode arg1
GdkNotifyType arg2
GtkEventControllerMotion::motion
void
f
GtkEventControllerMotion *eventcontrollermotion
gdouble arg1
gdouble arg2
GtkEventControllerScroll::decelerate
void
f
GtkEventControllerScroll *eventcontrollerscroll
gdouble arg1
gdouble arg2
GtkEventControllerScroll::scroll
gboolean
l
GtkEventControllerScroll *eventcontrollerscroll
gdouble arg1
gdouble arg2
GtkEventControllerScroll::scroll-begin
void
f
GtkEventControllerScroll *eventcontrollerscroll
GtkEventControllerScroll::scroll-end
void
f
GtkEventControllerScroll *eventcontrollerscroll
GtkExpander::activate
void
la
GtkExpander *expander
GtkFileChooserButton::file-set
void
f
GtkFileChooserButton *filechooserbutton
GtkFileChooser::confirm-overwrite
GtkFileChooserConfirmation
l
GtkFileChooser *filechooser
GtkFileChooser::current-folder-changed
void
l
GtkFileChooser *filechooser
GtkFileChooser::file-activated
void
l
GtkFileChooser *filechooser
GtkFileChooser::selection-changed
void
l
GtkFileChooser *filechooser
GtkFileChooser::update-preview
void
l
GtkFileChooser *filechooser
GtkFileChooserWidget::desktop-folder
void
fa
GtkFileChooserWidget *filechooserwidget
GtkFileChooserWidget::down-folder
void
fa
GtkFileChooserWidget *filechooserwidget
GtkFileChooserWidget::home-folder
void
fa
GtkFileChooserWidget *filechooserwidget
GtkFileChooserWidget::location-popup
void
fa
GtkFileChooserWidget *filechooserwidget
gchar *arg1
GtkFileChooserWidget::location-popup-on-paste
void
fa
GtkFileChooserWidget *filechooserwidget
GtkFileChooserWidget::location-toggle-popup
void
fa
GtkFileChooserWidget *filechooserwidget
GtkFileChooserWidget::places-shortcut
void
fa
GtkFileChooserWidget *filechooserwidget
GtkFileChooserWidget::quick-bookmark
void
fa
GtkFileChooserWidget *filechooserwidget
gint arg1
GtkFileChooserWidget::recent-shortcut
void
fa
GtkFileChooserWidget *filechooserwidget
GtkFileChooserWidget::search-shortcut
void
fa
GtkFileChooserWidget *filechooserwidget
GtkFileChooserWidget::show-hidden
void
fa
GtkFileChooserWidget *filechooserwidget
GtkFileChooserWidget::up-folder
void
fa
GtkFileChooserWidget *filechooserwidget
GtkFlowBox::activate-cursor-child
void
la
GtkFlowBox *flowbox
GtkFlowBox::child-activated
void
l
GtkFlowBox *flowbox
GtkFlowBoxChild *arg1
GtkFlowBox::move-cursor
gboolean
la
GtkFlowBox *flowbox
GtkMovementStep arg1
gint arg2
GtkFlowBox::select-all
void
la
GtkFlowBox *flowbox
GtkFlowBox::selected-children-changed
void
f
GtkFlowBox *flowbox
GtkFlowBox::toggle-cursor-child
void
la
GtkFlowBox *flowbox
GtkFlowBox::unselect-all
void
la
GtkFlowBox *flowbox
GtkFlowBoxChild::activate
void
fa
GtkFlowBoxChild *flowboxchild
GtkFontButton::font-set
void
f
GtkFontButton *fontbutton
GtkFontChooser::font-activated
void
f
GtkFontChooser *fontchooser
gchar *arg1
GtkGesture::begin
void
l
GtkGesture *gesture
GdkEventSequence *arg1
GtkGesture::cancel
void
l
GtkGesture *gesture
GdkEventSequence *arg1
GtkGesture::end
void
l
GtkGesture *gesture
GdkEventSequence *arg1
GtkGesture::sequence-state-changed
void
l
GtkGesture *gesture
GdkEventSequence *arg1
GtkEventSequenceState arg2
GtkGesture::update
void
l
GtkGesture *gesture
GdkEventSequence *arg1
GtkGestureClick::pressed
void
l
GtkGestureClick *gestureclick
gint arg1
gdouble arg2
gdouble arg3
GtkGestureClick::released
void
l
GtkGestureClick *gestureclick
gint arg1
gdouble arg2
gdouble arg3
GtkGestureClick::stopped
void
l
GtkGestureClick *gestureclick
GtkGestureClick::unpaired-release
void
l
GtkGestureClick *gestureclick
gdouble arg1
gdouble arg2
guint arg3
GdkEventSequence *arg4
GtkGestureDrag::drag-begin
void
l
GtkGestureDrag *gesturedrag
gdouble arg1
gdouble arg2
GtkGestureDrag::drag-end
void
l
GtkGestureDrag *gesturedrag
gdouble arg1
gdouble arg2
GtkGestureDrag::drag-update
void
l
GtkGestureDrag *gesturedrag
gdouble arg1
gdouble arg2
GtkGestureLongPress::cancelled
void
l
GtkGestureLongPress *gesturelongpress
GtkGestureLongPress::pressed
void
l
GtkGestureLongPress *gesturelongpress
gdouble arg1
gdouble arg2
GtkGesturePan::pan
void
l
GtkGesturePan *gesturepan
GtkPanDirection arg1
gdouble arg2
GtkGestureRotate::angle-changed
void
f
GtkGestureRotate *gesturerotate
gdouble arg1
gdouble arg2
GtkGestureStylus::down
void
l
GtkGestureStylus *gesturestylus
gdouble arg1
gdouble arg2
GtkGestureStylus::motion
void
l
GtkGestureStylus *gesturestylus
gdouble arg1
gdouble arg2
GtkGestureStylus::proximity
void
l
GtkGestureStylus *gesturestylus
gdouble arg1
gdouble arg2
GtkGestureStylus::up
void
l
GtkGestureStylus *gesturestylus
gdouble arg1
gdouble arg2
GtkGestureSwipe::swipe
void
l
GtkGestureSwipe *gestureswipe
gdouble arg1
gdouble arg2
GtkGestureZoom::scale-changed
void
f
GtkGestureZoom *gesturezoom
gdouble arg1
GtkGLArea::create-context
GdkGLContext*
l
GtkGLArea *glarea
GtkGLArea::render
gboolean
l
GtkGLArea *glarea
GdkGLContext *arg1
GtkGLArea::resize
void
l
GtkGLArea *glarea
gint arg1
gint arg2
GtkIconTheme::changed
void
l
GtkIconTheme *icontheme
GtkIconView::activate-cursor-item
gboolean
la
GtkIconView *iconview
GtkIconView::item-activated
void
l
GtkIconView *iconview
GtkTreePath *arg1
GtkIconView::move-cursor
gboolean
la
GtkIconView *iconview
GtkMovementStep arg1
gint arg2
GtkIconView::select-all
void
la
GtkIconView *iconview
GtkIconView::select-cursor-item
void
la
GtkIconView *iconview
GtkIconView::selection-changed
void
f
GtkIconView *iconview
GtkIconView::toggle-cursor-item
void
la
GtkIconView *iconview
GtkIconView::unselect-all
void
la
GtkIconView *iconview
GtkIMContext::commit
void
l
GtkIMContext *imcontext
gchar *arg1
GtkIMContext::delete-surrounding
gboolean
l
GtkIMContext *imcontext
gint arg1
gint arg2
GtkIMContext::preedit-changed
void
l
GtkIMContext *imcontext
GtkIMContext::preedit-end
void
l
GtkIMContext *imcontext
GtkIMContext::preedit-start
void
l
GtkIMContext *imcontext
GtkIMContext::retrieve-surrounding
gboolean
l
GtkIMContext *imcontext
GtkInfoBar::close
void
la
GtkInfoBar *infobar
GtkInfoBar::response
void
l
GtkInfoBar *infobar
gint arg1
GtkLabel::activate-current-link
void
la
GtkLabel *label
GtkLabel::activate-link
gboolean
l
GtkLabel *label
gchar *arg1
GtkLabel::copy-clipboard
void
la
GtkLabel *label
GtkLabel::move-cursor
void
la
GtkLabel *label
GtkMovementStep arg1
gint arg2
gboolean arg3
GtkLinkButton::activate-link
gboolean
l
GtkLinkButton *linkbutton
GtkListBox::activate-cursor-row
void
la
GtkListBox *listbox
GtkListBox::move-cursor
void
la
GtkListBox *listbox
GtkMovementStep arg1
gint arg2
GtkListBox::row-activated
void
l
GtkListBox *listbox
GtkListBoxRow *arg1
GtkListBox::row-selected
void
l
GtkListBox *listbox
GtkListBoxRow *arg1
GtkListBox::select-all
void
la
GtkListBox *listbox
GtkListBox::selected-rows-changed
void
f
GtkListBox *listbox
GtkListBox::toggle-cursor-row
void
la
GtkListBox *listbox
GtkListBox::unselect-all
void
la
GtkListBox *listbox
GtkListBoxRow::activate
void
fa
GtkListBoxRow *listboxrow
GtkNotebook::change-current-page
gboolean
la
GtkNotebook *notebook
gint arg1
GtkNotebook::create-window
GtkNotebook*
l
GtkNotebook *notebook
GtkWidget *widget
GtkNotebook::focus-tab
gboolean
la
GtkNotebook *notebook
GtkNotebookTab arg1
GtkNotebook::move-focus-out
void
la
GtkNotebook *notebook
GtkDirectionType arg1
GtkNotebook::page-added
void
l
GtkNotebook *notebook
GtkWidget *widget
guint arg1
GtkNotebook::page-removed
void
l
GtkNotebook *notebook
GtkWidget *widget
guint arg1
GtkNotebook::page-reordered
void
l
GtkNotebook *notebook
GtkWidget *widget
guint arg1
GtkNotebook::reorder-tab
gboolean
la
GtkNotebook *notebook
GtkDirectionType arg1
gboolean arg2
GtkNotebook::select-page
gboolean
la
GtkNotebook *notebook
gboolean arg1
GtkNotebook::switch-page
void
l
GtkNotebook *notebook
GtkWidget *widget
guint arg1
GtkOverlay::get-child-position
gboolean
l
GtkOverlay *overlay
GtkWidget *widget
GdkRectangle *arg1
GtkPaned::accept-position
gboolean
la
GtkPaned *paned
GtkPaned::cancel-position
gboolean
la
GtkPaned *paned
GtkPaned::cycle-child-focus
gboolean
la
GtkPaned *paned
gboolean arg1
GtkPaned::cycle-handle-focus
gboolean
la
GtkPaned *paned
gboolean arg1
GtkPaned::move-handle
gboolean
la
GtkPaned *paned
GtkScrollType arg1
GtkPaned::toggle-handle-focus
gboolean
la
GtkPaned *paned
GtkPopover::activate-default
void
la
GtkPopover *popover
GtkPopover::closed
void
l
GtkPopover *popover
GtkPrinter::details-acquired
void
l
GtkPrinter *printer
gboolean arg1
GtkPrintJob::status-changed
void
l
GtkPrintJob *printjob
GtkPrintOperation::begin-print
void
l
GtkPrintOperation *printoperation
GtkPrintContext *arg1
GtkPrintOperation::create-custom-widget
GObject*
l
GtkPrintOperation *printoperation
GtkPrintOperation::custom-widget-apply
void
l
GtkPrintOperation *printoperation
GtkWidget *widget
GtkPrintOperation::done
void
l
GtkPrintOperation *printoperation
GtkPrintOperationResult arg1
GtkPrintOperation::draw-page
void
l
GtkPrintOperation *printoperation
GtkPrintContext *arg1
gint arg2
GtkPrintOperation::end-print
void
l
GtkPrintOperation *printoperation
GtkPrintContext *arg1
GtkPrintOperation::paginate
gboolean
l
GtkPrintOperation *printoperation
GtkPrintContext *arg1
GtkPrintOperation::preview
gboolean
l
GtkPrintOperation *printoperation
GtkPrintOperationPreview *arg1
GtkPrintContext *arg2
GtkWindow *arg3
GtkPrintOperation::request-page-setup
void
l
GtkPrintOperation *printoperation
GtkPrintContext *arg1
gint arg2
GtkPageSetup *arg3
GtkPrintOperation::status-changed
void
l
GtkPrintOperation *printoperation
GtkPrintOperation::update-custom-widget
void
l
GtkPrintOperation *printoperation
GtkWidget *widget
GtkPageSetup *arg1
GtkPrintSettings *arg2
GtkPrintOperationPreview::got-page-size
void
l
GtkPrintOperationPreview *printoperationpreview
GtkPrintContext *arg1
GtkPageSetup *arg2
GtkPrintOperationPreview::ready
void
l
GtkPrintOperationPreview *printoperationpreview
GtkPrintContext *arg1
GtkRadioButton::group-changed
void
f
GtkRadioButton *radiobutton
GtkRange::adjust-bounds
void
l
GtkRange *range
gdouble arg1
GtkRange::change-value
gboolean
l
GtkRange *range
GtkScrollType arg1
gdouble arg2
GtkRange::move-slider
void
la
GtkRange *range
GtkScrollType arg1
GtkRange::value-changed
void
l
GtkRange *range
GtkRecentManager::changed
void
f
GtkRecentManager *recentmanager
GtkScaleButton::popdown
void
la
GtkScaleButton *scalebutton
GtkScaleButton::popup
void
la
GtkScaleButton *scalebutton
GtkScaleButton::value-changed
void
l
GtkScaleButton *scalebutton
gdouble arg1
GtkScrolledWindow::edge-overshot
void
l
GtkScrolledWindow *scrolledwindow
GtkPositionType arg1
GtkScrolledWindow::edge-reached
void
l
GtkScrolledWindow *scrolledwindow
GtkPositionType arg1
GtkScrolledWindow::move-focus-out
void
la
GtkScrolledWindow *scrolledwindow
GtkDirectionType arg1
GtkScrolledWindow::scroll-child
gboolean
la
GtkScrolledWindow *scrolledwindow
GtkScrollType arg1
gboolean arg2
GtkSearchEntry::activate
void
la
GtkSearchEntry *searchentry
GtkSearchEntry::next-match
void
la
GtkSearchEntry *searchentry
GtkSearchEntry::previous-match
void
la
GtkSearchEntry *searchentry
GtkSearchEntry::search-changed
void
l
GtkSearchEntry *searchentry
GtkSearchEntry::search-started
void
l
GtkSearchEntry *searchentry
GtkSearchEntry::stop-search
void
la
GtkSearchEntry *searchentry
GtkSelectionModel::selection-changed
void
l
GtkSelectionModel *selectionmodel
guint arg1
guint arg2
GtkShortcutsWindow::close
void
la
GtkShortcutsWindow *shortcutswindow
GtkShortcutsWindow::search
void
la
GtkShortcutsWindow *shortcutswindow
GtkShortcutsSection::change-current-page
gboolean
la
GtkShortcutsSection *shortcutssection
gint arg1
GtkSpinButton::change-value
void
la
GtkSpinButton *spinbutton
GtkScrollType arg1
GtkSpinButton::input
gint
l
GtkSpinButton *spinbutton
gpointer arg1
GtkSpinButton::output
gboolean
l
GtkSpinButton *spinbutton
GtkSpinButton::value-changed
void
l
GtkSpinButton *spinbutton
GtkSpinButton::wrapped
void
l
GtkSpinButton *spinbutton
GtkStatusbar::text-popped
void
l
GtkStatusbar *statusbar
guint arg1
gchar *arg2
GtkStatusbar::text-pushed
void
l
GtkStatusbar *statusbar
guint arg1
gchar *arg2
GtkSwitch::activate
void
fa
GtkSwitch *switch
GtkSwitch::state-set
gboolean
l
GtkSwitch *switch
gboolean arg1
GtkLevelBar::offset-changed
void
fd
GtkLevelBar *levelbar
gchar *arg1
GtkStyleProvider::gtk-private-changed
void
l
GtkStyleProvider *styleprovider
GtkTextBuffer::apply-tag
void
l
GtkTextBuffer *textbuffer
GtkTextTag *arg1
GtkTextIter *arg2
GtkTextIter *arg3
GtkTextBuffer::begin-user-action
void
l
GtkTextBuffer *textbuffer
GtkTextBuffer::changed
void
l
GtkTextBuffer *textbuffer
GtkTextBuffer::delete-range
void
l
GtkTextBuffer *textbuffer
GtkTextIter *arg1
GtkTextIter *arg2
GtkTextBuffer::end-user-action
void
l
GtkTextBuffer *textbuffer
GtkTextBuffer::insert-child-anchor
void
l
GtkTextBuffer *textbuffer
GtkTextIter *arg1
GtkTextChildAnchor *arg2
GtkTextBuffer::insert-paintable
void
l
GtkTextBuffer *textbuffer
GtkTextIter *arg1
GdkPaintable *arg2
GtkTextBuffer::insert-text
void
l
GtkTextBuffer *textbuffer
GtkTextIter *arg1
gchar *arg2
gint arg3
GtkTextBuffer::mark-deleted
void
l
GtkTextBuffer *textbuffer
GtkTextMark *arg1
GtkTextBuffer::mark-set
void
l
GtkTextBuffer *textbuffer
GtkTextIter *arg1
GtkTextMark *arg2
GtkTextBuffer::modified-changed
void
l
GtkTextBuffer *textbuffer
GtkTextBuffer::paste-done
void
l
GtkTextBuffer *textbuffer
GdkClipboard *arg1
GtkTextBuffer::redo
void
l
GtkTextBuffer *textbuffer
GtkTextBuffer::remove-tag
void
l
GtkTextBuffer *textbuffer
GtkTextTag *arg1
GtkTextIter *arg2
GtkTextIter *arg3
GtkTextBuffer::undo
void
l
GtkTextBuffer *textbuffer
GtkText::activate
void
la
GtkText *text
GtkText::backspace
void
la
GtkText *text
GtkText::copy-clipboard
void
la
GtkText *text
GtkText::cut-clipboard
void
la
GtkText *text
GtkText::delete-from-cursor
void
la
GtkText *text
GtkDeleteType arg1
gint arg2
GtkText::insert-at-cursor
void
la
GtkText *text
gchar *arg1
GtkText::insert-emoji
void
la
GtkText *text
GtkText::move-cursor
void
la
GtkText *text
GtkMovementStep arg1
gint arg2
gboolean arg3
GtkText::paste-clipboard
void
la
GtkText *text
GtkText::preedit-changed
void
la
GtkText *text
gchar *arg1
GtkText::toggle-overwrite
void
la
GtkText *text
GtkTextTagTable::tag-added
void
l
GtkTextTagTable *texttagtable
GtkTextTag *arg1
GtkTextTagTable::tag-changed
void
l
GtkTextTagTable *texttagtable
GtkTextTag *arg1
gboolean arg2
GtkTextTagTable::tag-removed
void
l
GtkTextTagTable *texttagtable
GtkTextTag *arg1
GtkTextView::backspace
void
la
GtkTextView *textview
GtkTextView::copy-clipboard
void
la
GtkTextView *textview
GtkTextView::cut-clipboard
void
la
GtkTextView *textview
GtkTextView::delete-from-cursor
void
la
GtkTextView *textview
GtkDeleteType arg1
gint arg2
GtkTextView::extend-selection
gboolean
l
GtkTextView *textview
GtkTextExtendSelection arg1
GtkTextIter *arg2
GtkTextIter *arg3
GtkTextIter *arg4
GtkTextView::insert-at-cursor
void
la
GtkTextView *textview
gchar *arg1
GtkTextView::insert-emoji
void
la
GtkTextView *textview
GtkTextView::move-cursor
void
la
GtkTextView *textview
GtkMovementStep arg1
gint arg2
gboolean arg3
GtkTextView::move-viewport
void
la
GtkTextView *textview
GtkScrollStep arg1
gint arg2
GtkTextView::paste-clipboard
void
la
GtkTextView *textview
GtkTextView::preedit-changed
void
la
GtkTextView *textview
gchar *arg1
GtkTextView::select-all
void
la
GtkTextView *textview
gboolean arg1
GtkTextView::set-anchor
void
la
GtkTextView *textview
GtkTextView::toggle-cursor-visible
void
la
GtkTextView *textview
GtkTextView::toggle-overwrite
void
la
GtkTextView *textview
GtkToggleButton::toggled
void
f
GtkToggleButton *togglebutton
GtkTreeModel::row-changed
void
l
GtkTreeModel *treemodel
GtkTreePath *arg1
GtkTreeIter *arg2
GtkTreeModel::row-deleted
void
f
GtkTreeModel *treemodel
GtkTreePath *arg1
GtkTreeModel::row-has-child-toggled
void
l
GtkTreeModel *treemodel
GtkTreePath *arg1
GtkTreeIter *arg2
GtkTreeModel::row-inserted
void
f
GtkTreeModel *treemodel
GtkTreePath *arg1
GtkTreeIter *arg2
GtkTreeModel::rows-reordered
void
f
GtkTreeModel *treemodel
GtkTreePath *arg1
GtkTreeIter *arg2
gpointer arg3
GtkTreeSelection::changed
void
f
GtkTreeSelection *treeselection
GtkTreeSortable::sort-column-changed
void
l
GtkTreeSortable *treesortable
GtkTreeViewColumn::clicked
void
l
GtkTreeViewColumn *treeviewcolumn
GtkTreeView::columns-changed
void
l
GtkTreeView *treeview
GtkTreeView::cursor-changed
void
l
GtkTreeView *treeview
GtkTreeView::expand-collapse-cursor-row
gboolean
la
GtkTreeView *treeview
gboolean arg1
gboolean arg2
gboolean arg3
GtkTreeView::move-cursor
gboolean
la
GtkTreeView *treeview
GtkMovementStep arg1
gint arg2
GtkTreeView::row-activated
void
la
GtkTreeView *treeview
GtkTreePath *arg1
GtkTreeViewColumn *arg2
GtkTreeView::row-collapsed
void
l
GtkTreeView *treeview
GtkTreeIter *arg1
GtkTreePath *arg2
GtkTreeView::row-expanded
void
l
GtkTreeView *treeview
GtkTreeIter *arg1
GtkTreePath *arg2
GtkTreeView::select-all
gboolean
la
GtkTreeView *treeview
GtkTreeView::select-cursor-parent
gboolean
la
GtkTreeView *treeview
GtkTreeView::select-cursor-row
gboolean
la
GtkTreeView *treeview
gboolean arg1
GtkTreeView::start-interactive-search
gboolean
la
GtkTreeView *treeview
GtkTreeView::test-collapse-row
gboolean
l
GtkTreeView *treeview
GtkTreeIter *arg1
GtkTreePath *arg2
GtkTreeView::test-expand-row
gboolean
l
GtkTreeView *treeview
GtkTreeIter *arg1
GtkTreePath *arg2
GtkTreeView::toggle-cursor-row
gboolean
la
GtkTreeView *treeview
GtkTreeView::unselect-all
gboolean
la
GtkTreeView *treeview
GtkWidget::accel-closures-changed
void
GtkWidget *widget
GtkWidget::can-activate-accel
gboolean
l
GtkWidget *widget
guint arg1
GtkWidget::destroy
void
crh
GtkWidget *widget
GtkWidget::direction-changed
void
f
GtkWidget *widget
GtkTextDirection arg1
GtkWidget::grab-notify
void
f
GtkWidget *widget
gboolean arg1
GtkWidget::hide
void
f
GtkWidget *widget
GtkWidget::keynav-failed
gboolean
l
GtkWidget *widget
GtkDirectionType arg1
GtkWidget::map
void
f
GtkWidget *widget
GtkWidget::mnemonic-activate
gboolean
l
GtkWidget *widget
gboolean arg1
GtkWidget::move-focus
void
la
GtkWidget *widget
GtkDirectionType arg1
GtkWidget::popup-menu
gboolean
la
GtkWidget *widget
GtkWidget::query-tooltip
gboolean
l
GtkWidget *widget
gint arg1
gint arg2
gboolean arg3
GtkTooltip *arg4
GtkWidget::realize
void
f
GtkWidget *widget
GtkWidget::show
void
f
GtkWidget *widget
GtkWidget::size-allocate
void
f
GtkWidget *widget
gint arg1
gint arg2
gint arg3
GtkWidget::state-flags-changed
void
f
GtkWidget *widget
GtkStateFlags arg1
GtkWidget::unmap
void
f
GtkWidget *widget
GtkWidget::unrealize
void
l
GtkWidget *widget
GtkWindow::activate-default
void
la
GtkWindow *window
GtkWindow::activate-focus
void
la
GtkWindow *window
GtkWindow::close-request
gboolean
l
GtkWindow *window
GtkWindow::enable-debugging
gboolean
la
GtkWindow *window
gboolean arg1
GtkWindow::keys-changed
void
f
GtkWindow *window
docs/reference/gtk/gtk4.hierarchy 0000664 0001750 0001750 00000017237 13620320472 017143 0 ustar mclasen mclasen GObject
GInitiallyUnowned
GtkWidget
GtkContainer
GtkBin
GtkWindow
GtkDialog
GtkAboutDialog
GtkAppChooserDialog
GtkColorChooserDialog
GtkFileChooserDialog
GtkFontChooserDialog
GtkMessageDialog
GtkPageSetupUnixDialog
GtkPrintUnixDialog
GtkApplicationWindow
GtkAssistant
GtkShortcutsWindow
GtkFrame
GtkAspectFrame
GtkButton
GtkToggleButton
GtkCheckButton
GtkRadioButton
GtkLinkButton
GtkLockButton
GtkScaleButton
GtkVolumeButton
GtkComboBox
GtkComboBoxText
GtkPopover
GtkEmojiChooser
GtkPopoverMenu
GtkFlowBoxChild
GtkListBoxRow
GtkOverlay
GtkRevealer
GtkScrolledWindow
GtkSearchBar
GtkViewport
GtkActionBar
GtkBox
GtkShortcutsSection
GtkShortcutsGroup
GtkDragIcon
GtkExpander
GtkFixed
GtkFlowBox
GtkGrid
GtkHeaderBar
GtkIconView
GtkInfoBar
GtkListBox
GtkNotebook
GtkPaned
GtkStack
GtkTextView
GtkTreeView
GtkAccelLabel
GtkAppChooserButton
GtkAppChooserWidget
GtkCalendar
GtkCellView
GtkColorButton
GtkColorChooserWidget
GtkDrawingArea
GtkEntry
GtkFileChooserButton
GtkFileChooserWidget
GtkFontButton
GtkFontChooserWidget
GtkGLArea
GtkImage
GtkLabel
GtkMediaControls
GtkMenuButton
GtkPasswordEntry
GtkPicture
GtkPopoverMenuBar
GtkProgressBar
GtkRange
GtkScale
GtkScrollbar
GtkSearchEntry
GtkSeparator
GtkShortcutLabel
GtkShortcutsShortcut
GtkSpinButton
GtkSpinner
GtkStackSidebar
GtkStackSwitcher
GtkStatusbar
GtkSwitch
GtkLevelBar
GtkText
GtkVideo
GtkAdjustment
GtkCellArea
GtkCellAreaBox
GtkCellRenderer
GtkCellRendererText
GtkCellRendererAccel
GtkCellRendererCombo
GtkCellRendererSpin
GtkCellRendererPixbuf
GtkCellRendererProgress
GtkCellRendererSpinner
GtkCellRendererToggle
GtkFileFilter
GtkTreeViewColumn
GtkAccelGroup
GtkAccelMap
AtkObject
GtkAccessible
GtkWidgetAccessible
GtkContainerAccessible
GtkWindowAccessible
GtkAssistantAccessible
GtkFrameAccessible
GtkButtonAccessible
GtkToggleButtonAccessible
GtkRadioButtonAccessible
GtkLinkButtonAccessible
GtkLockButtonAccessible
GtkScaleButtonAccessible
GtkComboBoxAccessible
GtkExpanderAccessible
GtkFlowBoxAccessible
GtkIconViewAccessible
GtkListBoxAccessible
GtkListBoxRowAccessible
GtkNotebookAccessible
GtkPanedAccessible
GtkScrolledWindowAccessible
GtkStackAccessible
GtkTextViewAccessible
GtkTreeViewAccessible
GtkCompositeAccessible
GtkEntryAccessible
GtkImageAccessible
GtkLabelAccessible
GtkMenuButtonAccessible
GtkPictureAccessible
GtkProgressBarAccessible
GtkRangeAccessible
GtkScaleAccessible
GtkSpinButtonAccessible
GtkSpinnerAccessible
GtkStatusbarAccessible
GtkSwitchAccessible
GtkLevelBarAccessible
GtkTextAccessible
GtkCellAccessible
GtkRendererCellAccessible
GtkTextCellAccessible
GtkImageCellAccessible
GtkBooleanCellAccessible
GApplication
GtkApplication
GtkAssistantPage
GtkLayoutManager
GtkBinLayout
GtkBoxLayout
GtkConstraintLayout
GtkFixedLayout
GtkGridLayout
GtkCenterLayout
GtkOverlayLayout
GtkBuilderCScope
GtkBuilder
GtkCellAreaContext
GtkConstraint
GtkConstraintGuide
GtkCssProvider
GtkEventController
GtkGesture
GtkGestureSingle
GtkDragSource
GtkGestureClick
GtkGestureDrag
GtkGesturePan
GtkGestureLongPress
GtkGestureStylus
GtkGestureSwipe
GtkGestureRotate
GtkGestureZoom
GtkDropTarget
GtkEventControllerKey
GtkEventControllerLegacy
GtkEventControllerMotion
GtkEventControllerScroll
GtkPadController
GtkEntryBuffer
GtkEntryCompletion
GtkFilterListModel
GtkFlattenListModel
GtkLayoutChild
GtkGridLayoutChild
GtkConstraintLayoutChild
GtkFixedLayoutChild
GtkIconTheme
GtkIMContext
GtkIMContextSimple
GtkIMMulticontext
GtkListStore
GtkMapListModel
GtkMediaStream
GtkMediaFile
GMountOperation
GtkMountOperation
GtkNoSelection
GtkNotebookPage
GtkPageSetup
GtkPrinter
GtkPrintContext
GtkPrintJob
GtkPrintOperation
GtkPrintSettings
GtkRecentManager
GtkSettings
GtkSingleSelection
GtkSizeGroup
GtkSliceListModel
GdkSnapshot
GtkSnapshot
GtkSortListModel
GtkStackPage
GtkStyleContext
GtkTextBuffer
GtkTextChildAnchor
GtkTextMark
GtkTextTag
GtkTextTagTable
GtkTreeListModel
GtkTreeListRow
GtkTreeModelFilter
GtkTreeModelSort
GtkTreeSelection
GtkTreeStore
GtkWindowGroup
GdkCursor
GtkTooltip
GdkDisplayManager
GdkDisplay
GListStore
GApplicationCommandLine
GMenuModel
GdkPixbuf
GdkTexture
GdkContentProvider
GdkDrag
GdkDrop
GdkEvent
GThemedIcon
GdkDrawContext
GdkGLContext
GPermission
GInputStream
GMemoryInputStream
GFilterInputStream
GBufferedInputStream
GDataInputStream
GSocketInputStream
GdkDevice
GtkPrintBackend
GdkClipboard
GTask
GDBusAuthObserver
GCredentials
GIOStream
GSocketConnection
GUnixConnection
GTcpConnection
GDBusConnection
GDBusProxy
GSocketAddress
GUnixSocketAddress
GInetSocketAddress
GProxyAddress
GSocket
GSocketClient
GSocketAddressEnumerator
GSocketAddressAddressEnumerator
GOutputStream
GFilterOutputStream
GDataOutputStream
GSocketOutputStream
GDBusAuth
GDBusAuthMechanism
GDBusAuthMechanismAnon
GDBusAuthMechanismSha1
GDBusAuthMechanismExternal
GSocketControlMessage
GUnixCredentialsMessage
GInterface
GTypePlugin
AtkImplementorIface
GtkBuildable
GtkConstraintTarget
GtkNative
GtkRoot
GtkActionable
GtkAppChooser
GActionGroup
GActionMap
GtkOrientable
GtkBuilderScope
GtkCellLayout
GtkCellEditable
GtkColorChooser
GtkStyleProvider
GtkEditable
GtkFileChooser
GtkFileChooserEmbed
GListModel
GtkFontChooser
GtkScrollable
GtkTreeModel
GtkTreeDragSource
GtkTreeDragDest
GtkTreeSortable
GdkPaintable
GtkSelectionModel
GtkPrintOperationPreview
AtkComponent
AtkWindow
GFile
GAppInfo
AtkAction
AtkImage
AtkTableCell
AtkText
GIcon
GLoadableIcon
AtkSelection
AtkEditableText
GAction
AtkHypertext
AtkHyperlinkImpl
AtkValue
GAsyncResult
GSeekable
GPollableInputStream
GInitable
GAsyncInitable
GDBusInterface
GSocketConnectable
GDatagramBased
AtkTable
GtkCellAccessibleParent
GProxyResolver
GFileDescriptorBased
GPollableOutputStream
GBoxed
GValueArray
GtkPaperSize
GtkTextIter
GStrv
GClosure
GVariantDict
GtkTreeIter
GdkRectangle
CairoRectangleInt
GdkRGBA
PangoAttrList
PangoFontDescription
GError
GtkCssSection
GdkEventSequence
GdkContentFormats
PangoTabArray
GtkDelayedFontDescription
GtkTreePath
GArray
GDBusInterfaceInfo
GdkFileList
GByteArray
docs/reference/gtk/gtk4-undeclared.txt 0000664 0001750 0001750 00000000563 13620320501 020073 0 ustar mclasen mclasen GtkCalendarDisplayOptions
gtk_calendar_get_display_options
gtk_calendar_select_month
gtk_calendar_set_display_options
gtk_drag_highlight
gtk_drag_unhighlight
gtk_icon_theme_choose_icon_async
gtk_icon_theme_choose_icon_finish
gtk_style_context_set_parent
gtk_text_buffer_insert_texture
gtk_text_iter_get_texture
gtk_widget_get_tooltip_window
gtk_widget_set_tooltip_window
docs/reference/gtk/gtk4.args 0000664 0001750 0001750 00000657076 13617646175 016155 0 ustar mclasen mclasen
GtkAboutDialog::artists
GStrv
rw
Artists
List of people who have contributed artwork to the program.
GtkAboutDialog::authors
GStrv
rw
Authors
List of authors of the program.
GtkAboutDialog::comments
gchar*
rw
Comments string
Comments about the program.
NULL
GtkAboutDialog::copyright
gchar*
rw
Copyright string
Copyright information for the program.
NULL
GtkAboutDialog::documenters
GStrv
rw
Documenters
List of people documenting the program.
GtkAboutDialog::license
gchar*
rw
License
The license of the program.
NULL
GtkAboutDialog::license-type
GtkLicense
rw
License Type
The license type of the program.
GTK_LICENSE_UNKNOWN
GtkAboutDialog::logo
GdkPaintable*
rw
Logo
A logo for the about box.
GtkAboutDialog::logo-icon-name
gchar*
rw
Logo Icon Name
A named icon to use as the logo for the about box.
"image-missing"
GtkAboutDialog::program-name
gchar*
rw
Program name
The name of the program. If this is not set, it defaults to g_get_application_name().
NULL
GtkAboutDialog::system-information
gchar*
rw
System Information
Information about the system on which the program is running.
NULL
GtkAboutDialog::translator-credits
gchar*
rw
Translator credits
Credits to the translators. This string should be marked as translatable.
NULL
GtkAboutDialog::version
gchar*
rw
Program version
The version of the program.
NULL
GtkAboutDialog::website
gchar*
rw
Website URL
The URL for the link to the website of the program.
NULL
GtkAboutDialog::website-label
gchar*
rw
Website label
The label for the link to the website of the program.
NULL
GtkAboutDialog::wrap-license
gboolean
rw
Wrap license
Whether to wrap the license text.
FALSE
GtkAccelGroup::is-locked
gboolean
r
Is locked
Is the accel group locked.
FALSE
GtkAccelGroup::modifier-mask
GdkModifierType
r
Modifier Mask
Modifier Mask.
GtkAccelLabel::accel-closure
GClosure*
rw
Accelerator Closure
The closure to be monitored for accelerator changes.
GtkAccelLabel::accel-widget
GtkWidget*
rw
Accelerator Widget
The widget to be monitored for accelerator changes.
GtkAccelLabel::label
gchar*
rw
Label
The text displayed next to the accelerator.
""
GtkAccelLabel::use-underline
gboolean
rw
Use underline
If set, an underline in the text indicates the next character should be used for the mnemonic accelerator key.
FALSE
GtkAccessible::widget
GtkWidget*
rw
Widget
The widget referenced by this accessible.
GtkActionable::action-name
gchar*
rw
Action name
The name of the associated action, like “app.quit”.
NULL
GtkActionable::action-target
GVariant*
GVariant<*>
rw
Action target value
The parameter for action invocations.
NULL
GtkActionBar::revealed
gboolean
rw
Reveal
Controls whether the action bar shows its contents or not.
TRUE
GtkAdjustment::lower
gdouble
rw
Minimum Value
The minimum value of the adjustment.
0
GtkAdjustment::page-increment
gdouble
rw
Page Increment
The page increment of the adjustment.
0
GtkAdjustment::page-size
gdouble
rw
Page Size
The page size of the adjustment.
0
GtkAdjustment::step-increment
gdouble
rw
Step Increment
The step increment of the adjustment.
0
GtkAdjustment::upper
gdouble
rw
Maximum Value
The maximum value of the adjustment.
0
GtkAdjustment::value
gdouble
rw
Value
The value of the adjustment.
0
GtkAppChooser::content-type
gchar*
rwX
Content type
The content type used by the open with object.
NULL
GtkAppChooserButton::heading
gchar*
rw
Heading
The text to show at the top of the dialog.
NULL
GtkAppChooserButton::show-default-item
gboolean
rwx
Show default item
Whether the combobox should show the default application on top.
FALSE
GtkAppChooserButton::show-dialog-item
gboolean
rwx
Include an “Other…” item
Whether the combobox should include an item that triggers a GtkAppChooserDialog.
FALSE
GtkAppChooserDialog::gfile
GFile*
rwX
GFile
The GFile used by the app chooser dialog.
GtkAppChooserDialog::heading
gchar*
rw
Heading
The text to show at the top of the dialog.
NULL
GtkAppChooserWidget::default-text
gchar*
rw
Widget’s default text
The default text appearing when there are no applications.
NULL
GtkAppChooserWidget::show-all
gboolean
rwx
Show all apps
Whether the widget should show all applications.
FALSE
GtkAppChooserWidget::show-default
gboolean
rwx
Show default app
Whether the widget should show the default application.
FALSE
GtkAppChooserWidget::show-fallback
gboolean
rwx
Show fallback apps
Whether the widget should show fallback applications.
FALSE
GtkAppChooserWidget::show-other
gboolean
rwx
Show other apps
Whether the widget should show other applications.
FALSE
GtkAppChooserWidget::show-recommended
gboolean
rwx
Show recommended apps
Whether the widget should show recommended applications.
TRUE
GtkApplication::active-window
GtkWindow*
r
Active window
The window which most recently had focus.
GtkApplication::app-menu
GMenuModel*
rw
Application menu
The GMenuModel for the application menu.
GtkApplication::menubar
GMenuModel*
rw
Menubar
The GMenuModel for the menubar.
GtkApplication::register-session
gboolean
rw
Register session
Register with the session manager.
FALSE
GtkApplication::screensaver-active
gboolean
r
Screensaver Active
Whether the screensaver is active.
FALSE
GtkApplicationWindow::show-menubar
gboolean
rwx
Show a menubar
TRUE if the window should show a menubar at the top of the window.
TRUE
GtkAspectFrame::obey-child
gboolean
rw
Obey child
Force aspect ratio to match that of the frame’s child.
TRUE
GtkAspectFrame::ratio
gfloat
[0.0001,10000]
rw
Ratio
Aspect ratio if obey_child is FALSE.
1
GtkAspectFrame::xalign
gfloat
[0,1]
rw
Horizontal Alignment
X alignment of the child.
0.5
GtkAspectFrame::yalign
gfloat
[0,1]
rw
Vertical Alignment
Y alignment of the child.
0.5
GtkAssistant::pages
GListModel*
r
Pages
The pages of the assistant.
GtkAssistant::use-header-bar
gint
[-1,1]
rwX
Use Header Bar
Use Header Bar for actions.
-1
GtkAssistantPage::child
GtkWidget*
rwX
Child widget
The content the assistant page.
GtkAssistantPage::complete
gboolean
rw
Page complete
Whether all required fields on the page have been filled out.
FALSE
GtkAssistantPage::page-type
GtkAssistantPageType
rw
Page type
The type of the assistant page.
GTK_ASSISTANT_PAGE_CONTENT
GtkAssistantPage::title
gchar*
rw
Page title
The title of the assistant page.
NULL
GtkBox::baseline-position
GtkBaselinePosition
rw
Baseline position
The position of the baseline aligned widgets if extra space is available.
GTK_BASELINE_POSITION_CENTER
GtkBox::homogeneous
gboolean
rw
Homogeneous
Whether the children should all be the same size.
FALSE
GtkBox::spacing
gint
>= 0
rw
Spacing
The amount of space between children.
0
GtkBoxLayout::baseline-position
GtkBaselinePosition
rw
Baseline position
The position of the baseline aligned widgets if extra space is available.
GTK_BASELINE_POSITION_CENTER
GtkBoxLayout::homogeneous
gboolean
rw
Homogeneous
Distribute space homogeneously.
FALSE
GtkBoxLayout::spacing
gint
>= 0
rw
Spacing
Spacing between widgets.
0
GtkBuilder::current-object
GObject*
rw
Current object
The object the builder is evaluating for.
GtkBuilder::scope
GtkBuilderScope*
rwx
Scope
The scope the builder is operating in.
GtkBuilder::translation-domain
gchar*
rw
Translation Domain
The translation domain used by gettext.
NULL
GtkButton::icon-name
gchar*
rw
Icon Name
The name of the icon used to automatically populate the button.
NULL
GtkButton::label
gchar*
rw
Label
Text of the label widget inside the button, if the button contains a label widget.
NULL
GtkButton::relief
GtkReliefStyle
rw
Border relief
The border relief style.
GTK_RELIEF_NORMAL
GtkButton::use-underline
gboolean
rw
Use underline
If set, an underline in the text indicates the next character should be used for the mnemonic accelerator key.
FALSE
GtkCalendar::day
gint
[0,31]
r
Day
The selected day (as a number between 1 and 31, or 0 to unselect the currently selected day).
0
GtkCalendar::month
gint
[0,11]
r
Month
The selected month (as a number between 0 and 11).
0
GtkCalendar::show-day-names
gboolean
rw
Show Day Names
If TRUE, day names are displayed.
TRUE
GtkCalendar::show-heading
gboolean
rw
Show Heading
If TRUE, a heading is displayed.
TRUE
GtkCalendar::show-week-numbers
gboolean
rw
Show Week Numbers
If TRUE, week numbers are displayed.
FALSE
GtkCalendar::year
gint
[0,4194303]
r
Year
The selected year.
0
GtkCellArea::edit-widget
GtkCellEditable*
r
Edit Widget
The widget currently editing the edited cell.
GtkCellArea::edited-cell
GtkCellRenderer*
r
Edited Cell
The cell which is currently being edited.
GtkCellArea::focus-cell
GtkCellRenderer*
rw
Focus Cell
The cell which currently has focus.
GtkCellAreaBox::spacing
gint
>= 0
rw
Spacing
Space which is inserted between cells.
0
GtkCellAreaBox::align
gboolean
crw
Align
Whether cell should align with adjacent rows.
FALSE
GtkCellAreaBox::expand
gboolean
crw
Expand
Whether the cell expands.
FALSE
GtkCellAreaBox::fixed-size
gboolean
crw
Fixed Size
Whether cells should be the same size in all rows.
TRUE
GtkCellAreaBox::pack-type
GtkPackType
crw
Pack Type
A GtkPackType indicating whether the cell is packed with reference to the start or end of the cell area.
GTK_PACK_START
GtkCellAreaContext::area
GtkCellArea*
rwX
Area
The Cell Area this context was created for.
GtkCellAreaContext::minimum-height
gint
>= -1
r
Minimum Height
Minimum cached height.
-1
GtkCellAreaContext::minimum-width
gint
>= -1
r
Minimum Width
Minimum cached width.
-1
GtkCellAreaContext::natural-height
gint
>= -1
r
Minimum Height
Minimum cached height.
-1
GtkCellAreaContext::natural-width
gint
>= -1
r
Minimum Width
Minimum cached width.
-1
GtkCellEditable::editing-canceled
gboolean
rw
Editing Canceled
Indicates that editing has been canceled.
FALSE
GtkCellRendererAccel::accel-key
guint
<= G_MAXINT
rw
Accelerator key
The keyval of the accelerator.
0
GtkCellRendererAccel::accel-mode
GtkCellRendererAccelMode
rw
Accelerator Mode
The type of accelerators.
GTK_CELL_RENDERER_ACCEL_MODE_GTK
GtkCellRendererAccel::accel-mods
GdkModifierType
rw
Accelerator modifiers
The modifier mask of the accelerator.
GtkCellRendererAccel::keycode
guint
<= G_MAXINT
rw
Accelerator keycode
The hardware keycode of the accelerator.
0
GtkCellRendererCombo::has-entry
gboolean
rw
Has Entry
If FALSE, don’t allow to enter strings other than the chosen ones.
TRUE
GtkCellRendererCombo::model
GtkTreeModel*
rw
Model
The model containing the possible values for the combo box.
GtkCellRendererCombo::text-column
gint
>= -1
rw
Text Column
A column in the data source model to get the strings from.
-1
GtkCellRenderer::cell-background
gchar*
w
Cell background color name
Cell background color as a string.
NULL
GtkCellRenderer::cell-background-rgba
GdkRGBA*
rw
Cell background RGBA color
Cell background color as a GdkRGBA.
GtkCellRenderer::cell-background-set
gboolean
rw
Cell background set
Whether the cell background color is set.
FALSE
GtkCellRenderer::editing
gboolean
r
Editing
Whether the cell renderer is currently in editing mode.
FALSE
GtkCellRenderer::height
gint
>= -1
rw
height
The fixed height.
-1
GtkCellRenderer::is-expanded
gboolean
rw
Is Expanded
Row is an expander row, and is expanded.
FALSE
GtkCellRenderer::is-expander
gboolean
rw
Is Expander
Row has children.
FALSE
GtkCellRenderer::mode
GtkCellRendererMode
rw
mode
Editable mode of the CellRenderer.
GTK_CELL_RENDERER_MODE_INERT
GtkCellRenderer::sensitive
gboolean
rw
Sensitive
Display the cell sensitive.
TRUE
GtkCellRenderer::visible
gboolean
rw
visible
Display the cell.
TRUE
GtkCellRenderer::width
gint
>= -1
rw
width
The fixed width.
-1
GtkCellRenderer::xalign
gfloat
[0,1]
rw
xalign
The x-align.
0.5
GtkCellRenderer::xpad
guint
rw
xpad
The xpad.
0
GtkCellRenderer::yalign
gfloat
[0,1]
rw
yalign
The y-align.
0.5
GtkCellRenderer::ypad
guint
rw
ypad
The ypad.
0
GtkCellRendererPixbuf::gicon
GIcon*
rw
Icon
The GIcon being displayed.
GtkCellRendererPixbuf::icon-name
gchar*
rw
Icon Name
The name of the icon from the icon theme.
NULL
GtkCellRendererPixbuf::icon-size
GtkIconSize
rw
Icon Size
The GtkIconSize value that specifies the size of the rendered icon.
GTK_ICON_SIZE_INHERIT
GtkCellRendererPixbuf::pixbuf
GdkPixbuf*
w
Pixbuf Object
The pixbuf to render.
GtkCellRendererPixbuf::pixbuf-expander-closed
GdkPixbuf*
rw
Pixbuf Expander Closed
Pixbuf for closed expander.
GtkCellRendererPixbuf::pixbuf-expander-open
GdkPixbuf*
rw
Pixbuf Expander Open
Pixbuf for open expander.
GtkCellRendererPixbuf::texture
GdkTexture*
rw
Texture
The texture to render.
GtkCellRendererProgress::inverted
gboolean
rw
Inverted
Invert the direction in which the progress bar grows.
FALSE
GtkCellRendererProgress::pulse
gint
>= -1
rw
Pulse
Set this to positive values to indicate that some progress is made, but you don’t know how much.
-1
GtkCellRendererProgress::text
gchar*
rw
Text
Text on the progress bar.
NULL
GtkCellRendererProgress::text-xalign
gfloat
[0,1]
rw
Text x alignment
The horizontal text alignment, from 0 (left) to 1 (right). Reversed for RTL layouts.
0.5
GtkCellRendererProgress::text-yalign
gfloat
[0,1]
rw
Text y alignment
The vertical text alignment, from 0 (top) to 1 (bottom).
0.5
GtkCellRendererProgress::value
gint
[0,100]
rw
Value
Value of the progress bar.
0
GtkCellRendererSpin::adjustment
GtkAdjustment*
rw
Adjustment
The adjustment that holds the value of the spin button.
GtkCellRendererSpin::climb-rate
gdouble
>= 0
rw
Climb rate
The acceleration rate when you hold down a button.
0
GtkCellRendererSpin::digits
guint
<= 20
rw
Digits
The number of decimal places to display.
0
GtkCellRendererSpinner::active
gboolean
rw
Active
Whether the spinner is active (ie. shown) in the cell.
FALSE
GtkCellRendererSpinner::pulse
guint
rw
Pulse
Pulse of the spinner.
0
GtkCellRendererSpinner::size
GtkIconSize
rw
Size
The GtkIconSize value that specifies the size of the rendered spinner.
GTK_ICON_SIZE_INHERIT
GtkCellRendererText::align-set
gboolean
rw
Align set
Whether this tag affects the alignment mode.
FALSE
GtkCellRendererText::alignment
PangoAlignment
rw
Alignment
How to align the lines.
PANGO_ALIGN_LEFT
GtkCellRendererText::attributes
PangoAttrList*
rw
Attributes
A list of style attributes to apply to the text of the renderer.
GtkCellRendererText::background
gchar*
w
Background color name
Background color as a string.
NULL
GtkCellRendererText::background-rgba
GdkRGBA*
rw
Background color as RGBA
Background color as a GdkRGBA.
GtkCellRendererText::background-set
gboolean
rw
Background set
Whether this tag affects the background color.
FALSE
GtkCellRendererText::editable
gboolean
rw
Editable
Whether the text can be modified by the user.
FALSE
GtkCellRendererText::editable-set
gboolean
rw
Editability set
Whether this tag affects text editability.
FALSE
GtkCellRendererText::ellipsize
PangoEllipsizeMode
rw
Ellipsize
The preferred place to ellipsize the string, if the cell renderer does not have enough room to display the entire string.
PANGO_ELLIPSIZE_NONE
GtkCellRendererText::ellipsize-set
gboolean
rw
Ellipsize set
Whether this tag affects the ellipsize mode.
FALSE
GtkCellRendererText::family
gchar*
rw
Font family
Name of the font family, e.g. Sans, Helvetica, Times, Monospace.
NULL
GtkCellRendererText::family-set
gboolean
rw
Font family set
Whether this tag affects the font family.
FALSE
GtkCellRendererText::font
gchar*
rw
Font
Font description as a string, e.g. “Sans Italic 12”.
NULL
GtkCellRendererText::font-desc
PangoFontDescription*
rw
Font
Font description as a PangoFontDescription struct.
GtkCellRendererText::foreground
gchar*
w
Foreground color name
Foreground color as a string.
NULL
GtkCellRendererText::foreground-rgba
GdkRGBA*
rw
Foreground color as RGBA
Foreground color as a GdkRGBA.
GtkCellRendererText::foreground-set
gboolean
rw
Foreground set
Whether this tag affects the foreground color.
FALSE
GtkCellRendererText::language
gchar*
rw
Language
The language this text is in, as an ISO code. Pango can use this as a hint when rendering the text. If you don’t understand this parameter, you probably don’t need it.
NULL
GtkCellRendererText::language-set
gboolean
rw
Language set
Whether this tag affects the language the text is rendered as.
FALSE
GtkCellRendererText::markup
gchar*
w
Markup
Marked up text to render.
NULL
GtkCellRendererText::max-width-chars
gint
>= -1
rw
Maximum Width In Characters
The maximum width of the cell, in characters.
-1
GtkCellRendererText::placeholder-text
gchar*
rw
Placeholder text
Text rendered when an editable cell is empty.
NULL
GtkCellRendererText::rise
gint
>= -2147483647
rw
Rise
Offset of text above the baseline (below the baseline if rise is negative).
0
GtkCellRendererText::rise-set
gboolean
rw
Rise set
Whether this tag affects the rise.
FALSE
GtkCellRendererText::scale
gdouble
>= 0
rw
Font scale
Font scaling factor.
1
GtkCellRendererText::scale-set
gboolean
rw
Font scale set
Whether this tag scales the font size by a factor.
FALSE
GtkCellRendererText::single-paragraph-mode
gboolean
rw
Single Paragraph Mode
Whether to keep all text in a single paragraph.
FALSE
GtkCellRendererText::size
gint
>= 0
rw
Font size
Font size.
0
GtkCellRendererText::size-points
gdouble
>= 0
rw
Font points
Font size in points.
0
GtkCellRendererText::size-set
gboolean
rw
Font size set
Whether this tag affects the font size.
FALSE
GtkCellRendererText::stretch
PangoStretch
rw
Font stretch
Font stretch.
PANGO_STRETCH_NORMAL
GtkCellRendererText::stretch-set
gboolean
rw
Font stretch set
Whether this tag affects the font stretch.
FALSE
GtkCellRendererText::strikethrough
gboolean
rw
Strikethrough
Whether to strike through the text.
FALSE
GtkCellRendererText::strikethrough-set
gboolean
rw
Strikethrough set
Whether this tag affects strikethrough.
FALSE
GtkCellRendererText::style
PangoStyle
rw
Font style
Font style.
PANGO_STYLE_NORMAL
GtkCellRendererText::style-set
gboolean
rw
Font style set
Whether this tag affects the font style.
FALSE
GtkCellRendererText::text
gchar*
rw
Text
Text to render.
NULL
GtkCellRendererText::underline
PangoUnderline
rw
Underline
Style of underline for this text.
PANGO_UNDERLINE_NONE
GtkCellRendererText::underline-set
gboolean
rw
Underline set
Whether this tag affects underlining.
FALSE
GtkCellRendererText::variant
PangoVariant
rw
Font variant
Font variant.
PANGO_VARIANT_NORMAL
GtkCellRendererText::variant-set
gboolean
rw
Font variant set
Whether this tag affects the font variant.
FALSE
GtkCellRendererText::weight
gint
>= 0
rw
Font weight
Font weight.
400
GtkCellRendererText::weight-set
gboolean
rw
Font weight set
Whether this tag affects the font weight.
FALSE
GtkCellRendererText::width-chars
gint
>= -1
rw
Width In Characters
The desired width of the label, in characters.
-1
GtkCellRendererText::wrap-mode
PangoWrapMode
rw
Wrap mode
How to break the string into multiple lines, if the cell renderer does not have enough room to display the entire string.
PANGO_WRAP_CHAR
GtkCellRendererText::wrap-width
gint
>= -1
rw
Wrap width
The width at which the text is wrapped.
-1
GtkCellRendererToggle::activatable
gboolean
rw
Activatable
The toggle button can be activated.
TRUE
GtkCellRendererToggle::active
gboolean
rw
Toggle state
The toggle state of the button.
FALSE
GtkCellRendererToggle::inconsistent
gboolean
rw
Inconsistent state
The inconsistent state of the button.
FALSE
GtkCellRendererToggle::radio
gboolean
rw
Radio state
Draw the toggle button as a radio button.
FALSE
GtkCellView::cell-area
GtkCellArea*
rwX
Cell Area
The GtkCellArea used to layout cells.
GtkCellView::cell-area-context
GtkCellAreaContext*
rwX
Cell Area Context
The GtkCellAreaContext used to compute the geometry of the cell view.
GtkCellView::draw-sensitive
gboolean
rw
Draw Sensitive
Whether to force cells to be drawn in a sensitive state.
FALSE
GtkCellView::fit-model
gboolean
rw
Fit Model
Whether to request enough space for every row in the model.
FALSE
GtkCellView::model
GtkTreeModel*
rw
CellView model
The model for cell view.
GtkCheckButton::draw-indicator
gboolean
rw
Draw Indicator
If the indicator part of the button is displayed.
TRUE
GtkCheckButton::inconsistent
gboolean
rw
Inconsistent
If the check button is in an “in between” state.
FALSE
GtkColorButton::rgba
GdkRGBA*
rw
Current RGBA Color
The selected RGBA color.
GtkColorButton::show-editor
gboolean
rw
Show Editor
Whether to show the color editor right away.
FALSE
GtkColorButton::title
gchar*
rw
Title
The title of the color selection dialog.
"Pick a Color"
GtkColorButton::use-alpha
gboolean
rw
Use alpha
Whether to give the color an alpha value.
FALSE
GtkColorChooser::rgba
GdkRGBA*
rw
Color
Current color, as a GdkRGBA.
GtkColorChooser::use-alpha
gboolean
rw
Use alpha
Whether alpha should be shown.
TRUE
GtkColorChooserDialog::show-editor
gboolean
rw
Show editor
Show editor.
FALSE
GtkColorChooserWidget::show-editor
gboolean
rw
Show editor
Show editor.
FALSE
GtkComboBox::active
gint
>= -1
rw
Active item
The item which is currently active.
-1
GtkComboBox::active-id
gchar*
rw
Active id
The value of the id column for the active row.
NULL
GtkComboBox::button-sensitivity
GtkSensitivityType
rw
Button Sensitivity
Whether the dropdown button is sensitive when the model is empty.
GTK_SENSITIVITY_AUTO
GtkComboBox::entry-text-column
gint
>= -1
rw
Entry Text Column
The column in the combo box’s model to associate with strings from the entry if the combo was created with #GtkComboBox:has-entry = %TRUE.
-1
GtkComboBox::has-entry
gboolean
rwX
Has Entry
Whether combo box has an entry.
FALSE
GtkComboBox::has-frame
gboolean
rw
Has Frame
Whether the combo box draws a frame around the child.
TRUE
GtkComboBox::id-column
gint
>= -1
rw
ID Column
The column in the combo box’s model that provides string IDs for the values in the model.
-1
GtkComboBox::model
GtkTreeModel*
rw
ComboBox model
The model for the combo box.
GtkComboBox::popup-fixed-width
gboolean
rw
Popup Fixed Width
Whether the popup’s width should be a fixed width matching the allocated width of the combo box.
TRUE
GtkComboBox::popup-shown
gboolean
r
Popup shown
Whether the combo’s dropdown is shown.
FALSE
GtkConstraint::constant
gdouble
rwX
Constant
The constant to be added to the source attribute.
0
GtkConstraint::multiplier
gdouble
rwX
Multiplier
The multiplication factor to be applied to the source attribute.
1
GtkConstraint::relation
GtkConstraintRelation
rwX
Relation
The relation between the source and target attributes.
GTK_CONSTRAINT_RELATION_EQ
GtkConstraint::source
GtkConstraintTarget*
rwX
Source
The source of the constraint.
GtkConstraint::source-attribute
GtkConstraintAttribute
rwX
Source Attribute
The attribute of the source widget set by the constraint.
GTK_CONSTRAINT_ATTRIBUTE_NONE
GtkConstraint::strength
gint
[0,1001001000]
rwX
Strength
The strength of the constraint.
1001001000
GtkConstraint::target
GtkConstraintTarget*
rwX
Target
The target of the constraint.
GtkConstraint::target-attribute
GtkConstraintAttribute
rwX
Target Attribute
The attribute of the target set by the constraint.
GTK_CONSTRAINT_ATTRIBUTE_NONE
GtkConstraintGuide::max-height
gint
>= 0
rw
Maximum height
Maximum height.
2147483647
GtkConstraintGuide::max-width
gint
>= 0
rw
Maximum width
Maximum width.
2147483647
GtkConstraintGuide::min-height
gint
>= 0
rw
Minimum height
Minimum height.
0
GtkConstraintGuide::min-width
gint
>= 0
rw
Minimum width
Minimum width.
0
GtkConstraintGuide::name
gchar*
rw
Name
A name to use in debug message.
NULL
GtkConstraintGuide::nat-height
gint
>= 0
rw
Natural height
Natural height.
0
GtkConstraintGuide::nat-width
gint
>= 0
rw
Natural width
Natural width.
0
GtkConstraintGuide::strength
GtkConstraintStrength
rw
Strength
The strength to use for natural size.
GTK_CONSTRAINT_STRENGTH_MEDIUM
GtkDialog::use-header-bar
gint
[-1,1]
rwX
Use Header Bar
Use Header Bar for actions.
-1
GtkDragSource::actions
GdkDragAction
rw
Actions
Supported actions.
GDK_ACTION_COPY
GtkDragSource::content
GdkContentProvider*
rw
Content
The content provider for the dragged data.
GtkDrawingArea::content-height
gint
>= 0
rw
Content Height
Desired height for displayed content.
0
GtkDrawingArea::content-width
gint
>= 0
rw
Content Width
Desired width for displayed content.
0
GtkDropTarget::actions
GdkDragAction
rw
Actions
Actions.
GtkDropTarget::contains
gboolean
r
Contains an ongoing drag
Contains the current drag.
FALSE
GtkDropTarget::formats
GdkContentFormats*
rw
Formats
Formats.
GtkEditable::cursor-position
gint
[0,65535]
r
Cursor Position
The current position of the insertion cursor in chars.
0
GtkEditable::editable
gboolean
rw
Editable
Whether the entry contents can be edited.
TRUE
GtkEditable::enable-undo
gboolean
rw
Enable Undo
If undo/redo should be enabled for the editable.
TRUE
GtkEditable::max-width-chars
gint
>= -1
rw
Maximum width in characters
The desired maximum width of the entry, in characters.
-1
GtkEditable::selection-bound
gint
[0,65535]
r
Selection Bound
The position of the opposite end of the selection from the cursor in chars.
0
GtkEditable::text
gchar*
rw
Text
The contents of the entry.
""
GtkEditable::width-chars
gint
>= -1
rw
Width in chars
Number of characters to leave space for in the entry.
-1
GtkEditable::xalign
gfloat
[0,1]
rw
X align
The horizontal alignment, from 0 (left) to 1 (right). Reversed for RTL layouts.
0
GtkEntryBuffer::length
guint
<= 65535
r
Text length
Length of the text currently in the buffer.
0
GtkEntryBuffer::max-length
gint
[0,65535]
rw
Maximum length
Maximum number of characters for this entry. Zero if no maximum.
0
GtkEntryBuffer::text
gchar*
rw
Text
The contents of the buffer.
""
GtkEntryCompletion::cell-area
GtkCellArea*
rwX
Cell Area
The GtkCellArea used to layout cells.
GtkEntryCompletion::inline-completion
gboolean
rw
Inline completion
Whether the common prefix should be inserted automatically.
FALSE
GtkEntryCompletion::inline-selection
gboolean
rw
Inline selection
Your description here.
FALSE
GtkEntryCompletion::minimum-key-length
gint
>= 0
rw
Minimum Key Length
Minimum length of the search key in order to look up matches.
1
GtkEntryCompletion::model
GtkTreeModel*
rw
Completion Model
The model to find matches in.
GtkEntryCompletion::popup-completion
gboolean
rw
Popup completion
Whether the completions should be shown in a popup window.
TRUE
GtkEntryCompletion::popup-set-width
gboolean
rw
Popup set width
If TRUE, the popup window will have the same size as the entry.
TRUE
GtkEntryCompletion::popup-single-match
gboolean
rw
Popup single match
If TRUE, the popup window will appear for a single match.
TRUE
GtkEntryCompletion::text-column
gint
>= -1
rw
Text column
The column of the model containing the strings.
-1
GtkEntry::activates-default
gboolean
rw
Activates default
Whether to activate the default widget (such as the default button in a dialog) when Enter is pressed.
FALSE
GtkEntry::attributes
PangoAttrList*
rw
Attributes
A list of style attributes to apply to the text of the entry.
GtkEntry::buffer
GtkEntryBuffer*
rwx
Text Buffer
Text buffer object which actually stores entry text.
GtkEntry::completion
GtkEntryCompletion*
rw
Completion
The auxiliary completion object.
GtkEntry::enable-emoji-completion
gboolean
rw
Enable Emoji completion
Whether to suggest Emoji replacements.
FALSE
GtkEntry::extra-menu
GMenuModel*
rw
Extra menu
Model menu to append to the context menu.
GtkEntry::has-frame
gboolean
rw
Has Frame
FALSE removes outside bevel from entry.
TRUE
GtkEntry::im-module
gchar*
rw
IM module
Which IM module should be used.
NULL
GtkEntry::input-hints
GtkInputHints
rw
hints
Hints for the text field behaviour.
GtkEntry::input-purpose
GtkInputPurpose
rw
Purpose
Purpose of the text field.
GTK_INPUT_PURPOSE_FREE_FORM
GtkEntry::invisible-char
guint
rw
Invisible character
The character to use when masking entry contents (in “password mode”).
'*'
GtkEntry::invisible-char-set
gboolean
rw
Invisible character set
Whether the invisible character has been set.
FALSE
GtkEntry::max-length
gint
[0,65535]
rw
Maximum length
Maximum number of characters for this entry. Zero if no maximum.
0
GtkEntry::overwrite-mode
gboolean
rw
Overwrite mode
Whether new text overwrites existing text.
FALSE
GtkEntry::placeholder-text
gchar*
rw
Placeholder text
Show text in the entry when it’s empty and unfocused.
NULL
GtkEntry::primary-icon-activatable
gboolean
rw
Primary icon activatable
Whether the primary icon is activatable.
TRUE
GtkEntry::primary-icon-gicon
GIcon*
rw
Primary GIcon
GIcon for primary icon.
GtkEntry::primary-icon-name
gchar*
rw
Primary icon name
Icon name for primary icon.
NULL
GtkEntry::primary-icon-paintable
GdkPaintable*
rw
Primary paintable
Primary paintable for the entry.
GtkEntry::primary-icon-sensitive
gboolean
rw
Primary icon sensitive
Whether the primary icon is sensitive.
TRUE
GtkEntry::primary-icon-storage-type
GtkImageType
r
Primary storage type
The representation being used for primary icon.
GTK_IMAGE_EMPTY
GtkEntry::primary-icon-tooltip-markup
gchar*
rw
Primary icon tooltip markup
The contents of the tooltip on the primary icon.
NULL
GtkEntry::primary-icon-tooltip-text
gchar*
rw
Primary icon tooltip text
The contents of the tooltip on the primary icon.
NULL
GtkEntry::progress-fraction
gdouble
[0,1]
rw
Progress Fraction
The current fraction of the task that’s been completed.
0
GtkEntry::progress-pulse-step
gdouble
[0,1]
rw
Progress Pulse Step
The fraction of total entry width to move the progress bouncing block for each call to gtk_entry_progress_pulse().
0
GtkEntry::scroll-offset
gint
>= 0
r
Scroll offset
Number of pixels of the entry scrolled off the screen to the left.
0
GtkEntry::secondary-icon-activatable
gboolean
rw
Secondary icon activatable
Whether the secondary icon is activatable.
TRUE
GtkEntry::secondary-icon-gicon
GIcon*
rw
Secondary GIcon
GIcon for secondary icon.
GtkEntry::secondary-icon-name
gchar*
rw
Secondary icon name
Icon name for secondary icon.
NULL
GtkEntry::secondary-icon-paintable
GdkPaintable*
rw
Secondary paintable
Secondary paintable for the entry.
GtkEntry::secondary-icon-sensitive
gboolean
rw
Secondary icon sensitive
Whether the secondary icon is sensitive.
TRUE
GtkEntry::secondary-icon-storage-type
GtkImageType
r
Secondary storage type
The representation being used for secondary icon.
GTK_IMAGE_EMPTY
GtkEntry::secondary-icon-tooltip-markup
gchar*
rw
Secondary icon tooltip markup
The contents of the tooltip on the secondary icon.
NULL
GtkEntry::secondary-icon-tooltip-text
gchar*
rw
Secondary icon tooltip text
The contents of the tooltip on the secondary icon.
NULL
GtkEntry::show-emoji-icon
gboolean
rw
Emoji icon
Whether to show an icon for Emoji.
FALSE
GtkEntry::tabs
PangoTabArray*
rw
Tabs
A list of tabstop locations to apply to the text of the entry.
GtkEntry::text-length
guint
<= 65535
r
Text length
Length of the text currently in the entry.
0
GtkEntry::truncate-multiline
gboolean
rw
Truncate multiline
Whether to truncate multiline pastes to one line.
FALSE
GtkEntry::visibility
gboolean
rw
Visibility
FALSE displays the “invisible char” instead of the actual text (password mode).
TRUE
GtkEventController::name
gchar*
rw
Name
Name for this controller.
NULL
GtkEventController::propagation-limit
GtkPropagationLimit
rw
Propagation limit
Propagation limit for events handled by this controller.
GTK_LIMIT_SAME_NATIVE
GtkEventController::propagation-phase
GtkPropagationPhase
rw
Propagation phase
Propagation phase at which this controller is run.
GTK_PHASE_BUBBLE
GtkEventController::widget
GtkWidget*
r
Widget
Widget the gesture relates to.
GtkEventControllerKey::contains-focus
gboolean
r
Contains Focus
Whether the focus is in a descendant of the controllers widget.
FALSE
GtkEventControllerKey::is-focus
gboolean
r
Is Focus
Whether the focus is in the controllers widget.
FALSE
GtkEventControllerMotion::contains-pointer
gboolean
r
Contains Pointer
Whether the pointer is inthe controllers widget or a descendant.
FALSE
GtkEventControllerMotion::is-pointer
gboolean
r
Is Pointer
Whether the pointer is in the controllers widget.
FALSE
GtkEventControllerScroll::flags
GtkEventControllerScrollFlags
rw
Flags
Flags.
GtkExpander::expanded
gboolean
rwx
Expanded
Whether the expander has been opened to reveal the child widget.
FALSE
GtkExpander::label
gchar*
rwx
Label
Text of the expander’s label.
NULL
GtkExpander::label-widget
GtkWidget*
rw
Label widget
A widget to display in place of the usual expander label.
GtkExpander::resize-toplevel
gboolean
rw
Resize toplevel
Whether the expander will resize the toplevel window upon expanding and collapsing.
FALSE
GtkExpander::use-markup
gboolean
rwx
Use markup
The text of the label includes XML markup. See pango_parse_markup().
FALSE
GtkExpander::use-underline
gboolean
rwx
Use underline
If set, an underline in the text indicates the next character should be used for the mnemonic accelerator key.
FALSE
GtkFileChooserButton::dialog
GtkFileChooser*
wX
Dialog
The file chooser dialog to use.
GtkFileChooserButton::title
gchar*
rw
Title
The title of the file chooser dialog.
"Select a File"
GtkFileChooserButton::width-chars
gint
>= -1
rw
Width In Characters
The desired width of the button widget, in characters.
-1
GtkFileChooser::action
GtkFileChooserAction
rw
Action
The type of operation that the file selector is performing.
GTK_FILE_CHOOSER_ACTION_OPEN
GtkFileChooser::create-folders
gboolean
rw
Allow folder creation
Whether a file chooser not in open mode will offer the user to create new folders.
TRUE
GtkFileChooser::do-overwrite-confirmation
gboolean
rw
Do overwrite confirmation
Whether a file chooser in save mode will present an overwrite confirmation dialog if necessary.
FALSE
GtkFileChooser::extra-widget
GtkWidget*
rw
Extra widget
Application supplied widget for extra options.
GtkFileChooser::filter
GtkFileFilter*
rw
Filter
The current filter for selecting which files are displayed.
GtkFileChooser::local-only
gboolean
rw
Local Only
Whether the selected file(s) should be limited to local file: URLs.
FALSE
GtkFileChooser::preview-widget
GtkWidget*
rw
Preview widget
Application supplied widget for custom previews.
GtkFileChooser::preview-widget-active
gboolean
rw
Preview Widget Active
Whether the application supplied widget for custom previews should be shown.
TRUE
GtkFileChooser::select-multiple
gboolean
rw
Select Multiple
Whether to allow multiple files to be selected.
FALSE
GtkFileChooser::show-hidden
gboolean
rw
Show Hidden
Whether the hidden files and folders should be displayed.
FALSE
GtkFileChooser::use-preview-label
gboolean
rw
Use Preview Label
Whether to display a label with the name of the previewed file.
TRUE
GtkFileChooserWidget::search-mode
gboolean
rw
Search mode
Search mode.
FALSE
GtkFileChooserWidget::subtitle
gchar*
r
Subtitle
Subtitle.
""
GtkFilterListModel::has-filter
gboolean
r
has filter
If a filter is set for this model.
FALSE
GtkFilterListModel::item-type
GType*
GObject
rwX
Item type
The type of elements of this object.
GtkFilterListModel::model
GListModel*
rwX
Model
The model being filtered.
GtkFlattenListModel::item-type
GType*
GObject
rwX
Item type
The type of elements of this object.
GtkFlattenListModel::model
GListModel*
rw
Model
The model being flattened.
GtkFlowBox::accept-unpaired-release
gboolean
rw
Accept unpaired release
Accept an unpaired release event.
FALSE
GtkFlowBox::activate-on-single-click
gboolean
rw
Activate on Single Click
Activate row on a single click.
TRUE
GtkFlowBox::column-spacing
guint
rw
Horizontal spacing
The amount of horizontal space between two children.
0
GtkFlowBox::homogeneous
gboolean
rw
Homogeneous
Whether the children should all be the same size.
FALSE
GtkFlowBox::max-children-per-line
guint
>= 1
rw
Maximum Children Per Line
The maximum amount of children to request space for consecutively in the given orientation.
7
GtkFlowBox::min-children-per-line
guint
rw
Minimum Children Per Line
The minimum number of children to allocate consecutively in the given orientation.
0
GtkFlowBox::row-spacing
guint
rw
Vertical spacing
The amount of vertical space between two children.
0
GtkFlowBox::selection-mode
GtkSelectionMode
rw
Selection mode
The selection mode.
GTK_SELECTION_SINGLE
GtkFontButton::title
gchar*
rw
Title
The title of the font chooser dialog.
"Pick a Font"
GtkFontButton::use-font
gboolean
rw
Use font in label
Whether the label is drawn in the selected font.
FALSE
GtkFontButton::use-size
gboolean
rw
Use size in label
Whether the label is drawn with the selected font size.
FALSE
GtkFontChooser::font
gchar*
rw
Font
Font description as a string, e.g. “Sans Italic 12”.
"Sans 10"
GtkFontChooser::font-desc
PangoFontDescription*
rw
Font description
Font description as a PangoFontDescription struct.
GtkFontChooser::font-features
gchar*
r
Font features
Font features as a string.
""
GtkFontChooser::language
gchar*
rw
Language
Language for which features have been selected.
""
GtkFontChooser::level
GtkFontChooserLevel
rw
Selection level
Whether to select family, face or font.
GTK_FONT_CHOOSER_LEVEL_STYLE | GTK_FONT_CHOOSER_LEVEL_SIZE
GtkFontChooser::preview-text
gchar*
rw
Preview text
The text to display in order to demonstrate the selected font.
"The quick brown fox jumps over the lazy dog."
GtkFontChooser::show-preview-entry
gboolean
rw
Show preview text entry
Whether the preview text entry is shown or not.
TRUE
GtkFontChooserWidget::tweak-action
GAction*
r
The tweak action
The toggle action to switch to the tweak page.
GtkFrame::label
gchar*
rw
Label
Text of the frame’s label.
NULL
GtkFrame::label-widget
GtkWidget*
rw
Label widget
A widget to display in place of the usual frame label.
GtkFrame::label-xalign
gfloat
[0,1]
rw
Label xalign
The horizontal alignment of the label.
0
GtkFrame::shadow-type
GtkShadowType
rw
Frame shadow
Appearance of the frame.
GTK_SHADOW_ETCHED_IN
GtkGesture::n-points
guint
>= 1
rwX
Number of points
Number of points needed to trigger the gesture.
1
GtkGestureLongPress::delay-factor
gdouble
[0.5,2]
rw
Delay factor
Factor by which to modify the default timeout.
1
GtkGesturePan::orientation
GtkOrientation
rw
Orientation
Allowed orientations.
GTK_ORIENTATION_HORIZONTAL
GtkGestureSingle::button
guint
rw
Button number
Button number to listen to.
1
GtkGestureSingle::exclusive
gboolean
rw
Whether the gesture is exclusive
Whether the gesture is exclusive.
FALSE
GtkGestureSingle::touch-only
gboolean
rw
Handle only touch events
Whether the gesture handles only touch events.
FALSE
GtkGLArea::auto-render
gboolean
rw
Auto render
Whether the GtkGLArea renders on each redraw.
TRUE
GtkGLArea::context
GdkGLContext*
r
Context
The GL context.
GtkGLArea::has-depth-buffer
gboolean
rw
Has depth buffer
Whether a depth buffer is allocated.
FALSE
GtkGLArea::has-stencil-buffer
gboolean
rw
Has stencil buffer
Whether a stencil buffer is allocated.
FALSE
GtkGLArea::use-es
gboolean
rw
Use OpenGL ES
Whether the context uses OpenGL or OpenGL ES.
FALSE
GtkGrid::baseline-row
gint
>= 0
rw
Baseline Row
The row to align the to the baseline when valign is GTK_ALIGN_BASELINE.
0
GtkGrid::column-homogeneous
gboolean
rw
Column Homogeneous
If TRUE, the columns are all the same width.
FALSE
GtkGrid::column-spacing
gint
[0,32767]
rw
Column spacing
The amount of space between two consecutive columns.
0
GtkGrid::row-homogeneous
gboolean
rw
Row Homogeneous
If TRUE, the rows are all the same height.
FALSE
GtkGrid::row-spacing
gint
[0,32767]
rw
Row spacing
The amount of space between two consecutive rows.
0
GtkGridLayoutChild::column-span
gint
>= 1
rw
Column span
The number of columns that a child spans.
1
GtkGridLayoutChild::left-attach
gint
rw
Left attachment
The column number to attach the left side of the child to.
0
GtkGridLayoutChild::row-span
gint
>= 1
rw
Row span
The number of rows that a child spans.
1
GtkGridLayoutChild::top-attach
gint
rw
Top attachment
The row number to attach the top side of a child widget to.
0
GtkGridLayout::baseline-row
gint
>= 0
rw
Baseline Row
The row to align the to the baseline when valign is GTK_ALIGN_BASELINE.
0
GtkGridLayout::column-homogeneous
gboolean
rw
Column Homogeneous
If TRUE, the columns are all the same width.
FALSE
GtkGridLayout::column-spacing
gint
[0,32767]
rw
Column spacing
The amount of space between two consecutive columns.
0
GtkGridLayout::row-homogeneous
gboolean
rw
Row Homogeneous
If TRUE, the rows are all the same height.
FALSE
GtkGridLayout::row-spacing
gint
[0,32767]
rw
Row spacing
The amount of space between two consecutive rows.
0
GtkHeaderBar::custom-title
GtkWidget*
rw
Custom Title
Custom title widget to display.
GtkHeaderBar::decoration-layout
gchar*
rw
Decoration Layout
The layout for window decorations.
NULL
GtkHeaderBar::decoration-layout-set
gboolean
rw
Decoration Layout Set
Whether the decoration-layout property has been set.
FALSE
GtkHeaderBar::has-subtitle
gboolean
rw
Has Subtitle
Whether to reserve space for a subtitle.
TRUE
GtkHeaderBar::show-title-buttons
gboolean
rw
Show title buttons
Whether to show title buttons.
FALSE
GtkHeaderBar::subtitle
gchar*
rw
Subtitle
The subtitle to display.
NULL
GtkHeaderBar::title
gchar*
rw
Title
The title to display.
NULL
GtkIconView::activate-on-single-click
gboolean
rw
Activate on Single Click
Activate row on a single click.
FALSE
GtkIconView::cell-area
GtkCellArea*
rwX
Cell Area
The GtkCellArea used to layout cells.
GtkIconView::column-spacing
gint
>= 0
rw
Column Spacing
Space which is inserted between grid columns.
6
GtkIconView::columns
gint
>= -1
rw
Number of columns
Number of columns to display.
-1
GtkIconView::item-orientation
GtkOrientation
rw
Item Orientation
How the text and icon of each item are positioned relative to each other.
GTK_ORIENTATION_VERTICAL
GtkIconView::item-padding
gint
>= 0
rw
Item Padding
Padding around icon view items.
6
GtkIconView::item-width
gint
>= -1
rw
Width for each item
The width used for each item.
-1
GtkIconView::margin
gint
>= 0
rw
Margin
Space which is inserted at the edges of the icon view.
6
GtkIconView::markup-column
gint
>= -1
rw
Markup column
Model column used to retrieve the text if using Pango markup.
-1
GtkIconView::model
GtkTreeModel*
rw
Icon View Model
The model for the icon view.
GtkIconView::pixbuf-column
gint
>= -1
rw
Pixbuf column
Model column used to retrieve the icon pixbuf from.
-1
GtkIconView::reorderable
gboolean
rw
Reorderable
View is reorderable.
FALSE
GtkIconView::row-spacing
gint
>= 0
rw
Row Spacing
Space which is inserted between grid rows.
6
GtkIconView::selection-mode
GtkSelectionMode
rw
Selection mode
The selection mode.
GTK_SELECTION_SINGLE
GtkIconView::spacing
gint
>= 0
rw
Spacing
Space which is inserted between cells of an item.
0
GtkIconView::text-column
gint
>= -1
rw
Text column
Model column used to retrieve the text from.
-1
GtkIconView::tooltip-column
gint
>= -1
rw
Tooltip Column
The column in the model containing the tooltip texts for the items.
-1
GtkImage::file
gchar*
rw
Filename
Filename to load and display.
NULL
GtkImage::gicon
GIcon*
rw
Icon
The GIcon being displayed.
GtkImage::icon-name
gchar*
rw
Icon Name
The name of the icon from the icon theme.
NULL
GtkImage::icon-size
GtkIconSize
rw
Icon size
Symbolic size to use for icon set or named icon.
GTK_ICON_SIZE_INHERIT
GtkImage::paintable
GdkPaintable*
rw
Paintable
A GdkPaintable to display.
GtkImage::pixel-size
gint
>= -1
rw
Pixel size
Pixel size to use for named icon.
-1
GtkImage::resource
gchar*
rw
Resource
The resource path being displayed.
NULL
GtkImage::storage-type
GtkImageType
r
Storage type
The representation being used for image data.
GTK_IMAGE_EMPTY
GtkImage::use-fallback
gboolean
rw
Use Fallback
Whether to use icon names fallback.
FALSE
GtkIMContext::input-hints
GtkInputHints
rw
hints
Hints for the text field behaviour.
GtkIMContext::input-purpose
GtkInputPurpose
rw
Purpose
Purpose of the text field.
GTK_INPUT_PURPOSE_FREE_FORM
GtkInfoBar::message-type
GtkMessageType
rwx
Message Type
The type of message.
GTK_MESSAGE_INFO
GtkInfoBar::revealed
gboolean
rw
Reveal
Controls whether the info bar shows its contents or not.
TRUE
GtkInfoBar::show-close-button
gboolean
rwx
Show Close Button
Whether to include a standard close button.
FALSE
GtkLabel::attributes
PangoAttrList*
rw
Attributes
A list of style attributes to apply to the text of the label.
GtkLabel::cursor-position
gint
>= 0
r
Cursor Position
The current position of the insertion cursor in chars.
0
GtkLabel::ellipsize
PangoEllipsizeMode
rw
Ellipsize
The preferred place to ellipsize the string, if the label does not have enough room to display the entire string.
PANGO_ELLIPSIZE_NONE
GtkLabel::extra-menu
GMenuModel*
rw
Extra menu
Menu model to append to the context menu.
GtkLabel::justify
GtkJustification
rw
Justification
The alignment of the lines in the text of the label relative to each other. This does NOT affect the alignment of the label within its allocation. See GtkLabel:xalign for that.
GTK_JUSTIFY_LEFT
GtkLabel::label
gchar*
rw
Label
The text of the label.
""
GtkLabel::lines
gint
>= -1
rw
Number of lines
The desired number of lines, when ellipsizing a wrapping label.
-1
GtkLabel::max-width-chars
gint
>= -1
rw
Maximum Width In Characters
The desired maximum width of the label, in characters.
-1
GtkLabel::mnemonic-keyval
guint
r
Mnemonic key
The mnemonic accelerator key for this label.
16777215
GtkLabel::mnemonic-widget
GtkWidget*
rw
Mnemonic widget
The widget to be activated when the label’s mnemonic key is pressed.
GtkLabel::pattern
gchar*
w
Pattern
A string with _ characters in positions correspond to characters in the text to underline.
NULL
GtkLabel::selectable
gboolean
rw
Selectable
Whether the label text can be selected with the mouse.
FALSE
GtkLabel::selection-bound
gint
>= 0
r
Selection Bound
The position of the opposite end of the selection from the cursor in chars.
0
GtkLabel::single-line-mode
gboolean
rw
Single Line Mode
Whether the label is in single line mode.
FALSE
GtkLabel::track-visited-links
gboolean
rw
Track visited links
Whether visited links should be tracked.
TRUE
GtkLabel::use-markup
gboolean
rw
Use markup
The text of the label includes XML markup. See pango_parse_markup().
FALSE
GtkLabel::use-underline
gboolean
rw
Use underline
If set, an underline in the text indicates the next character should be used for the mnemonic accelerator key.
FALSE
GtkLabel::width-chars
gint
>= -1
rw
Width In Characters
The desired width of the label, in characters.
-1
GtkLabel::wrap
gboolean
rw
Line wrap
If set, wrap lines if the text becomes too wide.
FALSE
GtkLabel::wrap-mode
PangoWrapMode
rw
Line wrap mode
If wrap is set, controls how linewrapping is done.
PANGO_WRAP_WORD
GtkLabel::xalign
gfloat
[0,1]
rw
X align
The horizontal alignment, from 0 (left) to 1 (right). Reversed for RTL layouts.
0.5
GtkLabel::yalign
gfloat
[0,1]
rw
Y align
The vertical alignment, from 0 (top) to 1 (bottom).
0.5
GtkLayoutChild::child-widget
GtkWidget*
rwX
Child Widget
The child widget that is associated to this object.
GtkLayoutChild::layout-manager
GtkLayoutManager*
rwX
Layout Manager
The layout manager that created this object.
GtkLinkButton::uri
gchar*
rw
URI
The URI bound to this button.
NULL
GtkLinkButton::visited
gboolean
rw
Visited
Whether this link has been visited.
FALSE
GtkListBox::accept-unpaired-release
gboolean
rw
Accept unpaired release
Accept unpaired release.
FALSE
GtkListBox::activate-on-single-click
gboolean
rw
Activate on Single Click
Activate row on a single click.
TRUE
GtkListBox::selection-mode
GtkSelectionMode
rw
Selection mode
The selection mode.
GTK_SELECTION_SINGLE
GtkListBox::show-separators
gboolean
rw
Show separators
Show separators between rows.
FALSE
GtkListBoxRow::activatable
gboolean
rw
Activatable
Whether this row can be activated.
TRUE
GtkListBoxRow::selectable
gboolean
rw
Selectable
Whether this row can be selected.
TRUE
GtkLockButton::permission
GPermission*
rw
Permission
The GPermission object controlling this button.
GtkLockButton::text-lock
gchar*
rwx
Lock Text
The text to display when prompting the user to lock.
"Lock"
GtkLockButton::text-unlock
gchar*
rwx
Unlock Text
The text to display when prompting the user to unlock.
"Unlock"
GtkLockButton::tooltip-lock
gchar*
rwx
Lock Tooltip
The tooltip to display when prompting the user to lock.
"Dialog is unlocked.\nClick to prevent further changes"
GtkLockButton::tooltip-not-authorized
gchar*
rwx
Not Authorized Tooltip
The tooltip to display when prompting the user cannot obtain authorization.
"System policy prevents changes.\nContact your system administrator"
GtkLockButton::tooltip-unlock
gchar*
rwx
Unlock Tooltip
The tooltip to display when prompting the user to unlock.
"Dialog is locked.\nClick to make changes"
GtkMapListModel::has-map
gboolean
r
has map
If a map is set for this model.
FALSE
GtkMapListModel::item-type
GType*
GObject
rwX
Item type
The type of elements of this object.
GtkMapListModel::model
GListModel*
rwX
Model
The model being mapped.
GtkMediaControls::media-stream
GtkMediaStream*
rw
Media Stream
The media stream managed.
GtkMediaFile::file
GFile*
rw
File
File being played back.
GtkMediaFile::input-stream
GInputStream*
rw
Input stream
Input stream being played back.
GtkMediaStream::duration
gint64
>= 0
r
Duration
Timestamp in microseconds.
0
GtkMediaStream::ended
gboolean
r
Ended
Set when playback has finished.
FALSE
GtkMediaStream::error
GError*
rw
Error
Error the stream is in.
GtkMediaStream::has-audio
gboolean
rw
Has audio
Whether the stream contains audio.
FALSE
GtkMediaStream::has-video
gboolean
rw
Has video
Whether the stream contains video.
FALSE
GtkMediaStream::loop
gboolean
rw
Loop
Try to restart the media from the beginning once it ended.
FALSE
GtkMediaStream::muted
gboolean
rw
Muted
Whether the audio stream should be muted.
FALSE
GtkMediaStream::playing
gboolean
rw
Playing
Whether the stream is playing.
FALSE
GtkMediaStream::prepared
gboolean
rw
Prepared
Whether the stream has finished initializing.
FALSE
GtkMediaStream::seekable
gboolean
r
Seekable
Set unless seeking is not supported.
TRUE
GtkMediaStream::seeking
gboolean
r
Seeking
Set while a seek is in progress.
FALSE
GtkMediaStream::timestamp
gint64
>= 0
r
Timestamp
Timestamp in microseconds.
0
GtkMediaStream::volume
gboolean
rw
Volume
Volume of the audio stream.
TRUE
GtkMenuButton::align-widget
GtkContainer*
rw
Align with
The parent widget which the menu should align with.
GtkMenuButton::direction
GtkArrowType
rw
Direction
The direction the arrow should point.
GTK_ARROW_DOWN
GtkMenuButton::icon-name
gchar*
rw
Icon Name
The name of the icon used to automatically populate the button.
NULL
GtkMenuButton::label
gchar*
rw
Label
The label for the button.
NULL
GtkMenuButton::menu-model
GMenuModel*
rw
Menu model
The model from which the popup is made.
GtkMenuButton::popover
GtkPopover*
rw
Popover
The popover.
GtkMenuButton::relief
GtkReliefStyle
rw
Border relief
The border relief style.
GTK_RELIEF_NORMAL
GtkMessageDialog::buttons
GtkButtonsType
wX
Message Buttons
The buttons shown in the message dialog.
GTK_BUTTONS_NONE
GtkMessageDialog::message-area
GtkWidget*
r
Message area
GtkBox that holds the dialog’s primary and secondary labels.
GtkMessageDialog::message-type
GtkMessageType
rwx
Message Type
The type of message.
GTK_MESSAGE_INFO
GtkMessageDialog::secondary-text
gchar*
rw
Secondary Text
The secondary text of the message dialog.
NULL
GtkMessageDialog::secondary-use-markup
gboolean
rw
Use Markup in secondary
The secondary text includes Pango markup.
FALSE
GtkMessageDialog::text
gchar*
rw
Text
The primary text of the message dialog.
""
GtkMessageDialog::use-markup
gboolean
rw
Use Markup
The primary text of the title includes Pango markup.
FALSE
GtkMountOperation::display
GdkDisplay*
rw
Display
The display where this window will be displayed.
GtkMountOperation::is-showing
gboolean
r
Is Showing
Are we showing a dialog.
FALSE
GtkMountOperation::parent
GtkWindow*
rw
Parent
The parent window.
GtkNoSelection::model
GListModel*
rwX
The model
The model being managed.
GtkNotebook::enable-popup
gboolean
rw
Enable Popup
If TRUE, pressing the right mouse button on the notebook pops up a menu that you can use to go to a page.
FALSE
GtkNotebook::group-name
gchar*
rw
Group Name
Group name for tab drag and drop.
NULL
GtkNotebook::page
gint
>= -1
rw
Page
The index of the current page.
-1
GtkNotebook::pages
GListModel*
r
Pages
The pages of the notebook.
GtkNotebook::scrollable
gboolean
rw
Scrollable
If TRUE, scroll arrows are added if there are too many tabs to fit.
FALSE
GtkNotebook::show-border
gboolean
rw
Show Border
Whether the border should be shown.
TRUE
GtkNotebook::show-tabs
gboolean
rw
Show Tabs
Whether tabs should be shown.
TRUE
GtkNotebook::tab-pos
GtkPositionType
rw
Tab Position
Which side of the notebook holds the tabs.
GTK_POS_TOP
GtkNotebookPage::child
GtkWidget*
rwX
Child
The child for this page.
GtkNotebookPage::detachable
gboolean
rw
Tab detachable
Whether the tab is detachable.
FALSE
GtkNotebookPage::menu
GtkWidget*
rwX
Menu
The label widget displayed in the child’s menu entry.
GtkNotebookPage::menu-label
gchar*
rw
Menu label
The text of the menu widget.
NULL
GtkNotebookPage::position
gint
>= -1
rw
Position
The index of the child in the parent.
0
GtkNotebookPage::reorderable
gboolean
rw
Tab reorderable
Whether the tab is reorderable by user action.
FALSE
GtkNotebookPage::tab
GtkWidget*
rwX
Tab
The tab widget for this page.
GtkNotebookPage::tab-expand
gboolean
rw
Tab expand
Whether to expand the child’s tab.
FALSE
GtkNotebookPage::tab-fill
gboolean
rw
Tab fill
Whether the child’s tab should fill the allocated area.
TRUE
GtkNotebookPage::tab-label
gchar*
rw
Tab label
The text of the tab widget.
NULL
GtkOrientable::orientation
GtkOrientation
rw
Orientation
The orientation of the orientable.
GTK_ORIENTATION_HORIZONTAL
GtkPadController::action-group
GActionGroup*
rwX
Action group
Action group to launch actions from.
GtkPadController::pad
GdkDevice*
rwX
Pad device
Pad device to control.
GtkPaned::max-position
gint
>= 0
r
Maximal Position
Largest possible value for the “position” property.
2147483647
GtkPaned::min-position
gint
>= 0
r
Minimal Position
Smallest possible value for the “position” property.
0
GtkPaned::position
gint
>= 0
rw
Position
Position of paned separator in pixels (0 means all the way to the left/top).
0
GtkPaned::position-set
gboolean
rw
Position Set
TRUE if the Position property should be used.
FALSE
GtkPaned::resize-child1
gboolean
rw
Resize first child
If TRUE, the first child expands and shrinks along with the paned widget.
TRUE
GtkPaned::resize-child2
gboolean
rw
Resize second child
If TRUE, the second child expands and shrinks along with the paned widget.
TRUE
GtkPaned::shrink-child1
gboolean
rw
Shrink first child
If TRUE, the first child can be made smaller than its requisition.
TRUE
GtkPaned::shrink-child2
gboolean
rw
Shrink second child
If TRUE, the second child can be made smaller than its requisition.
TRUE
GtkPaned::wide-handle
gboolean
rw
Wide Handle
Whether the paned should have a prominent handle.
FALSE
GtkPasswordEntry::activates-default
gboolean
rw
Activates default
Whether to activate the default widget (such as the default button in a dialog) when Enter is pressed.
FALSE
GtkPasswordEntry::extra-menu
GMenuModel*
rw
Extra menu
Model menu to append to the context menu.
GtkPasswordEntry::placeholder-text
gchar*
rw
Placeholder text
Show text in the entry when it’s empty and unfocused.
NULL
GtkPasswordEntry::show-peek-icon
gboolean
rw
Show Peek Icon
Whether to show an icon for revealing the content.
FALSE
GtkPicture::alternative-text
gchar*
rw
Alternative text
The alternative textual description.
NULL
GtkPicture::can-shrink
gboolean
rw
Can shrink
Allow self to be smaller than contents.
TRUE
GtkPicture::file
GFile*
rw
File
File to load and display.
GtkPicture::keep-aspect-ratio
gboolean
rw
Keep aspect ratio
Render contents respecting the aspect ratio.
TRUE
GtkPicture::paintable
GdkPaintable*
rw
Paintable
The GdkPaintable to display.
GtkPopover::autohide
gboolean
rw
Autohide
Whether to dismiss the popover on outside clicks.
TRUE
GtkPopover::default-widget
GtkWidget*
rw
Default widget
The default widget.
GtkPopover::has-arrow
gboolean
rw
Has Arrow
Whether to draw an arrow.
TRUE
GtkPopover::pointing-to
GdkRectangle*
rw
Pointing to
Rectangle the bubble window points to.
GtkPopover::position
GtkPositionType
rw
Position
Position to place the bubble window.
GTK_POS_BOTTOM
GtkPopover::relative-to
GtkWidget*
rw
Relative to
Widget the bubble window points to.
GtkPopoverMenu::menu-model
GMenuModel*
rw
Menu model
The model from which the menu is made.
GtkPopoverMenu::visible-submenu
gchar*
rw
Visible submenu
The name of the visible submenu.
NULL
GtkPopoverMenuBar::menu-model
GMenuModel*
rw
Menu model
The model from which the bar is made.
GtkPrinter::accepting-jobs
gboolean
r
Accepting Jobs
TRUE if this printer is accepting new jobs.
TRUE
GtkPrinter::accepts-pdf
gboolean
rwX
Accepts PDF
TRUE if this printer can accept PDF.
FALSE
GtkPrinter::accepts-ps
gboolean
rwX
Accepts PostScript
TRUE if this printer can accept PostScript.
TRUE
GtkPrinter::backend
GtkPrintBackend*
rwX
Backend
Backend for the printer.
GtkPrinter::icon-name
gchar*
r
Icon Name
The icon name to use for the printer.
""
GtkPrinter::is-virtual
gboolean
rwX
Is Virtual
FALSE if this represents a real hardware printer.
FALSE
GtkPrinter::job-count
gint
>= 0
r
Job Count
Number of jobs queued in the printer.
0
GtkPrinter::location
gchar*
r
Location
The location of the printer.
""
GtkPrinter::name
gchar*
rwX
Name
Name of the printer.
""
GtkPrinter::paused
gboolean
r
Paused Printer
TRUE if this printer is paused.
FALSE
GtkPrinter::state-message
gchar*
r
State Message
String giving the current state of the printer.
""
GtkPrintJob::page-setup
GtkPageSetup*
rwX
Page Setup
Page Setup.
GtkPrintJob::printer
GtkPrinter*
rwX
Printer
Printer to print the job to.
GtkPrintJob::settings
GtkPrintSettings*
rwX
Settings
Printer settings.
GtkPrintJob::title
gchar*
rwX
Title
Title of the print job.
NULL
GtkPrintJob::track-print-status
gboolean
rw
Track Print Status
TRUE if the print job will continue to emit status-changed signals after the print data has been sent to the printer or print server.
FALSE
GtkPrintOperation::allow-async
gboolean
rw
Allow Async
TRUE if print process may run asynchronous.
FALSE
GtkPrintOperation::current-page
gint
>= -1
rw
Current Page
The current page in the document.
-1
GtkPrintOperation::custom-tab-label
gchar*
rw
Custom tab label
Label for the tab containing custom widgets.
NULL
GtkPrintOperation::default-page-setup
GtkPageSetup*
rw
Default Page Setup
The GtkPageSetup used by default.
GtkPrintOperation::embed-page-setup
gboolean
rw
Embed Page Setup
TRUE if page setup combos are embedded in GtkPrintUnixDialog.
FALSE
GtkPrintOperation::export-filename
gchar*
rw
Export filename
Export filename.
NULL
GtkPrintOperation::has-selection
gboolean
rw
Has Selection
TRUE if a selection exists.
FALSE
GtkPrintOperation::job-name
gchar*
rw
Job Name
A string used for identifying the print job.
""
GtkPrintOperation::n-pages
gint
>= -1
rw
Number of Pages
The number of pages in the document.
-1
GtkPrintOperation::n-pages-to-print
gint
>= -1
r
Number of Pages To Print
The number of pages that will be printed.
-1
GtkPrintOperation::print-settings
GtkPrintSettings*
rw
Print Settings
The GtkPrintSettings used for initializing the dialog.
GtkPrintOperation::show-progress
gboolean
rw
Show Dialog
TRUE if a progress dialog is shown while printing.
FALSE
GtkPrintOperation::status
GtkPrintStatus
r
Status
The status of the print operation.
GTK_PRINT_STATUS_INITIAL
GtkPrintOperation::status-string
gchar*
r
Status String
A human-readable description of the status.
""
GtkPrintOperation::support-selection
gboolean
rw
Support Selection
TRUE if the print operation will support print of selection.
FALSE
GtkPrintOperation::track-print-status
gboolean
rw
Track Print Status
TRUE if the print operation will continue to report on the print job status after the print data has been sent to the printer or print server.
FALSE
GtkPrintOperation::unit
GtkUnit
rw
Unit
The unit in which distances can be measured in the context.
GTK_UNIT_NONE
GtkPrintOperation::use-full-page
gboolean
rw
Use full page
TRUE if the origin of the context should be at the corner of the page and not the corner of the imageable area.
FALSE
GtkPrintUnixDialog::current-page
gint
>= -1
rw
Current Page
The current page in the document.
-1
GtkPrintUnixDialog::embed-page-setup
gboolean
rw
Embed Page Setup
TRUE if page setup combos are embedded in GtkPrintUnixDialog.
FALSE
GtkPrintUnixDialog::has-selection
gboolean
rw
Has Selection
Whether the application has a selection.
FALSE
GtkPrintUnixDialog::manual-capabilities
GtkPrintCapabilities
rw
Manual Capabilities
Capabilities the application can handle.
GtkPrintUnixDialog::page-setup
GtkPageSetup*
rw
Page Setup
The GtkPageSetup to use.
GtkPrintUnixDialog::print-settings
GtkPrintSettings*
rw
Print Settings
The GtkPrintSettings used for initializing the dialog.
GtkPrintUnixDialog::selected-printer
GtkPrinter*
r
Selected Printer
The GtkPrinter which is selected.
GtkPrintUnixDialog::support-selection
gboolean
rw
Support Selection
Whether the dialog supports selection.
FALSE
GtkProgressBar::ellipsize
PangoEllipsizeMode
rw
Ellipsize
The preferred place to ellipsize the string, if the progress bar does not have enough room to display the entire string, if at all.
PANGO_ELLIPSIZE_NONE
GtkProgressBar::fraction
gdouble
[0,1]
rw
Fraction
The fraction of total work that has been completed.
0
GtkProgressBar::inverted
gboolean
rw
Inverted
Invert the direction in which the progress bar grows.
FALSE
GtkProgressBar::pulse-step
gdouble
[0,1]
rw
Pulse Step
The fraction of total progress to move the bouncing block when pulsed.
0.1
GtkProgressBar::show-text
gboolean
rw
Show text
Whether the progress is shown as text.
FALSE
GtkProgressBar::text
gchar*
rw
Text
Text to be displayed in the progress bar.
NULL
GtkRadioButton::group
GtkRadioButton*
w
Group
The radio button whose group this widget belongs to.
GtkRange::adjustment
GtkAdjustment*
rwx
Adjustment
The GtkAdjustment that contains the current value of this range object.
GtkRange::fill-level
gdouble
rw
Fill Level
The fill level.
1.79769e+308
GtkRange::inverted
gboolean
rw
Inverted
Invert direction slider moves to increase range value.
FALSE
GtkRange::restrict-to-fill-level
gboolean
rw
Restrict to Fill Level
Whether to restrict the upper boundary to the fill level.
TRUE
GtkRange::round-digits
gint
>= -1
rw
Round Digits
The number of digits to round the value to.
-1
GtkRange::show-fill-level
gboolean
rw
Show Fill Level
Whether to display a fill level indicator graphics on trough.
FALSE
GtkRecentManager::filename
gchar*
rwX
Filename
The full path to the file to be used to store and read the list.
NULL
GtkRecentManager::size
gint
>= -1
r
Size
The size of the recently used resources list.
0
GtkRevealer::child-revealed
gboolean
r
Child Revealed
Whether the child is revealed and the animation target reached.
FALSE
GtkRevealer::reveal-child
gboolean
rwx
Reveal Child
Whether the container should reveal the child.
FALSE
GtkRevealer::transition-duration
guint
rwx
Transition duration
The animation duration, in milliseconds.
250
GtkRevealer::transition-type
GtkRevealerTransitionType
rwx
Transition type
The type of animation used to transition.
GTK_REVEALER_TRANSITION_TYPE_SLIDE_DOWN
GtkRoot::focus-widget
GtkWidget*
rw
Focus widget
The focus widget.
GtkScaleButton::adjustment
GtkAdjustment*
rw
Adjustment
The GtkAdjustment that contains the current value of this scale button object.
GtkScaleButton::icons
GStrv
rw
Icons
List of icon names.
GtkScaleButton::value
gdouble
rw
Value
The value of the scale.
0
GtkScale::digits
gint
[-1,64]
rw
Digits
The number of decimal places that are displayed in the value.
1
GtkScale::draw-value
gboolean
rw
Draw Value
Whether the current value is displayed as a string next to the slider.
TRUE
GtkScale::has-origin
gboolean
rw
Has Origin
Whether the scale has an origin.
TRUE
GtkScale::value-pos
GtkPositionType
rw
Value Position
The position in which the current value is displayed.
GTK_POS_TOP
GtkScrollable::hadjustment
GtkAdjustment*
rwx
Horizontal adjustment
Horizontal adjustment that is shared between the scrollable widget and its controller.
GtkScrollable::hscroll-policy
GtkScrollablePolicy
rw
Horizontal Scrollable Policy
How the size of the content should be determined.
GTK_SCROLL_MINIMUM
GtkScrollable::vadjustment
GtkAdjustment*
rwx
Vertical adjustment
Vertical adjustment that is shared between the scrollable widget and its controller.
GtkScrollable::vscroll-policy
GtkScrollablePolicy
rw
Vertical Scrollable Policy
How the size of the content should be determined.
GTK_SCROLL_MINIMUM
GtkScrollbar::adjustment
GtkAdjustment*
rwx
Adjustment
The GtkAdjustment that contains the current value of this scrollbar.
GtkScrolledWindow::hadjustment
GtkAdjustment*
rwx
Horizontal Adjustment
The GtkAdjustment for the horizontal position.
GtkScrolledWindow::hscrollbar-policy
GtkPolicyType
rw
Horizontal Scrollbar Policy
When the horizontal scrollbar is displayed.
GTK_POLICY_AUTOMATIC
GtkScrolledWindow::kinetic-scrolling
gboolean
rw
Kinetic Scrolling
Kinetic scrolling mode.
TRUE
GtkScrolledWindow::max-content-height
gint
>= -1
rw
Maximum Content Height
The maximum height that the scrolled window will allocate to its content.
-1
GtkScrolledWindow::max-content-width
gint
>= -1
rw
Maximum Content Width
The maximum width that the scrolled window will allocate to its content.
-1
GtkScrolledWindow::min-content-height
gint
>= -1
rw
Minimum Content Height
The minimum height that the scrolled window will allocate to its content.
-1
GtkScrolledWindow::min-content-width
gint
>= -1
rw
Minimum Content Width
The minimum width that the scrolled window will allocate to its content.
-1
GtkScrolledWindow::overlay-scrolling
gboolean
rw
Overlay Scrolling
Overlay scrolling mode.
TRUE
GtkScrolledWindow::propagate-natural-height
gboolean
rw
Propagate Natural Height
Propagate Natural Height.
FALSE
GtkScrolledWindow::propagate-natural-width
gboolean
rw
Propagate Natural Width
Propagate Natural Width.
FALSE
GtkScrolledWindow::shadow-type
GtkShadowType
rw
Shadow Type
Style of bevel around the contents.
GTK_SHADOW_NONE
GtkScrolledWindow::vadjustment
GtkAdjustment*
rwx
Vertical Adjustment
The GtkAdjustment for the vertical position.
GtkScrolledWindow::vscrollbar-policy
GtkPolicyType
rw
Vertical Scrollbar Policy
When the vertical scrollbar is displayed.
GTK_POLICY_AUTOMATIC
GtkScrolledWindow::window-placement
GtkCornerType
rw
Window Placement
Where the contents are located with respect to the scrollbars.
GTK_CORNER_TOP_LEFT
GtkSearchBar::search-mode-enabled
gboolean
rw
Search Mode Enabled
Whether the search mode is on and the search bar shown.
FALSE
GtkSearchBar::show-close-button
gboolean
rwx
Show Close Button
Whether to show the close button in the toolbar.
FALSE
GtkSearchEntry::activates-default
gboolean
rw
Activates default
Whether to activate the default widget (such as the default button in a dialog) when Enter is pressed.
FALSE
GtkSearchEntry::placeholder-text
gchar*
rw
Placeholder text
Show text in the entry when it’s empty and unfocused.
NULL
GtkSettings::gtk-alternative-button-order
gboolean
rw
Alternative button order
Whether buttons in dialogs should use the alternative button order.
FALSE
GtkSettings::gtk-alternative-sort-arrows
gboolean
rw
Alternative sort indicator direction
Whether the direction of the sort indicators in list and tree views is inverted compared to the default (where down means ascending).
FALSE
GtkSettings::gtk-application-prefer-dark-theme
gboolean
rw
Application prefers a dark theme
Whether the application prefers to have a dark theme.
FALSE
GtkSettings::gtk-cursor-blink
gboolean
rw
Cursor Blink
Whether the cursor should blink.
TRUE
GtkSettings::gtk-cursor-blink-time
gint
>= 100
rw
Cursor Blink Time
Length of the cursor blink cycle, in milliseconds.
1200
GtkSettings::gtk-cursor-blink-timeout
gint
>= 1
rw
Cursor Blink Timeout
Time after which the cursor stops blinking, in seconds.
10
GtkSettings::gtk-cursor-theme-name
gchar*
rw
Cursor theme name
Name of the cursor theme to use, or NULL to use the default theme.
NULL
GtkSettings::gtk-cursor-theme-size
gint
[0,128]
rw
Cursor theme size
Size to use for cursors, or 0 to use the default size.
0
GtkSettings::gtk-decoration-layout
gchar*
rw
Decoration Layout
The layout for window decorations.
"menu:minimize,maximize,close"
GtkSettings::gtk-dialogs-use-header
gboolean
rw
Dialogs use header bar
Whether builtin GTK dialogs should use a header bar instead of an action area.
FALSE
GtkSettings::gtk-dnd-drag-threshold
gint
>= 1
rw
Drag threshold
Number of pixels the cursor can move before dragging.
8
GtkSettings::gtk-double-click-distance
gint
>= 0
rw
Double Click Distance
Maximum distance allowed between two clicks for them to be considered a double click (in pixels).
5
GtkSettings::gtk-double-click-time
gint
>= 0
rw
Double Click Time
Maximum time allowed between two clicks for them to be considered a double click (in milliseconds).
400
GtkSettings::gtk-enable-accels
gboolean
rw
Enable Accelerators
Whether menu items should have accelerators.
TRUE
GtkSettings::gtk-enable-animations
gboolean
rw
Enable Animations
Whether to enable toolkit-wide animations.
TRUE
GtkSettings::gtk-enable-event-sounds
gboolean
rw
Enable Event Sounds
Whether to play any event sounds at all.
TRUE
GtkSettings::gtk-enable-input-feedback-sounds
gboolean
rw
Audible Input Feedback
Whether to play event sounds as feedback to user input.
TRUE
GtkSettings::gtk-enable-primary-paste
gboolean
rw
Enable primary paste
Whether a middle click on a mouse should paste the “PRIMARY” clipboard content at the cursor location.
TRUE
GtkSettings::gtk-entry-password-hint-timeout
guint
rw
Password Hint Timeout
How long to show the last input character in hidden entries.
0
GtkSettings::gtk-entry-select-on-focus
gboolean
rw
Select on focus
Whether to select the contents of an entry when it is focused.
TRUE
GtkSettings::gtk-error-bell
gboolean
rw
Error Bell
When TRUE, keyboard navigation and other errors will cause a beep.
TRUE
GtkSettings::gtk-font-name
gchar*
rw
Font Name
The default font family and size to use.
"Sans 10"
GtkSettings::gtk-fontconfig-timestamp
guint
rw
Fontconfig configuration timestamp
Timestamp of current fontconfig configuration.
0
GtkSettings::gtk-icon-theme-name
gchar*
rw
Icon Theme Name
Name of icon theme to use.
"Adwaita"
GtkSettings::gtk-im-module
gchar*
rw
Default IM module
Which IM module should be used by default.
NULL
GtkSettings::gtk-keynav-use-caret
gboolean
rw
Whether to show cursor in text
Whether to show cursor in text.
FALSE
GtkSettings::gtk-label-select-on-focus
gboolean
rw
Select on focus
Whether to select the contents of a selectable label when it is focused.
TRUE
GtkSettings::gtk-long-press-time
guint
<= G_MAXINT
rw
Long press time
Time for a button/touch press to be considered a long press (in milliseconds).
500
GtkSettings::gtk-overlay-scrolling
gboolean
rw
Whether to use overlay scrollbars
Whether to use overlay scrollbars.
TRUE
GtkSettings::gtk-primary-button-warps-slider
gboolean
rw
Primary button warps slider
Whether a primary click on the trough should warp the slider into position.
TRUE
GtkSettings::gtk-print-backends
gchar*
rw
Default print backend
List of the GtkPrintBackend backends to use by default.
"file,cups"
GtkSettings::gtk-print-preview-command
gchar*
rw
Default command to run when displaying a print preview
Command to run when displaying a print preview.
"evince --unlink-tempfile --preview --print-settings %s %f"
GtkSettings::gtk-recent-files-enabled
gboolean
rw
Recent Files Enabled
Whether GTK remembers recent files.
TRUE
GtkSettings::gtk-recent-files-max-age
gint
>= -1
rw
Recent Files Max Age
Maximum age of recently used files, in days.
30
GtkSettings::gtk-shell-shows-app-menu
gboolean
rw
Desktop shell shows app menu
Set to TRUE if the desktop environment is displaying the app menu, FALSE if the app should display it itself.
FALSE
GtkSettings::gtk-shell-shows-desktop
gboolean
rw
Desktop environment shows the desktop folder
Set to TRUE if the desktop environment is displaying the desktop folder, FALSE if not.
TRUE
GtkSettings::gtk-shell-shows-menubar
gboolean
rw
Desktop shell shows the menubar
Set to TRUE if the desktop environment is displaying the menubar, FALSE if the app should display it itself.
FALSE
GtkSettings::gtk-sound-theme-name
gchar*
rw
Sound Theme Name
XDG sound theme name.
"freedesktop"
GtkSettings::gtk-split-cursor
gboolean
rw
Split Cursor
Whether two cursors should be displayed for mixed left-to-right and right-to-left text.
TRUE
GtkSettings::gtk-theme-name
gchar*
rw
Theme Name
Name of theme to load.
"Adwaita"
GtkSettings::gtk-titlebar-double-click
gchar*
rw
Titlebar double-click action
The action to take on titlebar double-click.
"toggle-maximize"
GtkSettings::gtk-titlebar-middle-click
gchar*
rw
Titlebar middle-click action
The action to take on titlebar middle-click.
"none"
GtkSettings::gtk-titlebar-right-click
gchar*
rw
Titlebar right-click action
The action to take on titlebar right-click.
"menu"
GtkSettings::gtk-xft-antialias
gint
[-1,1]
rw
Xft Antialias
Whether to antialias Xft fonts; 0=no, 1=yes, -1=default.
-1
GtkSettings::gtk-xft-dpi
gint
[-1,1048576]
rw
Xft DPI
Resolution for Xft, in 1024 * dots/inch. -1 to use default value.
-1
GtkSettings::gtk-xft-hinting
gint
[-1,1]
rw
Xft Hinting
Whether to hint Xft fonts; 0=no, 1=yes, -1=default.
-1
GtkSettings::gtk-xft-hintstyle
gchar*
rw
Xft Hint Style
What degree of hinting to use; hintnone, hintslight, hintmedium, or hintfull.
NULL
GtkSettings::gtk-xft-rgba
gchar*
rw
Xft RGBA
Type of subpixel antialiasing; none, rgb, bgr, vrgb, vbgr.
NULL
GtkShortcutLabel::accelerator
gchar*
rw
Accelerator
Accelerator.
NULL
GtkShortcutLabel::disabled-text
gchar*
rw
Disabled text
Disabled text.
NULL
GtkShortcutsWindow::section-name
gchar*
rw
Section Name
Section Name.
"internal-search"
GtkShortcutsWindow::view-name
gchar*
rw
View Name
View Name.
NULL
GtkShortcutsSection::max-height
guint
rw
Maximum Height
Maximum Height.
15
GtkShortcutsSection::section-name
gchar*
rw
Section Name
Section Name.
NULL
GtkShortcutsSection::title
gchar*
rw
Title
Title.
NULL
GtkShortcutsSection::view-name
gchar*
rw
View Name
View Name.
NULL
GtkShortcutsGroup::accel-size-group
GtkSizeGroup*
w
Accelerator Size Group
Accelerator Size Group.
GtkShortcutsGroup::height
guint
r
Height
Height.
1
GtkShortcutsGroup::title
gchar*
rw
Title
Title.
""
GtkShortcutsGroup::title-size-group
GtkSizeGroup*
w
Title Size Group
Title Size Group.
GtkShortcutsGroup::view
gchar*
rw
View
View.
NULL
GtkShortcutsShortcut::accel-size-group
GtkSizeGroup*
w
Accelerator Size Group
Accelerator Size Group.
GtkShortcutsShortcut::accelerator
gchar*
rw
Accelerator
The accelerator keys for shortcuts of type “Accelerator”.
NULL
GtkShortcutsShortcut::action-name
gchar*
rw
Action Name
The name of the action.
NULL
GtkShortcutsShortcut::direction
GtkTextDirection
rw
Direction
Text direction for which this shortcut is active.
GTK_TEXT_DIR_NONE
GtkShortcutsShortcut::icon
GIcon*
rw
Icon
The icon to show for shortcuts of type “Other Gesture”.
GtkShortcutsShortcut::icon-set
gboolean
rw
Icon Set
Whether an icon has been set.
FALSE
GtkShortcutsShortcut::shortcut-type
GtkShortcutType
rw
Shortcut Type
The type of shortcut that is represented.
GTK_SHORTCUT_ACCELERATOR
GtkShortcutsShortcut::subtitle
gchar*
rw
Subtitle
A short description for the gesture.
""
GtkShortcutsShortcut::subtitle-set
gboolean
rw
Subtitle Set
Whether a subtitle has been set.
FALSE
GtkShortcutsShortcut::title
gchar*
rw
Title
A short description for the shortcut.
""
GtkShortcutsShortcut::title-size-group
GtkSizeGroup*
w
Title Size Group
Title Size Group.
GtkSingleSelection::autoselect
gboolean
rw
Autoselect
If the selection will always select an item.
TRUE
GtkSingleSelection::can-unselect
gboolean
rw
Can unselect
If unselecting the selected item is allowed.
FALSE
GtkSingleSelection::model
GListModel*
rwX
The model
The model being managed.
GtkSingleSelection::selected
guint
rw
Selected
Position of the selected item.
4294967295
GtkSingleSelection::selected-item
GObject*
r
Selected Item
The selected item.
GtkSizeGroup::mode
GtkSizeGroupMode
rw
Mode
The directions in which the size group affects the requested sizes of its component widgets.
GTK_SIZE_GROUP_HORIZONTAL
GtkSliceListModel::item-type
GType*
GObject
rwX
Item type
The type of elements of this object.
GtkSliceListModel::model
GListModel*
rw
Model
Child model to take slice from.
GtkSliceListModel::offset
guint
rw
Offset
Offset of slice.
0
GtkSliceListModel::size
guint
rw
Size
Maximum size of slice.
10
GtkSortListModel::has-sort
gboolean
r
has sort
If a sort function is set for this model.
FALSE
GtkSortListModel::item-type
GType*
GObject
rwX
Item type
The type of items of this list.
GtkSortListModel::model
GListModel*
rwX
Model
The model being sorted.
GtkSpinButton::adjustment
GtkAdjustment*
rw
Adjustment
The adjustment that holds the value of the spin button.
GtkSpinButton::climb-rate
gdouble
>= 0
rw
Climb Rate
The acceleration rate when you hold down a button or key.
0
GtkSpinButton::digits
guint
<= 20
rw
Digits
The number of decimal places to display.
0
GtkSpinButton::numeric
gboolean
rw
Numeric
Whether non-numeric characters should be ignored.
FALSE
GtkSpinButton::snap-to-ticks
gboolean
rw
Snap to Ticks
Whether erroneous values are automatically changed to a spin button’s nearest step increment.
FALSE
GtkSpinButton::update-policy
GtkSpinButtonUpdatePolicy
rw
Update Policy
Whether the spin button should update always, or only when the value is legal.
GTK_UPDATE_ALWAYS
GtkSpinButton::value
gdouble
rw
Value
Reads the current value, or sets a new value.
0
GtkSpinButton::wrap
gboolean
rw
Wrap
Whether a spin button should wrap upon reaching its limits.
FALSE
GtkSpinner::active
gboolean
rw
Active
Whether the spinner is active.
FALSE
GtkStack::hhomogeneous
gboolean
rw
Horizontally homogeneous
Horizontally homogeneous sizing.
TRUE
GtkStack::homogeneous
gboolean
rw
Homogeneous
Homogeneous sizing.
TRUE
GtkStack::interpolate-size
gboolean
rw
Interpolate size
Whether or not the size should smoothly change when changing between differently sized children.
FALSE
GtkStack::pages
GtkSelectionModel*
r
Pages
A selection model with the stacks pages.
GtkStack::transition-duration
guint
rw
Transition duration
The animation duration, in milliseconds.
200
GtkStack::transition-running
gboolean
r
Transition running
Whether or not the transition is currently running.
FALSE
GtkStack::transition-type
GtkStackTransitionType
rw
Transition type
The type of animation used to transition.
GTK_STACK_TRANSITION_TYPE_NONE
GtkStack::vhomogeneous
gboolean
rw
Vertically homogeneous
Vertically homogeneous sizing.
TRUE
GtkStack::visible-child
GtkWidget*
rw
Visible child
The widget currently visible in the stack.
GtkStack::visible-child-name
gchar*
rw
Name of visible child
The name of the widget currently visible in the stack.
NULL
GtkStackPage::child
GtkWidget*
rwX
Child
The child of the page.
GtkStackPage::icon-name
gchar*
rw
Icon name
The icon name of the child page.
NULL
GtkStackPage::name
gchar*
rwX
Name
The name of the child page.
NULL
GtkStackPage::needs-attention
gboolean
rw
Needs Attention
Whether this page needs attention.
FALSE
GtkStackPage::title
gchar*
rw
Title
The title of the child page.
NULL
GtkStackPage::visible
gboolean
rw
Visible
Whether this page is visible.
TRUE
GtkStackSidebar::stack
GtkStack*
rw
Stack
Associated stack for this GtkStackSidebar.
GtkStackSwitcher::stack
GtkStack*
rwx
Stack
Stack.
GtkSwitch::active
gboolean
rw
Active
Whether the switch is on or off.
FALSE
GtkSwitch::state
gboolean
rw
State
The backend state.
FALSE
GtkLevelBar::inverted
gboolean
rw
Inverted
Invert the direction in which the level bar grows.
FALSE
GtkLevelBar::max-value
gdouble
>= 0
rw
Maximum value level for the bar
Maximum value level that can be displayed by the bar.
1
GtkLevelBar::min-value
gdouble
>= 0
rw
Minimum value level for the bar
Minimum value level that can be displayed by the bar.
0
GtkLevelBar::mode
GtkLevelBarMode
rw
The mode of the value indicator
The mode of the value indicator displayed by the bar.
GTK_LEVEL_BAR_MODE_CONTINUOUS
GtkLevelBar::value
gdouble
>= 0
rw
Currently filled value level
Currently filled value level of the level bar.
0
GtkStyleContext::display
GdkDisplay*
rw
Display
The associated GdkDisplay.
GtkTextBuffer::can-redo
gboolean
r
Can Redo
If the buffer can have the last undone action reapplied.
FALSE
GtkTextBuffer::can-undo
gboolean
r
Can Undo
If the buffer can have the last action undone.
FALSE
GtkTextBuffer::copy-target-list
GdkContentFormats*
r
Copy target list
The list of targets this buffer supports for clipboard copying and DND source.
GtkTextBuffer::cursor-position
gint
>= 0
r
Cursor position
The position of the insert mark (as offset from the beginning of the buffer).
0
GtkTextBuffer::enable-undo
gboolean
rw
Enable Undo
Enable support for undo and redo in the text view.
TRUE
GtkTextBuffer::has-selection
gboolean
r
Has selection
Whether the buffer has some text currently selected.
FALSE
GtkTextBuffer::paste-target-list
GdkContentFormats*
r
Paste target list
The list of targets this buffer supports for clipboard pasting and DND destination.
GtkTextBuffer::tag-table
GtkTextTagTable*
rwX
Tag Table
Text Tag Table.
GtkTextBuffer::text
gchar*
rw
Text
Current text of the buffer.
""
GtkText::activates-default
gboolean
rw
Activates default
Whether to activate the default widget (such as the default button in a dialog) when Enter is pressed.
FALSE
GtkText::attributes
PangoAttrList*
rw
Attributes
A list of style attributes to apply to the text of the self.
GtkText::buffer
GtkEntryBuffer*
rwx
Text Buffer
Text buffer object which actually stores self text.
GtkText::enable-emoji-completion
gboolean
rw
Enable Emoji completion
Whether to suggest Emoji replacements.
FALSE
GtkText::extra-menu
GMenuModel*
rw
Extra menu
Menu model to append to the context menu.
GtkText::im-module
gchar*
rw
IM module
Which IM module should be used.
NULL
GtkText::input-hints
GtkInputHints
rw
hints
Hints for the text field behaviour.
GtkText::input-purpose
GtkInputPurpose
rw
Purpose
Purpose of the text field.
GTK_INPUT_PURPOSE_FREE_FORM
GtkText::invisible-char
guint
rw
Invisible character
The character to use when masking self contents (in “password mode”).
'*'
GtkText::invisible-char-set
gboolean
rw
Invisible character set
Whether the invisible character has been set.
FALSE
GtkText::max-length
gint
[0,65535]
rw
Maximum length
Maximum number of characters for this self. Zero if no maximum.
0
GtkText::overwrite-mode
gboolean
rw
Overwrite mode
Whether new text overwrites existing text.
FALSE
GtkText::placeholder-text
gchar*
rw
Placeholder text
Show text in the self when it’s empty and unfocused.
NULL
GtkText::propagate-text-width
gboolean
rw
Propagate text width
Whether the entry should grow and shrink with the content.
FALSE
GtkText::scroll-offset
gint
>= 0
r
Scroll offset
Number of pixels of the self scrolled off the screen to the left.
0
GtkText::tabs
PangoTabArray*
rw
Tabs
A list of tabstop locations to apply to the text of the self.
GtkText::truncate-multiline
gboolean
rw
Truncate multiline
Whether to truncate multiline pastes to one line.
FALSE
GtkText::visibility
gboolean
rw
Visibility
FALSE displays the “invisible char” instead of the actual text (password mode).
TRUE
GtkTextMark::left-gravity
gboolean
rwX
Left gravity
Whether the mark has left gravity.
FALSE
GtkTextMark::name
gchar*
rwX
Name
Mark name.
NULL
GtkTextTag::accumulative-margin
gboolean
rw
Margin Accumulates
Whether left and right margins accumulate.
FALSE
GtkTextTag::background
gchar*
w
Background color name
Background color as a string.
NULL
GtkTextTag::background-full-height
gboolean
rw
Background full height
Whether the background color fills the entire line height or only the height of the tagged characters.
FALSE
GtkTextTag::background-full-height-set
gboolean
rw
Background full height set
Whether this tag affects background height.
FALSE
GtkTextTag::background-rgba
GdkRGBA*
rw
Background RGBA
Background color as a GdkRGBA.
GtkTextTag::background-set
gboolean
rw
Background set
Whether this tag affects the background color.
FALSE
GtkTextTag::direction
GtkTextDirection
rw
Text direction
Text direction, e.g. right-to-left or left-to-right.
GTK_TEXT_DIR_NONE
GtkTextTag::editable
gboolean
rw
Editable
Whether the text can be modified by the user.
TRUE
GtkTextTag::editable-set
gboolean
rw
Editability set
Whether this tag affects text editability.
FALSE
GtkTextTag::fallback
gboolean
rw
Fallback
Whether font fallback is enabled.
TRUE
GtkTextTag::fallback-set
gboolean
rw
Fallback set
Whether this tag affects font fallback.
FALSE
GtkTextTag::family
gchar*
rw
Font family
Name of the font family, e.g. Sans, Helvetica, Times, Monospace.
NULL
GtkTextTag::family-set
gboolean
rw
Font family set
Whether this tag affects the font family.
FALSE
GtkTextTag::font
gchar*
rw
Font
Font description as a string, e.g. “Sans Italic 12”.
NULL
GtkTextTag::font-desc
PangoFontDescription*
rw
Font
Font description as a PangoFontDescription struct.
GtkTextTag::font-features
gchar*
rw
Font Features
OpenType Font Features to use.
NULL
GtkTextTag::font-features-set
gboolean
rw
Font features set
Whether this tag affects font features.
FALSE
GtkTextTag::foreground
gchar*
w
Foreground color name
Foreground color as a string.
NULL
GtkTextTag::foreground-rgba
GdkRGBA*
rw
Foreground RGBA
Foreground color as a GdkRGBA.
GtkTextTag::foreground-set
gboolean
rw
Foreground set
Whether this tag affects the foreground color.
FALSE
GtkTextTag::indent
gint
rw
Indent
Amount to indent the paragraph, in pixels.
0
GtkTextTag::indent-set
gboolean
rw
Indent set
Whether this tag affects indentation.
FALSE
GtkTextTag::invisible
gboolean
rw
Invisible
Whether this text is hidden.
FALSE
GtkTextTag::invisible-set
gboolean
rw
Invisible set
Whether this tag affects text visibility.
FALSE
GtkTextTag::justification
GtkJustification
rw
Justification
Left, right, or center justification.
GTK_JUSTIFY_LEFT
GtkTextTag::justification-set
gboolean
rw
Justification set
Whether this tag affects paragraph justification.
FALSE
GtkTextTag::language
gchar*
rw
Language
The language this text is in, as an ISO code. Pango can use this as a hint when rendering the text. If not set, an appropriate default will be used.
NULL
GtkTextTag::language-set
gboolean
rw
Language set
Whether this tag affects the language the text is rendered as.
FALSE
GtkTextTag::left-margin
gint
>= 0
rw
Left margin
Width of the left margin in pixels.
0
GtkTextTag::left-margin-set
gboolean
rw
Left margin set
Whether this tag affects the left margin.
FALSE
GtkTextTag::letter-spacing
gint
>= 0
rw
Letter Spacing
Extra spacing between graphemes.
0
GtkTextTag::letter-spacing-set
gboolean
rw
Letter spacing set
Whether this tag affects letter spacing.
FALSE
GtkTextTag::name
gchar*
rwX
Tag name
Name used to refer to the text tag. NULL for anonymous tags.
NULL
GtkTextTag::paragraph-background
gchar*
w
Paragraph background color name
Paragraph background color as a string.
NULL
GtkTextTag::paragraph-background-rgba
GdkRGBA*
rw
Paragraph background RGBA
Paragraph background RGBA as a GdkRGBA.
GtkTextTag::paragraph-background-set
gboolean
rw
Paragraph background set
Whether this tag affects the paragraph background color.
FALSE
GtkTextTag::pixels-above-lines
gint
>= 0
rw
Pixels above lines
Pixels of blank space above paragraphs.
0
GtkTextTag::pixels-above-lines-set
gboolean
rw
Pixels above lines set
Whether this tag affects the number of pixels above lines.
FALSE
GtkTextTag::pixels-below-lines
gint
>= 0
rw
Pixels below lines
Pixels of blank space below paragraphs.
0
GtkTextTag::pixels-below-lines-set
gboolean
rw
Pixels below lines set
Whether this tag affects the number of pixels above lines.
FALSE
GtkTextTag::pixels-inside-wrap
gint
>= 0
rw
Pixels inside wrap
Pixels of blank space between wrapped lines in a paragraph.
0
GtkTextTag::pixels-inside-wrap-set
gboolean
rw
Pixels inside wrap set
Whether this tag affects the number of pixels between wrapped lines.
FALSE
GtkTextTag::right-margin
gint
>= 0
rw
Right margin
Width of the right margin in pixels.
0
GtkTextTag::right-margin-set
gboolean
rw
Right margin set
Whether this tag affects the right margin.
FALSE
GtkTextTag::rise
gint
rw
Rise
Offset of text above the baseline (below the baseline if rise is negative) in Pango units.
0
GtkTextTag::rise-set
gboolean
rw
Rise set
Whether this tag affects the rise.
FALSE
GtkTextTag::scale
gdouble
>= 0
rw
Font scale
Font size as a scale factor relative to the default font size. This properly adapts to theme changes etc. so is recommended. Pango predefines some scales such as PANGO_SCALE_X_LARGE.
1
GtkTextTag::scale-set
gboolean
rw
Font scale set
Whether this tag scales the font size by a factor.
FALSE
GtkTextTag::size
gint
>= 0
rw
Font size
Font size in Pango units.
0
GtkTextTag::size-points
gdouble
>= 0
rw
Font points
Font size in points.
0
GtkTextTag::size-set
gboolean
rw
Font size set
Whether this tag affects the font size.
FALSE
GtkTextTag::stretch
PangoStretch
rw
Font stretch
Font stretch as a PangoStretch, e.g. PANGO_STRETCH_CONDENSED.
PANGO_STRETCH_NORMAL
GtkTextTag::stretch-set
gboolean
rw
Font stretch set
Whether this tag affects the font stretch.
FALSE
GtkTextTag::strikethrough
gboolean
rw
Strikethrough
Whether to strike through the text.
FALSE
GtkTextTag::strikethrough-rgba
GdkRGBA*
rw
Strikethrough RGBA
Color of strikethrough for this text.
GtkTextTag::strikethrough-rgba-set
gboolean
rw
Strikethrough RGBA set
Whether this tag affects strikethrough color.
FALSE
GtkTextTag::strikethrough-set
gboolean
rw
Strikethrough set
Whether this tag affects strikethrough.
FALSE
GtkTextTag::style
PangoStyle
rw
Font style
Font style as a PangoStyle, e.g. PANGO_STYLE_ITALIC.
PANGO_STYLE_NORMAL
GtkTextTag::style-set
gboolean
rw
Font style set
Whether this tag affects the font style.
FALSE
GtkTextTag::tabs
PangoTabArray*
rw
Tabs
Custom tabs for this text.
GtkTextTag::tabs-set
gboolean
rw
Tabs set
Whether this tag affects tabs.
FALSE
GtkTextTag::underline
PangoUnderline
rw
Underline
Style of underline for this text.
PANGO_UNDERLINE_NONE
GtkTextTag::underline-rgba
GdkRGBA*
rw
Underline RGBA
Color of underline for this text.
GtkTextTag::underline-rgba-set
gboolean
rw
Underline RGBA set
Whether this tag affects underlining color.
FALSE
GtkTextTag::underline-set
gboolean
rw
Underline set
Whether this tag affects underlining.
FALSE
GtkTextTag::variant
PangoVariant
rw
Font variant
Font variant as a PangoVariant, e.g. PANGO_VARIANT_SMALL_CAPS.
PANGO_VARIANT_NORMAL
GtkTextTag::variant-set
gboolean
rw
Font variant set
Whether this tag affects the font variant.
FALSE
GtkTextTag::weight
gint
>= 0
rw
Font weight
Font weight as an integer, see predefined values in PangoWeight; for example, PANGO_WEIGHT_BOLD.
400
GtkTextTag::weight-set
gboolean
rw
Font weight set
Whether this tag affects the font weight.
FALSE
GtkTextTag::wrap-mode
GtkWrapMode
rw
Wrap mode
Whether to wrap lines never, at word boundaries, or at character boundaries.
GTK_WRAP_NONE
GtkTextTag::wrap-mode-set
gboolean
rw
Wrap mode set
Whether this tag affects line wrap mode.
FALSE
GtkTextView::accepts-tab
gboolean
rw
Accepts tab
Whether Tab will result in a tab character being entered.
TRUE
GtkTextView::bottom-margin
gint
>= 0
rw
Bottom Margin
Height of the bottom margin in pixels.
0
GtkTextView::buffer
GtkTextBuffer*
rw
Buffer
The buffer which is displayed.
GtkTextView::cursor-visible
gboolean
rw
Cursor Visible
If the insertion cursor is shown.
TRUE
GtkTextView::editable
gboolean
rw
Editable
Whether the text can be modified by the user.
TRUE
GtkTextView::extra-menu
GMenuModel*
rw
Extra menu
Menu model to append to the context menu.
GtkTextView::im-module
gchar*
rw
IM module
Which IM module should be used.
NULL
GtkTextView::indent
gint
rw
Indent
Amount to indent the paragraph, in pixels.
0
GtkTextView::input-hints
GtkInputHints
rw
hints
Hints for the text field behaviour.
GtkTextView::input-purpose
GtkInputPurpose
rw
Purpose
Purpose of the text field.
GTK_INPUT_PURPOSE_FREE_FORM
GtkTextView::justification
GtkJustification
rw
Justification
Left, right, or center justification.
GTK_JUSTIFY_LEFT
GtkTextView::left-margin
gint
>= 0
rw
Left Margin
Width of the left margin in pixels.
0
GtkTextView::monospace
gboolean
rw
Monospace
Whether to use a monospace font.
FALSE
GtkTextView::overwrite
gboolean
rw
Overwrite mode
Whether entered text overwrites existing contents.
FALSE
GtkTextView::pixels-above-lines
gint
>= 0
rw
Pixels Above Lines
Pixels of blank space above paragraphs.
0
GtkTextView::pixels-below-lines
gint
>= 0
rw
Pixels Below Lines
Pixels of blank space below paragraphs.
0
GtkTextView::pixels-inside-wrap
gint
>= 0
rw
Pixels Inside Wrap
Pixels of blank space between wrapped lines in a paragraph.
0
GtkTextView::right-margin
gint
>= 0
rw
Right Margin
Width of the right margin in pixels.
0
GtkTextView::tabs
PangoTabArray*
rw
Tabs
Custom tabs for this text.
GtkTextView::top-margin
gint
>= 0
rw
Top Margin
Height of the top margin in pixels.
0
GtkTextView::wrap-mode
GtkWrapMode
rw
Wrap Mode
Whether to wrap lines never, at word boundaries, or at character boundaries.
GTK_WRAP_NONE
GtkToggleButton::active
gboolean
rw
Active
If the toggle button should be pressed in.
FALSE
GtkTreeListModel::autoexpand
gboolean
rw
autoexpand
If all rows should be expanded by default.
FALSE
GtkTreeListModel::model
GListModel*
r
Model
The root model displayed.
GtkTreeListModel::passthrough
gboolean
rwX
passthrough
If child model values are passed through.
FALSE
GtkTreeListRow::children
GListModel*
r
Children
Model holding the row’s children.
GtkTreeListRow::depth
guint
r
Depth
Depth in the tree.
0
GtkTreeListRow::expandable
gboolean
r
Expandable
If this row can ever be expanded.
FALSE
GtkTreeListRow::expanded
gboolean
rw
Expanded
If this row is currently expanded.
FALSE
GtkTreeListRow::item
GObject*
r
Item
The item held in this row.
GtkTreeModelFilter::child-model
GtkTreeModel*
rwX
The child model
The model for the filtermodel to filter.
GtkTreeModelFilter::virtual-root
GtkTreePath*
rwX
The virtual root
The virtual root (relative to the child model) for this filtermodel.
GtkTreeModelSort::model
GtkTreeModel*
rwX
TreeModelSort Model
The model for the TreeModelSort to sort.
GtkTreeSelection::mode
GtkSelectionMode
rw
Mode
Selection mode.
GTK_SELECTION_SINGLE
GtkTreeViewColumn::alignment
gfloat
[0,1]
rw
Alignment
X Alignment of the column header text or widget.
0
GtkTreeViewColumn::cell-area
GtkCellArea*
rwX
Cell Area
The GtkCellArea used to layout cells.
GtkTreeViewColumn::clickable
gboolean
rw
Clickable
Whether the header can be clicked.
FALSE
GtkTreeViewColumn::expand
gboolean
rw
Expand
Column gets share of extra width allocated to the widget.
FALSE
GtkTreeViewColumn::fixed-width
gint
>= -1
rw
Fixed Width
Current fixed width of the column.
-1
GtkTreeViewColumn::max-width
gint
>= -1
rw
Maximum Width
Maximum allowed width of the column.
-1
GtkTreeViewColumn::min-width
gint
>= -1
rw
Minimum Width
Minimum allowed width of the column.
-1
GtkTreeViewColumn::reorderable
gboolean
rw
Reorderable
Whether the column can be reordered around the headers.
FALSE
GtkTreeViewColumn::resizable
gboolean
rw
Resizable
Column is user-resizable.
FALSE
GtkTreeViewColumn::sizing
GtkTreeViewColumnSizing
rw
Sizing
Resize mode of the column.
GTK_TREE_VIEW_COLUMN_GROW_ONLY
GtkTreeViewColumn::sort-column-id
gint
>= -1
rw
Sort column ID
Logical sort column ID this column sorts on when selected for sorting.
-1
GtkTreeViewColumn::sort-indicator
gboolean
rw
Sort indicator
Whether to show a sort indicator.
FALSE
GtkTreeViewColumn::sort-order
GtkSortType
rw
Sort order
Sort direction the sort indicator should indicate.
GTK_SORT_ASCENDING
GtkTreeViewColumn::spacing
gint
>= 0
rw
Spacing
Space which is inserted between cells.
0
GtkTreeViewColumn::title
gchar*
rw
Title
Title to appear in column header.
""
GtkTreeViewColumn::visible
gboolean
rw
Visible
Whether to display the column.
TRUE
GtkTreeViewColumn::widget
GtkWidget*
rw
Widget
Widget to put in column header button instead of column title.
GtkTreeViewColumn::width
gint
>= 0
r
Width
Current width of the column.
0
GtkTreeViewColumn::x-offset
gint
>= -2147483647
r
X position
Current X position of the column.
0
GtkTreeView::activate-on-single-click
gboolean
rw
Activate on Single Click
Activate row on a single click.
FALSE
GtkTreeView::enable-grid-lines
GtkTreeViewGridLines
rw
Enable Grid Lines
Whether grid lines should be drawn in the tree view.
GTK_TREE_VIEW_GRID_LINES_NONE
GtkTreeView::enable-search
gboolean
rw
Enable Search
View allows user to search through columns interactively.
TRUE
GtkTreeView::enable-tree-lines
gboolean
rw
Enable Tree Lines
Whether tree lines should be drawn in the tree view.
FALSE
GtkTreeView::expander-column
GtkTreeViewColumn*
rw
Expander Column
Set the column for the expander column.
GtkTreeView::fixed-height-mode
gboolean
rw
Fixed Height Mode
Speeds up GtkTreeView by assuming that all rows have the same height.
FALSE
GtkTreeView::headers-clickable
gboolean
rw
Headers Clickable
Column headers respond to click events.
TRUE
GtkTreeView::headers-visible
gboolean
rw
Headers Visible
Show the column header buttons.
TRUE
GtkTreeView::hover-expand
gboolean
rw
Hover Expand
Whether rows should be expanded/collapsed when the pointer moves over them.
FALSE
GtkTreeView::hover-selection
gboolean
rw
Hover Selection
Whether the selection should follow the pointer.
FALSE
GtkTreeView::level-indentation
gint
>= 0
rw
Level Indentation
Extra indentation for each level.
0
GtkTreeView::model
GtkTreeModel*
rw
TreeView Model
The model for the tree view.
GtkTreeView::reorderable
gboolean
rw
Reorderable
View is reorderable.
FALSE
GtkTreeView::rubber-banding
gboolean
rw
Rubber Banding
Whether to enable selection of multiple items by dragging the mouse pointer.
FALSE
GtkTreeView::search-column
gint
>= -1
rw
Search Column
Model column to search through during interactive search.
-1
GtkTreeView::show-expanders
gboolean
rw
Show Expanders
View has expanders.
TRUE
GtkTreeView::tooltip-column
gint
>= -1
rw
Tooltip Column
The column in the model containing the tooltip texts for the rows.
-1
GtkVideo::autoplay
gboolean
rw
Autoplay
If playback should begin automatically.
FALSE
GtkVideo::file
GFile*
rw
File
The video file played back.
GtkVideo::loop
gboolean
rw
Loop
If new media streams should be set to loop.
FALSE
GtkVideo::media-stream
GtkMediaStream*
rw
Media Stream
The media stream played.
GtkViewport::shadow-type
GtkShadowType
rw
Shadow type
Determines how the shadowed box around the viewport is drawn.
GTK_SHADOW_IN
GtkVolumeButton::use-symbolic
gboolean
rwx
Use symbolic icons
Whether to use symbolic icons.
TRUE
GtkWidget::can-focus
gboolean
rw
Can focus
Whether the widget can accept the input focus.
FALSE
GtkWidget::can-target
gboolean
rw
Can target
Whether the widget can receive pointer events.
FALSE
GtkWidget::css-name
gchar*
rwX
CSS Name
The name of this widget in the CSS tree.
NULL
GtkWidget::cursor
GdkCursor*
rw
Cursor
The cursor to show when hovering above widget.
GtkWidget::expand
gboolean
rw
Expand Both
Whether widget wants to expand in both directions.
FALSE
GtkWidget::focus-on-click
gboolean
rw
Focus on click
Whether the widget should grab focus when it is clicked with the mouse.
TRUE
GtkWidget::halign
GtkAlign
rw
Horizontal Alignment
How to position in extra horizontal space.
GTK_ALIGN_FILL
GtkWidget::has-default
gboolean
r
Has default
Whether the widget is the default widget.
FALSE
GtkWidget::has-focus
gboolean
rw
Has focus
Whether the widget has the input focus.
FALSE
GtkWidget::has-tooltip
gboolean
rw
Has tooltip
Whether this widget has a tooltip.
FALSE
GtkWidget::height-request
gint
>= -1
rw
Height request
Override for height request of the widget, or -1 if natural request should be used.
-1
GtkWidget::hexpand
gboolean
rw
Horizontal Expand
Whether widget wants more horizontal space.
FALSE
GtkWidget::hexpand-set
gboolean
rw
Horizontal Expand Set
Whether to use the hexpand property.
FALSE
GtkWidget::is-focus
gboolean
rw
Is focus
Whether the widget is the focus widget within the toplevel.
FALSE
GtkWidget::layout-manager
GtkLayoutManager*
rw
Layout Manager
The layout manager used to layout children of the widget.
GtkWidget::margin
gint
[0,32767]
rw
All Margins
Pixels of extra space on all four sides.
0
GtkWidget::margin-bottom
gint
[0,32767]
rw
Margin on Bottom
Pixels of extra space on the bottom side.
0
GtkWidget::margin-end
gint
[0,32767]
rw
Margin on End
Pixels of extra space on the end.
0
GtkWidget::margin-start
gint
[0,32767]
rw
Margin on Start
Pixels of extra space on the start.
0
GtkWidget::margin-top
gint
[0,32767]
rw
Margin on Top
Pixels of extra space on the top side.
0
GtkWidget::name
gchar*
rw
Widget name
The name of the widget.
NULL
GtkWidget::opacity
gdouble
[0,1]
rw
Opacity for Widget
The opacity of the widget, from 0 to 1.
1
GtkWidget::overflow
GtkOverflow
rw
Overflow
How content outside the widget’s content area is treated.
GTK_OVERFLOW_VISIBLE
GtkWidget::parent
GtkWidget*
r
Parent widget
The parent widget of this widget.
GtkWidget::receives-default
gboolean
rw
Receives default
If TRUE, the widget will receive the default action when it is focused.
FALSE
GtkWidget::root
GtkRoot*
r
Root widget
The root widget in the widget tree.
GtkWidget::scale-factor
gint
>= 1
r
Scale factor
The scaling factor of the window.
1
GtkWidget::sensitive
gboolean
rw
Sensitive
Whether the widget responds to input.
TRUE
GtkWidget::tooltip-markup
gchar*
rw
Tooltip markup
The contents of the tooltip for this widget.
NULL
GtkWidget::tooltip-text
gchar*
rw
Tooltip Text
The contents of the tooltip for this widget.
NULL
GtkWidget::valign
GtkAlign
rw
Vertical Alignment
How to position in extra vertical space.
GTK_ALIGN_FILL
GtkWidget::vexpand
gboolean
rw
Vertical Expand
Whether widget wants more vertical space.
FALSE
GtkWidget::vexpand-set
gboolean
rw
Vertical Expand Set
Whether to use the vexpand property.
FALSE
GtkWidget::visible
gboolean
rw
Visible
Whether the widget is visible.
TRUE
GtkWidget::width-request
gint
>= -1
rw
Width request
Override for width request of the widget, or -1 if natural request should be used.
-1
GtkWindow::accept-focus
gboolean
rw
Accept focus
TRUE if the window should receive the input focus.
TRUE
GtkWindow::application
GtkApplication*
rw
GtkApplication
The GtkApplication for the window.
GtkWindow::attached-to
GtkWidget*
rwx
Attached to Widget
The widget where the window is attached.
GtkWindow::decorated
gboolean
rw
Decorated
Whether the window should be decorated by the window manager.
TRUE
GtkWindow::default-height
gint
>= -1
rw
Default Height
The default height of the window, used when initially showing the window.
-1
GtkWindow::default-widget
GtkWidget*
rw
Default widget
The default widget.
GtkWindow::default-width
gint
>= -1
rw
Default Width
The default width of the window, used when initially showing the window.
-1
GtkWindow::deletable
gboolean
rw
Deletable
Whether the window frame should have a close button.
TRUE
GtkWindow::destroy-with-parent
gboolean
rw
Destroy with Parent
If this window should be destroyed when the parent is destroyed.
FALSE
GtkWindow::display
GdkDisplay*
rw
Display
The display that will display this window.
GtkWindow::focus-on-map
gboolean
rw
Focus on map
TRUE if the window should receive the input focus when mapped.
TRUE
GtkWindow::focus-visible
gboolean
rw
Focus Visible
Whether focus rectangles are currently visible in this window.
TRUE
GtkWindow::hide-on-close
gboolean
rw
Hide on close
If this window should be hidden when the user clicks the close button.
FALSE
GtkWindow::icon-name
gchar*
rw
Icon Name
Name of the themed icon for this window.
NULL
GtkWindow::is-active
gboolean
r
Is Active
Whether the toplevel is the current active window.
FALSE
GtkWindow::is-maximized
gboolean
r
Is maximized
Whether the window is maximized.
FALSE
GtkWindow::mnemonics-visible
gboolean
rw
Mnemonics Visible
Whether mnemonics are currently visible in this window.
FALSE
GtkWindow::modal
gboolean
rw
Modal
If TRUE, the window is modal (other windows are not usable while this one is up).
FALSE
GtkWindow::resizable
gboolean
rw
Resizable
If TRUE, users can resize the window.
TRUE
GtkWindow::startup-id
gchar*
w
Startup ID
Unique startup identifier for the window used by startup-notification.
NULL
GtkWindow::title
gchar*
rw
Window Title
The title of the window.
NULL
GtkWindow::transient-for
GtkWindow*
rwx
Transient for Window
The transient parent of the dialog.
GtkWindow::type
GtkWindowType
rwX
Window Type
The type of the window.
GTK_WINDOW_TOPLEVEL
GtkWindow::type-hint
GdkSurfaceTypeHint
rw
Type hint
Hint to help the desktop environment understand what kind of window this is and how to treat it.
GDK_SURFACE_TYPE_HINT_NORMAL
docs/reference/gtk/gtk4.actions 0000664 0001750 0001750 00000005712 13617646175 016641 0 ustar mclasen mclasen
GtkColorChooserWidget:::color.select
(dddd)
GtkColorChooserWidget:::color.customize
(dddd)
GtkLabel:::clipboard.cut
GtkLabel:::clipboard.copy
GtkLabel:::clipboard.paste
GtkLabel:::selection.delete
GtkLabel:::selection.select-all
GtkLabel:::link.open
GtkLabel:::link.copy
GtkLinkButton:::clipboard.copy
GtkText:::text.undo
GtkText:::text.redo
GtkText:::clipboard.cut
GtkText:::clipboard.copy
GtkText:::clipboard.paste
GtkText:::selection.delete
GtkText:::selection.select-all
GtkText:::misc.insert-emoji
GtkText:::misc.toggle-visibility
visibility
GtkTextView:::text.undo
GtkTextView:::text.redo
GtkTextView:::clipboard.cut
GtkTextView:::clipboard.copy
GtkTextView:::clipboard.paste
GtkTextView:::selection.delete
GtkTextView:::selection.select-all
GtkTextView:::misc.insert-emoji
GtkWindow:::default.activate
docs/reference/gtk/xml/ 0000775 0001750 0001750 00000000000 13620320501 015151 5 ustar mclasen mclasen docs/reference/gtk/xml/gtkimcontextsimple.xml 0000664 0001750 0001750 00000022214 13617646202 021645 0 ustar mclasen mclasen
]>
GtkIMContextSimple
3
GTK4 Library
GtkIMContextSimple
An input method context supporting table-based input methods
Functions
GtkIMContext *
gtk_im_context_simple_new ()
void
gtk_im_context_simple_add_table ()
void
gtk_im_context_simple_add_compose_file ()
Types and Values
struct GtkIMContextSimple
#define GTK_MAX_COMPOSE_LEN
Object Hierarchy
GObject
╰── GtkIMContext
╰── GtkIMContextSimple
Includes #include <gtk/gtk.h>
Description
GtkIMContextSimple is a simple input method context supporting table-based
input methods. It has a built-in table of compose sequences that is derived
from the X11 Compose files.
GtkIMContextSimple reads additional compose sequences from the first of the
following files that is found: ~/.config/gtk-4.0/Compose, ~/.XCompose,
/usr/share/X11/locale/$locale/Compose (for locales that have a nontrivial
Compose file). The syntax of these files is described in the Compose(5)
manual page.
Unicode characters GtkIMContextSimple also supports numeric entry of Unicode characters
by typing Ctrl-Shift-u, followed by a hexadecimal Unicode codepoint.
For example, Ctrl-Shift-u 1 2 3 Enter yields U+0123 LATIN SMALL LETTER
G WITH CEDILLA, i.e. ģ.
Functions
gtk_im_context_simple_new ()
gtk_im_context_simple_new
GtkIMContext *
gtk_im_context_simple_new (void );
Creates a new GtkIMContextSimple .
Returns
a new GtkIMContextSimple .
gtk_im_context_simple_add_table ()
gtk_im_context_simple_add_table
void
gtk_im_context_simple_add_table (GtkIMContextSimple *context_simple ,
guint16 *data ,
gint max_seq_len ,
gint n_seqs );
Adds an additional table to search to the input context.
Each row of the table consists of max_seq_len
key symbols
followed by two guint16 interpreted as the high and low
words of a gunicode value. Tables are searched starting
from the last added.
The table must be sorted in dictionary order on the
numeric value of the key symbol fields. (Values beyond
the length of the sequence should be zero.)
[skip ]
Parameters
context_simple
A GtkIMContextSimple
data
the table.
[array ]
max_seq_len
Maximum length of a sequence in the table
(cannot be greater than GTK_MAX_COMPOSE_LEN )
n_seqs
number of sequences in the table
gtk_im_context_simple_add_compose_file ()
gtk_im_context_simple_add_compose_file
void
gtk_im_context_simple_add_compose_file
(GtkIMContextSimple *context_simple ,
const gchar *compose_file );
Adds an additional table from the X11 compose file.
Parameters
context_simple
A GtkIMContextSimple
compose_file
The path of compose file
docs/reference/gtk/xml/gtkaboutdialog.xml 0000664 0001750 0001750 00000262162 13617646201 020722 0 ustar mclasen mclasen
]>
GtkAboutDialog
3
GTK4 Library
GtkAboutDialog
Display information about an application
Functions
GtkWidget *
gtk_about_dialog_new ()
const gchar *
gtk_about_dialog_get_program_name ()
void
gtk_about_dialog_set_program_name ()
const gchar *
gtk_about_dialog_get_version ()
void
gtk_about_dialog_set_version ()
const gchar *
gtk_about_dialog_get_copyright ()
void
gtk_about_dialog_set_copyright ()
const gchar *
gtk_about_dialog_get_comments ()
void
gtk_about_dialog_set_comments ()
const gchar *
gtk_about_dialog_get_license ()
void
gtk_about_dialog_set_license ()
gboolean
gtk_about_dialog_get_wrap_license ()
void
gtk_about_dialog_set_wrap_license ()
GtkLicense
gtk_about_dialog_get_license_type ()
void
gtk_about_dialog_set_license_type ()
const gchar *
gtk_about_dialog_get_website ()
void
gtk_about_dialog_set_website ()
const gchar *
gtk_about_dialog_get_website_label ()
void
gtk_about_dialog_set_website_label ()
const gchar * const *
gtk_about_dialog_get_authors ()
void
gtk_about_dialog_set_authors ()
const gchar * const *
gtk_about_dialog_get_artists ()
void
gtk_about_dialog_set_artists ()
const gchar * const *
gtk_about_dialog_get_documenters ()
void
gtk_about_dialog_set_documenters ()
const gchar *
gtk_about_dialog_get_translator_credits ()
void
gtk_about_dialog_set_translator_credits ()
GdkPaintable *
gtk_about_dialog_get_logo ()
void
gtk_about_dialog_set_logo ()
const gchar *
gtk_about_dialog_get_logo_icon_name ()
void
gtk_about_dialog_set_logo_icon_name ()
const gchar *
gtk_about_dialog_get_system_information ()
void
gtk_about_dialog_set_system_information ()
void
gtk_about_dialog_add_credit_section ()
void
gtk_show_about_dialog ()
Properties
GStrv artistsRead / Write
GStrv authorsRead / Write
gchar * commentsRead / Write
gchar * copyrightRead / Write
GStrv documentersRead / Write
gchar * licenseRead / Write
GtkLicense license-typeRead / Write
GdkPaintable * logoRead / Write
gchar * logo-icon-nameRead / Write
gchar * program-nameRead / Write
gchar * system-informationRead / Write
gchar * translator-creditsRead / Write
gchar * versionRead / Write
gchar * websiteRead / Write
gchar * website-labelRead / Write
gboolean wrap-licenseRead / Write
Signals
gboolean activate-link Run Last
Types and Values
GtkAboutDialog
enum GtkLicense
Object Hierarchy
GObject
╰── GInitiallyUnowned
╰── GtkWidget
╰── GtkContainer
╰── GtkBin
╰── GtkWindow
╰── GtkDialog
╰── GtkAboutDialog
Implemented Interfaces
GtkAboutDialog implements
AtkImplementorIface, GtkBuildable, GtkConstraintTarget, GtkNative and GtkRoot.
Includes #include <gtk/gtk.h>
Description
The GtkAboutDialog offers a simple way to display information about
a program like its logo, name, copyright, website and license. It is
also possible to give credits to the authors, documenters, translators
and artists who have worked on the program. An about dialog is typically
opened when the user selects the About option from the Help menu.
All parts of the dialog are optional.
About dialogs often contain links and email addresses. GtkAboutDialog
displays these as clickable links. By default, it calls gtk_show_uri_on_window()
when a user clicks one. The behaviour can be overridden with the
“activate-link” signal.
To specify a person with an email address, use a string like
"Edgar Allan Poe <edgar@poe.com>". To specify a website with a title,
use a string like "GTK+ team http://www.gtk.org".
To make constructing a GtkAboutDialog as convenient as possible, you can
use the function gtk_show_about_dialog() which constructs and shows a dialog
and keeps it around so that it can be shown again.
Note that GTK+ sets a default title of _("About %s") on the dialog
window (where %s is replaced by the name of the application, but in
order to ensure proper translation of the title, applications should
set the title property explicitly when constructing a GtkAboutDialog,
as shown in the following example:
It is also possible to show a GtkAboutDialog like any other GtkDialog ,
e.g. using gtk_dialog_run() . In this case, you might need to know that
the “Close” button returns the GTK_RESPONSE_CANCEL response id.
Functions
gtk_about_dialog_new ()
gtk_about_dialog_new
GtkWidget *
gtk_about_dialog_new (void );
Creates a new GtkAboutDialog .
Returns
a newly created GtkAboutDialog
gtk_about_dialog_get_program_name ()
gtk_about_dialog_get_program_name
const gchar *
gtk_about_dialog_get_program_name (GtkAboutDialog *about );
Returns the program name displayed in the about dialog.
Parameters
about
a GtkAboutDialog
Returns
The program name. The string is owned by the about
dialog and must not be modified.
gtk_about_dialog_set_program_name ()
gtk_about_dialog_set_program_name
void
gtk_about_dialog_set_program_name (GtkAboutDialog *about ,
const gchar *name );
Sets the name to display in the about dialog.
If this is not set, it defaults to g_get_application_name() .
Parameters
about
a GtkAboutDialog
name
the program name
gtk_about_dialog_get_version ()
gtk_about_dialog_get_version
const gchar *
gtk_about_dialog_get_version (GtkAboutDialog *about );
Returns the version string.
Parameters
about
a GtkAboutDialog
Returns
The version string. The string is owned by the about
dialog and must not be modified.
gtk_about_dialog_set_version ()
gtk_about_dialog_set_version
void
gtk_about_dialog_set_version (GtkAboutDialog *about ,
const gchar *version );
Sets the version string to display in the about dialog.
Parameters
about
a GtkAboutDialog
version
the version string.
[allow-none ]
gtk_about_dialog_get_copyright ()
gtk_about_dialog_get_copyright
const gchar *
gtk_about_dialog_get_copyright (GtkAboutDialog *about );
Returns the copyright string.
Parameters
about
a GtkAboutDialog
Returns
The copyright string. The string is owned by the about
dialog and must not be modified.
gtk_about_dialog_set_copyright ()
gtk_about_dialog_set_copyright
void
gtk_about_dialog_set_copyright (GtkAboutDialog *about ,
const gchar *copyright );
Sets the copyright string to display in the about dialog.
This should be a short string of one or two lines.
Parameters
about
a GtkAboutDialog
copyright
the copyright string.
[allow-none ]
gtk_about_dialog_get_license ()
gtk_about_dialog_get_license
const gchar *
gtk_about_dialog_get_license (GtkAboutDialog *about );
Returns the license information.
Parameters
about
a GtkAboutDialog
Returns
The license information. The string is owned by the about
dialog and must not be modified.
gtk_about_dialog_set_license ()
gtk_about_dialog_set_license
void
gtk_about_dialog_set_license (GtkAboutDialog *about ,
const gchar *license );
Sets the license information to be displayed in the secondary
license dialog. If license
is NULL , the license button is
hidden.
Parameters
about
a GtkAboutDialog
license
the license information or NULL .
[allow-none ]
gtk_about_dialog_get_wrap_license ()
gtk_about_dialog_get_wrap_license
gboolean
gtk_about_dialog_get_wrap_license (GtkAboutDialog *about );
Returns whether the license text in about
is
automatically wrapped.
Parameters
about
a GtkAboutDialog
Returns
TRUE if the license text is wrapped
gtk_about_dialog_set_wrap_license ()
gtk_about_dialog_set_wrap_license
void
gtk_about_dialog_set_wrap_license (GtkAboutDialog *about ,
gboolean wrap_license );
Sets whether the license text in about
is
automatically wrapped.
Parameters
about
a GtkAboutDialog
wrap_license
whether to wrap the license
gtk_about_dialog_get_license_type ()
gtk_about_dialog_get_license_type
GtkLicense
gtk_about_dialog_get_license_type (GtkAboutDialog *about );
Retrieves the license set using gtk_about_dialog_set_license_type()
Parameters
about
a GtkAboutDialog
Returns
a GtkLicense value
gtk_about_dialog_set_license_type ()
gtk_about_dialog_set_license_type
void
gtk_about_dialog_set_license_type (GtkAboutDialog *about ,
GtkLicense license_type );
Sets the license of the application showing the about
dialog from a
list of known licenses.
This function overrides the license set using
gtk_about_dialog_set_license() .
Parameters
about
a GtkAboutDialog
license_type
the type of license
gtk_about_dialog_get_website ()
gtk_about_dialog_get_website
const gchar *
gtk_about_dialog_get_website (GtkAboutDialog *about );
Returns the website URL.
Parameters
about
a GtkAboutDialog
Returns
The website URL. The string is owned by the about
dialog and must not be modified.
gtk_about_dialog_set_website ()
gtk_about_dialog_set_website
void
gtk_about_dialog_set_website (GtkAboutDialog *about ,
const gchar *website );
Sets the URL to use for the website link.
Parameters
about
a GtkAboutDialog
website
a URL string starting with "http://".
[allow-none ]
gtk_about_dialog_get_website_label ()
gtk_about_dialog_get_website_label
const gchar *
gtk_about_dialog_get_website_label (GtkAboutDialog *about );
Returns the label used for the website link.
Parameters
about
a GtkAboutDialog
Returns
The label used for the website link. The string is
owned by the about dialog and must not be modified.
gtk_about_dialog_set_website_label ()
gtk_about_dialog_set_website_label
void
gtk_about_dialog_set_website_label (GtkAboutDialog *about ,
const gchar *website_label );
Sets the label to be used for the website link.
Parameters
about
a GtkAboutDialog
website_label
the label used for the website link
gtk_about_dialog_get_authors ()
gtk_about_dialog_get_authors
const gchar * const *
gtk_about_dialog_get_authors (GtkAboutDialog *about );
Returns the string which are displayed in the authors tab
of the secondary credits dialog.
Parameters
about
a GtkAboutDialog
Returns
A
NULL -terminated string array containing the authors. The array is
owned by the about dialog and must not be modified.
[array zero-terminated=1][transfer none ]
gtk_about_dialog_set_authors ()
gtk_about_dialog_set_authors
void
gtk_about_dialog_set_authors (GtkAboutDialog *about ,
const gchar **authors );
Sets the strings which are displayed in the authors tab
of the secondary credits dialog.
Parameters
about
a GtkAboutDialog
authors
a NULL -terminated array of strings.
[array zero-terminated=1]
gtk_about_dialog_get_artists ()
gtk_about_dialog_get_artists
const gchar * const *
gtk_about_dialog_get_artists (GtkAboutDialog *about );
Returns the string which are displayed in the artists tab
of the secondary credits dialog.
Parameters
about
a GtkAboutDialog
Returns
A
NULL -terminated string array containing the artists. The array is
owned by the about dialog and must not be modified.
[array zero-terminated=1][transfer none ]
gtk_about_dialog_set_artists ()
gtk_about_dialog_set_artists
void
gtk_about_dialog_set_artists (GtkAboutDialog *about ,
const gchar **artists );
Sets the strings which are displayed in the artists tab
of the secondary credits dialog.
Parameters
about
a GtkAboutDialog
artists
a NULL -terminated array of strings.
[array zero-terminated=1]
gtk_about_dialog_get_documenters ()
gtk_about_dialog_get_documenters
const gchar * const *
gtk_about_dialog_get_documenters (GtkAboutDialog *about );
Returns the string which are displayed in the documenters
tab of the secondary credits dialog.
Parameters
about
a GtkAboutDialog
Returns
A
NULL -terminated string array containing the documenters. The
array is owned by the about dialog and must not be modified.
[array zero-terminated=1][transfer none ]
gtk_about_dialog_set_documenters ()
gtk_about_dialog_set_documenters
void
gtk_about_dialog_set_documenters (GtkAboutDialog *about ,
const gchar **documenters );
Sets the strings which are displayed in the documenters tab
of the credits dialog.
Parameters
about
a GtkAboutDialog
documenters
a NULL -terminated array of strings.
[array zero-terminated=1]
gtk_about_dialog_get_translator_credits ()
gtk_about_dialog_get_translator_credits
const gchar *
gtk_about_dialog_get_translator_credits
(GtkAboutDialog *about );
Returns the translator credits string which is displayed
in the translators tab of the secondary credits dialog.
Parameters
about
a GtkAboutDialog
Returns
The translator credits string. The string is
owned by the about dialog and must not be modified.
gtk_about_dialog_set_translator_credits ()
gtk_about_dialog_set_translator_credits
void
gtk_about_dialog_set_translator_credits
(GtkAboutDialog *about ,
const gchar *translator_credits );
Sets the translator credits string which is displayed in
the translators tab of the secondary credits dialog.
The intended use for this string is to display the translator
of the language which is currently used in the user interface.
Using gettext() , a simple way to achieve that is to mark the
string for translation:
It is a good idea to use the customary msgid “translator-credits” for this
purpose, since translators will already know the purpose of that msgid, and
since GtkAboutDialog will detect if “translator-credits” is untranslated
and hide the tab.
Parameters
about
a GtkAboutDialog
translator_credits
the translator credits.
[allow-none ]
gtk_about_dialog_get_logo ()
gtk_about_dialog_get_logo
GdkPaintable *
gtk_about_dialog_get_logo (GtkAboutDialog *about );
Returns the paintable displayed as logo in the about dialog.
Parameters
about
a GtkAboutDialog
Returns
the paintable displayed as logo. The
paintable is owned by the about dialog. If you want to keep a
reference to it, you have to call g_object_ref() on it.
[transfer none ]
gtk_about_dialog_set_logo ()
gtk_about_dialog_set_logo
void
gtk_about_dialog_set_logo (GtkAboutDialog *about ,
GdkPaintable *logo );
Sets the surface to be displayed as logo in the about dialog.
If it is NULL , the default window icon set with
gtk_window_set_default_icon() will be used.
Parameters
about
a GtkAboutDialog
logo
a GdkPaintable , or NULL .
[allow-none ]
gtk_about_dialog_get_logo_icon_name ()
gtk_about_dialog_get_logo_icon_name
const gchar *
gtk_about_dialog_get_logo_icon_name (GtkAboutDialog *about );
Returns the icon name displayed as logo in the about dialog.
Parameters
about
a GtkAboutDialog
Returns
the icon name displayed as logo. The string is
owned by the dialog. If you want to keep a reference
to it, you have to call g_strdup() on it.
gtk_about_dialog_set_logo_icon_name ()
gtk_about_dialog_set_logo_icon_name
void
gtk_about_dialog_set_logo_icon_name (GtkAboutDialog *about ,
const gchar *icon_name );
Sets the surface to be displayed as logo in the about dialog.
If it is NULL , the default window icon set with
gtk_window_set_default_icon() will be used.
Parameters
about
a GtkAboutDialog
icon_name
an icon name, or NULL .
[allow-none ]
gtk_about_dialog_get_system_information ()
gtk_about_dialog_get_system_information
const gchar *
gtk_about_dialog_get_system_information
(GtkAboutDialog *about );
Returns the system information that is shown in the about dialog.
Parameters
about
a GtkAboutDialog
Returns
the system information
gtk_about_dialog_set_system_information ()
gtk_about_dialog_set_system_information
void
gtk_about_dialog_set_system_information
(GtkAboutDialog *about ,
const gchar *system_information );
Sets the system information to be displayed in the about
dialog. If system_information
is NULL , the system information
tab is hidden.
See “system-information” .
Parameters
about
a GtkAboutDialog
system_information
system information or NULL .
[allow-none ]
gtk_about_dialog_add_credit_section ()
gtk_about_dialog_add_credit_section
void
gtk_about_dialog_add_credit_section (GtkAboutDialog *about ,
const gchar *section_name ,
const gchar **people );
Creates a new section in the Credits page.
Parameters
about
A GtkAboutDialog
section_name
The name of the section
people
The people who belong to that section.
[array zero-terminated=1]
gtk_show_about_dialog ()
gtk_show_about_dialog
void
gtk_show_about_dialog (GtkWindow *parent ,
const gchar *first_property_name ,
... );
This is a convenience function for showing an application’s about box.
The constructed dialog is associated with the parent window and
reused for future invocations of this function.
Parameters
parent
transient parent, or NULL for none.
[allow-none ]
first_property_name
the name of the first property
...
value of first property, followed by more properties, NULL -terminated
Property Details
The “artists” property
GtkAboutDialog:artists
“artists” GStrv
The people who contributed artwork to the program, as a NULL -terminated
array of strings. Each string may contain email addresses and URLs, which
will be displayed as links, see the introduction for more details.
Owner: GtkAboutDialog
Flags: Read / Write
The “authors” property
GtkAboutDialog:authors
“authors” GStrv
The authors of the program, as a NULL -terminated array of strings.
Each string may contain email addresses and URLs, which will be displayed
as links, see the introduction for more details.
Owner: GtkAboutDialog
Flags: Read / Write
The “copyright” property
GtkAboutDialog:copyright
“copyright” gchar *
Copyright information for the program.
Owner: GtkAboutDialog
Flags: Read / Write
Default value: NULL
The “documenters” property
GtkAboutDialog:documenters
“documenters” GStrv
The people documenting the program, as a NULL -terminated array of strings.
Each string may contain email addresses and URLs, which will be displayed
as links, see the introduction for more details.
Owner: GtkAboutDialog
Flags: Read / Write
The “license” property
GtkAboutDialog:license
“license” gchar *
The license of the program. This string is displayed in a
text view in a secondary dialog, therefore it is fine to use
a long multi-paragraph text. Note that the text is only wrapped
in the text view if the "wrap-license" property is set to TRUE ;
otherwise the text itself must contain the intended linebreaks.
When setting this property to a non-NULL value, the
“license-type” property is set to GTK_LICENSE_CUSTOM
as a side effect.
The text may contain links in this format <http://www.some.place/>
and email references in the form <mail-tosome.body
>, and these will
be converted into clickable links.
Owner: GtkAboutDialog
Flags: Read / Write
Default value: NULL
The “license-type” property
GtkAboutDialog:license-type
“license-type” GtkLicense
The license of the program, as a value of the GtkLicense enumeration.
The GtkAboutDialog will automatically fill out a standard disclaimer
and link the user to the appropriate online resource for the license
text.
If GTK_LICENSE_UNKNOWN is used, the link used will be the same
specified in the “website” property.
If GTK_LICENSE_CUSTOM is used, the current contents of the
“license” property are used.
For any other GtkLicense value, the contents of the
“license” property are also set by this property as
a side effect.
Owner: GtkAboutDialog
Flags: Read / Write
Default value: GTK_LICENSE_UNKNOWN
The “logo” property
GtkAboutDialog:logo
“logo” GdkPaintable *
A logo for the about box. If it is NULL , the default window icon
set with gtk_window_set_default_icon() will be used.
Owner: GtkAboutDialog
Flags: Read / Write
The “logo-icon-name” property
GtkAboutDialog:logo-icon-name
“logo-icon-name” gchar *
A named icon to use as the logo for the about box. This property
overrides the “logo” property.
Owner: GtkAboutDialog
Flags: Read / Write
Default value: "image-missing"
The “program-name” property
GtkAboutDialog:program-name
“program-name” gchar *
The name of the program.
If this is not set, it defaults to g_get_application_name() .
Owner: GtkAboutDialog
Flags: Read / Write
Default value: NULL
The “system-information” property
GtkAboutDialog:system-information
“system-information” gchar *
Information about the system on which the program is running.
This is displayed in a separate tab, therefore it is fine to use
a long multi-paragraph text. Note that the text should contain
the intended linebreaks.
The text may contain links in this format <http://www.some.place/>
and email references in the form <mail-tosome.body
>, and these will
be converted into clickable links.
Owner: GtkAboutDialog
Flags: Read / Write
Default value: NULL
The “translator-credits” property
GtkAboutDialog:translator-credits
“translator-credits” gchar *
Credits to the translators. This string should be marked as translatable.
The string may contain email addresses and URLs, which will be displayed
as links, see the introduction for more details.
Owner: GtkAboutDialog
Flags: Read / Write
Default value: NULL
The “version” property
GtkAboutDialog:version
“version” gchar *
The version of the program.
Owner: GtkAboutDialog
Flags: Read / Write
Default value: NULL
The “website” property
GtkAboutDialog:website
“website” gchar *
The URL for the link to the website of the program.
This should be a string starting with "http://.
Owner: GtkAboutDialog
Flags: Read / Write
Default value: NULL
The “website-label” property
GtkAboutDialog:website-label
“website-label” gchar *
The label for the link to the website of the program.
Owner: GtkAboutDialog
Flags: Read / Write
Default value: NULL
The “wrap-license” property
GtkAboutDialog:wrap-license
“wrap-license” gboolean
Whether to wrap the text in the license dialog.
Owner: GtkAboutDialog
Flags: Read / Write
Default value: FALSE
Signal Details
The “activate-link” signal
GtkAboutDialog::activate-link
gboolean
user_function (GtkAboutDialog *label,
gchar *uri,
gpointer user_data)
The signal which gets emitted to activate a URI.
Applications may connect to it to override the default behaviour,
which is to call gtk_show_uri_on_window() .
Parameters
label
The object on which the signal was emitted
uri
the URI that is activated
user_data
user data set when the signal handler was connected.
Returns
TRUE if the link has been activated
Flags: Run Last
docs/reference/gtk/xml/gtkimcontext.xml 0000664 0001750 0001750 00000131402 13617646202 020433 0 ustar mclasen mclasen
]>
GtkIMContext
3
GTK4 Library
GtkIMContext
Base class for input method contexts
Functions
void
gtk_im_context_get_preedit_string ()
gboolean
gtk_im_context_filter_keypress ()
void
gtk_im_context_focus_in ()
void
gtk_im_context_focus_out ()
void
gtk_im_context_reset ()
void
gtk_im_context_set_cursor_location ()
void
gtk_im_context_set_use_preedit ()
void
gtk_im_context_set_surrounding ()
gboolean
gtk_im_context_get_surrounding ()
gboolean
gtk_im_context_delete_surrounding ()
Properties
GtkInputHints input-hintsRead / Write
GtkInputPurpose input-purposeRead / Write
Signals
void commit Run Last
gboolean delete-surrounding Run Last
void preedit-changed Run Last
void preedit-end Run Last
void preedit-start Run Last
gboolean retrieve-surrounding Run Last
Types and Values
struct GtkIMContext
struct GtkIMContextClass
Object Hierarchy
GObject
╰── GtkIMContext
├── GtkIMContextSimple
╰── GtkIMMulticontext
Includes #include <gtk/gtk.h>
#include <gtk/gtkimmodule.h>
Description
GtkIMContext defines the interface for GTK+ input methods. An input method
is used by GTK+ text input widgets like GtkEntry to map from key events to
Unicode character strings.
The default input method can be set programmatically via the
“gtk-im-module” GtkSettings property. Alternatively, you may set
the GTK_IM_MODULE environment variable as documented in
Running GTK+ Applications.
The GtkEntry “im-module” and GtkTextView “im-module”
properties may also be used to set input methods for specific widget
instances. For instance, a certain entry widget might be expected to contain
certain characters which would be easier to input with a certain input
method.
An input method may consume multiple key events in sequence and finally
output the composed result. This is called preediting, and an input method
may provide feedback about this process by displaying the intermediate
composition states as preedit text. For instance, the default GTK+ input
method implements the input of arbitrary Unicode code points by holding down
the Control and Shift keys and then typing “U” followed by the hexadecimal
digits of the code point. When releasing the Control and Shift keys,
preediting ends and the character is inserted as text. Ctrl+Shift+u20AC for
example results in the € sign.
Additional input methods can be made available for use by GTK+ widgets as
loadable modules. An input method module is a small shared library which
implements a subclass of GtkIMContext or GtkIMContextSimple and exports
these four functions:
This function should register the GType of the GtkIMContext subclass which
implements the input method by means of g_type_module_register_type() . Note
that g_type_register_static() cannot be used as the type needs to be
registered dynamically.
Here goes any cleanup code your input method might require on module unload.
This function returns the list of input methods provided by the module. The
example implementation above shows a common solution and simply returns a
pointer to statically defined array of GtkIMContextInfo items for each
provided input method.
This function should return a pointer to a newly created instance of the
GtkIMContext subclass identified by context_id
. The context ID is the same
as specified in the GtkIMContextInfo array returned by im_module_list() .
After a new loadable input method module has been installed on the system,
the configuration file gtk.immodules needs to be
regenerated by gtk-query-immodules-3.0,
in order for the new input method to become available to GTK+ applications.
Functions
gtk_im_context_get_preedit_string ()
gtk_im_context_get_preedit_string
void
gtk_im_context_get_preedit_string (GtkIMContext *context ,
gchar **str ,
PangoAttrList **attrs ,
gint *cursor_pos );
Retrieve the current preedit string for the input context,
and a list of attributes to apply to the string.
This string should be displayed inserted at the insertion
point.
Parameters
context
a GtkIMContext
str
location to store the retrieved
string. The string retrieved must be freed with g_free() .
[out ][transfer full ]
attrs
location to store the retrieved
attribute list. When you are done with this list, you
must unreference it with pango_attr_list_unref() .
[out ][transfer full ]
cursor_pos
location to store position of cursor (in characters)
within the preedit string.
[out ]
gtk_im_context_filter_keypress ()
gtk_im_context_filter_keypress
gboolean
gtk_im_context_filter_keypress (GtkIMContext *context ,
GdkEventKey *event );
Allow an input method to internally handle key press and release
events. If this function returns TRUE , then no further processing
should be done for this key event.
Parameters
context
a GtkIMContext
event
the key event
Returns
TRUE if the input method handled the key event.
gtk_im_context_focus_in ()
gtk_im_context_focus_in
void
gtk_im_context_focus_in (GtkIMContext *context );
Notify the input method that the widget to which this
input context corresponds has gained focus. The input method
may, for example, change the displayed feedback to reflect
this change.
Parameters
context
a GtkIMContext
gtk_im_context_focus_out ()
gtk_im_context_focus_out
void
gtk_im_context_focus_out (GtkIMContext *context );
Notify the input method that the widget to which this
input context corresponds has lost focus. The input method
may, for example, change the displayed feedback or reset the contexts
state to reflect this change.
Parameters
context
a GtkIMContext
gtk_im_context_reset ()
gtk_im_context_reset
void
gtk_im_context_reset (GtkIMContext *context );
Notify the input method that a change such as a change in cursor
position has been made. This will typically cause the input
method to clear the preedit state.
Parameters
context
a GtkIMContext
gtk_im_context_set_cursor_location ()
gtk_im_context_set_cursor_location
void
gtk_im_context_set_cursor_location (GtkIMContext *context ,
const GdkRectangle *area );
Notify the input method that a change in cursor
position has been made. The location is relative to the client
window.
Parameters
context
a GtkIMContext
area
new location
gtk_im_context_set_use_preedit ()
gtk_im_context_set_use_preedit
void
gtk_im_context_set_use_preedit (GtkIMContext *context ,
gboolean use_preedit );
Sets whether the IM context should use the preedit string
to display feedback. If use_preedit
is FALSE (default
is TRUE), then the IM context may use some other method to display
feedback, such as displaying it in a child of the root window.
Parameters
context
a GtkIMContext
use_preedit
whether the IM context should use the preedit string.
gtk_im_context_set_surrounding ()
gtk_im_context_set_surrounding
void
gtk_im_context_set_surrounding (GtkIMContext *context ,
const gchar *text ,
gint len ,
gint cursor_index );
Sets surrounding context around the insertion point and preedit
string. This function is expected to be called in response to the
GtkIMContext::retrieve_surrounding signal, and will likely have no
effect if called at other times.
Parameters
context
a GtkIMContext
text
text surrounding the insertion point, as UTF-8.
the preedit string should not be included within
text
.
len
the length of text
, or -1 if text
is nul-terminated
cursor_index
the byte index of the insertion cursor within text
.
gtk_im_context_get_surrounding ()
gtk_im_context_get_surrounding
gboolean
gtk_im_context_get_surrounding (GtkIMContext *context ,
gchar **text ,
gint *cursor_index );
Retrieves context around the insertion point. Input methods
typically want context in order to constrain input text based on
existing text; this is important for languages such as Thai where
only some sequences of characters are allowed.
This function is implemented by emitting the
GtkIMContext::retrieve_surrounding signal on the input method; in
response to this signal, a widget should provide as much context as
is available, up to an entire paragraph, by calling
gtk_im_context_set_surrounding() . Note that there is no obligation
for a widget to respond to the ::retrieve_surrounding signal, so input
methods must be prepared to function without context.
Parameters
context
a GtkIMContext
text
location to store a UTF-8 encoded
string of text holding context around the insertion point.
If the function returns TRUE , then you must free the result
stored in this location with g_free() .
[out ][transfer full ]
cursor_index
location to store byte index of the insertion
cursor within text
.
[out ]
Returns
TRUE if surrounding text was provided; in this case
you must free the result stored in *text.
gtk_im_context_delete_surrounding ()
gtk_im_context_delete_surrounding
gboolean
gtk_im_context_delete_surrounding (GtkIMContext *context ,
gint offset ,
gint n_chars );
Asks the widget that the input context is attached to to delete
characters around the cursor position by emitting the
GtkIMContext::delete_surrounding signal. Note that offset
and n_chars
are in characters not in bytes which differs from the usage other
places in GtkIMContext .
In order to use this function, you should first call
gtk_im_context_get_surrounding() to get the current context, and
call this function immediately afterwards to make sure that you
know what you are deleting. You should also account for the fact
that even if the signal was handled, the input context might not
have deleted all the characters that were requested to be deleted.
This function is used by an input method that wants to make
subsitutions in the existing text in response to new input. It is
not useful for applications.
Parameters
context
a GtkIMContext
offset
offset from cursor position in chars;
a negative value means start before the cursor.
n_chars
number of characters to delete.
Returns
TRUE if the signal was handled.
Property Details
The “input-hints” property
GtkIMContext:input-hints
“input-hints” GtkInputHints
Hints for the text field behaviour. Owner: GtkIMContext
Flags: Read / Write
The “input-purpose” property
GtkIMContext:input-purpose
“input-purpose” GtkInputPurpose
Purpose of the text field. Owner: GtkIMContext
Flags: Read / Write
Default value: GTK_INPUT_PURPOSE_FREE_FORM
Signal Details
The “commit” signal
GtkIMContext::commit
void
user_function (GtkIMContext *context,
gchar *str,
gpointer user_data)
The ::commit signal is emitted when a complete input sequence
has been entered by the user. This can be a single character
immediately after a key press or the final result of preediting.
Parameters
context
the object on which the signal is emitted
str
the completed character(s) entered by the user
user_data
user data set when the signal handler was connected.
Flags: Run Last
The “delete-surrounding” signal
GtkIMContext::delete-surrounding
gboolean
user_function (GtkIMContext *context,
gint offset,
gint n_chars,
gpointer user_data)
The ::delete-surrounding signal is emitted when the input method
needs to delete all or part of the context surrounding the cursor.
Parameters
context
the object on which the signal is emitted
offset
the character offset from the cursor position of the text
to be deleted. A negative value indicates a position before
the cursor.
n_chars
the number of characters to be deleted
user_data
user data set when the signal handler was connected.
Returns
TRUE if the signal was handled.
Flags: Run Last
The “preedit-changed” signal
GtkIMContext::preedit-changed
void
user_function (GtkIMContext *context,
gpointer user_data)
The ::preedit-changed signal is emitted whenever the preedit sequence
currently being entered has changed. It is also emitted at the end of
a preedit sequence, in which case
gtk_im_context_get_preedit_string() returns the empty string.
Parameters
context
the object on which the signal is emitted
user_data
user data set when the signal handler was connected.
Flags: Run Last
The “preedit-end” signal
GtkIMContext::preedit-end
void
user_function (GtkIMContext *context,
gpointer user_data)
The ::preedit-end signal is emitted when a preediting sequence
has been completed or canceled.
Parameters
context
the object on which the signal is emitted
user_data
user data set when the signal handler was connected.
Flags: Run Last
The “preedit-start” signal
GtkIMContext::preedit-start
void
user_function (GtkIMContext *context,
gpointer user_data)
The ::preedit-start signal is emitted when a new preediting sequence
starts.
Parameters
context
the object on which the signal is emitted
user_data
user data set when the signal handler was connected.
Flags: Run Last
The “retrieve-surrounding” signal
GtkIMContext::retrieve-surrounding
gboolean
user_function (GtkIMContext *context,
gpointer user_data)
The ::retrieve-surrounding signal is emitted when the input method
requires the context surrounding the cursor. The callback should set
the input method surrounding context by calling the
gtk_im_context_set_surrounding() method.
Parameters
context
the object on which the signal is emitted
user_data
user data set when the signal handler was connected.
Returns
TRUE if the signal was handled.
Flags: Run Last
docs/reference/gtk/xml/gtkaccelgroup.xml 0000664 0001750 0001750 00000212743 13617646201 020554 0 ustar mclasen mclasen
]>
Accelerator Groups
3
GTK4 Library
Accelerator Groups
Groups of global keyboard accelerators for an
entire GtkWindow
Functions
GtkAccelGroup *
gtk_accel_group_new ()
void
gtk_accel_group_connect ()
void
gtk_accel_group_connect_by_path ()
gboolean
( *GtkAccelGroupActivate) ()
gboolean
( *GtkAccelGroupFindFunc) ()
gboolean
gtk_accel_group_disconnect ()
gboolean
gtk_accel_group_disconnect_key ()
gboolean
gtk_accel_group_activate ()
void
gtk_accel_group_lock ()
void
gtk_accel_group_unlock ()
gboolean
gtk_accel_group_get_is_locked ()
GtkAccelGroup *
gtk_accel_group_from_accel_closure ()
GdkModifierType
gtk_accel_group_get_modifier_mask ()
gboolean
gtk_accel_groups_activate ()
GSList *
gtk_accel_groups_from_object ()
GtkAccelKey *
gtk_accel_group_find ()
gboolean
gtk_accelerator_valid ()
void
gtk_accelerator_parse ()
gchar *
gtk_accelerator_name ()
gchar *
gtk_accelerator_get_label ()
void
gtk_accelerator_parse_with_keycode ()
gchar *
gtk_accelerator_name_with_keycode ()
gchar *
gtk_accelerator_get_label_with_keycode ()
void
gtk_accelerator_set_default_mod_mask ()
GdkModifierType
gtk_accelerator_get_default_mod_mask ()
Properties
gboolean is-lockedRead
GdkModifierType modifier-maskRead
Signals
gboolean accel-activate Has Details
void accel-changed Has Details
Types and Values
struct GtkAccelGroup
struct GtkAccelGroupClass
enum GtkAccelFlags
struct GtkAccelKey
Object Hierarchy
GObject
╰── GtkAccelGroup
Includes #include <gtk/gtk.h>
Description
A GtkAccelGroup represents a group of keyboard accelerators,
typically attached to a toplevel GtkWindow (with
gtk_window_add_accel_group() ).
Note that “accelerators” are different from
“mnemonics”. Accelerators are shortcuts for
activating a menu item; they appear alongside the menu item they’re a
shortcut for. For example “Ctrl+Q” might appear alongside the “Quit”
menu item. Mnemonics are shortcuts for GUI elements such as text
entries or buttons; they appear as underlined characters. See
gtk_label_new_with_mnemonic() . Menu items can have both accelerators
and mnemonics, of course.
Functions
gtk_accel_group_new ()
gtk_accel_group_new
GtkAccelGroup *
gtk_accel_group_new (void );
Creates a new GtkAccelGroup .
Returns
a new GtkAccelGroup object
gtk_accel_group_connect ()
gtk_accel_group_connect
void
gtk_accel_group_connect (GtkAccelGroup *accel_group ,
guint accel_key ,
GdkModifierType accel_mods ,
GtkAccelFlags accel_flags ,
GClosure *closure );
Installs an accelerator in this group. When accel_group
is being
activated in response to a call to gtk_accel_groups_activate() ,
closure
will be invoked if the accel_key
and accel_mods
from
gtk_accel_groups_activate() match those of this connection.
The signature used for the closure
is that of GtkAccelGroupActivate .
Note that, due to implementation details, a single closure can
only be connected to one accelerator group.
Parameters
accel_group
the accelerator group to install an accelerator in
accel_key
key value of the accelerator
accel_mods
modifier combination of the accelerator
accel_flags
a flag mask to configure this accelerator
closure
closure to be executed upon accelerator activation
gtk_accel_group_connect_by_path ()
gtk_accel_group_connect_by_path
void
gtk_accel_group_connect_by_path (GtkAccelGroup *accel_group ,
const gchar *accel_path ,
GClosure *closure );
Installs an accelerator in this group, using an accelerator path
to look up the appropriate key and modifiers (see
gtk_accel_map_add_entry() ). When accel_group
is being activated
in response to a call to gtk_accel_groups_activate() , closure
will
be invoked if the accel_key
and accel_mods
from
gtk_accel_groups_activate() match the key and modifiers for the path.
The signature used for the closure
is that of GtkAccelGroupActivate .
Note that accel_path
string will be stored in a GQuark . Therefore,
if you pass a static string, you can save some memory by interning it
first with g_intern_static_string() .
Parameters
accel_group
the accelerator group to install an accelerator in
accel_path
path used for determining key and modifiers
closure
closure to be executed upon accelerator activation
GtkAccelGroupActivate ()
GtkAccelGroupActivate
gboolean
( *GtkAccelGroupActivate) (GtkAccelGroup *accel_group ,
GObject *acceleratable ,
guint keyval ,
GdkModifierType modifier );
GtkAccelGroupFindFunc ()
GtkAccelGroupFindFunc
gboolean
( *GtkAccelGroupFindFunc) (GtkAccelKey *key ,
GClosure *closure ,
gpointer data );
Parameters
data
.
[closure ]
gtk_accel_group_disconnect ()
gtk_accel_group_disconnect
gboolean
gtk_accel_group_disconnect (GtkAccelGroup *accel_group ,
GClosure *closure );
Removes an accelerator previously installed through
gtk_accel_group_connect() .
Parameters
accel_group
the accelerator group to remove an accelerator from
closure
the closure to remove from this accelerator
group, or NULL to remove all closures.
[allow-none ]
Returns
TRUE if the closure was found and got disconnected
gtk_accel_group_disconnect_key ()
gtk_accel_group_disconnect_key
gboolean
gtk_accel_group_disconnect_key (GtkAccelGroup *accel_group ,
guint accel_key ,
GdkModifierType accel_mods );
Removes an accelerator previously installed through
gtk_accel_group_connect() .
Parameters
accel_group
the accelerator group to install an accelerator in
accel_key
key value of the accelerator
accel_mods
modifier combination of the accelerator
Returns
TRUE if there was an accelerator which could be
removed, FALSE otherwise
gtk_accel_group_activate ()
gtk_accel_group_activate
gboolean
gtk_accel_group_activate (GtkAccelGroup *accel_group ,
GQuark accel_quark ,
GObject *acceleratable ,
guint accel_key ,
GdkModifierType accel_mods );
Finds the first accelerator in accel_group
that matches
accel_key
and accel_mods
, and activates it.
Parameters
accel_group
a GtkAccelGroup
accel_quark
the quark for the accelerator name
acceleratable
the GObject , usually a GtkWindow , on which
to activate the accelerator
accel_key
accelerator keyval from a key event
accel_mods
keyboard state mask from a key event
Returns
TRUE if an accelerator was activated and handled
this keypress
gtk_accel_group_lock ()
gtk_accel_group_lock
void
gtk_accel_group_lock (GtkAccelGroup *accel_group );
Locks the given accelerator group.
Locking an acelerator group prevents the accelerators contained
within it to be changed during runtime. Refer to
gtk_accel_map_change_entry() about runtime accelerator changes.
If called more than once, accel_group
remains locked until
gtk_accel_group_unlock() has been called an equivalent number
of times.
Parameters
accel_group
a GtkAccelGroup
gtk_accel_group_unlock ()
gtk_accel_group_unlock
void
gtk_accel_group_unlock (GtkAccelGroup *accel_group );
Undoes the last call to gtk_accel_group_lock() on this accel_group
.
Parameters
accel_group
a GtkAccelGroup
gtk_accel_group_get_is_locked ()
gtk_accel_group_get_is_locked
gboolean
gtk_accel_group_get_is_locked (GtkAccelGroup *accel_group );
Locks are added and removed using gtk_accel_group_lock() and
gtk_accel_group_unlock() .
Parameters
accel_group
a GtkAccelGroup
Returns
TRUE if there are 1 or more locks on the accel_group
,
FALSE otherwise.
gtk_accel_group_from_accel_closure ()
gtk_accel_group_from_accel_closure
GtkAccelGroup *
gtk_accel_group_from_accel_closure (GClosure *closure );
Finds the GtkAccelGroup to which closure
is connected;
see gtk_accel_group_connect() .
Parameters
closure
a GClosure
Returns
the GtkAccelGroup to which closure
is connected, or NULL .
[nullable ][transfer none ]
gtk_accel_group_get_modifier_mask ()
gtk_accel_group_get_modifier_mask
GdkModifierType
gtk_accel_group_get_modifier_mask (GtkAccelGroup *accel_group );
Gets a GdkModifierType representing the mask for this
accel_group
. For example, GDK_CONTROL_MASK , GDK_SHIFT_MASK , etc.
Parameters
accel_group
a GtkAccelGroup
Returns
the modifier mask for this accel group.
gtk_accel_groups_activate ()
gtk_accel_groups_activate
gboolean
gtk_accel_groups_activate (GObject *object ,
guint accel_key ,
GdkModifierType accel_mods );
Finds the first accelerator in any GtkAccelGroup attached
to object
that matches accel_key
and accel_mods
, and
activates that accelerator.
Parameters
object
the GObject , usually a GtkWindow , on which
to activate the accelerator
accel_key
accelerator keyval from a key event
accel_mods
keyboard state mask from a key event
Returns
TRUE if an accelerator was activated and handled
this keypress
gtk_accel_groups_from_object ()
gtk_accel_groups_from_object
GSList *
gtk_accel_groups_from_object (GObject *object );
Gets a list of all accel groups which are attached to object
.
Parameters
object
a GObject , usually a GtkWindow
Returns
a list of
all accel groups which are attached to object
.
[element-type GtkAccelGroup][transfer none ]
gtk_accel_group_find ()
gtk_accel_group_find
GtkAccelKey *
gtk_accel_group_find (GtkAccelGroup *accel_group ,
GtkAccelGroupFindFunc find_func ,
gpointer data );
Finds the first entry in an accelerator group for which
find_func
returns TRUE and returns its GtkAccelKey .
Parameters
accel_group
a GtkAccelGroup
find_func
a function to filter the entries
of accel_group
with.
[scope call ]
data
data to pass to find_func
Returns
the key of the first entry passing
find_func
. The key is owned by GTK+ and must not be freed.
[transfer none ]
gtk_accelerator_valid ()
gtk_accelerator_valid
gboolean
gtk_accelerator_valid (guint keyval ,
GdkModifierType modifiers );
Determines whether a given keyval and modifier mask constitute
a valid keyboard accelerator. For example, the GDK_KEY_a keyval
plus GDK_CONTROL_MASK is valid - this is a “Ctrl+a” accelerator.
But, you can't, for instance, use the GDK_KEY_Control_L keyval
as an accelerator.
Parameters
keyval
a GDK keyval
modifiers
modifier mask
Returns
TRUE if the accelerator is valid
gtk_accelerator_parse ()
gtk_accelerator_parse
void
gtk_accelerator_parse (const gchar *accelerator ,
guint *accelerator_key ,
GdkModifierType *accelerator_mods );
Parses a string representing an accelerator. The format looks like
“<Control>a” or “<Shift><Alt>F1” or “<Release>z” (the last one is
for key release).
The parser is fairly liberal and allows lower or upper case, and also
abbreviations such as “<Ctl>” and “<Ctrl>”. Key names are parsed using
gdk_keyval_from_name() . For character keys the name is not the symbol,
but the lowercase name, e.g. one would use “<Ctrl>minus” instead of
“<Ctrl>-”.
If the parse fails, accelerator_key
and accelerator_mods
will
be set to 0 (zero).
Parameters
accelerator
string representing an accelerator
accelerator_key
return location for accelerator
keyval, or NULL .
[out ][allow-none ]
accelerator_mods
return location for accelerator
modifier mask, NULL .
[out ][allow-none ]
gtk_accelerator_name ()
gtk_accelerator_name
gchar *
gtk_accelerator_name (guint accelerator_key ,
GdkModifierType accelerator_mods );
Converts an accelerator keyval and modifier mask into a string
parseable by gtk_accelerator_parse() . For example, if you pass in
GDK_KEY_q and GDK_CONTROL_MASK , this function returns “<Control>q”.
If you need to display accelerators in the user interface,
see gtk_accelerator_get_label() .
Parameters
accelerator_key
accelerator keyval
accelerator_mods
accelerator modifier mask
Returns
a newly-allocated accelerator name
gtk_accelerator_get_label ()
gtk_accelerator_get_label
gchar *
gtk_accelerator_get_label (guint accelerator_key ,
GdkModifierType accelerator_mods );
Converts an accelerator keyval and modifier mask into a string
which can be used to represent the accelerator to the user.
Parameters
accelerator_key
accelerator keyval
accelerator_mods
accelerator modifier mask
Returns
a newly-allocated string representing the accelerator.
gtk_accelerator_parse_with_keycode ()
gtk_accelerator_parse_with_keycode
void
gtk_accelerator_parse_with_keycode (const gchar *accelerator ,
guint *accelerator_key ,
guint **accelerator_codes ,
GdkModifierType *accelerator_mods );
Parses a string representing an accelerator, similarly to
gtk_accelerator_parse() but handles keycodes as well. This is only
useful for system-level components, applications should use
gtk_accelerator_parse() instead.
If accelerator_codes
is given and the result stored in it is non-NULL ,
the result must be freed with g_free() .
If a keycode is present in the accelerator and no accelerator_codes
is given, the parse will fail.
If the parse fails, accelerator_key
, accelerator_mods
and
accelerator_codes
will be set to 0 (zero).
Parameters
accelerator
string representing an accelerator
accelerator_key
return location for accelerator
keyval, or NULL .
[out ][allow-none ]
accelerator_codes
return location for accelerator keycodes, or NULL .
[out ][array zero-terminated=1][transfer full ][allow-none ]
accelerator_mods
return location for accelerator
modifier mask, NULL .
[out ][allow-none ]
gtk_accelerator_name_with_keycode ()
gtk_accelerator_name_with_keycode
gchar *
gtk_accelerator_name_with_keycode (GdkDisplay *display ,
guint accelerator_key ,
guint keycode ,
GdkModifierType accelerator_mods );
Converts an accelerator keyval and modifier mask
into a string parseable by gtk_accelerator_parse_with_keycode() ,
similarly to gtk_accelerator_name() but handling keycodes.
This is only useful for system-level components, applications
should use gtk_accelerator_parse() instead.
Parameters
display
a GdkDisplay or NULL to use the default display.
[allow-none ]
accelerator_key
accelerator keyval
keycode
accelerator keycode
accelerator_mods
accelerator modifier mask
Returns
a newly allocated accelerator name.
gtk_accelerator_get_label_with_keycode ()
gtk_accelerator_get_label_with_keycode
gchar *
gtk_accelerator_get_label_with_keycode
(GdkDisplay *display ,
guint accelerator_key ,
guint keycode ,
GdkModifierType accelerator_mods );
Converts an accelerator keyval and modifier mask
into a (possibly translated) string that can be displayed to
a user, similarly to gtk_accelerator_get_label() , but handling
keycodes.
This is only useful for system-level components, applications
should use gtk_accelerator_parse() instead.
Parameters
display
a GdkDisplay or NULL to use the default display.
[allow-none ]
accelerator_key
accelerator keyval
keycode
accelerator keycode
accelerator_mods
accelerator modifier mask
Returns
a newly-allocated string representing the accelerator.
gtk_accelerator_set_default_mod_mask ()
gtk_accelerator_set_default_mod_mask
void
gtk_accelerator_set_default_mod_mask (GdkModifierType default_mod_mask );
Sets the modifiers that will be considered significant for keyboard
accelerators. The default mod mask depends on the GDK backend in use,
but will typically include GDK_CONTROL_MASK | GDK_SHIFT_MASK |
GDK_MOD1_MASK | GDK_SUPER_MASK | GDK_HYPER_MASK | GDK_META_MASK .
In other words, Control, Shift, Alt, Super, Hyper and Meta. Other
modifiers will by default be ignored by GtkAccelGroup .
You must include at least the three modifiers Control, Shift
and Alt in any value you pass to this function.
The default mod mask should be changed on application startup,
before using any accelerator groups.
Parameters
default_mod_mask
accelerator modifier mask
gtk_accelerator_get_default_mod_mask ()
gtk_accelerator_get_default_mod_mask
GdkModifierType
gtk_accelerator_get_default_mod_mask (void );
Gets the modifier mask.
The modifier mask determines which modifiers are considered significant
for keyboard accelerators. See gtk_accelerator_set_default_mod_mask() .
Returns
the default accelerator modifier mask
Property Details
The “is-locked” property
GtkAccelGroup:is-locked
“is-locked” gboolean
Is the accel group locked. Owner: GtkAccelGroup
Flags: Read
Default value: FALSE
The “modifier-mask” property
GtkAccelGroup:modifier-mask
“modifier-mask” GdkModifierType
Modifier Mask. Owner: GtkAccelGroup
Flags: Read
Signal Details
The “accel-activate” signal
GtkAccelGroup::accel-activate
gboolean
user_function (GtkAccelGroup *accel_group,
GObject *acceleratable,
guint keyval,
GdkModifierType modifier,
gpointer user_data)
The accel-activate signal is an implementation detail of
GtkAccelGroup and not meant to be used by applications.
Parameters
accel_group
the GtkAccelGroup which received the signal
acceleratable
the object on which the accelerator was activated
keyval
the accelerator keyval
modifier
the modifier combination of the accelerator
user_data
user data set when the signal handler was connected.
Returns
TRUE if the accelerator was activated
Flags: Has Details
The “accel-changed” signal
GtkAccelGroup::accel-changed
void
user_function (GtkAccelGroup *accel_group,
guint keyval,
GdkModifierType modifier,
GClosure *accel_closure,
gpointer user_data)
The accel-changed signal is emitted when an entry
is added to or removed from the accel group.
Widgets like GtkAccelLabel which display an associated
accelerator should connect to this signal, and rebuild
their visual representation if the accel_closure
is theirs.
Parameters
accel_group
the GtkAccelGroup which received the signal
keyval
the accelerator keyval
modifier
the modifier combination of the accelerator
accel_closure
the GClosure of the accelerator
user_data
user data set when the signal handler was connected.
Flags: Has Details
See Also
gtk_window_add_accel_group(), gtk_accel_map_change_entry() ,
gtk_label_new_with_mnemonic()
docs/reference/gtk/xml/gtktreelistrow.xml 0000664 0001750 0001750 00000047107 13617646203 021015 0 ustar mclasen mclasen
]>
GtkTreeListRow
3
GTK4 Library
GtkTreeListRow
A row in a GtkTreeListModel
Functions
gpointer
gtk_tree_list_row_get_item ()
void
gtk_tree_list_row_set_expanded ()
gboolean
gtk_tree_list_row_get_expanded ()
gboolean
gtk_tree_list_row_is_expandable ()
guint
gtk_tree_list_row_get_position ()
guint
gtk_tree_list_row_get_depth ()
GListModel *
gtk_tree_list_row_get_children ()
GtkTreeListRow *
gtk_tree_list_row_get_parent ()
GtkTreeListRow *
gtk_tree_list_row_get_child_row ()
Includes #include <gtk/gtk.h>
Description
GtkTreeListRow is the object used by GtkTreeListModel to
represent items. It allows navigating the model as a tree and
modify the state of rows.
GtkTreeListRow instances are created by a GtkTreeListModel only
when the “passthrough” property is not set.
There are various support objects that can make use of GtkTreeListRow
objects, such as the GtkTreeExpander widget that allows displaying
an icon to expand or collapse a row or GtkTreeListRowSorter that makes
it possible to sort trees properly.
Functions
gtk_tree_list_row_get_item ()
gtk_tree_list_row_get_item
gpointer
gtk_tree_list_row_get_item (GtkTreeListRow *self );
Gets the item corresponding to this row,
The value returned by this function never changes until the
row is destroyed.
Parameters
self
a GtkTreeListRow
Returns
The item of this row
or NULL when the row was destroyed.
[nullable ][type GObject][transfer full ]
gtk_tree_list_row_set_expanded ()
gtk_tree_list_row_set_expanded
void
gtk_tree_list_row_set_expanded (GtkTreeListRow *self ,
gboolean expanded );
Expands or collapses a row.
If a row is expanded, the model of calling the
GtkTreeListModelCreateModelFunc for the row's item will
be inserted after this row. If a row is collapsed, those
items will be removed from the model.
If the row is not expandable, this function does nothing.
Parameters
self
a GtkTreeListRow
expanded
TRUE if the row should be expanded
gtk_tree_list_row_get_expanded ()
gtk_tree_list_row_get_expanded
gboolean
gtk_tree_list_row_get_expanded (GtkTreeListRow *self );
Gets if a row is currently expanded.
Parameters
self
a GtkTreeListRow
Returns
TRUE if the row is expanded
gtk_tree_list_row_is_expandable ()
gtk_tree_list_row_is_expandable
gboolean
gtk_tree_list_row_is_expandable (GtkTreeListRow *self );
Checks if a row can be expanded. This does not mean that the
row is actually expanded, this can be checked with
gtk_tree_list_row_get_expanded()
If a row is expandable never changes until the row is destroyed.
Parameters
self
a GtkTreeListRow
Returns
TRUE if the row is expandable
gtk_tree_list_row_get_position ()
gtk_tree_list_row_get_position
guint
gtk_tree_list_row_get_position (GtkTreeListRow *self );
Returns the position in the GtkTreeListModel that self
occupies
at the moment.
Parameters
self
a GtkTreeListRow
Returns
The position in the model
gtk_tree_list_row_get_depth ()
gtk_tree_list_row_get_depth
guint
gtk_tree_list_row_get_depth (GtkTreeListRow *self );
Gets the depth of this row. Rows that correspond to items in
the root model have a depth of zero, rows corresponding to items
of models of direct children of the root model have a depth of
1 and so on.
The depth of a row never changes until the row is destroyed.
Parameters
self
a GtkTreeListRow
Returns
The depth of this row
gtk_tree_list_row_get_children ()
gtk_tree_list_row_get_children
GListModel *
gtk_tree_list_row_get_children (GtkTreeListRow *self );
If the row is expanded, gets the model holding the children of self
.
This model is the model created by the GtkTreeListModelCreateModelFunc
and contains the original items, no matter what value
“passthrough” is set to.
Parameters
self
a GtkTreeListRow
Returns
The model containing the children.
[nullable ][transfer none ]
gtk_tree_list_row_get_parent ()
gtk_tree_list_row_get_parent
GtkTreeListRow *
gtk_tree_list_row_get_parent (GtkTreeListRow *self );
Gets the row representing the parent for self
. That is the row that would
need to be collapsed to make this row disappear.
If self
is a row corresponding to the root model, NULL is returned.
The value returned by this function never changes until the
row is destroyed.
Parameters
self
a GtkTreeListRow
Returns
The parent of self
.
[nullable ][transfer full ]
gtk_tree_list_row_get_child_row ()
gtk_tree_list_row_get_child_row
GtkTreeListRow *
gtk_tree_list_row_get_child_row (GtkTreeListRow *self ,
guint position );
If self
is not expanded or position
is greater than the number of
children, NULL is returned.
Parameters
self
a GtkTreeListRow
position
position of the child to get
Returns
the child in position
.
[nullable ][transfer full ]
See Also
GtkTreeListModel
docs/reference/gtk/xml/gtkaccelmap.xml 0000664 0001750 0001750 00000116553 13617646201 020177 0 ustar mclasen mclasen
]>
Accelerator Maps
3
GTK4 Library
Accelerator Maps
Loadable keyboard accelerator specifications
Functions
void
( *GtkAccelMapForeach) ()
void
gtk_accel_map_add_entry ()
gboolean
gtk_accel_map_lookup_entry ()
gboolean
gtk_accel_map_change_entry ()
void
gtk_accel_map_load ()
void
gtk_accel_map_save ()
void
gtk_accel_map_foreach ()
void
gtk_accel_map_load_fd ()
void
gtk_accel_map_save_fd ()
void
gtk_accel_map_load_scanner ()
void
gtk_accel_map_add_filter ()
void
gtk_accel_map_foreach_unfiltered ()
GtkAccelMap *
gtk_accel_map_get ()
void
gtk_accel_map_lock_path ()
void
gtk_accel_map_unlock_path ()
Signals
void changed Has Details
Types and Values
GtkAccelMap
Object Hierarchy
GObject
╰── GtkAccelMap
Includes #include <gtk/gtk.h>
Description
Accelerator maps are used to define runtime configurable accelerators.
Functions for manipulating them are are usually used by higher level
convenience mechanisms and are thus considered
“low-level”. You’ll want to use them if you’re manually creating menus that
should have user-configurable accelerators.
An accelerator is uniquely defined by:
accelerator path
accelerator key
accelerator modifiers
The accelerator path must consist of
“<WINDOWTYPE>/Category1/Category2/.../Action”, where WINDOWTYPE
should be a unique application-specific identifier that corresponds
to the kind of window the accelerator is being used in, e.g.
“Gimp-Image”, “Abiword-Document” or “Gnumeric-Settings”.
The “Category1/.../Action” portion is most appropriately chosen by
the action the accelerator triggers, i.e. for accelerators on menu
items, choose the item’s menu path, e.g. “File/Save As”,
“Image/View/Zoom” or “Edit/Select All”. So a full valid accelerator
path may look like: “<Gimp-Toolbox>/File/Dialogs/Tool Options...”.
All accelerators are stored inside one global GtkAccelMap that can
be obtained using gtk_accel_map_get() . See
Monitoring changes for additional
details.
Manipulating accelerators New accelerators can be added using gtk_accel_map_add_entry() .
To search for specific accelerator, use gtk_accel_map_lookup_entry() .
Modifications of existing accelerators should be done using
gtk_accel_map_change_entry() .
In order to avoid having some accelerators changed, they can be
locked using gtk_accel_map_lock_path() . Unlocking is done using
gtk_accel_map_unlock_path() .
Saving and loading accelerator maps Accelerator maps can be saved to and loaded from some external
resource. For simple saving and loading from file,
gtk_accel_map_save() and gtk_accel_map_load() are provided.
Saving and loading can also be done by providing file descriptor
to gtk_accel_map_save_fd() and gtk_accel_map_load_fd() .
Monitoring changes GtkAccelMap object is only useful for monitoring changes of
accelerators. By connecting to “changed” signal, one
can monitor changes of all accelerators. It is also possible to
monitor only single accelerator path by using it as a detail of
the “changed” signal.
Functions
GtkAccelMapForeach ()
GtkAccelMapForeach
void
( *GtkAccelMapForeach) (gpointer data ,
const gchar *accel_path ,
guint accel_key ,
GdkModifierType accel_mods ,
gboolean changed );
Parameters
data
User data passed to gtk_accel_map_foreach() or
gtk_accel_map_foreach_unfiltered()
accel_path
Accel path of the current accelerator
accel_key
Key of the current accelerator
accel_mods
Modifiers of the current accelerator
changed
Changed flag of the accelerator (if TRUE , accelerator has changed
during runtime and would need to be saved during an accelerator dump)
gtk_accel_map_add_entry ()
gtk_accel_map_add_entry
void
gtk_accel_map_add_entry (const gchar *accel_path ,
guint accel_key ,
GdkModifierType accel_mods );
Registers a new accelerator with the global accelerator map.
This function should only be called once per accel_path
with the canonical accel_key
and accel_mods
for this path.
To change the accelerator during runtime programatically, use
gtk_accel_map_change_entry() .
Set accel_key
and accel_mods
to 0 to request a removal of
the accelerator.
Note that accel_path
string will be stored in a GQuark . Therefore, if you
pass a static string, you can save some memory by interning it first with
g_intern_static_string() .
Parameters
accel_path
valid accelerator path
accel_key
the accelerator key
accel_mods
the accelerator modifiers
gtk_accel_map_lookup_entry ()
gtk_accel_map_lookup_entry
gboolean
gtk_accel_map_lookup_entry (const gchar *accel_path ,
GtkAccelKey *key );
Looks up the accelerator entry for accel_path
and fills in key
.
Parameters
accel_path
a valid accelerator path
key
the accelerator key to be filled in (optional).
[allow-none ][out ]
Returns
TRUE if accel_path
is known, FALSE otherwise
gtk_accel_map_change_entry ()
gtk_accel_map_change_entry
gboolean
gtk_accel_map_change_entry (const gchar *accel_path ,
guint accel_key ,
GdkModifierType accel_mods ,
gboolean replace );
Changes the accel_key
and accel_mods
currently associated with accel_path
.
Due to conflicts with other accelerators, a change may not always be possible,
replace
indicates whether other accelerators may be deleted to resolve such
conflicts. A change will only occur if all conflicts could be resolved (which
might not be the case if conflicting accelerators are locked). Successful
changes are indicated by a TRUE return value.
Note that accel_path
string will be stored in a GQuark . Therefore, if you
pass a static string, you can save some memory by interning it first with
g_intern_static_string() .
Parameters
accel_path
a valid accelerator path
accel_key
the new accelerator key
accel_mods
the new accelerator modifiers
replace
TRUE if other accelerators may be deleted upon conflicts
Returns
TRUE if the accelerator could be changed, FALSE otherwise
gtk_accel_map_load ()
gtk_accel_map_load
void
gtk_accel_map_load (const gchar *file_name );
Parses a file previously saved with gtk_accel_map_save() for
accelerator specifications, and propagates them accordingly.
Parameters
file_name
a file containing accelerator specifications,
in the GLib file name encoding.
[type filename]
gtk_accel_map_save ()
gtk_accel_map_save
void
gtk_accel_map_save (const gchar *file_name );
Saves current accelerator specifications (accelerator path, key
and modifiers) to file_name
.
The file is written in a format suitable to be read back in by
gtk_accel_map_load() .
Parameters
file_name
the name of the file to contain
accelerator specifications, in the GLib file name encoding.
[type filename]
gtk_accel_map_foreach ()
gtk_accel_map_foreach
void
gtk_accel_map_foreach (gpointer data ,
GtkAccelMapForeach foreach_func );
Loops over the entries in the accelerator map whose accel path
doesn’t match any of the filters added with gtk_accel_map_add_filter() ,
and execute foreach_func
on each. The signature of foreach_func
is
that of GtkAccelMapForeach , the changed
parameter indicates whether
this accelerator was changed during runtime (thus, would need
saving during an accelerator map dump).
Parameters
data
data to be passed into foreach_func
.
[allow-none ]
foreach_func
function to be executed for each accel
map entry which is not filtered out.
[scope call ]
gtk_accel_map_load_fd ()
gtk_accel_map_load_fd
void
gtk_accel_map_load_fd (gint fd );
Filedescriptor variant of gtk_accel_map_load() .
Note that the file descriptor will not be closed by this function.
Parameters
fd
a valid readable file descriptor
gtk_accel_map_save_fd ()
gtk_accel_map_save_fd
void
gtk_accel_map_save_fd (gint fd );
Filedescriptor variant of gtk_accel_map_save() .
Note that the file descriptor will not be closed by this function.
Parameters
fd
a valid writable file descriptor
gtk_accel_map_load_scanner ()
gtk_accel_map_load_scanner
void
gtk_accel_map_load_scanner (GScanner *scanner );
GScanner variant of gtk_accel_map_load() .
Parameters
scanner
a GScanner which has already been provided with an input file
gtk_accel_map_add_filter ()
gtk_accel_map_add_filter
void
gtk_accel_map_add_filter (const gchar *filter_pattern );
Adds a filter to the global list of accel path filters.
Accel map entries whose accel path matches one of the filters
are skipped by gtk_accel_map_foreach() .
This function is intended for GTK+ modules that create their own
menus, but don’t want them to be saved into the applications accelerator
map dump.
Parameters
filter_pattern
a pattern (see GPatternSpec )
gtk_accel_map_foreach_unfiltered ()
gtk_accel_map_foreach_unfiltered
void
gtk_accel_map_foreach_unfiltered (gpointer data ,
GtkAccelMapForeach foreach_func );
Loops over all entries in the accelerator map, and execute
foreach_func
on each. The signature of foreach_func
is that of
GtkAccelMapForeach , the changed
parameter indicates whether
this accelerator was changed during runtime (thus, would need
saving during an accelerator map dump).
Parameters
data
data to be passed into foreach_func
foreach_func
function to be executed for each accel
map entry.
[scope call ]
gtk_accel_map_get ()
gtk_accel_map_get
GtkAccelMap *
gtk_accel_map_get (void );
Gets the singleton global GtkAccelMap object. This object
is useful only for notification of changes to the accelerator
map via the ::changed signal; it isn’t a parameter to the
other accelerator map functions.
Returns
the global GtkAccelMap object.
[transfer none ]
gtk_accel_map_lock_path ()
gtk_accel_map_lock_path
void
gtk_accel_map_lock_path (const gchar *accel_path );
Locks the given accelerator path. If the accelerator map doesn’t yet contain
an entry for accel_path
, a new one is created.
Locking an accelerator path prevents its accelerator from being changed
during runtime. A locked accelerator path can be unlocked by
gtk_accel_map_unlock_path() . Refer to gtk_accel_map_change_entry()
for information about runtime accelerator changes.
If called more than once, accel_path
remains locked until
gtk_accel_map_unlock_path() has been called an equivalent number
of times.
Note that locking of individual accelerator paths is independent from
locking the GtkAccelGroup containing them. For runtime accelerator
changes to be possible, both the accelerator path and its GtkAccelGroup
have to be unlocked.
Parameters
accel_path
a valid accelerator path
gtk_accel_map_unlock_path ()
gtk_accel_map_unlock_path
void
gtk_accel_map_unlock_path (const gchar *accel_path );
Undoes the last call to gtk_accel_map_lock_path() on this accel_path
.
Refer to gtk_accel_map_lock_path() for information about accelerator path locking.
Parameters
accel_path
a valid accelerator path
Signal Details
The “changed” signal
GtkAccelMap::changed
void
user_function (GtkAccelMap *object,
gchar *accel_path,
guint accel_key,
GdkModifierType accel_mods,
gpointer user_data)
Notifies of a change in the global accelerator map.
The path is also used as the detail for the signal,
so it is possible to connect to
changed::accel_path .
Parameters
object
the global accel map object
accel_path
the path of the accelerator that changed
accel_key
the key value for the new accelerator
accel_mods
the modifier mask for the new accelerator
user_data
user data set when the signal handler was connected.
Flags: Has Details
See Also
GtkAccelGroup , GtkAccelKey , gtk_widget_set_accel_path() , gtk_menu_item_set_accel_path()
docs/reference/gtk/xml/gtkimmulticontext.xml 0000664 0001750 0001750 00000015505 13617646202 021513 0 ustar mclasen mclasen
]>
GtkIMMulticontext
3
GTK4 Library
GtkIMMulticontext
An input method context supporting multiple, loadable input methods
Functions
GtkIMContext *
gtk_im_multicontext_new ()
const char *
gtk_im_multicontext_get_context_id ()
void
gtk_im_multicontext_set_context_id ()
Types and Values
struct GtkIMMulticontext
Object Hierarchy
GObject
╰── GtkIMContext
╰── GtkIMMulticontext
Includes #include <gtk/gtk.h>
Description
Functions
gtk_im_multicontext_new ()
gtk_im_multicontext_new
GtkIMContext *
gtk_im_multicontext_new (void );
Creates a new GtkIMMulticontext .
Returns
a new GtkIMMulticontext .
gtk_im_multicontext_get_context_id ()
gtk_im_multicontext_get_context_id
const char *
gtk_im_multicontext_get_context_id (GtkIMMulticontext *context );
Gets the id of the currently active slave of the context
.
Parameters
context
a GtkIMMulticontext
Returns
the id of the currently active slave
gtk_im_multicontext_set_context_id ()
gtk_im_multicontext_set_context_id
void
gtk_im_multicontext_set_context_id (GtkIMMulticontext *context ,
const char *context_id );
Sets the context id for context
.
This causes the currently active slave of context
to be
replaced by the slave corresponding to the new context id.
Parameters
context
a GtkIMMulticontext
context_id
the id to use
docs/reference/gtk/xml/gtkaccellabel.xml 0000664 0001750 0001750 00000073524 13617646201 020501 0 ustar mclasen mclasen
]>
GtkAccelLabel
3
GTK4 Library
GtkAccelLabel
A label which displays an accelerator key on the right of the text
Functions
GtkWidget *
gtk_accel_label_new ()
void
gtk_accel_label_set_accel_closure ()
GClosure *
gtk_accel_label_get_accel_closure ()
GtkWidget *
gtk_accel_label_get_accel_widget ()
void
gtk_accel_label_set_accel_widget ()
guint
gtk_accel_label_get_accel_width ()
void
gtk_accel_label_set_accel ()
void
gtk_accel_label_get_accel ()
gboolean
gtk_accel_label_refetch ()
void
gtk_accel_label_set_label ()
const char *
gtk_accel_label_get_label ()
Properties
GClosure * accel-closureRead / Write
GtkWidget * accel-widgetRead / Write
gchar * labelRead / Write
gboolean use-underlineRead / Write
Types and Values
GtkAccelLabel
Object Hierarchy
GObject
╰── GInitiallyUnowned
╰── GtkWidget
╰── GtkAccelLabel
Implemented Interfaces
GtkAccelLabel implements
AtkImplementorIface, GtkBuildable and GtkConstraintTarget.
Includes #include <gtk/gtk.h>
Description
The GtkAccelLabel is a widget that shows an accelerator next to a description
of said accelerator, e.g. “Save Document Ctrl+S”.
It is commonly used in menus to show the keyboard short-cuts for commands.
The accelerator key to display is typically not set explicitly (although it
can be, with gtk_accel_label_set_accel() ). Instead, the GtkAccelLabel displays
the accelerators which have been added to a particular widget. This widget is
set by calling gtk_accel_label_set_accel_widget() .
For example, a menu item may have an accelerator added to emit
the “activate” signal when the “Ctrl+S” key combination is pressed.
A GtkAccelLabel is created and added to the menu item widget, and
gtk_accel_label_set_accel_widget() is called with the item as the
second argument. The GtkAccelLabel will now display “Ctrl+S” after its label.
Note that accel labels are typically set up automatically when menus
are created.
A GtkAccelLabel will only display accelerators which have GTK_ACCEL_VISIBLE
set (see GtkAccelFlags ).
A GtkAccelLabel can display multiple accelerators and even signal names,
though it is almost always used to display just one accelerator key.
]|
CSS nodes
GtkAccelLabel has a main CSS node with the name accellabel.
It contains the two child nodes with name label and accelerator.
Functions
gtk_accel_label_new ()
gtk_accel_label_new
GtkWidget *
gtk_accel_label_new (const gchar *string );
Creates a new GtkAccelLabel .
Parameters
string
the label string. Must be non-NULL .
Returns
a new GtkAccelLabel .
gtk_accel_label_set_accel_closure ()
gtk_accel_label_set_accel_closure
void
gtk_accel_label_set_accel_closure (GtkAccelLabel *accel_label ,
GClosure *accel_closure );
Sets the closure to be monitored by this accelerator label. The closure
must be connected to an accelerator group; see gtk_accel_group_connect() .
Passing NULL for accel_closure
will dissociate accel_label
from its
current closure, if any.
Parameters
accel_label
a GtkAccelLabel
accel_closure
the closure to monitor for accelerator changes,
or NULL .
[nullable ]
gtk_accel_label_get_accel_closure ()
gtk_accel_label_get_accel_closure
GClosure *
gtk_accel_label_get_accel_closure (GtkAccelLabel *accel_label );
Fetches the closure monitored by this accelerator label. See
gtk_accel_label_set_accel_closure() .
Parameters
accel_label
a GtkAccelLabel
Returns
the closure monitored by accel_label
,
or NULL if it is not monitoring a closure.
[nullable ][transfer none ]
gtk_accel_label_get_accel_widget ()
gtk_accel_label_get_accel_widget
GtkWidget *
gtk_accel_label_get_accel_widget (GtkAccelLabel *accel_label );
Fetches the widget monitored by this accelerator label. See
gtk_accel_label_set_accel_widget() .
Parameters
accel_label
a GtkAccelLabel
Returns
the widget monitored by accel_label
,
or NULL if it is not monitoring a widget.
[nullable ][transfer none ]
gtk_accel_label_set_accel_widget ()
gtk_accel_label_set_accel_widget
void
gtk_accel_label_set_accel_widget (GtkAccelLabel *accel_label ,
GtkWidget *accel_widget );
Sets the widget to be monitored by this accelerator label. Passing NULL for
accel_widget
will dissociate accel_label
from its current widget, if any.
Parameters
accel_label
a GtkAccelLabel
accel_widget
the widget to be monitored, or NULL .
[nullable ]
gtk_accel_label_get_accel_width ()
gtk_accel_label_get_accel_width
guint
gtk_accel_label_get_accel_width (GtkAccelLabel *accel_label );
Returns the width needed to display the accelerator key(s).
This is used by menus to align all of the menu item widgets,
and shouldn't be needed by applications.
Parameters
accel_label
a GtkAccelLabel .
Returns
the width needed to display the accelerator key(s).
gtk_accel_label_set_accel ()
gtk_accel_label_set_accel
void
gtk_accel_label_set_accel (GtkAccelLabel *accel_label ,
guint accelerator_key ,
GdkModifierType accelerator_mods );
Manually sets a keyval and modifier mask as the accelerator rendered
by accel_label
.
If a keyval and modifier are explicitly set then these values are
used regardless of any associated accel closure or widget.
Providing an accelerator_key
of 0 removes the manual setting.
Parameters
accel_label
a GtkAccelLabel
accelerator_key
a keyval, or 0
accelerator_mods
the modifier mask for the accel
gtk_accel_label_get_accel ()
gtk_accel_label_get_accel
void
gtk_accel_label_get_accel (GtkAccelLabel *accel_label ,
guint *accelerator_key ,
GdkModifierType *accelerator_mods );
Gets the keyval and modifier mask set with
gtk_accel_label_set_accel() .
Parameters
accel_label
a GtkAccelLabel
accelerator_key
return location for the keyval.
[out ]
accelerator_mods
return location for the modifier mask.
[out ]
gtk_accel_label_refetch ()
gtk_accel_label_refetch
gboolean
gtk_accel_label_refetch (GtkAccelLabel *accel_label );
Recreates the string representing the accelerator keys.
This should not be needed since the string is automatically updated whenever
accelerators are added or removed from the associated widget.
Parameters
accel_label
a GtkAccelLabel .
Returns
always returns FALSE .
gtk_accel_label_set_label ()
gtk_accel_label_set_label
void
gtk_accel_label_set_label (GtkAccelLabel *accel_label ,
const char *text );
Sets the label part of the accel label.
Parameters
accel_label
a GtkAccelLabel
text
The new label text
gtk_accel_label_get_label ()
gtk_accel_label_get_label
const char *
gtk_accel_label_get_label (GtkAccelLabel *accel_label );
Returns the current label, set via gtk_accel_label_set_label()
Parameters
accel_label
a GtkAccelLabel
Returns
accel_label
's label.
[transfer none ]
Property Details
The “accel-closure” property
GtkAccelLabel:accel-closure
“accel-closure” GClosure *
The closure to be monitored for accelerator changes. Owner: GtkAccelLabel
Flags: Read / Write
The “accel-widget” property
GtkAccelLabel:accel-widget
“accel-widget” GtkWidget *
The widget to be monitored for accelerator changes. Owner: GtkAccelLabel
Flags: Read / Write
The “label” property
GtkAccelLabel:label
“label” gchar *
The text displayed next to the accelerator. Owner: GtkAccelLabel
Flags: Read / Write
Default value: ""
The “use-underline” property
GtkAccelLabel:use-underline
“use-underline” gboolean
If set, an underline in the text indicates the next character should be used for the mnemonic accelerator key. Owner: GtkAccelLabel
Flags: Read / Write
Default value: FALSE
See Also
GtkAccelGroup
docs/reference/gtk/xml/gtkpaned.xml 0000664 0001750 0001750 00000133116 13617646202 017514 0 ustar mclasen mclasen
]>
GtkPaned
3
GTK4 Library
GtkPaned
A widget with two adjustable panes
Functions
GtkWidget *
gtk_paned_new ()
void
gtk_paned_add1 ()
void
gtk_paned_add2 ()
void
gtk_paned_pack1 ()
void
gtk_paned_pack2 ()
GtkWidget *
gtk_paned_get_child1 ()
GtkWidget *
gtk_paned_get_child2 ()
void
gtk_paned_set_position ()
gint
gtk_paned_get_position ()
void
gtk_paned_set_wide_handle ()
gboolean
gtk_paned_get_wide_handle ()
Properties
gint max-positionRead
gint min-positionRead
gint positionRead / Write
gboolean position-setRead / Write
gboolean resize-child1Read / Write
gboolean resize-child2Read / Write
gboolean shrink-child1Read / Write
gboolean shrink-child2Read / Write
gboolean wide-handleRead / Write
Signals
gboolean accept-position Action
gboolean cancel-position Action
gboolean cycle-child-focus Action
gboolean cycle-handle-focus Action
gboolean move-handle Action
gboolean toggle-handle-focus Action
Types and Values
GtkPaned
Object Hierarchy
GObject
╰── GInitiallyUnowned
╰── GtkWidget
╰── GtkContainer
╰── GtkPaned
Implemented Interfaces
GtkPaned implements
AtkImplementorIface, GtkBuildable, GtkConstraintTarget and GtkOrientable.
Includes #include <gtk/gtk.h>
Description
GtkPaned has two panes, arranged either
horizontally or vertically. The division between
the two panes is adjustable by the user by dragging
a handle.
Child widgets are
added to the panes of the widget with gtk_paned_pack1() and
gtk_paned_pack2() . The division between the two children is set by default
from the size requests of the children, but it can be adjusted by the
user.
A paned widget draws a separator between the two child widgets and a
small handle that the user can drag to adjust the division. It does not
draw any relief around the children or around the separator. (The space
in which the separator is called the gutter.) Often, it is useful to put
each child inside a GtkFrame with the shadow type set to GTK_SHADOW_IN
so that the gutter appears as a ridge. No separator is drawn if one of
the children is missing.
Each child has two options that can be set, resize
and shrink
. If
resize
is true, then when the GtkPaned is resized, that child will
expand or shrink along with the paned widget. If shrink
is true, then
that child can be made smaller than its requisition by the user.
Setting shrink
to FALSE allows the application to set a minimum size.
If resize
is false for both children, then this is treated as if
resize
is true for both children.
The application can set the position of the slider as if it were set
by the user, by calling gtk_paned_set_position() .
CSS nodes
├── separator[.wide]
╰──
]]>
GtkPaned has a main CSS node with name paned, and a subnode for
the separator with name separator. The subnode gets a .wide style
class when the paned is supposed to be wide.
In horizontal orientation, the nodes are arranged based on the text
direction, so in left-to-right mode, :first-child will select the
leftmost child, while it will select the rightmost child in
RTL layouts.
Creating a paned widget with minimum sizes.
Functions
gtk_paned_new ()
gtk_paned_new
GtkWidget *
gtk_paned_new (GtkOrientation orientation );
Creates a new GtkPaned widget.
Parameters
orientation
the paned’s orientation.
Returns
a new GtkPaned .
gtk_paned_add1 ()
gtk_paned_add1
void
gtk_paned_add1 (GtkPaned *paned ,
GtkWidget *child );
Adds a child to the top or left pane with default parameters. This is
equivalent to
gtk_paned_pack1 (paned, child, FALSE, TRUE) .
Parameters
paned
a paned widget
child
the child to add
gtk_paned_add2 ()
gtk_paned_add2
void
gtk_paned_add2 (GtkPaned *paned ,
GtkWidget *child );
Adds a child to the bottom or right pane with default parameters. This
is equivalent to
gtk_paned_pack2 (paned, child, TRUE, TRUE) .
Parameters
paned
a paned widget
child
the child to add
gtk_paned_pack1 ()
gtk_paned_pack1
void
gtk_paned_pack1 (GtkPaned *paned ,
GtkWidget *child ,
gboolean resize ,
gboolean shrink );
Adds a child to the top or left pane.
Parameters
paned
a paned widget
child
the child to add
resize
should this child expand when the paned widget is resized.
shrink
can this child be made smaller than its requisition.
gtk_paned_pack2 ()
gtk_paned_pack2
void
gtk_paned_pack2 (GtkPaned *paned ,
GtkWidget *child ,
gboolean resize ,
gboolean shrink );
Adds a child to the bottom or right pane.
Parameters
paned
a paned widget
child
the child to add
resize
should this child expand when the paned widget is resized.
shrink
can this child be made smaller than its requisition.
gtk_paned_get_child1 ()
gtk_paned_get_child1
GtkWidget *
gtk_paned_get_child1 (GtkPaned *paned );
Obtains the first child of the paned widget.
Parameters
paned
a GtkPaned widget
Returns
first child, or NULL if it is not set.
[nullable ][transfer none ]
gtk_paned_get_child2 ()
gtk_paned_get_child2
GtkWidget *
gtk_paned_get_child2 (GtkPaned *paned );
Obtains the second child of the paned widget.
Parameters
paned
a GtkPaned widget
Returns
second child, or NULL if it is not set.
[nullable ][transfer none ]
gtk_paned_set_position ()
gtk_paned_set_position
void
gtk_paned_set_position (GtkPaned *paned ,
gint position );
Sets the position of the divider between the two panes.
Parameters
paned
a GtkPaned widget
position
pixel position of divider, a negative value means that the position
is unset.
gtk_paned_get_position ()
gtk_paned_get_position
gint
gtk_paned_get_position (GtkPaned *paned );
Obtains the position of the divider between the two panes.
Parameters
paned
a GtkPaned widget
Returns
position of the divider
gtk_paned_set_wide_handle ()
gtk_paned_set_wide_handle
void
gtk_paned_set_wide_handle (GtkPaned *paned ,
gboolean wide );
Sets the “wide-handle” property.
Parameters
paned
a GtkPaned
wide
the new value for the “wide-handle” property
gtk_paned_get_wide_handle ()
gtk_paned_get_wide_handle
gboolean
gtk_paned_get_wide_handle (GtkPaned *paned );
Gets the “wide-handle” property.
Parameters
paned
a GtkPaned
Returns
TRUE if the paned should have a wide handle
Property Details
The “max-position” property
GtkPaned:max-position
“max-position” gint
The largest possible value for the position property.
This property is derived from the size and shrinkability
of the widget's children.
Owner: GtkPaned
Flags: Read
Allowed values: >= 0
Default value: 2147483647
The “min-position” property
GtkPaned:min-position
“min-position” gint
The smallest possible value for the position property.
This property is derived from the size and shrinkability
of the widget's children.
Owner: GtkPaned
Flags: Read
Allowed values: >= 0
Default value: 0
The “position” property
GtkPaned:position
“position” gint
Position of paned separator in pixels (0 means all the way to the left/top). Owner: GtkPaned
Flags: Read / Write
Allowed values: >= 0
Default value: 0
The “position-set” property
GtkPaned:position-set
“position-set” gboolean
TRUE if the Position property should be used. Owner: GtkPaned
Flags: Read / Write
Default value: FALSE
The “resize-child1” property
GtkPaned:resize-child1
“resize-child1” gboolean
The "resize-child1" property determines whether the first child expands and
shrinks along with the paned widget.
Owner: GtkPaned
Flags: Read / Write
Default value: TRUE
The “resize-child2” property
GtkPaned:resize-child2
“resize-child2” gboolean
The "resize-child2" property determines whether the second child expands and
shrinks along with the paned widget.
Owner: GtkPaned
Flags: Read / Write
Default value: TRUE
The “shrink-child1” property
GtkPaned:shrink-child1
“shrink-child1” gboolean
The "shrink-child1" property determines whether the first child can be made
smaller than its requisition.
Owner: GtkPaned
Flags: Read / Write
Default value: TRUE
The “shrink-child2” property
GtkPaned:shrink-child2
“shrink-child2” gboolean
The "shrink-child2" property determines whether the second child can be made
smaller than its requisition.
Owner: GtkPaned
Flags: Read / Write
Default value: TRUE
The “wide-handle” property
GtkPaned:wide-handle
“wide-handle” gboolean
Setting this property to TRUE indicates that the paned needs
to provide stronger visual separation (e.g. because it separates
between two notebooks, whose tab rows would otherwise merge visually).
Owner: GtkPaned
Flags: Read / Write
Default value: FALSE
Signal Details
The “accept-position” signal
GtkPaned::accept-position
gboolean
user_function (GtkPaned *widget,
gpointer user_data)
The ::accept-position signal is a
keybinding signal
which gets emitted to accept the current position of the handle when
moving it using key bindings.
The default binding for this signal is Return or Space.
Parameters
widget
the object that received the signal
user_data
user data set when the signal handler was connected.
Flags: Action
The “cancel-position” signal
GtkPaned::cancel-position
gboolean
user_function (GtkPaned *widget,
gpointer user_data)
The ::cancel-position signal is a
keybinding signal
which gets emitted to cancel moving the position of the handle using key
bindings. The position of the handle will be reset to the value prior to
moving it.
The default binding for this signal is Escape.
Parameters
widget
the object that received the signal
user_data
user data set when the signal handler was connected.
Flags: Action
The “cycle-child-focus” signal
GtkPaned::cycle-child-focus
gboolean
user_function (GtkPaned *widget,
gboolean reversed,
gpointer user_data)
The ::cycle-child-focus signal is a
keybinding signal
which gets emitted to cycle the focus between the children of the paned.
The default binding is f6.
Parameters
widget
the object that received the signal
reversed
whether cycling backward or forward
user_data
user data set when the signal handler was connected.
Flags: Action
The “cycle-handle-focus” signal
GtkPaned::cycle-handle-focus
gboolean
user_function (GtkPaned *widget,
gboolean reversed,
gpointer user_data)
The ::cycle-handle-focus signal is a
keybinding signal
which gets emitted to cycle whether the paned should grab focus to allow
the user to change position of the handle by using key bindings.
The default binding for this signal is f8.
Parameters
widget
the object that received the signal
reversed
whether cycling backward or forward
user_data
user data set when the signal handler was connected.
Flags: Action
The “move-handle” signal
GtkPaned::move-handle
gboolean
user_function (GtkPaned *widget,
GtkScrollType scroll_type,
gpointer user_data)
The ::move-handle signal is a
keybinding signal
which gets emitted to move the handle when the user is using key bindings
to move it.
Parameters
widget
the object that received the signal
scroll_type
a GtkScrollType
user_data
user data set when the signal handler was connected.
Flags: Action
The “toggle-handle-focus” signal
GtkPaned::toggle-handle-focus
gboolean
user_function (GtkPaned *widget,
gpointer user_data)
The ::toggle-handle-focus is a
keybinding signal
which gets emitted to accept the current position of the handle and then
move focus to the next widget in the focus chain.
The default binding is Tab.
Parameters
widget
the object that received the signal
user_data
user data set when the signal handler was connected.
Flags: Action
docs/reference/gtk/xml/gtkaccessible.xml 0000664 0001750 0001750 00000021142 13617646201 020514 0 ustar mclasen mclasen
]>
GtkAccessible
3
GTK4 Library
GtkAccessible
Accessibility support for widgets
Functions
GtkWidget *
gtk_accessible_get_widget ()
void
gtk_accessible_set_widget ()
Properties
GtkWidget * widgetRead / Write
Types and Values
struct GtkAccessible
Object Hierarchy
GObject
╰── AtkObject
╰── GtkAccessible
Includes #include <gtk/gtk.h>
Description
The GtkAccessible class is the base class for accessible
implementations for GtkWidget subclasses. It is a thin
wrapper around AtkObject , which adds facilities for associating
a widget with its accessible object.
An accessible implementation for a third-party widget should
derive from GtkAccessible and implement the suitable interfaces
from ATK, such as AtkText or AtkSelection . To establish
the connection between the widget class and its corresponding
acccessible implementation, override the get_accessible vfunc
in GtkWidgetClass .
Functions
gtk_accessible_get_widget ()
gtk_accessible_get_widget
GtkWidget *
gtk_accessible_get_widget (GtkAccessible *accessible );
Gets the GtkWidget corresponding to the GtkAccessible .
The returned widget does not have a reference added, so
you do not need to unref it.
Parameters
accessible
a GtkAccessible
Returns
pointer to the GtkWidget
corresponding to the GtkAccessible , or NULL .
[nullable ][transfer none ]
gtk_accessible_set_widget ()
gtk_accessible_set_widget
void
gtk_accessible_set_widget (GtkAccessible *accessible ,
GtkWidget *widget );
Sets the GtkWidget corresponding to the GtkAccessible .
accessible
will not hold a reference to widget
.
It is the caller’s responsibility to ensure that when widget
is destroyed, the widget is unset by calling this function
again with widget
set to NULL .
Parameters
accessible
a GtkAccessible
widget
a GtkWidget or NULL to unset.
[allow-none ]
Property Details
The “widget” property
GtkAccessible:widget
“widget” GtkWidget *
The widget referenced by this accessible. Owner: GtkAccessible
Flags: Read / Write
docs/reference/gtk/xml/gtknotebook.xml 0000664 0001750 0001750 00000413633 13617646202 020252 0 ustar mclasen mclasen
]>
GtkNotebook
3
GTK4 Library
GtkNotebook
A tabbed notebook container
Functions
GtkWidget *
gtk_notebook_new ()
GtkNotebookPage *
gtk_notebook_get_page ()
GListModel *
gtk_notebook_get_pages ()
GtkWidget *
gtk_notebook_page_get_child ()
gint
gtk_notebook_append_page ()
gint
gtk_notebook_append_page_menu ()
gint
gtk_notebook_prepend_page ()
gint
gtk_notebook_prepend_page_menu ()
gint
gtk_notebook_insert_page ()
gint
gtk_notebook_insert_page_menu ()
void
gtk_notebook_remove_page ()
void
gtk_notebook_detach_tab ()
gint
gtk_notebook_page_num ()
void
gtk_notebook_next_page ()
void
gtk_notebook_prev_page ()
void
gtk_notebook_reorder_child ()
void
gtk_notebook_set_tab_pos ()
void
gtk_notebook_set_show_tabs ()
void
gtk_notebook_set_show_border ()
void
gtk_notebook_set_scrollable ()
void
gtk_notebook_popup_enable ()
void
gtk_notebook_popup_disable ()
gint
gtk_notebook_get_current_page ()
GtkWidget *
gtk_notebook_get_menu_label ()
GtkWidget *
gtk_notebook_get_nth_page ()
gint
gtk_notebook_get_n_pages ()
GtkWidget *
gtk_notebook_get_tab_label ()
void
gtk_notebook_set_menu_label ()
void
gtk_notebook_set_menu_label_text ()
void
gtk_notebook_set_tab_label ()
void
gtk_notebook_set_tab_label_text ()
void
gtk_notebook_set_tab_reorderable ()
void
gtk_notebook_set_tab_detachable ()
const gchar *
gtk_notebook_get_menu_label_text ()
gboolean
gtk_notebook_get_scrollable ()
gboolean
gtk_notebook_get_show_border ()
gboolean
gtk_notebook_get_show_tabs ()
const gchar *
gtk_notebook_get_tab_label_text ()
GtkPositionType
gtk_notebook_get_tab_pos ()
gboolean
gtk_notebook_get_tab_reorderable ()
gboolean
gtk_notebook_get_tab_detachable ()
void
gtk_notebook_set_current_page ()
void
gtk_notebook_set_group_name ()
const gchar *
gtk_notebook_get_group_name ()
void
gtk_notebook_set_action_widget ()
GtkWidget *
gtk_notebook_get_action_widget ()
Properties
gboolean enable-popupRead / Write
gchar * group-nameRead / Write
gint pageRead / Write
GListModel * pagesRead
gboolean scrollableRead / Write
gboolean show-borderRead / Write
gboolean show-tabsRead / Write
GtkPositionType tab-posRead / Write
GtkWidget * childRead / Write / Construct Only
gboolean detachableRead / Write
GtkWidget * menuRead / Write / Construct Only
gchar * menu-labelRead / Write
gint positionRead / Write
gboolean reorderableRead / Write
GtkWidget * tabRead / Write / Construct Only
gboolean tab-expandRead / Write
gboolean tab-fillRead / Write
gchar * tab-labelRead / Write
Signals
gboolean change-current-page Action
GtkNotebook * create-window Run Last
gboolean focus-tab Action
void move-focus-out Action
void page-added Run Last
void page-removed Run Last
void page-reordered Run Last
gboolean reorder-tab Action
gboolean select-page Action
void switch-page Run Last
Types and Values
GtkNotebook
GtkNotebookPage
Object Hierarchy
GObject
├── GInitiallyUnowned
│ ╰── GtkWidget
│ ╰── GtkContainer
│ ╰── GtkNotebook
╰── GtkNotebookPage
Implemented Interfaces
GtkNotebook implements
AtkImplementorIface, GtkBuildable and GtkConstraintTarget.
Includes #include <gtk/gtk.h>
Description
The GtkNotebook widget is a GtkContainer whose children are pages that
can be switched between using tab labels along one edge.
There are many configuration options for GtkNotebook. Among other
things, you can choose on which edge the tabs appear
(see gtk_notebook_set_tab_pos() ), whether, if there are too many
tabs to fit the notebook should be made bigger or scrolling
arrows added (see gtk_notebook_set_scrollable() ), and whether there
will be a popup menu allowing the users to switch pages.
(see gtk_notebook_popup_enable() , gtk_notebook_popup_disable() )
GtkNotebook as GtkBuildable The GtkNotebook implementation of the GtkBuildable interface
supports placing children into tabs by specifying “tab” as the
“type” attribute of a <child> element. Note that the content
of the tab must be created before the tab can be filled.
A tab child can be specified without specifying a <child>
type attribute.
To add a child widget in the notebooks action area, specify
"action-start" or “action-end” as the “type” attribute of the
<child> element.
An example of a UI definition fragment with GtkNotebook:
Content
Tab
]]>
CSS nodes ]
│ ├── tabs
│ │ ├── [arrow]
│ │ ├── tab
│ │ │ ╰──
┊ ┊ ┊
│ │ ├── tab[.reorderable-page]
│ │ │ ╰──
│ │ ╰── [arrow]
│ ╰── []
│
╰── stack
├──
┊
╰──
]]>
GtkNotebook has a main CSS node with name notebook, a subnode
with name header and below that a subnode with name tabs which
contains one subnode per tab with name tab.
If action widgets are present, their CSS nodes are placed next
to the tabs node. If the notebook is scrollable, CSS nodes with
name arrow are placed as first and last child of the tabs node.
The main node gets the .frame style class when the notebook
has a border (see gtk_notebook_set_show_border() ).
The header node gets one of the style class .top, .bottom,
.left or .right, depending on where the tabs are placed. For
reorderable pages, the tab node gets the .reorderable-page class.
A tab node gets the .dnd style class while it is moved with drag-and-drop.
The nodes are always arranged from left-to-right, regardless of text direction.
Functions
gtk_notebook_new ()
gtk_notebook_new
GtkWidget *
gtk_notebook_new (void );
Creates a new GtkNotebook widget with no pages.
Returns
the newly created GtkNotebook
gtk_notebook_get_page ()
gtk_notebook_get_page
GtkNotebookPage *
gtk_notebook_get_page (GtkNotebook *notebook ,
GtkWidget *child );
Returns the GtkNotebookPage for child
.
Parameters
notebook
a GtkNotebook
child
a child of notebook
Returns
the GtkNotebookPage for child
.
[transfer none ]
gtk_notebook_get_pages ()
gtk_notebook_get_pages
GListModel *
gtk_notebook_get_pages (GtkNotebook *notebook );
Returns a GListModel that contains the pages of the notebook,
and can be used to keep an up-to-date view.
Parameters
notebook
a GtkNotebook
Returns
a GListModel for the notebook's children.
[transfer full ]
gtk_notebook_page_get_child ()
gtk_notebook_page_get_child
GtkWidget *
gtk_notebook_page_get_child (GtkNotebookPage *page );
Returns the notebook child to which page
belongs.
Parameters
page
a GtkNotebookPage
Returns
the child to which page
belongs.
[transfer none ]
gtk_notebook_append_page ()
gtk_notebook_append_page
gint
gtk_notebook_append_page (GtkNotebook *notebook ,
GtkWidget *child ,
GtkWidget *tab_label );
Appends a page to notebook
.
Parameters
notebook
a GtkNotebook
child
the GtkWidget to use as the contents of the page
tab_label
the GtkWidget to be used as the label
for the page, or NULL to use the default label, “page N”.
[allow-none ]
Returns
the index (starting from 0) of the appended
page in the notebook, or -1 if function fails
gtk_notebook_prepend_page ()
gtk_notebook_prepend_page
gint
gtk_notebook_prepend_page (GtkNotebook *notebook ,
GtkWidget *child ,
GtkWidget *tab_label );
Prepends a page to notebook
.
Parameters
notebook
a GtkNotebook
child
the GtkWidget to use as the contents of the page
tab_label
the GtkWidget to be used as the label
for the page, or NULL to use the default label, “page N”.
[allow-none ]
Returns
the index (starting from 0) of the prepended
page in the notebook, or -1 if function fails
gtk_notebook_insert_page ()
gtk_notebook_insert_page
gint
gtk_notebook_insert_page (GtkNotebook *notebook ,
GtkWidget *child ,
GtkWidget *tab_label ,
gint position );
Insert a page into notebook
at the given position.
Parameters
notebook
a GtkNotebook
child
the GtkWidget to use as the contents of the page
tab_label
the GtkWidget to be used as the label
for the page, or NULL to use the default label, “page N”.
[allow-none ]
position
the index (starting at 0) at which to insert the page,
or -1 to append the page after all other pages
Returns
the index (starting from 0) of the inserted
page in the notebook, or -1 if function fails
gtk_notebook_remove_page ()
gtk_notebook_remove_page
void
gtk_notebook_remove_page (GtkNotebook *notebook ,
gint page_num );
Removes a page from the notebook given its index
in the notebook.
Parameters
notebook
a GtkNotebook
page_num
the index of a notebook page, starting
from 0. If -1, the last page will be removed.
gtk_notebook_detach_tab ()
gtk_notebook_detach_tab
void
gtk_notebook_detach_tab (GtkNotebook *notebook ,
GtkWidget *child );
Removes the child from the notebook.
This function is very similar to gtk_container_remove() ,
but additionally informs the notebook that the removal
is happening as part of a tab DND operation, which should
not be cancelled.
Parameters
notebook
a GtkNotebook
child
a child
gtk_notebook_page_num ()
gtk_notebook_page_num
gint
gtk_notebook_page_num (GtkNotebook *notebook ,
GtkWidget *child );
Finds the index of the page which contains the given child
widget.
Parameters
notebook
a GtkNotebook
child
a GtkWidget
Returns
the index of the page containing child
, or
-1 if child
is not in the notebook
gtk_notebook_next_page ()
gtk_notebook_next_page
void
gtk_notebook_next_page (GtkNotebook *notebook );
Switches to the next page. Nothing happens if the current page is
the last page.
Parameters
notebook
a GtkNotebook
gtk_notebook_prev_page ()
gtk_notebook_prev_page
void
gtk_notebook_prev_page (GtkNotebook *notebook );
Switches to the previous page. Nothing happens if the current page
is the first page.
Parameters
notebook
a GtkNotebook
gtk_notebook_reorder_child ()
gtk_notebook_reorder_child
void
gtk_notebook_reorder_child (GtkNotebook *notebook ,
GtkWidget *child ,
gint position );
Reorders the page containing child
, so that it appears in position
position
. If position
is greater than or equal to the number of
children in the list or negative, child
will be moved to the end
of the list.
Parameters
notebook
a GtkNotebook
child
the child to move
position
the new position, or -1 to move to the end
gtk_notebook_set_tab_pos ()
gtk_notebook_set_tab_pos
void
gtk_notebook_set_tab_pos (GtkNotebook *notebook ,
GtkPositionType pos );
Sets the edge at which the tabs for switching pages in the
notebook are drawn.
Parameters
notebook
a GtkNotebook .
pos
the edge to draw the tabs at
gtk_notebook_set_show_tabs ()
gtk_notebook_set_show_tabs
void
gtk_notebook_set_show_tabs (GtkNotebook *notebook ,
gboolean show_tabs );
Sets whether to show the tabs for the notebook or not.
Parameters
notebook
a GtkNotebook
show_tabs
TRUE if the tabs should be shown
gtk_notebook_set_show_border ()
gtk_notebook_set_show_border
void
gtk_notebook_set_show_border (GtkNotebook *notebook ,
gboolean show_border );
Sets whether a bevel will be drawn around the notebook pages.
This only has a visual effect when the tabs are not shown.
See gtk_notebook_set_show_tabs() .
Parameters
notebook
a GtkNotebook
show_border
TRUE if a bevel should be drawn around the notebook
gtk_notebook_set_scrollable ()
gtk_notebook_set_scrollable
void
gtk_notebook_set_scrollable (GtkNotebook *notebook ,
gboolean scrollable );
Sets whether the tab label area will have arrows for
scrolling if there are too many tabs to fit in the area.
Parameters
notebook
a GtkNotebook
scrollable
TRUE if scroll arrows should be added
gtk_notebook_get_current_page ()
gtk_notebook_get_current_page
gint
gtk_notebook_get_current_page (GtkNotebook *notebook );
Returns the page number of the current page.
Parameters
notebook
a GtkNotebook
Returns
the index (starting from 0) of the current
page in the notebook. If the notebook has no pages,
then -1 will be returned.
gtk_notebook_get_nth_page ()
gtk_notebook_get_nth_page
GtkWidget *
gtk_notebook_get_nth_page (GtkNotebook *notebook ,
gint page_num );
Returns the child widget contained in page number page_num
.
Parameters
notebook
a GtkNotebook
page_num
the index of a page in the notebook, or -1
to get the last page
Returns
the child widget, or NULL if page_num
is out of bounds.
[nullable ][transfer none ]
gtk_notebook_get_n_pages ()
gtk_notebook_get_n_pages
gint
gtk_notebook_get_n_pages (GtkNotebook *notebook );
Gets the number of pages in a notebook.
Parameters
notebook
a GtkNotebook
Returns
the number of pages in the notebook
gtk_notebook_get_tab_label ()
gtk_notebook_get_tab_label
GtkWidget *
gtk_notebook_get_tab_label (GtkNotebook *notebook ,
GtkWidget *child );
Returns the tab label widget for the page child
.
NULL is returned if child
is not in notebook
or
if no tab label has specifically been set for child
.
Parameters
notebook
a GtkNotebook
child
the page
Returns
the tab label.
[transfer none ][nullable ]
gtk_notebook_set_tab_label ()
gtk_notebook_set_tab_label
void
gtk_notebook_set_tab_label (GtkNotebook *notebook ,
GtkWidget *child ,
GtkWidget *tab_label );
Changes the tab label for child
.
If NULL is specified for tab_label
, then the page will
have the label “page N”.
Parameters
notebook
a GtkNotebook
child
the page
tab_label
the tab label widget to use, or NULL
for default tab label.
[allow-none ]
gtk_notebook_set_tab_label_text ()
gtk_notebook_set_tab_label_text
void
gtk_notebook_set_tab_label_text (GtkNotebook *notebook ,
GtkWidget *child ,
const gchar *tab_text );
Creates a new label and sets it as the tab label for the page
containing child
.
Parameters
notebook
a GtkNotebook
child
the page
tab_text
the label text
gtk_notebook_set_tab_reorderable ()
gtk_notebook_set_tab_reorderable
void
gtk_notebook_set_tab_reorderable (GtkNotebook *notebook ,
GtkWidget *child ,
gboolean reorderable );
Sets whether the notebook tab can be reordered
via drag and drop or not.
Parameters
notebook
a GtkNotebook
child
a child GtkWidget
reorderable
whether the tab is reorderable or not
gtk_notebook_set_tab_detachable ()
gtk_notebook_set_tab_detachable
void
gtk_notebook_set_tab_detachable (GtkNotebook *notebook ,
GtkWidget *child ,
gboolean detachable );
Sets whether the tab can be detached from notebook
to another
notebook or widget.
Note that 2 notebooks must share a common group identificator
(see gtk_notebook_set_group_name() ) to allow automatic tabs
interchange between them.
If you want a widget to interact with a notebook through DnD
(i.e.: accept dragged tabs from it) it must be set as a drop
destination and accept the target “GTK_NOTEBOOK_TAB”. The notebook
will fill the selection with a GtkWidget** pointing to the child
widget that corresponds to the dropped tab.
Note that you should use gtk_notebook_detach_tab() instead
of gtk_container_remove() if you want to remove the tab from
the source notebook as part of accepting a drop. Otherwise,
the source notebook will think that the dragged tab was
removed from underneath the ongoing drag operation, and
will initiate a drag cancel animation.
If you want a notebook to accept drags from other widgets,
you will have to set your own DnD code to do it.
Parameters
notebook
a GtkNotebook
child
a child GtkWidget
detachable
whether the tab is detachable or not
gtk_notebook_get_scrollable ()
gtk_notebook_get_scrollable
gboolean
gtk_notebook_get_scrollable (GtkNotebook *notebook );
Returns whether the tab label area has arrows for scrolling.
See gtk_notebook_set_scrollable() .
Parameters
notebook
a GtkNotebook
Returns
TRUE if arrows for scrolling are present
gtk_notebook_get_show_border ()
gtk_notebook_get_show_border
gboolean
gtk_notebook_get_show_border (GtkNotebook *notebook );
Returns whether a bevel will be drawn around the notebook pages.
See gtk_notebook_set_show_border() .
Parameters
notebook
a GtkNotebook
Returns
TRUE if the bevel is drawn
gtk_notebook_get_show_tabs ()
gtk_notebook_get_show_tabs
gboolean
gtk_notebook_get_show_tabs (GtkNotebook *notebook );
Returns whether the tabs of the notebook are shown.
See gtk_notebook_set_show_tabs() .
Parameters
notebook
a GtkNotebook
Returns
TRUE if the tabs are shown
gtk_notebook_get_tab_label_text ()
gtk_notebook_get_tab_label_text
const gchar *
gtk_notebook_get_tab_label_text (GtkNotebook *notebook ,
GtkWidget *child );
Retrieves the text of the tab label for the page containing
child
.
Parameters
notebook
a GtkNotebook
child
a widget contained in a page of notebook
Returns
the text of the tab label, or NULL if the tab label
widget is not a GtkLabel . The string is owned by the widget and must not be
freed.
[nullable ]
gtk_notebook_get_tab_pos ()
gtk_notebook_get_tab_pos
GtkPositionType
gtk_notebook_get_tab_pos (GtkNotebook *notebook );
Gets the edge at which the tabs for switching pages in the
notebook are drawn.
Parameters
notebook
a GtkNotebook
Returns
the edge at which the tabs are drawn
gtk_notebook_get_tab_reorderable ()
gtk_notebook_get_tab_reorderable
gboolean
gtk_notebook_get_tab_reorderable (GtkNotebook *notebook ,
GtkWidget *child );
Gets whether the tab can be reordered via drag and drop or not.
Parameters
notebook
a GtkNotebook
child
a child GtkWidget
Returns
TRUE if the tab is reorderable.
gtk_notebook_get_tab_detachable ()
gtk_notebook_get_tab_detachable
gboolean
gtk_notebook_get_tab_detachable (GtkNotebook *notebook ,
GtkWidget *child );
Returns whether the tab contents can be detached from notebook
.
Parameters
notebook
a GtkNotebook
child
a child GtkWidget
Returns
TRUE if the tab is detachable.
gtk_notebook_set_current_page ()
gtk_notebook_set_current_page
void
gtk_notebook_set_current_page (GtkNotebook *notebook ,
gint page_num );
Switches to the page number page_num
.
Note that due to historical reasons, GtkNotebook refuses
to switch to a page unless the child widget is visible.
Therefore, it is recommended to show child widgets before
adding them to a notebook.
Parameters
notebook
a GtkNotebook
page_num
index of the page to switch to, starting from 0.
If negative, the last page will be used. If greater
than the number of pages in the notebook, nothing
will be done.
gtk_notebook_set_group_name ()
gtk_notebook_set_group_name
void
gtk_notebook_set_group_name (GtkNotebook *notebook ,
const gchar *group_name );
Sets a group name for notebook
.
Notebooks with the same name will be able to exchange tabs
via drag and drop. A notebook with a NULL group name will
not be able to exchange tabs with any other notebook.
Parameters
notebook
a GtkNotebook
group_name
the name of the notebook group,
or NULL to unset it.
[allow-none ]
gtk_notebook_get_group_name ()
gtk_notebook_get_group_name
const gchar *
gtk_notebook_get_group_name (GtkNotebook *notebook );
Gets the current group name for notebook
.
Parameters
notebook
a GtkNotebook
Returns
the group name, or NULL if none is set.
[nullable ][transfer none ]
gtk_notebook_set_action_widget ()
gtk_notebook_set_action_widget
void
gtk_notebook_set_action_widget (GtkNotebook *notebook ,
GtkWidget *widget ,
GtkPackType pack_type );
Sets widget
as one of the action widgets. Depending on the pack type
the widget will be placed before or after the tabs. You can use
a GtkBox if you need to pack more than one widget on the same side.
Note that action widgets are “internal” children of the notebook and thus
not included in the list returned from gtk_container_foreach() .
Parameters
notebook
a GtkNotebook
widget
a GtkWidget
pack_type
pack type of the action widget
gtk_notebook_get_action_widget ()
gtk_notebook_get_action_widget
GtkWidget *
gtk_notebook_get_action_widget (GtkNotebook *notebook ,
GtkPackType pack_type );
Gets one of the action widgets. See gtk_notebook_set_action_widget() .
Parameters
notebook
a GtkNotebook
pack_type
pack type of the action widget to receive
Returns
The action widget with the given
pack_type
or NULL when this action widget has not been set.
[nullable ][transfer none ]
Property Details
The “group-name” property
GtkNotebook:group-name
“group-name” gchar *
Group name for tab drag and drop.
Owner: GtkNotebook
Flags: Read / Write
Default value: NULL
The “page” property
GtkNotebook:page
“page” gint
The index of the current page. Owner: GtkNotebook
Flags: Read / Write
Allowed values: >= -1
Default value: -1
The “pages” property
GtkNotebook:pages
“pages” GListModel *
The pages of the notebook. Owner: GtkNotebook
Flags: Read
The “scrollable” property
GtkNotebook:scrollable
“scrollable” gboolean
If TRUE, scroll arrows are added if there are too many tabs to fit. Owner: GtkNotebook
Flags: Read / Write
Default value: FALSE
The “show-border” property
GtkNotebook:show-border
“show-border” gboolean
Whether the border should be shown. Owner: GtkNotebook
Flags: Read / Write
Default value: TRUE
The “show-tabs” property
GtkNotebook:show-tabs
“show-tabs” gboolean
Whether tabs should be shown. Owner: GtkNotebook
Flags: Read / Write
Default value: TRUE
The “tab-pos” property
GtkNotebook:tab-pos
“tab-pos” GtkPositionType
Which side of the notebook holds the tabs. Owner: GtkNotebook
Flags: Read / Write
Default value: GTK_POS_TOP
The “child” property
GtkNotebookPage:child
“child” GtkWidget *
The child for this page. Owner: GtkNotebookPage
Flags: Read / Write / Construct Only
The “detachable” property
GtkNotebookPage:detachable
“detachable” gboolean
Whether the tab is detachable. Owner: GtkNotebookPage
Flags: Read / Write
Default value: FALSE
The “position” property
GtkNotebookPage:position
“position” gint
The index of the child in the parent. Owner: GtkNotebookPage
Flags: Read / Write
Allowed values: >= -1
Default value: 0
The “reorderable” property
GtkNotebookPage:reorderable
“reorderable” gboolean
Whether the tab is reorderable by user action. Owner: GtkNotebookPage
Flags: Read / Write
Default value: FALSE
The “tab” property
GtkNotebookPage:tab
“tab” GtkWidget *
The tab widget for this page. Owner: GtkNotebookPage
Flags: Read / Write / Construct Only
The “tab-expand” property
GtkNotebookPage:tab-expand
“tab-expand” gboolean
Whether to expand the child’s tab. Owner: GtkNotebookPage
Flags: Read / Write
Default value: FALSE
The “tab-fill” property
GtkNotebookPage:tab-fill
“tab-fill” gboolean
Whether the child’s tab should fill the allocated area. Owner: GtkNotebookPage
Flags: Read / Write
Default value: TRUE
The “tab-label” property
GtkNotebookPage:tab-label
“tab-label” gchar *
The text of the tab widget. Owner: GtkNotebookPage
Flags: Read / Write
Default value: NULL
Signal Details
The “change-current-page” signal
GtkNotebook::change-current-page
gboolean
user_function (GtkNotebook *notebook,
gint arg1,
gpointer user_data)
Flags: Action
The “create-window” signal
GtkNotebook::create-window
GtkNotebook *
user_function (GtkNotebook *notebook,
GtkWidget *page,
gpointer user_data)
The ::create-window signal is emitted when a detachable
tab is dropped on the root window.
A handler for this signal can create a window containing
a notebook where the tab will be attached. It is also
responsible for moving/resizing the window and adding the
necessary properties to the notebook (e.g. the
“group-name” ).
Parameters
notebook
the GtkNotebook emitting the signal
page
the tab of notebook
that is being detached
user_data
user data set when the signal handler was connected.
Returns
a GtkNotebook that page
should be
added to, or NULL .
[transfer none ]
Flags: Run Last
The “focus-tab” signal
GtkNotebook::focus-tab
gboolean
user_function (GtkNotebook *notebook,
GtkNotebookTab arg1,
gpointer user_data)
Flags: Action
The “move-focus-out” signal
GtkNotebook::move-focus-out
void
user_function (GtkNotebook *notebook,
GtkDirectionType arg1,
gpointer user_data)
Flags: Action
The “page-added” signal
GtkNotebook::page-added
void
user_function (GtkNotebook *notebook,
GtkWidget *child,
guint page_num,
gpointer user_data)
the ::page-added signal is emitted in the notebook
right after a page is added to the notebook.
Parameters
notebook
the GtkNotebook
child
the child GtkWidget affected
page_num
the new page number for child
user_data
user data set when the signal handler was connected.
Flags: Run Last
The “page-removed” signal
GtkNotebook::page-removed
void
user_function (GtkNotebook *notebook,
GtkWidget *child,
guint page_num,
gpointer user_data)
the ::page-removed signal is emitted in the notebook
right after a page is removed from the notebook.
Parameters
notebook
the GtkNotebook
child
the child GtkWidget affected
page_num
the child
page number
user_data
user data set when the signal handler was connected.
Flags: Run Last
The “page-reordered” signal
GtkNotebook::page-reordered
void
user_function (GtkNotebook *notebook,
GtkWidget *child,
guint page_num,
gpointer user_data)
the ::page-reordered signal is emitted in the notebook
right after a page has been reordered.
Parameters
notebook
the GtkNotebook
child
the child GtkWidget affected
page_num
the new page number for child
user_data
user data set when the signal handler was connected.
Flags: Run Last
The “reorder-tab” signal
GtkNotebook::reorder-tab
gboolean
user_function (GtkNotebook *notebook,
GtkDirectionType arg1,
gboolean arg2,
gpointer user_data)
Flags: Action
The “select-page” signal
GtkNotebook::select-page
gboolean
user_function (GtkNotebook *notebook,
gboolean arg1,
gpointer user_data)
Flags: Action
The “switch-page” signal
GtkNotebook::switch-page
void
user_function (GtkNotebook *notebook,
GtkWidget *page,
guint page_num,
gpointer user_data)
Emitted when the user or a function changes the current page.
Parameters
notebook
the object which received the signal.
page
the new current page
page_num
the index of the page
user_data
user data set when the signal handler was connected.
Flags: Run Last
See Also
GtkContainer
docs/reference/gtk/xml/gtkadjustment.xml 0000664 0001750 0001750 00000133156 13617646201 020606 0 ustar mclasen mclasen
]>
GtkAdjustment
3
GTK4 Library
GtkAdjustment
A representation of an adjustable bounded value
Functions
GtkAdjustment *
gtk_adjustment_new ()
gdouble
gtk_adjustment_get_value ()
void
gtk_adjustment_set_value ()
void
gtk_adjustment_clamp_page ()
void
gtk_adjustment_configure ()
gdouble
gtk_adjustment_get_lower ()
gdouble
gtk_adjustment_get_page_increment ()
gdouble
gtk_adjustment_get_page_size ()
gdouble
gtk_adjustment_get_step_increment ()
gdouble
gtk_adjustment_get_minimum_increment ()
gdouble
gtk_adjustment_get_upper ()
void
gtk_adjustment_set_lower ()
void
gtk_adjustment_set_page_increment ()
void
gtk_adjustment_set_page_size ()
void
gtk_adjustment_set_step_increment ()
void
gtk_adjustment_set_upper ()
Properties
gdouble lowerRead / Write
gdouble page-incrementRead / Write
gdouble page-sizeRead / Write
gdouble step-incrementRead / Write
gdouble upperRead / Write
gdouble valueRead / Write
Signals
void changed No Recursion
void value-changed No Recursion
Types and Values
GtkAdjustment
Object Hierarchy
GObject
╰── GInitiallyUnowned
╰── GtkAdjustment
Includes #include <gtk/gtk.h>
Description
The GtkAdjustment object represents a value which has an associated lower
and upper bound, together with step and page increments, and a page size.
It is used within several GTK+ widgets, including GtkSpinButton , GtkViewport ,
and GtkRange (which is a base class for GtkScrollbar and GtkScale ).
The GtkAdjustment object does not update the value itself. Instead
it is left up to the owner of the GtkAdjustment to control the value.
Functions
gtk_adjustment_new ()
gtk_adjustment_new
GtkAdjustment *
gtk_adjustment_new (gdouble value ,
gdouble lower ,
gdouble upper ,
gdouble step_increment ,
gdouble page_increment ,
gdouble page_size );
Creates a new GtkAdjustment .
Parameters
value
the initial value
lower
the minimum value
upper
the maximum value
step_increment
the step increment
page_increment
the page increment
page_size
the page size
Returns
a new GtkAdjustment
gtk_adjustment_get_value ()
gtk_adjustment_get_value
gdouble
gtk_adjustment_get_value (GtkAdjustment *adjustment );
Gets the current value of the adjustment.
See gtk_adjustment_set_value() .
Parameters
adjustment
a GtkAdjustment
Returns
The current value of the adjustment
gtk_adjustment_set_value ()
gtk_adjustment_set_value
void
gtk_adjustment_set_value (GtkAdjustment *adjustment ,
gdouble value );
Sets the GtkAdjustment value. The value is clamped to lie between
“lower” and “upper” .
Note that for adjustments which are used in a GtkScrollbar , the
effective range of allowed values goes from “lower” to
“upper” - “page-size” .
Parameters
adjustment
a GtkAdjustment
value
the new value
gtk_adjustment_clamp_page ()
gtk_adjustment_clamp_page
void
gtk_adjustment_clamp_page (GtkAdjustment *adjustment ,
gdouble lower ,
gdouble upper );
Updates the “value” property to ensure that the range
between lower
and upper
is in the current page (i.e. between
“value” and “value” + “page-size” ).
If the range is larger than the page size, then only the start of it will
be in the current page.
A “value-changed” signal will be emitted if the value is changed.
Parameters
adjustment
a GtkAdjustment
lower
the lower value
upper
the upper value
gtk_adjustment_configure ()
gtk_adjustment_configure
void
gtk_adjustment_configure (GtkAdjustment *adjustment ,
gdouble value ,
gdouble lower ,
gdouble upper ,
gdouble step_increment ,
gdouble page_increment ,
gdouble page_size );
Sets all properties of the adjustment at once.
Use this function to avoid multiple emissions of the
“changed” signal. See gtk_adjustment_set_lower()
for an alternative way of compressing multiple emissions of
“changed” into one.
Parameters
adjustment
a GtkAdjustment
value
the new value
lower
the new minimum value
upper
the new maximum value
step_increment
the new step increment
page_increment
the new page increment
page_size
the new page size
gtk_adjustment_get_lower ()
gtk_adjustment_get_lower
gdouble
gtk_adjustment_get_lower (GtkAdjustment *adjustment );
Retrieves the minimum value of the adjustment.
Parameters
adjustment
a GtkAdjustment
Returns
The current minimum value of the adjustment
gtk_adjustment_get_page_increment ()
gtk_adjustment_get_page_increment
gdouble
gtk_adjustment_get_page_increment (GtkAdjustment *adjustment );
Retrieves the page increment of the adjustment.
Parameters
adjustment
a GtkAdjustment
Returns
The current page increment of the adjustment
gtk_adjustment_get_page_size ()
gtk_adjustment_get_page_size
gdouble
gtk_adjustment_get_page_size (GtkAdjustment *adjustment );
Retrieves the page size of the adjustment.
Parameters
adjustment
a GtkAdjustment
Returns
The current page size of the adjustment
gtk_adjustment_get_step_increment ()
gtk_adjustment_get_step_increment
gdouble
gtk_adjustment_get_step_increment (GtkAdjustment *adjustment );
Retrieves the step increment of the adjustment.
Parameters
adjustment
a GtkAdjustment
Returns
The current step increment of the adjustment.
gtk_adjustment_get_minimum_increment ()
gtk_adjustment_get_minimum_increment
gdouble
gtk_adjustment_get_minimum_increment (GtkAdjustment *adjustment );
Gets the smaller of step increment and page increment.
Parameters
adjustment
a GtkAdjustment
Returns
the minimum increment of adjustment
gtk_adjustment_get_upper ()
gtk_adjustment_get_upper
gdouble
gtk_adjustment_get_upper (GtkAdjustment *adjustment );
Retrieves the maximum value of the adjustment.
Parameters
adjustment
a GtkAdjustment
Returns
The current maximum value of the adjustment
gtk_adjustment_set_lower ()
gtk_adjustment_set_lower
void
gtk_adjustment_set_lower (GtkAdjustment *adjustment ,
gdouble lower );
Sets the minimum value of the adjustment.
When setting multiple adjustment properties via their individual
setters, multiple “changed” signals will be emitted.
However, since the emission of the “changed” signal
is tied to the emission of the “notify” signals of the changed
properties, it’s possible to compress the “changed”
signals into one by calling g_object_freeze_notify() and
g_object_thaw_notify() around the calls to the individual setters.
Alternatively, using a single g_object_set() for all the properties
to change, or using gtk_adjustment_configure() has the same effect
of compressing “changed” emissions.
Parameters
adjustment
a GtkAdjustment
lower
the new minimum value
gtk_adjustment_set_page_increment ()
gtk_adjustment_set_page_increment
void
gtk_adjustment_set_page_increment (GtkAdjustment *adjustment ,
gdouble page_increment );
Sets the page increment of the adjustment.
See gtk_adjustment_set_lower() about how to compress multiple
emissions of the “changed” signal when setting
multiple adjustment properties.
Parameters
adjustment
a GtkAdjustment
page_increment
the new page increment
gtk_adjustment_set_page_size ()
gtk_adjustment_set_page_size
void
gtk_adjustment_set_page_size (GtkAdjustment *adjustment ,
gdouble page_size );
Sets the page size of the adjustment.
See gtk_adjustment_set_lower() about how to compress multiple
emissions of the GtkAdjustment::changed signal when setting
multiple adjustment properties.
Parameters
adjustment
a GtkAdjustment
page_size
the new page size
gtk_adjustment_set_step_increment ()
gtk_adjustment_set_step_increment
void
gtk_adjustment_set_step_increment (GtkAdjustment *adjustment ,
gdouble step_increment );
Sets the step increment of the adjustment.
See gtk_adjustment_set_lower() about how to compress multiple
emissions of the “changed” signal when setting
multiple adjustment properties.
Parameters
adjustment
a GtkAdjustment
step_increment
the new step increment
gtk_adjustment_set_upper ()
gtk_adjustment_set_upper
void
gtk_adjustment_set_upper (GtkAdjustment *adjustment ,
gdouble upper );
Sets the maximum value of the adjustment.
Note that values will be restricted by upper - page-size
if the page-size property is nonzero.
See gtk_adjustment_set_lower() about how to compress multiple
emissions of the “changed” signal when setting
multiple adjustment properties.
Parameters
adjustment
a GtkAdjustment
upper
the new maximum value
Property Details
The “lower” property
GtkAdjustment:lower
“lower” gdouble
The minimum value of the adjustment.
Owner: GtkAdjustment
Flags: Read / Write
Default value: 0
The “page-increment” property
GtkAdjustment:page-increment
“page-increment” gdouble
The page increment of the adjustment.
Owner: GtkAdjustment
Flags: Read / Write
Default value: 0
The “page-size” property
GtkAdjustment:page-size
“page-size” gdouble
The page size of the adjustment.
Note that the page-size is irrelevant and should be set to zero
if the adjustment is used for a simple scalar value, e.g. in a
GtkSpinButton .
Owner: GtkAdjustment
Flags: Read / Write
Default value: 0
The “step-increment” property
GtkAdjustment:step-increment
“step-increment” gdouble
The step increment of the adjustment.
Owner: GtkAdjustment
Flags: Read / Write
Default value: 0
The “upper” property
GtkAdjustment:upper
“upper” gdouble
The maximum value of the adjustment.
Note that values will be restricted by
upper - page-size if the page-size
property is nonzero.
Owner: GtkAdjustment
Flags: Read / Write
Default value: 0
The “value” property
GtkAdjustment:value
“value” gdouble
The value of the adjustment.
Owner: GtkAdjustment
Flags: Read / Write
Default value: 0
Signal Details
The “changed” signal
GtkAdjustment::changed
void
user_function (GtkAdjustment *adjustment,
gpointer user_data)
Emitted when one or more of the GtkAdjustment properties have been
changed, other than the “value” property.
Parameters
adjustment
the object which received the signal
user_data
user data set when the signal handler was connected.
Flags: No Recursion
The “value-changed” signal
GtkAdjustment::value-changed
void
user_function (GtkAdjustment *adjustment,
gpointer user_data)
Emitted when the “value” property has been changed.
Parameters
adjustment
the object which received the signal
user_data
user data set when the signal handler was connected.
Flags: No Recursion
docs/reference/gtk/xml/gtktreelistmodel.xml 0000664 0001750 0001750 00000072716 13617646203 021312 0 ustar mclasen mclasen
]>
GtkTreeListModel
3
GTK4 Library
GtkTreeListModel
A list model that can create child models on demand
Functions
GListModel *
( *GtkTreeListModelCreateModelFunc) ()
GtkTreeListModel *
gtk_tree_list_model_new ()
GListModel *
gtk_tree_list_model_get_model ()
gboolean
gtk_tree_list_model_get_passthrough ()
void
gtk_tree_list_model_set_autoexpand ()
gboolean
gtk_tree_list_model_get_autoexpand ()
GtkTreeListRow *
gtk_tree_list_model_get_child_row ()
GtkTreeListRow *
gtk_tree_list_model_get_row ()
Properties
gboolean autoexpandRead / Write
GListModel * modelRead
gboolean passthroughRead / Write / Construct Only
GListModel * childrenRead
guint depthRead
gboolean expandableRead
gboolean expandedRead / Write
GObject * itemRead
Types and Values
GtkTreeListModel
GtkTreeListRow
Object Hierarchy
GObject
├── GtkTreeListModel
╰── GtkTreeListRow
Implemented Interfaces
GtkTreeListModel implements
GListModel.
Includes #include <gtk/gtk.h>
Description
GtkTreeListModel is a GListModel implementation that can expand rows
by creating new child list models on demand.
Functions
GtkTreeListModelCreateModelFunc ()
GtkTreeListModelCreateModelFunc
GListModel *
( *GtkTreeListModelCreateModelFunc) (gpointer item ,
gpointer user_data );
Prototype of the function called to create new child models when
gtk_tree_list_row_set_expanded() is called.
This function can return NULL to indicate that item
is guaranteed to be
a leave node and will never have children.
If it does not have children but may get children later, it should return
an empty model that is filled once children arrive.
Parameters
item
The item that is being expanded.
[type GObject]
user_data
User data passed when registering the function
Returns
The model tracking the children of item
or NULL if
item
can never have children.
[nullable ][transfer full ]
gtk_tree_list_model_new ()
gtk_tree_list_model_new
GtkTreeListModel *
gtk_tree_list_model_new (gboolean passthrough ,
GListModel *root ,
gboolean autoexpand ,
GtkTreeListModelCreateModelFunc create_func ,
gpointer user_data ,
GDestroyNotify user_destroy );
Creates a new empty GtkTreeListModel displaying root
with all rows collapsed.
Parameters
passthrough
TRUE to pass through items from the models
root
The GListModel to use as root
autoexpand
TRUE to set the autoexpand property and expand the root
model
create_func
Function to call to create the GListModel for the children
of an item
user_data
Data to pass to create_func
.
[closure ]
user_destroy
Function to call to free user_data
Returns
a newly created GtkTreeListModel .
gtk_tree_list_model_get_model ()
gtk_tree_list_model_get_model
GListModel *
gtk_tree_list_model_get_model (GtkTreeListModel *self );
Gets the root model that self
was created with.
Parameters
self
a GtkTreeListModel
Returns
the root model.
[transfer none ]
gtk_tree_list_model_get_passthrough ()
gtk_tree_list_model_get_passthrough
gboolean
gtk_tree_list_model_get_passthrough (GtkTreeListModel *self );
If this function returns FALSE , the GListModel functions for self
return custom GtkTreeListRow objects. You need to call
gtk_tree_list_row_get_item() on these objects to get the original
item.
If TRUE , the values of the child models are passed through in their
original state. You then need to call gtk_tree_list_model_get_row()
to get the custom GtkTreeListRows .
Parameters
self
a GtkTreeListModel
Returns
TRUE if the model is passing through original row items
gtk_tree_list_model_set_autoexpand ()
gtk_tree_list_model_set_autoexpand
void
gtk_tree_list_model_set_autoexpand (GtkTreeListModel *self ,
gboolean autoexpand );
If set to TRUE , the model will recursively expand all rows that
get added to the model. This can be either rows added by changes
to the underlying models or via gtk_tree_list_model_set_expanded() .
Parameters
self
a GtkTreeListModel
autoexpand
TRUE to make the model autoexpand its rows
gtk_tree_list_model_get_autoexpand ()
gtk_tree_list_model_get_autoexpand
gboolean
gtk_tree_list_model_get_autoexpand (GtkTreeListModel *self );
Gets whether the model is set to automatically expand new rows
that get added. This can be either rows added by changes to the
underlying models or via gtk_tree_list_model_set_expanded() .
Parameters
self
a GtkTreeListModel
Returns
TRUE if the model is set to autoexpand
gtk_tree_list_model_get_child_row ()
gtk_tree_list_model_get_child_row
GtkTreeListRow *
gtk_tree_list_model_get_child_row (GtkTreeListModel *self ,
guint position );
Gets the row item corresponding to the child at index position
for
self
's root model.
If position
is greater than the number of children in the root model,
NULL is returned.
Do not confuse this function with gtk_tree_list_model_get_row() .
Parameters
self
a GtkTreeListModel
position
position of the child to get
Returns
the child in position
.
[nullable ][transfer full ]
gtk_tree_list_model_get_row ()
gtk_tree_list_model_get_row
GtkTreeListRow *
gtk_tree_list_model_get_row (GtkTreeListModel *self ,
guint position );
Gets the row object for the given row. If position
is greater than
the number of items in self
, NULL is returned.
The row object can be used to expand and collapse rows as well as
to inspect its position in the tree. See its documentation for details.
This row object is persistent and will refer to the current item as
long as the row is present in self
, independent of other rows being
added or removed.
If self
is set to not be passthrough, this function is equivalent
to calling g_list_model_get_item() .
Do not confuse this function with gtk_tree_list_model_get_child_row() .
Parameters
self
a GtkTreeListModel
position
the position of the row to fetch
Returns
The row item.
[nullable ][transfer full ]
Property Details
The “autoexpand” property
GtkTreeListModel:autoexpand
“autoexpand” gboolean
If all rows should be expanded by default
Owner: GtkTreeListModel
Flags: Read / Write
Default value: FALSE
The “model” property
GtkTreeListModel:model
“model” GListModel *
The root model displayed
Owner: GtkTreeListModel
Flags: Read
The “passthrough” property
GtkTreeListModel:passthrough
“passthrough” gboolean
If FALSE , the GListModel functions for this object return custom
GtkTreeListRow objects.
If TRUE , the values of the child models are pass through unmodified.
Owner: GtkTreeListModel
Flags: Read / Write / Construct Only
Default value: FALSE
The “children” property
GtkTreeListRow:children
“children” GListModel *
The model holding the row's children.
Owner: GtkTreeListRow
Flags: Read
The “depth” property
GtkTreeListRow:depth
“depth” guint
The depth in the tree of this row
Owner: GtkTreeListRow
Flags: Read
Default value: 0
The “expandable” property
GtkTreeListRow:expandable
“expandable” gboolean
If this row can ever be expanded
Owner: GtkTreeListRow
Flags: Read
Default value: FALSE
The “expanded” property
GtkTreeListRow:expanded
“expanded” gboolean
If this row is currently expanded
Owner: GtkTreeListRow
Flags: Read / Write
Default value: FALSE
The “item” property
GtkTreeListRow:item
“item” GObject *
The item held in this row
Owner: GtkTreeListRow
Flags: Read
See Also
GListModel
docs/reference/gtk/xml/gtkassistant.xml 0000664 0001750 0001750 00000214543 13617646201 020441 0 ustar mclasen mclasen
]>
GtkAssistant
3
GTK4 Library
GtkAssistant
A widget used to guide users through multi-step operations
Functions
GtkWidget *
gtk_assistant_new ()
GtkAssistantPage *
gtk_assistant_get_page ()
GListModel *
gtk_assistant_get_pages ()
GtkWidget *
gtk_assistant_page_get_child ()
gint
gtk_assistant_get_current_page ()
void
gtk_assistant_set_current_page ()
gint
gtk_assistant_get_n_pages ()
GtkWidget *
gtk_assistant_get_nth_page ()
gint
gtk_assistant_prepend_page ()
gint
gtk_assistant_append_page ()
gint
gtk_assistant_insert_page ()
void
gtk_assistant_remove_page ()
gint
( *GtkAssistantPageFunc) ()
void
gtk_assistant_set_forward_page_func ()
void
gtk_assistant_set_page_type ()
GtkAssistantPageType
gtk_assistant_get_page_type ()
void
gtk_assistant_set_page_title ()
const gchar *
gtk_assistant_get_page_title ()
void
gtk_assistant_set_page_complete ()
gboolean
gtk_assistant_get_page_complete ()
void
gtk_assistant_add_action_widget ()
void
gtk_assistant_remove_action_widget ()
void
gtk_assistant_update_buttons_state ()
void
gtk_assistant_commit ()
void
gtk_assistant_next_page ()
void
gtk_assistant_previous_page ()
Properties
GListModel * pagesRead
gint use-header-barRead / Write / Construct Only
GtkWidget * childRead / Write / Construct Only
gboolean completeRead / Write
GtkAssistantPageType page-typeRead / Write
gchar * titleRead / Write
Signals
void apply Run Last
void cancel Run Last
void close Run Last
void escape Action
void prepare Run Last
Types and Values
GtkAssistant
GtkAssistantPage
enum GtkAssistantPageType
Object Hierarchy
GObject
├── GInitiallyUnowned
│ ╰── GtkWidget
│ ╰── GtkContainer
│ ╰── GtkBin
│ ╰── GtkWindow
│ ╰── GtkAssistant
╰── GtkAssistantPage
Implemented Interfaces
GtkAssistant implements
AtkImplementorIface, GtkBuildable, GtkConstraintTarget, GtkNative and GtkRoot.
Includes #include <gtk/gtk.h>
Description
A GtkAssistant is a widget used to represent a generally complex
operation splitted in several steps, guiding the user through its
pages and controlling the page flow to collect the necessary data.
The design of GtkAssistant is that it controls what buttons to show
and to make sensitive, based on what it knows about the page sequence
and the type of each page,
in addition to state information like the page
completion
and committed status.
If you have a case that doesn’t quite fit in GtkAssistants way of
handling buttons, you can use the GTK_ASSISTANT_PAGE_CUSTOM page
type and handle buttons yourself.
GtkAssistant maintains a GtkAssistantPage object for each added
child, which holds additional per-child properties. You
obtain the GtkAssistantPage for a child with gtk_assistant_get_page() .
GtkAssistant as GtkBuildable The GtkAssistant implementation of the GtkBuildable interface
exposes the action_area
as internal children with the name
“action_area”.
To add pages to an assistant in GtkBuilder , simply add it as a
child to the GtkAssistant object. If you need to set per-object
properties, create a GtkAssistantPage object explicitly, and
set the child widget as a property on it.
CSS nodes GtkAssistant has a single CSS node with the name assistant.
Functions
gtk_assistant_new ()
gtk_assistant_new
GtkWidget *
gtk_assistant_new (void );
Creates a new GtkAssistant .
Returns
a newly created GtkAssistant
gtk_assistant_get_page ()
gtk_assistant_get_page
GtkAssistantPage *
gtk_assistant_get_page (GtkAssistant *assistant ,
GtkWidget *child );
Returns the GtkAssistantPage object for child
.
Parameters
assistant
a GtkAssistant
child
a child of assistant
Returns
the GtkAssistantPage for child
.
[transfer none ]
gtk_assistant_get_pages ()
gtk_assistant_get_pages
GListModel *
gtk_assistant_get_pages (GtkAssistant *assistant );
Gets a list model of the assistant pages.
Parameters
assistant
a GtkAssistant
Returns
A list model of the pages.
[transfer full ]
gtk_assistant_page_get_child ()
gtk_assistant_page_get_child
GtkWidget *
gtk_assistant_page_get_child (GtkAssistantPage *page );
Returns the child to which page
belongs.
Parameters
page
a GtkAssistantPage
Returns
the child to which page
belongs.
[transfer none ]
gtk_assistant_get_current_page ()
gtk_assistant_get_current_page
gint
gtk_assistant_get_current_page (GtkAssistant *assistant );
Returns the page number of the current page.
Parameters
assistant
a GtkAssistant
Returns
The index (starting from 0) of the current
page in the assistant
, or -1 if the assistant
has no pages,
or no current page.
gtk_assistant_set_current_page ()
gtk_assistant_set_current_page
void
gtk_assistant_set_current_page (GtkAssistant *assistant ,
gint page_num );
Switches the page to page_num
.
Note that this will only be necessary in custom buttons,
as the assistant
flow can be set with
gtk_assistant_set_forward_page_func() .
Parameters
assistant
a GtkAssistant
page_num
index of the page to switch to, starting from 0.
If negative, the last page will be used. If greater
than the number of pages in the assistant
, nothing
will be done.
gtk_assistant_get_n_pages ()
gtk_assistant_get_n_pages
gint
gtk_assistant_get_n_pages (GtkAssistant *assistant );
Returns the number of pages in the assistant
Parameters
assistant
a GtkAssistant
Returns
the number of pages in the assistant
gtk_assistant_get_nth_page ()
gtk_assistant_get_nth_page
GtkWidget *
gtk_assistant_get_nth_page (GtkAssistant *assistant ,
gint page_num );
Returns the child widget contained in page number page_num
.
Parameters
assistant
a GtkAssistant
page_num
the index of a page in the assistant
,
or -1 to get the last page
Returns
the child widget, or NULL
if page_num
is out of bounds.
[nullable ][transfer none ]
gtk_assistant_prepend_page ()
gtk_assistant_prepend_page
gint
gtk_assistant_prepend_page (GtkAssistant *assistant ,
GtkWidget *page );
Prepends a page to the assistant
.
Parameters
assistant
a GtkAssistant
page
a GtkWidget
Returns
the index (starting at 0) of the inserted page
gtk_assistant_append_page ()
gtk_assistant_append_page
gint
gtk_assistant_append_page (GtkAssistant *assistant ,
GtkWidget *page );
Appends a page to the assistant
.
Parameters
assistant
a GtkAssistant
page
a GtkWidget
Returns
the index (starting at 0) of the inserted page
gtk_assistant_insert_page ()
gtk_assistant_insert_page
gint
gtk_assistant_insert_page (GtkAssistant *assistant ,
GtkWidget *page ,
gint position );
Inserts a page in the assistant
at a given position.
Parameters
assistant
a GtkAssistant
page
a GtkWidget
position
the index (starting at 0) at which to insert the page,
or -1 to append the page to the assistant
Returns
the index (starting from 0) of the inserted page
gtk_assistant_remove_page ()
gtk_assistant_remove_page
void
gtk_assistant_remove_page (GtkAssistant *assistant ,
gint page_num );
Removes the page_num
’s page from assistant
.
Parameters
assistant
a GtkAssistant
page_num
the index of a page in the assistant
,
or -1 to remove the last page
GtkAssistantPageFunc ()
GtkAssistantPageFunc
gint
( *GtkAssistantPageFunc) (gint current_page ,
gpointer data );
A function used by gtk_assistant_set_forward_page_func() to know which
is the next page given a current one. It’s called both for computing the
next page when the user presses the “forward” button and for handling
the behavior of the “last” button.
Parameters
current_page
The page number used to calculate the next page.
data
user data.
[closure ]
Returns
The next page number.
gtk_assistant_set_forward_page_func ()
gtk_assistant_set_forward_page_func
void
gtk_assistant_set_forward_page_func (GtkAssistant *assistant ,
GtkAssistantPageFunc page_func ,
gpointer data ,
GDestroyNotify destroy );
Sets the page forwarding function to be page_func
.
This function will be used to determine what will be
the next page when the user presses the forward button.
Setting page_func
to NULL will make the assistant to
use the default forward function, which just goes to the
next visible page.
Parameters
assistant
a GtkAssistant
page_func
the GtkAssistantPageFunc , or NULL
to use the default one.
[allow-none ]
data
user data for page_func
destroy
destroy notifier for data
gtk_assistant_set_page_type ()
gtk_assistant_set_page_type
void
gtk_assistant_set_page_type (GtkAssistant *assistant ,
GtkWidget *page ,
GtkAssistantPageType type );
Sets the page type for page
.
The page type determines the page behavior in the assistant
.
Parameters
assistant
a GtkAssistant
page
a page of assistant
type
the new type for page
gtk_assistant_get_page_type ()
gtk_assistant_get_page_type
GtkAssistantPageType
gtk_assistant_get_page_type (GtkAssistant *assistant ,
GtkWidget *page );
Gets the page type of page
.
Parameters
assistant
a GtkAssistant
page
a page of assistant
Returns
the page type of page
gtk_assistant_set_page_title ()
gtk_assistant_set_page_title
void
gtk_assistant_set_page_title (GtkAssistant *assistant ,
GtkWidget *page ,
const gchar *title );
Sets a title for page
.
The title is displayed in the header area of the assistant
when page
is the current page.
Parameters
assistant
a GtkAssistant
page
a page of assistant
title
the new title for page
gtk_assistant_get_page_title ()
gtk_assistant_get_page_title
const gchar *
gtk_assistant_get_page_title (GtkAssistant *assistant ,
GtkWidget *page );
Gets the title for page
.
Parameters
assistant
a GtkAssistant
page
a page of assistant
Returns
the title for page
gtk_assistant_set_page_complete ()
gtk_assistant_set_page_complete
void
gtk_assistant_set_page_complete (GtkAssistant *assistant ,
GtkWidget *page ,
gboolean complete );
Sets whether page
contents are complete.
This will make assistant
update the buttons state
to be able to continue the task.
Parameters
assistant
a GtkAssistant
page
a page of assistant
complete
the completeness status of the page
gtk_assistant_get_page_complete ()
gtk_assistant_get_page_complete
gboolean
gtk_assistant_get_page_complete (GtkAssistant *assistant ,
GtkWidget *page );
Gets whether page
is complete.
Parameters
assistant
a GtkAssistant
page
a page of assistant
Returns
TRUE if page
is complete.
gtk_assistant_add_action_widget ()
gtk_assistant_add_action_widget
void
gtk_assistant_add_action_widget (GtkAssistant *assistant ,
GtkWidget *child );
Adds a widget to the action area of a GtkAssistant .
Parameters
assistant
a GtkAssistant
child
a GtkWidget
gtk_assistant_remove_action_widget ()
gtk_assistant_remove_action_widget
void
gtk_assistant_remove_action_widget (GtkAssistant *assistant ,
GtkWidget *child );
Removes a widget from the action area of a GtkAssistant .
Parameters
assistant
a GtkAssistant
child
a GtkWidget
gtk_assistant_update_buttons_state ()
gtk_assistant_update_buttons_state
void
gtk_assistant_update_buttons_state (GtkAssistant *assistant );
Forces assistant
to recompute the buttons state.
GTK+ automatically takes care of this in most situations,
e.g. when the user goes to a different page, or when the
visibility or completeness of a page changes.
One situation where it can be necessary to call this
function is when changing a value on the current page
affects the future page flow of the assistant.
Parameters
assistant
a GtkAssistant
gtk_assistant_commit ()
gtk_assistant_commit
void
gtk_assistant_commit (GtkAssistant *assistant );
Erases the visited page history so the back button is not
shown on the current page, and removes the cancel button
from subsequent pages.
Use this when the information provided up to the current
page is hereafter deemed permanent and cannot be modified
or undone. For example, showing a progress page to track
a long-running, unreversible operation after the user has
clicked apply on a confirmation page.
Parameters
assistant
a GtkAssistant
gtk_assistant_next_page ()
gtk_assistant_next_page
void
gtk_assistant_next_page (GtkAssistant *assistant );
Navigate to the next page.
It is a programming error to call this function when
there is no next page.
This function is for use when creating pages of the
GTK_ASSISTANT_PAGE_CUSTOM type.
Parameters
assistant
a GtkAssistant
gtk_assistant_previous_page ()
gtk_assistant_previous_page
void
gtk_assistant_previous_page (GtkAssistant *assistant );
Navigate to the previous visited page.
It is a programming error to call this function when
no previous page is available.
This function is for use when creating pages of the
GTK_ASSISTANT_PAGE_CUSTOM type.
Parameters
assistant
a GtkAssistant
Property Details
The “pages” property
GtkAssistant:pages
“pages” GListModel *
The pages of the assistant. Owner: GtkAssistant
Flags: Read
The “child” property
GtkAssistantPage:child
“child” GtkWidget *
The content the assistant page. Owner: GtkAssistantPage
Flags: Read / Write / Construct Only
The “complete” property
GtkAssistantPage:complete
“complete” gboolean
Setting the "complete" property to TRUE marks a page as
complete (i.e.: all the required fields are filled out). GTK+ uses
this information to control the sensitivity of the navigation buttons.
Owner: GtkAssistantPage
Flags: Read / Write
Default value: FALSE
The “page-type” property
GtkAssistantPage:page-type
“page-type” GtkAssistantPageType
The type of the assistant page.
Owner: GtkAssistantPage
Flags: Read / Write
Default value: GTK_ASSISTANT_PAGE_CONTENT
The “title” property
GtkAssistantPage:title
“title” gchar *
The title of the page.
Owner: GtkAssistantPage
Flags: Read / Write
Default value: NULL
Signal Details
The “apply” signal
GtkAssistant::apply
void
user_function (GtkAssistant *assistant,
gpointer user_data)
The ::apply signal is emitted when the apply button is clicked.
The default behavior of the GtkAssistant is to switch to the page
after the current page, unless the current page is the last one.
A handler for the ::apply signal should carry out the actions for
which the wizard has collected data. If the action takes a long time
to complete, you might consider putting a page of type
GTK_ASSISTANT_PAGE_PROGRESS after the confirmation page and handle
this operation within the “prepare” signal of the progress
page.
Parameters
assistant
the GtkAssistant
user_data
user data set when the signal handler was connected.
Flags: Run Last
The “cancel” signal
GtkAssistant::cancel
void
user_function (GtkAssistant *assistant,
gpointer user_data)
The ::cancel signal is emitted when then the cancel button is clicked.
Parameters
assistant
the GtkAssistant
user_data
user data set when the signal handler was connected.
Flags: Run Last
The “close” signal
GtkAssistant::close
void
user_function (GtkAssistant *assistant,
gpointer user_data)
The ::close signal is emitted either when the close button of
a summary page is clicked, or when the apply button in the last
page in the flow (of type GTK_ASSISTANT_PAGE_CONFIRM ) is clicked.
Parameters
assistant
the GtkAssistant
user_data
user data set when the signal handler was connected.
Flags: Run Last
The “escape” signal
GtkAssistant::escape
void
user_function (GtkAssistant *assistant,
gpointer user_data)
Flags: Action
The “prepare” signal
GtkAssistant::prepare
void
user_function (GtkAssistant *assistant,
GtkWidget *page,
gpointer user_data)
The ::prepare signal is emitted when a new page is set as the
assistant's current page, before making the new page visible.
A handler for this signal can do any preparations which are
necessary before showing page
.
Parameters
assistant
the GtkAssistant
page
the current page
user_data
user data set when the signal handler was connected.
Flags: Run Last
docs/reference/gtk/xml/gtkpicture.xml 0000664 0001750 0001750 00000132001 13617646202 020070 0 ustar mclasen mclasen
]>
GtkPicture
3
GTK4 Library
GtkPicture
A widget displaying a GdkPaintable
Functions
GtkWidget *
gtk_picture_new ()
GtkWidget *
gtk_picture_new_for_paintable ()
GtkWidget *
gtk_picture_new_for_pixbuf ()
GtkWidget *
gtk_picture_new_for_file ()
GtkWidget *
gtk_picture_new_for_filename ()
GtkWidget *
gtk_picture_new_for_resource ()
void
gtk_picture_set_paintable ()
GdkPaintable *
gtk_picture_get_paintable ()
void
gtk_picture_set_pixbuf ()
void
gtk_picture_set_file ()
GFile *
gtk_picture_get_file ()
void
gtk_picture_set_filename ()
void
gtk_picture_set_resource ()
void
gtk_picture_set_keep_aspect_ratio ()
gboolean
gtk_picture_get_keep_aspect_ratio ()
void
gtk_picture_set_can_shrink ()
gboolean
gtk_picture_get_can_shrink ()
void
gtk_picture_set_alternative_text ()
const char *
gtk_picture_get_alternative_text ()
Properties
gchar * alternative-textRead / Write
gboolean can-shrinkRead / Write
GFile * fileRead / Write
gboolean keep-aspect-ratioRead / Write
GdkPaintable * paintableRead / Write
Types and Values
GtkPicture
Object Hierarchy
GObject
╰── GInitiallyUnowned
╰── GtkWidget
╰── GtkPicture
Implemented Interfaces
GtkPicture implements
AtkImplementorIface, GtkBuildable and GtkConstraintTarget.
Includes #include <gtk/gtk.h>
Description
The GtkPicture widget displays a GdkPaintable . Many convenience functions
are provided to make pictures simple to use. For example, if you want to load
an image from a file, and then display that, there’s a convenience function
to do this:
If the file isn’t loaded successfully, the picture will contain a
“broken image” icon similar to that used in many web browsers.
If you want to handle errors in loading the file yourself,
for example by displaying an error message, then load the image with
gdk_texture_new_from_file() , then create the GtkPicture with
gtk_picture_new_for_paintable() .
Sometimes an application will want to avoid depending on external data
files, such as image files. See the documentation of GResource for details.
In this case, gtk_picture_new_for_resource() and gtk_picture_set_resource()
should be used.
CSS nodes GtkPicture has a single CSS node with the name picture.
Functions
gtk_picture_new ()
gtk_picture_new
GtkWidget *
gtk_picture_new (void );
Creates a new empty GtkPicture widget.
Returns
a newly created GtkPicture widget.
gtk_picture_new_for_paintable ()
gtk_picture_new_for_paintable
GtkWidget *
gtk_picture_new_for_paintable (GdkPaintable *paintable );
Creates a new GtkPicture displaying paintable
.
The GtkPicture will track changes to the paintable
and update
its size and contents in response to it.
Parameters
paintable
a GdkPaintable , or NULL .
[nullable ]
Returns
a new GtkPicture
gtk_picture_new_for_pixbuf ()
gtk_picture_new_for_pixbuf
GtkWidget *
gtk_picture_new_for_pixbuf (GdkPixbuf *pixbuf );
Creates a new GtkPicture displaying pixbuf
.
This is a utility function that calls gtk_picture_new_for_paintable() ,
See that function for details.
The pixbuf must not be modified after passing it to this function.
Parameters
pixbuf
a GdkPixbuf , or NULL .
[nullable ]
Returns
a new GtkPicture
gtk_picture_new_for_file ()
gtk_picture_new_for_file
GtkWidget *
gtk_picture_new_for_file (GFile *file );
Creates a new GtkPicture displaying the given file
. If the file
isn’t found or can’t be loaded, the resulting GtkPicture be empty.
If you need to detect failures to load the file, use
gdk_texture_new_for_file() to load the file yourself, then create
the GtkPicture from the texture.
Parameters
file
a GFile .
[nullable ]
Returns
a new GtkPicture
gtk_picture_new_for_filename ()
gtk_picture_new_for_filename
GtkWidget *
gtk_picture_new_for_filename (const gchar *filename );
Creates a new GtkPicture displaying the file filename
.
This is a utility function that calls gtk_picture_new_for_file() .
See that function for details.
Parameters
filename
a filename.
[type filename][nullable ]
Returns
a new GtkPicture
gtk_picture_new_for_resource ()
gtk_picture_new_for_resource
GtkWidget *
gtk_picture_new_for_resource (const gchar *resource_path );
Creates a new GtkPicture displaying the file filename
.
This is a utility function that calls gtk_picture_new_for_file() .
See that function for details.
Parameters
resource_path
resource path to play back.
[nullable ]
Returns
a new GtkPicture
gtk_picture_set_paintable ()
gtk_picture_set_paintable
void
gtk_picture_set_paintable (GtkPicture *self ,
GdkPaintable *paintable );
Makes self
display the given paintable
. If paintable
is NULL ,
nothing will be displayed.
See gtk_picture_new_for_paintable() for details.
Parameters
self
a GtkPicture
paintable
a GdkPaintable or NULL .
[nullable ]
gtk_picture_get_paintable ()
gtk_picture_get_paintable
GdkPaintable *
gtk_picture_get_paintable (GtkPicture *self );
Gets the GdkPaintable being displayed by the GtkPicture .
Parameters
self
a GtkPicture
Returns
the displayed paintable, or NULL if
the picture is empty.
[nullable ][transfer none ]
gtk_picture_set_pixbuf ()
gtk_picture_set_pixbuf
void
gtk_picture_set_pixbuf (GtkPicture *self ,
GdkPixbuf *pixbuf );
See gtk_picture_new_for_pixbuf() for details.
This is a utility function that calls gtk_picture_set_paintable() ,
Parameters
self
a GtkPicture
pixbuf
a GdkPixbuf or NULL .
[nullable ]
gtk_picture_set_file ()
gtk_picture_set_file
void
gtk_picture_set_file (GtkPicture *self ,
GFile *file );
Makes self
load and display file
.
See gtk_picture_new_for_file() for details.
Parameters
self
a GtkPicture
file
a GFile or NULL .
[nullable ]
gtk_picture_get_file ()
gtk_picture_get_file
GFile *
gtk_picture_get_file (GtkPicture *self );
Gets the GFile currently displayed if self
is displaying a file.
If self
is not displaying a file, for example when gtk_picture_set_paintable()
was used, then NULL is returned.
Parameters
self
a GtkPicture
Returns
The GFile displayed by self
.
[nullable ][transfer none ]
gtk_picture_set_filename ()
gtk_picture_set_filename
void
gtk_picture_set_filename (GtkPicture *self ,
const gchar *filename );
Makes self
load and display the given filename
.
This is a utility function that calls gtk_picture_set_file() .
Parameters
self
a GtkPicture
filename
the filename to play.
[nullable ]
gtk_picture_set_resource ()
gtk_picture_set_resource
void
gtk_picture_set_resource (GtkPicture *self ,
const gchar *resource_path );
Makes self
load and display the resource at the given
resource_path
.
This is a utility function that calls gtk_picture_set_file() ,
Parameters
self
a GtkPicture
resource_path
the resource to set.
[nullable ]
gtk_picture_set_keep_aspect_ratio ()
gtk_picture_set_keep_aspect_ratio
void
gtk_picture_set_keep_aspect_ratio (GtkPicture *self ,
gboolean keep_aspect_ratio );
If set to TRUE , the self
will render its contents according to
their aspect ratio. That means that empty space may show up at the
top/bottom or left/right of self
.
If set to FALSE or if the contents provide no aspect ratio, the
contents will be stretched over the picture's whole area.
Parameters
self
a GtkPicture
keep_aspect_ratio
whether to keep aspect ratio
gtk_picture_get_keep_aspect_ratio ()
gtk_picture_get_keep_aspect_ratio
gboolean
gtk_picture_get_keep_aspect_ratio (GtkPicture *self );
Gets the value set via gtk_picture_set_keep_aspect_ratio() .
Parameters
self
a GtkPicture
Returns
TRUE if the self tries to keep the contents' aspect ratio
gtk_picture_set_can_shrink ()
gtk_picture_set_can_shrink
void
gtk_picture_set_can_shrink (GtkPicture *self ,
gboolean can_shrink );
If set to TRUE , the self
can be made smaller than its contents.
The contents will then be scaled down when rendering.
If you want to still force a minimum size manually, consider using
gtk_widget_set_size_request() .
Also of note is that a similar function for growing does not exist
because the grow behavior can be controlled via
gtk_widget_set_halign() and gtk_widget_set_valign() .
Parameters
self
a GtkPicture
can_shrink
if self
can be made smaller than its contents
gtk_picture_get_can_shrink ()
gtk_picture_get_can_shrink
gboolean
gtk_picture_get_can_shrink (GtkPicture *self );
Gets the value set via gtk_picture_set_can_shrink() .
Parameters
self
a GtkPicture
Returns
TRUE if the picture can be made smaller than its contents
gtk_picture_set_alternative_text ()
gtk_picture_set_alternative_text
void
gtk_picture_set_alternative_text (GtkPicture *self ,
const char *alternative_text );
Sets an alternative textual description for the picture contents.
It is equivalent to the "alt" attribute for images on websites.
This text will be made available to accessibility tools.
If the picture cannot be described textually, set this property to NULL .
Parameters
self
a GtkPicture
alternative_text
a textual description of the contents.
[nullable ]
gtk_picture_get_alternative_text ()
gtk_picture_get_alternative_text
const char *
gtk_picture_get_alternative_text (GtkPicture *self );
Gets the alternative textual description of the picture or returns NULL if
the picture cannot be described textually.
Parameters
self
a GtkPicture
Returns
the alternative textual description
of self
.
[nullable ][transfer none ]
Property Details
The “alternative-text” property
GtkPicture:alternative-text
“alternative-text” gchar *
The alternative textual description for the picture.
Owner: GtkPicture
Flags: Read / Write
Default value: NULL
The “can-shrink” property
GtkPicture:can-shrink
“can-shrink” gboolean
If the GtkPicture can be made smaller than the self it contains.
Owner: GtkPicture
Flags: Read / Write
Default value: TRUE
The “file” property
GtkPicture:file
“file” GFile *
The GFile that is displayed or NULL if none.
Owner: GtkPicture
Flags: Read / Write
The “keep-aspect-ratio” property
GtkPicture:keep-aspect-ratio
“keep-aspect-ratio” gboolean
Whether the GtkPicture will render its contents trying to preserve the aspect
ratio of the contents.
Owner: GtkPicture
Flags: Read / Write
Default value: TRUE
The “paintable” property
GtkPicture:paintable
“paintable” GdkPaintable *
The GdkPaintable to be displayed by this GtkPicture .
Owner: GtkPicture
Flags: Read / Write
docs/reference/gtk/xml/gtkaspectframe.xml 0000664 0001750 0001750 00000032530 13617646201 020714 0 ustar mclasen mclasen
]>
GtkAspectFrame
3
GTK4 Library
GtkAspectFrame
A frame that constrains its child to a particular aspect ratio
Functions
GtkWidget *
gtk_aspect_frame_new ()
void
gtk_aspect_frame_set ()
Properties
gboolean obey-childRead / Write
gfloat ratioRead / Write
gfloat xalignRead / Write
gfloat yalignRead / Write
Types and Values
GtkAspectFrame
Object Hierarchy
GObject
╰── GInitiallyUnowned
╰── GtkWidget
╰── GtkContainer
╰── GtkBin
╰── GtkFrame
╰── GtkAspectFrame
Implemented Interfaces
GtkAspectFrame implements
AtkImplementorIface, GtkBuildable and GtkConstraintTarget.
Includes #include <gtk/gtk.h>
Description
The GtkAspectFrame is useful when you want
pack a widget so that it can resize but always retains
the same aspect ratio. For instance, one might be
drawing a small preview of a larger image. GtkAspectFrame
derives from GtkFrame , so it can draw a label and
a frame around the child. The frame will be
“shrink-wrapped” to the size of the child.
CSS nodes GtkAspectFrame uses a CSS node with name frame.
Functions
gtk_aspect_frame_new ()
gtk_aspect_frame_new
GtkWidget *
gtk_aspect_frame_new (const gchar *label ,
gfloat xalign ,
gfloat yalign ,
gfloat ratio ,
gboolean obey_child );
Create a new GtkAspectFrame .
Parameters
label
Label text.
[allow-none ]
xalign
Horizontal alignment of the child within the allocation of
the GtkAspectFrame . This ranges from 0.0 (left aligned)
to 1.0 (right aligned)
yalign
Vertical alignment of the child within the allocation of
the GtkAspectFrame . This ranges from 0.0 (top aligned)
to 1.0 (bottom aligned)
ratio
The desired aspect ratio.
obey_child
If TRUE , ratio
is ignored, and the aspect
ratio is taken from the requistion of the child.
Returns
the new GtkAspectFrame .
gtk_aspect_frame_set ()
gtk_aspect_frame_set
void
gtk_aspect_frame_set (GtkAspectFrame *aspect_frame ,
gfloat xalign ,
gfloat yalign ,
gfloat ratio ,
gboolean obey_child );
Set parameters for an existing GtkAspectFrame .
Parameters
aspect_frame
a GtkAspectFrame
xalign
Horizontal alignment of the child within the allocation of
the GtkAspectFrame . This ranges from 0.0 (left aligned)
to 1.0 (right aligned)
yalign
Vertical alignment of the child within the allocation of
the GtkAspectFrame . This ranges from 0.0 (top aligned)
to 1.0 (bottom aligned)
ratio
The desired aspect ratio.
obey_child
If TRUE , ratio
is ignored, and the aspect
ratio is taken from the requistion of the child.
Property Details
The “obey-child” property
GtkAspectFrame:obey-child
“obey-child” gboolean
Force aspect ratio to match that of the frame’s child. Owner: GtkAspectFrame
Flags: Read / Write
Default value: TRUE
The “ratio” property
GtkAspectFrame:ratio
“ratio” gfloat
Aspect ratio if obey_child is FALSE. Owner: GtkAspectFrame
Flags: Read / Write
Allowed values: [0.0001,10000]
Default value: 1
The “xalign” property
GtkAspectFrame:xalign
“xalign” gfloat
X alignment of the child. Owner: GtkAspectFrame
Flags: Read / Write
Allowed values: [0,1]
Default value: 0.5
The “yalign” property
GtkAspectFrame:yalign
“yalign” gfloat
Y alignment of the child. Owner: GtkAspectFrame
Flags: Read / Write
Allowed values: [0,1]
Default value: 0.5
docs/reference/gtk/xml/gtktreemodel.xml 0000664 0001750 0001750 00000471716 13617646203 020421 0 ustar mclasen mclasen
]>
GtkTreeModel
3
GTK4 Library
GtkTreeModel
The tree interface used by GtkTreeView
Functions
gboolean
( *GtkTreeModelForeachFunc) ()
GtkTreePath *
gtk_tree_path_new ()
GtkTreePath *
gtk_tree_path_new_from_string ()
GtkTreePath *
gtk_tree_path_new_from_indices ()
GtkTreePath *
gtk_tree_path_new_from_indicesv ()
gchar *
gtk_tree_path_to_string ()
GtkTreePath *
gtk_tree_path_new_first ()
void
gtk_tree_path_append_index ()
void
gtk_tree_path_prepend_index ()
gint
gtk_tree_path_get_depth ()
gint *
gtk_tree_path_get_indices ()
gint *
gtk_tree_path_get_indices_with_depth ()
void
gtk_tree_path_free ()
GtkTreePath *
gtk_tree_path_copy ()
gint
gtk_tree_path_compare ()
void
gtk_tree_path_next ()
gboolean
gtk_tree_path_prev ()
gboolean
gtk_tree_path_up ()
void
gtk_tree_path_down ()
gboolean
gtk_tree_path_is_ancestor ()
gboolean
gtk_tree_path_is_descendant ()
GtkTreeRowReference *
gtk_tree_row_reference_new ()
GtkTreeRowReference *
gtk_tree_row_reference_new_proxy ()
GtkTreeModel *
gtk_tree_row_reference_get_model ()
GtkTreePath *
gtk_tree_row_reference_get_path ()
gboolean
gtk_tree_row_reference_valid ()
void
gtk_tree_row_reference_free ()
GtkTreeRowReference *
gtk_tree_row_reference_copy ()
void
gtk_tree_row_reference_inserted ()
void
gtk_tree_row_reference_deleted ()
void
gtk_tree_row_reference_reordered ()
GtkTreeIter *
gtk_tree_iter_copy ()
void
gtk_tree_iter_free ()
GtkTreeModelFlags
gtk_tree_model_get_flags ()
gint
gtk_tree_model_get_n_columns ()
GType
gtk_tree_model_get_column_type ()
gboolean
gtk_tree_model_get_iter ()
gboolean
gtk_tree_model_get_iter_from_string ()
gboolean
gtk_tree_model_get_iter_first ()
GtkTreePath *
gtk_tree_model_get_path ()
void
gtk_tree_model_get_value ()
gboolean
gtk_tree_model_iter_next ()
gboolean
gtk_tree_model_iter_previous ()
gboolean
gtk_tree_model_iter_children ()
gboolean
gtk_tree_model_iter_has_child ()
gint
gtk_tree_model_iter_n_children ()
gboolean
gtk_tree_model_iter_nth_child ()
gboolean
gtk_tree_model_iter_parent ()
gchar *
gtk_tree_model_get_string_from_iter ()
void
gtk_tree_model_ref_node ()
void
gtk_tree_model_unref_node ()
void
gtk_tree_model_get ()
void
gtk_tree_model_get_valist ()
void
gtk_tree_model_foreach ()
void
gtk_tree_model_row_changed ()
void
gtk_tree_model_row_inserted ()
void
gtk_tree_model_row_has_child_toggled ()
void
gtk_tree_model_row_deleted ()
void
gtk_tree_model_rows_reordered ()
void
gtk_tree_model_rows_reordered_with_length ()
Signals
void row-changed Run Last
void row-deleted Run First
void row-has-child-toggled Run Last
void row-inserted Run First
void rows-reordered Run First
Types and Values
GtkTreeModel
struct GtkTreeIter
GtkTreePath
GtkTreeRowReference
struct GtkTreeModelIface
enum GtkTreeModelFlags
Object Hierarchy
GBoxed
├── GtkTreeIter
╰── GtkTreePath
GInterface
╰── GtkTreeModel
Prerequisites
GtkTreeModel requires
GObject.
Known Derived Interfaces
GtkTreeModel is required by
GtkTreeSortable.
Known Implementations
GtkTreeModel is implemented by
GtkListStore, GtkTreeModelFilter, GtkTreeModelSort and GtkTreeStore.
Includes #include <gtk/gtk.h>
Description
The GtkTreeModel interface defines a generic tree interface for
use by the GtkTreeView widget. It is an abstract interface, and
is designed to be usable with any appropriate data structure. The
programmer just has to implement this interface on their own data
type for it to be viewable by a GtkTreeView widget.
The model is represented as a hierarchical tree of strongly-typed,
columned data. In other words, the model can be seen as a tree where
every node has different values depending on which column is being
queried. The type of data found in a column is determined by using
the GType system (ie. G_TYPE_INT , GTK_TYPE_BUTTON , G_TYPE_POINTER ,
etc). The types are homogeneous per column across all nodes. It is
important to note that this interface only provides a way of examining
a model and observing changes. The implementation of each individual
model decides how and if changes are made.
In order to make life simpler for programmers who do not need to
write their own specialized model, two generic models are provided
— the GtkTreeStore and the GtkListStore . To use these, the
developer simply pushes data into these models as necessary. These
models provide the data structure as well as all appropriate tree
interfaces. As a result, implementing drag and drop, sorting, and
storing data is trivial. For the vast majority of trees and lists,
these two models are sufficient.
Models are accessed on a node/column level of granularity. One can
query for the value of a model at a certain node and a certain
column on that node. There are two structures used to reference a
particular node in a model. They are the GtkTreePath and
the GtkTreeIter (“iter” is short for iterator). Most of the
interface consists of operations on a GtkTreeIter .
A path is essentially a potential node. It is a location on a model
that may or may not actually correspond to a node on a specific
model. The GtkTreePath can be converted into either an
array of unsigned integers or a string. The string form is a list
of numbers separated by a colon. Each number refers to the offset
at that level. Thus, the path 0 refers to the root
node and the path 2:4 refers to the fifth child of
the third node.
By contrast, a GtkTreeIter is a reference to a specific node on
a specific model. It is a generic struct with an integer and three
generic pointers. These are filled in by the model in a model-specific
way. One can convert a path to an iterator by calling
gtk_tree_model_get_iter() . These iterators are the primary way
of accessing a model and are similar to the iterators used by
GtkTextBuffer . They are generally statically allocated on the
stack and only used for a short time. The model interface defines
a set of operations using them for navigating the model.
It is expected that models fill in the iterator with private data.
For example, the GtkListStore model, which is internally a simple
linked list, stores a list node in one of the pointers. The
GtkTreeModelSort stores an array and an offset in two of the
pointers. Additionally, there is an integer field. This field is
generally filled with a unique stamp per model. This stamp is for
catching errors resulting from using invalid iterators with a model.
The lifecycle of an iterator can be a little confusing at first.
Iterators are expected to always be valid for as long as the model
is unchanged (and doesn’t emit a signal). The model is considered
to own all outstanding iterators and nothing needs to be done to
free them from the user’s point of view. Additionally, some models
guarantee that an iterator is valid for as long as the node it refers
to is valid (most notably the GtkTreeStore and GtkListStore ).
Although generally uninteresting, as one always has to allow for
the case where iterators do not persist beyond a signal, some very
important performance enhancements were made in the sort model.
As a result, the GTK_TREE_MODEL_ITERS_PERSIST flag was added to
indicate this behavior.
To help show some common operation of a model, some examples are
provided. The first example shows three ways of getting the iter at
the location 3:2:5 . While the first method shown is
easier, the second is much more common, as you often get paths from
callbacks.
Acquiring a GtkTreeIter
This second example shows a quick way of iterating through a list
and getting a string and an integer from each row. The
populate_model() function used below is not
shown, as it is specific to the GtkListStore . For information on
how to write such a function, see the GtkListStore documentation.
Reading data from a GtkTreeModel
The GtkTreeModel interface contains two methods for reference
counting: gtk_tree_model_ref_node() and gtk_tree_model_unref_node() .
These two methods are optional to implement. The reference counting
is meant as a way for views to let models know when nodes are being
displayed. GtkTreeView will take a reference on a node when it is
visible, which means the node is either in the toplevel or expanded.
Being displayed does not mean that the node is currently directly
visible to the user in the viewport. Based on this reference counting
scheme a caching model, for example, can decide whether or not to cache
a node based on the reference count. A file-system based model would
not want to keep the entire file hierarchy in memory, but just the
folders that are currently expanded in every current view.
When working with reference counting, the following rules must be taken
into account:
Never take a reference on a node without owning a reference on its parent.
This means that all parent nodes of a referenced node must be referenced
as well.
Outstanding references on a deleted node are not released. This is not
possible because the node has already been deleted by the time the
row-deleted signal is received.
Models are not obligated to emit a signal on rows of which none of its
siblings are referenced. To phrase this differently, signals are only
required for levels in which nodes are referenced. For the root level
however, signals must be emitted at all times (however the root level
is always referenced when any view is attached).
Functions
GtkTreeModelForeachFunc ()
GtkTreeModelForeachFunc
gboolean
( *GtkTreeModelForeachFunc) (GtkTreeModel *model ,
GtkTreePath *path ,
GtkTreeIter *iter ,
gpointer data );
Type of the callback passed to gtk_tree_model_foreach() to
iterate over the rows in a tree model.
Parameters
model
the GtkTreeModel being iterated
path
the current GtkTreePath
iter
the current GtkTreeIter
data
The user data passed to gtk_tree_model_foreach() .
[closure ]
Returns
TRUE to stop iterating, FALSE to continue
gtk_tree_path_new ()
gtk_tree_path_new
GtkTreePath *
gtk_tree_path_new (void );
Creates a new GtkTreePath .
This refers to a row.
Returns
A newly created GtkTreePath .
gtk_tree_path_new_from_string ()
gtk_tree_path_new_from_string
GtkTreePath *
gtk_tree_path_new_from_string (const gchar *path );
Creates a new GtkTreePath initialized to path
.
path
is expected to be a colon separated list of numbers.
For example, the string “10:4:0” would create a path of depth
3 pointing to the 11th child of the root node, the 5th
child of that 11th child, and the 1st child of that 5th child.
If an invalid path string is passed in, NULL is returned.
Parameters
path
The string representation of a path
Returns
A newly-created GtkTreePath , or NULL
gtk_tree_path_new_from_indices ()
gtk_tree_path_new_from_indices
GtkTreePath *
gtk_tree_path_new_from_indices (gint first_index ,
... );
Creates a new path with first_index
and varargs
as indices.
Parameters
first_index
first integer
...
list of integers terminated by -1
Returns
A newly created GtkTreePath
gtk_tree_path_new_from_indicesv ()
gtk_tree_path_new_from_indicesv
GtkTreePath *
gtk_tree_path_new_from_indicesv (gint *indices ,
gsize length );
Creates a new path with the given indices
array of length
.
[rename-to gtk_tree_path_new_from_indices]
Parameters
indices
array of indices.
[array length=length]
length
length of indices
array
Returns
A newly created GtkTreePath
gtk_tree_path_to_string ()
gtk_tree_path_to_string
gchar *
gtk_tree_path_to_string (GtkTreePath *path );
Generates a string representation of the path.
This string is a “:” separated list of numbers.
For example, “4:10:0:3” would be an acceptable
return value for this string.
Parameters
path
A GtkTreePath
Returns
A newly-allocated string.
Must be freed with g_free() .
gtk_tree_path_new_first ()
gtk_tree_path_new_first
GtkTreePath *
gtk_tree_path_new_first (void );
Creates a new GtkTreePath .
The string representation of this path is “0”.
Returns
A new GtkTreePath
gtk_tree_path_append_index ()
gtk_tree_path_append_index
void
gtk_tree_path_append_index (GtkTreePath *path ,
gint index_ );
Appends a new index to a path.
As a result, the depth of the path is increased.
Parameters
path
a GtkTreePath
index_
the index
gtk_tree_path_prepend_index ()
gtk_tree_path_prepend_index
void
gtk_tree_path_prepend_index (GtkTreePath *path ,
gint index_ );
Prepends a new index to a path.
As a result, the depth of the path is increased.
Parameters
path
a GtkTreePath
index_
the index
gtk_tree_path_get_depth ()
gtk_tree_path_get_depth
gint
gtk_tree_path_get_depth (GtkTreePath *path );
Returns the current depth of path
.
Parameters
path
a GtkTreePath
Returns
The depth of path
gtk_tree_path_get_indices ()
gtk_tree_path_get_indices
gint *
gtk_tree_path_get_indices (GtkTreePath *path );
Returns the current indices of path
.
This is an array of integers, each representing a node in a tree.
This value should not be freed.
The length of the array can be obtained with gtk_tree_path_get_depth() .
[skip ]
Parameters
path
a GtkTreePath
Returns
The current indices, or NULL
gtk_tree_path_get_indices_with_depth ()
gtk_tree_path_get_indices_with_depth
gint *
gtk_tree_path_get_indices_with_depth (GtkTreePath *path ,
gint *depth );
Returns the current indices of path
.
This is an array of integers, each representing a node in a tree.
It also returns the number of elements in the array.
The array should not be freed.
[rename-to gtk_tree_path_get_indices]
Parameters
path
a GtkTreePath
depth
return location for number of elements
returned in the integer array, or NULL .
[out ][allow-none ]
Returns
The current
indices, or NULL .
[array length=depth][transfer none ]
gtk_tree_path_free ()
gtk_tree_path_free
void
gtk_tree_path_free (GtkTreePath *path );
Frees path
. If path
is NULL , it simply returns.
Parameters
path
a GtkTreePath .
[allow-none ]
gtk_tree_path_copy ()
gtk_tree_path_copy
GtkTreePath *
gtk_tree_path_copy (const GtkTreePath *path );
Creates a new GtkTreePath as a copy of path
.
Parameters
path
a GtkTreePath
Returns
a new GtkTreePath
gtk_tree_path_compare ()
gtk_tree_path_compare
gint
gtk_tree_path_compare (const GtkTreePath *a ,
const GtkTreePath *b );
Compares two paths.
If a
appears before b
in a tree, then -1 is returned.
If b
appears before a
, then 1 is returned.
If the two nodes are equal, then 0 is returned.
Parameters
a
a GtkTreePath
b
a GtkTreePath to compare with
Returns
the relative positions of a
and b
gtk_tree_path_next ()
gtk_tree_path_next
void
gtk_tree_path_next (GtkTreePath *path );
Moves the path
to point to the next node at the current depth.
Parameters
path
a GtkTreePath
gtk_tree_path_prev ()
gtk_tree_path_prev
gboolean
gtk_tree_path_prev (GtkTreePath *path );
Moves the path
to point to the previous node at the
current depth, if it exists.
Parameters
path
a GtkTreePath
Returns
TRUE if path
has a previous node, and
the move was made
gtk_tree_path_up ()
gtk_tree_path_up
gboolean
gtk_tree_path_up (GtkTreePath *path );
Moves the path
to point to its parent node, if it has a parent.
Parameters
path
a GtkTreePath
Returns
TRUE if path
has a parent, and the move was made
gtk_tree_path_down ()
gtk_tree_path_down
void
gtk_tree_path_down (GtkTreePath *path );
Moves path
to point to the first child of the current path.
Parameters
path
a GtkTreePath
gtk_tree_path_is_ancestor ()
gtk_tree_path_is_ancestor
gboolean
gtk_tree_path_is_ancestor (GtkTreePath *path ,
GtkTreePath *descendant );
Returns TRUE if descendant
is a descendant of path
.
Parameters
path
a GtkTreePath
descendant
another GtkTreePath
Returns
TRUE if descendant
is contained inside path
gtk_tree_path_is_descendant ()
gtk_tree_path_is_descendant
gboolean
gtk_tree_path_is_descendant (GtkTreePath *path ,
GtkTreePath *ancestor );
Returns TRUE if path
is a descendant of ancestor
.
Parameters
path
a GtkTreePath
ancestor
another GtkTreePath
Returns
TRUE if ancestor
contains path
somewhere below it
gtk_tree_row_reference_new ()
gtk_tree_row_reference_new
GtkTreeRowReference *
gtk_tree_row_reference_new (GtkTreeModel *model ,
GtkTreePath *path );
Creates a row reference based on path
.
This reference will keep pointing to the node pointed to
by path
, so long as it exists. Any changes that occur on model
are
propagated, and the path is updated appropriately. If
path
isn’t a valid path in model
, then NULL is returned.
Parameters
model
a GtkTreeModel
path
a valid GtkTreePath to monitor
Returns
a newly allocated GtkTreeRowReference , or NULL
gtk_tree_row_reference_new_proxy ()
gtk_tree_row_reference_new_proxy
GtkTreeRowReference *
gtk_tree_row_reference_new_proxy (GObject *proxy ,
GtkTreeModel *model ,
GtkTreePath *path );
You do not need to use this function.
Creates a row reference based on path
.
This reference will keep pointing to the node pointed to
by path
, so long as it exists. If path
isn’t a valid
path in model
, then NULL is returned. However, unlike
references created with gtk_tree_row_reference_new() , it
does not listen to the model for changes. The creator of
the row reference must do this explicitly using
gtk_tree_row_reference_inserted() , gtk_tree_row_reference_deleted() ,
gtk_tree_row_reference_reordered() .
These functions must be called exactly once per proxy when the
corresponding signal on the model is emitted. This single call
updates all row references for that proxy. Since built-in GTK+
objects like GtkTreeView already use this mechanism internally,
using them as the proxy object will produce unpredictable results.
Further more, passing the same object as model
and proxy
doesn’t work for reasons of internal implementation.
This type of row reference is primarily meant by structures that
need to carefully monitor exactly when a row reference updates
itself, and is not generally needed by most applications.
Parameters
proxy
a proxy GObject
model
a GtkTreeModel
path
a valid GtkTreePath to monitor
Returns
a newly allocated GtkTreeRowReference , or NULL
gtk_tree_row_reference_get_model ()
gtk_tree_row_reference_get_model
GtkTreeModel *
gtk_tree_row_reference_get_model (GtkTreeRowReference *reference );
Returns the model that the row reference is monitoring.
Parameters
reference
a GtkTreeRowReference
Returns
the model.
[transfer none ]
gtk_tree_row_reference_get_path ()
gtk_tree_row_reference_get_path
GtkTreePath *
gtk_tree_row_reference_get_path (GtkTreeRowReference *reference );
Returns a path that the row reference currently points to,
or NULL if the path pointed to is no longer valid.
Parameters
reference
a GtkTreeRowReference
Returns
a current path, or NULL .
[nullable ][transfer full ]
gtk_tree_row_reference_valid ()
gtk_tree_row_reference_valid
gboolean
gtk_tree_row_reference_valid (GtkTreeRowReference *reference );
Returns TRUE if the reference
is non-NULL and refers to
a current valid path.
Parameters
reference
a GtkTreeRowReference , or NULL .
[allow-none ]
Returns
TRUE if reference
points to a valid path
gtk_tree_row_reference_free ()
gtk_tree_row_reference_free
void
gtk_tree_row_reference_free (GtkTreeRowReference *reference );
Free’s reference
. reference
may be NULL
Parameters
reference
a GtkTreeRowReference , or NULL .
[allow-none ]
gtk_tree_row_reference_copy ()
gtk_tree_row_reference_copy
GtkTreeRowReference *
gtk_tree_row_reference_copy (GtkTreeRowReference *reference );
Copies a GtkTreeRowReference .
Parameters
reference
a GtkTreeRowReference
Returns
a copy of reference
gtk_tree_row_reference_inserted ()
gtk_tree_row_reference_inserted
void
gtk_tree_row_reference_inserted (GObject *proxy ,
GtkTreePath *path );
Lets a set of row reference created by
gtk_tree_row_reference_new_proxy() know that the
model emitted the “row-inserted” signal.
Parameters
proxy
a GObject
path
the row position that was inserted
gtk_tree_row_reference_deleted ()
gtk_tree_row_reference_deleted
void
gtk_tree_row_reference_deleted (GObject *proxy ,
GtkTreePath *path );
Lets a set of row reference created by
gtk_tree_row_reference_new_proxy() know that the
model emitted the “row-deleted” signal.
Parameters
proxy
a GObject
path
the path position that was deleted
gtk_tree_row_reference_reordered ()
gtk_tree_row_reference_reordered
void
gtk_tree_row_reference_reordered (GObject *proxy ,
GtkTreePath *path ,
GtkTreeIter *iter ,
gint *new_order );
Lets a set of row reference created by
gtk_tree_row_reference_new_proxy() know that the
model emitted the “rows-reordered” signal.
[skip ]
Parameters
proxy
a GObject
path
the parent path of the reordered signal
iter
the iter pointing to the parent of the reordered
new_order
the new order of rows.
[array ]
gtk_tree_iter_copy ()
gtk_tree_iter_copy
GtkTreeIter *
gtk_tree_iter_copy (GtkTreeIter *iter );
Creates a dynamically allocated tree iterator as a copy of iter
.
This function is not intended for use in applications,
because you can just copy the structs by value
(GtkTreeIter new_iter = iter; ).
You must free this iter with gtk_tree_iter_free() .
Parameters
iter
a GtkTreeIter
Returns
a newly-allocated copy of iter
gtk_tree_iter_free ()
gtk_tree_iter_free
void
gtk_tree_iter_free (GtkTreeIter *iter );
Frees an iterator that has been allocated by gtk_tree_iter_copy() .
This function is mainly used for language bindings.
Parameters
iter
a dynamically allocated tree iterator
gtk_tree_model_get_flags ()
gtk_tree_model_get_flags
GtkTreeModelFlags
gtk_tree_model_get_flags (GtkTreeModel *tree_model );
Returns a set of flags supported by this interface.
The flags are a bitwise combination of GtkTreeModelFlags .
The flags supported should not change during the lifetime
of the tree_model
.
Parameters
tree_model
a GtkTreeModel
Returns
the flags supported by this interface
gtk_tree_model_get_n_columns ()
gtk_tree_model_get_n_columns
gint
gtk_tree_model_get_n_columns (GtkTreeModel *tree_model );
Returns the number of columns supported by tree_model
.
Parameters
tree_model
a GtkTreeModel
Returns
the number of columns
gtk_tree_model_get_column_type ()
gtk_tree_model_get_column_type
GType
gtk_tree_model_get_column_type (GtkTreeModel *tree_model ,
gint index_ );
Returns the type of the column.
Parameters
tree_model
a GtkTreeModel
index_
the column index
Returns
the type of the column
gtk_tree_model_get_iter ()
gtk_tree_model_get_iter
gboolean
gtk_tree_model_get_iter (GtkTreeModel *tree_model ,
GtkTreeIter *iter ,
GtkTreePath *path );
Sets iter
to a valid iterator pointing to path
. If path
does
not exist, iter
is set to an invalid iterator and FALSE is returned.
Parameters
tree_model
a GtkTreeModel
iter
the uninitialized GtkTreeIter .
[out ]
path
the GtkTreePath
Returns
TRUE , if iter
was set
gtk_tree_model_get_iter_from_string ()
gtk_tree_model_get_iter_from_string
gboolean
gtk_tree_model_get_iter_from_string (GtkTreeModel *tree_model ,
GtkTreeIter *iter ,
const gchar *path_string );
Sets iter
to a valid iterator pointing to path_string
, if it
exists. Otherwise, iter
is left invalid and FALSE is returned.
Parameters
tree_model
a GtkTreeModel
iter
an uninitialized GtkTreeIter .
[out ]
path_string
a string representation of a GtkTreePath
Returns
TRUE , if iter
was set
gtk_tree_model_get_iter_first ()
gtk_tree_model_get_iter_first
gboolean
gtk_tree_model_get_iter_first (GtkTreeModel *tree_model ,
GtkTreeIter *iter );
Initializes iter
with the first iterator in the tree
(the one at the path "0") and returns TRUE . Returns
FALSE if the tree is empty.
Parameters
tree_model
a GtkTreeModel
iter
the uninitialized GtkTreeIter .
[out ]
Returns
TRUE , if iter
was set
gtk_tree_model_get_path ()
gtk_tree_model_get_path
GtkTreePath *
gtk_tree_model_get_path (GtkTreeModel *tree_model ,
GtkTreeIter *iter );
Returns a newly-created GtkTreePath referenced by iter
.
This path should be freed with gtk_tree_path_free() .
Parameters
tree_model
a GtkTreeModel
iter
the GtkTreeIter
Returns
a newly-created GtkTreePath
gtk_tree_model_get_value ()
gtk_tree_model_get_value
void
gtk_tree_model_get_value (GtkTreeModel *tree_model ,
GtkTreeIter *iter ,
gint column ,
GValue *value );
Initializes and sets value
to that at column
.
When done with value
, g_value_unset() needs to be called
to free any allocated memory.
Parameters
tree_model
a GtkTreeModel
iter
the GtkTreeIter
column
the column to lookup the value at
value
an empty GValue to set.
[out ][transfer none ]
gtk_tree_model_iter_next ()
gtk_tree_model_iter_next
gboolean
gtk_tree_model_iter_next (GtkTreeModel *tree_model ,
GtkTreeIter *iter );
Sets iter
to point to the node following it at the current level.
If there is no next iter
, FALSE is returned and iter
is set
to be invalid.
Parameters
tree_model
a GtkTreeModel
iter
the GtkTreeIter .
[in ]
Returns
TRUE if iter
has been changed to the next node
gtk_tree_model_iter_previous ()
gtk_tree_model_iter_previous
gboolean
gtk_tree_model_iter_previous (GtkTreeModel *tree_model ,
GtkTreeIter *iter );
Sets iter
to point to the previous node at the current level.
If there is no previous iter
, FALSE is returned and iter
is
set to be invalid.
Parameters
tree_model
a GtkTreeModel
iter
the GtkTreeIter .
[in ]
Returns
TRUE if iter
has been changed to the previous node
gtk_tree_model_iter_children ()
gtk_tree_model_iter_children
gboolean
gtk_tree_model_iter_children (GtkTreeModel *tree_model ,
GtkTreeIter *iter ,
GtkTreeIter *parent );
Sets iter
to point to the first child of parent
.
If parent
has no children, FALSE is returned and iter
is
set to be invalid. parent
will remain a valid node after this
function has been called.
If parent
is NULL returns the first node, equivalent to
gtk_tree_model_get_iter_first (tree_model, iter);
Parameters
tree_model
a GtkTreeModel
iter
the new GtkTreeIter to be set to the child.
[out ]
parent
the GtkTreeIter , or NULL .
[allow-none ]
Returns
TRUE , if iter
has been set to the first child
gtk_tree_model_iter_has_child ()
gtk_tree_model_iter_has_child
gboolean
gtk_tree_model_iter_has_child (GtkTreeModel *tree_model ,
GtkTreeIter *iter );
Returns TRUE if iter
has children, FALSE otherwise.
Parameters
tree_model
a GtkTreeModel
iter
the GtkTreeIter to test for children
Returns
TRUE if iter
has children
gtk_tree_model_iter_n_children ()
gtk_tree_model_iter_n_children
gint
gtk_tree_model_iter_n_children (GtkTreeModel *tree_model ,
GtkTreeIter *iter );
Returns the number of children that iter
has.
As a special case, if iter
is NULL , then the number
of toplevel nodes is returned.
Parameters
tree_model
a GtkTreeModel
iter
the GtkTreeIter , or NULL .
[allow-none ]
Returns
the number of children of iter
gtk_tree_model_iter_nth_child ()
gtk_tree_model_iter_nth_child
gboolean
gtk_tree_model_iter_nth_child (GtkTreeModel *tree_model ,
GtkTreeIter *iter ,
GtkTreeIter *parent ,
gint n );
Sets iter
to be the child of parent
, using the given index.
The first index is 0. If n
is too big, or parent
has no children,
iter
is set to an invalid iterator and FALSE is returned. parent
will remain a valid node after this function has been called. As a
special case, if parent
is NULL , then the n
-th root node
is set.
Parameters
tree_model
a GtkTreeModel
iter
the GtkTreeIter to set to the nth child.
[out ]
parent
the GtkTreeIter to get the child from, or NULL .
[allow-none ]
n
the index of the desired child
Returns
TRUE , if parent
has an n
-th child
gtk_tree_model_iter_parent ()
gtk_tree_model_iter_parent
gboolean
gtk_tree_model_iter_parent (GtkTreeModel *tree_model ,
GtkTreeIter *iter ,
GtkTreeIter *child );
Sets iter
to be the parent of child
.
If child
is at the toplevel, and doesn’t have a parent, then
iter
is set to an invalid iterator and FALSE is returned.
child
will remain a valid node after this function has been
called.
iter
will be initialized before the lookup is performed, so child
and iter
cannot point to the same memory location.
Parameters
tree_model
a GtkTreeModel
iter
the new GtkTreeIter to set to the parent.
[out ]
child
the GtkTreeIter
Returns
TRUE , if iter
is set to the parent of child
gtk_tree_model_get_string_from_iter ()
gtk_tree_model_get_string_from_iter
gchar *
gtk_tree_model_get_string_from_iter (GtkTreeModel *tree_model ,
GtkTreeIter *iter );
Generates a string representation of the iter.
This string is a “:” separated list of numbers.
For example, “4:10:0:3” would be an acceptable
return value for this string.
Parameters
tree_model
a GtkTreeModel
iter
a GtkTreeIter
Returns
a newly-allocated string.
Must be freed with g_free() .
gtk_tree_model_ref_node ()
gtk_tree_model_ref_node
void
gtk_tree_model_ref_node (GtkTreeModel *tree_model ,
GtkTreeIter *iter );
Lets the tree ref the node.
This is an optional method for models to implement.
To be more specific, models may ignore this call as it exists
primarily for performance reasons.
This function is primarily meant as a way for views to let
caching models know when nodes are being displayed (and hence,
whether or not to cache that node). Being displayed means a node
is in an expanded branch, regardless of whether the node is currently
visible in the viewport. For example, a file-system based model
would not want to keep the entire file-hierarchy in memory,
just the sections that are currently being displayed by
every current view.
A model should be expected to be able to get an iter independent
of its reffed state.
Parameters
tree_model
a GtkTreeModel
iter
the GtkTreeIter
gtk_tree_model_unref_node ()
gtk_tree_model_unref_node
void
gtk_tree_model_unref_node (GtkTreeModel *tree_model ,
GtkTreeIter *iter );
Lets the tree unref the node.
This is an optional method for models to implement.
To be more specific, models may ignore this call as it exists
primarily for performance reasons. For more information on what
this means, see gtk_tree_model_ref_node() .
Please note that nodes that are deleted are not unreffed.
Parameters
tree_model
a GtkTreeModel
iter
the GtkTreeIter
gtk_tree_model_get ()
gtk_tree_model_get
void
gtk_tree_model_get (GtkTreeModel *tree_model ,
GtkTreeIter *iter ,
... );
Gets the value of one or more cells in the row referenced by iter
.
The variable argument list should contain integer column numbers,
each column number followed by a place to store the value being
retrieved. The list is terminated by a -1. For example, to get a
value from column 0 with type G_TYPE_STRING , you would
write: gtk_tree_model_get (model, iter, 0, &place_string_here, -1) ,
where place_string_here is a gchararray
to be filled with the string.
Returned values with type G_TYPE_OBJECT have to be unreferenced,
values with type G_TYPE_STRING or G_TYPE_BOXED have to be freed.
Other values are passed by value.
Parameters
tree_model
a GtkTreeModel
iter
a row in tree_model
...
pairs of column number and value return locations,
terminated by -1
gtk_tree_model_get_valist ()
gtk_tree_model_get_valist
void
gtk_tree_model_get_valist (GtkTreeModel *tree_model ,
GtkTreeIter *iter ,
va_list var_args );
See gtk_tree_model_get() , this version takes a va_list
for language bindings to use.
Parameters
tree_model
a GtkTreeModel
iter
a row in tree_model
var_args
va_list of column/return location pairs
gtk_tree_model_foreach ()
gtk_tree_model_foreach
void
gtk_tree_model_foreach (GtkTreeModel *model ,
GtkTreeModelForeachFunc func ,
gpointer user_data );
Calls func on each node in model in a depth-first fashion.
If func
returns TRUE , then the tree ceases to be walked,
and gtk_tree_model_foreach() returns.
Parameters
model
a GtkTreeModel
func
a function to be called on each row.
[scope call ]
user_data
user data to passed to func
.
[closure ]
gtk_tree_model_row_changed ()
gtk_tree_model_row_changed
void
gtk_tree_model_row_changed (GtkTreeModel *tree_model ,
GtkTreePath *path ,
GtkTreeIter *iter );
Emits the “row-changed” signal on tree_model
.
Parameters
tree_model
a GtkTreeModel
path
a GtkTreePath pointing to the changed row
iter
a valid GtkTreeIter pointing to the changed row
gtk_tree_model_row_inserted ()
gtk_tree_model_row_inserted
void
gtk_tree_model_row_inserted (GtkTreeModel *tree_model ,
GtkTreePath *path ,
GtkTreeIter *iter );
Emits the “row-inserted” signal on tree_model
.
Parameters
tree_model
a GtkTreeModel
path
a GtkTreePath pointing to the inserted row
iter
a valid GtkTreeIter pointing to the inserted row
gtk_tree_model_row_has_child_toggled ()
gtk_tree_model_row_has_child_toggled
void
gtk_tree_model_row_has_child_toggled (GtkTreeModel *tree_model ,
GtkTreePath *path ,
GtkTreeIter *iter );
Emits the “row-has-child-toggled” signal on
tree_model
. This should be called by models after the child
state of a node changes.
Parameters
tree_model
a GtkTreeModel
path
a GtkTreePath pointing to the changed row
iter
a valid GtkTreeIter pointing to the changed row
gtk_tree_model_row_deleted ()
gtk_tree_model_row_deleted
void
gtk_tree_model_row_deleted (GtkTreeModel *tree_model ,
GtkTreePath *path );
Emits the “row-deleted” signal on tree_model
.
This should be called by models after a row has been removed.
The location pointed to by path
should be the location that
the row previously was at. It may not be a valid location anymore.
Nodes that are deleted are not unreffed, this means that any
outstanding references on the deleted node should not be released.
Parameters
tree_model
a GtkTreeModel
path
a GtkTreePath pointing to the previous location of
the deleted row
gtk_tree_model_rows_reordered ()
gtk_tree_model_rows_reordered
void
gtk_tree_model_rows_reordered (GtkTreeModel *tree_model ,
GtkTreePath *path ,
GtkTreeIter *iter ,
gint *new_order );
Emits the “rows-reordered” signal on tree_model
.
This should be called by models when their rows have been
reordered.
[skip ]
Parameters
tree_model
a GtkTreeModel
path
a GtkTreePath pointing to the tree node whose children
have been reordered
iter
a valid GtkTreeIter pointing to the node whose children
have been reordered, or NULL if the depth of path
is 0
new_order
an array of integers mapping the current position of
each child to its old position before the re-ordering,
i.e. new_order
[newpos] = oldpos
gtk_tree_model_rows_reordered_with_length ()
gtk_tree_model_rows_reordered_with_length
void
gtk_tree_model_rows_reordered_with_length
(GtkTreeModel *tree_model ,
GtkTreePath *path ,
GtkTreeIter *iter ,
gint *new_order ,
gint length );
Emits the “rows-reordered” signal on tree_model
.
This should be called by models when their rows have been
reordered.
[rename-to gtk_tree_model_rows_reordered]
Parameters
tree_model
a GtkTreeModel
path
a GtkTreePath pointing to the tree node whose children
have been reordered
iter
a valid GtkTreeIter pointing to the node
whose children have been reordered, or NULL if the depth
of path
is 0.
[allow-none ]
new_order
an array of integers
mapping the current position of each child to its old
position before the re-ordering,
i.e. new_order
[newpos] = oldpos .
[array length=length]
length
length of new_order
array
Signal Details
The “row-changed” signal
GtkTreeModel::row-changed
void
user_function (GtkTreeModel *tree_model,
GtkTreePath *path,
GtkTreeIter *iter,
gpointer user_data)
This signal is emitted when a row in the model has changed.
Parameters
tree_model
the GtkTreeModel on which the signal is emitted
path
a GtkTreePath identifying the changed row
iter
a valid GtkTreeIter pointing to the changed row
user_data
user data set when the signal handler was connected.
Flags: Run Last
The “row-deleted” signal
GtkTreeModel::row-deleted
void
user_function (GtkTreeModel *tree_model,
GtkTreePath *path,
gpointer user_data)
This signal is emitted when a row has been deleted.
Note that no iterator is passed to the signal handler,
since the row is already deleted.
This should be called by models after a row has been removed.
The location pointed to by path
should be the location that
the row previously was at. It may not be a valid location anymore.
Parameters
tree_model
the GtkTreeModel on which the signal is emitted
path
a GtkTreePath identifying the row
user_data
user data set when the signal handler was connected.
Flags: Run First
The “row-has-child-toggled” signal
GtkTreeModel::row-has-child-toggled
void
user_function (GtkTreeModel *tree_model,
GtkTreePath *path,
GtkTreeIter *iter,
gpointer user_data)
This signal is emitted when a row has gotten the first child
row or lost its last child row.
Parameters
tree_model
the GtkTreeModel on which the signal is emitted
path
a GtkTreePath identifying the row
iter
a valid GtkTreeIter pointing to the row
user_data
user data set when the signal handler was connected.
Flags: Run Last
The “row-inserted” signal
GtkTreeModel::row-inserted
void
user_function (GtkTreeModel *tree_model,
GtkTreePath *path,
GtkTreeIter *iter,
gpointer user_data)
This signal is emitted when a new row has been inserted in
the model.
Note that the row may still be empty at this point, since
it is a common pattern to first insert an empty row, and
then fill it with the desired values.
Parameters
tree_model
the GtkTreeModel on which the signal is emitted
path
a GtkTreePath identifying the new row
iter
a valid GtkTreeIter pointing to the new row
user_data
user data set when the signal handler was connected.
Flags: Run First
The “rows-reordered” signal
GtkTreeModel::rows-reordered
void
user_function (GtkTreeModel *tree_model,
GtkTreePath *path,
GtkTreeIter *iter,
gpointer new_order,
gpointer user_data)
This signal is emitted when the children of a node in the
GtkTreeModel have been reordered.
Note that this signal is not emitted
when rows are reordered by DND, since this is implemented
by removing and then reinserting the row.
[skip ]
Parameters
tree_model
the GtkTreeModel on which the signal is emitted
path
a GtkTreePath identifying the tree node whose children
have been reordered
iter
a valid GtkTreeIter pointing to the node whose children
have been reordered, or NULL if the depth of path
is 0
new_order
an array of integers mapping the current position
of each child to its old position before the re-ordering,
i.e. new_order
[newpos] = oldpos
user_data
user data set when the signal handler was connected.
Flags: Run First
See Also
GtkTreeView , GtkTreeStore , GtkListStore ,
GtkTreeView drag-and-drop
GtkTreeSortable
docs/reference/gtk/xml/gtkbin.xml 0000664 0001750 0001750 00000015303 13617646201 017171 0 ustar mclasen mclasen
]>
GtkBin
3
GTK4 Library
GtkBin
A container with just one child
Functions
GtkWidget *
gtk_bin_get_child ()
Types and Values
struct GtkBin
struct GtkBinClass
Object Hierarchy
GObject
╰── GInitiallyUnowned
╰── GtkWidget
╰── GtkContainer
╰── GtkBin
├── GtkWindow
├── GtkFrame
├── GtkButton
├── GtkComboBox
├── GtkPopover
├── GtkFlowBoxChild
├── GtkListBoxRow
├── GtkOverlay
├── GtkRevealer
├── GtkScrolledWindow
├── GtkSearchBar
╰── GtkViewport
Implemented Interfaces
GtkBin implements
AtkImplementorIface, GtkBuildable and GtkConstraintTarget.
Includes #include <gtk/gtk.h>
Description
The GtkBin widget is a container with just one child.
It is not very useful itself, but it is useful for deriving subclasses,
since it provides common code needed for handling a single child widget.
Many GTK+ widgets are subclasses of GtkBin , including GtkWindow ,
GtkButton , GtkFrame or GtkScrolledWindow .
Functions
gtk_bin_get_child ()
gtk_bin_get_child
GtkWidget *
gtk_bin_get_child (GtkBin *bin );
Gets the child of the GtkBin , or NULL if the bin contains
no child widget. The returned widget does not have a reference
added, so you do not need to unref it.
Parameters
bin
a GtkBin
Returns
the child of bin
, or NULL if it does
not have a child.
[transfer none ][nullable ]
docs/reference/gtk/xml/gtktreemodelsort.xml 0000664 0001750 0001750 00000072452 13617646203 021323 0 ustar mclasen mclasen
]>
GtkTreeModelSort
3
GTK4 Library
GtkTreeModelSort
A GtkTreeModel which makes an underlying tree model sortable
Functions
GtkTreeModel *
gtk_tree_model_sort_new_with_model ()
GtkTreeModel *
gtk_tree_model_sort_get_model ()
GtkTreePath *
gtk_tree_model_sort_convert_child_path_to_path ()
gboolean
gtk_tree_model_sort_convert_child_iter_to_iter ()
GtkTreePath *
gtk_tree_model_sort_convert_path_to_child_path ()
void
gtk_tree_model_sort_convert_iter_to_child_iter ()
void
gtk_tree_model_sort_reset_default_sort_func ()
void
gtk_tree_model_sort_clear_cache ()
gboolean
gtk_tree_model_sort_iter_is_valid ()
Properties
GtkTreeModel * modelRead / Write / Construct Only
Types and Values
struct GtkTreeModelSort
Object Hierarchy
GObject
╰── GtkTreeModelSort
Implemented Interfaces
GtkTreeModelSort implements
GtkTreeModel, GtkTreeSortable and GtkTreeDragSource.
Includes #include <gtk/gtk.h>
Description
The GtkTreeModelSort is a model which implements the GtkTreeSortable
interface. It does not hold any data itself, but rather is created with
a child model and proxies its data. It has identical column types to
this child model, and the changes in the child are propagated. The
primary purpose of this model is to provide a way to sort a different
model without modifying it. Note that the sort function used by
GtkTreeModelSort is not guaranteed to be stable.
The use of this is best demonstrated through an example. In the
following sample code we create two GtkTreeView widgets each with a
view of the same data. As the model is wrapped here by a
GtkTreeModelSort , the two GtkTreeViews can each sort their
view of the data without affecting the other. By contrast, if we
simply put the same model in each widget, then sorting the first would
sort the second.
Using a GtkTreeModelSort
To demonstrate how to access the underlying child model from the sort
model, the next example will be a callback for the GtkTreeSelection
“changed” signal. In this callback, we get a string
from COLUMN_1 of the model. We then modify the string, find the same
selected row on the child model, and change the row there.
Accessing the child model of in a selection changed callback
Functions
gtk_tree_model_sort_new_with_model ()
gtk_tree_model_sort_new_with_model
GtkTreeModel *
gtk_tree_model_sort_new_with_model (GtkTreeModel *child_model );
Creates a new GtkTreeModelSort , with child_model
as the child model.
[constructor ]
Parameters
child_model
A GtkTreeModel
Returns
A new GtkTreeModelSort .
[transfer full ][type Gtk.TreeModelSort]
gtk_tree_model_sort_get_model ()
gtk_tree_model_sort_get_model
GtkTreeModel *
gtk_tree_model_sort_get_model (GtkTreeModelSort *tree_model );
Returns the model the GtkTreeModelSort is sorting.
Parameters
tree_model
a GtkTreeModelSort
Returns
the "child model" being sorted.
[transfer none ]
gtk_tree_model_sort_convert_child_path_to_path ()
gtk_tree_model_sort_convert_child_path_to_path
GtkTreePath *
gtk_tree_model_sort_convert_child_path_to_path
(GtkTreeModelSort *tree_model_sort ,
GtkTreePath *child_path );
Converts child_path
to a path relative to tree_model_sort
. That is,
child_path
points to a path in the child model. The returned path will
point to the same row in the sorted model. If child_path
isn’t a valid
path on the child model, then NULL is returned.
Parameters
tree_model_sort
A GtkTreeModelSort
child_path
A GtkTreePath to convert
Returns
A newly allocated GtkTreePath , or NULL .
[nullable ][transfer full ]
gtk_tree_model_sort_convert_child_iter_to_iter ()
gtk_tree_model_sort_convert_child_iter_to_iter
gboolean
gtk_tree_model_sort_convert_child_iter_to_iter
(GtkTreeModelSort *tree_model_sort ,
GtkTreeIter *sort_iter ,
GtkTreeIter *child_iter );
Sets sort_iter
to point to the row in tree_model_sort
that corresponds to
the row pointed at by child_iter
. If sort_iter
was not set, FALSE
is returned. Note: a boolean is only returned since 2.14.
Parameters
tree_model_sort
A GtkTreeModelSort
sort_iter
An uninitialized GtkTreeIter .
[out ]
child_iter
A valid GtkTreeIter pointing to a row on the child model
Returns
TRUE , if sort_iter
was set, i.e. if sort_iter
is a
valid iterator pointer to a visible row in the child model.
gtk_tree_model_sort_convert_path_to_child_path ()
gtk_tree_model_sort_convert_path_to_child_path
GtkTreePath *
gtk_tree_model_sort_convert_path_to_child_path
(GtkTreeModelSort *tree_model_sort ,
GtkTreePath *sorted_path );
Converts sorted_path
to a path on the child model of tree_model_sort
.
That is, sorted_path
points to a location in tree_model_sort
. The
returned path will point to the same location in the model not being
sorted. If sorted_path
does not point to a location in the child model,
NULL is returned.
Parameters
tree_model_sort
A GtkTreeModelSort
sorted_path
A GtkTreePath to convert
Returns
A newly allocated GtkTreePath , or NULL .
[nullable ][transfer full ]
gtk_tree_model_sort_convert_iter_to_child_iter ()
gtk_tree_model_sort_convert_iter_to_child_iter
void
gtk_tree_model_sort_convert_iter_to_child_iter
(GtkTreeModelSort *tree_model_sort ,
GtkTreeIter *child_iter ,
GtkTreeIter *sorted_iter );
Sets child_iter
to point to the row pointed to by sorted_iter
.
Parameters
tree_model_sort
A GtkTreeModelSort
child_iter
An uninitialized GtkTreeIter .
[out ]
sorted_iter
A valid GtkTreeIter pointing to a row on tree_model_sort
.
gtk_tree_model_sort_reset_default_sort_func ()
gtk_tree_model_sort_reset_default_sort_func
void
gtk_tree_model_sort_reset_default_sort_func
(GtkTreeModelSort *tree_model_sort );
This resets the default sort function to be in the “unsorted” state. That
is, it is in the same order as the child model. It will re-sort the model
to be in the same order as the child model only if the GtkTreeModelSort
is in “unsorted” state.
Parameters
tree_model_sort
A GtkTreeModelSort
gtk_tree_model_sort_clear_cache ()
gtk_tree_model_sort_clear_cache
void
gtk_tree_model_sort_clear_cache (GtkTreeModelSort *tree_model_sort );
This function should almost never be called. It clears the tree_model_sort
of any cached iterators that haven’t been reffed with
gtk_tree_model_ref_node() . This might be useful if the child model being
sorted is static (and doesn’t change often) and there has been a lot of
unreffed access to nodes. As a side effect of this function, all unreffed
iters will be invalid.
Parameters
tree_model_sort
A GtkTreeModelSort
gtk_tree_model_sort_iter_is_valid ()
gtk_tree_model_sort_iter_is_valid
gboolean
gtk_tree_model_sort_iter_is_valid (GtkTreeModelSort *tree_model_sort ,
GtkTreeIter *iter );
This function is slow. Only use it for debugging and/or testing
purposes.
Checks if the given iter is a valid iter for this GtkTreeModelSort .
Parameters
tree_model_sort
A GtkTreeModelSort .
iter
A GtkTreeIter .
Returns
TRUE if the iter is valid, FALSE if the iter is invalid.
Property Details
The “model” property
GtkTreeModelSort:model
“model” GtkTreeModel *
The model for the TreeModelSort to sort. Owner: GtkTreeModelSort
Flags: Read / Write / Construct Only
See Also
GtkTreeModel , GtkListStore , GtkTreeStore , GtkTreeSortable , GtkTreeModelFilter
docs/reference/gtk/xml/gtkbox.xml 0000664 0001750 0001750 00000061377 13617646201 017225 0 ustar mclasen mclasen
]>
GtkBox
3
GTK4 Library
GtkBox
A container for packing widgets in a single row or column
Functions
GtkWidget *
gtk_box_new ()
gboolean
gtk_box_get_homogeneous ()
void
gtk_box_set_homogeneous ()
gint
gtk_box_get_spacing ()
void
gtk_box_set_spacing ()
GtkBaselinePosition
gtk_box_get_baseline_position ()
void
gtk_box_set_baseline_position ()
void
gtk_box_insert_child_after ()
void
gtk_box_reorder_child_after ()
Properties
GtkBaselinePosition baseline-positionRead / Write
gboolean homogeneousRead / Write
gint spacingRead / Write
Types and Values
struct GtkBox
struct GtkBoxClass
Object Hierarchy
GObject
╰── GInitiallyUnowned
╰── GtkWidget
╰── GtkContainer
╰── GtkBox
├── GtkShortcutsSection
╰── GtkShortcutsGroup
Implemented Interfaces
GtkBox implements
AtkImplementorIface, GtkBuildable, GtkConstraintTarget and GtkOrientable.
Includes #include <gtk/gtk.h>
Description
The GtkBox widget arranges child widgets into a single row or column,
depending upon the value of its “orientation” property. Within
the other dimension, all children are allocated the same size. Of course,
the “halign” and “valign” properties can be used on
the children to influence their allocation.
Use repeated calls to gtk_container_add() to pack widgets into a
GtkBox from start to end. Use gtk_container_remove() to remove widgets
from the GtkBox. gtk_box_insert_child_after() can be used to add a child
at a particular position.
Use gtk_box_set_homogeneous() to specify whether or not all children
of the GtkBox are forced to get the same amount of space.
Use gtk_box_set_spacing() to determine how much space will be
minimally placed between all children in the GtkBox. Note that
spacing is added between the children.
Use gtk_box_reorder_child_after() to move a child to a different
place in the box.
CSS nodes GtkBox uses a single CSS node with name box.
Functions
gtk_box_new ()
gtk_box_new
GtkWidget *
gtk_box_new (GtkOrientation orientation ,
gint spacing );
Creates a new GtkBox .
Parameters
orientation
the box’s orientation.
spacing
the number of pixels to place by default between children.
Returns
a new GtkBox .
gtk_box_get_homogeneous ()
gtk_box_get_homogeneous
gboolean
gtk_box_get_homogeneous (GtkBox *box );
Returns whether the box is homogeneous (all children are the
same size). See gtk_box_set_homogeneous() .
Parameters
box
a GtkBox
Returns
TRUE if the box is homogeneous.
gtk_box_set_homogeneous ()
gtk_box_set_homogeneous
void
gtk_box_set_homogeneous (GtkBox *box ,
gboolean homogeneous );
Sets the “homogeneous” property of box
, controlling
whether or not all children of box
are given equal space
in the box.
Parameters
box
a GtkBox
homogeneous
a boolean value, TRUE to create equal allotments,
FALSE for variable allotments
gtk_box_get_spacing ()
gtk_box_get_spacing
gint
gtk_box_get_spacing (GtkBox *box );
Gets the value set by gtk_box_set_spacing() .
Parameters
box
a GtkBox
Returns
spacing between children
gtk_box_set_spacing ()
gtk_box_set_spacing
void
gtk_box_set_spacing (GtkBox *box ,
gint spacing );
Sets the “spacing” property of box
, which is the
number of pixels to place between children of box
.
Parameters
box
a GtkBox
spacing
the number of pixels to put between children
gtk_box_get_baseline_position ()
gtk_box_get_baseline_position
GtkBaselinePosition
gtk_box_get_baseline_position (GtkBox *box );
Gets the value set by gtk_box_set_baseline_position() .
Parameters
box
a GtkBox
Returns
the baseline position
gtk_box_set_baseline_position ()
gtk_box_set_baseline_position
void
gtk_box_set_baseline_position (GtkBox *box ,
GtkBaselinePosition position );
Sets the baseline position of a box. This affects
only horizontal boxes with at least one baseline aligned
child. If there is more vertical space available than requested,
and the baseline is not allocated by the parent then
position
is used to allocate the baseline wrt the
extra space available.
Parameters
box
a GtkBox
position
a GtkBaselinePosition
gtk_box_insert_child_after ()
gtk_box_insert_child_after
void
gtk_box_insert_child_after (GtkBox *box ,
GtkWidget *child ,
GtkWidget *sibling );
Inserts child
in the position after sibling
in the list
of box
children. If sibling
is NULL , insert child
at
the first position.
Parameters
box
a GtkBox
child
the GtkWidget to insert
sibling
the sibling to move child
after, or NULL .
[nullable ]
gtk_box_reorder_child_after ()
gtk_box_reorder_child_after
void
gtk_box_reorder_child_after (GtkBox *box ,
GtkWidget *child ,
GtkWidget *sibling );
Moves child
to the position after sibling
in the list
of box
children. If sibling
is NULL , move child
to
the first position.
Parameters
box
a GtkBox
child
the GtkWidget to move, must be a child of box
sibling
the sibling to move child
after, or NULL .
[nullable ]
Property Details
The “baseline-position” property
GtkBox:baseline-position
“baseline-position” GtkBaselinePosition
The position of the baseline aligned widgets if extra space is available. Owner: GtkBox
Flags: Read / Write
Default value: GTK_BASELINE_POSITION_CENTER
The “homogeneous” property
GtkBox:homogeneous
“homogeneous” gboolean
Whether the children should all be the same size. Owner: GtkBox
Flags: Read / Write
Default value: FALSE
The “spacing” property
GtkBox:spacing
“spacing” gint
The amount of space between children. Owner: GtkBox
Flags: Read / Write
Allowed values: >= 0
Default value: 0
See Also
GtkGrid
docs/reference/gtk/xml/gtktreeselection.xml 0000664 0001750 0001750 00000160640 13617646203 021275 0 ustar mclasen mclasen
]>
GtkTreeSelection
3
GTK4 Library
GtkTreeSelection
The selection object for GtkTreeView
Functions
gboolean
( *GtkTreeSelectionFunc) ()
void
( *GtkTreeSelectionForeachFunc) ()
void
gtk_tree_selection_set_mode ()
GtkSelectionMode
gtk_tree_selection_get_mode ()
void
gtk_tree_selection_set_select_function ()
GtkTreeSelectionFunc
gtk_tree_selection_get_select_function ()
gpointer
gtk_tree_selection_get_user_data ()
GtkTreeView *
gtk_tree_selection_get_tree_view ()
gboolean
gtk_tree_selection_get_selected ()
void
gtk_tree_selection_selected_foreach ()
GList *
gtk_tree_selection_get_selected_rows ()
gint
gtk_tree_selection_count_selected_rows ()
void
gtk_tree_selection_select_path ()
void
gtk_tree_selection_unselect_path ()
gboolean
gtk_tree_selection_path_is_selected ()
void
gtk_tree_selection_select_iter ()
void
gtk_tree_selection_unselect_iter ()
gboolean
gtk_tree_selection_iter_is_selected ()
void
gtk_tree_selection_select_all ()
void
gtk_tree_selection_unselect_all ()
void
gtk_tree_selection_select_range ()
void
gtk_tree_selection_unselect_range ()
Properties
GtkSelectionMode modeRead / Write
Signals
void changed Run First
Types and Values
GtkTreeSelection
Object Hierarchy
GObject
╰── GtkTreeSelection
Includes #include <gtk/gtk.h>
Description
The GtkTreeSelection object is a helper object to manage the selection
for a GtkTreeView widget. The GtkTreeSelection object is
automatically created when a new GtkTreeView widget is created, and
cannot exist independently of this widget. The primary reason the
GtkTreeSelection objects exists is for cleanliness of code and API.
That is, there is no conceptual reason all these functions could not be
methods on the GtkTreeView widget instead of a separate function.
The GtkTreeSelection object is gotten from a GtkTreeView by calling
gtk_tree_view_get_selection() . It can be manipulated to check the
selection status of the tree, as well as select and deselect individual
rows. Selection is done completely view side. As a result, multiple
views of the same model can have completely different selections.
Additionally, you cannot change the selection of a row on the model that
is not currently displayed by the view without expanding its parents
first.
One of the important things to remember when monitoring the selection of
a view is that the “changed” signal is mostly a hint.
That is, it may only emit one signal when a range of rows is selected.
Additionally, it may on occasion emit a “changed” signal
when nothing has happened (mostly as a result of programmers calling
select_row on an already selected row).
Functions
GtkTreeSelectionFunc ()
GtkTreeSelectionFunc
gboolean
( *GtkTreeSelectionFunc) (GtkTreeSelection *selection ,
GtkTreeModel *model ,
GtkTreePath *path ,
gboolean path_currently_selected ,
gpointer data );
A function used by gtk_tree_selection_set_select_function() to filter
whether or not a row may be selected. It is called whenever a row's
state might change. A return value of TRUE indicates to selection
that it is okay to change the selection.
Parameters
selection
A GtkTreeSelection
model
A GtkTreeModel being viewed
path
The GtkTreePath of the row in question
path_currently_selected
TRUE , if the path is currently selected
data
user data.
[closure ]
Returns
TRUE , if the selection state of the row can be toggled
GtkTreeSelectionForeachFunc ()
GtkTreeSelectionForeachFunc
void
( *GtkTreeSelectionForeachFunc) (GtkTreeModel *model ,
GtkTreePath *path ,
GtkTreeIter *iter ,
gpointer data );
A function used by gtk_tree_selection_selected_foreach() to map all
selected rows. It will be called on every selected row in the view.
Parameters
model
The GtkTreeModel being viewed
path
The GtkTreePath of a selected row
iter
A GtkTreeIter pointing to a selected row
data
user data.
[closure ]
gtk_tree_selection_set_mode ()
gtk_tree_selection_set_mode
void
gtk_tree_selection_set_mode (GtkTreeSelection *selection ,
GtkSelectionMode type );
Sets the selection mode of the selection
. If the previous type was
GTK_SELECTION_MULTIPLE , then the anchor is kept selected, if it was
previously selected.
Parameters
selection
A GtkTreeSelection .
type
The selection mode
gtk_tree_selection_get_mode ()
gtk_tree_selection_get_mode
GtkSelectionMode
gtk_tree_selection_get_mode (GtkTreeSelection *selection );
Gets the selection mode for selection
. See
gtk_tree_selection_set_mode() .
Parameters
selection
a GtkTreeSelection
Returns
the current selection mode
gtk_tree_selection_set_select_function ()
gtk_tree_selection_set_select_function
void
gtk_tree_selection_set_select_function
(GtkTreeSelection *selection ,
GtkTreeSelectionFunc func ,
gpointer data ,
GDestroyNotify destroy );
Sets the selection function.
If set, this function is called before any node is selected or unselected,
giving some control over which nodes are selected. The select function
should return TRUE if the state of the node may be toggled, and FALSE
if the state of the node should be left unchanged.
Parameters
selection
A GtkTreeSelection .
func
The selection function. May be NULL .
[nullable ]
data
The selection function’s data. May be NULL
destroy
The destroy function for user data. May be NULL
gtk_tree_selection_get_select_function ()
gtk_tree_selection_get_select_function
GtkTreeSelectionFunc
gtk_tree_selection_get_select_function
(GtkTreeSelection *selection );
Returns the current selection function.
[skip ]
Parameters
selection
A GtkTreeSelection .
Returns
The function.
gtk_tree_selection_get_user_data ()
gtk_tree_selection_get_user_data
gpointer
gtk_tree_selection_get_user_data (GtkTreeSelection *selection );
Returns the user data for the selection function.
[skip ]
Parameters
selection
A GtkTreeSelection .
Returns
The user data.
gtk_tree_selection_get_tree_view ()
gtk_tree_selection_get_tree_view
GtkTreeView *
gtk_tree_selection_get_tree_view (GtkTreeSelection *selection );
Returns the tree view associated with selection
.
Parameters
selection
A GtkTreeSelection
Returns
A GtkTreeView .
[transfer none ]
gtk_tree_selection_get_selected ()
gtk_tree_selection_get_selected
gboolean
gtk_tree_selection_get_selected (GtkTreeSelection *selection ,
GtkTreeModel **model ,
GtkTreeIter *iter );
Sets iter
to the currently selected node if selection
is set to
GTK_SELECTION_SINGLE or GTK_SELECTION_BROWSE . iter
may be NULL if you
just want to test if selection
has any selected nodes. model
is filled
with the current model as a convenience. This function will not work if you
use selection
is GTK_SELECTION_MULTIPLE .
Parameters
selection
A GtkTreeSelection .
model
A pointer to set to the GtkTreeModel , or NULL.
[out ][allow-none ][transfer none ]
iter
The GtkTreeIter , or NULL.
[out ][allow-none ]
Returns
TRUE, if there is a selected node.
gtk_tree_selection_selected_foreach ()
gtk_tree_selection_selected_foreach
void
gtk_tree_selection_selected_foreach (GtkTreeSelection *selection ,
GtkTreeSelectionForeachFunc func ,
gpointer data );
Calls a function for each selected node. Note that you cannot modify
the tree or selection from within this function. As a result,
gtk_tree_selection_get_selected_rows() might be more useful.
Parameters
selection
A GtkTreeSelection .
func
The function to call for each selected node.
[scope call ]
data
user data to pass to the function.
gtk_tree_selection_get_selected_rows ()
gtk_tree_selection_get_selected_rows
GList *
gtk_tree_selection_get_selected_rows (GtkTreeSelection *selection ,
GtkTreeModel **model );
Creates a list of path of all selected rows. Additionally, if you are
planning on modifying the model after calling this function, you may
want to convert the returned list into a list of GtkTreeRowReferences .
To do this, you can use gtk_tree_row_reference_new() .
To free the return value, use:
Parameters
selection
A GtkTreeSelection .
model
A pointer to set to the GtkTreeModel , or NULL .
[out ][allow-none ][transfer none ]
Returns
A GList containing a GtkTreePath for each selected row.
[element-type GtkTreePath][transfer full ]
gtk_tree_selection_count_selected_rows ()
gtk_tree_selection_count_selected_rows
gint
gtk_tree_selection_count_selected_rows
(GtkTreeSelection *selection );
Returns the number of rows that have been selected in tree
.
Parameters
selection
A GtkTreeSelection .
Returns
The number of rows selected.
gtk_tree_selection_select_path ()
gtk_tree_selection_select_path
void
gtk_tree_selection_select_path (GtkTreeSelection *selection ,
GtkTreePath *path );
Select the row at path
.
Parameters
selection
A GtkTreeSelection .
path
The GtkTreePath to be selected.
gtk_tree_selection_unselect_path ()
gtk_tree_selection_unselect_path
void
gtk_tree_selection_unselect_path (GtkTreeSelection *selection ,
GtkTreePath *path );
Unselects the row at path
.
Parameters
selection
A GtkTreeSelection .
path
The GtkTreePath to be unselected.
gtk_tree_selection_path_is_selected ()
gtk_tree_selection_path_is_selected
gboolean
gtk_tree_selection_path_is_selected (GtkTreeSelection *selection ,
GtkTreePath *path );
Returns TRUE if the row pointed to by path
is currently selected. If path
does not point to a valid location, FALSE is returned
Parameters
selection
A GtkTreeSelection .
path
A GtkTreePath to check selection on.
Returns
TRUE if path
is selected.
gtk_tree_selection_select_iter ()
gtk_tree_selection_select_iter
void
gtk_tree_selection_select_iter (GtkTreeSelection *selection ,
GtkTreeIter *iter );
Selects the specified iterator.
Parameters
selection
A GtkTreeSelection .
iter
The GtkTreeIter to be selected.
gtk_tree_selection_unselect_iter ()
gtk_tree_selection_unselect_iter
void
gtk_tree_selection_unselect_iter (GtkTreeSelection *selection ,
GtkTreeIter *iter );
Unselects the specified iterator.
Parameters
selection
A GtkTreeSelection .
iter
The GtkTreeIter to be unselected.
gtk_tree_selection_iter_is_selected ()
gtk_tree_selection_iter_is_selected
gboolean
gtk_tree_selection_iter_is_selected (GtkTreeSelection *selection ,
GtkTreeIter *iter );
Returns TRUE if the row at iter
is currently selected.
Parameters
selection
A GtkTreeSelection
iter
A valid GtkTreeIter
Returns
TRUE , if iter
is selected
gtk_tree_selection_select_all ()
gtk_tree_selection_select_all
void
gtk_tree_selection_select_all (GtkTreeSelection *selection );
Selects all the nodes. selection
must be set to GTK_SELECTION_MULTIPLE
mode.
Parameters
selection
A GtkTreeSelection .
gtk_tree_selection_unselect_all ()
gtk_tree_selection_unselect_all
void
gtk_tree_selection_unselect_all (GtkTreeSelection *selection );
Unselects all the nodes.
Parameters
selection
A GtkTreeSelection .
gtk_tree_selection_select_range ()
gtk_tree_selection_select_range
void
gtk_tree_selection_select_range (GtkTreeSelection *selection ,
GtkTreePath *start_path ,
GtkTreePath *end_path );
Selects a range of nodes, determined by start_path
and end_path
inclusive.
selection
must be set to GTK_SELECTION_MULTIPLE mode.
Parameters
selection
A GtkTreeSelection .
start_path
The initial node of the range.
end_path
The final node of the range.
gtk_tree_selection_unselect_range ()
gtk_tree_selection_unselect_range
void
gtk_tree_selection_unselect_range (GtkTreeSelection *selection ,
GtkTreePath *start_path ,
GtkTreePath *end_path );
Unselects a range of nodes, determined by start_path
and end_path
inclusive.
Parameters
selection
A GtkTreeSelection .
start_path
The initial node of the range.
end_path
The initial node of the range.
Property Details
The “mode” property
GtkTreeSelection:mode
“mode” GtkSelectionMode
Selection mode.
See gtk_tree_selection_set_mode() for more information on this property.
Owner: GtkTreeSelection
Flags: Read / Write
Default value: GTK_SELECTION_SINGLE
Signal Details
The “changed” signal
GtkTreeSelection::changed
void
user_function (GtkTreeSelection *treeselection,
gpointer user_data)
Emitted whenever the selection has (possibly) changed. Please note that
this signal is mostly a hint. It may only be emitted once when a range
of rows are selected, and it may occasionally be emitted when nothing
has happened.
Parameters
treeselection
the object which received the signal.
user_data
user data set when the signal handler was connected.
Flags: Run First
See Also
GtkTreeView , GtkTreeViewColumn , GtkTreeModel ,
GtkTreeSortable , GtkTreeModelSort , GtkListStore , GtkTreeStore ,
GtkCellRenderer , GtkCellEditable , GtkCellRendererPixbuf ,
GtkCellRendererText , GtkCellRendererToggle , GtkTreeView drag-and-drop
docs/reference/gtk/xml/gtkcenterbox.xml 0000664 0001750 0001750 00000046113 13617646201 020415 0 ustar mclasen mclasen
]>
GtkCenterBox
3
GTK4 Library
GtkCenterBox
A centering container
Functions
GtkWidget *
gtk_center_box_new ()
void
gtk_center_box_set_start_widget ()
void
gtk_center_box_set_center_widget ()
void
gtk_center_box_set_end_widget ()
GtkWidget *
gtk_center_box_get_start_widget ()
GtkWidget *
gtk_center_box_get_center_widget ()
GtkWidget *
gtk_center_box_get_end_widget ()
void
gtk_center_box_set_baseline_position ()
GtkBaselinePosition
gtk_center_box_get_baseline_position ()
Types and Values
GtkCenterBox
Includes #include <gtk/gtk.h>
Description
The GtkCenterBox widget arranges three children in a horizontal
or vertical arrangement, keeping the middle child centered as well
as possible.
To add children to GtkCenterBox, use gtk_center_box_set_start_widget() ,
gtk_center_box_set_center_widget() and gtk_center_box_set_end_widget() .
The sizing and positioning of children can be influenced with the
align and expand properties of the children.
GtkCenterBox as GtkBuildable The GtkCenterBox implementation of the GtkBuildable interface supports
placing children in the 3 positions by specifying “start”, “center” or
“end” as the “type” attribute of a <child> element.
CSS nodes GtkCenterBox uses a single CSS node with the name “box”,
The first child of the GtkCenterBox will be allocated depending on the
text direction, i.e. in left-to-right layouts it will be allocated on the
left and in right-to-left layouts on the right.
In vertical orientation, the nodes of the children are arranged from top to
bottom.
Functions
gtk_center_box_new ()
gtk_center_box_new
GtkWidget *
gtk_center_box_new (void );
Creates a new GtkCenterBox .
Returns
the new GtkCenterBox .
gtk_center_box_set_start_widget ()
gtk_center_box_set_start_widget
void
gtk_center_box_set_start_widget (GtkCenterBox *self ,
GtkWidget *child );
Sets the start widget. To remove the existing start widget, pass NULL .
Parameters
self
a GtkCenterBox
child
the new start widget, or NULL .
[nullable ]
gtk_center_box_set_center_widget ()
gtk_center_box_set_center_widget
void
gtk_center_box_set_center_widget (GtkCenterBox *self ,
GtkWidget *child );
Sets the center widget. To remove the existing center widget, pas NULL .
Parameters
self
a GtkCenterBox
child
the new center widget, or NULL .
[nullable ]
gtk_center_box_set_end_widget ()
gtk_center_box_set_end_widget
void
gtk_center_box_set_end_widget (GtkCenterBox *self ,
GtkWidget *child );
Sets the end widget. To remove the existing end widget, pass NULL .
Parameters
self
a GtkCenterBox
child
the new end widget, or NULL .
[nullable ]
gtk_center_box_get_start_widget ()
gtk_center_box_get_start_widget
GtkWidget *
gtk_center_box_get_start_widget (GtkCenterBox *self );
Gets the start widget, or NULL if there is none.
Parameters
self
a GtkCenterBox
Returns
the start widget.
[transfer none ][nullable ]
gtk_center_box_get_center_widget ()
gtk_center_box_get_center_widget
GtkWidget *
gtk_center_box_get_center_widget (GtkCenterBox *self );
Gets the center widget, or NULL if there is none.
Parameters
self
a GtkCenterBox
Returns
the center widget.
[transfer none ][nullable ]
gtk_center_box_get_end_widget ()
gtk_center_box_get_end_widget
GtkWidget *
gtk_center_box_get_end_widget (GtkCenterBox *self );
Gets the end widget, or NULL if there is none.
Parameters
self
a GtkCenterBox
Returns
the end widget.
[transfer none ][nullable ]
gtk_center_box_set_baseline_position ()
gtk_center_box_set_baseline_position
void
gtk_center_box_set_baseline_position (GtkCenterBox *self ,
GtkBaselinePosition position );
Sets the baseline position of a center box.
This affects only horizontal boxes with at least one baseline
aligned child. If there is more vertical space available than
requested, and the baseline is not allocated by the parent then
position
is used to allocate the baseline wrt. the extra space
available.
Parameters
self
a GtkCenterBox
position
a GtkBaselinePosition
gtk_center_box_get_baseline_position ()
gtk_center_box_get_baseline_position
GtkBaselinePosition
gtk_center_box_get_baseline_position (GtkCenterBox *self );
Gets the value set by gtk_center_box_set_baseline_position() .
Parameters
self
a GtkCenterBox
Returns
the baseline position
See Also
GtkBox
docs/reference/gtk/xml/gtkprogressbar.xml 0000664 0001750 0001750 00000112120 13617646202 020746 0 ustar mclasen mclasen
]>
GtkProgressBar
3
GTK4 Library
GtkProgressBar
A widget which indicates progress visually
Functions
GtkWidget *
gtk_progress_bar_new ()
void
gtk_progress_bar_pulse ()
void
gtk_progress_bar_set_fraction ()
gdouble
gtk_progress_bar_get_fraction ()
void
gtk_progress_bar_set_inverted ()
gboolean
gtk_progress_bar_get_inverted ()
void
gtk_progress_bar_set_show_text ()
gboolean
gtk_progress_bar_get_show_text ()
void
gtk_progress_bar_set_text ()
const gchar *
gtk_progress_bar_get_text ()
void
gtk_progress_bar_set_ellipsize ()
PangoEllipsizeMode
gtk_progress_bar_get_ellipsize ()
void
gtk_progress_bar_set_pulse_step ()
gdouble
gtk_progress_bar_get_pulse_step ()
Properties
PangoEllipsizeMode ellipsizeRead / Write
gdouble fractionRead / Write
gboolean invertedRead / Write
gdouble pulse-stepRead / Write
gboolean show-textRead / Write
gchar * textRead / Write
Types and Values
GtkProgressBar
Object Hierarchy
GObject
╰── GInitiallyUnowned
╰── GtkWidget
╰── GtkProgressBar
Implemented Interfaces
GtkProgressBar implements
AtkImplementorIface, GtkBuildable, GtkConstraintTarget and GtkOrientable.
Includes #include <gtk/gtk.h>
Description
The GtkProgressBar is typically used to display the progress of a long
running operation. It provides a visual clue that processing is underway.
The GtkProgressBar can be used in two different modes: percentage mode
and activity mode.
When an application can determine how much work needs to take place
(e.g. read a fixed number of bytes from a file) and can monitor its
progress, it can use the GtkProgressBar in percentage mode and the
user sees a growing bar indicating the percentage of the work that
has been completed. In this mode, the application is required to call
gtk_progress_bar_set_fraction() periodically to update the progress bar.
When an application has no accurate way of knowing the amount of work
to do, it can use the GtkProgressBar in activity mode, which shows
activity by a block moving back and forth within the progress area. In
this mode, the application is required to call gtk_progress_bar_pulse()
periodically to update the progress bar.
There is quite a bit of flexibility provided to control the appearance
of the GtkProgressBar . Functions are provided to control the orientation
of the bar, optional text can be displayed along with the bar, and the
step size used in activity mode can be set.
CSS nodes
GtkProgressBar has a main CSS node with name progressbar and subnodes with
names text and trough, of which the latter has a subnode named progress. The
text subnode is only present if text is shown. The progress subnode has the
style class .pulse when in activity mode. It gets the style classes .left,
.right, .top or .bottom added when the progress 'touches' the corresponding
end of the GtkProgressBar. The .osd class on the progressbar node is for use
in overlays like the one Epiphany has for page loading progress.
Functions
gtk_progress_bar_new ()
gtk_progress_bar_new
GtkWidget *
gtk_progress_bar_new (void );
Creates a new GtkProgressBar .
Returns
a GtkProgressBar .
gtk_progress_bar_pulse ()
gtk_progress_bar_pulse
void
gtk_progress_bar_pulse (GtkProgressBar *pbar );
Indicates that some progress has been made, but you don’t know how much.
Causes the progress bar to enter “activity mode,” where a block
bounces back and forth. Each call to gtk_progress_bar_pulse()
causes the block to move by a little bit (the amount of movement
per pulse is determined by gtk_progress_bar_set_pulse_step() ).
Parameters
pbar
a GtkProgressBar
gtk_progress_bar_set_fraction ()
gtk_progress_bar_set_fraction
void
gtk_progress_bar_set_fraction (GtkProgressBar *pbar ,
gdouble fraction );
Causes the progress bar to “fill in” the given fraction
of the bar. The fraction should be between 0.0 and 1.0,
inclusive.
Parameters
pbar
a GtkProgressBar
fraction
fraction of the task that’s been completed
gtk_progress_bar_get_fraction ()
gtk_progress_bar_get_fraction
gdouble
gtk_progress_bar_get_fraction (GtkProgressBar *pbar );
Returns the current fraction of the task that’s been completed.
Parameters
pbar
a GtkProgressBar
Returns
a fraction from 0.0 to 1.0
gtk_progress_bar_set_inverted ()
gtk_progress_bar_set_inverted
void
gtk_progress_bar_set_inverted (GtkProgressBar *pbar ,
gboolean inverted );
Progress bars normally grow from top to bottom or left to right.
Inverted progress bars grow in the opposite direction.
Parameters
pbar
a GtkProgressBar
inverted
TRUE to invert the progress bar
gtk_progress_bar_get_inverted ()
gtk_progress_bar_get_inverted
gboolean
gtk_progress_bar_get_inverted (GtkProgressBar *pbar );
Gets the value set by gtk_progress_bar_set_inverted() .
Parameters
pbar
a GtkProgressBar
Returns
TRUE if the progress bar is inverted
gtk_progress_bar_set_show_text ()
gtk_progress_bar_set_show_text
void
gtk_progress_bar_set_show_text (GtkProgressBar *pbar ,
gboolean show_text );
Sets whether the progress bar will show text next to the bar.
The shown text is either the value of the “text”
property or, if that is NULL , the “fraction” value,
as a percentage.
To make a progress bar that is styled and sized suitably for containing
text (even if the actual text is blank), set “show-text” to
TRUE and “text” to the empty string (not NULL ).
Parameters
pbar
a GtkProgressBar
show_text
whether to show text
gtk_progress_bar_get_show_text ()
gtk_progress_bar_get_show_text
gboolean
gtk_progress_bar_get_show_text (GtkProgressBar *pbar );
Gets the value of the “show-text” property.
See gtk_progress_bar_set_show_text() .
Parameters
pbar
a GtkProgressBar
Returns
TRUE if text is shown in the progress bar
gtk_progress_bar_set_text ()
gtk_progress_bar_set_text
void
gtk_progress_bar_set_text (GtkProgressBar *pbar ,
const gchar *text );
Causes the given text
to appear next to the progress bar.
If text
is NULL and “show-text” is TRUE , the current
value of “fraction” will be displayed as a percentage.
If text
is non-NULL and “show-text” is TRUE , the text
will be displayed. In this case, it will not display the progress
percentage. If text
is the empty string, the progress bar will still
be styled and sized suitably for containing text, as long as
“show-text” is TRUE .
Parameters
pbar
a GtkProgressBar
text
a UTF-8 string, or NULL .
[allow-none ]
gtk_progress_bar_get_text ()
gtk_progress_bar_get_text
const gchar *
gtk_progress_bar_get_text (GtkProgressBar *pbar );
Retrieves the text that is displayed with the progress bar,
if any, otherwise NULL . The return value is a reference
to the text, not a copy of it, so will become invalid
if you change the text in the progress bar.
Parameters
pbar
a GtkProgressBar
Returns
text, or NULL ; this string is owned by the widget
and should not be modified or freed.
[nullable ]
gtk_progress_bar_set_ellipsize ()
gtk_progress_bar_set_ellipsize
void
gtk_progress_bar_set_ellipsize (GtkProgressBar *pbar ,
PangoEllipsizeMode mode );
Sets the mode used to ellipsize (add an ellipsis: "...") the
text if there is not enough space to render the entire string.
Parameters
pbar
a GtkProgressBar
mode
a PangoEllipsizeMode
gtk_progress_bar_get_ellipsize ()
gtk_progress_bar_get_ellipsize
PangoEllipsizeMode
gtk_progress_bar_get_ellipsize (GtkProgressBar *pbar );
Returns the ellipsizing position of the progress bar.
See gtk_progress_bar_set_ellipsize() .
Parameters
pbar
a GtkProgressBar
Returns
PangoEllipsizeMode
gtk_progress_bar_set_pulse_step ()
gtk_progress_bar_set_pulse_step
void
gtk_progress_bar_set_pulse_step (GtkProgressBar *pbar ,
gdouble fraction );
Sets the fraction of total progress bar length to move the
bouncing block for each call to gtk_progress_bar_pulse() .
Parameters
pbar
a GtkProgressBar
fraction
fraction between 0.0 and 1.0
gtk_progress_bar_get_pulse_step ()
gtk_progress_bar_get_pulse_step
gdouble
gtk_progress_bar_get_pulse_step (GtkProgressBar *pbar );
Retrieves the pulse step set with gtk_progress_bar_set_pulse_step() .
Parameters
pbar
a GtkProgressBar
Returns
a fraction from 0.0 to 1.0
Property Details
The “ellipsize” property
GtkProgressBar:ellipsize
“ellipsize” PangoEllipsizeMode
The preferred place to ellipsize the string, if the progress bar does
not have enough room to display the entire string, specified as a
PangoEllipsizeMode .
Note that setting this property to a value other than
PANGO_ELLIPSIZE_NONE has the side-effect that the progress bar requests
only enough space to display the ellipsis ("..."). Another means to set a
progress bar's width is gtk_widget_set_size_request() .
Owner: GtkProgressBar
Flags: Read / Write
Default value: PANGO_ELLIPSIZE_NONE
The “fraction” property
GtkProgressBar:fraction
“fraction” gdouble
The fraction of total work that has been completed. Owner: GtkProgressBar
Flags: Read / Write
Allowed values: [0,1]
Default value: 0
The “inverted” property
GtkProgressBar:inverted
“inverted” gboolean
Invert the direction in which the progress bar grows. Owner: GtkProgressBar
Flags: Read / Write
Default value: FALSE
The “pulse-step” property
GtkProgressBar:pulse-step
“pulse-step” gdouble
The fraction of total progress to move the bouncing block when pulsed. Owner: GtkProgressBar
Flags: Read / Write
Allowed values: [0,1]
Default value: 0.1
The “show-text” property
GtkProgressBar:show-text
“show-text” gboolean
Sets whether the progress bar will show a text in addition
to the bar itself. The shown text is either the value of
the “text” property or, if that is NULL ,
the “fraction” value, as a percentage.
To make a progress bar that is styled and sized suitably for
showing text (even if the actual text is blank), set
“show-text” to TRUE and “text”
to the empty string (not NULL ).
Owner: GtkProgressBar
Flags: Read / Write
Default value: FALSE
The “text” property
GtkProgressBar:text
“text” gchar *
Text to be displayed in the progress bar. Owner: GtkProgressBar
Flags: Read / Write
Default value: NULL
docs/reference/gtk/xml/gtkcenterlayout.xml 0000664 0001750 0001750 00000042713 13617646201 021144 0 ustar mclasen mclasen
]>
GtkCenterLayout
3
GTK4 Library
GtkCenterLayout
A centering layout
Functions
GtkLayoutManager *
gtk_center_layout_new ()
void
gtk_center_layout_set_start_widget ()
void
gtk_center_layout_set_center_widget ()
void
gtk_center_layout_set_end_widget ()
GtkWidget *
gtk_center_layout_get_start_widget ()
GtkWidget *
gtk_center_layout_get_center_widget ()
GtkWidget *
gtk_center_layout_get_end_widget ()
void
gtk_center_layout_set_baseline_position ()
GtkBaselinePosition
gtk_center_layout_get_baseline_position ()
Types and Values
GtkCenterLayout
Object Hierarchy
GObject
╰── GtkLayoutManager
╰── GtkCenterLayout
Includes #include <gtk/gtk.h>
Description
A GtkCenterLayout is a layout manager that manages up to three children.
The start widget is allocated at the start of the layout (left in LRT
layouts and right in RTL ones), and the end widget at the end.
The center widget is centered regarding the full width of the layout's.
Functions
gtk_center_layout_new ()
gtk_center_layout_new
GtkLayoutManager *
gtk_center_layout_new (void );
Creates a new GtkCenterLayout .
Returns
the newly created GtkCenterLayout
gtk_center_layout_set_start_widget ()
gtk_center_layout_set_start_widget
void
gtk_center_layout_set_start_widget (GtkCenterLayout *self ,
GtkWidget *widget );
Sets the new start widget of self
.
Parameters
self
a GtkCenterLayout
widget
the new start widget
gtk_center_layout_set_center_widget ()
gtk_center_layout_set_center_widget
void
gtk_center_layout_set_center_widget (GtkCenterLayout *self ,
GtkWidget *widget );
Sets the new center widget of self
Parameters
self
a GtkCenterLayout
widget
the new center widget
gtk_center_layout_set_end_widget ()
gtk_center_layout_set_end_widget
void
gtk_center_layout_set_end_widget (GtkCenterLayout *self ,
GtkWidget *widget );
Sets the new end widget of self
Parameters
self
a GtkCenterLayout
widget
the new end widget.
[transfer none ]
gtk_center_layout_get_start_widget ()
gtk_center_layout_get_start_widget
GtkWidget *
gtk_center_layout_get_start_widget (GtkCenterLayout *self );
Parameters
self
a GtkCenterLayout
Returns
The current start widget of self
.
[transfer none ]
gtk_center_layout_get_center_widget ()
gtk_center_layout_get_center_widget
GtkWidget *
gtk_center_layout_get_center_widget (GtkCenterLayout *self );
Parameters
self
a GtkCenterLayout
Returns
the current center widget of self
.
[transfer none ]
gtk_center_layout_get_end_widget ()
gtk_center_layout_get_end_widget
GtkWidget *
gtk_center_layout_get_end_widget (GtkCenterLayout *self );
Parameters
self
a GtkCenterLayout
Returns
the current end widget of self
.
[transfer none ]
gtk_center_layout_set_baseline_position ()
gtk_center_layout_set_baseline_position
void
gtk_center_layout_set_baseline_position
(GtkCenterLayout *self ,
GtkBaselinePosition baseline_position );
Sets the new baseline position of self
Parameters
self
a GtkCenterLayout
baseline_position
the new baseline position
gtk_center_layout_get_baseline_position ()
gtk_center_layout_get_baseline_position
GtkBaselinePosition
gtk_center_layout_get_baseline_position
(GtkCenterLayout *self );
Parameters
self
a GtkCenterLayout
Returns
The current baseline position of self
.
docs/reference/gtk/xml/gtktreesortable.xml 0000664 0001750 0001750 00000064225 13617646203 021125 0 ustar mclasen mclasen
]>
GtkTreeSortable
3
GTK4 Library
GtkTreeSortable
The interface for sortable models used by GtkTreeView
Functions
gint
( *GtkTreeIterCompareFunc) ()
void
gtk_tree_sortable_sort_column_changed ()
gboolean
gtk_tree_sortable_get_sort_column_id ()
void
gtk_tree_sortable_set_sort_column_id ()
void
gtk_tree_sortable_set_sort_func ()
void
gtk_tree_sortable_set_default_sort_func ()
gboolean
gtk_tree_sortable_has_default_sort_func ()
Signals
void sort-column-changed Run Last
Types and Values
GtkTreeSortable
struct GtkTreeSortableIface
#define GTK_TREE_SORTABLE_DEFAULT_SORT_COLUMN_ID
#define GTK_TREE_SORTABLE_UNSORTED_SORT_COLUMN_ID
Object Hierarchy
GInterface
╰── GtkTreeSortable
Prerequisites
GtkTreeSortable requires
GtkTreeModel and GObject.
Known Implementations
GtkTreeSortable is implemented by
GtkListStore, GtkTreeModelSort and GtkTreeStore.
Includes #include <gtk/gtk.h>
Description
GtkTreeSortable is an interface to be implemented by tree models which
support sorting. The GtkTreeView uses the methods provided by this interface
to sort the model.
Functions
GtkTreeIterCompareFunc ()
GtkTreeIterCompareFunc
gint
( *GtkTreeIterCompareFunc) (GtkTreeModel *model ,
GtkTreeIter *a ,
GtkTreeIter *b ,
gpointer user_data );
A GtkTreeIterCompareFunc should return a negative integer, zero, or a positive
integer if a
sorts before b
, a
sorts with b
, or a
sorts after b
respectively. If two iters compare as equal, their order in the sorted model
is undefined. In order to ensure that the GtkTreeSortable behaves as
expected, the GtkTreeIterCompareFunc must define a partial order on
the model, i.e. it must be reflexive, antisymmetric and transitive.
For example, if model
is a product catalogue, then a compare function
for the “price” column could be one which returns
price_of(@a) - price_of(@b) .
Parameters
model
The GtkTreeModel the comparison is within
a
A GtkTreeIter in model
b
Another GtkTreeIter in model
user_data
Data passed when the compare func is assigned e.g. by
gtk_tree_sortable_set_sort_func()
Returns
a negative integer, zero or a positive integer depending on whether
a
sorts before, with or after b
gtk_tree_sortable_sort_column_changed ()
gtk_tree_sortable_sort_column_changed
void
gtk_tree_sortable_sort_column_changed (GtkTreeSortable *sortable );
Emits a “sort-column-changed” signal on sortable
.
Parameters
sortable
A GtkTreeSortable
gtk_tree_sortable_get_sort_column_id ()
gtk_tree_sortable_get_sort_column_id
gboolean
gtk_tree_sortable_get_sort_column_id (GtkTreeSortable *sortable ,
gint *sort_column_id ,
GtkSortType *order );
Fills in sort_column_id
and order
with the current sort column and the
order. It returns TRUE unless the sort_column_id
is
GTK_TREE_SORTABLE_DEFAULT_SORT_COLUMN_ID or
GTK_TREE_SORTABLE_UNSORTED_SORT_COLUMN_ID .
Parameters
sortable
A GtkTreeSortable
sort_column_id
The sort column id to be filled in.
[out ]
order
The GtkSortType to be filled in.
[out ]
Returns
TRUE if the sort column is not one of the special sort
column ids.
gtk_tree_sortable_set_sort_column_id ()
gtk_tree_sortable_set_sort_column_id
void
gtk_tree_sortable_set_sort_column_id (GtkTreeSortable *sortable ,
gint sort_column_id ,
GtkSortType order );
Sets the current sort column to be sort_column_id
. The sortable
will
resort itself to reflect this change, after emitting a
“sort-column-changed” signal. sort_column_id
may either be
a regular column id, or one of the following special values:
GTK_TREE_SORTABLE_DEFAULT_SORT_COLUMN_ID : the default sort function
will be used, if it is set
GTK_TREE_SORTABLE_UNSORTED_SORT_COLUMN_ID : no sorting will occur
Parameters
sortable
A GtkTreeSortable
sort_column_id
the sort column id to set
order
The sort order of the column
gtk_tree_sortable_set_sort_func ()
gtk_tree_sortable_set_sort_func
void
gtk_tree_sortable_set_sort_func (GtkTreeSortable *sortable ,
gint sort_column_id ,
GtkTreeIterCompareFunc sort_func ,
gpointer user_data ,
GDestroyNotify destroy );
Sets the comparison function used when sorting to be sort_func
. If the
current sort column id of sortable
is the same as sort_column_id
, then
the model will sort using this function.
Parameters
sortable
A GtkTreeSortable
sort_column_id
the sort column id to set the function for
sort_func
The comparison function
user_data
User data to pass to sort_func
, or NULL .
[closure ]
destroy
Destroy notifier of user_data
, or NULL .
[allow-none ]
gtk_tree_sortable_set_default_sort_func ()
gtk_tree_sortable_set_default_sort_func
void
gtk_tree_sortable_set_default_sort_func
(GtkTreeSortable *sortable ,
GtkTreeIterCompareFunc sort_func ,
gpointer user_data ,
GDestroyNotify destroy );
Sets the default comparison function used when sorting to be sort_func
.
If the current sort column id of sortable
is
GTK_TREE_SORTABLE_DEFAULT_SORT_COLUMN_ID , then the model will sort using
this function.
If sort_func
is NULL , then there will be no default comparison function.
This means that once the model has been sorted, it can’t go back to the
default state. In this case, when the current sort column id of sortable
is GTK_TREE_SORTABLE_DEFAULT_SORT_COLUMN_ID , the model will be unsorted.
Parameters
sortable
A GtkTreeSortable
sort_func
The comparison function
user_data
User data to pass to sort_func
, or NULL .
[closure ]
destroy
Destroy notifier of user_data
, or NULL .
[allow-none ]
gtk_tree_sortable_has_default_sort_func ()
gtk_tree_sortable_has_default_sort_func
gboolean
gtk_tree_sortable_has_default_sort_func
(GtkTreeSortable *sortable );
Returns TRUE if the model has a default sort function. This is used
primarily by GtkTreeViewColumns in order to determine if a model can
go back to the default state, or not.
Parameters
sortable
A GtkTreeSortable
Returns
TRUE , if the model has a default sort function
Signal Details
The “sort-column-changed” signal
GtkTreeSortable::sort-column-changed
void
user_function (GtkTreeSortable *sortable,
gpointer user_data)
The ::sort-column-changed signal is emitted when the sort column
or sort order of sortable
is changed. The signal is emitted before
the contents of sortable
are resorted.
Parameters
sortable
the object on which the signal is emitted
user_data
user data set when the signal handler was connected.
Flags: Run Last
See Also
GtkTreeModel , GtkTreeView
docs/reference/gtk/xml/gtklistbox.xml 0000664 0001750 0001750 00000352147 13617646201 020117 0 ustar mclasen mclasen
]>
GtkListBox
3
GTK4 Library
GtkListBox
A list container
Functions
gboolean
( *GtkListBoxFilterFunc) ()
gint
( *GtkListBoxSortFunc) ()
void
( *GtkListBoxUpdateHeaderFunc) ()
GtkWidget *
gtk_list_box_new ()
void
gtk_list_box_prepend ()
void
gtk_list_box_insert ()
void
gtk_list_box_select_row ()
void
gtk_list_box_unselect_row ()
void
gtk_list_box_select_all ()
void
gtk_list_box_unselect_all ()
GtkListBoxRow *
gtk_list_box_get_selected_row ()
void
( *GtkListBoxForeachFunc) ()
void
gtk_list_box_selected_foreach ()
GList *
gtk_list_box_get_selected_rows ()
void
gtk_list_box_set_show_separators ()
gboolean
gtk_list_box_get_show_separators ()
void
gtk_list_box_set_selection_mode ()
GtkSelectionMode
gtk_list_box_get_selection_mode ()
void
gtk_list_box_set_activate_on_single_click ()
gboolean
gtk_list_box_get_activate_on_single_click ()
GtkAdjustment *
gtk_list_box_get_adjustment ()
void
gtk_list_box_set_adjustment ()
void
gtk_list_box_set_placeholder ()
GtkListBoxRow *
gtk_list_box_get_row_at_index ()
GtkListBoxRow *
gtk_list_box_get_row_at_y ()
void
gtk_list_box_invalidate_filter ()
void
gtk_list_box_invalidate_headers ()
void
gtk_list_box_invalidate_sort ()
void
gtk_list_box_set_filter_func ()
void
gtk_list_box_set_header_func ()
void
gtk_list_box_set_sort_func ()
void
gtk_list_box_drag_highlight_row ()
void
gtk_list_box_drag_unhighlight_row ()
GtkWidget *
( *GtkListBoxCreateWidgetFunc) ()
void
gtk_list_box_bind_model ()
GtkWidget *
gtk_list_box_row_new ()
void
gtk_list_box_row_changed ()
gboolean
gtk_list_box_row_is_selected ()
GtkWidget *
gtk_list_box_row_get_header ()
void
gtk_list_box_row_set_header ()
gint
gtk_list_box_row_get_index ()
void
gtk_list_box_row_set_activatable ()
gboolean
gtk_list_box_row_get_activatable ()
void
gtk_list_box_row_set_selectable ()
gboolean
gtk_list_box_row_get_selectable ()
Properties
gboolean accept-unpaired-releaseRead / Write
gboolean activate-on-single-clickRead / Write
GtkSelectionMode selection-modeRead / Write
gboolean show-separatorsRead / Write
gboolean activatableRead / Write
gboolean selectableRead / Write
Signals
void activate-cursor-row Action
void move-cursor Action
void row-activated Run Last
void row-selected Run Last
void select-all Action
void selected-rows-changed Run First
void toggle-cursor-row Action
void unselect-all Action
void activate Action
Types and Values
GtkListBox
struct GtkListBoxRow
struct GtkListBoxRowClass
Object Hierarchy
GObject
╰── GInitiallyUnowned
╰── GtkWidget
╰── GtkContainer
├── GtkBin
│ ╰── GtkListBoxRow
╰── GtkListBox
Implemented Interfaces
GtkListBox implements
AtkImplementorIface, GtkBuildable and GtkConstraintTarget.
GtkListBoxRow implements
AtkImplementorIface, GtkBuildable, GtkConstraintTarget and GtkActionable.
Includes #include <gtk/gtk.h>
Description
A GtkListBox is a vertical container that contains GtkListBoxRow
children. These rows can by dynamically sorted and filtered, and
headers can be added dynamically depending on the row content.
It also allows keyboard and mouse navigation and selection like
a typical list.
Using GtkListBox is often an alternative to GtkTreeView , especially
when the list contents has a more complicated layout than what is allowed
by a GtkCellRenderer , or when the contents is interactive (i.e. has a
button in it).
Although a GtkListBox must have only GtkListBoxRow children you can
add any kind of widget to it via gtk_container_add() , and a GtkListBoxRow
widget will automatically be inserted between the list and the widget.
GtkListBoxRows can be marked as activatable or selectable. If a row
is activatable, “row-activated” will be emitted for it when
the user tries to activate it. If it is selectable, the row will be marked
as selected when the user tries to select it.
The GtkListBox widget was added in GTK+ 3.10.
GtkListBox as GtkBuildable The GtkListBox implementation of the GtkBuildable interface supports
setting a child as the placeholder by specifying “placeholder” as the “type”
attribute of a <child> element. See gtk_list_box_set_placeholder() for info.
CSS nodes
GtkListBox uses a single CSS node named list. It may carry the .separators style
class, when the “show-separators” property is set. Each GtkListBoxRow uses
a single CSS node named row. The row nodes get the .activatable
style class added when appropriate.
Functions
GtkListBoxFilterFunc ()
GtkListBoxFilterFunc
gboolean
( *GtkListBoxFilterFunc) (GtkListBoxRow *row ,
gpointer user_data );
Will be called whenever the row changes or is added and lets you control
if the row should be visible or not.
Parameters
row
the row that may be filtered
user_data
user data.
[closure ]
Returns
TRUE if the row should be visible, FALSE otherwise
GtkListBoxSortFunc ()
GtkListBoxSortFunc
gint
( *GtkListBoxSortFunc) (GtkListBoxRow *row1 ,
GtkListBoxRow *row2 ,
gpointer user_data );
Compare two rows to determine which should be first.
Parameters
row1
the first row
row2
the second row
user_data
user data.
[closure ]
Returns
< 0 if row1
should be before row2
, 0 if they are
equal and > 0 otherwise
gtk_list_box_new ()
gtk_list_box_new
GtkWidget *
gtk_list_box_new (void );
Creates a new GtkListBox container.
Returns
a new GtkListBox
gtk_list_box_prepend ()
gtk_list_box_prepend
void
gtk_list_box_prepend (GtkListBox *box ,
GtkWidget *child );
Prepend a widget to the list. If a sort function is set, the widget will
actually be inserted at the calculated position and this function has the
same effect of gtk_container_add() .
Parameters
box
a GtkListBox
child
the GtkWidget to add
gtk_list_box_insert ()
gtk_list_box_insert
void
gtk_list_box_insert (GtkListBox *box ,
GtkWidget *child ,
gint position );
Insert the child
into the box
at position
. If a sort function is
set, the widget will actually be inserted at the calculated position and
this function has the same effect of gtk_container_add() .
If position
is -1, or larger than the total number of items in the
box
, then the child
will be appended to the end.
Parameters
box
a GtkListBox
child
the GtkWidget to add
position
the position to insert child
in
gtk_list_box_select_row ()
gtk_list_box_select_row
void
gtk_list_box_select_row (GtkListBox *box ,
GtkListBoxRow *row );
Make row
the currently selected row.
Parameters
box
a GtkListBox
row
The row to select or NULL .
[allow-none ]
gtk_list_box_unselect_row ()
gtk_list_box_unselect_row
void
gtk_list_box_unselect_row (GtkListBox *box ,
GtkListBoxRow *row );
Unselects a single row of box
, if the selection mode allows it.
Parameters
box
a GtkListBox
row
the row to unselected
gtk_list_box_select_all ()
gtk_list_box_select_all
void
gtk_list_box_select_all (GtkListBox *box );
Select all children of box
, if the selection mode allows it.
Parameters
box
a GtkListBox
gtk_list_box_unselect_all ()
gtk_list_box_unselect_all
void
gtk_list_box_unselect_all (GtkListBox *box );
Unselect all children of box
, if the selection mode allows it.
Parameters
box
a GtkListBox
gtk_list_box_get_selected_row ()
gtk_list_box_get_selected_row
GtkListBoxRow *
gtk_list_box_get_selected_row (GtkListBox *box );
Gets the selected row.
Note that the box may allow multiple selection, in which
case you should use gtk_list_box_selected_foreach() to
find all selected rows.
Parameters
box
a GtkListBox
Returns
the selected row.
[transfer none ]
GtkListBoxForeachFunc ()
GtkListBoxForeachFunc
void
( *GtkListBoxForeachFunc) (GtkListBox *box ,
GtkListBoxRow *row ,
gpointer user_data );
A function used by gtk_list_box_selected_foreach() .
It will be called on every selected child of the box
.
Parameters
box
a GtkListBox
row
a GtkListBoxRow
user_data
user data.
[closure ]
gtk_list_box_selected_foreach ()
gtk_list_box_selected_foreach
void
gtk_list_box_selected_foreach (GtkListBox *box ,
GtkListBoxForeachFunc func ,
gpointer data );
Calls a function for each selected child.
Note that the selection cannot be modified from within this function.
Parameters
box
a GtkListBox
func
the function to call for each selected child.
[scope call ]
data
user data to pass to the function
gtk_list_box_get_selected_rows ()
gtk_list_box_get_selected_rows
GList *
gtk_list_box_get_selected_rows (GtkListBox *box );
Creates a list of all selected children.
Parameters
box
a GtkListBox
Returns
A GList containing the GtkWidget for each selected child.
Free with g_list_free() when done.
[element-type GtkListBoxRow][transfer container ]
gtk_list_box_set_show_separators ()
gtk_list_box_set_show_separators
void
gtk_list_box_set_show_separators (GtkListBox *box ,
gboolean show_separators );
Sets whether the list box should show separators
between rows.
Parameters
box
a GtkListBox
show_separators
TRUE to show separators
gtk_list_box_get_show_separators ()
gtk_list_box_get_show_separators
gboolean
gtk_list_box_get_show_separators (GtkListBox *box );
Returns whether the list box should show separators
between rows.
Parameters
box
a GtkListBox
Returns
TRUE if the list box shows separators
gtk_list_box_set_selection_mode ()
gtk_list_box_set_selection_mode
void
gtk_list_box_set_selection_mode (GtkListBox *box ,
GtkSelectionMode mode );
Sets how selection works in the listbox.
See GtkSelectionMode for details.
Parameters
box
a GtkListBox
mode
The GtkSelectionMode
gtk_list_box_get_selection_mode ()
gtk_list_box_get_selection_mode
GtkSelectionMode
gtk_list_box_get_selection_mode (GtkListBox *box );
Gets the selection mode of the listbox.
Parameters
box
a GtkListBox
Returns
a GtkSelectionMode
gtk_list_box_set_activate_on_single_click ()
gtk_list_box_set_activate_on_single_click
void
gtk_list_box_set_activate_on_single_click
(GtkListBox *box ,
gboolean single );
If single
is TRUE , rows will be activated when you click on them,
otherwise you need to double-click.
Parameters
box
a GtkListBox
single
a boolean
gtk_list_box_get_activate_on_single_click ()
gtk_list_box_get_activate_on_single_click
gboolean
gtk_list_box_get_activate_on_single_click
(GtkListBox *box );
Returns whether rows activate on single clicks.
Parameters
box
a GtkListBox
Returns
TRUE if rows are activated on single click, FALSE otherwise
gtk_list_box_get_adjustment ()
gtk_list_box_get_adjustment
GtkAdjustment *
gtk_list_box_get_adjustment (GtkListBox *box );
Gets the adjustment (if any) that the widget uses to
for vertical scrolling.
Parameters
box
a GtkListBox
Returns
the adjustment.
[transfer none ]
gtk_list_box_set_adjustment ()
gtk_list_box_set_adjustment
void
gtk_list_box_set_adjustment (GtkListBox *box ,
GtkAdjustment *adjustment );
Sets the adjustment (if any) that the widget uses to
for vertical scrolling. For instance, this is used
to get the page size for PageUp/Down key handling.
In the normal case when the box
is packed inside
a GtkScrolledWindow the adjustment from that will
be picked up automatically, so there is no need
to manually do that.
Parameters
box
a GtkListBox
adjustment
the adjustment, or NULL .
[allow-none ]
gtk_list_box_set_placeholder ()
gtk_list_box_set_placeholder
void
gtk_list_box_set_placeholder (GtkListBox *box ,
GtkWidget *placeholder );
Sets the placeholder widget that is shown in the list when
it doesn't display any visible children.
Parameters
box
a GtkListBox
placeholder
a GtkWidget or NULL .
[allow-none ]
gtk_list_box_get_row_at_index ()
gtk_list_box_get_row_at_index
GtkListBoxRow *
gtk_list_box_get_row_at_index (GtkListBox *box ,
gint index_ );
Gets the n-th child in the list (not counting headers).
If _index
is negative or larger than the number of items in the
list, NULL is returned.
Parameters
box
a GtkListBox
index_
the index of the row
Returns
the child GtkWidget or NULL .
[transfer none ][nullable ]
gtk_list_box_get_row_at_y ()
gtk_list_box_get_row_at_y
GtkListBoxRow *
gtk_list_box_get_row_at_y (GtkListBox *box ,
gint y );
Gets the row at the y
position.
Parameters
box
a GtkListBox
y
position
Returns
the row or NULL
in case no row exists for the given y coordinate.
[transfer none ][nullable ]
gtk_list_box_invalidate_filter ()
gtk_list_box_invalidate_filter
void
gtk_list_box_invalidate_filter (GtkListBox *box );
Update the filtering for all rows. Call this when result
of the filter function on the box
is changed due
to an external factor. For instance, this would be used
if the filter function just looked for a specific search
string and the entry with the search string has changed.
Parameters
box
a GtkListBox
gtk_list_box_invalidate_sort ()
gtk_list_box_invalidate_sort
void
gtk_list_box_invalidate_sort (GtkListBox *box );
Update the sorting for all rows. Call this when result
of the sort function on the box
is changed due
to an external factor.
Parameters
box
a GtkListBox
gtk_list_box_set_filter_func ()
gtk_list_box_set_filter_func
void
gtk_list_box_set_filter_func (GtkListBox *box ,
GtkListBoxFilterFunc filter_func ,
gpointer user_data ,
GDestroyNotify destroy );
By setting a filter function on the box
one can decide dynamically which
of the rows to show. For instance, to implement a search function on a list that
filters the original list to only show the matching rows.
The filter_func
will be called for each row after the call, and it will
continue to be called each time a row changes (via gtk_list_box_row_changed() ) or
when gtk_list_box_invalidate_filter() is called.
Note that using a filter function is incompatible with using a model
(see gtk_list_box_bind_model() ).
Parameters
box
a GtkListBox
filter_func
callback that lets you filter which rows to show.
[allow-none ]
user_data
user data passed to filter_func
.
[closure ]
destroy
destroy notifier for user_data
gtk_list_box_set_sort_func ()
gtk_list_box_set_sort_func
void
gtk_list_box_set_sort_func (GtkListBox *box ,
GtkListBoxSortFunc sort_func ,
gpointer user_data ,
GDestroyNotify destroy );
By setting a sort function on the box
one can dynamically reorder the rows
of the list, based on the contents of the rows.
The sort_func
will be called for each row after the call, and will continue to
be called each time a row changes (via gtk_list_box_row_changed() ) and when
gtk_list_box_invalidate_sort() is called.
Note that using a sort function is incompatible with using a model
(see gtk_list_box_bind_model() ).
Parameters
box
a GtkListBox
sort_func
the sort function.
[allow-none ]
user_data
user data passed to sort_func
.
[closure ]
destroy
destroy notifier for user_data
gtk_list_box_drag_highlight_row ()
gtk_list_box_drag_highlight_row
void
gtk_list_box_drag_highlight_row (GtkListBox *box ,
GtkListBoxRow *row );
This is a helper function for implementing DnD onto a GtkListBox .
The passed in row
will be highlighted via gtk_drag_highlight() ,
and any previously highlighted row will be unhighlighted.
The row will also be unhighlighted when the widget gets
a drag leave event.
Parameters
box
a GtkListBox
row
a GtkListBoxRow
gtk_list_box_drag_unhighlight_row ()
gtk_list_box_drag_unhighlight_row
void
gtk_list_box_drag_unhighlight_row (GtkListBox *box );
If a row has previously been highlighted via gtk_list_box_drag_highlight_row()
it will have the highlight removed.
Parameters
box
a GtkListBox
GtkListBoxCreateWidgetFunc ()
GtkListBoxCreateWidgetFunc
GtkWidget *
( *GtkListBoxCreateWidgetFunc) (gpointer item ,
gpointer user_data );
Called for list boxes that are bound to a GListModel with
gtk_list_box_bind_model() for each item that gets added to the model.
Parameters
item
the item from the model for which to create a widget for.
[type GObject]
user_data
user data.
[closure ]
Returns
a GtkWidget that represents item
.
[transfer full ]
gtk_list_box_bind_model ()
gtk_list_box_bind_model
void
gtk_list_box_bind_model (GtkListBox *box ,
GListModel *model ,
GtkListBoxCreateWidgetFunc create_widget_func ,
gpointer user_data ,
GDestroyNotify user_data_free_func );
Binds model
to box
.
If box
was already bound to a model, that previous binding is
destroyed.
The contents of box
are cleared and then filled with widgets that
represent items from model
. box
is updated whenever model
changes.
If model
is NULL , box
is left empty.
It is undefined to add or remove widgets directly (for example, with
gtk_list_box_insert() or gtk_container_add() ) while box
is bound to a
model.
Note that using a model is incompatible with the filtering and sorting
functionality in GtkListBox. When using a model, filtering and sorting
should be implemented by the model.
Parameters
box
a GtkListBox
model
the GListModel to be bound to box
.
[nullable ]
create_widget_func
a function that creates widgets for items
or NULL in case you also passed NULL as model
.
[nullable ]
user_data
user data passed to create_widget_func
.
[closure ]
user_data_free_func
function for freeing user_data
gtk_list_box_row_new ()
gtk_list_box_row_new
GtkWidget *
gtk_list_box_row_new (void );
Creates a new GtkListBoxRow , to be used as a child of a GtkListBox .
Returns
a new GtkListBoxRow
gtk_list_box_row_changed ()
gtk_list_box_row_changed
void
gtk_list_box_row_changed (GtkListBoxRow *row );
Marks row
as changed, causing any state that depends on this
to be updated. This affects sorting, filtering and headers.
Note that calls to this method must be in sync with the data
used for the row functions. For instance, if the list is
mirroring some external data set, and *two* rows changed in the
external data set then when you call gtk_list_box_row_changed()
on the first row the sort function must only read the new data
for the first of the two changed rows, otherwise the resorting
of the rows will be wrong.
This generally means that if you don’t fully control the data
model you have to duplicate the data that affects the listbox
row functions into the row widgets themselves. Another alternative
is to call gtk_list_box_invalidate_sort() on any model change,
but that is more expensive.
Parameters
row
a GtkListBoxRow
gtk_list_box_row_is_selected ()
gtk_list_box_row_is_selected
gboolean
gtk_list_box_row_is_selected (GtkListBoxRow *row );
Returns whether the child is currently selected in its
GtkListBox container.
Parameters
row
a GtkListBoxRow
Returns
TRUE if row
is selected
gtk_list_box_row_get_index ()
gtk_list_box_row_get_index
gint
gtk_list_box_row_get_index (GtkListBoxRow *row );
Gets the current index of the row
in its GtkListBox container.
Parameters
row
a GtkListBoxRow
Returns
the index of the row
, or -1 if the row
is not in a listbox
gtk_list_box_row_set_activatable ()
gtk_list_box_row_set_activatable
void
gtk_list_box_row_set_activatable (GtkListBoxRow *row ,
gboolean activatable );
Set the “activatable” property for this row.
Parameters
row
a GtkListBoxRow
activatable
TRUE to mark the row as activatable
gtk_list_box_row_get_activatable ()
gtk_list_box_row_get_activatable
gboolean
gtk_list_box_row_get_activatable (GtkListBoxRow *row );
Gets the value of the “activatable” property
for this row.
Parameters
row
a GtkListBoxRow
Returns
TRUE if the row is activatable
gtk_list_box_row_set_selectable ()
gtk_list_box_row_set_selectable
void
gtk_list_box_row_set_selectable (GtkListBoxRow *row ,
gboolean selectable );
Set the “selectable” property for this row.
Parameters
row
a GtkListBoxRow
selectable
TRUE to mark the row as selectable
gtk_list_box_row_get_selectable ()
gtk_list_box_row_get_selectable
gboolean
gtk_list_box_row_get_selectable (GtkListBoxRow *row );
Gets the value of the “selectable” property
for this row.
Parameters
row
a GtkListBoxRow
Returns
TRUE if the row is selectable
Property Details
The “accept-unpaired-release” property
GtkListBox:accept-unpaired-release
“accept-unpaired-release” gboolean
Accept unpaired release. Owner: GtkListBox
Flags: Read / Write
Default value: FALSE
The “activate-on-single-click” property
GtkListBox:activate-on-single-click
“activate-on-single-click” gboolean
Activate row on a single click. Owner: GtkListBox
Flags: Read / Write
Default value: TRUE
The “selection-mode” property
GtkListBox:selection-mode
“selection-mode” GtkSelectionMode
The selection mode. Owner: GtkListBox
Flags: Read / Write
Default value: GTK_SELECTION_SINGLE
The “show-separators” property
GtkListBox:show-separators
“show-separators” gboolean
Show separators between rows. Owner: GtkListBox
Flags: Read / Write
Default value: FALSE
The “activatable” property
GtkListBoxRow:activatable
“activatable” gboolean
The property determines whether the “row-activated”
signal will be emitted for this row.
Owner: GtkListBoxRow
Flags: Read / Write
Default value: TRUE
The “selectable” property
GtkListBoxRow:selectable
“selectable” gboolean
The property determines whether this row can be selected.
Owner: GtkListBoxRow
Flags: Read / Write
Default value: TRUE
Signal Details
The “activate-cursor-row” signal
GtkListBox::activate-cursor-row
void
user_function (GtkListBox *listbox,
gpointer user_data)
Flags: Action
The “move-cursor” signal
GtkListBox::move-cursor
void
user_function (GtkListBox *listbox,
GtkMovementStep arg1,
gint arg2,
gpointer user_data)
Flags: Action
The “row-activated” signal
GtkListBox::row-activated
void
user_function (GtkListBox *box,
GtkListBoxRow *row,
gpointer user_data)
The ::row-activated signal is emitted when a row has been activated by the user.
Parameters
box
the GtkListBox
row
the activated row
user_data
user data set when the signal handler was connected.
Flags: Run Last
The “row-selected” signal
GtkListBox::row-selected
void
user_function (GtkListBox *box,
GtkListBoxRow *row,
gpointer user_data)
The ::row-selected signal is emitted when a new row is selected, or
(with a NULL row
) when the selection is cleared.
When the box
is using GTK_SELECTION_MULTIPLE , this signal will not
give you the full picture of selection changes, and you should use
the “selected-rows-changed” signal instead.
Parameters
box
the GtkListBox
row
the selected row.
[nullable ]
user_data
user data set when the signal handler was connected.
Flags: Run Last
The “select-all” signal
GtkListBox::select-all
void
user_function (GtkListBox *box,
gpointer user_data)
The ::select-all signal is a keybinding signal
which gets emitted to select all children of the box, if the selection
mode permits it.
The default bindings for this signal is Ctrl-a.
Parameters
box
the GtkListBox on which the signal is emitted
user_data
user data set when the signal handler was connected.
Flags: Action
The “selected-rows-changed” signal
GtkListBox::selected-rows-changed
void
user_function (GtkListBox *box,
gpointer user_data)
The ::selected-rows-changed signal is emitted when the
set of selected rows changes.
Parameters
box
the GtkListBox on wich the signal is emitted
user_data
user data set when the signal handler was connected.
Flags: Run First
The “toggle-cursor-row” signal
GtkListBox::toggle-cursor-row
void
user_function (GtkListBox *listbox,
gpointer user_data)
Flags: Action
The “unselect-all” signal
GtkListBox::unselect-all
void
user_function (GtkListBox *box,
gpointer user_data)
The ::unselect-all signal is a keybinding signal
which gets emitted to unselect all children of the box, if the selection
mode permits it.
The default bindings for this signal is Ctrl-Shift-a.
Parameters
box
the GtkListBox on which the signal is emitted
user_data
user data set when the signal handler was connected.
Flags: Action
The “activate” signal
GtkListBoxRow::activate
void
user_function (GtkListBoxRow *listboxrow,
gpointer user_data)
This is a keybinding signal, which will cause this row to be activated.
If you want to be notified when the user activates a row (by key or not),
use the “row-activated” signal on the row’s parent GtkListBox .
Parameters
user_data
user data set when the signal handler was connected.
Flags: Action
See Also
GtkScrolledWindow
docs/reference/gtk/xml/gtkradiobutton.xml 0000664 0001750 0001750 00000100423 13617646202 020752 0 ustar mclasen mclasen
]>
GtkRadioButton
3
GTK4 Library
GtkRadioButton
A choice from multiple check buttons
Functions
GtkWidget *
gtk_radio_button_new ()
GtkWidget *
gtk_radio_button_new_from_widget ()
GtkWidget *
gtk_radio_button_new_with_label ()
GtkWidget *
gtk_radio_button_new_with_label_from_widget ()
GtkWidget *
gtk_radio_button_new_with_mnemonic ()
GtkWidget *
gtk_radio_button_new_with_mnemonic_from_widget ()
void
gtk_radio_button_set_group ()
GSList *
gtk_radio_button_get_group ()
void
gtk_radio_button_join_group ()
Properties
GtkRadioButton * groupWrite
Signals
void group-changed Run First
Types and Values
GtkRadioButton
Object Hierarchy
GObject
╰── GInitiallyUnowned
╰── GtkWidget
╰── GtkContainer
╰── GtkBin
╰── GtkButton
╰── GtkToggleButton
╰── GtkCheckButton
╰── GtkRadioButton
Implemented Interfaces
GtkRadioButton implements
AtkImplementorIface, GtkBuildable, GtkConstraintTarget and GtkActionable.
Includes #include <gtk/gtk.h>
Description
A single radio button performs the same basic function as a GtkCheckButton ,
as its position in the object hierarchy reflects. It is only when multiple
radio buttons are grouped together that they become a different user
interface component in their own right.
Every radio button is a member of some group of radio buttons. When one is
selected, all other radio buttons in the same group are deselected. A
GtkRadioButton is one way of giving the user a choice from many options.
Radio button widgets are created with gtk_radio_button_new() , passing NULL
as the argument if this is the first radio button in a group. In subsequent
calls, the group you wish to add this button to should be passed as an
argument. Optionally, gtk_radio_button_new_with_label() can be used if you
want a text label on the radio button.
Alternatively, when adding widgets to an existing group of radio buttons,
use gtk_radio_button_new_from_widget() with a GtkRadioButton that already
has a group assigned to it. The convenience function
gtk_radio_button_new_with_label_from_widget() is also provided.
To retrieve the group a GtkRadioButton is assigned to, use
gtk_radio_button_get_group() .
To remove a GtkRadioButton from one group and make it part of a new one,
use gtk_radio_button_set_group() .
The group list does not need to be freed, as each GtkRadioButton will remove
itself and its list item when it is destroyed.
CSS nodes
]]>
A GtkRadioButton with indicator (see gtk_check_button_set_draw_indicator() )) has a
main CSS node with name radiobutton and a subnode with name radio.
]]>
A GtkRadioButton without indicator changes the name of its main node
to button and adds a .radio style class to it. The subnode is invisible
in this case.
How to create a group of two radio buttons.
When an unselected button in the group is clicked the clicked button
receives the “toggled” signal, as does the previously
selected button.
Inside the “toggled” handler, gtk_toggle_button_get_active()
can be used to determine if the button has been selected or deselected.
Functions
gtk_radio_button_new ()
gtk_radio_button_new
GtkWidget *
gtk_radio_button_new (GSList *group );
Creates a new GtkRadioButton . To be of any practical value, a widget should
then be packed into the radio button.
Parameters
group
an existing
radio button group, or NULL if you are creating a new group.
[element-type GtkRadioButton][allow-none ]
Returns
a new radio button
gtk_radio_button_new_from_widget ()
gtk_radio_button_new_from_widget
GtkWidget *
gtk_radio_button_new_from_widget (GtkRadioButton *radio_group_member );
Creates a new GtkRadioButton , adding it to the same group as
radio_group_member
. As with gtk_radio_button_new() , a widget
should be packed into the radio button.
[constructor ]
Parameters
radio_group_member
an existing GtkRadioButton .
[allow-none ]
Returns
a new radio button.
[transfer none ]
gtk_radio_button_new_with_label ()
gtk_radio_button_new_with_label
GtkWidget *
gtk_radio_button_new_with_label (GSList *group ,
const gchar *label );
Creates a new GtkRadioButton with a text label.
Parameters
group
an existing
radio button group, or NULL if you are creating a new group.
[element-type GtkRadioButton][allow-none ]
label
the text label to display next to the radio button.
Returns
a new radio button.
gtk_radio_button_new_with_label_from_widget ()
gtk_radio_button_new_with_label_from_widget
GtkWidget *
gtk_radio_button_new_with_label_from_widget
(GtkRadioButton *radio_group_member ,
const gchar *label );
Creates a new GtkRadioButton with a text label, adding it to
the same group as radio_group_member
.
[constructor ]
Parameters
radio_group_member
widget to get radio group from or NULL .
[allow-none ]
label
a text string to display next to the radio button.
Returns
a new radio button.
[transfer none ]
gtk_radio_button_new_with_mnemonic ()
gtk_radio_button_new_with_mnemonic
GtkWidget *
gtk_radio_button_new_with_mnemonic (GSList *group ,
const gchar *label );
Creates a new GtkRadioButton containing a label, adding it to the same
group as group
. The label will be created using
gtk_label_new_with_mnemonic() , so underscores in label
indicate the
mnemonic for the button.
Parameters
group
the radio button
group, or NULL .
[element-type GtkRadioButton][allow-none ]
label
the text of the button, with an underscore in front of the
mnemonic character
Returns
a new GtkRadioButton
gtk_radio_button_new_with_mnemonic_from_widget ()
gtk_radio_button_new_with_mnemonic_from_widget
GtkWidget *
gtk_radio_button_new_with_mnemonic_from_widget
(GtkRadioButton *radio_group_member ,
const gchar *label );
Creates a new GtkRadioButton containing a label. The label
will be created using gtk_label_new_with_mnemonic() , so underscores
in label
indicate the mnemonic for the button.
[constructor ]
Parameters
radio_group_member
widget to get radio group from or NULL .
[allow-none ]
label
the text of the button, with an underscore in front of the
mnemonic character
Returns
a new GtkRadioButton .
[transfer none ]
gtk_radio_button_set_group ()
gtk_radio_button_set_group
void
gtk_radio_button_set_group (GtkRadioButton *radio_button ,
GSList *group );
Sets a GtkRadioButton ’s group. It should be noted that this does not change
the layout of your interface in any way, so if you are changing the group,
it is likely you will need to re-arrange the user interface to reflect these
changes.
Parameters
radio_button
a GtkRadioButton .
group
an existing radio
button group, such as one returned from gtk_radio_button_get_group() , or NULL .
[element-type GtkRadioButton][allow-none ]
gtk_radio_button_get_group ()
gtk_radio_button_get_group
GSList *
gtk_radio_button_get_group (GtkRadioButton *radio_button );
Retrieves the group assigned to a radio button.
Parameters
radio_button
a GtkRadioButton .
Returns
a linked list
containing all the radio buttons in the same group
as radio_button
. The returned list is owned by the radio button
and must not be modified or freed.
[element-type GtkRadioButton][transfer none ]
gtk_radio_button_join_group ()
gtk_radio_button_join_group
void
gtk_radio_button_join_group (GtkRadioButton *radio_button ,
GtkRadioButton *group_source );
Joins a GtkRadioButton object to the group of another GtkRadioButton object
Use this in language bindings instead of the gtk_radio_button_get_group()
and gtk_radio_button_set_group() methods
A common way to set up a group of radio buttons is the following:
Parameters
radio_button
the GtkRadioButton object
group_source
a radio button object whos group we are
joining, or NULL to remove the radio button from its group.
[allow-none ]
Property Details
The “group” property
GtkRadioButton:group
“group” GtkRadioButton *
Sets a new group for a radio button.
Owner: GtkRadioButton
Flags: Write
Signal Details
The “group-changed” signal
GtkRadioButton::group-changed
void
user_function (GtkRadioButton *button,
gpointer user_data)
Emitted when the group of radio buttons that a radio button belongs
to changes. This is emitted when a radio button switches from
being alone to being part of a group of 2 or more buttons, or
vice-versa, and when a button is moved from one group of 2 or
more buttons to a different one, but not when the composition
of the group that a button belongs to changes.
Parameters
button
the object which received the signal
user_data
user data set when the signal handler was connected.
Flags: Run First
See Also
GtkComboBox
docs/reference/gtk/xml/gtkselectionmodel.xml 0000664 0001750 0001750 00000067205 13617646201 021437 0 ustar mclasen mclasen
]>
GtkSelectionModel
3
GTK4 Library
GtkSelectionModel
An extension of the list model interface that handles selections
Functions
gboolean
gtk_selection_model_is_selected ()
gboolean
gtk_selection_model_select_item ()
gboolean
gtk_selection_model_unselect_item ()
gboolean
gtk_selection_model_select_range ()
gboolean
gtk_selection_model_unselect_range ()
gboolean
gtk_selection_model_select_all ()
gboolean
gtk_selection_model_unselect_all ()
void
gtk_selection_model_query_range ()
void
gtk_selection_model_selection_changed ()
Signals
void selection-changed Run Last
Types and Values
GtkSelectionModel
Object Hierarchy
GInterface
╰── GtkSelectionModel
Prerequisites
GtkSelectionModel requires
GListModel and GObject.
Known Implementations
GtkSelectionModel is implemented by
GtkNoSelection and GtkSingleSelection.
Includes #include <gtk/gtk.h>
Description
GtkSelectionModel is an interface that extends the GListModel interface by adding
support for selections. This support is then used by widgets using list models to add
the ability to select and unselect various items.
GTK provides default implementations of the mode common selection modes such as
GtkSingleSelection , so you will only need to implement this interface if you want
detailed control about how selections should be handled.
A GtkSelectionModel supports a single boolean per row indicating if a row is selected
or not. This can be queried via gtk_selection_model_is_selected() . When the selected
state of one or more rows changes, the model will emit the
“selection-changed” signal by calling the
gtk_selection_model_selection_changed() function. The positions given in that signal
may have their selection state changed, though that is not a requirement.
If new items added to the model via the “items-changed” signal are selected
or not is up to the implementation.
Additionally, the interface can expose functionality to select and unselect items.
If these functions are implemented, GTK's list widgets will allow users to select and
unselect items. However, GtkSelectionModels are free to only implement them
partially or not at all. In that case the widgets will not support the unimplemented
operations.
When selecting or unselecting is supported by a model, the return values of the
selection functions do NOT indicate if selection or unselection happened. They are
only meant to indicate complete failure, like when this mode of selecting is not
supported by the model.
Selections may happen asynchronously, so the only reliable way to find out when an
item was selected is to listen to the signals that indicate selection.
Functions
gtk_selection_model_is_selected ()
gtk_selection_model_is_selected
gboolean
gtk_selection_model_is_selected (GtkSelectionModel *model ,
guint position );
Checks if the given item is selected.
Parameters
model
a GtkSelectionModel
position
the position of the item to query
Returns
TRUE if the item is selected
gtk_selection_model_select_item ()
gtk_selection_model_select_item
gboolean
gtk_selection_model_select_item (GtkSelectionModel *model ,
guint position ,
gboolean exclusive );
Requests to select an item in the model.
Parameters
model
a GtkSelectionModel
position
the position of the item to select
exclusive
whether previously selected items should be unselected
gtk_selection_model_unselect_item ()
gtk_selection_model_unselect_item
gboolean
gtk_selection_model_unselect_item (GtkSelectionModel *model ,
guint position );
Requests to unselect an item in the model.
Parameters
model
a GtkSelectionModel
position
the position of the item to unselect
gtk_selection_model_select_range ()
gtk_selection_model_select_range
gboolean
gtk_selection_model_select_range (GtkSelectionModel *model ,
guint position ,
guint n_items ,
gboolean exclusive );
Requests to select a range of items in the model.
Parameters
model
a GtkSelectionModel
position
the first item to select
n_items
the number of items to select
exclusive
whether previously selected items should be unselected
gtk_selection_model_unselect_range ()
gtk_selection_model_unselect_range
gboolean
gtk_selection_model_unselect_range (GtkSelectionModel *model ,
guint position ,
guint n_items );
Requests to unselect a range of items in the model.
Parameters
model
a GtkSelectionModel
position
the first item to unselect
n_items
the number of items to unselect
gtk_selection_model_select_all ()
gtk_selection_model_select_all
gboolean
gtk_selection_model_select_all (GtkSelectionModel *model );
Requests to select all items in the model.
Parameters
model
a GtkSelectionModel
gtk_selection_model_unselect_all ()
gtk_selection_model_unselect_all
gboolean
gtk_selection_model_unselect_all (GtkSelectionModel *model );
Requests to unselect all items in the model.
Parameters
model
a GtkSelectionModel
gtk_selection_model_query_range ()
gtk_selection_model_query_range
void
gtk_selection_model_query_range (GtkSelectionModel *model ,
guint position ,
guint *start_range ,
guint *n_items ,
gboolean *selected );
This function allows to query the selection status of multiple elements at once.
It is passed a position and returns a range of elements of uniform selection status.
If position
is greater than the number of items in model
, n_items
is set to 0.
Otherwise the returned range is guaranteed to include the passed-in position, so
n_items
will be >= 1.
Positions directly adjacent to the returned range may have the same selection
status as the returned range.
This is an optimization function to make iterating over a model faster when few
items are selected. However, it is valid behavior for implementations to use a
naive implementation that only ever returns a single element.
Parameters
model
a GtkSelectionModel
position
the position inside the range
start_range
returns the position of the first element of the range.
[out ]
n_items
returns the size of the range.
[out ]
selected
returns whether items in range
are selected.
[out ]
gtk_selection_model_selection_changed ()
gtk_selection_model_selection_changed
void
gtk_selection_model_selection_changed (GtkSelectionModel *model ,
guint position ,
guint n_items );
Helper function for implementations of GtkSelectionModel .
Call this when a the selection changes to emit the ::selection-changed
signal.
Parameters
model
a GtkSelectionModel
position
the first changed item
n_items
the number of changed items
Signal Details
The “selection-changed” signal
GtkSelectionModel::selection-changed
void
user_function (GtkSelectionModel *model,
guint position,
guint n_items,
gpointer user_data)
Emitted when the selection state of some of the items in model
changes.
Note that this signal does not specify the new selection state of the items,
they need to be queried manually.
It is also not necessary for a model to change the selection state of any of
the items in the selection model, though it would be rather useless to emit
such a signal.
Parameters
model
a GtkSelectionModel
position
The first item that may have changed
n_items
number of items with changes
user_data
user data set when the signal handler was connected.
Flags: Run Last
See Also
GListModel , GtkSingleSelection
docs/reference/gtk/xml/gtkrange.xml 0000664 0001750 0001750 00000167717 13617646202 017537 0 ustar mclasen mclasen
]>
GtkRange
3
GTK4 Library
GtkRange
Base class for widgets which visualize an adjustment
Functions
gdouble
gtk_range_get_fill_level ()
gboolean
gtk_range_get_restrict_to_fill_level ()
gboolean
gtk_range_get_show_fill_level ()
void
gtk_range_set_fill_level ()
void
gtk_range_set_restrict_to_fill_level ()
void
gtk_range_set_show_fill_level ()
GtkAdjustment *
gtk_range_get_adjustment ()
void
gtk_range_set_adjustment ()
gboolean
gtk_range_get_inverted ()
void
gtk_range_set_inverted ()
gdouble
gtk_range_get_value ()
void
gtk_range_set_value ()
void
gtk_range_set_increments ()
void
gtk_range_set_range ()
gint
gtk_range_get_round_digits ()
void
gtk_range_set_round_digits ()
gboolean
gtk_range_get_flippable ()
void
gtk_range_set_flippable ()
void
gtk_range_get_range_rect ()
void
gtk_range_get_slider_range ()
gboolean
gtk_range_get_slider_size_fixed ()
void
gtk_range_set_slider_size_fixed ()
Properties
GtkAdjustment * adjustmentRead / Write / Construct
gdouble fill-levelRead / Write
gboolean invertedRead / Write
gboolean restrict-to-fill-levelRead / Write
gint round-digitsRead / Write
gboolean show-fill-levelRead / Write
Signals
void adjust-bounds Run Last
gboolean change-value Run Last
void move-slider Action
void value-changed Run Last
Types and Values
struct GtkRange
Object Hierarchy
GObject
╰── GInitiallyUnowned
╰── GtkWidget
╰── GtkRange
╰── GtkScale
Implemented Interfaces
GtkRange implements
AtkImplementorIface, GtkBuildable, GtkConstraintTarget and GtkOrientable.
Includes #include <gtk/gtk.h>
Description
GtkRange is the common base class for widgets which visualize an
adjustment, e.g GtkScale or GtkScrollbar .
Apart from signals for monitoring the parameters of the adjustment,
GtkRange provides properties and methods for setting a
“fill level” on range widgets. See gtk_range_set_fill_level() .
Functions
gtk_range_get_fill_level ()
gtk_range_get_fill_level
gdouble
gtk_range_get_fill_level (GtkRange *range );
Gets the current position of the fill level indicator.
Parameters
range
A GtkRange
Returns
The current fill level
gtk_range_get_restrict_to_fill_level ()
gtk_range_get_restrict_to_fill_level
gboolean
gtk_range_get_restrict_to_fill_level (GtkRange *range );
Gets whether the range is restricted to the fill level.
Parameters
range
A GtkRange
Returns
TRUE if range
is restricted to the fill level.
gtk_range_get_show_fill_level ()
gtk_range_get_show_fill_level
gboolean
gtk_range_get_show_fill_level (GtkRange *range );
Gets whether the range displays the fill level graphically.
Parameters
range
A GtkRange
Returns
TRUE if range
shows the fill level.
gtk_range_set_fill_level ()
gtk_range_set_fill_level
void
gtk_range_set_fill_level (GtkRange *range ,
gdouble fill_level );
Set the new position of the fill level indicator.
The “fill level” is probably best described by its most prominent
use case, which is an indicator for the amount of pre-buffering in
a streaming media player. In that use case, the value of the range
would indicate the current play position, and the fill level would
be the position up to which the file/stream has been downloaded.
This amount of prebuffering can be displayed on the range’s trough
and is themeable separately from the trough. To enable fill level
display, use gtk_range_set_show_fill_level() . The range defaults
to not showing the fill level.
Additionally, it’s possible to restrict the range’s slider position
to values which are smaller than the fill level. This is controller
by gtk_range_set_restrict_to_fill_level() and is by default
enabled.
Parameters
range
a GtkRange
fill_level
the new position of the fill level indicator
gtk_range_set_restrict_to_fill_level ()
gtk_range_set_restrict_to_fill_level
void
gtk_range_set_restrict_to_fill_level (GtkRange *range ,
gboolean restrict_to_fill_level );
Sets whether the slider is restricted to the fill level. See
gtk_range_set_fill_level() for a general description of the fill
level concept.
Parameters
range
A GtkRange
restrict_to_fill_level
Whether the fill level restricts slider movement.
gtk_range_set_show_fill_level ()
gtk_range_set_show_fill_level
void
gtk_range_set_show_fill_level (GtkRange *range ,
gboolean show_fill_level );
Sets whether a graphical fill level is show on the trough. See
gtk_range_set_fill_level() for a general description of the fill
level concept.
Parameters
range
A GtkRange
show_fill_level
Whether a fill level indicator graphics is shown.
gtk_range_get_adjustment ()
gtk_range_get_adjustment
GtkAdjustment *
gtk_range_get_adjustment (GtkRange *range );
Get the GtkAdjustment which is the “model” object for GtkRange .
See gtk_range_set_adjustment() for details.
The return value does not have a reference added, so should not
be unreferenced.
Parameters
range
a GtkRange
Returns
a GtkAdjustment .
[transfer none ]
gtk_range_set_adjustment ()
gtk_range_set_adjustment
void
gtk_range_set_adjustment (GtkRange *range ,
GtkAdjustment *adjustment );
Sets the adjustment to be used as the “model” object for this range
widget. The adjustment indicates the current range value, the
minimum and maximum range values, the step/page increments used
for keybindings and scrolling, and the page size. The page size
is normally 0 for GtkScale and nonzero for GtkScrollbar , and
indicates the size of the visible area of the widget being scrolled.
The page size affects the size of the scrollbar slider.
Parameters
range
a GtkRange
adjustment
a GtkAdjustment
gtk_range_get_inverted ()
gtk_range_get_inverted
gboolean
gtk_range_get_inverted (GtkRange *range );
Gets the value set by gtk_range_set_inverted() .
Parameters
range
a GtkRange
Returns
TRUE if the range is inverted
gtk_range_set_inverted ()
gtk_range_set_inverted
void
gtk_range_set_inverted (GtkRange *range ,
gboolean setting );
Ranges normally move from lower to higher values as the
slider moves from top to bottom or left to right. Inverted
ranges have higher values at the top or on the right rather than
on the bottom or left.
Parameters
range
a GtkRange
setting
TRUE to invert the range
gtk_range_get_value ()
gtk_range_get_value
gdouble
gtk_range_get_value (GtkRange *range );
Gets the current value of the range.
Parameters
range
a GtkRange
Returns
current value of the range.
gtk_range_set_value ()
gtk_range_set_value
void
gtk_range_set_value (GtkRange *range ,
gdouble value );
Sets the current value of the range; if the value is outside the
minimum or maximum range values, it will be clamped to fit inside
them. The range emits the “value-changed” signal if the
value changes.
Parameters
range
a GtkRange
value
new value of the range
gtk_range_set_increments ()
gtk_range_set_increments
void
gtk_range_set_increments (GtkRange *range ,
gdouble step ,
gdouble page );
Sets the step and page sizes for the range.
The step size is used when the user clicks the GtkScrollbar
arrows or moves GtkScale via arrow keys. The page size
is used for example when moving via Page Up or Page Down keys.
Parameters
range
a GtkRange
step
step size
page
page size
gtk_range_set_range ()
gtk_range_set_range
void
gtk_range_set_range (GtkRange *range ,
gdouble min ,
gdouble max );
Sets the allowable values in the GtkRange , and clamps the range
value to be between min
and max
. (If the range has a non-zero
page size, it is clamped between min
and max
- page-size.)
Parameters
range
a GtkRange
min
minimum range value
max
maximum range value
gtk_range_get_round_digits ()
gtk_range_get_round_digits
gint
gtk_range_get_round_digits (GtkRange *range );
Gets the number of digits to round the value to when
it changes. See “change-value” .
Parameters
range
a GtkRange
Returns
the number of digits to round to
gtk_range_set_round_digits ()
gtk_range_set_round_digits
void
gtk_range_set_round_digits (GtkRange *range ,
gint round_digits );
Sets the number of digits to round the value to when
it changes. See “change-value” .
Parameters
range
a GtkRange
round_digits
the precision in digits, or -1
gtk_range_get_flippable ()
gtk_range_get_flippable
gboolean
gtk_range_get_flippable (GtkRange *range );
Gets the value set by gtk_range_set_flippable() .
Parameters
range
a GtkRange
Returns
TRUE if the range is flippable
gtk_range_set_flippable ()
gtk_range_set_flippable
void
gtk_range_set_flippable (GtkRange *range ,
gboolean flippable );
If a range is flippable, it will switch its direction if it is
horizontal and its direction is GTK_TEXT_DIR_RTL .
See gtk_widget_get_direction() .
Parameters
range
a GtkRange
flippable
TRUE to make the range flippable
gtk_range_get_range_rect ()
gtk_range_get_range_rect
void
gtk_range_get_range_rect (GtkRange *range ,
GdkRectangle *range_rect );
This function returns the area that contains the range’s trough,
in coordinates relative to range
's origin.
This function is useful mainly for GtkRange subclasses.
Parameters
range
a GtkRange
range_rect
return location for the range rectangle.
[out ]
gtk_range_get_slider_range ()
gtk_range_get_slider_range
void
gtk_range_get_slider_range (GtkRange *range ,
gint *slider_start ,
gint *slider_end );
This function returns sliders range along the long dimension,
in widget->window coordinates.
This function is useful mainly for GtkRange subclasses.
Parameters
range
a GtkRange
slider_start
return location for the slider's
start, or NULL .
[out ][allow-none ]
slider_end
return location for the slider's
end, or NULL .
[out ][allow-none ]
gtk_range_get_slider_size_fixed ()
gtk_range_get_slider_size_fixed
gboolean
gtk_range_get_slider_size_fixed (GtkRange *range );
This function is useful mainly for GtkRange subclasses.
See gtk_range_set_slider_size_fixed() .
Parameters
range
a GtkRange
Returns
whether the range’s slider has a fixed size.
gtk_range_set_slider_size_fixed ()
gtk_range_set_slider_size_fixed
void
gtk_range_set_slider_size_fixed (GtkRange *range ,
gboolean size_fixed );
Sets whether the range’s slider has a fixed size, or a size that
depends on its adjustment’s page size.
This function is useful mainly for GtkRange subclasses.
Parameters
range
a GtkRange
size_fixed
TRUE to make the slider size constant
Property Details
The “adjustment” property
GtkRange:adjustment
“adjustment” GtkAdjustment *
The GtkAdjustment that contains the current value of this range object. Owner: GtkRange
Flags: Read / Write / Construct
The “fill-level” property
GtkRange:fill-level
“fill-level” gdouble
The fill level (e.g. prebuffering of a network stream).
See gtk_range_set_fill_level() .
Owner: GtkRange
Flags: Read / Write
Default value: 1.79769e+308
The “inverted” property
GtkRange:inverted
“inverted” gboolean
Invert direction slider moves to increase range value. Owner: GtkRange
Flags: Read / Write
Default value: FALSE
The “restrict-to-fill-level” property
GtkRange:restrict-to-fill-level
“restrict-to-fill-level” gboolean
The restrict-to-fill-level property controls whether slider
movement is restricted to an upper boundary set by the
fill level. See gtk_range_set_restrict_to_fill_level() .
Owner: GtkRange
Flags: Read / Write
Default value: TRUE
The “round-digits” property
GtkRange:round-digits
“round-digits” gint
The number of digits to round the value to when
it changes, or -1. See “change-value” .
Owner: GtkRange
Flags: Read / Write
Allowed values: >= -1
Default value: -1
The “show-fill-level” property
GtkRange:show-fill-level
“show-fill-level” gboolean
The show-fill-level property controls whether fill level indicator
graphics are displayed on the trough. See
gtk_range_set_show_fill_level() .
Owner: GtkRange
Flags: Read / Write
Default value: FALSE
Signal Details
The “adjust-bounds” signal
GtkRange::adjust-bounds
void
user_function (GtkRange *range,
gdouble value,
gpointer user_data)
Emitted before clamping a value, to give the application a
chance to adjust the bounds.
Parameters
range
the GtkRange that received the signal
value
the value before we clamp
user_data
user data set when the signal handler was connected.
Flags: Run Last
The “change-value” signal
GtkRange::change-value
gboolean
user_function (GtkRange *range,
GtkScrollType scroll,
gdouble value,
gpointer user_data)
The “change-value” signal is emitted when a scroll action is
performed on a range. It allows an application to determine the
type of scroll event that occurred and the resultant new value.
The application can handle the event itself and return TRUE to
prevent further processing. Or, by returning FALSE , it can pass
the event to other handlers until the default GTK+ handler is
reached.
The value parameter is unrounded. An application that overrides
the GtkRange::change-value signal is responsible for clamping the
value to the desired number of decimal digits; the default GTK+
handler clamps the value based on “round-digits” .
Parameters
range
the GtkRange that received the signal
scroll
the type of scroll action that was performed
value
the new value resulting from the scroll action
user_data
user data set when the signal handler was connected.
Returns
TRUE to prevent other handlers from being invoked for
the signal, FALSE to propagate the signal further
Flags: Run Last
The “move-slider” signal
GtkRange::move-slider
void
user_function (GtkRange *range,
GtkScrollType step,
gpointer user_data)
Virtual function that moves the slider. Used for keybindings.
Parameters
range
the GtkRange that received the signal
step
how to move the slider
user_data
user data set when the signal handler was connected.
Flags: Action
The “value-changed” signal
GtkRange::value-changed
void
user_function (GtkRange *range,
gpointer user_data)
Emitted when the range value changes.
Parameters
range
the GtkRange that received the signal
user_data
user data set when the signal handler was connected.
Flags: Run Last
docs/reference/gtk/xml/gtknoselection.xml 0000664 0001750 0001750 00000017160 13617646201 020746 0 ustar mclasen mclasen
]>
GtkNoSelection
3
GTK4 Library
GtkNoSelection
A selection model that does not allow selecting anything
Functions
GtkNoSelection *
gtk_no_selection_new ()
GListModel *
gtk_no_selection_get_model ()
Properties
GListModel * modelRead / Write / Construct Only
Types and Values
GtkNoSelection
Object Hierarchy
GObject
╰── GtkNoSelection
Implemented Interfaces
GtkNoSelection implements
GListModel and GtkSelectionModel.
Includes #include <gtk/gtk.h>
Description
GtkNoSelection is an implementation of the GtkSelectionModel interface
that does not allow selecting anything.
This model is meant to be used as a simple wrapper to GListModels when a
GtkSelectionModel is required.
Functions
gtk_no_selection_new ()
gtk_no_selection_new
GtkNoSelection *
gtk_no_selection_new (GListModel *model );
Creates a new selection to handle model
.
Parameters
model
the GListModel to manage.
[transfer none ]
Returns
a new GtkNoSelection .
[transfer full ][type GtkNoSelection]
gtk_no_selection_get_model ()
gtk_no_selection_get_model
GListModel *
gtk_no_selection_get_model (GtkNoSelection *self );
Gets the model that self
is wrapping.
Parameters
self
a GtkNoSelection
Returns
The model being wrapped.
[transfer none ]
Property Details
The “model” property
GtkNoSelection:model
“model” GListModel *
The model being managed
Owner: GtkNoSelection
Flags: Read / Write / Construct Only
See Also
GtkSelectionModel
docs/reference/gtk/xml/gtkrecentmanager.xml 0000664 0001750 0001750 00000240573 13617646202 021246 0 ustar mclasen mclasen
]>
GtkRecentManager
3
GTK4 Library
GtkRecentManager
Managing recently used files
Functions
GtkRecentManager *
gtk_recent_manager_new ()
GtkRecentManager *
gtk_recent_manager_get_default ()
gboolean
gtk_recent_manager_add_item ()
gboolean
gtk_recent_manager_add_full ()
gboolean
gtk_recent_manager_remove_item ()
GtkRecentInfo *
gtk_recent_manager_lookup_item ()
gboolean
gtk_recent_manager_has_item ()
gboolean
gtk_recent_manager_move_item ()
GList *
gtk_recent_manager_get_items ()
gint
gtk_recent_manager_purge_items ()
GtkRecentInfo *
gtk_recent_info_ref ()
void
gtk_recent_info_unref ()
const gchar *
gtk_recent_info_get_uri ()
const gchar *
gtk_recent_info_get_display_name ()
const gchar *
gtk_recent_info_get_description ()
const gchar *
gtk_recent_info_get_mime_type ()
time_t
gtk_recent_info_get_added ()
time_t
gtk_recent_info_get_modified ()
time_t
gtk_recent_info_get_visited ()
gboolean
gtk_recent_info_get_private_hint ()
gboolean
gtk_recent_info_get_application_info ()
gchar **
gtk_recent_info_get_applications ()
gchar *
gtk_recent_info_last_application ()
gboolean
gtk_recent_info_has_application ()
GAppInfo *
gtk_recent_info_create_app_info ()
gchar **
gtk_recent_info_get_groups ()
gboolean
gtk_recent_info_has_group ()
GIcon *
gtk_recent_info_get_gicon ()
gchar *
gtk_recent_info_get_short_name ()
gchar *
gtk_recent_info_get_uri_display ()
gint
gtk_recent_info_get_age ()
gboolean
gtk_recent_info_is_local ()
gboolean
gtk_recent_info_exists ()
gboolean
gtk_recent_info_match ()
Properties
gchar * filenameRead / Write / Construct Only
gint sizeRead
Signals
void changed Run First
Types and Values
struct GtkRecentManager
GtkRecentInfo
struct GtkRecentData
#define GTK_RECENT_MANAGER_ERROR
enum GtkRecentManagerError
Object Hierarchy
GObject
╰── GtkRecentManager
Includes #include <gtk/gtk.h>
Description
GtkRecentManager provides a facility for adding, removing and
looking up recently used files. Each recently used file is
identified by its URI, and has meta-data associated to it, like
the names and command lines of the applications that have
registered it, the number of time each application has registered
the same file, the mime type of the file and whether the file
should be displayed only by the applications that have
registered it.
The recently used files list is per user.
The GtkRecentManager acts like a database of all the recently
used files. You can create new GtkRecentManager objects, but
it is more efficient to use the default manager created by GTK+.
Adding a new recently used file is as simple as:
The GtkRecentManager will try to gather all the needed information
from the file itself through GIO.
Looking up the meta-data associated with a recently used file
given its URI requires calling gtk_recent_manager_lookup_item() :
message);
g_error_free (error);
}
else
{
// Use the info object
gtk_recent_info_unref (info);
}
]]>
In order to retrieve the list of recently used files, you can use
gtk_recent_manager_get_items() , which returns a list of GtkRecentInfo-structs .
A GtkRecentManager is the model used to populate the contents of
one, or more GtkRecentChooser implementations.
Note that the maximum age of the recently used files list is
controllable through the “gtk-recent-files-max-age”
property.
Recently used files are supported since GTK+ 2.10.
Functions
gtk_recent_manager_new ()
gtk_recent_manager_new
GtkRecentManager *
gtk_recent_manager_new (void );
Creates a new recent manager object. Recent manager objects are used to
handle the list of recently used resources. A GtkRecentManager object
monitors the recently used resources list, and emits the “changed” signal
each time something inside the list changes.
GtkRecentManager objects are expensive: be sure to create them only when
needed. You should use gtk_recent_manager_get_default() instead.
Returns
A newly created GtkRecentManager object
gtk_recent_manager_get_default ()
gtk_recent_manager_get_default
GtkRecentManager *
gtk_recent_manager_get_default (void );
Gets a unique instance of GtkRecentManager , that you can share
in your application without caring about memory management.
Returns
A unique GtkRecentManager . Do not ref or
unref it.
[transfer none ]
gtk_recent_manager_add_item ()
gtk_recent_manager_add_item
gboolean
gtk_recent_manager_add_item (GtkRecentManager *manager ,
const gchar *uri );
Adds a new resource, pointed by uri
, into the recently used
resources list.
This function automatically retrieves some of the needed
metadata and setting other metadata to common default values;
it then feeds the data to gtk_recent_manager_add_full() .
See gtk_recent_manager_add_full() if you want to explicitly
define the metadata for the resource pointed by uri
.
Parameters
manager
a GtkRecentManager
uri
a valid URI
Returns
TRUE if the new item was successfully added
to the recently used resources list
gtk_recent_manager_add_full ()
gtk_recent_manager_add_full
gboolean
gtk_recent_manager_add_full (GtkRecentManager *manager ,
const gchar *uri ,
const GtkRecentData *recent_data );
Adds a new resource, pointed by uri
, into the recently used
resources list, using the metadata specified inside the
GtkRecentData passed in recent_data
.
The passed URI will be used to identify this resource inside the
list.
In order to register the new recently used resource, metadata about
the resource must be passed as well as the URI; the metadata is
stored in a GtkRecentData , which must contain the MIME
type of the resource pointed by the URI; the name of the application
that is registering the item, and a command line to be used when
launching the item.
Optionally, a GtkRecentData might contain a UTF-8 string
to be used when viewing the item instead of the last component of
the URI; a short description of the item; whether the item should
be considered private - that is, should be displayed only by the
applications that have registered it.
Parameters
manager
a GtkRecentManager
uri
a valid URI
recent_data
metadata of the resource
Returns
TRUE if the new item was successfully added to the
recently used resources list, FALSE otherwise
gtk_recent_manager_remove_item ()
gtk_recent_manager_remove_item
gboolean
gtk_recent_manager_remove_item (GtkRecentManager *manager ,
const gchar *uri ,
GError **error );
Removes a resource pointed by uri
from the recently used resources
list handled by a recent manager.
Parameters
manager
a GtkRecentManager
uri
the URI of the item you wish to remove
error
return location for a GError , or NULL .
[allow-none ]
Returns
TRUE if the item pointed by uri
has been successfully
removed by the recently used resources list, and FALSE otherwise
gtk_recent_manager_lookup_item ()
gtk_recent_manager_lookup_item
GtkRecentInfo *
gtk_recent_manager_lookup_item (GtkRecentManager *manager ,
const gchar *uri ,
GError **error );
Searches for a URI inside the recently used resources list, and
returns a GtkRecentInfo containing informations about the resource
like its MIME type, or its display name.
Parameters
manager
a GtkRecentManager
uri
a URI
error
a return location for a GError , or NULL .
[allow-none ]
Returns
a GtkRecentInfo containing information
about the resource pointed by uri
, or NULL if the URI was
not registered in the recently used resources list. Free with
gtk_recent_info_unref() .
[nullable ]
gtk_recent_manager_has_item ()
gtk_recent_manager_has_item
gboolean
gtk_recent_manager_has_item (GtkRecentManager *manager ,
const gchar *uri );
Checks whether there is a recently used resource registered
with uri
inside the recent manager.
Parameters
manager
a GtkRecentManager
uri
a URI
Returns
TRUE if the resource was found, FALSE otherwise
gtk_recent_manager_move_item ()
gtk_recent_manager_move_item
gboolean
gtk_recent_manager_move_item (GtkRecentManager *manager ,
const gchar *uri ,
const gchar *new_uri ,
GError **error );
Changes the location of a recently used resource from uri
to new_uri
.
Please note that this function will not affect the resource pointed
by the URIs, but only the URI used in the recently used resources list.
Parameters
manager
a GtkRecentManager
uri
the URI of a recently used resource
new_uri
the new URI of the recently used resource, or
NULL to remove the item pointed by uri
in the list.
[allow-none ]
error
a return location for a GError , or NULL .
[allow-none ]
Returns
TRUE on success
gtk_recent_manager_get_items ()
gtk_recent_manager_get_items
GList *
gtk_recent_manager_get_items (GtkRecentManager *manager );
Gets the list of recently used resources.
Parameters
manager
a GtkRecentManager
Returns
a list of
newly allocated GtkRecentInfo objects. Use
gtk_recent_info_unref() on each item inside the list, and then
free the list itself using g_list_free() .
[element-type GtkRecentInfo][transfer full ]
gtk_recent_manager_purge_items ()
gtk_recent_manager_purge_items
gint
gtk_recent_manager_purge_items (GtkRecentManager *manager ,
GError **error );
Purges every item from the recently used resources list.
Parameters
manager
a GtkRecentManager
error
a return location for a GError , or NULL .
[allow-none ]
Returns
the number of items that have been removed from the
recently used resources list
gtk_recent_info_ref ()
gtk_recent_info_ref
GtkRecentInfo *
gtk_recent_info_ref (GtkRecentInfo *info );
Increases the reference count of recent_info
by one.
Parameters
info
a GtkRecentInfo
Returns
the recent info object with its reference count
increased by one
gtk_recent_info_unref ()
gtk_recent_info_unref
void
gtk_recent_info_unref (GtkRecentInfo *info );
Decreases the reference count of info
by one. If the reference
count reaches zero, info
is deallocated, and the memory freed.
Parameters
info
a GtkRecentInfo
gtk_recent_info_get_uri ()
gtk_recent_info_get_uri
const gchar *
gtk_recent_info_get_uri (GtkRecentInfo *info );
Gets the URI of the resource.
Parameters
info
a GtkRecentInfo
Returns
the URI of the resource. The returned string is
owned by the recent manager, and should not be freed.
gtk_recent_info_get_display_name ()
gtk_recent_info_get_display_name
const gchar *
gtk_recent_info_get_display_name (GtkRecentInfo *info );
Gets the name of the resource. If none has been defined, the basename
of the resource is obtained.
Parameters
info
a GtkRecentInfo
Returns
the display name of the resource. The returned string
is owned by the recent manager, and should not be freed.
gtk_recent_info_get_description ()
gtk_recent_info_get_description
const gchar *
gtk_recent_info_get_description (GtkRecentInfo *info );
Gets the (short) description of the resource.
Parameters
info
a GtkRecentInfo
Returns
the description of the resource. The returned string
is owned by the recent manager, and should not be freed.
gtk_recent_info_get_mime_type ()
gtk_recent_info_get_mime_type
const gchar *
gtk_recent_info_get_mime_type (GtkRecentInfo *info );
Gets the MIME type of the resource.
Parameters
info
a GtkRecentInfo
Returns
the MIME type of the resource. The returned string
is owned by the recent manager, and should not be freed.
gtk_recent_info_get_added ()
gtk_recent_info_get_added
time_t
gtk_recent_info_get_added (GtkRecentInfo *info );
Gets the timestamp (seconds from system’s Epoch) when the resource
was added to the recently used resources list.
Parameters
info
a GtkRecentInfo
Returns
the number of seconds elapsed from system’s Epoch when
the resource was added to the list, or -1 on failure.
gtk_recent_info_get_modified ()
gtk_recent_info_get_modified
time_t
gtk_recent_info_get_modified (GtkRecentInfo *info );
Gets the timestamp (seconds from system’s Epoch) when the meta-data
for the resource was last modified.
Parameters
info
a GtkRecentInfo
Returns
the number of seconds elapsed from system’s Epoch when
the resource was last modified, or -1 on failure.
gtk_recent_info_get_visited ()
gtk_recent_info_get_visited
time_t
gtk_recent_info_get_visited (GtkRecentInfo *info );
Gets the timestamp (seconds from system’s Epoch) when the meta-data
for the resource was last visited.
Parameters
info
a GtkRecentInfo
Returns
the number of seconds elapsed from system’s Epoch when
the resource was last visited, or -1 on failure.
gtk_recent_info_get_private_hint ()
gtk_recent_info_get_private_hint
gboolean
gtk_recent_info_get_private_hint (GtkRecentInfo *info );
Gets the value of the “private” flag. Resources in the recently used
list that have this flag set to TRUE should only be displayed by the
applications that have registered them.
Parameters
info
a GtkRecentInfo
Returns
TRUE if the private flag was found, FALSE otherwise
gtk_recent_info_get_application_info ()
gtk_recent_info_get_application_info
gboolean
gtk_recent_info_get_application_info (GtkRecentInfo *info ,
const gchar *app_name ,
const gchar **app_exec ,
guint *count ,
time_t *time_ );
Gets the data regarding the application that has registered the resource
pointed by info
.
If the command line contains any escape characters defined inside the
storage specification, they will be expanded.
Parameters
info
a GtkRecentInfo
app_name
the name of the application that has registered this item
app_exec
return location for the string containing
the command line.
[transfer none ][out ]
count
return location for the number of times this item was registered.
[out ]
time_
return location for the timestamp this item was last registered
for this application.
[out ]
Returns
TRUE if an application with app_name
has registered this
resource inside the recently used list, or FALSE otherwise. The
app_exec
string is owned by the GtkRecentInfo and should not be
modified or freed
gtk_recent_info_get_applications ()
gtk_recent_info_get_applications
gchar **
gtk_recent_info_get_applications (GtkRecentInfo *info ,
gsize *length );
Retrieves the list of applications that have registered this resource.
Parameters
info
a GtkRecentInfo
length
return location for the length of the returned list.
[out ][allow-none ]
Returns
a newly allocated NULL -terminated array of strings.
Use g_strfreev() to free it.
[array length=length zero-terminated=1][transfer full ]
gtk_recent_info_last_application ()
gtk_recent_info_last_application
gchar *
gtk_recent_info_last_application (GtkRecentInfo *info );
Gets the name of the last application that have registered the
recently used resource represented by info
.
Parameters
info
a GtkRecentInfo
Returns
an application name. Use g_free() to free it.
gtk_recent_info_has_application ()
gtk_recent_info_has_application
gboolean
gtk_recent_info_has_application (GtkRecentInfo *info ,
const gchar *app_name );
Checks whether an application registered this resource using app_name
.
Parameters
info
a GtkRecentInfo
app_name
a string containing an application name
Returns
TRUE if an application with name app_name
was found,
FALSE otherwise
gtk_recent_info_create_app_info ()
gtk_recent_info_create_app_info
GAppInfo *
gtk_recent_info_create_app_info (GtkRecentInfo *info ,
const gchar *app_name ,
GError **error );
Creates a GAppInfo for the specified GtkRecentInfo
Parameters
info
a GtkRecentInfo
app_name
the name of the application that should
be mapped to a GAppInfo ; if NULL is used then the default
application for the MIME type is used.
[allow-none ]
error
return location for a GError , or NULL .
[allow-none ]
Returns
the newly created GAppInfo , or NULL .
In case of error, error
will be set either with a
GTK_RECENT_MANAGER_ERROR or a G_IO_ERROR .
[nullable ][transfer full ]
gtk_recent_info_get_groups ()
gtk_recent_info_get_groups
gchar **
gtk_recent_info_get_groups (GtkRecentInfo *info ,
gsize *length );
Returns all groups registered for the recently used item info
.
The array of returned group names will be NULL terminated, so
length might optionally be NULL .
Parameters
info
a GtkRecentInfo
length
return location for the number of groups returned.
[out ][allow-none ]
Returns
a newly allocated NULL terminated array of strings.
Use g_strfreev() to free it.
[array length=length zero-terminated=1][transfer full ]
gtk_recent_info_has_group ()
gtk_recent_info_has_group
gboolean
gtk_recent_info_has_group (GtkRecentInfo *info ,
const gchar *group_name );
Checks whether group_name
appears inside the groups
registered for the recently used item info
.
Parameters
info
a GtkRecentInfo
group_name
name of a group
Returns
TRUE if the group was found
gtk_recent_info_get_gicon ()
gtk_recent_info_get_gicon
GIcon *
gtk_recent_info_get_gicon (GtkRecentInfo *info );
Retrieves the icon associated to the resource MIME type.
Parameters
info
a GtkRecentInfo
Returns
a GIcon containing the icon, or NULL .
Use g_object_unref() when finished using the icon.
[nullable ][transfer full ]
gtk_recent_info_get_short_name ()
gtk_recent_info_get_short_name
gchar *
gtk_recent_info_get_short_name (GtkRecentInfo *info );
Computes a valid UTF-8 string that can be used as the
name of the item in a menu or list. For example, calling
this function on an item that refers to
“file:///foo/bar.txt” will yield “bar.txt”.
Parameters
info
an GtkRecentInfo
Returns
A newly-allocated string in UTF-8 encoding
free it with g_free()
gtk_recent_info_get_uri_display ()
gtk_recent_info_get_uri_display
gchar *
gtk_recent_info_get_uri_display (GtkRecentInfo *info );
Gets a displayable version of the resource’s URI. If the resource
is local, it returns a local path; if the resource is not local,
it returns the UTF-8 encoded content of gtk_recent_info_get_uri() .
Parameters
info
a GtkRecentInfo
Returns
a newly allocated UTF-8 string containing the
resource’s URI or NULL . Use g_free() when done using it.
[nullable ]
gtk_recent_info_get_age ()
gtk_recent_info_get_age
gint
gtk_recent_info_get_age (GtkRecentInfo *info );
Gets the number of days elapsed since the last update
of the resource pointed by info
.
Parameters
info
a GtkRecentInfo
Returns
a positive integer containing the number of days
elapsed since the time this resource was last modified
gtk_recent_info_is_local ()
gtk_recent_info_is_local
gboolean
gtk_recent_info_is_local (GtkRecentInfo *info );
Checks whether the resource is local or not by looking at the
scheme of its URI.
Parameters
info
a GtkRecentInfo
Returns
TRUE if the resource is local
gtk_recent_info_exists ()
gtk_recent_info_exists
gboolean
gtk_recent_info_exists (GtkRecentInfo *info );
Checks whether the resource pointed by info
still exists.
At the moment this check is done only on resources pointing
to local files.
Parameters
info
a GtkRecentInfo
Returns
TRUE if the resource exists
gtk_recent_info_match ()
gtk_recent_info_match
gboolean
gtk_recent_info_match (GtkRecentInfo *info_a ,
GtkRecentInfo *info_b );
Checks whether two GtkRecentInfo point to the same
resource.
Parameters
info_a
a GtkRecentInfo
info_b
a GtkRecentInfo
Returns
TRUE if both GtkRecentInfo point to the same
resource, FALSE otherwise
Property Details
The “filename” property
GtkRecentManager:filename
“filename” gchar *
The full path to the file to be used to store and read the
recently used resources list
Owner: GtkRecentManager
Flags: Read / Write / Construct Only
Default value: NULL
The “size” property
GtkRecentManager:size
“size” gint
The size of the recently used resources list.
Owner: GtkRecentManager
Flags: Read
Allowed values: >= -1
Default value: 0
Signal Details
The “changed” signal
GtkRecentManager::changed
void
user_function (GtkRecentManager *recent_manager,
gpointer user_data)
Emitted when the current recently used resources manager changes
its contents, either by calling gtk_recent_manager_add_item() or
by another application.
Parameters
recent_manager
the recent manager
user_data
user data set when the signal handler was connected.
Flags: Run First
See Also
GBookmarkFile , GtkSettings , GtkRecentChooser
docs/reference/gtk/xml/gtksingleselection.xml 0000664 0001750 0001750 00000061044 13617646201 021613 0 ustar mclasen mclasen
]>
GtkSingleSelection
3
GTK4 Library
GtkSingleSelection
A selection model that allows selecting a single item
Functions
GtkSingleSelection *
gtk_single_selection_new ()
GListModel *
gtk_single_selection_get_model ()
guint
gtk_single_selection_get_selected ()
void
gtk_single_selection_set_selected ()
gpointer
gtk_single_selection_get_selected_item ()
gboolean
gtk_single_selection_get_autoselect ()
void
gtk_single_selection_set_autoselect ()
gboolean
gtk_single_selection_get_can_unselect ()
void
gtk_single_selection_set_can_unselect ()
Properties
gboolean autoselectRead / Write
gboolean can-unselectRead / Write
GListModel * modelRead / Write / Construct Only
guint selectedRead / Write
GObject * selected-itemRead
Types and Values
GtkSingleSelection
#define GTK_INVALID_LIST_POSITION
Object Hierarchy
GObject
╰── GtkSingleSelection
Implemented Interfaces
GtkSingleSelection implements
GListModel and GtkSelectionModel.
Includes #include <gtk/gtk.h>
Description
GtkSingleSelection is an implementation of the GtkSelectionModel interface
that allows selecting a single element. It is the default selection method
used by list widgets in GTK.
Functions
gtk_single_selection_new ()
gtk_single_selection_new
GtkSingleSelection *
gtk_single_selection_new (GListModel *model );
Creates a new selection to handle model
.
Parameters
model
the GListModel to manage.
[transfer none ]
Returns
a new GtkSingleSelection .
[transfer full ][type GtkSingleSelection]
gtk_single_selection_get_model ()
gtk_single_selection_get_model
GListModel *
gtk_single_selection_get_model (GtkSingleSelection *self );
Gets the model that self
is wrapping.
Parameters
self
a GtkSingleSelection
Returns
The model being wrapped.
[transfer none ]
gtk_single_selection_get_selected ()
gtk_single_selection_get_selected
guint
gtk_single_selection_get_selected (GtkSingleSelection *self );
Gets the position of the selected item. If no item is selected,
GTK_INVALID_LIST_POSITION is returned.
Parameters
self
a GtkSingleSelection
Returns
The position of the selected item
gtk_single_selection_set_selected ()
gtk_single_selection_set_selected
void
gtk_single_selection_set_selected (GtkSingleSelection *self ,
guint position );
Selects the item at the given position. If the list does not have an item at
position
or GTK_INVALID_LIST_POSITION is given, the behavior depends on the
value of the GtkSingleSelection:autoselect property: If it is set, no change
will occur and the old item will stay selected. If it is unset, the selection
will be unset and no item will be selected.
Parameters
self
a GtkSingleSelection
position
the item to select or GTK_INVALID_LIST_POSITION
gtk_single_selection_get_selected_item ()
gtk_single_selection_get_selected_item
gpointer
gtk_single_selection_get_selected_item
(GtkSingleSelection *self );
Gets the selected item. If no item is selected, NULL is returned.
Parameters
self
a GtkSingleSelection
Returns
The selected item.
[transfer none ]
gtk_single_selection_get_autoselect ()
gtk_single_selection_get_autoselect
gboolean
gtk_single_selection_get_autoselect (GtkSingleSelection *self );
Checks if autoselect has been enabled or disabled via
gtk_single_selection_set_autoselect() .
Parameters
self
a GtkSingleSelection
Returns
TRUE if autoselect is enabled
gtk_single_selection_set_autoselect ()
gtk_single_selection_set_autoselect
void
gtk_single_selection_set_autoselect (GtkSingleSelection *self ,
gboolean autoselect );
If autoselect
is TRUE , self
will enforce that an item is always
selected. It will select a new item when the currently selected
item is deleted and it will disallow unselecting the current item.
Parameters
self
a GtkSingleSelection
autoselect
TRUE to always select an item
gtk_single_selection_get_can_unselect ()
gtk_single_selection_get_can_unselect
gboolean
gtk_single_selection_get_can_unselect (GtkSingleSelection *self );
If TRUE , gtk_selection_model_unselect_item() is supported and allows
unselecting the selected item.
Parameters
self
a GtkSingleSelection
Returns
TRUE to support unselecting
gtk_single_selection_set_can_unselect ()
gtk_single_selection_set_can_unselect
void
gtk_single_selection_set_can_unselect (GtkSingleSelection *self ,
gboolean can_unselect );
If TRUE , unselecting the current item via
gtk_selection_model_unselect_item() is supported.
Note that setting GtkSingleSelection:autoselect will cause the
unselecting to not work, so it practically makes no sense to set
both at the same time the same time..
Parameters
self
a GtkSingleSelection
can_unselect
TRUE to allow unselecting
Property Details
The “autoselect” property
GtkSingleSelection:autoselect
“autoselect” gboolean
If the selection will always select an item
Owner: GtkSingleSelection
Flags: Read / Write
Default value: TRUE
The “can-unselect” property
GtkSingleSelection:can-unselect
“can-unselect” gboolean
If unselecting the selected item is allowed
Owner: GtkSingleSelection
Flags: Read / Write
Default value: FALSE
The “model” property
GtkSingleSelection:model
“model” GListModel *
The model being managed
Owner: GtkSingleSelection
Flags: Read / Write / Construct Only
The “selected” property
GtkSingleSelection:selected
“selected” guint
Position of the selected item
Owner: GtkSingleSelection
Flags: Read / Write
Default value: 4294967295
The “selected-item” property
GtkSingleSelection:selected-item
“selected-item” GObject *
The selected item
Owner: GtkSingleSelection
Flags: Read
See Also
GtkSelectionModel
docs/reference/gtk/xml/gtktreednd.xml 0000664 0001750 0001750 00000057611 13617646203 020060 0 ustar mclasen mclasen
]>
GtkTreeView drag-and-drop
3
GTK4 Library
GtkTreeView drag-and-drop
Interfaces for drag-and-drop support in GtkTreeView
Functions
gboolean
gtk_tree_drag_source_drag_data_delete ()
gboolean
gtk_tree_drag_source_drag_data_get ()
gboolean
gtk_tree_drag_source_row_draggable ()
gboolean
gtk_tree_drag_dest_drag_data_received ()
gboolean
gtk_tree_drag_dest_row_drop_possible ()
gboolean
gtk_tree_set_row_drag_data ()
gboolean
gtk_tree_get_row_drag_data ()
Types and Values
GtkTreeDragSource
struct GtkTreeDragSourceIface
GtkTreeDragDest
struct GtkTreeDragDestIface
Object Hierarchy
GInterface
├── GtkTreeDragDest
╰── GtkTreeDragSource
Known Implementations
GtkTreeDragSource is implemented by
GtkListStore, GtkTreeModelFilter, GtkTreeModelSort and GtkTreeStore.
GtkTreeDragDest is implemented by
GtkListStore and GtkTreeStore.
Includes #include <gtk/gtk.h>
Description
GTK+ supports Drag-and-Drop in tree views with a high-level and a low-level
API.
The low-level API consists of the GTK+ DND API, augmented by some treeview
utility functions: gtk_tree_view_set_drag_dest_row() ,
gtk_tree_view_get_drag_dest_row() , gtk_tree_view_get_dest_row_at_pos() ,
gtk_tree_view_create_row_drag_icon() , gtk_tree_set_row_drag_data() and
gtk_tree_get_row_drag_data() . This API leaves a lot of flexibility, but
nothing is done automatically, and implementing advanced features like
hover-to-open-rows or autoscrolling on top of this API is a lot of work.
On the other hand, if you write to the high-level API, then all the
bookkeeping of rows is done for you, as well as things like hover-to-open
and auto-scroll, but your models have to implement the
GtkTreeDragSource and GtkTreeDragDest interfaces.
Functions
gtk_tree_drag_source_drag_data_delete ()
gtk_tree_drag_source_drag_data_delete
gboolean
gtk_tree_drag_source_drag_data_delete (GtkTreeDragSource *drag_source ,
GtkTreePath *path );
Asks the GtkTreeDragSource to delete the row at path
, because
it was moved somewhere else via drag-and-drop. Returns FALSE
if the deletion fails because path
no longer exists, or for
some model-specific reason. Should robustly handle a path
no
longer found in the model!
Parameters
drag_source
a GtkTreeDragSource
path
row that was being dragged
Returns
TRUE if the row was successfully deleted
gtk_tree_drag_source_drag_data_get ()
gtk_tree_drag_source_drag_data_get
gboolean
gtk_tree_drag_source_drag_data_get (GtkTreeDragSource *drag_source ,
GtkTreePath *path ,
GtkSelectionData *selection_data );
Asks the GtkTreeDragSource to fill in selection_data
with a
representation of the row at path
. selection_data->target
gives
the required type of the data. Should robustly handle a path
no
longer found in the model!
Parameters
drag_source
a GtkTreeDragSource
path
row that was dragged
selection_data
a GtkSelectionData to fill with data
from the dragged row
Returns
TRUE if data of the required type was provided
gtk_tree_drag_source_row_draggable ()
gtk_tree_drag_source_row_draggable
gboolean
gtk_tree_drag_source_row_draggable (GtkTreeDragSource *drag_source ,
GtkTreePath *path );
Asks the GtkTreeDragSource whether a particular row can be used as
the source of a DND operation. If the source doesn’t implement
this interface, the row is assumed draggable.
Parameters
drag_source
a GtkTreeDragSource
path
row on which user is initiating a drag
Returns
TRUE if the row can be dragged
gtk_tree_drag_dest_drag_data_received ()
gtk_tree_drag_dest_drag_data_received
gboolean
gtk_tree_drag_dest_drag_data_received (GtkTreeDragDest *drag_dest ,
GtkTreePath *dest ,
GtkSelectionData *selection_data );
Asks the GtkTreeDragDest to insert a row before the path dest
,
deriving the contents of the row from selection_data
. If dest
is
outside the tree so that inserting before it is impossible, FALSE
will be returned. Also, FALSE may be returned if the new row is
not created for some model-specific reason. Should robustly handle
a dest
no longer found in the model!
Parameters
drag_dest
a GtkTreeDragDest
dest
row to drop in front of
selection_data
data to drop
Returns
whether a new row was created before position dest
gtk_tree_drag_dest_row_drop_possible ()
gtk_tree_drag_dest_row_drop_possible
gboolean
gtk_tree_drag_dest_row_drop_possible (GtkTreeDragDest *drag_dest ,
GtkTreePath *dest_path ,
GtkSelectionData *selection_data );
Determines whether a drop is possible before the given dest_path
,
at the same depth as dest_path
. i.e., can we drop the data in
selection_data
at that location. dest_path
does not have to
exist; the return value will almost certainly be FALSE if the
parent of dest_path
doesn’t exist, though.
Parameters
drag_dest
a GtkTreeDragDest
dest_path
destination row
selection_data
the data being dragged
Returns
TRUE if a drop is possible before dest_path
gtk_tree_set_row_drag_data ()
gtk_tree_set_row_drag_data
gboolean
gtk_tree_set_row_drag_data (GtkSelectionData *selection_data ,
GtkTreeModel *tree_model ,
GtkTreePath *path );
Sets selection data of target type GTK_TREE_MODEL_ROW . Normally used
in a drag_data_get handler.
Parameters
selection_data
some GtkSelectionData
tree_model
a GtkTreeModel
path
a row in tree_model
Returns
TRUE if the GtkSelectionData had the proper target type to allow us to set a tree row
gtk_tree_get_row_drag_data ()
gtk_tree_get_row_drag_data
gboolean
gtk_tree_get_row_drag_data (GtkSelectionData *selection_data ,
GtkTreeModel **tree_model ,
GtkTreePath **path );
Obtains a tree_model
and path
from selection data of target type
GTK_TREE_MODEL_ROW . Normally called from a drag_data_received handler.
This function can only be used if selection_data
originates from the same
process that’s calling this function, because a pointer to the tree model
is being passed around. If you aren’t in the same process, then you'll
get memory corruption. In the GtkTreeDragDest drag_data_received handler,
you can assume that selection data of type GTK_TREE_MODEL_ROW is
in from the current process. The returned path must be freed with
gtk_tree_path_free() .
Parameters
selection_data
a GtkSelectionData
tree_model
a GtkTreeModel .
[nullable ][optional ][transfer none ][out ]
path
row in tree_model
.
[nullable ][optional ][out ]
Returns
TRUE if selection_data
had target type GTK_TREE_MODEL_ROW and
is otherwise valid
docs/reference/gtk/xml/gtkbuildable.xml 0000664 0001750 0001750 00000103427 13617646201 020351 0 ustar mclasen mclasen
]>
GtkBuildable
3
GTK4 Library
GtkBuildable
Interface for objects that can be built by GtkBuilder
Functions
void
gtk_buildable_set_name ()
const gchar *
gtk_buildable_get_name ()
void
gtk_buildable_add_child ()
void
gtk_buildable_set_buildable_property ()
GObject *
gtk_buildable_construct_child ()
gboolean
gtk_buildable_custom_tag_start ()
void
gtk_buildable_custom_tag_end ()
void
gtk_buildable_custom_finished ()
void
gtk_buildable_parser_finished ()
GObject *
gtk_buildable_get_internal_child ()
Types and Values
GtkBuildable
struct GtkBuildableIface
Object Hierarchy
GInterface
╰── GtkBuildable
Prerequisites
GtkBuildable requires
GObject.
Known Implementations
GtkBuildable is implemented by
GtkAboutDialog, GtkAccelLabel, GtkActionBar, GtkAppChooserButton, GtkAppChooserDialog, GtkAppChooserWidget, GtkApplicationWindow, GtkAspectFrame, GtkAssistant, GtkBin, GtkBox, GtkButton, GtkCalendar, GtkCellArea, GtkCellAreaBox, GtkCellView, GtkCheckButton, GtkColorButton, GtkColorChooserDialog, GtkColorChooserWidget, GtkComboBox, GtkComboBoxText, GtkConstraintLayout, GtkContainer, GtkDialog, GtkDragIcon, GtkDrawingArea, GtkEmojiChooser, GtkEntry, GtkEntryCompletion, GtkExpander, GtkFileChooserButton, GtkFileChooserDialog, GtkFileChooserWidget, GtkFileFilter, GtkFixed, GtkFlowBox, GtkFlowBoxChild, GtkFontButton, GtkFontChooserDialog, GtkFontChooserWidget, GtkFrame, GtkGLArea, GtkGrid, GtkHeaderBar, GtkIconView, GtkImage, GtkInfoBar, GtkLabel, GtkLevelBar, GtkLinkButton, GtkListBox, GtkListBoxRow, GtkListStore, GtkLockButton, GtkMediaControls, GtkMenuButton, GtkMessageDialog, GtkNotebook, GtkOverlay, GtkPageSetupUnixDialog, GtkPaned, GtkPasswordEntry, GtkPicture, GtkPopover, GtkPopoverMenu, GtkPopoverMenuBar, GtkPrintUnixDialog, GtkProgressBar, GtkRadioButton, GtkRange, GtkRevealer, GtkScale, GtkScaleButton, GtkScrollbar, GtkScrolledWindow, GtkSearchBar, GtkSearchEntry, GtkSeparator, GtkShortcutLabel, GtkShortcutsGroup, GtkShortcutsSection, GtkShortcutsShortcut, GtkShortcutsWindow, GtkSizeGroup, GtkSpinButton, GtkSpinner, GtkStack, GtkStackSidebar, GtkStackSwitcher, GtkStatusbar, GtkSwitch, GtkText, GtkTextTagTable, GtkTextView, GtkToggleButton, GtkTreeStore, GtkTreeView, GtkTreeViewColumn, GtkVideo, GtkViewport, GtkVolumeButton, GtkWidget and GtkWindow.
Includes #include <gtk/gtk.h>
Description
GtkBuildable allows objects to extend and customize their deserialization
from GtkBuilder UI descriptions.
The interface includes methods for setting names and properties of objects,
parsing custom tags and constructing child objects.
The GtkBuildable interface is implemented by all widgets and
many of the non-widget objects that are provided by GTK+. The
main user of this interface is GtkBuilder . There should be
very little need for applications to call any of these functions directly.
An object only needs to implement this interface if it needs to extend the
GtkBuilder format or run any extra routines at deserialization time.
Functions
gtk_buildable_set_name ()
gtk_buildable_set_name
void
gtk_buildable_set_name (GtkBuildable *buildable ,
const gchar *name );
Sets the name of the buildable
object.
Parameters
buildable
a GtkBuildable
name
name to set
gtk_buildable_get_name ()
gtk_buildable_get_name
const gchar *
gtk_buildable_get_name (GtkBuildable *buildable );
Gets the name of the buildable
object.
GtkBuilder sets the name based on the
GtkBuilder UI definition
used to construct the buildable
.
Parameters
buildable
a GtkBuildable
Returns
the name set with gtk_buildable_set_name()
gtk_buildable_add_child ()
gtk_buildable_add_child
void
gtk_buildable_add_child (GtkBuildable *buildable ,
GtkBuilder *builder ,
GObject *child ,
const gchar *type );
Adds a child to buildable
. type
is an optional string
describing how the child should be added.
Parameters
buildable
a GtkBuildable
builder
a GtkBuilder
child
child to add
type
kind of child or NULL .
[allow-none ]
gtk_buildable_set_buildable_property ()
gtk_buildable_set_buildable_property
void
gtk_buildable_set_buildable_property (GtkBuildable *buildable ,
GtkBuilder *builder ,
const gchar *name ,
const GValue *value );
Sets the property name name
to value
on the buildable
object.
Parameters
buildable
a GtkBuildable
builder
a GtkBuilder
name
name of property
value
value of property
gtk_buildable_construct_child ()
gtk_buildable_construct_child
GObject *
gtk_buildable_construct_child (GtkBuildable *buildable ,
GtkBuilder *builder ,
const gchar *name );
Constructs a child of buildable
with the name name
.
GtkBuilder calls this function if a “constructor” has been
specified in the UI definition.
Parameters
buildable
A GtkBuildable
builder
GtkBuilder used to construct this object
name
name of child to construct
Returns
the constructed child.
[transfer full ]
gtk_buildable_custom_tag_start ()
gtk_buildable_custom_tag_start
gboolean
gtk_buildable_custom_tag_start (GtkBuildable *buildable ,
GtkBuilder *builder ,
GObject *child ,
const gchar *tagname ,
GtkBuildableParser *parser ,
gpointer *data );
This is called for each unknown element under <child>.
Parameters
buildable
a GtkBuildable
builder
a GtkBuilder used to construct this object
child
child object or NULL for non-child tags.
[allow-none ]
tagname
name of tag
parser
a GMarkupParser to fill in.
[out ]
data
return location for user data that will be passed in
to parser functions.
[out ]
Returns
TRUE if an object has a custom implementation, FALSE
if it doesn't.
gtk_buildable_custom_tag_end ()
gtk_buildable_custom_tag_end
void
gtk_buildable_custom_tag_end (GtkBuildable *buildable ,
GtkBuilder *builder ,
GObject *child ,
const gchar *tagname ,
gpointer data );
This is called at the end of each custom element handled by
the buildable.
Parameters
buildable
A GtkBuildable
builder
GtkBuilder used to construct this object
child
child object or NULL for non-child tags.
[allow-none ]
tagname
name of tag
data
user data that will be passed in to parser functions
gtk_buildable_custom_finished ()
gtk_buildable_custom_finished
void
gtk_buildable_custom_finished (GtkBuildable *buildable ,
GtkBuilder *builder ,
GObject *child ,
const gchar *tagname ,
gpointer data );
This is similar to gtk_buildable_parser_finished() but is
called once for each custom tag handled by the buildable
.
Parameters
buildable
a GtkBuildable
builder
a GtkBuilder
child
child object or NULL for non-child tags.
[allow-none ]
tagname
the name of the tag
data
user data created in custom_tag_start
gtk_buildable_parser_finished ()
gtk_buildable_parser_finished
void
gtk_buildable_parser_finished (GtkBuildable *buildable ,
GtkBuilder *builder );
Called when the builder finishes the parsing of a
GtkBuilder UI definition.
Note that this will be called once for each time
gtk_builder_add_from_file() or gtk_builder_add_from_string()
is called on a builder.
Parameters
buildable
a GtkBuildable
builder
a GtkBuilder
gtk_buildable_get_internal_child ()
gtk_buildable_get_internal_child
GObject *
gtk_buildable_get_internal_child (GtkBuildable *buildable ,
GtkBuilder *builder ,
const gchar *childname );
Get the internal child called childname
of the buildable
object.
Parameters
buildable
a GtkBuildable
builder
a GtkBuilder
childname
name of child
Returns
the internal child of the buildable object.
[transfer none ]
docs/reference/gtk/xml/gtkscale.xml 0000664 0001750 0001750 00000114700 13617646202 017512 0 ustar mclasen mclasen
]>
GtkScale
3
GTK4 Library
GtkScale
A slider widget for selecting a value from a range
Functions
GtkWidget *
gtk_scale_new ()
GtkWidget *
gtk_scale_new_with_range ()
void
gtk_scale_set_digits ()
void
gtk_scale_set_draw_value ()
void
gtk_scale_set_has_origin ()
void
gtk_scale_set_value_pos ()
gint
gtk_scale_get_digits ()
gboolean
gtk_scale_get_draw_value ()
gboolean
gtk_scale_get_has_origin ()
GtkPositionType
gtk_scale_get_value_pos ()
PangoLayout *
gtk_scale_get_layout ()
void
gtk_scale_get_layout_offsets ()
void
gtk_scale_add_mark ()
void
gtk_scale_clear_marks ()
Properties
gint digitsRead / Write
gboolean draw-valueRead / Write
gboolean has-originRead / Write
GtkPositionType value-posRead / Write
Types and Values
struct GtkScale
Object Hierarchy
GObject
╰── GInitiallyUnowned
╰── GtkWidget
╰── GtkRange
╰── GtkScale
Implemented Interfaces
GtkScale implements
AtkImplementorIface, GtkBuildable, GtkConstraintTarget and GtkOrientable.
Includes #include <gtk/gtk.h>
Description
A GtkScale is a slider control used to select a numeric value.
To use it, you’ll probably want to investigate the methods on
its base class, GtkRange , in addition to the methods for GtkScale itself.
To set the value of a scale, you would normally use gtk_range_set_value() .
To detect changes to the value, you would normally use the
“value-changed” signal.
Note that using the same upper and lower bounds for the GtkScale (through
the GtkRange methods) will hide the slider itself. This is useful for
applications that want to show an undeterminate value on the scale, without
changing the layout of the application (such as movie or music players).
GtkScale as GtkBuildable GtkScale supports a custom <marks> element, which can contain multiple
<mark> elements. The “value” and “position” attributes have the same
meaning as gtk_scale_add_mark() parameters of the same name. If the
element is not empty, its content is taken as the markup to show at
the mark. It can be translated with the usual ”translatable” and
“context” attributes.
CSS nodes
GtkScale has a main CSS node with name scale and a subnode for its contents,
with subnodes named trough and slider.
The main node gets the style class .fine-tune added when the scale is in
'fine-tuning' mode.
If the scale has an origin (see gtk_scale_set_has_origin() ), there is a
subnode with name highlight below the trough node that is used for rendering
the highlighted part of the trough.
If the scale is showing a fill level (see gtk_range_set_show_fill_level() ),
there is a subnode with name fill below the trough node that is used for
rendering the filled in part of the trough.
If marks are present, there is a marks subnode before or after the trough
node, below which each mark gets a node with name mark. The marks nodes get
either the .top or .bottom style class.
The mark node has a subnode named indicator. If the mark has text, it also
has a subnode named label. When the mark is either above or left of the
scale, the label subnode is the first when present. Otherwise, the indicator
subnode is the first.
The main CSS node gets the 'marks-before' and/or 'marks-after' style classes
added depending on what marks are present.
If the scale is displaying the value (see “draw-value” ), there is
subnode with name value. This node will get the .top or .bottom style classes
similar to the marks node.
Functions
gtk_scale_new ()
gtk_scale_new
GtkWidget *
gtk_scale_new (GtkOrientation orientation ,
GtkAdjustment *adjustment );
Creates a new GtkScale .
Parameters
orientation
the scale’s orientation.
adjustment
the GtkAdjustment which sets the range
of the scale, or NULL to create a new adjustment.
[nullable ]
Returns
a new GtkScale
gtk_scale_new_with_range ()
gtk_scale_new_with_range
GtkWidget *
gtk_scale_new_with_range (GtkOrientation orientation ,
gdouble min ,
gdouble max ,
gdouble step );
Creates a new scale widget with the given orientation that lets the
user input a number between min
and max
(including min
and max
)
with the increment step
. step
must be nonzero; it’s the distance
the slider moves when using the arrow keys to adjust the scale
value.
Note that the way in which the precision is derived works best if step
is a power of ten. If the resulting precision is not suitable for your
needs, use gtk_scale_set_digits() to correct it.
Parameters
orientation
the scale’s orientation.
min
minimum value
max
maximum value
step
step increment (tick size) used with keyboard shortcuts
Returns
a new GtkScale
gtk_scale_set_digits ()
gtk_scale_set_digits
void
gtk_scale_set_digits (GtkScale *scale ,
gint digits );
Sets the number of decimal places that are displayed in the value. Also
causes the value of the adjustment to be rounded to this number of digits,
so the retrieved value matches the displayed one, if “draw-value” is
TRUE when the value changes. If you want to enforce rounding the value when
“draw-value” is FALSE , you can set “round-digits” instead.
Note that rounding to a small number of digits can interfere with
the smooth autoscrolling that is built into GtkScale . As an alternative,
you can use gtk_scale_set_format_value_func() to format the displayed
value yourself.
Parameters
scale
a GtkScale
digits
the number of decimal places to display,
e.g. use 1 to display 1.0, 2 to display 1.00, etc
gtk_scale_set_draw_value ()
gtk_scale_set_draw_value
void
gtk_scale_set_draw_value (GtkScale *scale ,
gboolean draw_value );
Specifies whether the current value is displayed as a string next
to the slider.
Parameters
scale
a GtkScale
draw_value
TRUE to draw the value
gtk_scale_set_has_origin ()
gtk_scale_set_has_origin
void
gtk_scale_set_has_origin (GtkScale *scale ,
gboolean has_origin );
If “has-origin” is set to TRUE (the default), the scale will
highlight the part of the trough between the origin (bottom or left side)
and the current value.
Parameters
scale
a GtkScale
has_origin
TRUE if the scale has an origin
gtk_scale_set_value_pos ()
gtk_scale_set_value_pos
void
gtk_scale_set_value_pos (GtkScale *scale ,
GtkPositionType pos );
Sets the position in which the current value is displayed.
Parameters
scale
a GtkScale
pos
the position in which the current value is displayed
gtk_scale_get_digits ()
gtk_scale_get_digits
gint
gtk_scale_get_digits (GtkScale *scale );
Gets the number of decimal places that are displayed in the value.
Parameters
scale
a GtkScale
Returns
the number of decimal places that are displayed
gtk_scale_get_draw_value ()
gtk_scale_get_draw_value
gboolean
gtk_scale_get_draw_value (GtkScale *scale );
Returns whether the current value is displayed as a string
next to the slider.
Parameters
scale
a GtkScale
Returns
whether the current value is displayed as a string
gtk_scale_get_has_origin ()
gtk_scale_get_has_origin
gboolean
gtk_scale_get_has_origin (GtkScale *scale );
Returns whether the scale has an origin.
Parameters
scale
a GtkScale
Returns
TRUE if the scale has an origin.
gtk_scale_get_value_pos ()
gtk_scale_get_value_pos
GtkPositionType
gtk_scale_get_value_pos (GtkScale *scale );
Gets the position in which the current value is displayed.
Parameters
scale
a GtkScale
Returns
the position in which the current value is displayed
gtk_scale_get_layout ()
gtk_scale_get_layout
PangoLayout *
gtk_scale_get_layout (GtkScale *scale );
Gets the PangoLayout used to display the scale. The returned
object is owned by the scale so does not need to be freed by
the caller.
Parameters
scale
A GtkScale
Returns
the PangoLayout for this scale,
or NULL if the “draw-value” property is FALSE .
[transfer none ][nullable ]
gtk_scale_get_layout_offsets ()
gtk_scale_get_layout_offsets
void
gtk_scale_get_layout_offsets (GtkScale *scale ,
gint *x ,
gint *y );
Obtains the coordinates where the scale will draw the
PangoLayout representing the text in the scale. Remember
when using the PangoLayout function you need to convert to
and from pixels using PANGO_PIXELS() or PANGO_SCALE .
If the “draw-value” property is FALSE , the return
values are undefined.
Parameters
scale
a GtkScale
x
location to store X offset of layout, or NULL .
[out ][allow-none ]
y
location to store Y offset of layout, or NULL .
[out ][allow-none ]
gtk_scale_add_mark ()
gtk_scale_add_mark
void
gtk_scale_add_mark (GtkScale *scale ,
gdouble value ,
GtkPositionType position ,
const gchar *markup );
Adds a mark at value
.
A mark is indicated visually by drawing a tick mark next to the scale,
and GTK+ makes it easy for the user to position the scale exactly at the
marks value.
If markup
is not NULL , text is shown next to the tick mark.
To remove marks from a scale, use gtk_scale_clear_marks() .
Parameters
scale
a GtkScale
value
the value at which the mark is placed, must be between
the lower and upper limits of the scales’ adjustment
position
where to draw the mark. For a horizontal scale, GTK_POS_TOP
and GTK_POS_LEFT are drawn above the scale, anything else below.
For a vertical scale, GTK_POS_LEFT and GTK_POS_TOP are drawn to
the left of the scale, anything else to the right.
markup
Text to be shown at the mark, using Pango markup, or NULL .
[allow-none ]
gtk_scale_clear_marks ()
gtk_scale_clear_marks
void
gtk_scale_clear_marks (GtkScale *scale );
Removes any marks that have been added with gtk_scale_add_mark() .
Parameters
scale
a GtkScale
Property Details
The “digits” property
GtkScale:digits
“digits” gint
The number of decimal places that are displayed in the value. Owner: GtkScale
Flags: Read / Write
Allowed values: [-1,64]
Default value: 1
The “draw-value” property
GtkScale:draw-value
“draw-value” gboolean
Whether the current value is displayed as a string next to the slider. Owner: GtkScale
Flags: Read / Write
Default value: TRUE
The “has-origin” property
GtkScale:has-origin
“has-origin” gboolean
Whether the scale has an origin. Owner: GtkScale
Flags: Read / Write
Default value: TRUE
The “value-pos” property
GtkScale:value-pos
“value-pos” GtkPositionType
The position in which the current value is displayed. Owner: GtkScale
Flags: Read / Write
Default value: GTK_POS_TOP
docs/reference/gtk/xml/gtkbuilderscope.xml 0000664 0001750 0001750 00000027015 13617646201 021104 0 ustar mclasen mclasen
]>
GtkBuilderScope
3
GTK4 Library
GtkBuilderScope
Bindings for GtkBuilder
Functions
GtkBuilderScope *
gtk_builder_cscope_new ()
void
gtk_builder_cscope_add_callback_symbol ()
void
gtk_builder_cscope_add_callback_symbols ()
GCallback
gtk_builder_cscope_lookup_callback_symbol ()
Includes #include <gtk/gtk.h>
Description
GtkBuilderScope is an interface to provide support to GtkBuilder , primarily
for looking up programming-language-specific values for strings that are
given in a GtkBuilder UI file.
The primary intended audience is bindings that want to provide deeper integration
of GtkBuilder into the language.
A GtkBuilderScope instance may be used with multiple GtkBuilder objects, even
at once.
By default, GTK will use its own implementation of GtkBuilderScope for the C
language which can be created via gtk_builder_cscope_new() .
GtkBuilderCScope instances use symbols explicitly added to builder
with prior calls to gtk_builder_cscope_add_callback_symbol() . If developers want
to do that, they are encouraged to create their own scopes for that purpose.
In the case that symbols are not explicitly added; GTK will uses GModule ’s
introspective features (by opening the module NULL ) to look at the application’s
symbol table. From here it tries to match the signal function names given in the
interface description with symbols in the application.
Note that unless gtk_builder_cscope_add_callback_symbol() is called for
all signal callbacks which are referenced by the loaded XML, this
functionality will require that GModule be supported on the platform.
Functions
gtk_builder_cscope_new ()
gtk_builder_cscope_new
GtkBuilderScope *
gtk_builder_cscope_new (void );
Creates a new GtkbuilderCScope object to use with future GtkBuilder
instances.
Calling this function is only necessary if you want to add custom
callbacks via gtk_builder_cscope_add_callback_symbol() .
Returns
a new GtkBuilderCScope .
[transfer full ]
gtk_builder_cscope_add_callback_symbol ()
gtk_builder_cscope_add_callback_symbol
void
gtk_builder_cscope_add_callback_symbol
(GtkBuilderCScope *self ,
const gchar *callback_name ,
GCallback callback_symbol );
Adds the callback_symbol
to the scope of builder
under the given callback_name
.
Using this function overrides the behavior of gtk_builder_create_closure()
for any callback symbols that are added. Using this method allows for better
encapsulation as it does not require that callback symbols be declared in
the global namespace.
Parameters
self
a GtkBuilderCScope
callback_name
The name of the callback, as expected in the XML
callback_symbol
The callback pointer.
[scope async ]
gtk_builder_cscope_add_callback_symbols ()
gtk_builder_cscope_add_callback_symbols
void
gtk_builder_cscope_add_callback_symbols
(GtkBuilderCScope *self ,
const gchar *first_callback_name ,
GCallback first_callback_symbol ,
... );
A convenience function to add many callbacks instead of calling
gtk_builder_cscope_add_callback_symbol() for each symbol.
[skip ]
Parameters
self
a GtkBuilderCScope
first_callback_name
The name of the callback, as expected in the XML
first_callback_symbol
The callback pointer.
[scope async ]
...
A list of callback name and callback symbol pairs terminated with NULL
gtk_builder_cscope_lookup_callback_symbol ()
gtk_builder_cscope_lookup_callback_symbol
GCallback
gtk_builder_cscope_lookup_callback_symbol
(GtkBuilderCScope *self ,
const gchar *callback_name );
See Also
GtkBuilder , GClosure
docs/reference/gtk/xml/gtktreestore.xml 0000664 0001750 0001750 00000204474 13617646203 020450 0 ustar mclasen mclasen
]>
GtkTreeStore
3
GTK4 Library
GtkTreeStore
A tree-like data structure that can be used with the GtkTreeView
Functions
GtkTreeStore *
gtk_tree_store_new ()
GtkTreeStore *
gtk_tree_store_newv ()
void
gtk_tree_store_set_column_types ()
void
gtk_tree_store_set_value ()
void
gtk_tree_store_set ()
void
gtk_tree_store_set_valist ()
void
gtk_tree_store_set_valuesv ()
gboolean
gtk_tree_store_remove ()
void
gtk_tree_store_insert ()
void
gtk_tree_store_insert_before ()
void
gtk_tree_store_insert_after ()
void
gtk_tree_store_insert_with_values ()
void
gtk_tree_store_insert_with_valuesv ()
void
gtk_tree_store_prepend ()
void
gtk_tree_store_append ()
gboolean
gtk_tree_store_is_ancestor ()
gint
gtk_tree_store_iter_depth ()
void
gtk_tree_store_clear ()
gboolean
gtk_tree_store_iter_is_valid ()
void
gtk_tree_store_reorder ()
void
gtk_tree_store_swap ()
void
gtk_tree_store_move_before ()
void
gtk_tree_store_move_after ()
Types and Values
struct GtkTreeStore
Object Hierarchy
GObject
╰── GtkTreeStore
Implemented Interfaces
GtkTreeStore implements
GtkTreeModel, GtkTreeDragSource, GtkTreeDragDest, GtkTreeSortable and GtkBuildable.
Includes #include <gtk/gtk.h>
Description
The GtkTreeStore object is a list model for use with a GtkTreeView
widget. It implements the GtkTreeModel interface, and consequentially,
can use all of the methods available there. It also implements the
GtkTreeSortable interface so it can be sorted by the view. Finally,
it also implements the tree
drag and drop
interfaces.
GtkTreeStore as GtkBuildable The GtkTreeStore implementation of the GtkBuildable interface allows
to specify the model columns with a <columns> element that may contain
multiple <column> elements, each specifying one model column. The “type”
attribute specifies the data type for the column.
An example of a UI Definition fragment for a tree store:
]]>
Functions
gtk_tree_store_new ()
gtk_tree_store_new
GtkTreeStore *
gtk_tree_store_new (gint n_columns ,
... );
Creates a new tree store as with n_columns
columns each of the types passed
in. Note that only types derived from standard GObject fundamental types
are supported.
As an example, gtk_tree_store_new (3, G_TYPE_INT, G_TYPE_STRING,
GDK_TYPE_TEXTURE); will create a new GtkTreeStore with three columns, of type
gint , gchararray , and GdkTexture respectively.
Parameters
n_columns
number of columns in the tree store
...
all GType types for the columns, from first to last
Returns
a new GtkTreeStore
gtk_tree_store_newv ()
gtk_tree_store_newv
GtkTreeStore *
gtk_tree_store_newv (gint n_columns ,
GType *types );
Non vararg creation function. Used primarily by language bindings.
[rename-to gtk_tree_store_new]
Parameters
n_columns
number of columns in the tree store
types
an array of GType types for the columns, from first to last.
[array length=n_columns]
Returns
a new GtkTreeStore .
[transfer full ]
gtk_tree_store_set_column_types ()
gtk_tree_store_set_column_types
void
gtk_tree_store_set_column_types (GtkTreeStore *tree_store ,
gint n_columns ,
GType *types );
This function is meant primarily for GObjects that inherit from
GtkTreeStore , and should only be used when constructing a new
GtkTreeStore . It will not function after a row has been added,
or a method on the GtkTreeModel interface is called.
Parameters
tree_store
A GtkTreeStore
n_columns
Number of columns for the tree store
types
An array of GType types, one for each column.
[array length=n_columns]
gtk_tree_store_set_value ()
gtk_tree_store_set_value
void
gtk_tree_store_set_value (GtkTreeStore *tree_store ,
GtkTreeIter *iter ,
gint column ,
GValue *value );
Sets the data in the cell specified by iter
and column
.
The type of value
must be convertible to the type of the
column.
Parameters
tree_store
a GtkTreeStore
iter
A valid GtkTreeIter for the row being modified
column
column number to modify
value
new value for the cell
gtk_tree_store_set ()
gtk_tree_store_set
void
gtk_tree_store_set (GtkTreeStore *tree_store ,
GtkTreeIter *iter ,
... );
Sets the value of one or more cells in the row referenced by iter
.
The variable argument list should contain integer column numbers,
each column number followed by the value to be set.
The list is terminated by a -1. For example, to set column 0 with type
G_TYPE_STRING to “Foo”, you would write
gtk_tree_store_set (store, iter, 0, "Foo", -1) .
The value will be referenced by the store if it is a G_TYPE_OBJECT , and it
will be copied if it is a G_TYPE_STRING or G_TYPE_BOXED .
Parameters
tree_store
A GtkTreeStore
iter
A valid GtkTreeIter for the row being modified
...
pairs of column number and value, terminated with -1
gtk_tree_store_set_valist ()
gtk_tree_store_set_valist
void
gtk_tree_store_set_valist (GtkTreeStore *tree_store ,
GtkTreeIter *iter ,
va_list var_args );
See gtk_tree_store_set() ; this version takes a va_list for
use by language bindings.
Parameters
tree_store
A GtkTreeStore
iter
A valid GtkTreeIter for the row being modified
var_args
va_list of column/value pairs
gtk_tree_store_set_valuesv ()
gtk_tree_store_set_valuesv
void
gtk_tree_store_set_valuesv (GtkTreeStore *tree_store ,
GtkTreeIter *iter ,
gint *columns ,
GValue *values ,
gint n_values );
A variant of gtk_tree_store_set_valist() which takes
the columns and values as two arrays, instead of varargs. This
function is mainly intended for language bindings or in case
the number of columns to change is not known until run-time.
[rename-to gtk_tree_store_set]
Parameters
tree_store
A GtkTreeStore
iter
A valid GtkTreeIter for the row being modified
columns
an array of column numbers.
[array length=n_values]
values
an array of GValues.
[array length=n_values]
n_values
the length of the columns
and values
arrays
gtk_tree_store_remove ()
gtk_tree_store_remove
gboolean
gtk_tree_store_remove (GtkTreeStore *tree_store ,
GtkTreeIter *iter );
Removes iter
from tree_store
. After being removed, iter
is set to the
next valid row at that level, or invalidated if it previously pointed to the
last one.
Parameters
tree_store
A GtkTreeStore
iter
A valid GtkTreeIter
Returns
TRUE if iter
is still valid, FALSE if not.
gtk_tree_store_insert ()
gtk_tree_store_insert
void
gtk_tree_store_insert (GtkTreeStore *tree_store ,
GtkTreeIter *iter ,
GtkTreeIter *parent ,
gint position );
Creates a new row at position
. If parent is non-NULL , then the row will be
made a child of parent
. Otherwise, the row will be created at the toplevel.
If position
is -1 or is larger than the number of rows at that level, then
the new row will be inserted to the end of the list. iter
will be changed
to point to this new row. The row will be empty after this function is
called. To fill in values, you need to call gtk_tree_store_set() or
gtk_tree_store_set_value() .
Parameters
tree_store
A GtkTreeStore
iter
An unset GtkTreeIter to set to the new row.
[out ]
parent
A valid GtkTreeIter , or NULL .
[allow-none ]
position
position to insert the new row, or -1 for last
gtk_tree_store_insert_before ()
gtk_tree_store_insert_before
void
gtk_tree_store_insert_before (GtkTreeStore *tree_store ,
GtkTreeIter *iter ,
GtkTreeIter *parent ,
GtkTreeIter *sibling );
Inserts a new row before sibling
. If sibling
is NULL , then the row will
be appended to parent
’s children. If parent
and sibling
are NULL , then
the row will be appended to the toplevel. If both sibling
and parent
are
set, then parent
must be the parent of sibling
. When sibling
is set,
parent
is optional.
iter
will be changed to point to this new row. The row will be empty after
this function is called. To fill in values, you need to call
gtk_tree_store_set() or gtk_tree_store_set_value() .
Parameters
tree_store
A GtkTreeStore
iter
An unset GtkTreeIter to set to the new row.
[out ]
parent
A valid GtkTreeIter , or NULL .
[allow-none ]
sibling
A valid GtkTreeIter , or NULL .
[allow-none ]
gtk_tree_store_insert_after ()
gtk_tree_store_insert_after
void
gtk_tree_store_insert_after (GtkTreeStore *tree_store ,
GtkTreeIter *iter ,
GtkTreeIter *parent ,
GtkTreeIter *sibling );
Inserts a new row after sibling
. If sibling
is NULL , then the row will be
prepended to parent
’s children. If parent
and sibling
are NULL , then
the row will be prepended to the toplevel. If both sibling
and parent
are
set, then parent
must be the parent of sibling
. When sibling
is set,
parent
is optional.
iter
will be changed to point to this new row. The row will be empty after
this function is called. To fill in values, you need to call
gtk_tree_store_set() or gtk_tree_store_set_value() .
Parameters
tree_store
A GtkTreeStore
iter
An unset GtkTreeIter to set to the new row.
[out ]
parent
A valid GtkTreeIter , or NULL .
[allow-none ]
sibling
A valid GtkTreeIter , or NULL .
[allow-none ]
gtk_tree_store_insert_with_values ()
gtk_tree_store_insert_with_values
void
gtk_tree_store_insert_with_values (GtkTreeStore *tree_store ,
GtkTreeIter *iter ,
GtkTreeIter *parent ,
gint position ,
... );
Creates a new row at position
. iter
will be changed to point to this
new row. If position
is -1, or larger than the number of rows on the list, then
the new row will be appended to the list. The row will be filled with
the values given to this function.
Calling
gtk_tree_store_insert_with_values (tree_store, iter, position, ...)
has the same effect as calling
with the different that the former will only emit a row_inserted signal,
while the latter will emit row_inserted, row_changed and if the tree store
is sorted, rows_reordered. Since emitting the rows_reordered signal
repeatedly can affect the performance of the program,
gtk_tree_store_insert_with_values() should generally be preferred when
inserting rows in a sorted tree store.
Parameters
tree_store
A GtkTreeStore
iter
An unset GtkTreeIter to set the new row, or NULL .
[out ][allow-none ]
parent
A valid GtkTreeIter , or NULL .
[allow-none ]
position
position to insert the new row, or -1 to append after existing rows
...
pairs of column number and value, terminated with -1
gtk_tree_store_insert_with_valuesv ()
gtk_tree_store_insert_with_valuesv
void
gtk_tree_store_insert_with_valuesv (GtkTreeStore *tree_store ,
GtkTreeIter *iter ,
GtkTreeIter *parent ,
gint position ,
gint *columns ,
GValue *values ,
gint n_values );
A variant of gtk_tree_store_insert_with_values() which takes
the columns and values as two arrays, instead of varargs. This
function is mainly intended for language bindings.
[rename-to gtk_tree_store_insert_with_values]
Parameters
tree_store
A GtkTreeStore
iter
An unset GtkTreeIter to set the new row, or NULL .
[out ][allow-none ]
parent
A valid GtkTreeIter , or NULL .
[allow-none ]
position
position to insert the new row, or -1 for last
columns
an array of column numbers.
[array length=n_values]
values
an array of GValues.
[array length=n_values]
n_values
the length of the columns
and values
arrays
gtk_tree_store_prepend ()
gtk_tree_store_prepend
void
gtk_tree_store_prepend (GtkTreeStore *tree_store ,
GtkTreeIter *iter ,
GtkTreeIter *parent );
Prepends a new row to tree_store
. If parent
is non-NULL , then it will prepend
the new row before the first child of parent
, otherwise it will prepend a row
to the top level. iter
will be changed to point to this new row. The row
will be empty after this function is called. To fill in values, you need to
call gtk_tree_store_set() or gtk_tree_store_set_value() .
Parameters
tree_store
A GtkTreeStore
iter
An unset GtkTreeIter to set to the prepended row.
[out ]
parent
A valid GtkTreeIter , or NULL .
[allow-none ]
gtk_tree_store_append ()
gtk_tree_store_append
void
gtk_tree_store_append (GtkTreeStore *tree_store ,
GtkTreeIter *iter ,
GtkTreeIter *parent );
Appends a new row to tree_store
. If parent
is non-NULL , then it will append the
new row after the last child of parent
, otherwise it will append a row to
the top level. iter
will be changed to point to this new row. The row will
be empty after this function is called. To fill in values, you need to call
gtk_tree_store_set() or gtk_tree_store_set_value() .
Parameters
tree_store
A GtkTreeStore
iter
An unset GtkTreeIter to set to the appended row.
[out ]
parent
A valid GtkTreeIter , or NULL .
[allow-none ]
gtk_tree_store_is_ancestor ()
gtk_tree_store_is_ancestor
gboolean
gtk_tree_store_is_ancestor (GtkTreeStore *tree_store ,
GtkTreeIter *iter ,
GtkTreeIter *descendant );
Returns TRUE if iter
is an ancestor of descendant
. That is, iter
is the
parent (or grandparent or great-grandparent) of descendant
.
Parameters
tree_store
A GtkTreeStore
iter
A valid GtkTreeIter
descendant
A valid GtkTreeIter
Returns
TRUE , if iter
is an ancestor of descendant
gtk_tree_store_iter_depth ()
gtk_tree_store_iter_depth
gint
gtk_tree_store_iter_depth (GtkTreeStore *tree_store ,
GtkTreeIter *iter );
Returns the depth of iter
. This will be 0 for anything on the root level, 1
for anything down a level, etc.
Parameters
tree_store
A GtkTreeStore
iter
A valid GtkTreeIter
Returns
The depth of iter
gtk_tree_store_clear ()
gtk_tree_store_clear
void
gtk_tree_store_clear (GtkTreeStore *tree_store );
Removes all rows from tree_store
Parameters
tree_store
a GtkTreeStore
gtk_tree_store_iter_is_valid ()
gtk_tree_store_iter_is_valid
gboolean
gtk_tree_store_iter_is_valid (GtkTreeStore *tree_store ,
GtkTreeIter *iter );
WARNING: This function is slow. Only use it for debugging and/or testing
purposes.
Checks if the given iter is a valid iter for this GtkTreeStore .
Parameters
tree_store
A GtkTreeStore .
iter
A GtkTreeIter .
Returns
TRUE if the iter is valid, FALSE if the iter is invalid.
gtk_tree_store_reorder ()
gtk_tree_store_reorder
void
gtk_tree_store_reorder (GtkTreeStore *tree_store ,
GtkTreeIter *parent ,
gint *new_order );
Reorders the children of parent
in tree_store
to follow the order
indicated by new_order
. Note that this function only works with
unsorted stores.
[skip ]
Parameters
tree_store
A GtkTreeStore
parent
A GtkTreeIter , or NULL .
[nullable ]
new_order
an array of integers mapping the new position of each child
to its old position before the re-ordering,
i.e. new_order
[newpos] = oldpos .
[array ]
gtk_tree_store_swap ()
gtk_tree_store_swap
void
gtk_tree_store_swap (GtkTreeStore *tree_store ,
GtkTreeIter *a ,
GtkTreeIter *b );
Swaps a
and b
in the same level of tree_store
. Note that this function
only works with unsorted stores.
Parameters
tree_store
A GtkTreeStore .
a
A GtkTreeIter .
b
Another GtkTreeIter .
gtk_tree_store_move_before ()
gtk_tree_store_move_before
void
gtk_tree_store_move_before (GtkTreeStore *tree_store ,
GtkTreeIter *iter ,
GtkTreeIter *position );
Moves iter
in tree_store
to the position before position
. iter
and
position
should be in the same level. Note that this function only
works with unsorted stores. If position
is NULL , iter
will be
moved to the end of the level.
Parameters
tree_store
A GtkTreeStore .
iter
A GtkTreeIter .
position
A GtkTreeIter or NULL .
[allow-none ]
gtk_tree_store_move_after ()
gtk_tree_store_move_after
void
gtk_tree_store_move_after (GtkTreeStore *tree_store ,
GtkTreeIter *iter ,
GtkTreeIter *position );
Moves iter
in tree_store
to the position after position
. iter
and
position
should be in the same level. Note that this function only
works with unsorted stores. If position
is NULL , iter
will be moved
to the start of the level.
Parameters
tree_store
A GtkTreeStore .
iter
A GtkTreeIter .
position
A GtkTreeIter .
[allow-none ]
See Also
GtkTreeModel
docs/reference/gtk/xml/gtkbuilder.xml 0000664 0001750 0001750 00000250260 13617646201 020052 0 ustar mclasen mclasen
]>
GtkBuilder
3
GTK4 Library
GtkBuilder
Build an interface from an XML UI definition
Functions
GtkBuilder *
gtk_builder_new ()
GtkBuilder *
gtk_builder_new_from_file ()
GtkBuilder *
gtk_builder_new_from_resource ()
GtkBuilder *
gtk_builder_new_from_string ()
GClosure *
gtk_builder_create_closure ()
gboolean
gtk_builder_add_from_file ()
gboolean
gtk_builder_add_from_resource ()
gboolean
gtk_builder_add_from_string ()
gboolean
gtk_builder_add_objects_from_file ()
gboolean
gtk_builder_add_objects_from_string ()
gboolean
gtk_builder_add_objects_from_resource ()
gboolean
gtk_builder_extend_with_template ()
GObject *
gtk_builder_get_object ()
GSList *
gtk_builder_get_objects ()
void
gtk_builder_expose_object ()
void
gtk_builder_set_current_object ()
GObject *
gtk_builder_get_current_object ()
void
gtk_builder_set_scope ()
GtkBuilderScope *
gtk_builder_get_scope ()
void
gtk_builder_set_translation_domain ()
const gchar *
gtk_builder_get_translation_domain ()
GType
gtk_builder_get_type_from_name ()
gboolean
gtk_builder_value_from_string ()
gboolean
gtk_builder_value_from_string_type ()
#define GTK_BUILDER_WARN_INVALID_CHILD_TYPE()
Properties
GObject * current-objectRead / Write
GtkBuilderScope * scopeRead / Write / Construct
gchar * translation-domainRead / Write
Types and Values
GtkBuilder
enum GtkBuilderError
#define GTK_BUILDER_ERROR
Object Hierarchy
GObject
╰── GtkBuilder
Includes #include <gtk/gtk.h>
Description
A GtkBuilder is an auxiliary object that reads textual descriptions
of a user interface and instantiates the described objects. To create
a GtkBuilder from a user interface description, call
gtk_builder_new_from_file() , gtk_builder_new_from_resource() or
gtk_builder_new_from_string() .
In the (unusual) case that you want to add user interface
descriptions from multiple sources to the same GtkBuilder you can
call gtk_builder_new() to get an empty builder and populate it by
(multiple) calls to gtk_builder_add_from_file() ,
gtk_builder_add_from_resource() or gtk_builder_add_from_string() .
A GtkBuilder holds a reference to all objects that it has constructed
and drops these references when it is finalized. This finalization can
cause the destruction of non-widget objects or widgets which are not
contained in a toplevel window. For toplevel windows constructed by a
builder, it is the responsibility of the user to call gtk_widget_destroy()
to get rid of them and all the widgets they contain.
The functions gtk_builder_get_object() and gtk_builder_get_objects()
can be used to access the widgets in the interface by the names assigned
to them inside the UI description. Toplevel windows returned by these
functions will stay around until the user explicitly destroys them
with gtk_widget_destroy() . Other widgets will either be part of a
larger hierarchy constructed by the builder (in which case you should
not have to worry about their lifecycle), or without a parent, in which
case they have to be added to some container to make use of them.
Non-widget objects need to be reffed with g_object_ref() to keep them
beyond the lifespan of the builder.
The function gtk_builder_connect_signals() and variants thereof can be
used to connect handlers to the named signals in the description.
GtkBuilder UI Definitions GtkBuilder parses textual descriptions of user interfaces which are
specified in an XML format which can be roughly described by the
RELAX NG schema below. We refer to these descriptions as “GtkBuilder
UI definitions” or just “UI definitions” if the context is clear.
RELAX NG Compact Syntax
The toplevel element is <interface>. It optionally takes a “domain”
attribute, which will make the builder look for translated strings
using dgettext() in the domain specified. This can also be done by
calling gtk_builder_set_translation_domain() on the builder.
Objects are described by <object> elements, which can contain
<property> elements to set properties, <signal> elements which
connect signals to handlers, and <child> elements, which describe
child objects (most often widgets inside a container, but also e.g.
actions in an action group, or columns in a tree model). A <child>
element contains an <object> element which describes the child object.
The target toolkit version(s) are described by <requires> elements,
the “lib” attribute specifies the widget library in question (currently
the only supported value is “gtk+”) and the “version” attribute specifies
the target version in the form “<major>.<minor>”. The builder will error
out if the version requirements are not met.
Typically, the specific kind of object represented by an <object>
element is specified by the “class” attribute. If the type has not
been loaded yet, GTK+ tries to find the get_type() function from the
class name by applying heuristics. This works in most cases, but if
necessary, it is possible to specify the name of the get_type() function
explictly with the "type-func" attribute. As a special case, GtkBuilder
allows to use an object that has been constructed by a GtkUIManager in
another part of the UI definition by specifying the id of the GtkUIManager
in the “constructor” attribute and the name of the object in the “id”
attribute.
Objects may be given a name with the “id” attribute, which allows the
application to retrieve them from the builder with gtk_builder_get_object() .
An id is also necessary to use the object as property value in other
parts of the UI definition. GTK+ reserves ids starting and ending
with ___ (3 underscores) for its own purposes.
Setting properties of objects is pretty straightforward with the
<property> element: the “name” attribute specifies the name of the
property, and the content of the element specifies the value.
If the “translatable” attribute is set to a true value, GTK+ uses
gettext() (or dgettext() if the builder has a translation domain set)
to find a translation for the value. This happens before the value
is parsed, so it can be used for properties of any type, but it is
probably most useful for string properties. It is also possible to
specify a context to disambiguate short strings, and comments which
may help the translators.
GtkBuilder can parse textual representations for the most common
property types: characters, strings, integers, floating-point numbers,
booleans (strings like “TRUE”, “t”, “yes”, “y”, “1” are interpreted
as TRUE , strings like “FALSE”, “f”, “no”, “n”, “0” are interpreted
as FALSE ), enumerations (can be specified by their name, nick or
integer value), flags (can be specified by their name, nick, integer
value, optionally combined with “|”, e.g. “GTK_VISIBLE|GTK_REALIZED”)
and colors (in a format understood by gdk_rgba_parse() ).
GVariants can be specified in the format understood by g_variant_parse() ,
and pixbufs can be specified as a filename of an image file to load.
Objects can be referred to by their name and by default refer to
objects declared in the local xml fragment and objects exposed via
gtk_builder_expose_object() . In general, GtkBuilder allows forward
references to objects — declared in the local xml; an object doesn’t
have to be constructed before it can be referred to. The exception
to this rule is that an object has to be constructed before it can
be used as the value of a construct-only property.
It is also possible to bind a property value to another object's
property value using the attributes
"bind-source" to specify the source object of the binding, and
optionally, "bind-property" and "bind-flags" to specify the
source property and source binding flags respectively.
Internally builder implements this using GBinding objects.
For more information see g_object_bind_property()
Sometimes it is necessary to refer to widgets which have implicitly
been constructed by GTK+ as part of a composite widget, to set
properties on them or to add further children (e.g. the vbox
of
a GtkDialog ). This can be achieved by setting the “internal-child”
property of the <child> element to a true value. Note that GtkBuilder
still requires an <object> element for the internal child, even if it
has already been constructed.
A number of widgets have different places where a child can be added
(e.g. tabs vs. page content in notebooks). This can be reflected in
a UI definition by specifying the “type” attribute on a <child>
The possible values for the “type” attribute are described in the
sections describing the widget-specific portions of UI definitions.
Signal handlers and function pointers Signal handlers are set up with the <signal> element. The “name”
attribute specifies the name of the signal, and the “handler” attribute
specifies the function to connect to the signal.
The remaining attributes, “after”, “swapped” and “object”, have the
same meaning as the corresponding parameters of the
g_signal_connect_object() or g_signal_connect_data() functions. A
“last_modification_time” attribute is also allowed, but it does not
have a meaning to the builder.
If you rely on GModule support to lookup callbacks in the symbol table,
the following details should be noted:
When compiling applications for Windows, you must declare signal callbacks
with G_MODULE_EXPORT , or they will not be put in the symbol table.
On Linux and Unices, this is not necessary; applications should instead
be compiled with the -Wl,--export-dynamic CFLAGS, and linked against
gmodule-export-2.0.
A GtkBuilder UI Definition
gtk-ok
]]>
Beyond this general structure, several object classes define their
own XML DTD fragments for filling in the ANY placeholders in the DTD
above. Note that a custom element in a <child> element gets parsed by
the custom tag handler of the parent object, while a custom element in
an <object> element gets parsed by the custom tag handler of the object.
These XML fragments are explained in the documentation of the
respective objects.
Additionally, since 3.10 a special <template> tag has been added
to the format allowing one to define a widget class’s components.
See the GtkWidget documentation for details.
Functions
gtk_builder_new ()
gtk_builder_new
GtkBuilder *
gtk_builder_new (void );
Creates a new empty builder object.
This function is only useful if you intend to make multiple calls
to gtk_builder_add_from_file() , gtk_builder_add_from_resource()
or gtk_builder_add_from_string() in order to merge multiple UI
descriptions into a single builder.
Most users will probably want to use gtk_builder_new_from_file() ,
gtk_builder_new_from_resource() or gtk_builder_new_from_string() .
Returns
a new (empty) GtkBuilder object
gtk_builder_new_from_file ()
gtk_builder_new_from_file
GtkBuilder *
gtk_builder_new_from_file (const gchar *filename );
Builds the GtkBuilder UI definition
in the file filename
.
If there is an error opening the file or parsing the description then
the program will be aborted. You should only ever attempt to parse
user interface descriptions that are shipped as part of your program.
Parameters
filename
filename of user interface description file
Returns
a GtkBuilder containing the described interface
gtk_builder_new_from_resource ()
gtk_builder_new_from_resource
GtkBuilder *
gtk_builder_new_from_resource (const gchar *resource_path );
Builds the GtkBuilder UI definition
at resource_path
.
If there is an error locating the resource or parsing the
description, then the program will be aborted.
Parameters
resource_path
a GResource resource path
Returns
a GtkBuilder containing the described interface
gtk_builder_new_from_string ()
gtk_builder_new_from_string
GtkBuilder *
gtk_builder_new_from_string (const gchar *string ,
gssize length );
Builds the user interface described by string
(in the
GtkBuilder UI definition format).
If string
is NULL -terminated, then length
should be -1.
If length
is not -1, then it is the length of string
.
If there is an error parsing string
then the program will be
aborted. You should not attempt to parse user interface description
from untrusted sources.
Parameters
string
a user interface (XML) description
length
the length of string
, or -1
Returns
a GtkBuilder containing the interface described by string
gtk_builder_create_closure ()
gtk_builder_create_closure
GClosure *
gtk_builder_create_closure (GtkBuilder *builder ,
const char *function_name ,
GtkBuilderClosureFlags flags ,
GObject *object ,
GError **error );
Creates a closure to invoke the function called function_name
.
If a closure function was set via gtk_builder_set_closure_func() ,
will be invoked.
Otherwise, gtk_builder_create_cclosure() will be called.
If no closure could be created, NULL will be returned and error
will
be set.
Parameters
builder
a GtkBuilder
function_name
name of the function to look up
flags
closure creation flags
object
Object to create the closure with.
[nullable ]
error
return location for an error, or NULL .
[allow-none ]
Returns
A new closure for invoking function_name
.
[nullable ]
gtk_builder_add_from_file ()
gtk_builder_add_from_file
gboolean
gtk_builder_add_from_file (GtkBuilder *builder ,
const gchar *filename ,
GError **error );
Parses a file containing a GtkBuilder UI definition
and merges it with the current contents of builder
.
Most users will probably want to use gtk_builder_new_from_file() .
If an error occurs, 0 will be returned and error
will be assigned a
GError from the GTK_BUILDER_ERROR , G_MARKUP_ERROR or G_FILE_ERROR
domain.
It’s not really reasonable to attempt to handle failures of this
call. You should not use this function with untrusted files (ie:
files that are not part of your application). Broken GtkBuilder
files can easily crash your program, and it’s possible that memory
was leaked leading up to the reported failure. The only reasonable
thing to do when an error is detected is to call g_error() .
Parameters
builder
a GtkBuilder
filename
the name of the file to parse
error
return location for an error, or NULL .
[allow-none ]
Returns
TRUE on success, FALSE if an error occurred
gtk_builder_add_from_resource ()
gtk_builder_add_from_resource
gboolean
gtk_builder_add_from_resource (GtkBuilder *builder ,
const gchar *resource_path ,
GError **error );
Parses a resource file containing a GtkBuilder UI definition
and merges it with the current contents of builder
.
Most users will probably want to use gtk_builder_new_from_resource() .
If an error occurs, 0 will be returned and error
will be assigned a
GError from the GTK_BUILDER_ERROR , G_MARKUP_ERROR or G_RESOURCE_ERROR
domain.
It’s not really reasonable to attempt to handle failures of this
call. The only reasonable thing to do when an error is detected is
to call g_error() .
Parameters
builder
a GtkBuilder
resource_path
the path of the resource file to parse
error
return location for an error, or NULL .
[allow-none ]
Returns
TRUE on success, FALSE if an error occurred
gtk_builder_add_from_string ()
gtk_builder_add_from_string
gboolean
gtk_builder_add_from_string (GtkBuilder *builder ,
const gchar *buffer ,
gssize length ,
GError **error );
Parses a string containing a GtkBuilder UI definition
and merges it with the current contents of builder
.
Most users will probably want to use gtk_builder_new_from_string() .
Upon errors FALSE will be returned and error
will be assigned a
GError from the GTK_BUILDER_ERROR , G_MARKUP_ERROR or
G_VARIANT_PARSE_ERROR domain.
It’s not really reasonable to attempt to handle failures of this
call. The only reasonable thing to do when an error is detected is
to call g_error() .
Parameters
builder
a GtkBuilder
buffer
the string to parse
length
the length of buffer
(may be -1 if buffer
is nul-terminated)
error
return location for an error, or NULL .
[allow-none ]
Returns
TRUE on success, FALSE if an error occurred
gtk_builder_add_objects_from_file ()
gtk_builder_add_objects_from_file
gboolean
gtk_builder_add_objects_from_file (GtkBuilder *builder ,
const gchar *filename ,
gchar **object_ids ,
GError **error );
Parses a file containing a GtkBuilder UI definition
building only the requested objects and merges
them with the current contents of builder
.
Upon errors 0 will be returned and error
will be assigned a
GError from the GTK_BUILDER_ERROR , G_MARKUP_ERROR or G_FILE_ERROR
domain.
If you are adding an object that depends on an object that is not
its child (for instance a GtkTreeView that depends on its
GtkTreeModel ), you have to explicitly list all of them in object_ids
.
Parameters
builder
a GtkBuilder
filename
the name of the file to parse
object_ids
nul-terminated array of objects to build.
[array zero-terminated=1][element-type utf8]
error
return location for an error, or NULL .
[allow-none ]
Returns
TRUE on success, FALSE if an error occurred
gtk_builder_add_objects_from_string ()
gtk_builder_add_objects_from_string
gboolean
gtk_builder_add_objects_from_string (GtkBuilder *builder ,
const gchar *buffer ,
gssize length ,
gchar **object_ids ,
GError **error );
Parses a string containing a GtkBuilder UI definition
building only the requested objects and merges
them with the current contents of builder
.
Upon errors FALSE will be returned and error
will be assigned a
GError from the GTK_BUILDER_ERROR or G_MARKUP_ERROR domain.
If you are adding an object that depends on an object that is not
its child (for instance a GtkTreeView that depends on its
GtkTreeModel ), you have to explicitly list all of them in object_ids
.
Parameters
builder
a GtkBuilder
buffer
the string to parse
length
the length of buffer
(may be -1 if buffer
is nul-terminated)
object_ids
nul-terminated array of objects to build.
[array zero-terminated=1][element-type utf8]
error
return location for an error, or NULL .
[allow-none ]
Returns
TRUE on success, FALSE if an error occurred
gtk_builder_add_objects_from_resource ()
gtk_builder_add_objects_from_resource
gboolean
gtk_builder_add_objects_from_resource (GtkBuilder *builder ,
const gchar *resource_path ,
gchar **object_ids ,
GError **error );
Parses a resource file containing a GtkBuilder UI definition
building only the requested objects and merges
them with the current contents of builder
.
Upon errors 0 will be returned and error
will be assigned a
GError from the GTK_BUILDER_ERROR , G_MARKUP_ERROR or G_RESOURCE_ERROR
domain.
If you are adding an object that depends on an object that is not
its child (for instance a GtkTreeView that depends on its
GtkTreeModel ), you have to explicitly list all of them in object_ids
.
Parameters
builder
a GtkBuilder
resource_path
the path of the resource file to parse
object_ids
nul-terminated array of objects to build.
[array zero-terminated=1][element-type utf8]
error
return location for an error, or NULL .
[allow-none ]
Returns
TRUE on success, FALSE if an error occurred
gtk_builder_extend_with_template ()
gtk_builder_extend_with_template
gboolean
gtk_builder_extend_with_template (GtkBuilder *builder ,
GtkWidget *widget ,
GType template_type ,
const gchar *buffer ,
gssize length ,
GError **error );
Main private entry point for building composite container
components from template XML.
This is exported purely to let gtk-builder-tool validate
templates, applications have no need to call this function.
Parameters
builder
a GtkBuilder
widget
the widget that is being extended
template_type
the type that the template is for
buffer
the string to parse
length
the length of buffer
(may be -1 if buffer
is nul-terminated)
error
return location for an error, or NULL .
[allow-none ]
Returns
A positive value on success, 0 if an error occurred
gtk_builder_get_object ()
gtk_builder_get_object
GObject *
gtk_builder_get_object (GtkBuilder *builder ,
const gchar *name );
Gets the object named name
. Note that this function does not
increment the reference count of the returned object.
Parameters
builder
a GtkBuilder
name
name of object to get
Returns
the object named name
or NULL if
it could not be found in the object tree.
[nullable ][transfer none ]
gtk_builder_get_objects ()
gtk_builder_get_objects
GSList *
gtk_builder_get_objects (GtkBuilder *builder );
Gets all objects that have been constructed by builder
. Note that
this function does not increment the reference counts of the returned
objects.
Parameters
builder
a GtkBuilder
Returns
a newly-allocated GSList containing all the objects
constructed by the GtkBuilder instance. It should be freed by
g_slist_free() .
[element-type GObject][transfer container ]
gtk_builder_expose_object ()
gtk_builder_expose_object
void
gtk_builder_expose_object (GtkBuilder *builder ,
const gchar *name ,
GObject *object );
Add object
to the builder
object pool so it can be referenced just like any
other object built by builder.
Parameters
builder
a GtkBuilder
name
the name of the object exposed to the builder
object
the object to expose
gtk_builder_set_current_object ()
gtk_builder_set_current_object
void
gtk_builder_set_current_object (GtkBuilder *builder ,
GObject *current_object );
Sets the current object for the builder
. The current object can be
tought of as the this object that the builder is working for and
will often be used as the default object when an object is optional.
gtk_widget_init_template() for example will set the current object to
the widget the template is inited for.
For functions like gtk_builder_new_from_resource() , the current object
will be NULL .
Parameters
builder
a GtkBuilder
current_object
the new current object or
NULL for none.
[nullable ][transfer none ]
gtk_builder_get_current_object ()
gtk_builder_get_current_object
GObject *
gtk_builder_get_current_object (GtkBuilder *builder );
Gets the current object set via gtk_builder_set_current_object() .
Parameters
builder
a GtkBuilder
Returns
the current object.
[nullable ][transfer none ]
gtk_builder_set_scope ()
gtk_builder_set_scope
void
gtk_builder_set_scope (GtkBuilder *builder ,
GtkBuilderScope *scope );
Sets the scope the builder should operate in.
If scope
is NULL a new GtkBuilderCScope will be created.
See the GtkBuilderScope documentation for details.
Parameters
builder
a GtkBuilder
scope
the scope to use or
NULL for the default.
[nullable ][transfer none ]
gtk_builder_get_scope ()
gtk_builder_get_scope
GtkBuilderScope *
gtk_builder_get_scope (GtkBuilder *builder );
Gets the scope in use that was set via gtk_builder_set_scope() .
See the GtkBuilderScope documentation for details.
Parameters
builder
a GtkBuilder
Returns
the current scope.
[transfer none ]
gtk_builder_set_translation_domain ()
gtk_builder_set_translation_domain
void
gtk_builder_set_translation_domain (GtkBuilder *builder ,
const gchar *domain );
Sets the translation domain of builder
.
See “translation-domain” .
Parameters
builder
a GtkBuilder
domain
the translation domain or NULL .
[nullable ]
gtk_builder_get_translation_domain ()
gtk_builder_get_translation_domain
const gchar *
gtk_builder_get_translation_domain (GtkBuilder *builder );
Gets the translation domain of builder
.
Parameters
builder
a GtkBuilder
Returns
the translation domain or NULL
in case it was never set or explicitly unset via gtk_builder_set_translation_domain() .
This string is owned by the builder object and must not be modified or freed.
[transfer none ][nullable ]
gtk_builder_get_type_from_name ()
gtk_builder_get_type_from_name
GType
gtk_builder_get_type_from_name (GtkBuilder *builder ,
const char *type_name );
Looks up a type by name, using the virtual function that
GtkBuilder has for that purpose. This is mainly used when
implementing the GtkBuildable interface on a type.
Parameters
builder
a GtkBuilder
type_name
type name to lookup
Returns
the GType found for type_name
or G_TYPE_INVALID
if no type was found
gtk_builder_value_from_string ()
gtk_builder_value_from_string
gboolean
gtk_builder_value_from_string (GtkBuilder *builder ,
GParamSpec *pspec ,
const gchar *string ,
GValue *value ,
GError **error );
This function demarshals a value from a string. This function
calls g_value_init() on the value
argument, so it need not be
initialised beforehand.
This function can handle char, uchar, boolean, int, uint, long,
ulong, enum, flags, float, double, string, GdkRGBA and
GtkAdjustment type values. Support for GtkWidget type values is
still to come.
Upon errors FALSE will be returned and error
will be assigned a
GError from the GTK_BUILDER_ERROR domain.
Parameters
builder
a GtkBuilder
pspec
the GParamSpec for the property
string
the string representation of the value
value
the GValue to store the result in.
[out ]
error
return location for an error, or NULL .
[allow-none ]
Returns
TRUE on success
gtk_builder_value_from_string_type ()
gtk_builder_value_from_string_type
gboolean
gtk_builder_value_from_string_type (GtkBuilder *builder ,
GType type ,
const gchar *string ,
GValue *value ,
GError **error );
Like gtk_builder_value_from_string() , this function demarshals
a value from a string, but takes a GType instead of GParamSpec .
This function calls g_value_init() on the value
argument, so it
need not be initialised beforehand.
Upon errors FALSE will be returned and error
will be assigned a
GError from the GTK_BUILDER_ERROR domain.
Parameters
builder
a GtkBuilder
type
the GType of the value
string
the string representation of the value
value
the GValue to store the result in.
[out ]
error
return location for an error, or NULL .
[allow-none ]
Returns
TRUE on success
GTK_BUILDER_WARN_INVALID_CHILD_TYPE()
GTK_BUILDER_WARN_INVALID_CHILD_TYPE
#define GTK_BUILDER_WARN_INVALID_CHILD_TYPE(object, type)
This macro should be used to emit a warning about and unexpected type
value
in a GtkBuildable add_child implementation.
Parameters
object
the GtkBuildable on which the warning ocurred
type
the unexpected type value
Property Details
The “current-object” property
GtkBuilder:current-object
“current-object” GObject *
The object the builder is evaluating for.
Owner: GtkBuilder
Flags: Read / Write
The “scope” property
GtkBuilder:scope
“scope” GtkBuilderScope *
The scope the builder is operating in
Owner: GtkBuilder
Flags: Read / Write / Construct
The “translation-domain” property
GtkBuilder:translation-domain
“translation-domain” gchar *
The translation domain used when translating property values that
have been marked as translatable in interface descriptions.
If the translation domain is NULL , GtkBuilder uses gettext() ,
otherwise g_dgettext() .
Owner: GtkBuilder
Flags: Read / Write
Default value: NULL
docs/reference/gtk/xml/gtktreeview.xml 0000664 0001750 0001750 00001071045 13617646203 020263 0 ustar mclasen mclasen
]>
GtkTreeView
3
GTK4 Library
GtkTreeView
A widget for displaying both trees and lists
Functions
gboolean
( *GtkTreeViewColumnDropFunc) ()
void
( *GtkTreeViewMappingFunc) ()
gboolean
( *GtkTreeViewSearchEqualFunc) ()
GtkWidget *
gtk_tree_view_new ()
gint
gtk_tree_view_get_level_indentation ()
gboolean
gtk_tree_view_get_show_expanders ()
void
gtk_tree_view_set_level_indentation ()
void
gtk_tree_view_set_show_expanders ()
GtkWidget *
gtk_tree_view_new_with_model ()
GtkTreeModel *
gtk_tree_view_get_model ()
void
gtk_tree_view_set_model ()
GtkTreeSelection *
gtk_tree_view_get_selection ()
gboolean
gtk_tree_view_get_headers_visible ()
void
gtk_tree_view_set_headers_visible ()
void
gtk_tree_view_columns_autosize ()
gboolean
gtk_tree_view_get_headers_clickable ()
void
gtk_tree_view_set_headers_clickable ()
void
gtk_tree_view_set_activate_on_single_click ()
gboolean
gtk_tree_view_get_activate_on_single_click ()
gint
gtk_tree_view_append_column ()
gint
gtk_tree_view_remove_column ()
gint
gtk_tree_view_insert_column ()
gint
gtk_tree_view_insert_column_with_attributes ()
gint
gtk_tree_view_insert_column_with_data_func ()
guint
gtk_tree_view_get_n_columns ()
GtkTreeViewColumn *
gtk_tree_view_get_column ()
GList *
gtk_tree_view_get_columns ()
void
gtk_tree_view_move_column_after ()
void
gtk_tree_view_set_expander_column ()
GtkTreeViewColumn *
gtk_tree_view_get_expander_column ()
void
gtk_tree_view_set_column_drag_function ()
void
gtk_tree_view_scroll_to_point ()
void
gtk_tree_view_scroll_to_cell ()
void
gtk_tree_view_set_cursor ()
void
gtk_tree_view_set_cursor_on_cell ()
void
gtk_tree_view_get_cursor ()
void
gtk_tree_view_row_activated ()
void
gtk_tree_view_expand_all ()
void
gtk_tree_view_collapse_all ()
void
gtk_tree_view_expand_to_path ()
gboolean
gtk_tree_view_expand_row ()
gboolean
gtk_tree_view_collapse_row ()
void
gtk_tree_view_map_expanded_rows ()
gboolean
gtk_tree_view_row_expanded ()
void
gtk_tree_view_set_reorderable ()
gboolean
gtk_tree_view_get_reorderable ()
gboolean
gtk_tree_view_get_path_at_pos ()
gboolean
gtk_tree_view_is_blank_at_pos ()
void
gtk_tree_view_get_cell_area ()
void
gtk_tree_view_get_background_area ()
void
gtk_tree_view_get_visible_rect ()
gboolean
gtk_tree_view_get_visible_range ()
void
gtk_tree_view_convert_bin_window_to_tree_coords ()
void
gtk_tree_view_convert_bin_window_to_widget_coords ()
void
gtk_tree_view_convert_tree_to_bin_window_coords ()
void
gtk_tree_view_convert_tree_to_widget_coords ()
void
gtk_tree_view_convert_widget_to_bin_window_coords ()
void
gtk_tree_view_convert_widget_to_tree_coords ()
GtkDropTarget *
gtk_tree_view_enable_model_drag_dest ()
void
gtk_tree_view_enable_model_drag_source ()
void
gtk_tree_view_unset_rows_drag_source ()
void
gtk_tree_view_unset_rows_drag_dest ()
void
gtk_tree_view_set_drag_dest_row ()
void
gtk_tree_view_get_drag_dest_row ()
gboolean
gtk_tree_view_get_dest_row_at_pos ()
GdkPaintable *
gtk_tree_view_create_row_drag_icon ()
void
gtk_tree_view_set_enable_search ()
gboolean
gtk_tree_view_get_enable_search ()
gint
gtk_tree_view_get_search_column ()
void
gtk_tree_view_set_search_column ()
GtkTreeViewSearchEqualFunc
gtk_tree_view_get_search_equal_func ()
void
gtk_tree_view_set_search_equal_func ()
GtkEditable *
gtk_tree_view_get_search_entry ()
void
gtk_tree_view_set_search_entry ()
gboolean
gtk_tree_view_get_fixed_height_mode ()
void
gtk_tree_view_set_fixed_height_mode ()
gboolean
gtk_tree_view_get_hover_selection ()
void
gtk_tree_view_set_hover_selection ()
gboolean
gtk_tree_view_get_hover_expand ()
void
gtk_tree_view_set_hover_expand ()
gboolean
( *GtkTreeViewRowSeparatorFunc) ()
GtkTreeViewRowSeparatorFunc
gtk_tree_view_get_row_separator_func ()
void
gtk_tree_view_set_row_separator_func ()
gboolean
gtk_tree_view_get_rubber_banding ()
void
gtk_tree_view_set_rubber_banding ()
gboolean
gtk_tree_view_is_rubber_banding_active ()
gboolean
gtk_tree_view_get_enable_tree_lines ()
void
gtk_tree_view_set_enable_tree_lines ()
GtkTreeViewGridLines
gtk_tree_view_get_grid_lines ()
void
gtk_tree_view_set_grid_lines ()
void
gtk_tree_view_set_tooltip_row ()
void
gtk_tree_view_set_tooltip_cell ()
gboolean
gtk_tree_view_get_tooltip_context ()
gint
gtk_tree_view_get_tooltip_column ()
void
gtk_tree_view_set_tooltip_column ()
Properties
gboolean activate-on-single-clickRead / Write
GtkTreeViewGridLines enable-grid-linesRead / Write
gboolean enable-searchRead / Write
gboolean enable-tree-linesRead / Write
GtkTreeViewColumn * expander-columnRead / Write
gboolean fixed-height-modeRead / Write
gboolean headers-clickableRead / Write
gboolean headers-visibleRead / Write
gboolean hover-expandRead / Write
gboolean hover-selectionRead / Write
gint level-indentationRead / Write
GtkTreeModel * modelRead / Write
gboolean reorderableRead / Write
gboolean rubber-bandingRead / Write
gint search-columnRead / Write
gboolean show-expandersRead / Write
gint tooltip-columnRead / Write
Signals
void columns-changed Run Last
void cursor-changed Run Last
gboolean expand-collapse-cursor-row Action
gboolean move-cursor Action
void row-activated Action
void row-collapsed Run Last
void row-expanded Run Last
gboolean select-all Action
gboolean select-cursor-parent Action
gboolean select-cursor-row Action
gboolean start-interactive-search Action
gboolean test-collapse-row Run Last
gboolean test-expand-row Run Last
gboolean toggle-cursor-row Action
gboolean unselect-all Action
Types and Values
GtkTreeView
enum GtkTreeViewDropPosition
enum GtkTreeViewGridLines
Object Hierarchy
GObject
╰── GInitiallyUnowned
╰── GtkWidget
╰── GtkContainer
╰── GtkTreeView
Implemented Interfaces
GtkTreeView implements
AtkImplementorIface, GtkBuildable, GtkConstraintTarget and GtkScrollable.
Includes #include <gtk/gtk.h>
Description
Widget that displays any object that implements the GtkTreeModel interface.
Please refer to the
tree widget conceptual overview
for an overview of all the objects and data types related
to the tree widget and how they work together.
Several different coordinate systems are exposed in the GtkTreeView API.
These are:
Coordinate systems in GtkTreeView API:
Widget coordinates: Coordinates relative to the widget (usually widget->window ).
Bin window coordinates: Coordinates relative to the window that GtkTreeView renders to.
Tree coordinates: Coordinates relative to the entire scrollable area of GtkTreeView. These
coordinates start at (0, 0) for row 0 of the tree.
Several functions are available for converting between the different
coordinate systems. The most common translations are between widget and bin
window coordinates and between bin window and tree coordinates. For the
former you can use gtk_tree_view_convert_widget_to_bin_window_coords()
(and vice versa), for the latter gtk_tree_view_convert_bin_window_to_tree_coords()
(and vice versa).
GtkTreeView as GtkBuildable The GtkTreeView implementation of the GtkBuildable interface accepts
GtkTreeViewColumn objects as <child> elements and exposes the internal
GtkTreeSelection in UI definitions.
An example of a UI definition fragment with GtkTreeView:
liststore1
Test
1
]]>
CSS nodes
┊ ┊
│ ╰──
│
├── [rubberband]
╰── [dndtarget]
]]>
GtkTreeView has a main CSS node with name treeview and style class .view.
It has a subnode with name header, which is the parent for all the column
header widgets' CSS nodes.
For rubberband selection, a subnode with name rubberband is used.
For the drop target location during DND, a subnode with name dndtarget is used.
Functions
GtkTreeViewColumnDropFunc ()
GtkTreeViewColumnDropFunc
gboolean
( *GtkTreeViewColumnDropFunc) (GtkTreeView *tree_view ,
GtkTreeViewColumn *column ,
GtkTreeViewColumn *prev_column ,
GtkTreeViewColumn *next_column ,
gpointer data );
Function type for determining whether column
can be dropped in a
particular spot (as determined by prev_column
and next_column
). In
left to right locales, prev_column
is on the left of the potential drop
spot, and next_column
is on the right. In right to left mode, this is
reversed. This function should return TRUE if the spot is a valid drop
spot. Please note that returning TRUE does not actually indicate that
the column drop was made, but is meant only to indicate a possible drop
spot to the user.
Parameters
tree_view
A GtkTreeView
column
The GtkTreeViewColumn being dragged
prev_column
A GtkTreeViewColumn on one side of column
next_column
A GtkTreeViewColumn on the other side of column
data
user data.
[closure ]
Returns
TRUE , if column
can be dropped in this spot
GtkTreeViewMappingFunc ()
GtkTreeViewMappingFunc
void
( *GtkTreeViewMappingFunc) (GtkTreeView *tree_view ,
GtkTreePath *path ,
gpointer user_data );
Function used for gtk_tree_view_map_expanded_rows() .
Parameters
tree_view
A GtkTreeView
path
The path that’s expanded
user_data
user data
GtkTreeViewSearchEqualFunc ()
GtkTreeViewSearchEqualFunc
gboolean
( *GtkTreeViewSearchEqualFunc) (GtkTreeModel *model ,
gint column ,
const gchar *key ,
GtkTreeIter *iter ,
gpointer search_data );
A function used for checking whether a row in model
matches
a search key string entered by the user. Note the return value
is reversed from what you would normally expect, though it
has some similarity to strcmp() returning 0 for equal strings.
Parameters
model
the GtkTreeModel being searched
column
the search column set by gtk_tree_view_set_search_column()
key
the key string to compare with
iter
a GtkTreeIter pointing the row of model
that should be compared
with key
.
search_data
user data from gtk_tree_view_set_search_equal_func() .
[closure ]
Returns
FALSE if the row matches, TRUE otherwise.
gtk_tree_view_new ()
gtk_tree_view_new
GtkWidget *
gtk_tree_view_new (void );
Creates a new GtkTreeView widget.
Returns
A newly created GtkTreeView widget.
gtk_tree_view_get_level_indentation ()
gtk_tree_view_get_level_indentation
gint
gtk_tree_view_get_level_indentation (GtkTreeView *tree_view );
Returns the amount, in pixels, of extra indentation for child levels
in tree_view
.
Parameters
tree_view
a GtkTreeView .
Returns
the amount of extra indentation for child levels in
tree_view
. A return value of 0 means that this feature is disabled.
gtk_tree_view_get_show_expanders ()
gtk_tree_view_get_show_expanders
gboolean
gtk_tree_view_get_show_expanders (GtkTreeView *tree_view );
Returns whether or not expanders are drawn in tree_view
.
Parameters
tree_view
a GtkTreeView .
Returns
TRUE if expanders are drawn in tree_view
, FALSE
otherwise.
gtk_tree_view_set_level_indentation ()
gtk_tree_view_set_level_indentation
void
gtk_tree_view_set_level_indentation (GtkTreeView *tree_view ,
gint indentation );
Sets the amount of extra indentation for child levels to use in tree_view
in addition to the default indentation. The value should be specified in
pixels, a value of 0 disables this feature and in this case only the default
indentation will be used.
This does not have any visible effects for lists.
Parameters
tree_view
a GtkTreeView
indentation
the amount, in pixels, of extra indentation in tree_view
.
gtk_tree_view_set_show_expanders ()
gtk_tree_view_set_show_expanders
void
gtk_tree_view_set_show_expanders (GtkTreeView *tree_view ,
gboolean enabled );
Sets whether to draw and enable expanders and indent child rows in
tree_view
. When disabled there will be no expanders visible in trees
and there will be no way to expand and collapse rows by default. Also
note that hiding the expanders will disable the default indentation. You
can set a custom indentation in this case using
gtk_tree_view_set_level_indentation() .
This does not have any visible effects for lists.
Parameters
tree_view
a GtkTreeView
enabled
TRUE to enable expander drawing, FALSE otherwise.
gtk_tree_view_new_with_model ()
gtk_tree_view_new_with_model
GtkWidget *
gtk_tree_view_new_with_model (GtkTreeModel *model );
Creates a new GtkTreeView widget with the model initialized to model
.
Parameters
model
the model.
Returns
A newly created GtkTreeView widget.
gtk_tree_view_get_model ()
gtk_tree_view_get_model
GtkTreeModel *
gtk_tree_view_get_model (GtkTreeView *tree_view );
Returns the model the GtkTreeView is based on. Returns NULL if the
model is unset.
Parameters
tree_view
a GtkTreeView
Returns
A GtkTreeModel , or NULL if
none is currently being used.
[transfer none ][nullable ]
gtk_tree_view_set_model ()
gtk_tree_view_set_model
void
gtk_tree_view_set_model (GtkTreeView *tree_view ,
GtkTreeModel *model );
Sets the model for a GtkTreeView . If the tree_view
already has a model
set, it will remove it before setting the new model. If model
is NULL ,
then it will unset the old model.
Parameters
tree_view
A GtkTreeView .
model
The model.
[allow-none ]
gtk_tree_view_get_selection ()
gtk_tree_view_get_selection
GtkTreeSelection *
gtk_tree_view_get_selection (GtkTreeView *tree_view );
Gets the GtkTreeSelection associated with tree_view
.
Parameters
tree_view
A GtkTreeView .
Returns
A GtkTreeSelection object.
[transfer none ]
gtk_tree_view_columns_autosize ()
gtk_tree_view_columns_autosize
void
gtk_tree_view_columns_autosize (GtkTreeView *tree_view );
Resizes all columns to their optimal width. Only works after the
treeview has been realized.
Parameters
tree_view
A GtkTreeView .
gtk_tree_view_set_activate_on_single_click ()
gtk_tree_view_set_activate_on_single_click
void
gtk_tree_view_set_activate_on_single_click
(GtkTreeView *tree_view ,
gboolean single );
Cause the “row-activated” signal to be emitted
on a single click instead of a double click.
Parameters
tree_view
a GtkTreeView
single
TRUE to emit row-activated on a single click
gtk_tree_view_get_activate_on_single_click ()
gtk_tree_view_get_activate_on_single_click
gboolean
gtk_tree_view_get_activate_on_single_click
(GtkTreeView *tree_view );
Gets the setting set by gtk_tree_view_set_activate_on_single_click() .
Parameters
tree_view
a GtkTreeView
Returns
TRUE if row-activated will be emitted on a single click
gtk_tree_view_append_column ()
gtk_tree_view_append_column
gint
gtk_tree_view_append_column (GtkTreeView *tree_view ,
GtkTreeViewColumn *column );
Appends column
to the list of columns. If tree_view
has “fixed_height”
mode enabled, then column
must have its “sizing” property set to be
GTK_TREE_VIEW_COLUMN_FIXED.
Parameters
tree_view
A GtkTreeView .
column
The GtkTreeViewColumn to add.
Returns
The number of columns in tree_view
after appending.
gtk_tree_view_remove_column ()
gtk_tree_view_remove_column
gint
gtk_tree_view_remove_column (GtkTreeView *tree_view ,
GtkTreeViewColumn *column );
Removes column
from tree_view
.
Parameters
tree_view
A GtkTreeView .
column
The GtkTreeViewColumn to remove.
Returns
The number of columns in tree_view
after removing.
gtk_tree_view_insert_column ()
gtk_tree_view_insert_column
gint
gtk_tree_view_insert_column (GtkTreeView *tree_view ,
GtkTreeViewColumn *column ,
gint position );
This inserts the column
into the tree_view
at position
. If position
is
-1, then the column is inserted at the end. If tree_view
has
“fixed_height” mode enabled, then column
must have its “sizing” property
set to be GTK_TREE_VIEW_COLUMN_FIXED.
Parameters
tree_view
A GtkTreeView .
column
The GtkTreeViewColumn to be inserted.
position
The position to insert column
in.
Returns
The number of columns in tree_view
after insertion.
gtk_tree_view_insert_column_with_attributes ()
gtk_tree_view_insert_column_with_attributes
gint
gtk_tree_view_insert_column_with_attributes
(GtkTreeView *tree_view ,
gint position ,
const gchar *title ,
GtkCellRenderer *cell ,
... );
Creates a new GtkTreeViewColumn and inserts it into the tree_view
at
position
. If position
is -1, then the newly created column is inserted at
the end. The column is initialized with the attributes given. If tree_view
has “fixed_height” mode enabled, then the new column will have its sizing
property set to be GTK_TREE_VIEW_COLUMN_FIXED.
Parameters
tree_view
A GtkTreeView
position
The position to insert the new column in
title
The title to set the header to
cell
The GtkCellRenderer
...
A NULL -terminated list of attributes
Returns
The number of columns in tree_view
after insertion.
gtk_tree_view_insert_column_with_data_func ()
gtk_tree_view_insert_column_with_data_func
gint
gtk_tree_view_insert_column_with_data_func
(GtkTreeView *tree_view ,
gint position ,
const gchar *title ,
GtkCellRenderer *cell ,
GtkTreeCellDataFunc func ,
gpointer data ,
GDestroyNotify dnotify );
Convenience function that inserts a new column into the GtkTreeView
with the given cell renderer and a GtkTreeCellDataFunc to set cell renderer
attributes (normally using data from the model). See also
gtk_tree_view_column_set_cell_data_func() , gtk_tree_view_column_pack_start() .
If tree_view
has “fixed_height” mode enabled, then the new column will have its
“sizing” property set to be GTK_TREE_VIEW_COLUMN_FIXED.
Parameters
tree_view
a GtkTreeView
position
Position to insert, -1 for append
title
column title
cell
cell renderer for column
func
function to set attributes of cell renderer
data
data for func
dnotify
destroy notifier for data
Returns
number of columns in the tree view post-insert
gtk_tree_view_get_n_columns ()
gtk_tree_view_get_n_columns
guint
gtk_tree_view_get_n_columns (GtkTreeView *tree_view );
Queries the number of columns in the given tree_view
.
Parameters
tree_view
a GtkTreeView
Returns
The number of columns in the tree_view
gtk_tree_view_get_column ()
gtk_tree_view_get_column
GtkTreeViewColumn *
gtk_tree_view_get_column (GtkTreeView *tree_view ,
gint n );
Gets the GtkTreeViewColumn at the given position in the tree_view .
Parameters
tree_view
A GtkTreeView .
n
The position of the column, counting from 0.
Returns
The GtkTreeViewColumn , or NULL if the
position is outside the range of columns.
[nullable ][transfer none ]
gtk_tree_view_get_columns ()
gtk_tree_view_get_columns
GList *
gtk_tree_view_get_columns (GtkTreeView *tree_view );
Returns a GList of all the GtkTreeViewColumn s currently in tree_view
.
The returned list must be freed with g_list_free() .
Parameters
tree_view
A GtkTreeView
Returns
A list of GtkTreeViewColumn s.
[element-type GtkTreeViewColumn][transfer container ]
gtk_tree_view_move_column_after ()
gtk_tree_view_move_column_after
void
gtk_tree_view_move_column_after (GtkTreeView *tree_view ,
GtkTreeViewColumn *column ,
GtkTreeViewColumn *base_column );
Moves column
to be after to base_column
. If base_column
is NULL , then
column
is placed in the first position.
Parameters
tree_view
A GtkTreeView
column
The GtkTreeViewColumn to be moved.
base_column
The GtkTreeViewColumn to be moved relative to, or NULL .
[allow-none ]
gtk_tree_view_set_expander_column ()
gtk_tree_view_set_expander_column
void
gtk_tree_view_set_expander_column (GtkTreeView *tree_view ,
GtkTreeViewColumn *column );
Sets the column to draw the expander arrow at. It must be in tree_view
.
If column
is NULL , then the expander arrow is always at the first
visible column.
If you do not want expander arrow to appear in your tree, set the
expander column to a hidden column.
Parameters
tree_view
A GtkTreeView
column
NULL , or the column to draw the expander arrow at.
[nullable ]
gtk_tree_view_get_expander_column ()
gtk_tree_view_get_expander_column
GtkTreeViewColumn *
gtk_tree_view_get_expander_column (GtkTreeView *tree_view );
Returns the column that is the current expander column.
This column has the expander arrow drawn next to it.
Parameters
tree_view
A GtkTreeView
Returns
The expander column.
[transfer none ]
gtk_tree_view_set_column_drag_function ()
gtk_tree_view_set_column_drag_function
void
gtk_tree_view_set_column_drag_function
(GtkTreeView *tree_view ,
GtkTreeViewColumnDropFunc func ,
gpointer user_data ,
GDestroyNotify destroy );
Sets a user function for determining where a column may be dropped when
dragged. This function is called on every column pair in turn at the
beginning of a column drag to determine where a drop can take place. The
arguments passed to func
are: the tree_view
, the GtkTreeViewColumn being
dragged, the two GtkTreeViewColumn s determining the drop spot, and
user_data
. If either of the GtkTreeViewColumn arguments for the drop spot
are NULL , then they indicate an edge. If func
is set to be NULL , then
tree_view
reverts to the default behavior of allowing all columns to be
dropped everywhere.
Parameters
tree_view
A GtkTreeView .
func
A function to determine which columns are reorderable, or NULL .
[allow-none ]
user_data
User data to be passed to func
, or NULL .
[closure ]
destroy
Destroy notifier for user_data
, or NULL .
[allow-none ]
gtk_tree_view_scroll_to_point ()
gtk_tree_view_scroll_to_point
void
gtk_tree_view_scroll_to_point (GtkTreeView *tree_view ,
gint tree_x ,
gint tree_y );
Scrolls the tree view such that the top-left corner of the visible
area is tree_x
, tree_y
, where tree_x
and tree_y
are specified
in tree coordinates. The tree_view
must be realized before
this function is called. If it isn't, you probably want to be
using gtk_tree_view_scroll_to_cell() .
If either tree_x
or tree_y
are -1, then that direction isn’t scrolled.
Parameters
tree_view
a GtkTreeView
tree_x
X coordinate of new top-left pixel of visible area, or -1
tree_y
Y coordinate of new top-left pixel of visible area, or -1
gtk_tree_view_scroll_to_cell ()
gtk_tree_view_scroll_to_cell
void
gtk_tree_view_scroll_to_cell (GtkTreeView *tree_view ,
GtkTreePath *path ,
GtkTreeViewColumn *column ,
gboolean use_align ,
gfloat row_align ,
gfloat col_align );
Moves the alignments of tree_view
to the position specified by column
and
path
. If column
is NULL , then no horizontal scrolling occurs. Likewise,
if path
is NULL no vertical scrolling occurs. At a minimum, one of column
or path
need to be non-NULL . row_align
determines where the row is
placed, and col_align
determines where column
is placed. Both are expected
to be between 0.0 and 1.0. 0.0 means left/top alignment, 1.0 means
right/bottom alignment, 0.5 means center.
If use_align
is FALSE , then the alignment arguments are ignored, and the
tree does the minimum amount of work to scroll the cell onto the screen.
This means that the cell will be scrolled to the edge closest to its current
position. If the cell is currently visible on the screen, nothing is done.
This function only works if the model is set, and path
is a valid row on the
model. If the model changes before the tree_view
is realized, the centered
path will be modified to reflect this change.
Parameters
tree_view
A GtkTreeView .
path
The path of the row to move to, or NULL .
[allow-none ]
column
The GtkTreeViewColumn to move horizontally to, or NULL .
[allow-none ]
use_align
whether to use alignment arguments, or FALSE .
row_align
The vertical alignment of the row specified by path
.
col_align
The horizontal alignment of the column specified by column
.
gtk_tree_view_set_cursor ()
gtk_tree_view_set_cursor
void
gtk_tree_view_set_cursor (GtkTreeView *tree_view ,
GtkTreePath *path ,
GtkTreeViewColumn *focus_column ,
gboolean start_editing );
Sets the current keyboard focus to be at path
, and selects it. This is
useful when you want to focus the user’s attention on a particular row. If
focus_column
is not NULL , then focus is given to the column specified by
it. Additionally, if focus_column
is specified, and start_editing
is
TRUE , then editing should be started in the specified cell.
This function is often followed by gtk_widget_grab_focus
(tree_view
)
in order to give keyboard focus to the widget. Please note that editing
can only happen when the widget is realized.
If path
is invalid for model
, the current cursor (if any) will be unset
and the function will return without failing.
Parameters
tree_view
A GtkTreeView
path
A GtkTreePath
focus_column
A GtkTreeViewColumn , or NULL .
[allow-none ]
start_editing
TRUE if the specified cell should start being edited.
gtk_tree_view_set_cursor_on_cell ()
gtk_tree_view_set_cursor_on_cell
void
gtk_tree_view_set_cursor_on_cell (GtkTreeView *tree_view ,
GtkTreePath *path ,
GtkTreeViewColumn *focus_column ,
GtkCellRenderer *focus_cell ,
gboolean start_editing );
Sets the current keyboard focus to be at path
, and selects it. This is
useful when you want to focus the user’s attention on a particular row. If
focus_column
is not NULL , then focus is given to the column specified by
it. If focus_column
and focus_cell
are not NULL , and focus_column
contains 2 or more editable or activatable cells, then focus is given to
the cell specified by focus_cell
. Additionally, if focus_column
is
specified, and start_editing
is TRUE , then editing should be started in
the specified cell. This function is often followed by
gtk_widget_grab_focus
(tree_view
) in order to give keyboard focus to the
widget. Please note that editing can only happen when the widget is
realized.
If path
is invalid for model
, the current cursor (if any) will be unset
and the function will return without failing.
Parameters
tree_view
A GtkTreeView
path
A GtkTreePath
focus_column
A GtkTreeViewColumn , or NULL .
[allow-none ]
focus_cell
A GtkCellRenderer , or NULL .
[allow-none ]
start_editing
TRUE if the specified cell should start being edited.
gtk_tree_view_get_cursor ()
gtk_tree_view_get_cursor
void
gtk_tree_view_get_cursor (GtkTreeView *tree_view ,
GtkTreePath **path ,
GtkTreeViewColumn **focus_column );
Fills in path
and focus_column
with the current path and focus column. If
the cursor isn’t currently set, then *path
will be NULL . If no column
currently has focus, then *focus_column
will be NULL .
The returned GtkTreePath must be freed with gtk_tree_path_free() when
you are done with it.
Parameters
tree_view
A GtkTreeView
path
A pointer to be
filled with the current cursor path, or NULL .
[out ][transfer full ][optional ][nullable ]
focus_column
A
pointer to be filled with the current focus column, or NULL .
[out ][transfer none ][optional ][nullable ]
gtk_tree_view_row_activated ()
gtk_tree_view_row_activated
void
gtk_tree_view_row_activated (GtkTreeView *tree_view ,
GtkTreePath *path ,
GtkTreeViewColumn *column );
Activates the cell determined by path
and column
.
Parameters
tree_view
A GtkTreeView
path
The GtkTreePath to be activated.
column
The GtkTreeViewColumn to be activated.
gtk_tree_view_expand_all ()
gtk_tree_view_expand_all
void
gtk_tree_view_expand_all (GtkTreeView *tree_view );
Recursively expands all nodes in the tree_view
.
Parameters
tree_view
A GtkTreeView .
gtk_tree_view_collapse_all ()
gtk_tree_view_collapse_all
void
gtk_tree_view_collapse_all (GtkTreeView *tree_view );
Recursively collapses all visible, expanded nodes in tree_view
.
Parameters
tree_view
A GtkTreeView .
gtk_tree_view_expand_to_path ()
gtk_tree_view_expand_to_path
void
gtk_tree_view_expand_to_path (GtkTreeView *tree_view ,
GtkTreePath *path );
Expands the row at path
. This will also expand all parent rows of
path
as necessary.
Parameters
tree_view
A GtkTreeView .
path
path to a row.
gtk_tree_view_expand_row ()
gtk_tree_view_expand_row
gboolean
gtk_tree_view_expand_row (GtkTreeView *tree_view ,
GtkTreePath *path ,
gboolean open_all );
Opens the row so its children are visible.
Parameters
tree_view
a GtkTreeView
path
path to a row
open_all
whether to recursively expand, or just expand immediate children
Returns
TRUE if the row existed and had children
gtk_tree_view_collapse_row ()
gtk_tree_view_collapse_row
gboolean
gtk_tree_view_collapse_row (GtkTreeView *tree_view ,
GtkTreePath *path );
Collapses a row (hides its child rows, if they exist).
Parameters
tree_view
a GtkTreeView
path
path to a row in the tree_view
Returns
TRUE if the row was collapsed.
gtk_tree_view_map_expanded_rows ()
gtk_tree_view_map_expanded_rows
void
gtk_tree_view_map_expanded_rows (GtkTreeView *tree_view ,
GtkTreeViewMappingFunc func ,
gpointer data );
Calls func
on all expanded rows.
Parameters
tree_view
A GtkTreeView
func
A function to be called.
[scope call ]
data
User data to be passed to the function.
gtk_tree_view_row_expanded ()
gtk_tree_view_row_expanded
gboolean
gtk_tree_view_row_expanded (GtkTreeView *tree_view ,
GtkTreePath *path );
Returns TRUE if the node pointed to by path
is expanded in tree_view
.
Parameters
tree_view
A GtkTreeView .
path
A GtkTreePath to test expansion state.
Returns
TRUE if path is expanded.
gtk_tree_view_set_reorderable ()
gtk_tree_view_set_reorderable
void
gtk_tree_view_set_reorderable (GtkTreeView *tree_view ,
gboolean reorderable );
This function is a convenience function to allow you to reorder
models that support the GtkTreeDragSourceIface and the
GtkTreeDragDestIface . Both GtkTreeStore and GtkListStore support
these. If reorderable
is TRUE , then the user can reorder the
model by dragging and dropping rows. The developer can listen to
these changes by connecting to the model’s “row-inserted”
and “row-deleted” signals. The reordering is implemented
by setting up the tree view as a drag source and destination.
Therefore, drag and drop can not be used in a reorderable view for any
other purpose.
This function does not give you any degree of control over the order -- any
reordering is allowed. If more control is needed, you should probably
handle drag and drop manually.
Parameters
tree_view
A GtkTreeView .
reorderable
TRUE , if the tree can be reordered.
gtk_tree_view_get_reorderable ()
gtk_tree_view_get_reorderable
gboolean
gtk_tree_view_get_reorderable (GtkTreeView *tree_view );
Retrieves whether the user can reorder the tree via drag-and-drop. See
gtk_tree_view_set_reorderable() .
Parameters
tree_view
a GtkTreeView
Returns
TRUE if the tree can be reordered.
gtk_tree_view_get_path_at_pos ()
gtk_tree_view_get_path_at_pos
gboolean
gtk_tree_view_get_path_at_pos (GtkTreeView *tree_view ,
gint x ,
gint y ,
GtkTreePath **path ,
GtkTreeViewColumn **column ,
gint *cell_x ,
gint *cell_y );
Finds the path at the point (x
, y
), relative to bin_window coordinates.
That is, x
and y
are relative to an events coordinates. Widget-relative
coordinates must be converted using
gtk_tree_view_convert_widget_to_bin_window_coords() . It is primarily for
things like popup menus. If path
is non-NULL , then it will be filled
with the GtkTreePath at that point. This path should be freed with
gtk_tree_path_free() . If column
is non-NULL , then it will be filled
with the column at that point. cell_x
and cell_y
return the coordinates
relative to the cell background (i.e. the background_area
passed to
gtk_cell_renderer_render() ). This function is only meaningful if
tree_view
is realized. Therefore this function will always return FALSE
if tree_view
is not realized or does not have a model.
For converting widget coordinates (eg. the ones you get from
GtkWidget::query-tooltip), please see
gtk_tree_view_convert_widget_to_bin_window_coords() .
Parameters
tree_view
A GtkTreeView .
x
The x position to be identified (relative to bin_window).
y
The y position to be identified (relative to bin_window).
path
A pointer to a GtkTreePath
pointer to be filled in, or NULL .
[out ][optional ][nullable ]
column
A pointer to
a GtkTreeViewColumn pointer to be filled in, or NULL .
[out ][transfer none ][optional ][nullable ]
cell_x
A pointer where the X coordinate
relative to the cell can be placed, or NULL .
[out ][optional ]
cell_y
A pointer where the Y coordinate
relative to the cell can be placed, or NULL .
[out ][optional ]
Returns
TRUE if a row exists at that coordinate.
gtk_tree_view_is_blank_at_pos ()
gtk_tree_view_is_blank_at_pos
gboolean
gtk_tree_view_is_blank_at_pos (GtkTreeView *tree_view ,
gint x ,
gint y ,
GtkTreePath **path ,
GtkTreeViewColumn **column ,
gint *cell_x ,
gint *cell_y );
Determine whether the point (x
, y
) in tree_view
is blank, that is no
cell content nor an expander arrow is drawn at the location. If so, the
location can be considered as the background. You might wish to take
special action on clicks on the background, such as clearing a current
selection, having a custom context menu or starting rubber banding.
The x
and y
coordinate that are provided must be relative to bin_window
coordinates. Widget-relative coordinates must be converted using
gtk_tree_view_convert_widget_to_bin_window_coords() .
For converting widget coordinates (eg. the ones you get from
GtkWidget::query-tooltip), please see
gtk_tree_view_convert_widget_to_bin_window_coords() .
The path
, column
, cell_x
and cell_y
arguments will be filled in
likewise as for gtk_tree_view_get_path_at_pos() . Please see
gtk_tree_view_get_path_at_pos() for more information.
Parameters
tree_view
A GtkTreeView
x
The x position to be identified (relative to bin_window)
y
The y position to be identified (relative to bin_window)
path
A pointer to a GtkTreePath pointer to
be filled in, or NULL .
[out ][optional ][nullable ]
column
A pointer to a
GtkTreeViewColumn pointer to be filled in, or NULL .
[out ][transfer none ][optional ][nullable ]
cell_x
A pointer where the X coordinate relative to the
cell can be placed, or NULL .
[out ][optional ]
cell_y
A pointer where the Y coordinate relative to the
cell can be placed, or NULL .
[out ][optional ]
Returns
TRUE if the area at the given coordinates is blank,
FALSE otherwise.
gtk_tree_view_get_cell_area ()
gtk_tree_view_get_cell_area
void
gtk_tree_view_get_cell_area (GtkTreeView *tree_view ,
GtkTreePath *path ,
GtkTreeViewColumn *column ,
GdkRectangle *rect );
Fills the bounding rectangle in bin_window coordinates for the cell at the
row specified by path
and the column specified by column
. If path
is
NULL , or points to a path not currently displayed, the y
and height
fields
of the rectangle will be filled with 0. If column
is NULL , the x
and width
fields will be filled with 0. The sum of all cell rects does not cover the
entire tree; there are extra pixels in between rows, for example. The
returned rectangle is equivalent to the cell_area
passed to
gtk_cell_renderer_render() . This function is only valid if tree_view
is
realized.
Parameters
tree_view
a GtkTreeView
path
a GtkTreePath for the row, or NULL to get only horizontal coordinates.
[allow-none ]
column
a GtkTreeViewColumn for the column, or NULL to get only vertical coordinates.
[allow-none ]
rect
rectangle to fill with cell rect.
[out ]
gtk_tree_view_get_background_area ()
gtk_tree_view_get_background_area
void
gtk_tree_view_get_background_area (GtkTreeView *tree_view ,
GtkTreePath *path ,
GtkTreeViewColumn *column ,
GdkRectangle *rect );
Fills the bounding rectangle in bin_window coordinates for the cell at the
row specified by path
and the column specified by column
. If path
is
NULL , or points to a node not found in the tree, the y
and height
fields of
the rectangle will be filled with 0. If column
is NULL , the x
and width
fields will be filled with 0. The returned rectangle is equivalent to the
background_area
passed to gtk_cell_renderer_render() . These background
areas tile to cover the entire bin window. Contrast with the cell_area
,
returned by gtk_tree_view_get_cell_area() , which returns only the cell
itself, excluding surrounding borders and the tree expander area.
Parameters
tree_view
a GtkTreeView
path
a GtkTreePath for the row, or NULL to get only horizontal coordinates.
[allow-none ]
column
a GtkTreeViewColumn for the column, or NULL to get only vertical coordiantes.
[allow-none ]
rect
rectangle to fill with cell background rect.
[out ]
gtk_tree_view_get_visible_rect ()
gtk_tree_view_get_visible_rect
void
gtk_tree_view_get_visible_rect (GtkTreeView *tree_view ,
GdkRectangle *visible_rect );
Fills visible_rect
with the currently-visible region of the
buffer, in tree coordinates. Convert to bin_window coordinates with
gtk_tree_view_convert_tree_to_bin_window_coords() .
Tree coordinates start at 0,0 for row 0 of the tree, and cover the entire
scrollable area of the tree.
Parameters
tree_view
a GtkTreeView
visible_rect
rectangle to fill.
[out ]
gtk_tree_view_get_visible_range ()
gtk_tree_view_get_visible_range
gboolean
gtk_tree_view_get_visible_range (GtkTreeView *tree_view ,
GtkTreePath **start_path ,
GtkTreePath **end_path );
Sets start_path
and end_path
to be the first and last visible path.
Note that there may be invisible paths in between.
The paths should be freed with gtk_tree_path_free() after use.
Parameters
tree_view
A GtkTreeView
start_path
Return location for start of region,
or NULL .
[out ][allow-none ]
end_path
Return location for end of region, or NULL .
[out ][allow-none ]
Returns
TRUE , if valid paths were placed in start_path
and end_path
.
gtk_tree_view_convert_bin_window_to_tree_coords ()
gtk_tree_view_convert_bin_window_to_tree_coords
void
gtk_tree_view_convert_bin_window_to_tree_coords
(GtkTreeView *tree_view ,
gint bx ,
gint by ,
gint *tx ,
gint *ty );
Converts bin_window coordinates to coordinates for the
tree (the full scrollable area of the tree).
Parameters
tree_view
a GtkTreeView
bx
X coordinate relative to bin_window
by
Y coordinate relative to bin_window
tx
return location for tree X coordinate.
[out ]
ty
return location for tree Y coordinate.
[out ]
gtk_tree_view_convert_bin_window_to_widget_coords ()
gtk_tree_view_convert_bin_window_to_widget_coords
void
gtk_tree_view_convert_bin_window_to_widget_coords
(GtkTreeView *tree_view ,
gint bx ,
gint by ,
gint *wx ,
gint *wy );
Converts bin_window coordinates to widget relative coordinates.
Parameters
tree_view
a GtkTreeView
bx
bin_window X coordinate
by
bin_window Y coordinate
wx
return location for widget X coordinate.
[out ]
wy
return location for widget Y coordinate.
[out ]
gtk_tree_view_convert_tree_to_bin_window_coords ()
gtk_tree_view_convert_tree_to_bin_window_coords
void
gtk_tree_view_convert_tree_to_bin_window_coords
(GtkTreeView *tree_view ,
gint tx ,
gint ty ,
gint *bx ,
gint *by );
Converts tree coordinates (coordinates in full scrollable area of the tree)
to bin_window coordinates.
Parameters
tree_view
a GtkTreeView
tx
tree X coordinate
ty
tree Y coordinate
bx
return location for X coordinate relative to bin_window.
[out ]
by
return location for Y coordinate relative to bin_window.
[out ]
gtk_tree_view_convert_tree_to_widget_coords ()
gtk_tree_view_convert_tree_to_widget_coords
void
gtk_tree_view_convert_tree_to_widget_coords
(GtkTreeView *tree_view ,
gint tx ,
gint ty ,
gint *wx ,
gint *wy );
Converts tree coordinates (coordinates in full scrollable area of the tree)
to widget coordinates.
Parameters
tree_view
a GtkTreeView
tx
X coordinate relative to the tree
ty
Y coordinate relative to the tree
wx
return location for widget X coordinate.
[out ]
wy
return location for widget Y coordinate.
[out ]
gtk_tree_view_convert_widget_to_bin_window_coords ()
gtk_tree_view_convert_widget_to_bin_window_coords
void
gtk_tree_view_convert_widget_to_bin_window_coords
(GtkTreeView *tree_view ,
gint wx ,
gint wy ,
gint *bx ,
gint *by );
Converts widget coordinates to coordinates for the bin_window.
Parameters
tree_view
a GtkTreeView
wx
X coordinate relative to the widget
wy
Y coordinate relative to the widget
bx
return location for bin_window X coordinate.
[out ]
by
return location for bin_window Y coordinate.
[out ]
gtk_tree_view_convert_widget_to_tree_coords ()
gtk_tree_view_convert_widget_to_tree_coords
void
gtk_tree_view_convert_widget_to_tree_coords
(GtkTreeView *tree_view ,
gint wx ,
gint wy ,
gint *tx ,
gint *ty );
Converts widget coordinates to coordinates for the
tree (the full scrollable area of the tree).
Parameters
tree_view
a GtkTreeView
wx
X coordinate relative to the widget
wy
Y coordinate relative to the widget
tx
return location for tree X coordinate.
[out ]
ty
return location for tree Y coordinate.
[out ]
gtk_tree_view_enable_model_drag_dest ()
gtk_tree_view_enable_model_drag_dest
GtkDropTarget *
gtk_tree_view_enable_model_drag_dest (GtkTreeView *tree_view ,
GdkContentFormats *formats ,
GdkDragAction actions );
Turns tree_view
into a drop destination for automatic DND. Calling
this method sets “reorderable” to FALSE .
Parameters
tree_view
a GtkTreeView
formats
the target formats that the drag will support
actions
the bitmask of possible actions for a drag from this
widget
Returns
the drop target that has been attached.
[transfer none ]
gtk_tree_view_enable_model_drag_source ()
gtk_tree_view_enable_model_drag_source
void
gtk_tree_view_enable_model_drag_source
(GtkTreeView *tree_view ,
GdkModifierType start_button_mask ,
GdkContentFormats *formats ,
GdkDragAction actions );
Turns tree_view
into a drag source for automatic DND. Calling this
method sets “reorderable” to FALSE .
Parameters
tree_view
a GtkTreeView
start_button_mask
Mask of allowed buttons to start drag
formats
the target formats that the drag will support
actions
the bitmask of possible actions for a drag from this
widget
gtk_tree_view_unset_rows_drag_source ()
gtk_tree_view_unset_rows_drag_source
void
gtk_tree_view_unset_rows_drag_source (GtkTreeView *tree_view );
Undoes the effect of
gtk_tree_view_enable_model_drag_source() . Calling this method sets
“reorderable” to FALSE .
Parameters
tree_view
a GtkTreeView
gtk_tree_view_unset_rows_drag_dest ()
gtk_tree_view_unset_rows_drag_dest
void
gtk_tree_view_unset_rows_drag_dest (GtkTreeView *tree_view );
Undoes the effect of
gtk_tree_view_enable_model_drag_dest() . Calling this method sets
“reorderable” to FALSE .
Parameters
tree_view
a GtkTreeView
gtk_tree_view_set_drag_dest_row ()
gtk_tree_view_set_drag_dest_row
void
gtk_tree_view_set_drag_dest_row (GtkTreeView *tree_view ,
GtkTreePath *path ,
GtkTreeViewDropPosition pos );
Sets the row that is highlighted for feedback.
If path
is NULL , an existing highlight is removed.
Parameters
tree_view
a GtkTreeView
path
The path of the row to highlight, or NULL .
[allow-none ]
pos
Specifies whether to drop before, after or into the row
gtk_tree_view_get_drag_dest_row ()
gtk_tree_view_get_drag_dest_row
void
gtk_tree_view_get_drag_dest_row (GtkTreeView *tree_view ,
GtkTreePath **path ,
GtkTreeViewDropPosition *pos );
Gets information about the row that is highlighted for feedback.
Parameters
tree_view
a GtkTreeView
path
Return location for the path of the highlighted row, or NULL .
[out ][optional ][nullable ]
pos
Return location for the drop position, or NULL .
[out ][optional ]
gtk_tree_view_get_dest_row_at_pos ()
gtk_tree_view_get_dest_row_at_pos
gboolean
gtk_tree_view_get_dest_row_at_pos (GtkTreeView *tree_view ,
gint drag_x ,
gint drag_y ,
GtkTreePath **path ,
GtkTreeViewDropPosition *pos );
Determines the destination row for a given position. drag_x
and
drag_y
are expected to be in widget coordinates. This function is only
meaningful if tree_view
is realized. Therefore this function will always
return FALSE if tree_view
is not realized or does not have a model.
Parameters
tree_view
a GtkTreeView
drag_x
the position to determine the destination row for
drag_y
the position to determine the destination row for
path
Return location for the path of
the highlighted row, or NULL .
[out ][optional ][nullable ]
pos
Return location for the drop position, or
NULL .
[out ][optional ]
Returns
whether there is a row at the given position, TRUE if this
is indeed the case.
gtk_tree_view_create_row_drag_icon ()
gtk_tree_view_create_row_drag_icon
GdkPaintable *
gtk_tree_view_create_row_drag_icon (GtkTreeView *tree_view ,
GtkTreePath *path );
Creates a cairo_surface_t representation of the row at path
.
This image is used for a drag icon.
Parameters
tree_view
a GtkTreeView
path
a GtkTreePath in tree_view
Returns
a newly-allocated surface of the drag icon.
[transfer full ]
gtk_tree_view_set_enable_search ()
gtk_tree_view_set_enable_search
void
gtk_tree_view_set_enable_search (GtkTreeView *tree_view ,
gboolean enable_search );
If enable_search
is set, then the user can type in text to search through
the tree interactively (this is sometimes called "typeahead find").
Note that even if this is FALSE , the user can still initiate a search
using the “start-interactive-search” key binding.
Parameters
tree_view
A GtkTreeView
enable_search
TRUE , if the user can search interactively
gtk_tree_view_get_enable_search ()
gtk_tree_view_get_enable_search
gboolean
gtk_tree_view_get_enable_search (GtkTreeView *tree_view );
Returns whether or not the tree allows to start interactive searching
by typing in text.
Parameters
tree_view
A GtkTreeView
Returns
whether or not to let the user search interactively
gtk_tree_view_get_search_column ()
gtk_tree_view_get_search_column
gint
gtk_tree_view_get_search_column (GtkTreeView *tree_view );
Gets the column searched on by the interactive search code.
Parameters
tree_view
A GtkTreeView
Returns
the column the interactive search code searches in.
gtk_tree_view_set_search_column ()
gtk_tree_view_set_search_column
void
gtk_tree_view_set_search_column (GtkTreeView *tree_view ,
gint column );
Sets column
as the column where the interactive search code should
search in for the current model.
If the search column is set, users can use the “start-interactive-search”
key binding to bring up search popup. The enable-search property controls
whether simply typing text will also start an interactive search.
Note that column
refers to a column of the current model. The search
column is reset to -1 when the model is changed.
Parameters
tree_view
A GtkTreeView
column
the column of the model to search in, or -1 to disable searching
gtk_tree_view_get_search_equal_func ()
gtk_tree_view_get_search_equal_func
GtkTreeViewSearchEqualFunc
gtk_tree_view_get_search_equal_func (GtkTreeView *tree_view );
Returns the compare function currently in use.
[skip ]
Parameters
tree_view
A GtkTreeView
Returns
the currently used compare function for the search code.
gtk_tree_view_set_search_equal_func ()
gtk_tree_view_set_search_equal_func
void
gtk_tree_view_set_search_equal_func (GtkTreeView *tree_view ,
GtkTreeViewSearchEqualFunc search_equal_func ,
gpointer search_user_data ,
GDestroyNotify search_destroy );
Sets the compare function for the interactive search capabilities; note
that somewhat like strcmp() returning 0 for equality
GtkTreeViewSearchEqualFunc returns FALSE on matches.
Parameters
tree_view
A GtkTreeView
search_equal_func
the compare function to use during the search
search_user_data
user data to pass to search_equal_func
, or NULL .
[allow-none ]
search_destroy
Destroy notifier for search_user_data
, or NULL .
[allow-none ]
gtk_tree_view_get_search_entry ()
gtk_tree_view_get_search_entry
GtkEditable *
gtk_tree_view_get_search_entry (GtkTreeView *tree_view );
Returns the GtkEntry which is currently in use as interactive search
entry for tree_view
. In case the built-in entry is being used, NULL
will be returned.
Parameters
tree_view
A GtkTreeView
Returns
the entry currently in use as search entry.
[transfer none ]
gtk_tree_view_set_search_entry ()
gtk_tree_view_set_search_entry
void
gtk_tree_view_set_search_entry (GtkTreeView *tree_view ,
GtkEditable *entry );
Sets the entry which the interactive search code will use for this
tree_view
. This is useful when you want to provide a search entry
in our interface at all time at a fixed position. Passing NULL for
entry
will make the interactive search code use the built-in popup
entry again.
Parameters
tree_view
A GtkTreeView
entry
the entry the interactive search code of tree_view
should use or NULL .
[allow-none ]
gtk_tree_view_get_fixed_height_mode ()
gtk_tree_view_get_fixed_height_mode
gboolean
gtk_tree_view_get_fixed_height_mode (GtkTreeView *tree_view );
Returns whether fixed height mode is turned on for tree_view
.
Parameters
tree_view
a GtkTreeView
Returns
TRUE if tree_view
is in fixed height mode
gtk_tree_view_set_fixed_height_mode ()
gtk_tree_view_set_fixed_height_mode
void
gtk_tree_view_set_fixed_height_mode (GtkTreeView *tree_view ,
gboolean enable );
Enables or disables the fixed height mode of tree_view
.
Fixed height mode speeds up GtkTreeView by assuming that all
rows have the same height.
Only enable this option if all rows are the same height and all
columns are of type GTK_TREE_VIEW_COLUMN_FIXED .
Parameters
tree_view
a GtkTreeView
enable
TRUE to enable fixed height mode
gtk_tree_view_get_hover_selection ()
gtk_tree_view_get_hover_selection
gboolean
gtk_tree_view_get_hover_selection (GtkTreeView *tree_view );
Returns whether hover selection mode is turned on for tree_view
.
Parameters
tree_view
a GtkTreeView
Returns
TRUE if tree_view
is in hover selection mode
gtk_tree_view_set_hover_selection ()
gtk_tree_view_set_hover_selection
void
gtk_tree_view_set_hover_selection (GtkTreeView *tree_view ,
gboolean hover );
Enables or disables the hover selection mode of tree_view
.
Hover selection makes the selected row follow the pointer.
Currently, this works only for the selection modes
GTK_SELECTION_SINGLE and GTK_SELECTION_BROWSE .
Parameters
tree_view
a GtkTreeView
hover
TRUE to enable hover selection mode
gtk_tree_view_get_hover_expand ()
gtk_tree_view_get_hover_expand
gboolean
gtk_tree_view_get_hover_expand (GtkTreeView *tree_view );
Returns whether hover expansion mode is turned on for tree_view
.
Parameters
tree_view
a GtkTreeView
Returns
TRUE if tree_view
is in hover expansion mode
gtk_tree_view_set_hover_expand ()
gtk_tree_view_set_hover_expand
void
gtk_tree_view_set_hover_expand (GtkTreeView *tree_view ,
gboolean expand );
Enables or disables the hover expansion mode of tree_view
.
Hover expansion makes rows expand or collapse if the pointer
moves over them.
Parameters
tree_view
a GtkTreeView
expand
TRUE to enable hover selection mode
GtkTreeViewRowSeparatorFunc ()
GtkTreeViewRowSeparatorFunc
gboolean
( *GtkTreeViewRowSeparatorFunc) (GtkTreeModel *model ,
GtkTreeIter *iter ,
gpointer data );
Function type for determining whether the row pointed to by iter
should
be rendered as a separator. A common way to implement this is to have a
boolean column in the model, whose values the GtkTreeViewRowSeparatorFunc
returns.
Parameters
model
the GtkTreeModel
iter
a GtkTreeIter pointing at a row in model
data
user data.
[closure ]
Returns
TRUE if the row is a separator
gtk_tree_view_get_row_separator_func ()
gtk_tree_view_get_row_separator_func
GtkTreeViewRowSeparatorFunc
gtk_tree_view_get_row_separator_func (GtkTreeView *tree_view );
Returns the current row separator function.
[skip ]
Parameters
tree_view
a GtkTreeView
Returns
the current row separator function.
gtk_tree_view_set_row_separator_func ()
gtk_tree_view_set_row_separator_func
void
gtk_tree_view_set_row_separator_func (GtkTreeView *tree_view ,
GtkTreeViewRowSeparatorFunc func ,
gpointer data ,
GDestroyNotify destroy );
Sets the row separator function, which is used to determine
whether a row should be drawn as a separator. If the row separator
function is NULL , no separators are drawn. This is the default value.
Parameters
tree_view
a GtkTreeView
func
a GtkTreeViewRowSeparatorFunc .
[allow-none ]
data
user data to pass to func
, or NULL .
[allow-none ]
destroy
destroy notifier for data
, or NULL .
[allow-none ]
gtk_tree_view_get_rubber_banding ()
gtk_tree_view_get_rubber_banding
gboolean
gtk_tree_view_get_rubber_banding (GtkTreeView *tree_view );
Returns whether rubber banding is turned on for tree_view
. If the
selection mode is GTK_SELECTION_MULTIPLE , rubber banding will allow the
user to select multiple rows by dragging the mouse.
Parameters
tree_view
a GtkTreeView
Returns
TRUE if rubber banding in tree_view
is enabled.
gtk_tree_view_set_rubber_banding ()
gtk_tree_view_set_rubber_banding
void
gtk_tree_view_set_rubber_banding (GtkTreeView *tree_view ,
gboolean enable );
Enables or disables rubber banding in tree_view
. If the selection mode
is GTK_SELECTION_MULTIPLE , rubber banding will allow the user to select
multiple rows by dragging the mouse.
Parameters
tree_view
a GtkTreeView
enable
TRUE to enable rubber banding
gtk_tree_view_is_rubber_banding_active ()
gtk_tree_view_is_rubber_banding_active
gboolean
gtk_tree_view_is_rubber_banding_active
(GtkTreeView *tree_view );
Returns whether a rubber banding operation is currently being done
in tree_view
.
Parameters
tree_view
a GtkTreeView
Returns
TRUE if a rubber banding operation is currently being
done in tree_view
.
gtk_tree_view_get_enable_tree_lines ()
gtk_tree_view_get_enable_tree_lines
gboolean
gtk_tree_view_get_enable_tree_lines (GtkTreeView *tree_view );
Returns whether or not tree lines are drawn in tree_view
.
Parameters
tree_view
a GtkTreeView .
Returns
TRUE if tree lines are drawn in tree_view
, FALSE
otherwise.
gtk_tree_view_set_enable_tree_lines ()
gtk_tree_view_set_enable_tree_lines
void
gtk_tree_view_set_enable_tree_lines (GtkTreeView *tree_view ,
gboolean enabled );
Sets whether to draw lines interconnecting the expanders in tree_view
.
This does not have any visible effects for lists.
Parameters
tree_view
a GtkTreeView
enabled
TRUE to enable tree line drawing, FALSE otherwise.
gtk_tree_view_get_grid_lines ()
gtk_tree_view_get_grid_lines
GtkTreeViewGridLines
gtk_tree_view_get_grid_lines (GtkTreeView *tree_view );
Returns which grid lines are enabled in tree_view
.
Parameters
tree_view
a GtkTreeView
Returns
a GtkTreeViewGridLines value indicating which grid lines
are enabled.
gtk_tree_view_set_grid_lines ()
gtk_tree_view_set_grid_lines
void
gtk_tree_view_set_grid_lines (GtkTreeView *tree_view ,
GtkTreeViewGridLines grid_lines );
Sets which grid lines to draw in tree_view
.
Parameters
tree_view
a GtkTreeView
grid_lines
a GtkTreeViewGridLines value indicating which grid lines to
enable.
gtk_tree_view_set_tooltip_row ()
gtk_tree_view_set_tooltip_row
void
gtk_tree_view_set_tooltip_row (GtkTreeView *tree_view ,
GtkTooltip *tooltip ,
GtkTreePath *path );
Sets the tip area of tooltip
to be the area covered by the row at path
.
See also gtk_tree_view_set_tooltip_column() for a simpler alternative.
See also gtk_tooltip_set_tip_area() .
Parameters
tree_view
a GtkTreeView
tooltip
a GtkTooltip
path
a GtkTreePath
gtk_tree_view_set_tooltip_cell ()
gtk_tree_view_set_tooltip_cell
void
gtk_tree_view_set_tooltip_cell (GtkTreeView *tree_view ,
GtkTooltip *tooltip ,
GtkTreePath *path ,
GtkTreeViewColumn *column ,
GtkCellRenderer *cell );
Sets the tip area of tooltip
to the area path
, column
and cell
have
in common. For example if path
is NULL and column
is set, the tip
area will be set to the full area covered by column
. See also
gtk_tooltip_set_tip_area() .
Note that if path
is not specified and cell
is set and part of a column
containing the expander, the tooltip might not show and hide at the correct
position. In such cases path
must be set to the current node under the
mouse cursor for this function to operate correctly.
See also gtk_tree_view_set_tooltip_column() for a simpler alternative.
Parameters
tree_view
a GtkTreeView
tooltip
a GtkTooltip
path
a GtkTreePath or NULL .
[allow-none ]
column
a GtkTreeViewColumn or NULL .
[allow-none ]
cell
a GtkCellRenderer or NULL .
[allow-none ]
gtk_tree_view_get_tooltip_context ()
gtk_tree_view_get_tooltip_context
gboolean
gtk_tree_view_get_tooltip_context (GtkTreeView *tree_view ,
gint *x ,
gint *y ,
gboolean keyboard_tip ,
GtkTreeModel **model ,
GtkTreePath **path ,
GtkTreeIter *iter );
This function is supposed to be used in a “query-tooltip”
signal handler for GtkTreeView . The x
, y
and keyboard_tip
values
which are received in the signal handler, should be passed to this
function without modification.
The return value indicates whether there is a tree view row at the given
coordinates (TRUE ) or not (FALSE ) for mouse tooltips. For keyboard
tooltips the row returned will be the cursor row. When TRUE , then any of
model
, path
and iter
which have been provided will be set to point to
that row and the corresponding model. x
and y
will always be converted
to be relative to tree_view
’s bin_window if keyboard_tooltip
is FALSE .
Parameters
tree_view
a GtkTreeView
x
the x coordinate (relative to widget coordinates).
[inout ]
y
the y coordinate (relative to widget coordinates).
[inout ]
keyboard_tip
whether this is a keyboard tooltip or not
model
a pointer to
receive a GtkTreeModel or NULL .
[out ][optional ][nullable ][transfer none ]
path
a pointer to receive a GtkTreePath or NULL .
[out ][optional ]
iter
a pointer to receive a GtkTreeIter or NULL .
[out ][optional ]
Returns
whether or not the given tooltip context points to a row.
gtk_tree_view_get_tooltip_column ()
gtk_tree_view_get_tooltip_column
gint
gtk_tree_view_get_tooltip_column (GtkTreeView *tree_view );
Returns the column of tree_view
’s model which is being used for
displaying tooltips on tree_view
’s rows.
Parameters
tree_view
a GtkTreeView
Returns
the index of the tooltip column that is currently being
used, or -1 if this is disabled.
gtk_tree_view_set_tooltip_column ()
gtk_tree_view_set_tooltip_column
void
gtk_tree_view_set_tooltip_column (GtkTreeView *tree_view ,
gint column );
If you only plan to have simple (text-only) tooltips on full rows, you
can use this function to have GtkTreeView handle these automatically
for you. column
should be set to the column in tree_view
’s model
containing the tooltip texts, or -1 to disable this feature.
When enabled, “has-tooltip” will be set to TRUE and
tree_view
will connect a “query-tooltip” signal handler.
Note that the signal handler sets the text with gtk_tooltip_set_markup() ,
so &, <, etc have to be escaped in the text.
Parameters
tree_view
a GtkTreeView
column
an integer, which is a valid column number for tree_view
’s model
Property Details
The “activate-on-single-click” property
GtkTreeView:activate-on-single-click
“activate-on-single-click” gboolean
The activate-on-single-click property specifies whether the "row-activated" signal
will be emitted after a single click.
Owner: GtkTreeView
Flags: Read / Write
Default value: FALSE
The “enable-grid-lines” property
GtkTreeView:enable-grid-lines
“enable-grid-lines” GtkTreeViewGridLines
Whether grid lines should be drawn in the tree view. Owner: GtkTreeView
Flags: Read / Write
Default value: GTK_TREE_VIEW_GRID_LINES_NONE
The “enable-search” property
GtkTreeView:enable-search
“enable-search” gboolean
View allows user to search through columns interactively. Owner: GtkTreeView
Flags: Read / Write
Default value: TRUE
The “enable-tree-lines” property
GtkTreeView:enable-tree-lines
“enable-tree-lines” gboolean
Whether tree lines should be drawn in the tree view. Owner: GtkTreeView
Flags: Read / Write
Default value: FALSE
The “expander-column” property
GtkTreeView:expander-column
“expander-column” GtkTreeViewColumn *
Set the column for the expander column. Owner: GtkTreeView
Flags: Read / Write
The “fixed-height-mode” property
GtkTreeView:fixed-height-mode
“fixed-height-mode” gboolean
Setting the ::fixed-height-mode property to TRUE speeds up
GtkTreeView by assuming that all rows have the same height.
Only enable this option if all rows are the same height.
Please see gtk_tree_view_set_fixed_height_mode() for more
information on this option.
Owner: GtkTreeView
Flags: Read / Write
Default value: FALSE
The “hover-expand” property
GtkTreeView:hover-expand
“hover-expand” gboolean
Enables or disables the hover expansion mode of tree_view
.
Hover expansion makes rows expand or collapse if the pointer moves
over them.
This mode is primarily intended for treeviews in popups, e.g.
in GtkComboBox or GtkEntryCompletion .
Owner: GtkTreeView
Flags: Read / Write
Default value: FALSE
The “hover-selection” property
GtkTreeView:hover-selection
“hover-selection” gboolean
Enables or disables the hover selection mode of tree_view
.
Hover selection makes the selected row follow the pointer.
Currently, this works only for the selection modes
GTK_SELECTION_SINGLE and GTK_SELECTION_BROWSE .
This mode is primarily intended for treeviews in popups, e.g.
in GtkComboBox or GtkEntryCompletion .
Owner: GtkTreeView
Flags: Read / Write
Default value: FALSE
The “level-indentation” property
GtkTreeView:level-indentation
“level-indentation” gint
Extra indentation for each level.
Owner: GtkTreeView
Flags: Read / Write
Allowed values: >= 0
Default value: 0
The “model” property
GtkTreeView:model
“model” GtkTreeModel *
The model for the tree view. Owner: GtkTreeView
Flags: Read / Write
The “reorderable” property
GtkTreeView:reorderable
“reorderable” gboolean
View is reorderable. Owner: GtkTreeView
Flags: Read / Write
Default value: FALSE
The “rubber-banding” property
GtkTreeView:rubber-banding
“rubber-banding” gboolean
Whether to enable selection of multiple items by dragging the mouse pointer. Owner: GtkTreeView
Flags: Read / Write
Default value: FALSE
The “search-column” property
GtkTreeView:search-column
“search-column” gint
Model column to search through during interactive search. Owner: GtkTreeView
Flags: Read / Write
Allowed values: >= -1
Default value: -1
The “show-expanders” property
GtkTreeView:show-expanders
“show-expanders” gboolean
TRUE if the view has expanders.
Owner: GtkTreeView
Flags: Read / Write
Default value: TRUE
The “tooltip-column” property
GtkTreeView:tooltip-column
“tooltip-column” gint
The column in the model containing the tooltip texts for the rows. Owner: GtkTreeView
Flags: Read / Write
Allowed values: >= -1
Default value: -1
Signal Details
The “columns-changed” signal
GtkTreeView::columns-changed
void
user_function (GtkTreeView *tree_view,
gpointer user_data)
The number of columns of the treeview has changed.
Parameters
tree_view
the object on which the signal is emitted
user_data
user data set when the signal handler was connected.
Flags: Run Last
The “cursor-changed” signal
GtkTreeView::cursor-changed
void
user_function (GtkTreeView *tree_view,
gpointer user_data)
The position of the cursor (focused cell) has changed.
Parameters
tree_view
the object on which the signal is emitted
user_data
user data set when the signal handler was connected.
Flags: Run Last
The “expand-collapse-cursor-row” signal
GtkTreeView::expand-collapse-cursor-row
gboolean
user_function (GtkTreeView *treeview,
gboolean arg1,
gboolean arg2,
gboolean arg3,
gpointer user_data)
Flags: Action
The “move-cursor” signal
GtkTreeView::move-cursor
gboolean
user_function (GtkTreeView *tree_view,
GtkMovementStep step,
gint direction,
gpointer user_data)
The “move-cursor” signal is a keybinding
signal which gets emitted when the user
presses one of the cursor keys.
Applications should not connect to it, but may emit it with
g_signal_emit_by_name() if they need to control the cursor
programmatically. In contrast to gtk_tree_view_set_cursor() and
gtk_tree_view_set_cursor_on_cell() when moving horizontally
“move-cursor” does not reset the current selection.
Parameters
tree_view
the object on which the signal is emitted.
step
the granularity of the move, as a
GtkMovementStep . GTK_MOVEMENT_LOGICAL_POSITIONS ,
GTK_MOVEMENT_VISUAL_POSITIONS , GTK_MOVEMENT_DISPLAY_LINES ,
GTK_MOVEMENT_PAGES and GTK_MOVEMENT_BUFFER_ENDS are
supported. GTK_MOVEMENT_LOGICAL_POSITIONS and
GTK_MOVEMENT_VISUAL_POSITIONS are treated identically.
direction
the direction to move: +1 to move forwards;
-1 to move backwards. The resulting movement is
undefined for all other values.
user_data
user data set when the signal handler was connected.
Returns
TRUE if step
is supported, FALSE otherwise.
Flags: Action
The “row-activated” signal
GtkTreeView::row-activated
void
user_function (GtkTreeView *tree_view,
GtkTreePath *path,
GtkTreeViewColumn *column,
gpointer user_data)
The "row-activated" signal is emitted when the method
gtk_tree_view_row_activated() is called, when the user double
clicks a treeview row with the "activate-on-single-click"
property set to FALSE , or when the user single clicks a row when
the "activate-on-single-click" property set to TRUE . It is also
emitted when a non-editable row is selected and one of the keys:
Space, Shift+Space, Return or Enter is pressed.
For selection handling refer to the
tree widget conceptual overview
as well as GtkTreeSelection .
Parameters
tree_view
the object on which the signal is emitted
path
the GtkTreePath for the activated row
column
the GtkTreeViewColumn in which the activation occurred
user_data
user data set when the signal handler was connected.
Flags: Action
The “row-collapsed” signal
GtkTreeView::row-collapsed
void
user_function (GtkTreeView *tree_view,
GtkTreeIter *iter,
GtkTreePath *path,
gpointer user_data)
The given row has been collapsed (child nodes are hidden).
Parameters
tree_view
the object on which the signal is emitted
iter
the tree iter of the collapsed row
path
a tree path that points to the row
user_data
user data set when the signal handler was connected.
Flags: Run Last
The “row-expanded” signal
GtkTreeView::row-expanded
void
user_function (GtkTreeView *tree_view,
GtkTreeIter *iter,
GtkTreePath *path,
gpointer user_data)
The given row has been expanded (child nodes are shown).
Parameters
tree_view
the object on which the signal is emitted
iter
the tree iter of the expanded row
path
a tree path that points to the row
user_data
user data set when the signal handler was connected.
Flags: Run Last
The “select-all” signal
GtkTreeView::select-all
gboolean
user_function (GtkTreeView *treeview,
gpointer user_data)
Flags: Action
The “select-cursor-parent” signal
GtkTreeView::select-cursor-parent
gboolean
user_function (GtkTreeView *treeview,
gpointer user_data)
Flags: Action
The “select-cursor-row” signal
GtkTreeView::select-cursor-row
gboolean
user_function (GtkTreeView *treeview,
gboolean arg1,
gpointer user_data)
Flags: Action
The “start-interactive-search” signal
GtkTreeView::start-interactive-search
gboolean
user_function (GtkTreeView *treeview,
gpointer user_data)
Flags: Action
The “test-collapse-row” signal
GtkTreeView::test-collapse-row
gboolean
user_function (GtkTreeView *tree_view,
GtkTreeIter *iter,
GtkTreePath *path,
gpointer user_data)
The given row is about to be collapsed (hide its children nodes). Use this
signal if you need to control the collapsibility of individual rows.
Parameters
tree_view
the object on which the signal is emitted
iter
the tree iter of the row to collapse
path
a tree path that points to the row
user_data
user data set when the signal handler was connected.
Returns
FALSE to allow collapsing, TRUE to reject
Flags: Run Last
The “test-expand-row” signal
GtkTreeView::test-expand-row
gboolean
user_function (GtkTreeView *tree_view,
GtkTreeIter *iter,
GtkTreePath *path,
gpointer user_data)
The given row is about to be expanded (show its children nodes). Use this
signal if you need to control the expandability of individual rows.
Parameters
tree_view
the object on which the signal is emitted
iter
the tree iter of the row to expand
path
a tree path that points to the row
user_data
user data set when the signal handler was connected.
Returns
FALSE to allow expansion, TRUE to reject
Flags: Run Last
The “toggle-cursor-row” signal
GtkTreeView::toggle-cursor-row
gboolean
user_function (GtkTreeView *treeview,
gpointer user_data)
Flags: Action
The “unselect-all” signal
GtkTreeView::unselect-all
gboolean
user_function (GtkTreeView *treeview,
gpointer user_data)
Flags: Action
See Also
GtkTreeViewColumn , GtkTreeSelection , GtkTreeModel ,
GtkTreeView drag-and-drop,
GtkTreeSortable , GtkTreeModelSort , GtkListStore , GtkTreeStore ,
GtkCellRenderer , GtkCellEditable , GtkCellRendererPixbuf ,
GtkCellRendererText , GtkCellRendererToggle
docs/reference/gtk/xml/gtkbutton.xml 0000664 0001750 0001750 00000103431 13617646201 017734 0 ustar mclasen mclasen
]>
GtkButton
3
GTK4 Library
GtkButton
A widget that emits a signal when clicked on
Functions
GtkWidget *
gtk_button_new ()
GtkWidget *
gtk_button_new_with_label ()
GtkWidget *
gtk_button_new_with_mnemonic ()
GtkWidget *
gtk_button_new_from_icon_name ()
void
gtk_button_set_relief ()
GtkReliefStyle
gtk_button_get_relief ()
const gchar *
gtk_button_get_label ()
void
gtk_button_set_label ()
gboolean
gtk_button_get_use_underline ()
void
gtk_button_set_use_underline ()
void
gtk_button_set_icon_name ()
const char *
gtk_button_get_icon_name ()
Properties
gchar * icon-nameRead / Write
gchar * labelRead / Write
GtkReliefStyle reliefRead / Write
gboolean use-underlineRead / Write
Signals
void activate Action
void clicked Action
Types and Values
struct GtkButton
struct GtkButtonClass
Object Hierarchy
GObject
╰── GInitiallyUnowned
╰── GtkWidget
╰── GtkContainer
╰── GtkBin
╰── GtkButton
├── GtkToggleButton
├── GtkLinkButton
├── GtkLockButton
╰── GtkScaleButton
Implemented Interfaces
GtkButton implements
AtkImplementorIface, GtkBuildable, GtkConstraintTarget and GtkActionable.
Includes #include <gtk/gtk.h>
Description
The GtkButton widget is generally used to trigger a callback function that is
called when the button is pressed. The various signals and how to use them
are outlined below.
The GtkButton widget can hold any valid child widget. That is, it can hold
almost any other standard GtkWidget . The most commonly used child is the
GtkLabel .
CSS nodes GtkButton has a single CSS node with name button. The node will get the
style classes .image-button or .text-button, if the content is just an
image or label, respectively. It may also receive the .flat style class.
Other style classes that are commonly used with GtkButton include
.suggested-action and .destructive-action. In special cases, buttons
can be made round by adding the .circular style class.
Button-like widgets like GtkToggleButton , GtkMenuButton , GtkVolumeButton ,
GtkLockButton , GtkColorButton or GtkFontButton use style classes such as
.toggle, .popup, .scale, .lock, .color on the button node
to differentiate themselves from a plain GtkButton.
Functions
gtk_button_new ()
gtk_button_new
GtkWidget *
gtk_button_new (void );
Creates a new GtkButton widget. To add a child widget to the button,
use gtk_container_add() .
Returns
The newly created GtkButton widget.
gtk_button_new_with_label ()
gtk_button_new_with_label
GtkWidget *
gtk_button_new_with_label (const gchar *label );
Creates a GtkButton widget with a GtkLabel child containing the given
text.
Parameters
label
The text you want the GtkLabel to hold.
Returns
The newly created GtkButton widget.
gtk_button_new_with_mnemonic ()
gtk_button_new_with_mnemonic
GtkWidget *
gtk_button_new_with_mnemonic (const gchar *label );
Creates a new GtkButton containing a label.
If characters in label
are preceded by an underscore, they are underlined.
If you need a literal underscore character in a label, use “__” (two
underscores). The first underlined character represents a keyboard
accelerator called a mnemonic.
Pressing Alt and that key activates the button.
Parameters
label
The text of the button, with an underscore in front of the
mnemonic character
Returns
a new GtkButton
gtk_button_new_from_icon_name ()
gtk_button_new_from_icon_name
GtkWidget *
gtk_button_new_from_icon_name (const gchar *icon_name );
Creates a new button containing an icon from the current icon theme.
If the icon name isn’t known, a “broken image” icon will be
displayed instead. If the current icon theme is changed, the icon
will be updated appropriately.
Parameters
icon_name
an icon name or NULL .
[nullable ]
Returns
a new GtkButton displaying the themed icon
gtk_button_set_relief ()
gtk_button_set_relief
void
gtk_button_set_relief (GtkButton *button ,
GtkReliefStyle relief );
Sets the relief style of the edges of the given GtkButton widget.
Two styles exist, GTK_RELIEF_NORMAL and GTK_RELIEF_NONE .
The default style is, as one can guess, GTK_RELIEF_NORMAL .
Parameters
button
The GtkButton you want to set relief styles of
relief
The GtkReliefStyle as described above
gtk_button_get_relief ()
gtk_button_get_relief
GtkReliefStyle
gtk_button_get_relief (GtkButton *button );
Returns the current relief style of the given GtkButton .
Parameters
button
The GtkButton you want the GtkReliefStyle from.
Returns
The current GtkReliefStyle
gtk_button_get_label ()
gtk_button_get_label
const gchar *
gtk_button_get_label (GtkButton *button );
Fetches the text from the label of the button, as set by
gtk_button_set_label() . If the label text has not
been set the return value will be NULL . This will be the
case if you create an empty button with gtk_button_new() to
use as a container.
Parameters
button
a GtkButton
Returns
The text of the label widget. This string is owned
by the widget and must not be modified or freed.
[nullable ]
gtk_button_set_label ()
gtk_button_set_label
void
gtk_button_set_label (GtkButton *button ,
const gchar *label );
Sets the text of the label of the button to label
.
This will also clear any previously set labels.
Parameters
button
a GtkButton
label
a string
gtk_button_get_use_underline ()
gtk_button_get_use_underline
gboolean
gtk_button_get_use_underline (GtkButton *button );
Returns whether an embedded underline in the button label indicates a
mnemonic. See gtk_button_set_use_underline() .
Parameters
button
a GtkButton
Returns
TRUE if an embedded underline in the button label
indicates the mnemonic accelerator keys.
gtk_button_set_use_underline ()
gtk_button_set_use_underline
void
gtk_button_set_use_underline (GtkButton *button ,
gboolean use_underline );
If true, an underline in the text of the button label indicates
the next character should be used for the mnemonic accelerator key.
Parameters
button
a GtkButton
use_underline
TRUE if underlines in the text indicate mnemonics
gtk_button_set_icon_name ()
gtk_button_set_icon_name
void
gtk_button_set_icon_name (GtkButton *button ,
const char *icon_name );
Adds a GtkImage with the given icon name as a child. If button
already
contains a child widget, that child widget will be removed and replaced
with the image.
Parameters
button
A GtkButton
icon_name
An icon name
gtk_button_get_icon_name ()
gtk_button_get_icon_name
const char *
gtk_button_get_icon_name (GtkButton *button );
Returns the icon name set via gtk_button_set_icon_name() .
Parameters
button
A GtkButton
Returns
The icon name set via gtk_button_set_icon_name() .
[nullable ]
Property Details
The “icon-name” property
GtkButton:icon-name
“icon-name” gchar *
The name of the icon used to automatically populate the button. Owner: GtkButton
Flags: Read / Write
Default value: NULL
The “label” property
GtkButton:label
“label” gchar *
Text of the label widget inside the button, if the button contains a label widget. Owner: GtkButton
Flags: Read / Write
Default value: NULL
The “relief” property
GtkButton:relief
“relief” GtkReliefStyle
The border relief style. Owner: GtkButton
Flags: Read / Write
Default value: GTK_RELIEF_NORMAL
The “use-underline” property
GtkButton:use-underline
“use-underline” gboolean
If set, an underline in the text indicates the next character should be used for the mnemonic accelerator key. Owner: GtkButton
Flags: Read / Write
Default value: FALSE
Signal Details
The “activate” signal
GtkButton::activate
void
user_function (GtkButton *widget,
gpointer user_data)
The ::activate signal on GtkButton is an action signal and
emitting it causes the button to animate press then release.
Applications should never connect to this signal, but use the
“clicked” signal.
Parameters
widget
the object which received the signal.
user_data
user data set when the signal handler was connected.
Flags: Action
The “clicked” signal
GtkButton::clicked
void
user_function (GtkButton *button,
gpointer user_data)
Emitted when the button has been activated (pressed and released).
Parameters
button
the object that received the signal
user_data
user data set when the signal handler was connected.
Flags: Action
docs/reference/gtk/xml/gtkcellview.xml 0000664 0001750 0001750 00000104017 13617646203 020236 0 ustar mclasen mclasen
]>
GtkCellView
3
GTK4 Library
GtkCellView
A widget displaying a single row of a GtkTreeModel
Functions
GtkWidget *
gtk_cell_view_new ()
GtkWidget *
gtk_cell_view_new_with_context ()
GtkWidget *
gtk_cell_view_new_with_text ()
GtkWidget *
gtk_cell_view_new_with_markup ()
GtkWidget *
gtk_cell_view_new_with_texture ()
void
gtk_cell_view_set_model ()
GtkTreeModel *
gtk_cell_view_get_model ()
void
gtk_cell_view_set_displayed_row ()
GtkTreePath *
gtk_cell_view_get_displayed_row ()
void
gtk_cell_view_set_draw_sensitive ()
gboolean
gtk_cell_view_get_draw_sensitive ()
void
gtk_cell_view_set_fit_model ()
gboolean
gtk_cell_view_get_fit_model ()
Properties
GtkCellArea * cell-areaRead / Write / Construct Only
GtkCellAreaContext * cell-area-contextRead / Write / Construct Only
gboolean draw-sensitiveRead / Write
gboolean fit-modelRead / Write
GtkTreeModel * modelRead / Write
Types and Values
GtkCellView
Object Hierarchy
GObject
╰── GInitiallyUnowned
╰── GtkWidget
╰── GtkCellView
Implemented Interfaces
GtkCellView implements
AtkImplementorIface, GtkBuildable, GtkConstraintTarget, GtkCellLayout and GtkOrientable.
Includes #include <gtk/gtk.h>
Description
A GtkCellView displays a single row of a GtkTreeModel using a GtkCellArea
and GtkCellAreaContext . A GtkCellAreaContext can be provided to the
GtkCellView at construction time in order to keep the cellview in context
of a group of cell views, this ensures that the renderers displayed will
be properly aligned with eachother (like the aligned cells in the menus
of GtkComboBox ).
GtkCellView is GtkOrientable in order to decide in which orientation
the underlying GtkCellAreaContext should be allocated. Taking the GtkComboBox
menu as an example, cellviews should be oriented horizontally if the menus are
listed top-to-bottom and thus all share the same width but may have separate
individual heights (left-to-right menus should be allocated vertically since
they all share the same height but may have variable widths).
CSS nodes GtkCellView has a single CSS node with name cellview.
Functions
gtk_cell_view_new ()
gtk_cell_view_new
GtkWidget *
gtk_cell_view_new (void );
Creates a new GtkCellView widget.
Returns
A newly created GtkCellView widget.
gtk_cell_view_new_with_context ()
gtk_cell_view_new_with_context
GtkWidget *
gtk_cell_view_new_with_context (GtkCellArea *area ,
GtkCellAreaContext *context );
Creates a new GtkCellView widget with a specific GtkCellArea
to layout cells and a specific GtkCellAreaContext .
Specifying the same context for a handfull of cells lets
the underlying area synchronize the geometry for those cells,
in this way alignments with cellviews for other rows are
possible.
Parameters
area
the GtkCellArea to layout cells
context
the GtkCellAreaContext in which to calculate cell geometry
Returns
A newly created GtkCellView widget.
gtk_cell_view_new_with_text ()
gtk_cell_view_new_with_text
GtkWidget *
gtk_cell_view_new_with_text (const gchar *text );
Creates a new GtkCellView widget, adds a GtkCellRendererText
to it, and makes it show text
.
Parameters
text
the text to display in the cell view
Returns
A newly created GtkCellView widget.
gtk_cell_view_new_with_markup ()
gtk_cell_view_new_with_markup
GtkWidget *
gtk_cell_view_new_with_markup (const gchar *markup );
Creates a new GtkCellView widget, adds a GtkCellRendererText
to it, and makes it show markup
. The text can be
marked up with the Pango text markup language.
Parameters
markup
the text to display in the cell view
Returns
A newly created GtkCellView widget.
gtk_cell_view_new_with_texture ()
gtk_cell_view_new_with_texture
GtkWidget *
gtk_cell_view_new_with_texture (GdkTexture *texture );
Creates a new GtkCellView widget, adds a GtkCellRendererPixbuf
to it, and makes it show texture
.
Parameters
texture
the image to display in the cell view
Returns
A newly created GtkCellView widget.
gtk_cell_view_set_model ()
gtk_cell_view_set_model
void
gtk_cell_view_set_model (GtkCellView *cell_view ,
GtkTreeModel *model );
Sets the model for cell_view
. If cell_view
already has a model
set, it will remove it before setting the new model. If model
is
NULL , then it will unset the old model.
Parameters
cell_view
a GtkCellView
model
a GtkTreeModel .
[allow-none ]
gtk_cell_view_get_model ()
gtk_cell_view_get_model
GtkTreeModel *
gtk_cell_view_get_model (GtkCellView *cell_view );
Returns the model for cell_view
. If no model is used NULL is
returned.
Parameters
cell_view
a GtkCellView
Returns
a GtkTreeModel used or NULL .
[nullable ][transfer none ]
gtk_cell_view_set_displayed_row ()
gtk_cell_view_set_displayed_row
void
gtk_cell_view_set_displayed_row (GtkCellView *cell_view ,
GtkTreePath *path );
Sets the row of the model that is currently displayed
by the GtkCellView . If the path is unset, then the
contents of the cellview “stick” at their last value;
this is not normally a desired result, but may be
a needed intermediate state if say, the model for
the GtkCellView becomes temporarily empty.
Parameters
cell_view
a GtkCellView
path
a GtkTreePath or NULL to unset.
[allow-none ]
gtk_cell_view_get_displayed_row ()
gtk_cell_view_get_displayed_row
GtkTreePath *
gtk_cell_view_get_displayed_row (GtkCellView *cell_view );
Returns a GtkTreePath referring to the currently
displayed row. If no row is currently displayed,
NULL is returned.
Parameters
cell_view
a GtkCellView
Returns
the currently displayed row or NULL .
[nullable ][transfer full ]
gtk_cell_view_set_draw_sensitive ()
gtk_cell_view_set_draw_sensitive
void
gtk_cell_view_set_draw_sensitive (GtkCellView *cell_view ,
gboolean draw_sensitive );
Sets whether cell_view
should draw all of its
cells in a sensitive state, this is used by GtkComboBox menus
to ensure that rows with insensitive cells that contain
children appear sensitive in the parent menu item.
Parameters
cell_view
a GtkCellView
draw_sensitive
whether to draw all cells in a sensitive state.
gtk_cell_view_get_draw_sensitive ()
gtk_cell_view_get_draw_sensitive
gboolean
gtk_cell_view_get_draw_sensitive (GtkCellView *cell_view );
Gets whether cell_view
is configured to draw all of its
cells in a sensitive state.
Parameters
cell_view
a GtkCellView
Returns
whether cell_view
draws all of its
cells in a sensitive state
gtk_cell_view_set_fit_model ()
gtk_cell_view_set_fit_model
void
gtk_cell_view_set_fit_model (GtkCellView *cell_view ,
gboolean fit_model );
Sets whether cell_view
should request space to fit the entire GtkTreeModel .
This is used by GtkComboBox to ensure that the cell view displayed on
the combo box’s button always gets enough space and does not resize
when selection changes.
Parameters
cell_view
a GtkCellView
fit_model
whether cell_view
should request space for the whole model.
gtk_cell_view_get_fit_model ()
gtk_cell_view_get_fit_model
gboolean
gtk_cell_view_get_fit_model (GtkCellView *cell_view );
Gets whether cell_view
is configured to request space
to fit the entire GtkTreeModel .
Parameters
cell_view
a GtkCellView
Returns
whether cell_view
requests space to fit
the entire GtkTreeModel .
Property Details
The “cell-area” property
GtkCellView:cell-area
“cell-area” GtkCellArea *
The GtkCellArea rendering cells
If no area is specified when creating the cell view with gtk_cell_view_new_with_context()
a horizontally oriented GtkCellAreaBox will be used.
since 3.0
Owner: GtkCellView
Flags: Read / Write / Construct Only
The “cell-area-context” property
GtkCellView:cell-area-context
“cell-area-context” GtkCellAreaContext *
The GtkCellAreaContext used to compute the geometry of the cell view.
A group of cell views can be assigned the same context in order to
ensure the sizes and cell alignments match across all the views with
the same context.
GtkComboBox menus uses this to assign the same context to all cell views
in the menu items for a single menu (each submenu creates its own
context since the size of each submenu does not depend on parent
or sibling menus).
since 3.0
Owner: GtkCellView
Flags: Read / Write / Construct Only
The “draw-sensitive” property
GtkCellView:draw-sensitive
“draw-sensitive” gboolean
Whether all cells should be draw as sensitive for this view regardless
of the actual cell properties (used to make menus with submenus appear
sensitive when the items in submenus might be insensitive).
since 3.0
Owner: GtkCellView
Flags: Read / Write
Default value: FALSE
The “fit-model” property
GtkCellView:fit-model
“fit-model” gboolean
Whether the view should request enough space to always fit
the size of every row in the model (used by the combo box to
ensure the combo box size doesnt change when different items
are selected).
since 3.0
Owner: GtkCellView
Flags: Read / Write
Default value: FALSE
The “model” property
GtkCellView:model
“model” GtkTreeModel *
The model for cell view
since 2.10
Owner: GtkCellView
Flags: Read / Write
docs/reference/gtk/xml/gtkcalendar.xml 0000664 0001750 0001750 00000072312 13617646201 020175 0 ustar mclasen mclasen
]>
GtkCalendar
3
GTK4 Library
GtkCalendar
Displays a calendar and allows the user to select a date
Functions
GtkWidget *
gtk_calendar_new ()
void
gtk_calendar_select_day ()
void
gtk_calendar_mark_day ()
void
gtk_calendar_unmark_day ()
gboolean
gtk_calendar_get_day_is_marked ()
void
gtk_calendar_clear_marks ()
GDateTime *
gtk_calendar_get_date ()
Properties
gint dayRead
gint monthRead
gboolean show-day-namesRead / Write
gboolean show-headingRead / Write
gboolean show-week-numbersRead / Write
gint yearRead
Signals
void day-selected Run First
void next-month Run First
void next-year Run First
void prev-month Run First
void prev-year Run First
Types and Values
GtkCalendar
Object Hierarchy
GObject
╰── GInitiallyUnowned
╰── GtkWidget
╰── GtkCalendar
Implemented Interfaces
GtkCalendar implements
AtkImplementorIface, GtkBuildable and GtkConstraintTarget.
Includes #include <gtk/gtk.h>
Description
GtkCalendar is a widget that displays a Gregorian calendar, one month
at a time. It can be created with gtk_calendar_new() .
The month and year currently displayed can be altered with
gtk_calendar_select_month() . The exact day can be selected from the
displayed month using gtk_calendar_select_day() .
To place a visual marker on a particular day, use gtk_calendar_mark_day()
and to remove the marker, gtk_calendar_unmark_day() . Alternative, all
marks can be cleared with gtk_calendar_clear_marks() .
The way in which the calendar itself is displayed can be altered using
gtk_calendar_set_display_options() .
The selected date can be retrieved from a GtkCalendar using
gtk_calendar_get_date() .
Users should be aware that, although the Gregorian calendar is the
legal calendar in most countries, it was adopted progressively
between 1582 and 1929. Display before these dates is likely to be
historically incorrect.
Functions
gtk_calendar_new ()
gtk_calendar_new
GtkWidget *
gtk_calendar_new (void );
Creates a new calendar, with the current date being selected.
Returns
a newly GtkCalendar widget
gtk_calendar_select_day ()
gtk_calendar_select_day
void
gtk_calendar_select_day (GtkCalendar *self ,
GDateTime *date );
Will switch to date
's year and month and select its day.
Parameters
calendar
a GtkCalendar .
date
a GDateTime representing the day to select.
[transfer none ]
gtk_calendar_mark_day ()
gtk_calendar_mark_day
void
gtk_calendar_mark_day (GtkCalendar *calendar ,
guint day );
Places a visual marker on a particular day.
Parameters
calendar
a GtkCalendar
day
the day number to mark between 1 and 31.
gtk_calendar_unmark_day ()
gtk_calendar_unmark_day
void
gtk_calendar_unmark_day (GtkCalendar *calendar ,
guint day );
Removes the visual marker from a particular day.
Parameters
calendar
a GtkCalendar .
day
the day number to unmark between 1 and 31.
gtk_calendar_get_day_is_marked ()
gtk_calendar_get_day_is_marked
gboolean
gtk_calendar_get_day_is_marked (GtkCalendar *calendar ,
guint day );
Returns if the day
of the calendar
is already marked.
Parameters
calendar
a GtkCalendar
day
the day number between 1 and 31.
Returns
whether the day is marked.
gtk_calendar_clear_marks ()
gtk_calendar_clear_marks
void
gtk_calendar_clear_marks (GtkCalendar *calendar );
Remove all visual markers.
Parameters
calendar
a GtkCalendar
gtk_calendar_get_date ()
gtk_calendar_get_date
GDateTime *
gtk_calendar_get_date (GtkCalendar *self );
Parameters
calendar
a GtkCalendar
Returns
A GDateTime representing the shown
year, month and the selected day, in the local time zone.
[transfer full ]
Property Details
The “day” property
GtkCalendar:day
“day” gint
The selected day (as a number between 1 and 31, or 0
to unselect the currently selected day).
This property gets initially set to the current day.
Owner: GtkCalendar
Flags: Read
Allowed values: [0,31]
Default value: 0
The “month” property
GtkCalendar:month
“month” gint
The selected month (as a number between 0 and 11).
This property gets initially set to the current month.
Owner: GtkCalendar
Flags: Read
Allowed values: [0,11]
Default value: 0
The “show-day-names” property
GtkCalendar:show-day-names
“show-day-names” gboolean
Determines whether day names are displayed.
Owner: GtkCalendar
Flags: Read / Write
Default value: TRUE
The “show-heading” property
GtkCalendar:show-heading
“show-heading” gboolean
Determines whether a heading is displayed.
Owner: GtkCalendar
Flags: Read / Write
Default value: TRUE
The “show-week-numbers” property
GtkCalendar:show-week-numbers
“show-week-numbers” gboolean
Determines whether week numbers are displayed.
Owner: GtkCalendar
Flags: Read / Write
Default value: FALSE
The “year” property
GtkCalendar:year
“year” gint
The selected year.
This property gets initially set to the current year.
Owner: GtkCalendar
Flags: Read
Allowed values: [0,4194303]
Default value: 0
Signal Details
The “day-selected” signal
GtkCalendar::day-selected
void
user_function (GtkCalendar *calendar,
gpointer user_data)
Emitted when the user selects a day.
Parameters
calendar
the object which received the signal.
user_data
user data set when the signal handler was connected.
Flags: Run First
The “next-month” signal
GtkCalendar::next-month
void
user_function (GtkCalendar *calendar,
gpointer user_data)
Emitted when the user switched to the next month.
Parameters
calendar
the object which received the signal.
user_data
user data set when the signal handler was connected.
Flags: Run First
The “next-year” signal
GtkCalendar::next-year
void
user_function (GtkCalendar *calendar,
gpointer user_data)
Emitted when user switched to the next year.
Parameters
calendar
the object which received the signal.
user_data
user data set when the signal handler was connected.
Flags: Run First
The “prev-month” signal
GtkCalendar::prev-month
void
user_function (GtkCalendar *calendar,
gpointer user_data)
Emitted when the user switched to the previous month.
Parameters
calendar
the object which received the signal.
user_data
user data set when the signal handler was connected.
Flags: Run First
The “prev-year” signal
GtkCalendar::prev-year
void
user_function (GtkCalendar *calendar,
gpointer user_data)
Emitted when user switched to the previous year.
Parameters
calendar
the object which received the signal.
user_data
user data set when the signal handler was connected.
Flags: Run First
docs/reference/gtk/xml/gtkscalebutton.xml 0000664 0001750 0001750 00000076411 13617646202 020754 0 ustar mclasen mclasen
]>
GtkScaleButton
3
GTK4 Library
GtkScaleButton
A button which pops up a scale
Functions
GtkWidget *
gtk_scale_button_new ()
void
gtk_scale_button_set_adjustment ()
void
gtk_scale_button_set_icons ()
void
gtk_scale_button_set_value ()
GtkAdjustment *
gtk_scale_button_get_adjustment ()
gdouble
gtk_scale_button_get_value ()
GtkWidget *
gtk_scale_button_get_popup ()
GtkWidget *
gtk_scale_button_get_plus_button ()
GtkWidget *
gtk_scale_button_get_minus_button ()
Properties
GtkAdjustment * adjustmentRead / Write
GStrv iconsRead / Write
gdouble valueRead / Write
Signals
void popdown Action
void popup Action
void value-changed Run Last
Types and Values
struct GtkScaleButton
Object Hierarchy
GObject
╰── GInitiallyUnowned
╰── GtkWidget
╰── GtkContainer
╰── GtkBin
╰── GtkButton
╰── GtkScaleButton
╰── GtkVolumeButton
Implemented Interfaces
GtkScaleButton implements
AtkImplementorIface, GtkBuildable, GtkConstraintTarget, GtkActionable and GtkOrientable.
Includes #include <gtk/gtk.h>
Description
GtkScaleButton provides a button which pops up a scale widget.
This kind of widget is commonly used for volume controls in multimedia
applications, and GTK+ provides a GtkVolumeButton subclass that
is tailored for this use case.
CSS nodes GtkScaleButton has a single CSS node with name button. To differentiate
it from a plain GtkButton , it gets the .scale style class.
Functions
gtk_scale_button_new ()
gtk_scale_button_new
GtkWidget *
gtk_scale_button_new (gdouble min ,
gdouble max ,
gdouble step ,
const gchar **icons );
Creates a GtkScaleButton , with a range between min
and max
, with
a stepping of step
.
Parameters
min
the minimum value of the scale (usually 0)
max
the maximum value of the scale (usually 100)
step
the stepping of value when a scroll-wheel event,
or up/down arrow event occurs (usually 2)
icons
a NULL -terminated
array of icon names, or NULL if you want to set the list
later with gtk_scale_button_set_icons() .
[allow-none ][array zero-terminated=1]
Returns
a new GtkScaleButton
gtk_scale_button_set_adjustment ()
gtk_scale_button_set_adjustment
void
gtk_scale_button_set_adjustment (GtkScaleButton *button ,
GtkAdjustment *adjustment );
Sets the GtkAdjustment to be used as a model
for the GtkScaleButton ’s scale.
See gtk_range_set_adjustment() for details.
Parameters
button
a GtkScaleButton
adjustment
a GtkAdjustment
gtk_scale_button_set_icons ()
gtk_scale_button_set_icons
void
gtk_scale_button_set_icons (GtkScaleButton *button ,
const gchar **icons );
Sets the icons to be used by the scale button.
For details, see the “icons” property.
Parameters
button
a GtkScaleButton
icons
a NULL -terminated array of icon names.
[array zero-terminated=1]
gtk_scale_button_set_value ()
gtk_scale_button_set_value
void
gtk_scale_button_set_value (GtkScaleButton *button ,
gdouble value );
Sets the current value of the scale; if the value is outside
the minimum or maximum range values, it will be clamped to fit
inside them. The scale button emits the “value-changed”
signal if the value changes.
Parameters
button
a GtkScaleButton
value
new value of the scale button
gtk_scale_button_get_adjustment ()
gtk_scale_button_get_adjustment
GtkAdjustment *
gtk_scale_button_get_adjustment (GtkScaleButton *button );
Gets the GtkAdjustment associated with the GtkScaleButton ’s scale.
See gtk_range_get_adjustment() for details.
Parameters
button
a GtkScaleButton
Returns
the adjustment associated with the scale.
[transfer none ]
gtk_scale_button_get_value ()
gtk_scale_button_get_value
gdouble
gtk_scale_button_get_value (GtkScaleButton *button );
Gets the current value of the scale button.
Parameters
button
a GtkScaleButton
Returns
current value of the scale button
gtk_scale_button_get_plus_button ()
gtk_scale_button_get_plus_button
GtkWidget *
gtk_scale_button_get_plus_button (GtkScaleButton *button );
Retrieves the plus button of the GtkScaleButton .
Parameters
button
a GtkScaleButton
Returns
the plus button of the GtkScaleButton as a GtkButton .
[transfer none ][type Gtk.Button]
gtk_scale_button_get_minus_button ()
gtk_scale_button_get_minus_button
GtkWidget *
gtk_scale_button_get_minus_button (GtkScaleButton *button );
Retrieves the minus button of the GtkScaleButton .
Parameters
button
a GtkScaleButton
Returns
the minus button of the GtkScaleButton as a GtkButton .
[transfer none ][type Gtk.Button]
Property Details
The “adjustment” property
GtkScaleButton:adjustment
“adjustment” GtkAdjustment *
The GtkAdjustment that contains the current value of this scale button object. Owner: GtkScaleButton
Flags: Read / Write
The “icons” property
GtkScaleButton:icons
“icons” GStrv
The names of the icons to be used by the scale button.
The first item in the array will be used in the button
when the current value is the lowest value, the second
item for the highest value. All the subsequent icons will
be used for all the other values, spread evenly over the
range of values.
If there's only one icon name in the icons
array, it will
be used for all the values. If only two icon names are in
the icons
array, the first one will be used for the bottom
50% of the scale, and the second one for the top 50%.
It is recommended to use at least 3 icons so that the
GtkScaleButton reflects the current value of the scale
better for the users.
Owner: GtkScaleButton
Flags: Read / Write
The “value” property
GtkScaleButton:value
“value” gdouble
The value of the scale. Owner: GtkScaleButton
Flags: Read / Write
Default value: 0
Signal Details
The “popdown” signal
GtkScaleButton::popdown
void
user_function (GtkScaleButton *button,
gpointer user_data)
The ::popdown signal is a
keybinding signal
which gets emitted to popdown the scale widget.
The default binding for this signal is Escape.
Parameters
button
the object which received the signal
user_data
user data set when the signal handler was connected.
Flags: Action
The “value-changed” signal
GtkScaleButton::value-changed
void
user_function (GtkScaleButton *button,
gdouble value,
gpointer user_data)
The ::value-changed signal is emitted when the value field has
changed.
Parameters
button
the object which received the signal
value
the new value
user_data
user data set when the signal handler was connected.
Flags: Run Last
docs/reference/gtk/xml/gtkcheckbutton.xml 0000664 0001750 0001750 00000046536 13617646201 020746 0 ustar mclasen mclasen
]>
GtkCheckButton
3
GTK4 Library
GtkCheckButton
Create widgets with a discrete toggle button
Functions
GtkWidget *
gtk_check_button_new ()
GtkWidget *
gtk_check_button_new_with_label ()
GtkWidget *
gtk_check_button_new_with_mnemonic ()
gboolean
gtk_check_button_get_draw_indicator ()
void
gtk_check_button_set_draw_indicator ()
gboolean
gtk_check_button_get_inconsistent ()
void
gtk_check_button_set_inconsistent ()
Properties
gboolean draw-indicatorRead / Write
gboolean inconsistentRead / Write
Types and Values
struct GtkCheckButton
Object Hierarchy
GObject
╰── GInitiallyUnowned
╰── GtkWidget
╰── GtkContainer
╰── GtkBin
╰── GtkButton
╰── GtkToggleButton
╰── GtkCheckButton
╰── GtkRadioButton
Implemented Interfaces
GtkCheckButton implements
AtkImplementorIface, GtkBuildable, GtkConstraintTarget and GtkActionable.
Includes #include <gtk/gtk.h>
Description
A GtkCheckButton places a discrete GtkToggleButton next to a widget,
(usually a GtkLabel ). See the section on GtkToggleButton widgets for
more information about toggle/check buttons.
The important signal ( “toggled” ) is also inherited from
GtkToggleButton .
CSS nodes
]]>
A GtkCheckButton with indicator (see gtk_check_button_set_draw_indicator() ) has a
main CSS node with name checkbutton and a subnode with name check.
]]>
A GtkCheckButton without indicator changes the name of its main node
to button and adds a .check style class to it. The subnode is invisible
in this case.
Functions
gtk_check_button_new ()
gtk_check_button_new
GtkWidget *
gtk_check_button_new (void );
Creates a new GtkCheckButton .
Returns
a GtkWidget .
gtk_check_button_new_with_label ()
gtk_check_button_new_with_label
GtkWidget *
gtk_check_button_new_with_label (const gchar *label );
Creates a new GtkCheckButton with a GtkLabel to the right of it.
Parameters
label
the text for the check button.
Returns
a GtkWidget .
gtk_check_button_new_with_mnemonic ()
gtk_check_button_new_with_mnemonic
GtkWidget *
gtk_check_button_new_with_mnemonic (const gchar *label );
Creates a new GtkCheckButton containing a label. The label
will be created using gtk_label_new_with_mnemonic() , so underscores
in label
indicate the mnemonic for the check button.
Parameters
label
The text of the button, with an underscore in front of the
mnemonic character
Returns
a new GtkCheckButton
gtk_check_button_get_draw_indicator ()
gtk_check_button_get_draw_indicator
gboolean
gtk_check_button_get_draw_indicator (GtkCheckButton *check_button );
Returns Whether or not the indicator part of the button gets drawn.
Parameters
check_button
a GtkCheckButton
Returns
The value of the GtkCheckButton:draw-indicator property.
gtk_check_button_set_draw_indicator ()
gtk_check_button_set_draw_indicator
void
gtk_check_button_set_draw_indicator (GtkCheckButton *check_button ,
gboolean draw_indicator );
Sets whether the indicator part of the button is drawn. This is important for
cases where the check button should have the functinality of a check button,
but the visuals of a regular button, like in a GtkStackSwitcher .
Parameters
check_button
a GtkCheckButton
draw_indicator
Whether or not to draw the indicator part of the button
gtk_check_button_get_inconsistent ()
gtk_check_button_get_inconsistent
gboolean
gtk_check_button_get_inconsistent (GtkCheckButton *check_button );
Returns whether the check button is in an inconsistent state.
Parameters
check_button
a GtkCheckButton
Returns
TRUE if check_button
is currently in an 'in between' state, FALSE otherwise.
gtk_check_button_set_inconsistent ()
gtk_check_button_set_inconsistent
void
gtk_check_button_set_inconsistent (GtkCheckButton *check_button ,
gboolean inconsistent );
If the user has selected a range of elements (such as some text or
spreadsheet cells) that are affected by a check button, and the
current values in that range are inconsistent, you may want to
display the toggle in an "in between" state. Normally you would
turn off the inconsistent state again if the user checks the
check button. This has to be done manually,
gtk_check_button_set_inconsistent only affects visual appearance,
not the semantics of the button.
Parameters
check_button
a GtkCheckButton
inconsistent
TRUE if state is inconsistent
Property Details
The “draw-indicator” property
GtkCheckButton:draw-indicator
“draw-indicator” gboolean
If the indicator part of the button is displayed. Owner: GtkCheckButton
Flags: Read / Write
Default value: TRUE
The “inconsistent” property
GtkCheckButton:inconsistent
“inconsistent” gboolean
If the check button is in an “in between” state. Owner: GtkCheckButton
Flags: Read / Write
Default value: FALSE
See Also
GtkCheckMenuItem , GtkButton , GtkToggleButton , GtkRadioButton
docs/reference/gtk/xml/gtkscrollable.xml 0000664 0001750 0001750 00000063631 13617646202 020553 0 ustar mclasen mclasen
]>
GtkScrollable
3
GTK4 Library
GtkScrollable
An interface for scrollable widgets
Functions
GtkAdjustment *
gtk_scrollable_get_hadjustment ()
void
gtk_scrollable_set_hadjustment ()
GtkAdjustment *
gtk_scrollable_get_vadjustment ()
void
gtk_scrollable_set_vadjustment ()
GtkScrollablePolicy
gtk_scrollable_get_hscroll_policy ()
void
gtk_scrollable_set_hscroll_policy ()
GtkScrollablePolicy
gtk_scrollable_get_vscroll_policy ()
void
gtk_scrollable_set_vscroll_policy ()
gboolean
gtk_scrollable_get_border ()
Properties
GtkAdjustment * hadjustmentRead / Write / Construct
GtkScrollablePolicy hscroll-policyRead / Write
GtkAdjustment * vadjustmentRead / Write / Construct
GtkScrollablePolicy vscroll-policyRead / Write
Types and Values
GtkScrollable
enum GtkScrollablePolicy
Object Hierarchy
GInterface
╰── GtkScrollable
Prerequisites
GtkScrollable requires
GObject.
Known Implementations
GtkScrollable is implemented by
GtkIconView, GtkTextView, GtkTreeView and GtkViewport.
Includes #include <gtk/gtk.h>
Description
GtkScrollable is an interface that is implemented by widgets with native
scrolling ability.
To implement this interface you should override the
“hadjustment” and “vadjustment” properties.
Creating a scrollable widget All scrollable widgets should do the following.
When a parent widget sets the scrollable child widget’s adjustments,
the widget should populate the adjustments’
“lower” , “upper” ,
“step-increment” , “page-increment” and
“page-size” properties and connect to the
“value-changed” signal.
Because its preferred size is the size for a fully expanded widget,
the scrollable widget must be able to cope with underallocations.
This means that it must accept any value passed to its
GtkWidgetClass.size_allocate() function.
When the parent allocates space to the scrollable child widget,
the widget should update the adjustments’ properties with new values.
When any of the adjustments emits the “value-changed” signal,
the scrollable widget should scroll its contents.
Functions
gtk_scrollable_get_hadjustment ()
gtk_scrollable_get_hadjustment
GtkAdjustment *
gtk_scrollable_get_hadjustment (GtkScrollable *scrollable );
Retrieves the GtkAdjustment used for horizontal scrolling.
Parameters
scrollable
a GtkScrollable
Returns
horizontal GtkAdjustment .
[transfer none ]
gtk_scrollable_set_hadjustment ()
gtk_scrollable_set_hadjustment
void
gtk_scrollable_set_hadjustment (GtkScrollable *scrollable ,
GtkAdjustment *hadjustment );
Sets the horizontal adjustment of the GtkScrollable .
Parameters
scrollable
a GtkScrollable
hadjustment
a GtkAdjustment .
[allow-none ]
gtk_scrollable_get_vadjustment ()
gtk_scrollable_get_vadjustment
GtkAdjustment *
gtk_scrollable_get_vadjustment (GtkScrollable *scrollable );
Retrieves the GtkAdjustment used for vertical scrolling.
Parameters
scrollable
a GtkScrollable
Returns
vertical GtkAdjustment .
[transfer none ]
gtk_scrollable_set_vadjustment ()
gtk_scrollable_set_vadjustment
void
gtk_scrollable_set_vadjustment (GtkScrollable *scrollable ,
GtkAdjustment *vadjustment );
Sets the vertical adjustment of the GtkScrollable .
Parameters
scrollable
a GtkScrollable
vadjustment
a GtkAdjustment .
[allow-none ]
gtk_scrollable_get_hscroll_policy ()
gtk_scrollable_get_hscroll_policy
GtkScrollablePolicy
gtk_scrollable_get_hscroll_policy (GtkScrollable *scrollable );
Gets the horizontal GtkScrollablePolicy .
Parameters
scrollable
a GtkScrollable
Returns
The horizontal GtkScrollablePolicy .
gtk_scrollable_set_hscroll_policy ()
gtk_scrollable_set_hscroll_policy
void
gtk_scrollable_set_hscroll_policy (GtkScrollable *scrollable ,
GtkScrollablePolicy policy );
Sets the GtkScrollablePolicy to determine whether
horizontal scrolling should start below the minimum width or
below the natural width.
Parameters
scrollable
a GtkScrollable
policy
the horizontal GtkScrollablePolicy
gtk_scrollable_get_vscroll_policy ()
gtk_scrollable_get_vscroll_policy
GtkScrollablePolicy
gtk_scrollable_get_vscroll_policy (GtkScrollable *scrollable );
Gets the vertical GtkScrollablePolicy .
Parameters
scrollable
a GtkScrollable
Returns
The vertical GtkScrollablePolicy .
gtk_scrollable_set_vscroll_policy ()
gtk_scrollable_set_vscroll_policy
void
gtk_scrollable_set_vscroll_policy (GtkScrollable *scrollable ,
GtkScrollablePolicy policy );
Sets the GtkScrollablePolicy to determine whether
vertical scrolling should start below the minimum height or
below the natural height.
Parameters
scrollable
a GtkScrollable
policy
the vertical GtkScrollablePolicy
gtk_scrollable_get_border ()
gtk_scrollable_get_border
gboolean
gtk_scrollable_get_border (GtkScrollable *scrollable ,
GtkBorder *border );
Returns the size of a non-scrolling border around the
outside of the scrollable. An example for this would
be treeview headers. GTK+ can use this information to
display overlayed graphics, like the overshoot indication,
at the right position.
Parameters
scrollable
a GtkScrollable
border
return location for the results.
[out caller-allocates ]
Returns
TRUE if border
has been set
Property Details
The “hadjustment” property
GtkScrollable:hadjustment
“hadjustment” GtkAdjustment *
Horizontal GtkAdjustment of the scrollable widget. This adjustment is
shared between the scrollable widget and its parent.
Owner: GtkScrollable
Flags: Read / Write / Construct
The “hscroll-policy” property
GtkScrollable:hscroll-policy
“hscroll-policy” GtkScrollablePolicy
Determines whether horizontal scrolling should start once the scrollable
widget is allocated less than its minimum width or less than its natural width.
Owner: GtkScrollable
Flags: Read / Write
Default value: GTK_SCROLL_MINIMUM
The “vadjustment” property
GtkScrollable:vadjustment
“vadjustment” GtkAdjustment *
Verical GtkAdjustment of the scrollable widget. This adjustment is shared
between the scrollable widget and its parent.
Owner: GtkScrollable
Flags: Read / Write / Construct
The “vscroll-policy” property
GtkScrollable:vscroll-policy
“vscroll-policy” GtkScrollablePolicy
Determines whether vertical scrolling should start once the scrollable
widget is allocated less than its minimum height or less than its natural height.
Owner: GtkScrollable
Flags: Read / Write
Default value: GTK_SCROLL_MINIMUM
docs/reference/gtk/xml/gtkcolorbutton.xml 0000664 0001750 0001750 00000037355 13617646201 021006 0 ustar mclasen mclasen
]>
GtkColorButton
3
GTK4 Library
GtkColorButton
A button to launch a color selection dialog
Functions
GtkWidget *
gtk_color_button_new ()
GtkWidget *
gtk_color_button_new_with_rgba ()
void
gtk_color_button_set_title ()
const gchar *
gtk_color_button_get_title ()
Properties
GdkRGBA * rgbaRead / Write
gboolean show-editorRead / Write
gchar * titleRead / Write
gboolean use-alphaRead / Write
Signals
void color-set Run First
Types and Values
GtkColorButton
Object Hierarchy
GObject
╰── GInitiallyUnowned
╰── GtkWidget
╰── GtkColorButton
Implemented Interfaces
GtkColorButton implements
AtkImplementorIface, GtkBuildable, GtkConstraintTarget and GtkColorChooser.
Includes #include <gtk/gtk.h>
Description
The GtkColorButton is a button which displays the currently selected
color and allows to open a color selection dialog to change the color.
It is suitable widget for selecting a color in a preference dialog.
CSS nodes GtkColorButton has a single CSS node with name button. To differentiate
it from a plain GtkButton , it gets the .color style class.
Functions
gtk_color_button_new ()
gtk_color_button_new
GtkWidget *
gtk_color_button_new (void );
Creates a new color button.
This returns a widget in the form of a small button containing
a swatch representing the current selected color. When the button
is clicked, a color-selection dialog will open, allowing the user
to select a color. The swatch will be updated to reflect the new
color when the user finishes.
Returns
a new color button
gtk_color_button_new_with_rgba ()
gtk_color_button_new_with_rgba
GtkWidget *
gtk_color_button_new_with_rgba (const GdkRGBA *rgba );
Creates a new color button.
Parameters
rgba
A GdkRGBA to set the current color with
Returns
a new color button
gtk_color_button_set_title ()
gtk_color_button_set_title
void
gtk_color_button_set_title (GtkColorButton *button ,
const gchar *title );
Sets the title for the color selection dialog.
Parameters
button
a GtkColorButton
title
String containing new window title
gtk_color_button_get_title ()
gtk_color_button_get_title
const gchar *
gtk_color_button_get_title (GtkColorButton *button );
Gets the title of the color selection dialog.
Parameters
button
a GtkColorButton
Returns
An internal string, do not free the return value
Property Details
The “rgba” property
GtkColorButton:rgba
“rgba” GdkRGBA *
The RGBA color.
Owner: GtkColorButton
Flags: Read / Write
The “show-editor” property
GtkColorButton:show-editor
“show-editor” gboolean
Set this property to TRUE to skip the palette
in the dialog and go directly to the color editor.
This property should be used in cases where the palette
in the editor would be redundant, such as when the color
button is already part of a palette.
Owner: GtkColorButton
Flags: Read / Write
Default value: FALSE
The “title” property
GtkColorButton:title
“title” gchar *
The title of the color selection dialog
Owner: GtkColorButton
Flags: Read / Write
Default value: "Pick a Color"
The “use-alpha” property
GtkColorButton:use-alpha
“use-alpha” gboolean
If this property is set to TRUE , the color swatch on the button is
rendered against a checkerboard background to show its opacity and
the opacity slider is displayed in the color selection dialog.
Owner: GtkColorButton
Flags: Read / Write
Default value: FALSE
Signal Details
The “color-set” signal
GtkColorButton::color-set
void
user_function (GtkColorButton *widget,
gpointer user_data)
The ::color-set signal is emitted when the user selects a color.
When handling this signal, use gtk_color_chooser_get_rgba() to
find out which color was just selected.
Note that this signal is only emitted when the user
changes the color. If you need to react to programmatic color changes
as well, use the notify::color signal.
Parameters
widget
the object which received the signal.
user_data
user data set when the signal handler was connected.
Flags: Run First
See Also
GtkFontButton
docs/reference/gtk/xml/gtkcelllayout.xml 0000664 0001750 0001750 00000105637 13617646203 020612 0 ustar mclasen mclasen
]>
GtkCellLayout
3
GTK4 Library
GtkCellLayout
An interface for packing cells
Functions
void
( *GtkCellLayoutDataFunc) ()
void
gtk_cell_layout_pack_start ()
void
gtk_cell_layout_pack_end ()
GtkCellArea *
gtk_cell_layout_get_area ()
GList *
gtk_cell_layout_get_cells ()
void
gtk_cell_layout_reorder ()
void
gtk_cell_layout_clear ()
void
gtk_cell_layout_set_attributes ()
void
gtk_cell_layout_add_attribute ()
void
gtk_cell_layout_set_cell_data_func ()
void
gtk_cell_layout_clear_attributes ()
Types and Values
GtkCellLayout
struct GtkCellLayoutIface
Object Hierarchy
GInterface
╰── GtkCellLayout
Prerequisites
GtkCellLayout requires
GObject.
Known Implementations
GtkCellLayout is implemented by
GtkCellArea, GtkCellAreaBox, GtkCellView, GtkComboBox, GtkComboBoxText, GtkEntryCompletion, GtkIconView and GtkTreeViewColumn.
Includes #include <gtk/gtk.h>
Description
GtkCellLayout is an interface to be implemented by all objects which
want to provide a GtkTreeViewColumn like API for packing cells,
setting attributes and data funcs.
One of the notable features provided by implementations of
GtkCellLayout are attributes. Attributes let you set the properties
in flexible ways. They can just be set to constant values like regular
properties. But they can also be mapped to a column of the underlying
tree model with gtk_cell_layout_set_attributes() , which means that the value
of the attribute can change from cell to cell as they are rendered by
the cell renderer. Finally, it is possible to specify a function with
gtk_cell_layout_set_cell_data_func() that is called to determine the
value of the attribute for each cell that is rendered.
GtkCellLayouts as GtkBuildable Implementations of GtkCellLayout which also implement the GtkBuildable
interface (GtkCellView , GtkIconView , GtkComboBox ,
GtkEntryCompletion , GtkTreeViewColumn ) accept GtkCellRenderer objects
as <child> elements in UI definitions. They support a custom <attributes>
element for their children, which can contain multiple <attribute>
elements. Each <attribute> element has a name attribute which specifies
a property of the cell renderer; the content of the element is the
attribute value.
This is an example of a UI definition fragment specifying attributes:
0
"
]]>
Furthermore for implementations of GtkCellLayout that use a GtkCellArea
to lay out cells (all GtkCellLayouts in GTK+ use a GtkCellArea)
cell properties can also be defined in the format by
specifying the custom <cell-packing> attribute which can contain multiple
<property> elements defined in the normal way.
Here is a UI definition fragment specifying cell properties:
True
False
"
]]>
Subclassing GtkCellLayout implementations When subclassing a widget that implements GtkCellLayout like
GtkIconView or GtkComboBox , there are some considerations related
to the fact that these widgets internally use a GtkCellArea .
The cell area is exposed as a construct-only property by these
widgets. This means that it is possible to e.g. do
to use a custom cell area with a combo box. But construct properties
are only initialized after instance init()
functions have run, which means that using functions which rely on
the existence of the cell area in your subclass’ init() function will
cause the default cell area to be instantiated. In this case, a provided
construct property value will be ignored (with a warning, to alert
you to the problem).
If supporting alternative cell areas with your derived widget is
not important, then this does not have to concern you. If you want
to support alternative cell areas, you can do so by moving the
problematic calls out of init() and into a constructor()
for your class.
Functions
GtkCellLayoutDataFunc ()
GtkCellLayoutDataFunc
void
( *GtkCellLayoutDataFunc) (GtkCellLayout *cell_layout ,
GtkCellRenderer *cell ,
GtkTreeModel *tree_model ,
GtkTreeIter *iter ,
gpointer data );
A function which should set the value of cell_layout
’s cell renderer(s)
as appropriate.
Parameters
cell_layout
a GtkCellLayout
cell
the cell renderer whose value is to be set
tree_model
the model
iter
a GtkTreeIter indicating the row to set the value for
data
user data passed to gtk_cell_layout_set_cell_data_func() .
[closure ]
gtk_cell_layout_pack_start ()
gtk_cell_layout_pack_start
void
gtk_cell_layout_pack_start (GtkCellLayout *cell_layout ,
GtkCellRenderer *cell ,
gboolean expand );
Packs the cell
into the beginning of cell_layout
. If expand
is FALSE ,
then the cell
is allocated no more space than it needs. Any unused space
is divided evenly between cells for which expand
is TRUE .
Note that reusing the same cell renderer is not supported.
Parameters
cell_layout
a GtkCellLayout
cell
a GtkCellRenderer
expand
TRUE if cell
is to be given extra space allocated to cell_layout
gtk_cell_layout_pack_end ()
gtk_cell_layout_pack_end
void
gtk_cell_layout_pack_end (GtkCellLayout *cell_layout ,
GtkCellRenderer *cell ,
gboolean expand );
Adds the cell
to the end of cell_layout
. If expand
is FALSE , then the
cell
is allocated no more space than it needs. Any unused space is
divided evenly between cells for which expand
is TRUE .
Note that reusing the same cell renderer is not supported.
Parameters
cell_layout
a GtkCellLayout
cell
a GtkCellRenderer
expand
TRUE if cell
is to be given extra space allocated to cell_layout
gtk_cell_layout_get_area ()
gtk_cell_layout_get_area
GtkCellArea *
gtk_cell_layout_get_area (GtkCellLayout *cell_layout );
Returns the underlying GtkCellArea which might be cell_layout
if called on a GtkCellArea or might be NULL if no GtkCellArea
is used by cell_layout
.
Parameters
cell_layout
a GtkCellLayout
Returns
the cell area used by cell_layout
,
or NULL in case no cell area is used.
[transfer none ][nullable ]
gtk_cell_layout_get_cells ()
gtk_cell_layout_get_cells
GList *
gtk_cell_layout_get_cells (GtkCellLayout *cell_layout );
Returns the cell renderers which have been added to cell_layout
.
Parameters
cell_layout
a GtkCellLayout
Returns
a list of cell renderers. The list, but not the renderers has
been newly allocated and should be freed with g_list_free()
when no longer needed.
[element-type GtkCellRenderer][transfer container ]
gtk_cell_layout_reorder ()
gtk_cell_layout_reorder
void
gtk_cell_layout_reorder (GtkCellLayout *cell_layout ,
GtkCellRenderer *cell ,
gint position );
Re-inserts cell
at position
.
Note that cell
has already to be packed into cell_layout
for this to function properly.
Parameters
cell_layout
a GtkCellLayout
cell
a GtkCellRenderer to reorder
position
new position to insert cell
at
gtk_cell_layout_clear ()
gtk_cell_layout_clear
void
gtk_cell_layout_clear (GtkCellLayout *cell_layout );
Unsets all the mappings on all renderers on cell_layout
and
removes all renderers from cell_layout
.
Parameters
cell_layout
a GtkCellLayout
gtk_cell_layout_set_attributes ()
gtk_cell_layout_set_attributes
void
gtk_cell_layout_set_attributes (GtkCellLayout *cell_layout ,
GtkCellRenderer *cell ,
... );
Sets the attributes in list as the attributes of cell_layout
.
The attributes should be in attribute/column order, as in
gtk_cell_layout_add_attribute() . All existing attributes are
removed, and replaced with the new attributes.
Parameters
cell_layout
a GtkCellLayout
cell
a GtkCellRenderer
...
a NULL -terminated list of attributes
gtk_cell_layout_add_attribute ()
gtk_cell_layout_add_attribute
void
gtk_cell_layout_add_attribute (GtkCellLayout *cell_layout ,
GtkCellRenderer *cell ,
const gchar *attribute ,
gint column );
Adds an attribute mapping to the list in cell_layout
.
The column
is the column of the model to get a value from, and the
attribute
is the parameter on cell
to be set from the value. So for
example if column 2 of the model contains strings, you could have the
“text” attribute of a GtkCellRendererText get its values from column 2.
Parameters
cell_layout
a GtkCellLayout
cell
a GtkCellRenderer
attribute
an attribute on the renderer
column
the column position on the model to get the attribute from
gtk_cell_layout_set_cell_data_func ()
gtk_cell_layout_set_cell_data_func
void
gtk_cell_layout_set_cell_data_func (GtkCellLayout *cell_layout ,
GtkCellRenderer *cell ,
GtkCellLayoutDataFunc func ,
gpointer func_data ,
GDestroyNotify destroy );
Sets the GtkCellLayoutDataFunc to use for cell_layout
.
This function is used instead of the standard attributes mapping
for setting the column value, and should set the value of cell_layout
’s
cell renderer(s) as appropriate.
func
may be NULL to remove a previously set function.
Parameters
cell_layout
a GtkCellLayout
cell
a GtkCellRenderer
func
the GtkCellLayoutDataFunc to use, or NULL .
[allow-none ]
func_data
user data for func
.
[closure ]
destroy
destroy notify for func_data
gtk_cell_layout_clear_attributes ()
gtk_cell_layout_clear_attributes
void
gtk_cell_layout_clear_attributes (GtkCellLayout *cell_layout ,
GtkCellRenderer *cell );
Clears all existing attributes previously set with
gtk_cell_layout_set_attributes() .
Parameters
cell_layout
a GtkCellLayout
cell
a GtkCellRenderer to clear the attribute mapping on
docs/reference/gtk/xml/gtkcombobox.xml 0000664 0001750 0001750 00000224665 13617646201 020246 0 ustar mclasen mclasen
]>
GtkComboBox
3
GTK4 Library
GtkComboBox
A widget used to choose from a list of items
Functions
GtkWidget *
gtk_combo_box_new ()
GtkWidget *
gtk_combo_box_new_with_entry ()
GtkWidget *
gtk_combo_box_new_with_model ()
GtkWidget *
gtk_combo_box_new_with_model_and_entry ()
gint
gtk_combo_box_get_active ()
void
gtk_combo_box_set_active ()
gboolean
gtk_combo_box_get_active_iter ()
void
gtk_combo_box_set_active_iter ()
gint
gtk_combo_box_get_id_column ()
void
gtk_combo_box_set_id_column ()
const gchar *
gtk_combo_box_get_active_id ()
gboolean
gtk_combo_box_set_active_id ()
GtkTreeModel *
gtk_combo_box_get_model ()
void
gtk_combo_box_set_model ()
void
gtk_combo_box_popdown ()
AtkObject *
gtk_combo_box_get_popup_accessible ()
GtkTreeViewRowSeparatorFunc
gtk_combo_box_get_row_separator_func ()
void
gtk_combo_box_set_row_separator_func ()
void
gtk_combo_box_set_button_sensitivity ()
GtkSensitivityType
gtk_combo_box_get_button_sensitivity ()
gboolean
gtk_combo_box_get_has_entry ()
void
gtk_combo_box_set_entry_text_column ()
gint
gtk_combo_box_get_entry_text_column ()
void
gtk_combo_box_set_popup_fixed_width ()
gboolean
gtk_combo_box_get_popup_fixed_width ()
Properties
gint activeRead / Write
gchar * active-idRead / Write
GtkSensitivityType button-sensitivityRead / Write
gint entry-text-columnRead / Write
gboolean has-entryRead / Write / Construct Only
gboolean has-frameRead / Write
gint id-columnRead / Write
GtkTreeModel * modelRead / Write
gboolean popup-fixed-widthRead / Write
gboolean popup-shownRead
Signals
void changed Run Last
gchar * format-entry-text Run Last
void move-active Action
gboolean popdown Action
void popup Action
Types and Values
struct GtkComboBox
struct GtkComboBoxClass
enum GtkSensitivityType
Object Hierarchy
GObject
╰── GInitiallyUnowned
╰── GtkWidget
╰── GtkContainer
╰── GtkBin
╰── GtkComboBox
╰── GtkComboBoxText
Implemented Interfaces
GtkComboBox implements
AtkImplementorIface, GtkBuildable, GtkConstraintTarget, GtkCellLayout and GtkCellEditable.
Includes #include <gtk/gtk.h>
Description
A GtkComboBox is a widget that allows the user to choose from a list of
valid choices. The GtkComboBox displays the selected choice. When
activated, the GtkComboBox displays a popup which allows the user to
make a new choice. The style in which the selected value is displayed,
and the style of the popup is determined by the current theme. It may
be similar to a Windows-style combo box.
The GtkComboBox uses the model-view pattern; the list of valid choices
is specified in the form of a tree model, and the display of the choices
can be adapted to the data in the model by using cell renderers, as you
would in a tree view. This is possible since GtkComboBox implements the
GtkCellLayout interface. The tree model holding the valid choices is
not restricted to a flat list, it can be a real tree, and the popup will
reflect the tree structure.
To allow the user to enter values not in the model, the “has-entry”
property allows the GtkComboBox to contain a GtkEntry . This entry
can be accessed by calling gtk_bin_get_child() on the combo box.
For a simple list of textual choices, the model-view API of GtkComboBox
can be a bit overwhelming. In this case, GtkComboBoxText offers a
simple alternative. Both GtkComboBox and GtkComboBoxText can contain
an entry.
CSS nodes
A normal combobox contains a box with the .linked class, a button
with the .combo class and inside those buttons, there are a cellview and
an arrow.
A GtkComboBox with an entry has a single CSS node with name combobox. It
contains a box with the .linked class. That box contains an entry and a
button, both with the .combo class added.
The button also contains another node with name arrow.
Functions
gtk_combo_box_new ()
gtk_combo_box_new
GtkWidget *
gtk_combo_box_new (void );
Creates a new empty GtkComboBox .
Returns
A new GtkComboBox .
gtk_combo_box_new_with_entry ()
gtk_combo_box_new_with_entry
GtkWidget *
gtk_combo_box_new_with_entry (void );
Creates a new empty GtkComboBox with an entry.
Returns
A new GtkComboBox .
gtk_combo_box_new_with_model ()
gtk_combo_box_new_with_model
GtkWidget *
gtk_combo_box_new_with_model (GtkTreeModel *model );
Creates a new GtkComboBox with the model initialized to model
.
Parameters
model
A GtkTreeModel .
Returns
A new GtkComboBox .
gtk_combo_box_new_with_model_and_entry ()
gtk_combo_box_new_with_model_and_entry
GtkWidget *
gtk_combo_box_new_with_model_and_entry
(GtkTreeModel *model );
Creates a new empty GtkComboBox with an entry
and with the model initialized to model
.
Parameters
model
A GtkTreeModel
Returns
A new GtkComboBox
gtk_combo_box_get_active ()
gtk_combo_box_get_active
gint
gtk_combo_box_get_active (GtkComboBox *combo_box );
Returns the index of the currently active item, or -1 if there’s no
active item. If the model is a non-flat treemodel, and the active item
is not an immediate child of the root of the tree, this function returns
gtk_tree_path_get_indices (path)[0] , where
path is the GtkTreePath of the active item.
Parameters
combo_box
A GtkComboBox
Returns
An integer which is the index of the currently active item,
or -1 if there’s no active item.
gtk_combo_box_set_active ()
gtk_combo_box_set_active
void
gtk_combo_box_set_active (GtkComboBox *combo_box ,
gint index_ );
Sets the active item of combo_box
to be the item at index
.
Parameters
combo_box
A GtkComboBox
index_
An index in the model passed during construction, or -1 to have
no active item
gtk_combo_box_get_active_iter ()
gtk_combo_box_get_active_iter
gboolean
gtk_combo_box_get_active_iter (GtkComboBox *combo_box ,
GtkTreeIter *iter );
Sets iter
to point to the currently active item, if any item is active.
Otherwise, iter
is left unchanged.
Parameters
combo_box
A GtkComboBox
iter
A GtkTreeIter .
[out ]
Returns
TRUE if iter
was set, FALSE otherwise
gtk_combo_box_set_active_iter ()
gtk_combo_box_set_active_iter
void
gtk_combo_box_set_active_iter (GtkComboBox *combo_box ,
GtkTreeIter *iter );
Sets the current active item to be the one referenced by iter
, or
unsets the active item if iter
is NULL .
Parameters
combo_box
A GtkComboBox
iter
The GtkTreeIter , or NULL .
[allow-none ]
gtk_combo_box_get_id_column ()
gtk_combo_box_get_id_column
gint
gtk_combo_box_get_id_column (GtkComboBox *combo_box );
Returns the column which combo_box
is using to get string IDs
for values from.
Parameters
combo_box
A GtkComboBox
Returns
A column in the data source model of combo_box
.
gtk_combo_box_set_id_column ()
gtk_combo_box_set_id_column
void
gtk_combo_box_set_id_column (GtkComboBox *combo_box ,
gint id_column );
Sets the model column which combo_box
should use to get string IDs
for values from. The column id_column
in the model of combo_box
must be of type G_TYPE_STRING .
Parameters
combo_box
A GtkComboBox
id_column
A column in model
to get string IDs for values from
gtk_combo_box_get_active_id ()
gtk_combo_box_get_active_id
const gchar *
gtk_combo_box_get_active_id (GtkComboBox *combo_box );
Returns the ID of the active row of combo_box
. This value is taken
from the active row and the column specified by the “id-column”
property of combo_box
(see gtk_combo_box_set_id_column() ).
The returned value is an interned string which means that you can
compare the pointer by value to other interned strings and that you
must not free it.
If the “id-column” property of combo_box
is not set, or if
no row is active, or if the active row has a NULL ID value, then NULL
is returned.
Parameters
combo_box
a GtkComboBox
Returns
the ID of the active row, or NULL .
[nullable ]
gtk_combo_box_set_active_id ()
gtk_combo_box_set_active_id
gboolean
gtk_combo_box_set_active_id (GtkComboBox *combo_box ,
const gchar *active_id );
Changes the active row of combo_box
to the one that has an ID equal to
active_id
, or unsets the active row if active_id
is NULL . Rows having
a NULL ID string cannot be made active by this function.
If the “id-column” property of combo_box
is unset or if no
row has the given ID then the function does nothing and returns FALSE .
Parameters
combo_box
a GtkComboBox
active_id
the ID of the row to select, or NULL .
[allow-none ]
Returns
TRUE if a row with a matching ID was found. If a NULL
active_id
was given to unset the active row, the function
always returns TRUE .
gtk_combo_box_get_model ()
gtk_combo_box_get_model
GtkTreeModel *
gtk_combo_box_get_model (GtkComboBox *combo_box );
Returns the GtkTreeModel which is acting as data source for combo_box
.
Parameters
combo_box
A GtkComboBox
Returns
A GtkTreeModel which was passed
during construction.
[transfer none ]
gtk_combo_box_set_model ()
gtk_combo_box_set_model
void
gtk_combo_box_set_model (GtkComboBox *combo_box ,
GtkTreeModel *model );
Sets the model used by combo_box
to be model
. Will unset a previously set
model (if applicable). If model is NULL , then it will unset the model.
Note that this function does not clear the cell renderers, you have to
call gtk_cell_layout_clear() yourself if you need to set up different
cell renderers for the new model.
Parameters
combo_box
A GtkComboBox
model
A GtkTreeModel .
[allow-none ]
gtk_combo_box_popdown ()
gtk_combo_box_popdown
void
gtk_combo_box_popdown (GtkComboBox *combo_box );
Hides the menu or dropdown list of combo_box
.
This function is mostly intended for use by accessibility technologies;
applications should have little use for it.
Parameters
combo_box
a GtkComboBox
gtk_combo_box_get_row_separator_func ()
gtk_combo_box_get_row_separator_func
GtkTreeViewRowSeparatorFunc
gtk_combo_box_get_row_separator_func (GtkComboBox *combo_box );
Returns the current row separator function.
[skip ]
Parameters
combo_box
a GtkComboBox
Returns
the current row separator function.
gtk_combo_box_set_row_separator_func ()
gtk_combo_box_set_row_separator_func
void
gtk_combo_box_set_row_separator_func (GtkComboBox *combo_box ,
GtkTreeViewRowSeparatorFunc func ,
gpointer data ,
GDestroyNotify destroy );
Sets the row separator function, which is used to determine
whether a row should be drawn as a separator. If the row separator
function is NULL , no separators are drawn. This is the default value.
Parameters
combo_box
a GtkComboBox
func
a GtkTreeViewRowSeparatorFunc
data
user data to pass to func
, or NULL .
[allow-none ]
destroy
destroy notifier for data
, or NULL .
[allow-none ]
gtk_combo_box_set_button_sensitivity ()
gtk_combo_box_set_button_sensitivity
void
gtk_combo_box_set_button_sensitivity (GtkComboBox *combo_box ,
GtkSensitivityType sensitivity );
Sets whether the dropdown button of the combo box should be
always sensitive (GTK_SENSITIVITY_ON ), never sensitive (GTK_SENSITIVITY_OFF )
or only if there is at least one item to display (GTK_SENSITIVITY_AUTO ).
Parameters
combo_box
a GtkComboBox
sensitivity
specify the sensitivity of the dropdown button
gtk_combo_box_get_button_sensitivity ()
gtk_combo_box_get_button_sensitivity
GtkSensitivityType
gtk_combo_box_get_button_sensitivity (GtkComboBox *combo_box );
Returns whether the combo box sets the dropdown button
sensitive or not when there are no items in the model.
Parameters
combo_box
a GtkComboBox
Returns
GTK_SENSITIVITY_ON if the dropdown button
is sensitive when the model is empty, GTK_SENSITIVITY_OFF
if the button is always insensitive or
GTK_SENSITIVITY_AUTO if it is only sensitive as long as
the model has one item to be selected.
gtk_combo_box_get_has_entry ()
gtk_combo_box_get_has_entry
gboolean
gtk_combo_box_get_has_entry (GtkComboBox *combo_box );
Returns whether the combo box has an entry.
Parameters
combo_box
a GtkComboBox
Returns
whether there is an entry in combo_box
.
gtk_combo_box_set_entry_text_column ()
gtk_combo_box_set_entry_text_column
void
gtk_combo_box_set_entry_text_column (GtkComboBox *combo_box ,
gint text_column );
Sets the model column which combo_box
should use to get strings from
to be text_column
. The column text_column
in the model of combo_box
must be of type G_TYPE_STRING .
This is only relevant if combo_box
has been created with
“has-entry” as TRUE .
Parameters
combo_box
A GtkComboBox
text_column
A column in model
to get the strings from for
the internal entry
gtk_combo_box_get_entry_text_column ()
gtk_combo_box_get_entry_text_column
gint
gtk_combo_box_get_entry_text_column (GtkComboBox *combo_box );
Returns the column which combo_box
is using to get the strings
from to display in the internal entry.
Parameters
combo_box
A GtkComboBox .
Returns
A column in the data source model of combo_box
.
Property Details
The “active” property
GtkComboBox:active
“active” gint
The item which is currently active. If the model is a non-flat treemodel,
and the active item is not an immediate child of the root of the tree,
this property has the value
gtk_tree_path_get_indices (path)[0] ,
where path is the GtkTreePath of the active item.
Owner: GtkComboBox
Flags: Read / Write
Allowed values: >= -1
Default value: -1
The “active-id” property
GtkComboBox:active-id
“active-id” gchar *
The value of the ID column of the active row.
Owner: GtkComboBox
Flags: Read / Write
Default value: NULL
The “button-sensitivity” property
GtkComboBox:button-sensitivity
“button-sensitivity” GtkSensitivityType
Whether the dropdown button is sensitive when
the model is empty.
Owner: GtkComboBox
Flags: Read / Write
Default value: GTK_SENSITIVITY_AUTO
The “entry-text-column” property
GtkComboBox:entry-text-column
“entry-text-column” gint
The column in the combo box's model to associate with strings from the entry
if the combo was created with “has-entry” = TRUE .
Owner: GtkComboBox
Flags: Read / Write
Allowed values: >= -1
Default value: -1
The “has-entry” property
GtkComboBox:has-entry
“has-entry” gboolean
Whether the combo box has an entry.
Owner: GtkComboBox
Flags: Read / Write / Construct Only
Default value: FALSE
The “has-frame” property
GtkComboBox:has-frame
“has-frame” gboolean
The has-frame property controls whether a frame
is drawn around the entry.
Owner: GtkComboBox
Flags: Read / Write
Default value: TRUE
The “id-column” property
GtkComboBox:id-column
“id-column” gint
The column in the combo box's model that provides string
IDs for the values in the model, if != -1.
Owner: GtkComboBox
Flags: Read / Write
Allowed values: >= -1
Default value: -1
The “model” property
GtkComboBox:model
“model” GtkTreeModel *
The model from which the combo box takes the values shown
in the list.
Owner: GtkComboBox
Flags: Read / Write
Signal Details
The “changed” signal
GtkComboBox::changed
void
user_function (GtkComboBox *widget,
gpointer user_data)
The changed signal is emitted when the active
item is changed. The can be due to the user selecting
a different item from the list, or due to a
call to gtk_combo_box_set_active_iter() .
It will also be emitted while typing into the entry of a combo box
with an entry.
Parameters
widget
the object which received the signal
user_data
user data set when the signal handler was connected.
Flags: Run Last
The “format-entry-text” signal
GtkComboBox::format-entry-text
gchar *
user_function (GtkComboBox *combo,
gchar *path,
gpointer user_data)
For combo boxes that are created with an entry (See GtkComboBox:has-entry).
A signal which allows you to change how the text displayed in a combo box's
entry is displayed.
Connect a signal handler which returns an allocated string representing
path
. That string will then be used to set the text in the combo box's entry.
The default signal handler uses the text from the GtkComboBox::entry-text-column
model column.
Here's an example signal handler which fetches data from the model and
displays it in the entry.
Parameters
combo
the object which received the signal
path
the GtkTreePath string from the combo box's current model to format text for
user_data
user data set when the signal handler was connected.
Returns
a newly allocated string representing path
for the current GtkComboBox model.
[transfer full ]
Flags: Run Last
The “move-active” signal
GtkComboBox::move-active
void
user_function (GtkComboBox *widget,
GtkScrollType scroll_type,
gpointer user_data)
The ::move-active signal is a
keybinding signal
which gets emitted to move the active selection.
Parameters
widget
the object that received the signal
scroll_type
a GtkScrollType
user_data
user data set when the signal handler was connected.
Flags: Action
The “popdown” signal
GtkComboBox::popdown
gboolean
user_function (GtkComboBox *button,
gpointer user_data)
The ::popdown signal is a
keybinding signal
which gets emitted to popdown the combo box list.
The default bindings for this signal are Alt+Up and Escape.
Parameters
button
the object which received the signal
user_data
user data set when the signal handler was connected.
Flags: Action
See Also
GtkComboBoxText , GtkTreeModel , GtkCellRenderer
docs/reference/gtk/xml/gtkscrollbar.xml 0000664 0001750 0001750 00000030117 13617646202 020405 0 ustar mclasen mclasen
]>
GtkScrollbar
3
GTK4 Library
GtkScrollbar
A Scrollbar
Functions
GtkWidget *
gtk_scrollbar_new ()
GtkAdjustment *
gtk_scrollbar_get_adjustment ()
void
gtk_scrollbar_set_adjustment ()
Properties
GtkAdjustment * adjustmentRead / Write / Construct
Types and Values
GtkScrollbar
Object Hierarchy
GObject
╰── GInitiallyUnowned
╰── GtkWidget
╰── GtkScrollbar
Implemented Interfaces
GtkScrollbar implements
AtkImplementorIface, GtkBuildable, GtkConstraintTarget and GtkOrientable.
Includes #include <gtk/gtk.h>
Description
The GtkScrollbar widget is a horizontal or vertical scrollbar,
depending on the value of the “orientation” property.
Its position and movement are controlled by the adjustment that is passed to
or created by gtk_scrollbar_new() . See GtkAdjustment for more details. The
“value” field sets the position of the thumb and must be between
“lower” and “upper” - “page-size” . The
“page-size” represents the size of the visible scrollable area.
The fields “step-increment” and “page-increment”
fields are added to or subtracted from the “value” when the user
asks to move by a step (using e.g. the cursor arrow keys or, if present, the
stepper buttons) or by a page (using e.g. the Page Down/Up keys).
CSS nodes
GtkScrollbar has a main CSS node with name scrollbar and a subnode for its
contents. The main node gets the .horizontal or .vertical
style classes applied, depending on the scrollbar's orientation.
The range node gets the style class .fine-tune added when the scrollbar is
in 'fine-tuning' mode.
If steppers are enabled, they are represented by up to four additional
subnodes with name button. These get the style classes .up and .down to
indicate in which direction they are moving.
Other style classes that may be added to scrollbars inside GtkScrolledWindow
include the positional classes (.left, .right, .top, .bottom) and style
classes related to overlay scrolling (.overlay-indicator, .dragging, .hovering).
Functions
gtk_scrollbar_new ()
gtk_scrollbar_new
GtkWidget *
gtk_scrollbar_new (GtkOrientation orientation ,
GtkAdjustment *adjustment );
Creates a new scrollbar with the given orientation.
Parameters
orientation
the scrollbar’s orientation.
adjustment
the GtkAdjustment to use, or NULL to create a new adjustment.
[allow-none ]
Returns
the new GtkScrollbar .
gtk_scrollbar_get_adjustment ()
gtk_scrollbar_get_adjustment
GtkAdjustment *
gtk_scrollbar_get_adjustment (GtkScrollbar *self );
Returns the scrollbar's adjustment.
Parameters
self
a GtkScrollbar
Returns
the scrollbar's adjustment.
[transfer none ]
gtk_scrollbar_set_adjustment ()
gtk_scrollbar_set_adjustment
void
gtk_scrollbar_set_adjustment (GtkScrollbar *self ,
GtkAdjustment *adjustment );
Makes the scrollbar use the given adjustment.
Parameters
self
a GtkScrollbar
adjustment
the adjustment to set.
[nullable ]
Property Details
The “adjustment” property
GtkScrollbar:adjustment
“adjustment” GtkAdjustment *
The GtkAdjustment that contains the current value of this scrollbar. Owner: GtkScrollbar
Flags: Read / Write / Construct
See Also
GtkAdjustment , GtkScrolledWindow
docs/reference/gtk/xml/gtkcomboboxtext.xml 0000664 0001750 0001750 00000067020 13617646201 021141 0 ustar mclasen mclasen
]>
GtkComboBoxText
3
GTK4 Library
GtkComboBoxText
A simple, text-only combo box
Functions
GtkWidget *
gtk_combo_box_text_new ()
GtkWidget *
gtk_combo_box_text_new_with_entry ()
void
gtk_combo_box_text_append ()
void
gtk_combo_box_text_prepend ()
void
gtk_combo_box_text_insert ()
void
gtk_combo_box_text_append_text ()
void
gtk_combo_box_text_prepend_text ()
void
gtk_combo_box_text_insert_text ()
void
gtk_combo_box_text_remove ()
void
gtk_combo_box_text_remove_all ()
gchar *
gtk_combo_box_text_get_active_text ()
Types and Values
GtkComboBoxText
Object Hierarchy
GObject
╰── GInitiallyUnowned
╰── GtkWidget
╰── GtkContainer
╰── GtkBin
╰── GtkComboBox
╰── GtkComboBoxText
Implemented Interfaces
GtkComboBoxText implements
AtkImplementorIface, GtkBuildable, GtkConstraintTarget, GtkCellLayout and GtkCellEditable.
Includes #include <gtk/gtk.h>
Description
A GtkComboBoxText is a simple variant of GtkComboBox that hides
the model-view complexity for simple text-only use cases.
To create a GtkComboBoxText, use gtk_combo_box_text_new() or
gtk_combo_box_text_new_with_entry() .
You can add items to a GtkComboBoxText with
gtk_combo_box_text_append_text() , gtk_combo_box_text_insert_text()
or gtk_combo_box_text_prepend_text() and remove options with
gtk_combo_box_text_remove() .
If the GtkComboBoxText contains an entry (via the “has-entry” property),
its contents can be retrieved using gtk_combo_box_text_get_active_text() .
The entry itself can be accessed by calling gtk_bin_get_child() on the
combo box.
You should not call gtk_combo_box_set_model() or attempt to pack more cells
into this combo box via its GtkCellLayout interface.
GtkComboBoxText as GtkBuildable The GtkComboBoxText implementation of the GtkBuildable interface supports
adding items directly using the <items> element and specifying <item>
elements for each item. Each <item> element can specify the “id”
corresponding to the appended text and also supports the regular
translation attributes “translatable”, “context” and “comments”.
Here is a UI definition fragment specifying GtkComboBoxText items:
- Factory
- Home
- Subway
]]>
CSS nodes
GtkComboBoxText has a single CSS node with name combobox. It adds
the style class .combo to the main CSS nodes of its entry and button
children, and the .linked class to the node of its internal box.
Functions
gtk_combo_box_text_new ()
gtk_combo_box_text_new
GtkWidget *
gtk_combo_box_text_new (void );
Creates a new GtkComboBoxText , which is a GtkComboBox just displaying
strings.
Returns
A new GtkComboBoxText
gtk_combo_box_text_new_with_entry ()
gtk_combo_box_text_new_with_entry
GtkWidget *
gtk_combo_box_text_new_with_entry (void );
Creates a new GtkComboBoxText , which is a GtkComboBox just displaying
strings. The combo box created by this function has an entry.
Returns
a new GtkComboBoxText
gtk_combo_box_text_append ()
gtk_combo_box_text_append
void
gtk_combo_box_text_append (GtkComboBoxText *combo_box ,
const gchar *id ,
const gchar *text );
Appends text
to the list of strings stored in combo_box
.
If id
is non-NULL then it is used as the ID of the row.
This is the same as calling gtk_combo_box_text_insert() with a
position of -1.
Parameters
combo_box
A GtkComboBoxText
id
a string ID for this value, or NULL .
[allow-none ]
text
A string
gtk_combo_box_text_prepend ()
gtk_combo_box_text_prepend
void
gtk_combo_box_text_prepend (GtkComboBoxText *combo_box ,
const gchar *id ,
const gchar *text );
Prepends text
to the list of strings stored in combo_box
.
If id
is non-NULL then it is used as the ID of the row.
This is the same as calling gtk_combo_box_text_insert() with a
position of 0.
Parameters
combo_box
A GtkComboBox
id
a string ID for this value, or NULL .
[allow-none ]
text
a string
gtk_combo_box_text_insert ()
gtk_combo_box_text_insert
void
gtk_combo_box_text_insert (GtkComboBoxText *combo_box ,
gint position ,
const gchar *id ,
const gchar *text );
Inserts text
at position
in the list of strings stored in combo_box
.
If id
is non-NULL then it is used as the ID of the row. See
“id-column” .
If position
is negative then text
is appended.
Parameters
combo_box
A GtkComboBoxText
position
An index to insert text
id
a string ID for this value, or NULL .
[allow-none ]
text
A string to display
gtk_combo_box_text_append_text ()
gtk_combo_box_text_append_text
void
gtk_combo_box_text_append_text (GtkComboBoxText *combo_box ,
const gchar *text );
Appends text
to the list of strings stored in combo_box
.
This is the same as calling gtk_combo_box_text_insert_text() with a
position of -1.
Parameters
combo_box
A GtkComboBoxText
text
A string
gtk_combo_box_text_prepend_text ()
gtk_combo_box_text_prepend_text
void
gtk_combo_box_text_prepend_text (GtkComboBoxText *combo_box ,
const gchar *text );
Prepends text
to the list of strings stored in combo_box
.
This is the same as calling gtk_combo_box_text_insert_text() with a
position of 0.
Parameters
combo_box
A GtkComboBox
text
A string
gtk_combo_box_text_insert_text ()
gtk_combo_box_text_insert_text
void
gtk_combo_box_text_insert_text (GtkComboBoxText *combo_box ,
gint position ,
const gchar *text );
Inserts text
at position
in the list of strings stored in combo_box
.
If position
is negative then text
is appended.
This is the same as calling gtk_combo_box_text_insert() with a NULL
ID string.
Parameters
combo_box
A GtkComboBoxText
position
An index to insert text
text
A string
gtk_combo_box_text_remove ()
gtk_combo_box_text_remove
void
gtk_combo_box_text_remove (GtkComboBoxText *combo_box ,
gint position );
Removes the string at position
from combo_box
.
Parameters
combo_box
A GtkComboBox
position
Index of the item to remove
gtk_combo_box_text_remove_all ()
gtk_combo_box_text_remove_all
void
gtk_combo_box_text_remove_all (GtkComboBoxText *combo_box );
Removes all the text entries from the combo box.
Parameters
combo_box
A GtkComboBoxText
gtk_combo_box_text_get_active_text ()
gtk_combo_box_text_get_active_text
gchar *
gtk_combo_box_text_get_active_text (GtkComboBoxText *combo_box );
Returns the currently active string in combo_box
, or NULL
if none is selected. If combo_box
contains an entry, this
function will return its contents (which will not necessarily
be an item from the list).
Parameters
combo_box
A GtkComboBoxText
Returns
a newly allocated string containing the
currently active text. Must be freed with g_free() .
[nullable ][transfer full ]
See Also
GtkComboBox
docs/reference/gtk/xml/gtkcellarea.xml 0000664 0001750 0001750 00000527174 13617646203 020211 0 ustar mclasen mclasen
]>
GtkCellArea
3
GTK4 Library
GtkCellArea
An abstract class for laying out GtkCellRenderers
Functions
gboolean
( *GtkCellCallback) ()
gboolean
( *GtkCellAllocCallback) ()
#define GTK_CELL_AREA_WARN_INVALID_CELL_PROPERTY_ID()
void
gtk_cell_area_add ()
void
gtk_cell_area_remove ()
gboolean
gtk_cell_area_has_renderer ()
void
gtk_cell_area_foreach ()
void
gtk_cell_area_foreach_alloc ()
gint
gtk_cell_area_event ()
void
gtk_cell_area_snapshot ()
void
gtk_cell_area_get_cell_allocation ()
GtkCellRenderer *
gtk_cell_area_get_cell_at_position ()
GtkCellAreaContext *
gtk_cell_area_create_context ()
GtkCellAreaContext *
gtk_cell_area_copy_context ()
GtkSizeRequestMode
gtk_cell_area_get_request_mode ()
void
gtk_cell_area_get_preferred_width ()
void
gtk_cell_area_get_preferred_height_for_width ()
void
gtk_cell_area_get_preferred_height ()
void
gtk_cell_area_get_preferred_width_for_height ()
const gchar *
gtk_cell_area_get_current_path_string ()
void
gtk_cell_area_apply_attributes ()
void
gtk_cell_area_attribute_connect ()
void
gtk_cell_area_attribute_disconnect ()
gint
gtk_cell_area_attribute_get_column ()
void
gtk_cell_area_class_install_cell_property ()
GParamSpec *
gtk_cell_area_class_find_cell_property ()
GParamSpec **
gtk_cell_area_class_list_cell_properties ()
void
gtk_cell_area_add_with_properties ()
void
gtk_cell_area_cell_set ()
void
gtk_cell_area_cell_get ()
void
gtk_cell_area_cell_set_valist ()
void
gtk_cell_area_cell_get_valist ()
void
gtk_cell_area_cell_set_property ()
void
gtk_cell_area_cell_get_property ()
gboolean
gtk_cell_area_is_activatable ()
gboolean
gtk_cell_area_activate ()
gboolean
gtk_cell_area_focus ()
void
gtk_cell_area_set_focus_cell ()
GtkCellRenderer *
gtk_cell_area_get_focus_cell ()
void
gtk_cell_area_add_focus_sibling ()
void
gtk_cell_area_remove_focus_sibling ()
gboolean
gtk_cell_area_is_focus_sibling ()
const GList *
gtk_cell_area_get_focus_siblings ()
GtkCellRenderer *
gtk_cell_area_get_focus_from_sibling ()
GtkCellRenderer *
gtk_cell_area_get_edited_cell ()
GtkCellEditable *
gtk_cell_area_get_edit_widget ()
gboolean
gtk_cell_area_activate_cell ()
void
gtk_cell_area_stop_editing ()
void
gtk_cell_area_inner_cell_area ()
void
gtk_cell_area_request_renderer ()
Properties
GtkCellEditable * edit-widgetRead
GtkCellRenderer * edited-cellRead
GtkCellRenderer * focus-cellRead / Write
Signals
void add-editable Run First
void apply-attributes Run First
void focus-changed Run First
void remove-editable Run First
Types and Values
struct GtkCellArea
struct GtkCellAreaClass
Object Hierarchy
GObject
╰── GInitiallyUnowned
╰── GtkCellArea
╰── GtkCellAreaBox
Implemented Interfaces
GtkCellArea implements
GtkCellLayout and GtkBuildable.
Includes #include <gtk/gtk.h>
Description
The GtkCellArea is an abstract class for GtkCellLayout widgets
(also referred to as "layouting widgets") to interface with an
arbitrary number of GtkCellRenderers and interact with the user
for a given GtkTreeModel row.
The cell area handles events, focus navigation, drawing and
size requests and allocations for a given row of data.
Usually users dont have to interact with the GtkCellArea directly
unless they are implementing a cell-layouting widget themselves.
Requesting area sizes As outlined in
GtkWidget’s geometry management section,
GTK+ uses a height-for-width
geometry management system to compute the sizes of widgets and user
interfaces. GtkCellArea uses the same semantics to calculate the
size of an area for an arbitrary number of GtkTreeModel rows.
When requesting the size of a cell area one needs to calculate
the size for a handful of rows, and this will be done differently by
different layouting widgets. For instance a GtkTreeViewColumn
always lines up the areas from top to bottom while a GtkIconView
on the other hand might enforce that all areas received the same
width and wrap the areas around, requesting height for more cell
areas when allocated less width.
It’s also important for areas to maintain some cell
alignments with areas rendered for adjacent rows (cells can
appear “columnized” inside an area even when the size of
cells are different in each row). For this reason the GtkCellArea
uses a GtkCellAreaContext object to store the alignments
and sizes along the way (as well as the overall largest minimum
and natural size for all the rows which have been calculated
with the said context).
The GtkCellAreaContext is an opaque object specific to the
GtkCellArea which created it (see gtk_cell_area_create_context() ).
The owning cell-layouting widget can create as many contexts as
it wishes to calculate sizes of rows which should receive the
same size in at least one orientation (horizontally or vertically),
However, it’s important that the same GtkCellAreaContext which
was used to request the sizes for a given GtkTreeModel row be
used when rendering or processing events for that row.
In order to request the width of all the rows at the root level
of a GtkTreeModel one would do the following:
Note that in this example it’s not important to observe the
returned minimum and natural width of the area for each row
unless the cell-layouting object is actually interested in the
widths of individual rows. The overall width is however stored
in the accompanying GtkCellAreaContext object and can be consulted
at any time.
This can be useful since GtkCellLayout widgets usually have to
support requesting and rendering rows in treemodels with an
exceedingly large amount of rows. The GtkCellLayout widget in
that case would calculate the required width of the rows in an
idle or timeout source (see g_timeout_add() ) and when the widget
is requested its actual width in GtkWidgetClass.get_preferred_width()
it can simply consult the width accumulated so far in the
GtkCellAreaContext object.
A simple example where rows are rendered from top to bottom and
take up the full width of the layouting widget would look like:
priv;
foo_ensure_at_least_one_handfull_of_rows_have_been_requested (foo);
gtk_cell_area_context_get_preferred_width (priv->context, minimum_size, natural_size);
}
]]>
In the above example the Foo widget has to make sure that some
row sizes have been calculated (the amount of rows that Foo judged
was appropriate to request space for in a single timeout iteration)
before simply returning the amount of space required by the area via
the GtkCellAreaContext .
Requesting the height for width (or width for height) of an area is
a similar task except in this case the GtkCellAreaContext does not
store the data (actually, it does not know how much space the layouting
widget plans to allocate it for every row. It’s up to the layouting
widget to render each row of data with the appropriate height and
width which was requested by the GtkCellArea ).
In order to request the height for width of all the rows at the
root level of a GtkTreeModel one would do the following:
Note that in the above example we would need to cache the heights
returned for each row so that we would know what sizes to render the
areas for each row. However we would only want to really cache the
heights if the request is intended for the layouting widgets real
allocation.
In some cases the layouting widget is requested the height for an
arbitrary for_width, this is a special case for layouting widgets
who need to request size for tens of thousands of rows. For this
case it’s only important that the layouting widget calculate
one reasonably sized chunk of rows and return that height
synchronously. The reasoning here is that any layouting widget is
at least capable of synchronously calculating enough height to fill
the screen height (or scrolled window height) in response to a single
call to GtkWidgetClass.get_preferred_height_for_width() . Returning
a perfect height for width that is larger than the screen area is
inconsequential since after the layouting receives an allocation
from a scrolled window it simply continues to drive the scrollbar
values while more and more height is required for the row heights
that are calculated in the background.
Rendering Areas Once area sizes have been aquired at least for the rows in the
visible area of the layouting widget they can be rendered at
GtkWidgetClass.draw() time.
A crude example of how to render all the rows at the root level
runs as follows:
Note that the cached height in this example really depends on how
the layouting widget works. The layouting widget might decide to
give every row its minimum or natural height or, if the model content
is expected to fit inside the layouting widget without scrolling, it
would make sense to calculate the allocation for each row at
“size-allocate” time using gtk_distribute_natural_allocation() .
Handling Events and Driving Keyboard Focus Passing events to the area is as simple as handling events on any
normal widget and then passing them to the gtk_cell_area_event()
API as they come in. Usually GtkCellArea is only interested in
button events, however some customized derived areas can be implemented
who are interested in handling other events. Handling an event can
trigger the “focus-changed” signal to fire; as well as
“add-editable” in the case that an editable cell was
clicked and needs to start editing. You can call
gtk_cell_area_stop_editing() at any time to cancel any cell editing
that is currently in progress.
The GtkCellArea drives keyboard focus from cell to cell in a way
similar to GtkWidget . For layouting widgets that support giving
focus to cells it’s important to remember to pass GTK_CELL_RENDERER_FOCUSED
to the area functions for the row that has focus and to tell the
area to paint the focus at render time.
Layouting widgets that accept focus on cells should implement the
GtkWidgetClass.focus() virtual method. The layouting widget is always
responsible for knowing where GtkTreeModel rows are rendered inside
the widget, so at GtkWidgetClass.focus() time the layouting widget
should use the GtkCellArea methods to navigate focus inside the area
and then observe the GtkDirectionType to pass the focus to adjacent
rows and areas.
A basic example of how the GtkWidgetClass.focus() virtual method
should be implemented:
priv;
gint focus_row;
gboolean have_focus = FALSE;
focus_row = priv->focus_row;
if (!gtk_widget_has_focus (widget))
gtk_widget_grab_focus (widget);
valid = gtk_tree_model_iter_nth_child (priv->model, &iter, NULL, priv->focus_row);
while (valid)
{
gtk_cell_area_apply_attributes (priv->area, priv->model, &iter, FALSE, FALSE);
if (gtk_cell_area_focus (priv->area, direction))
{
priv->focus_row = focus_row;
have_focus = TRUE;
break;
}
else
{
if (direction == GTK_DIR_RIGHT ||
direction == GTK_DIR_LEFT)
break;
else if (direction == GTK_DIR_UP ||
direction == GTK_DIR_TAB_BACKWARD)
{
if (focus_row == 0)
break;
else
{
focus_row--;
valid = gtk_tree_model_iter_nth_child (priv->model, &iter, NULL, focus_row);
}
}
else
{
if (focus_row == last_row)
break;
else
{
focus_row++;
valid = gtk_tree_model_iter_next (priv->model, &iter);
}
}
}
}
return have_focus;
}
]]>
Note that the layouting widget is responsible for matching the
GtkDirectionType values to the way it lays out its cells.
Cell Properties The GtkCellArea introduces cell properties for GtkCellRenderers
in very much the same way that GtkContainer introduces
child properties
for GtkWidgets . This provides some general interfaces for defining
the relationship cell areas have with their cells. For instance in a
GtkCellAreaBox a cell might “expand” and receive extra space when
the area is allocated more than its full natural request, or a cell
might be configured to “align” with adjacent rows which were requested
and rendered with the same GtkCellAreaContext .
Use gtk_cell_area_class_install_cell_property() to install cell
properties for a cell area class and gtk_cell_area_class_find_cell_property()
or gtk_cell_area_class_list_cell_properties() to get information about
existing cell properties.
To set the value of a cell property, use gtk_cell_area_cell_set_property() ,
gtk_cell_area_cell_set() or gtk_cell_area_cell_set_valist() . To obtain
the value of a cell property, use gtk_cell_area_cell_get_property() ,
gtk_cell_area_cell_get() or gtk_cell_area_cell_get_valist() .
Functions
GtkCellCallback ()
GtkCellCallback
gboolean
( *GtkCellCallback) (GtkCellRenderer *renderer ,
gpointer data );
The type of the callback functions used for iterating over
the cell renderers of a GtkCellArea , see gtk_cell_area_foreach() .
Parameters
renderer
the cell renderer to operate on
data
user-supplied data.
[closure ]
Returns
TRUE to stop iterating over cells.
GtkCellAllocCallback ()
GtkCellAllocCallback
gboolean
( *GtkCellAllocCallback) (GtkCellRenderer *renderer ,
const GdkRectangle *cell_area ,
const GdkRectangle *cell_background ,
gpointer data );
The type of the callback functions used for iterating over the
cell renderers and their allocated areas inside a GtkCellArea ,
see gtk_cell_area_foreach_alloc() .
Parameters
renderer
the cell renderer to operate on
cell_area
the area allocated to renderer
inside the rectangle
provided to gtk_cell_area_foreach_alloc() .
cell_background
the background area for renderer
inside the
background area provided to gtk_cell_area_foreach_alloc() .
data
user-supplied data.
[closure ]
Returns
TRUE to stop iterating over cells.
GTK_CELL_AREA_WARN_INVALID_CELL_PROPERTY_ID()
GTK_CELL_AREA_WARN_INVALID_CELL_PROPERTY_ID
#define GTK_CELL_AREA_WARN_INVALID_CELL_PROPERTY_ID(object, property_id, pspec)
This macro should be used to emit a standard warning about unexpected
properties in set_cell_property() and get_cell_property() implementations.
Parameters
object
the GObject on which set_cell_property() or get_cell_property()
was called
property_id
the numeric id of the property
pspec
the GParamSpec of the property
gtk_cell_area_add ()
gtk_cell_area_add
void
gtk_cell_area_add (GtkCellArea *area ,
GtkCellRenderer *renderer );
Adds renderer
to area
with the default child cell properties.
Parameters
area
a GtkCellArea
renderer
the GtkCellRenderer to add to area
gtk_cell_area_remove ()
gtk_cell_area_remove
void
gtk_cell_area_remove (GtkCellArea *area ,
GtkCellRenderer *renderer );
Removes renderer
from area
.
Parameters
area
a GtkCellArea
renderer
the GtkCellRenderer to remove from area
gtk_cell_area_has_renderer ()
gtk_cell_area_has_renderer
gboolean
gtk_cell_area_has_renderer (GtkCellArea *area ,
GtkCellRenderer *renderer );
Checks if area
contains renderer
.
Parameters
area
a GtkCellArea
renderer
the GtkCellRenderer to check
Returns
TRUE if renderer
is in the area
.
gtk_cell_area_foreach ()
gtk_cell_area_foreach
void
gtk_cell_area_foreach (GtkCellArea *area ,
GtkCellCallback callback ,
gpointer callback_data );
Calls callback
for every GtkCellRenderer in area
.
Parameters
area
a GtkCellArea
callback
the GtkCellCallback to call.
[scope call ]
callback_data
user provided data pointer
gtk_cell_area_foreach_alloc ()
gtk_cell_area_foreach_alloc
void
gtk_cell_area_foreach_alloc (GtkCellArea *area ,
GtkCellAreaContext *context ,
GtkWidget *widget ,
const GdkRectangle *cell_area ,
const GdkRectangle *background_area ,
GtkCellAllocCallback callback ,
gpointer callback_data );
Calls callback
for every GtkCellRenderer in area
with the
allocated rectangle inside cell_area
.
Parameters
area
a GtkCellArea
context
the GtkCellAreaContext for this row of data.
widget
the GtkWidget that area
is rendering to
cell_area
the widget
relative coordinates and size for area
background_area
the widget
relative coordinates of the background area
callback
the GtkCellAllocCallback to call.
[scope call ]
callback_data
user provided data pointer
gtk_cell_area_event ()
gtk_cell_area_event
gint
gtk_cell_area_event (GtkCellArea *area ,
GtkCellAreaContext *context ,
GtkWidget *widget ,
GdkEvent *event ,
const GdkRectangle *cell_area ,
GtkCellRendererState flags );
Delegates event handling to a GtkCellArea .
Parameters
area
a GtkCellArea
context
the GtkCellAreaContext for this row of data.
widget
the GtkWidget that area
is rendering to
event
the GdkEvent to handle
cell_area
the widget
relative coordinates for area
flags
the GtkCellRendererState for area
in this row.
Returns
TRUE if the event was handled by area
.
gtk_cell_area_snapshot ()
gtk_cell_area_snapshot
void
gtk_cell_area_snapshot (GtkCellArea *area ,
GtkCellAreaContext *context ,
GtkWidget *widget ,
GtkSnapshot *snapshot ,
const GdkRectangle *background_area ,
const GdkRectangle *cell_area ,
GtkCellRendererState flags ,
gboolean paint_focus );
Snapshots area
’s cells according to area
’s layout onto at
the given coordinates.
Parameters
area
a GtkCellArea
context
the GtkCellAreaContext for this row of data.
widget
the GtkWidget that area
is rendering to
snapshot
the GtkSnapshot to draw to
background_area
the widget
relative coordinates for area
’s background
cell_area
the widget
relative coordinates for area
flags
the GtkCellRendererState for area
in this row.
paint_focus
whether area
should paint focus on focused cells for focused rows or not.
gtk_cell_area_get_cell_allocation ()
gtk_cell_area_get_cell_allocation
void
gtk_cell_area_get_cell_allocation (GtkCellArea *area ,
GtkCellAreaContext *context ,
GtkWidget *widget ,
GtkCellRenderer *renderer ,
const GdkRectangle *cell_area ,
GdkRectangle *allocation );
Derives the allocation of renderer
inside area
if area
were to be renderered in cell_area
.
Parameters
area
a GtkCellArea
context
the GtkCellAreaContext used to hold sizes for area
.
widget
the GtkWidget that area
is rendering on
renderer
the GtkCellRenderer to get the allocation for
cell_area
the whole allocated area for area
in widget
for this row
allocation
where to store the allocation for renderer
.
[out ]
gtk_cell_area_get_cell_at_position ()
gtk_cell_area_get_cell_at_position
GtkCellRenderer *
gtk_cell_area_get_cell_at_position (GtkCellArea *area ,
GtkCellAreaContext *context ,
GtkWidget *widget ,
const GdkRectangle *cell_area ,
gint x ,
gint y ,
GdkRectangle *alloc_area );
Gets the GtkCellRenderer at x
and y
coordinates inside area
and optionally
returns the full cell allocation for it inside cell_area
.
Parameters
area
a GtkCellArea
context
the GtkCellAreaContext used to hold sizes for area
.
widget
the GtkWidget that area
is rendering on
cell_area
the whole allocated area for area
in widget
for this row
x
the x position
y
the y position
alloc_area
where to store the inner allocated area of the
returned cell renderer, or NULL .
[out ][allow-none ]
Returns
the GtkCellRenderer at x
and y
.
[transfer none ]
gtk_cell_area_create_context ()
gtk_cell_area_create_context
GtkCellAreaContext *
gtk_cell_area_create_context (GtkCellArea *area );
Creates a GtkCellAreaContext to be used with area
for
all purposes. GtkCellAreaContext stores geometry information
for rows for which it was operated on, it is important to use
the same context for the same row of data at all times (i.e.
one should render and handle events with the same GtkCellAreaContext
which was used to request the size of those rows of data).
Parameters
area
a GtkCellArea
Returns
a newly created GtkCellAreaContext which can be used with area
.
[transfer full ]
gtk_cell_area_copy_context ()
gtk_cell_area_copy_context
GtkCellAreaContext *
gtk_cell_area_copy_context (GtkCellArea *area ,
GtkCellAreaContext *context );
This is sometimes needed for cases where rows need to share
alignments in one orientation but may be separately grouped
in the opposing orientation.
For instance, GtkIconView creates all icons (rows) to have
the same width and the cells theirin to have the same
horizontal alignments. However each row of icons may have
a separate collective height. GtkIconView uses this to
request the heights of each row based on a context which
was already used to request all the row widths that are
to be displayed.
Parameters
area
a GtkCellArea
context
the GtkCellAreaContext to copy
Returns
a newly created GtkCellAreaContext copy of context
.
[transfer full ]
gtk_cell_area_get_request_mode ()
gtk_cell_area_get_request_mode
GtkSizeRequestMode
gtk_cell_area_get_request_mode (GtkCellArea *area );
Gets whether the area prefers a height-for-width layout
or a width-for-height layout.
Parameters
area
a GtkCellArea
Returns
The GtkSizeRequestMode preferred by area
.
gtk_cell_area_get_preferred_width ()
gtk_cell_area_get_preferred_width
void
gtk_cell_area_get_preferred_width (GtkCellArea *area ,
GtkCellAreaContext *context ,
GtkWidget *widget ,
gint *minimum_width ,
gint *natural_width );
Retrieves a cell area’s initial minimum and natural width.
area
will store some geometrical information in context
along the way;
when requesting sizes over an arbitrary number of rows, it’s not important
to check the minimum_width
and natural_width
of this call but rather to
consult gtk_cell_area_context_get_preferred_width() after a series of
requests.
Parameters
area
a GtkCellArea
context
the GtkCellAreaContext to perform this request with
widget
the GtkWidget where area
will be rendering
minimum_width
location to store the minimum width, or NULL .
[out ][allow-none ]
natural_width
location to store the natural width, or NULL .
[out ][allow-none ]
gtk_cell_area_get_preferred_height_for_width ()
gtk_cell_area_get_preferred_height_for_width
void
gtk_cell_area_get_preferred_height_for_width
(GtkCellArea *area ,
GtkCellAreaContext *context ,
GtkWidget *widget ,
gint width ,
gint *minimum_height ,
gint *natural_height );
Retrieves a cell area’s minimum and natural height if it would be given
the specified width
.
area
stores some geometrical information in context
along the way
while calling gtk_cell_area_get_preferred_width() . It’s important to
perform a series of gtk_cell_area_get_preferred_width() requests with
context
first and then call gtk_cell_area_get_preferred_height_for_width()
on each cell area individually to get the height for width of each
fully requested row.
If at some point, the width of a single row changes, it should be
requested with gtk_cell_area_get_preferred_width() again and then
the full width of the requested rows checked again with
gtk_cell_area_context_get_preferred_width() .
Parameters
area
a GtkCellArea
context
the GtkCellAreaContext which has already been requested for widths.
widget
the GtkWidget where area
will be rendering
width
the width for which to check the height of this area
minimum_height
location to store the minimum height, or NULL .
[out ][allow-none ]
natural_height
location to store the natural height, or NULL .
[out ][allow-none ]
gtk_cell_area_get_preferred_height ()
gtk_cell_area_get_preferred_height
void
gtk_cell_area_get_preferred_height (GtkCellArea *area ,
GtkCellAreaContext *context ,
GtkWidget *widget ,
gint *minimum_height ,
gint *natural_height );
Retrieves a cell area’s initial minimum and natural height.
area
will store some geometrical information in context
along the way;
when requesting sizes over an arbitrary number of rows, it’s not important
to check the minimum_height
and natural_height
of this call but rather to
consult gtk_cell_area_context_get_preferred_height() after a series of
requests.
Parameters
area
a GtkCellArea
context
the GtkCellAreaContext to perform this request with
widget
the GtkWidget where area
will be rendering
minimum_height
location to store the minimum height, or NULL .
[out ][allow-none ]
natural_height
location to store the natural height, or NULL .
[out ][allow-none ]
gtk_cell_area_get_preferred_width_for_height ()
gtk_cell_area_get_preferred_width_for_height
void
gtk_cell_area_get_preferred_width_for_height
(GtkCellArea *area ,
GtkCellAreaContext *context ,
GtkWidget *widget ,
gint height ,
gint *minimum_width ,
gint *natural_width );
Retrieves a cell area’s minimum and natural width if it would be given
the specified height
.
area
stores some geometrical information in context
along the way
while calling gtk_cell_area_get_preferred_height() . It’s important to
perform a series of gtk_cell_area_get_preferred_height() requests with
context
first and then call gtk_cell_area_get_preferred_width_for_height()
on each cell area individually to get the height for width of each
fully requested row.
If at some point, the height of a single row changes, it should be
requested with gtk_cell_area_get_preferred_height() again and then
the full height of the requested rows checked again with
gtk_cell_area_context_get_preferred_height() .
Parameters
area
a GtkCellArea
context
the GtkCellAreaContext which has already been requested for widths.
widget
the GtkWidget where area
will be rendering
height
the height for which to check the width of this area
minimum_width
location to store the minimum width, or NULL .
[out ][allow-none ]
natural_width
location to store the natural width, or NULL .
[out ][allow-none ]
gtk_cell_area_get_current_path_string ()
gtk_cell_area_get_current_path_string
const gchar *
gtk_cell_area_get_current_path_string (GtkCellArea *area );
Gets the current GtkTreePath string for the currently
applied GtkTreeIter , this is implicitly updated when
gtk_cell_area_apply_attributes() is called and can be
used to interact with renderers from GtkCellArea
subclasses.
Parameters
area
a GtkCellArea
Returns
The current GtkTreePath string for the current
attributes applied to area
. This string belongs to the area and
should not be freed.
gtk_cell_area_apply_attributes ()
gtk_cell_area_apply_attributes
void
gtk_cell_area_apply_attributes (GtkCellArea *area ,
GtkTreeModel *tree_model ,
GtkTreeIter *iter ,
gboolean is_expander ,
gboolean is_expanded );
Applies any connected attributes to the renderers in
area
by pulling the values from tree_model
.
Parameters
area
a GtkCellArea
tree_model
the GtkTreeModel to pull values from
iter
the GtkTreeIter in tree_model
to apply values for
is_expander
whether iter
has children
is_expanded
whether iter
is expanded in the view and
children are visible
gtk_cell_area_attribute_connect ()
gtk_cell_area_attribute_connect
void
gtk_cell_area_attribute_connect (GtkCellArea *area ,
GtkCellRenderer *renderer ,
const gchar *attribute ,
gint column );
Connects an attribute
to apply values from column
for the
GtkTreeModel in use.
Parameters
area
a GtkCellArea
renderer
the GtkCellRenderer to connect an attribute for
attribute
the attribute name
column
the GtkTreeModel column to fetch attribute values from
gtk_cell_area_attribute_disconnect ()
gtk_cell_area_attribute_disconnect
void
gtk_cell_area_attribute_disconnect (GtkCellArea *area ,
GtkCellRenderer *renderer ,
const gchar *attribute );
Disconnects attribute
for the renderer
in area
so that
attribute will no longer be updated with values from the
model.
Parameters
area
a GtkCellArea
renderer
the GtkCellRenderer to disconnect an attribute for
attribute
the attribute name
gtk_cell_area_attribute_get_column ()
gtk_cell_area_attribute_get_column
gint
gtk_cell_area_attribute_get_column (GtkCellArea *area ,
GtkCellRenderer *renderer ,
const gchar *attribute );
Returns the model column that an attribute has been mapped to,
or -1 if the attribute is not mapped.
Parameters
area
a GtkCellArea
renderer
a GtkCellRenderer
attribute
an attribute on the renderer
Returns
the model column, or -1
gtk_cell_area_class_install_cell_property ()
gtk_cell_area_class_install_cell_property
void
gtk_cell_area_class_install_cell_property
(GtkCellAreaClass *aclass ,
guint property_id ,
GParamSpec *pspec );
Installs a cell property on a cell area class.
Parameters
aclass
a GtkCellAreaClass
property_id
the id for the property
pspec
the GParamSpec for the property
gtk_cell_area_class_find_cell_property ()
gtk_cell_area_class_find_cell_property
GParamSpec *
gtk_cell_area_class_find_cell_property
(GtkCellAreaClass *aclass ,
const gchar *property_name );
Finds a cell property of a cell area class by name.
Parameters
aclass
a GtkCellAreaClass
property_name
the name of the child property to find
Returns
the GParamSpec of the child property
or NULL if aclass
has no child property with that name.
[transfer none ]
gtk_cell_area_class_list_cell_properties ()
gtk_cell_area_class_list_cell_properties
GParamSpec **
gtk_cell_area_class_list_cell_properties
(GtkCellAreaClass *aclass ,
guint *n_properties );
Returns all cell properties of a cell area class.
Parameters
aclass
a GtkCellAreaClass
n_properties
location to return the number of cell properties found.
[out ]
Returns
a newly
allocated NULL -terminated array of GParamSpec *. The array
must be freed with g_free() .
[array length=n_properties][transfer container ]
gtk_cell_area_add_with_properties ()
gtk_cell_area_add_with_properties
void
gtk_cell_area_add_with_properties (GtkCellArea *area ,
GtkCellRenderer *renderer ,
const gchar *first_prop_name ,
... );
Adds renderer
to area
, setting cell properties at the same time.
See gtk_cell_area_add() and gtk_cell_area_cell_set() for more details.
Parameters
area
a GtkCellArea
renderer
a GtkCellRenderer to be placed inside area
first_prop_name
the name of the first cell property to set
...
a NULL -terminated list of property names and values, starting
with first_prop_name
gtk_cell_area_cell_set ()
gtk_cell_area_cell_set
void
gtk_cell_area_cell_set (GtkCellArea *area ,
GtkCellRenderer *renderer ,
const gchar *first_prop_name ,
... );
Sets one or more cell properties for cell
in area
.
Parameters
area
a GtkCellArea
renderer
a GtkCellRenderer which is a cell inside area
first_prop_name
the name of the first cell property to set
...
a NULL -terminated list of property names and values, starting
with first_prop_name
gtk_cell_area_cell_get ()
gtk_cell_area_cell_get
void
gtk_cell_area_cell_get (GtkCellArea *area ,
GtkCellRenderer *renderer ,
const gchar *first_prop_name ,
... );
Gets the values of one or more cell properties for renderer
in area
.
Parameters
area
a GtkCellArea
renderer
a GtkCellRenderer which is inside area
first_prop_name
the name of the first cell property to get
...
return location for the first cell property, followed
optionally by more name/return location pairs, followed by NULL
gtk_cell_area_cell_set_valist ()
gtk_cell_area_cell_set_valist
void
gtk_cell_area_cell_set_valist (GtkCellArea *area ,
GtkCellRenderer *renderer ,
const gchar *first_property_name ,
va_list var_args );
Sets one or more cell properties for renderer
in area
.
Parameters
area
a GtkCellArea
renderer
a GtkCellRenderer which inside area
first_property_name
the name of the first cell property to set
var_args
a NULL -terminated list of property names and values, starting
with first_prop_name
gtk_cell_area_cell_get_valist ()
gtk_cell_area_cell_get_valist
void
gtk_cell_area_cell_get_valist (GtkCellArea *area ,
GtkCellRenderer *renderer ,
const gchar *first_property_name ,
va_list var_args );
Gets the values of one or more cell properties for renderer
in area
.
Parameters
area
a GtkCellArea
renderer
a GtkCellRenderer inside area
first_property_name
the name of the first property to get
var_args
return location for the first property, followed
optionally by more name/return location pairs, followed by NULL
gtk_cell_area_cell_set_property ()
gtk_cell_area_cell_set_property
void
gtk_cell_area_cell_set_property (GtkCellArea *area ,
GtkCellRenderer *renderer ,
const gchar *property_name ,
const GValue *value );
Sets a cell property for renderer
in area
.
Parameters
area
a GtkCellArea
renderer
a GtkCellRenderer inside area
property_name
the name of the cell property to set
value
the value to set the cell property to
gtk_cell_area_cell_get_property ()
gtk_cell_area_cell_get_property
void
gtk_cell_area_cell_get_property (GtkCellArea *area ,
GtkCellRenderer *renderer ,
const gchar *property_name ,
GValue *value );
Gets the value of a cell property for renderer
in area
.
Parameters
area
a GtkCellArea
renderer
a GtkCellRenderer inside area
property_name
the name of the property to get
value
a location to return the value
gtk_cell_area_is_activatable ()
gtk_cell_area_is_activatable
gboolean
gtk_cell_area_is_activatable (GtkCellArea *area );
Returns whether the area can do anything when activated,
after applying new attributes to area
.
Parameters
area
a GtkCellArea
Returns
whether area
can do anything when activated.
gtk_cell_area_activate ()
gtk_cell_area_activate
gboolean
gtk_cell_area_activate (GtkCellArea *area ,
GtkCellAreaContext *context ,
GtkWidget *widget ,
const GdkRectangle *cell_area ,
GtkCellRendererState flags ,
gboolean edit_only );
Activates area
, usually by activating the currently focused
cell, however some subclasses which embed widgets in the area
can also activate a widget if it currently has the focus.
Parameters
area
a GtkCellArea
context
the GtkCellAreaContext in context with the current row data
widget
the GtkWidget that area
is rendering on
cell_area
the size and location of area
relative to widget
’s allocation
flags
the GtkCellRendererState flags for area
for this row of data.
edit_only
if TRUE then only cell renderers that are GTK_CELL_RENDERER_MODE_EDITABLE
will be activated.
Returns
Whether area
was successfully activated.
gtk_cell_area_focus ()
gtk_cell_area_focus
gboolean
gtk_cell_area_focus (GtkCellArea *area ,
GtkDirectionType direction );
This should be called by the area
’s owning layout widget
when focus is to be passed to area
, or moved within area
for a given direction
and row data.
Implementing GtkCellArea classes should implement this
method to receive and navigate focus in its own way particular
to how it lays out cells.
Parameters
area
a GtkCellArea
direction
the GtkDirectionType
Returns
TRUE if focus remains inside area
as a result of this call.
gtk_cell_area_set_focus_cell ()
gtk_cell_area_set_focus_cell
void
gtk_cell_area_set_focus_cell (GtkCellArea *area ,
GtkCellRenderer *renderer );
Explicitly sets the currently focused cell to renderer
.
This is generally called by implementations of
GtkCellAreaClass.focus() or GtkCellAreaClass.event() ,
however it can also be used to implement functions such
as gtk_tree_view_set_cursor_on_cell() .
Parameters
area
a GtkCellArea
renderer
the GtkCellRenderer to give focus to
gtk_cell_area_get_focus_cell ()
gtk_cell_area_get_focus_cell
GtkCellRenderer *
gtk_cell_area_get_focus_cell (GtkCellArea *area );
Retrieves the currently focused cell for area
Parameters
area
a GtkCellArea
Returns
the currently focused cell in area
.
[transfer none ]
gtk_cell_area_add_focus_sibling ()
gtk_cell_area_add_focus_sibling
void
gtk_cell_area_add_focus_sibling (GtkCellArea *area ,
GtkCellRenderer *renderer ,
GtkCellRenderer *sibling );
Adds sibling
to renderer
’s focusable area, focus will be drawn
around renderer
and all of its siblings if renderer
can
focus for a given row.
Events handled by focus siblings can also activate the given
focusable renderer
.
Parameters
area
a GtkCellArea
renderer
the GtkCellRenderer expected to have focus
sibling
the GtkCellRenderer to add to renderer
’s focus area
gtk_cell_area_remove_focus_sibling ()
gtk_cell_area_remove_focus_sibling
void
gtk_cell_area_remove_focus_sibling (GtkCellArea *area ,
GtkCellRenderer *renderer ,
GtkCellRenderer *sibling );
Removes sibling
from renderer
’s focus sibling list
(see gtk_cell_area_add_focus_sibling() ).
Parameters
area
a GtkCellArea
renderer
the GtkCellRenderer expected to have focus
sibling
the GtkCellRenderer to remove from renderer
’s focus area
gtk_cell_area_is_focus_sibling ()
gtk_cell_area_is_focus_sibling
gboolean
gtk_cell_area_is_focus_sibling (GtkCellArea *area ,
GtkCellRenderer *renderer ,
GtkCellRenderer *sibling );
Returns whether sibling
is one of renderer
’s focus siblings
(see gtk_cell_area_add_focus_sibling() ).
Parameters
area
a GtkCellArea
renderer
the GtkCellRenderer expected to have focus
sibling
the GtkCellRenderer to check against renderer
’s sibling list
Returns
TRUE if sibling
is a focus sibling of renderer
gtk_cell_area_get_focus_siblings ()
gtk_cell_area_get_focus_siblings
const GList *
gtk_cell_area_get_focus_siblings (GtkCellArea *area ,
GtkCellRenderer *renderer );
Gets the focus sibling cell renderers for renderer
.
Parameters
area
a GtkCellArea
renderer
the GtkCellRenderer expected to have focus
Returns
A GList of GtkCellRenderers .
The returned list is internal and should not be freed.
[element-type GtkCellRenderer][transfer none ]
gtk_cell_area_get_focus_from_sibling ()
gtk_cell_area_get_focus_from_sibling
GtkCellRenderer *
gtk_cell_area_get_focus_from_sibling (GtkCellArea *area ,
GtkCellRenderer *renderer );
Gets the GtkCellRenderer which is expected to be focusable
for which renderer
is, or may be a sibling.
This is handy for GtkCellArea subclasses when handling events,
after determining the renderer at the event location it can
then chose to activate the focus cell for which the event
cell may have been a sibling.
Parameters
area
a GtkCellArea
renderer
the GtkCellRenderer
Returns
the GtkCellRenderer for which renderer
is a sibling, or NULL .
[nullable ][transfer none ]
gtk_cell_area_get_edited_cell ()
gtk_cell_area_get_edited_cell
GtkCellRenderer *
gtk_cell_area_get_edited_cell (GtkCellArea *area );
Gets the GtkCellRenderer in area
that is currently
being edited.
Parameters
area
a GtkCellArea
Returns
The currently edited GtkCellRenderer .
[transfer none ]
gtk_cell_area_get_edit_widget ()
gtk_cell_area_get_edit_widget
GtkCellEditable *
gtk_cell_area_get_edit_widget (GtkCellArea *area );
Gets the GtkCellEditable widget currently used
to edit the currently edited cell.
Parameters
area
a GtkCellArea
Returns
The currently active GtkCellEditable widget.
[transfer none ]
gtk_cell_area_activate_cell ()
gtk_cell_area_activate_cell
gboolean
gtk_cell_area_activate_cell (GtkCellArea *area ,
GtkWidget *widget ,
GtkCellRenderer *renderer ,
GdkEvent *event ,
const GdkRectangle *cell_area ,
GtkCellRendererState flags );
This is used by GtkCellArea subclasses when handling events
to activate cells, the base GtkCellArea class activates cells
for keyboard events for free in its own GtkCellArea->activate()
implementation.
Parameters
area
a GtkCellArea
widget
the GtkWidget that area
is rendering onto
renderer
the GtkCellRenderer in area
to activate
event
the GdkEvent for which cell activation should occur
cell_area
the GdkRectangle in widget
relative coordinates
of renderer
for the current row.
flags
the GtkCellRendererState for renderer
Returns
whether cell activation was successful
gtk_cell_area_stop_editing ()
gtk_cell_area_stop_editing
void
gtk_cell_area_stop_editing (GtkCellArea *area ,
gboolean canceled );
Explicitly stops the editing of the currently edited cell.
If canceled
is TRUE , the currently edited cell renderer
will emit the ::editing-canceled signal, otherwise the
the ::editing-done signal will be emitted on the current
edit widget.
See gtk_cell_area_get_edited_cell() and gtk_cell_area_get_edit_widget() .
Parameters
area
a GtkCellArea
canceled
whether editing was canceled.
gtk_cell_area_inner_cell_area ()
gtk_cell_area_inner_cell_area
void
gtk_cell_area_inner_cell_area (GtkCellArea *area ,
GtkWidget *widget ,
const GdkRectangle *cell_area ,
GdkRectangle *inner_area );
This is a convenience function for GtkCellArea implementations
to get the inner area where a given GtkCellRenderer will be
rendered. It removes any padding previously added by gtk_cell_area_request_renderer() .
Parameters
area
a GtkCellArea
widget
the GtkWidget that area
is rendering onto
cell_area
the widget
relative coordinates where one of area
’s cells
is to be placed
inner_area
the return location for the inner cell area.
[out ]
gtk_cell_area_request_renderer ()
gtk_cell_area_request_renderer
void
gtk_cell_area_request_renderer (GtkCellArea *area ,
GtkCellRenderer *renderer ,
GtkOrientation orientation ,
GtkWidget *widget ,
gint for_size ,
gint *minimum_size ,
gint *natural_size );
This is a convenience function for GtkCellArea implementations
to request size for cell renderers. It’s important to use this
function to request size and then use gtk_cell_area_inner_cell_area()
at render and event time since this function will add padding
around the cell for focus painting.
Parameters
area
a GtkCellArea
renderer
the GtkCellRenderer to request size for
orientation
the GtkOrientation in which to request size
widget
the GtkWidget that area
is rendering onto
for_size
the allocation contextual size to request for, or -1 if
the base request for the orientation is to be returned.
minimum_size
location to store the minimum size, or NULL .
[out ][allow-none ]
natural_size
location to store the natural size, or NULL .
[out ][allow-none ]
Property Details
The “edit-widget” property
GtkCellArea:edit-widget
“edit-widget” GtkCellEditable *
The widget currently editing the edited cell
This property is read-only and only changes as
a result of a call gtk_cell_area_activate_cell() .
Owner: GtkCellArea
Flags: Read
The “edited-cell” property
GtkCellArea:edited-cell
“edited-cell” GtkCellRenderer *
The cell in the area that is currently edited
This property is read-only and only changes as
a result of a call gtk_cell_area_activate_cell() .
Owner: GtkCellArea
Flags: Read
The “focus-cell” property
GtkCellArea:focus-cell
“focus-cell” GtkCellRenderer *
The cell in the area that currently has focus
Owner: GtkCellArea
Flags: Read / Write
Signal Details
The “add-editable” signal
GtkCellArea::add-editable
void
user_function (GtkCellArea *area,
GtkCellRenderer *renderer,
GtkCellEditable *editable,
GdkRectangle *cell_area,
gchar *path,
gpointer user_data)
Indicates that editing has started on renderer
and that editable
should be added to the owning cell-layouting widget at cell_area
.
Parameters
area
the GtkCellArea where editing started
renderer
the GtkCellRenderer that started the edited
editable
the GtkCellEditable widget to add
cell_area
the GtkWidget relative GdkRectangle coordinates
where editable
should be added
path
the GtkTreePath string this edit was initiated for
user_data
user data set when the signal handler was connected.
Flags: Run First
The “apply-attributes” signal
GtkCellArea::apply-attributes
void
user_function (GtkCellArea *area,
GtkTreeModel *model,
GtkTreeIter *iter,
gboolean is_expander,
gboolean is_expanded,
gpointer user_data)
This signal is emitted whenever applying attributes to area
from model
Parameters
area
the GtkCellArea to apply the attributes to
model
the GtkTreeModel to apply the attributes from
iter
the GtkTreeIter indicating which row to apply the attributes of
is_expander
whether the view shows children for this row
is_expanded
whether the view is currently showing the children of this row
user_data
user data set when the signal handler was connected.
Flags: Run First
The “focus-changed” signal
GtkCellArea::focus-changed
void
user_function (GtkCellArea *area,
GtkCellRenderer *renderer,
gchar *path,
gpointer user_data)
Indicates that focus changed on this area
. This signal
is emitted either as a result of focus handling or event
handling.
It's possible that the signal is emitted even if the
currently focused renderer did not change, this is
because focus may change to the same renderer in the
same cell area for a different row of data.
Parameters
area
the GtkCellArea where focus changed
renderer
the GtkCellRenderer that has focus
path
the current GtkTreePath string set for area
user_data
user data set when the signal handler was connected.
Flags: Run First
The “remove-editable” signal
GtkCellArea::remove-editable
void
user_function (GtkCellArea *area,
GtkCellRenderer *renderer,
GtkCellEditable *editable,
gpointer user_data)
Indicates that editing finished on renderer
and that editable
should be removed from the owning cell-layouting widget.
Parameters
area
the GtkCellArea where editing finished
renderer
the GtkCellRenderer that finished editeding
editable
the GtkCellEditable widget to remove
user_data
user data set when the signal handler was connected.
Flags: Run First
docs/reference/gtk/xml/gtkcontainer.xml 0000664 0001750 0001750 00000101652 13617646201 020406 0 ustar mclasen mclasen
]>
GtkContainer
3
GTK4 Library
GtkContainer
Base class for widgets which contain other widgets
Functions
void
gtk_container_add ()
void
gtk_container_remove ()
void
gtk_container_foreach ()
GList *
gtk_container_get_children ()
GtkAdjustment *
gtk_container_get_focus_vadjustment ()
void
gtk_container_set_focus_vadjustment ()
GtkAdjustment *
gtk_container_get_focus_hadjustment ()
void
gtk_container_set_focus_hadjustment ()
GType
gtk_container_child_type ()
void
gtk_container_forall ()
Signals
void add Run First
void remove Run First
Types and Values
struct GtkContainer
struct GtkContainerClass
Object Hierarchy
GObject
╰── GInitiallyUnowned
╰── GtkWidget
╰── GtkContainer
├── GtkBin
├── GtkActionBar
├── GtkBox
├── GtkDragIcon
├── GtkExpander
├── GtkFixed
├── GtkFlowBox
├── GtkGrid
├── GtkHeaderBar
├── GtkIconView
├── GtkInfoBar
├── GtkListBox
├── GtkNotebook
├── GtkPaned
├── GtkStack
├── GtkTextView
╰── GtkTreeView
Implemented Interfaces
GtkContainer implements
AtkImplementorIface, GtkBuildable and GtkConstraintTarget.
Includes #include <gtk/gtk.h>
Description
A GTK user interface is constructed by nesting widgets inside widgets.
Container widgets are the inner nodes in the resulting tree of widgets:
they contain other widgets. So, for example, you might have a GtkWindow
containing a GtkFrame containing a GtkLabel . If you wanted an image instead
of a textual label inside the frame, you might replace the GtkLabel widget
with a GtkImage widget.
There are two major kinds of container widgets in GTK. Both are subclasses
of the abstract GtkContainer base class.
The first type of container widget has a single child widget and derives
from GtkBin . These containers are decorators, which
add some kind of functionality to the child. For example, a GtkButton makes
its child into a clickable button; a GtkFrame draws a frame around its child
and a GtkWindow places its child widget inside a top-level window.
The second type of container can have more than one child; its purpose is to
manage layout. This means that these containers assign
sizes and positions to their children. For example, a horizontal GtkBox arranges its
children in a horizontal row, and a GtkGrid arranges the widgets it contains
in a two-dimensional grid.
For implementations of GtkContainer the virtual method GtkContainerClass.forall()
is always required, since it's used for drawing and other internal operations
on the children.
If the GtkContainer implementation expect to have non internal children
it's needed to implement both GtkContainerClass.add() and GtkContainerClass.remove() .
If the GtkContainer implementation has internal children, they should be added
with gtk_widget_set_parent() on init() and removed with gtk_widget_unparent()
in the GtkWidgetClass.destroy() implementation.
See more about implementing custom widgets at https://wiki.gnome.org/HowDoI/CustomWidgets
Functions
gtk_container_add ()
gtk_container_add
void
gtk_container_add (GtkContainer *container ,
GtkWidget *widget );
Adds widget
to container
. Typically used for simple containers
such as GtkWindow , GtkFrame , or GtkButton ; for more complicated
layout containers such GtkGrid , this function will
pick default packing parameters that may not be correct. So
consider functions such as gtk_grid_attach() as an alternative
to gtk_container_add() in those cases. A widget may be added to
only one container at a time; you can’t place the same widget
inside two different containers.
Note that some containers, such as GtkScrolledWindow or GtkListBox ,
may add intermediate children between the added widget and the
container.
Parameters
container
a GtkContainer
widget
a widget to be placed inside container
gtk_container_remove ()
gtk_container_remove
void
gtk_container_remove (GtkContainer *container ,
GtkWidget *widget );
Removes widget
from container
. widget
must be inside container
.
Note that container
will own a reference to widget
, and that this
may be the last reference held; so removing a widget from its
container can destroy that widget. If you want to use widget
again, you need to add a reference to it before removing it from
a container, using g_object_ref() . If you don’t want to use widget
again it’s usually more efficient to simply destroy it directly
using gtk_widget_destroy() since this will remove it from the
container and help break any circular reference count cycles.
Parameters
container
a GtkContainer
widget
a current child of container
gtk_container_foreach ()
gtk_container_foreach
void
gtk_container_foreach (GtkContainer *container ,
GtkCallback callback ,
gpointer callback_data );
Invokes callback
on each non-internal child of container
.
See gtk_container_forall() for details on what constitutes
an “internal” child. For all practical purposes, this function
should iterate over precisely those child widgets that were
added to the container by the application with explicit add()
calls.
It is permissible to remove the child from the callback
handler.
Most applications should use gtk_container_foreach() ,
rather than gtk_container_forall() .
Parameters
container
a GtkContainer
callback
a callback.
[scope call ]
callback_data
callback user data
gtk_container_get_children ()
gtk_container_get_children
GList *
gtk_container_get_children (GtkContainer *container );
Returns the container’s non-internal children. See
gtk_container_forall() for details on what constitutes an "internal" child.
Parameters
container
a GtkContainer
Returns
a newly-allocated list of the container’s non-internal children.
[element-type GtkWidget][transfer container ]
gtk_container_get_focus_vadjustment ()
gtk_container_get_focus_vadjustment
GtkAdjustment *
gtk_container_get_focus_vadjustment (GtkContainer *container );
Retrieves the vertical focus adjustment for the container. See
gtk_container_set_focus_vadjustment() .
Parameters
container
a GtkContainer
Returns
the vertical focus adjustment, or
NULL if none has been set.
[nullable ][transfer none ]
gtk_container_set_focus_vadjustment ()
gtk_container_set_focus_vadjustment
void
gtk_container_set_focus_vadjustment (GtkContainer *container ,
GtkAdjustment *adjustment );
Hooks up an adjustment to focus handling in a container, so when a
child of the container is focused, the adjustment is scrolled to
show that widget. This function sets the vertical alignment. See
gtk_scrolled_window_get_vadjustment() for a typical way of obtaining
the adjustment and gtk_container_set_focus_hadjustment() for setting
the horizontal adjustment.
The adjustments have to be in pixel units and in the same coordinate
system as the allocation for immediate children of the container.
Parameters
container
a GtkContainer
adjustment
an adjustment which should be adjusted when the focus
is moved among the descendents of container
gtk_container_get_focus_hadjustment ()
gtk_container_get_focus_hadjustment
GtkAdjustment *
gtk_container_get_focus_hadjustment (GtkContainer *container );
Retrieves the horizontal focus adjustment for the container. See
gtk_container_set_focus_hadjustment() .
Parameters
container
a GtkContainer
Returns
the horizontal focus adjustment, or NULL if
none has been set.
[nullable ][transfer none ]
gtk_container_set_focus_hadjustment ()
gtk_container_set_focus_hadjustment
void
gtk_container_set_focus_hadjustment (GtkContainer *container ,
GtkAdjustment *adjustment );
Hooks up an adjustment to focus handling in a container, so when a child
of the container is focused, the adjustment is scrolled to show that
widget. This function sets the horizontal alignment.
See gtk_scrolled_window_get_hadjustment() for a typical way of obtaining
the adjustment and gtk_container_set_focus_vadjustment() for setting
the vertical adjustment.
The adjustments have to be in pixel units and in the same coordinate
system as the allocation for immediate children of the container.
Parameters
container
a GtkContainer
adjustment
an adjustment which should be adjusted when the focus is
moved among the descendents of container
gtk_container_child_type ()
gtk_container_child_type
GType
gtk_container_child_type (GtkContainer *container );
Returns the type of the children supported by the container.
Note that this may return G_TYPE_NONE to indicate that no more
children can be added, e.g. for a GtkPaned which already has two
children.
Parameters
container
a GtkContainer
Returns
a GType
gtk_container_forall ()
gtk_container_forall
void
gtk_container_forall (GtkContainer *container ,
GtkCallback callback ,
gpointer callback_data );
Invokes callback
on each direct child of container
, including
children that are considered “internal” (implementation details
of the container). “Internal” children generally weren’t added
by the user of the container, but were added by the container
implementation itself.
Most applications should use gtk_container_foreach() , rather
than gtk_container_forall() .
[virtual forall]
Parameters
container
a GtkContainer
callback
a callback.
[scope call ]
callback_data
callback user data.
[closure ]
Signal Details
The “add” signal
GtkContainer::add
void
user_function (GtkContainer *container,
GtkWidget *widget,
gpointer user_data)
Flags: Run First
The “remove” signal
GtkContainer::remove
void
user_function (GtkContainer *container,
GtkWidget *widget,
gpointer user_data)
Flags: Run First
docs/reference/gtk/xml/gtkcellareabox.xml 0000664 0001750 0001750 00000047546 13617646203 020722 0 ustar mclasen mclasen
]>
GtkCellAreaBox
3
GTK4 Library
GtkCellAreaBox
A cell area that renders GtkCellRenderers
into a row or a column
Functions
GtkCellArea *
gtk_cell_area_box_new ()
void
gtk_cell_area_box_pack_start ()
void
gtk_cell_area_box_pack_end ()
gint
gtk_cell_area_box_get_spacing ()
void
gtk_cell_area_box_set_spacing ()
Properties
gint spacingRead / Write
Child Properties
gboolean alignRead / Write
gboolean expandRead / Write
gboolean fixed-sizeRead / Write
GtkPackType pack-typeRead / Write
Types and Values
GtkCellAreaBox
Object Hierarchy
GObject
╰── GInitiallyUnowned
╰── GtkCellArea
╰── GtkCellAreaBox
Implemented Interfaces
GtkCellAreaBox implements
GtkCellLayout, GtkBuildable and GtkOrientable.
Includes #include <gtk/gtk.h>
Description
The GtkCellAreaBox renders cell renderers into a row or a column
depending on its GtkOrientation .
GtkCellAreaBox uses a notion of packing. Packing
refers to adding cell renderers with reference to a particular position
in a GtkCellAreaBox . There are two reference positions: the
start and the end of the box.
When the GtkCellAreaBox is oriented in the GTK_ORIENTATION_VERTICAL
orientation, the start is defined as the top of the box and the end is
defined as the bottom. In the GTK_ORIENTATION_HORIZONTAL orientation
start is defined as the left side and the end is defined as the right
side.
Alignments of GtkCellRenderers rendered in adjacent rows can be
configured by configuring the GtkCellAreaBox align child cell property
with gtk_cell_area_cell_set_property() or by specifying the "align"
argument to gtk_cell_area_box_pack_start() and gtk_cell_area_box_pack_end() .
Functions
gtk_cell_area_box_new ()
gtk_cell_area_box_new
GtkCellArea *
gtk_cell_area_box_new (void );
Creates a new GtkCellAreaBox .
Returns
a newly created GtkCellAreaBox
gtk_cell_area_box_pack_start ()
gtk_cell_area_box_pack_start
void
gtk_cell_area_box_pack_start (GtkCellAreaBox *box ,
GtkCellRenderer *renderer ,
gboolean expand ,
gboolean align ,
gboolean fixed );
Adds renderer
to box
, packed with reference to the start of box
.
The renderer
is packed after any other GtkCellRenderer packed
with reference to the start of box
.
Parameters
box
a GtkCellAreaBox
renderer
the GtkCellRenderer to add
expand
whether renderer
should receive extra space when the area receives
more than its natural size
align
whether renderer
should be aligned in adjacent rows
fixed
whether renderer
should have the same size in all rows
gtk_cell_area_box_pack_end ()
gtk_cell_area_box_pack_end
void
gtk_cell_area_box_pack_end (GtkCellAreaBox *box ,
GtkCellRenderer *renderer ,
gboolean expand ,
gboolean align ,
gboolean fixed );
Adds renderer
to box
, packed with reference to the end of box
.
The renderer
is packed after (away from end of) any other
GtkCellRenderer packed with reference to the end of box
.
Parameters
box
a GtkCellAreaBox
renderer
the GtkCellRenderer to add
expand
whether renderer
should receive extra space when the area receives
more than its natural size
align
whether renderer
should be aligned in adjacent rows
fixed
whether renderer
should have the same size in all rows
gtk_cell_area_box_get_spacing ()
gtk_cell_area_box_get_spacing
gint
gtk_cell_area_box_get_spacing (GtkCellAreaBox *box );
Gets the spacing added between cell renderers.
Parameters
box
a GtkCellAreaBox
Returns
the space added between cell renderers in box
.
gtk_cell_area_box_set_spacing ()
gtk_cell_area_box_set_spacing
void
gtk_cell_area_box_set_spacing (GtkCellAreaBox *box ,
gint spacing );
Sets the spacing to add between cell renderers in box
.
Parameters
box
a GtkCellAreaBox
spacing
the space to add between GtkCellRenderers
Property Details
The “spacing” property
GtkCellAreaBox:spacing
“spacing” gint
The amount of space to reserve between cells.
Owner: GtkCellAreaBox
Flags: Read / Write
Allowed values: >= 0
Default value: 0
Child Property Details
The “align” child property
GtkCellAreaBox:align
“align” gboolean
Whether the cell renderer should be aligned in adjacent rows.
Owner: GtkCellAreaBox
Flags: Read / Write
Default value: FALSE
The “expand” child property
GtkCellAreaBox:expand
“expand” gboolean
Whether the cell renderer should receive extra space
when the area receives more than its natural size.
Owner: GtkCellAreaBox
Flags: Read / Write
Default value: FALSE
The “fixed-size” child property
GtkCellAreaBox:fixed-size
“fixed-size” gboolean
Whether the cell renderer should require the same size
for all rows for which it was requested.
Owner: GtkCellAreaBox
Flags: Read / Write
Default value: TRUE
The “pack-type” child property
GtkCellAreaBox:pack-type
“pack-type” GtkPackType
A GtkPackType indicating whether the cell renderer is packed
with reference to the start or end of the area.
Owner: GtkCellAreaBox
Flags: Read / Write
Default value: GTK_PACK_START
docs/reference/gtk/xml/gtkdialog.xml 0000664 0001750 0001750 00000143131 13617646201 017661 0 ustar mclasen mclasen
]>
GtkDialog
3
GTK4 Library
GtkDialog
Create popup windows
Functions
GtkWidget *
gtk_dialog_new ()
GtkWidget *
gtk_dialog_new_with_buttons ()
gint
gtk_dialog_run ()
void
gtk_dialog_response ()
GtkWidget *
gtk_dialog_add_button ()
void
gtk_dialog_add_buttons ()
void
gtk_dialog_add_action_widget ()
void
gtk_dialog_set_default_response ()
void
gtk_dialog_set_response_sensitive ()
gint
gtk_dialog_get_response_for_widget ()
GtkWidget *
gtk_dialog_get_widget_for_response ()
GtkWidget *
gtk_dialog_get_content_area ()
GtkWidget *
gtk_dialog_get_header_bar ()
Properties
gint use-header-barRead / Write / Construct Only
Signals
void close Action
void response Run Last
Types and Values
struct GtkDialog
struct GtkDialogClass
enum GtkDialogFlags
enum GtkResponseType
Object Hierarchy
GObject
╰── GInitiallyUnowned
╰── GtkWidget
╰── GtkContainer
╰── GtkBin
╰── GtkWindow
╰── GtkDialog
├── GtkAboutDialog
├── GtkAppChooserDialog
├── GtkColorChooserDialog
├── GtkFileChooserDialog
├── GtkFontChooserDialog
├── GtkMessageDialog
├── GtkPageSetupUnixDialog
╰── GtkPrintUnixDialog
Implemented Interfaces
GtkDialog implements
AtkImplementorIface, GtkBuildable, GtkConstraintTarget, GtkNative and GtkRoot.
Includes #include <gtk/gtk.h>
Description
Dialog boxes are a convenient way to prompt the user for a small amount
of input, e.g. to display a message, ask a question, or anything else
that does not require extensive effort on the user’s part.
GTK+ treats a dialog as a window split vertically. The top section is a
GtkBox , and is where widgets such as a GtkLabel or a GtkEntry should
be packed. The bottom area is known as the
“action area”. This is generally used for
packing buttons into the dialog which may perform functions such as
cancel, ok, or apply.
GtkDialog boxes are created with a call to gtk_dialog_new() or
gtk_dialog_new_with_buttons() . gtk_dialog_new_with_buttons() is
recommended; it allows you to set the dialog title, some convenient
flags, and add simple buttons.
A “modal” dialog (that is, one which freezes the rest of the application
from user input), can be created by calling gtk_window_set_modal() on the
dialog. Use the GTK_WINDOW() macro to cast the widget returned from
gtk_dialog_new() into a GtkWindow . When using gtk_dialog_new_with_buttons()
you can also pass the GTK_DIALOG_MODAL flag to make a dialog modal.
If you add buttons to GtkDialog using gtk_dialog_new_with_buttons() ,
gtk_dialog_add_button() , gtk_dialog_add_buttons() , or
gtk_dialog_add_action_widget() , clicking the button will emit a signal
called “response” with a response ID that you specified. GTK+
will never assign a meaning to positive response IDs; these are entirely
user-defined. But for convenience, you can use the response IDs in the
GtkResponseType enumeration (these all have values less than zero). If
a dialog receives a delete event, the “response” signal will
be emitted with a response ID of GTK_RESPONSE_DELETE_EVENT .
If you want to block waiting for a dialog to return before returning
control flow to your code, you can call gtk_dialog_run() . This function
enters a recursive main loop and waits for the user to respond to the
dialog, returning the response ID corresponding to the button the user
clicked.
For the simple dialog in the following example, in reality you’d probably
use GtkMessageDialog to save yourself some effort. But you’d need to
create the dialog contents manually if you had more than a simple message
in the dialog.
An example for simple GtkDialog usage:
GtkDialog as GtkBuildable The GtkDialog implementation of the GtkBuildable interface exposes the
content_area
and action_area
as internal children with the names
“content_area” and “action_area”.
GtkDialog supports a custom <action-widgets> element, which can contain
multiple <action-widget> elements. The “response” attribute specifies a
numeric response, and the content of the element is the id of widget
(which should be a child of the dialogs action_area
). To mark a response
as default, set the “default“ attribute of the <action-widget> element
to true.
GtkDialog supports adding action widgets by specifying “action“ as
the “type“ attribute of a <child> element. The widget will be added
either to the action area or the headerbar of the dialog, depending
on the “use-header-bar“ property. The response id has to be associated
with the action widget using the <action-widgets> element.
An example of a GtkDialog UI definition fragment:
button_cancel
button_ok
]]>
Functions
gtk_dialog_new ()
gtk_dialog_new
GtkWidget *
gtk_dialog_new (void );
Creates a new dialog box.
Widgets should not be packed into this GtkWindow
directly, but into the content_area
and action_area
, as described above.
Returns
the new dialog as a GtkWidget
gtk_dialog_new_with_buttons ()
gtk_dialog_new_with_buttons
GtkWidget *
gtk_dialog_new_with_buttons (const gchar *title ,
GtkWindow *parent ,
GtkDialogFlags flags ,
const gchar *first_button_text ,
... );
Creates a new GtkDialog with title title
(or NULL for the default
title; see gtk_window_set_title() ) and transient parent parent
(or
NULL for none; see gtk_window_set_transient_for() ). The flags
argument can be used to make the dialog modal (GTK_DIALOG_MODAL )
and/or to have it destroyed along with its transient parent
(GTK_DIALOG_DESTROY_WITH_PARENT ). After flags
, button
text/response ID pairs should be listed, with a NULL pointer ending
the list. Button text can be arbitrary text. A response ID can be
any positive number, or one of the values in the GtkResponseType
enumeration. If the user clicks one of these dialog buttons,
GtkDialog will emit the “response” signal with the corresponding
response ID. If a GtkDialog receives a delete event,
it will emit ::response with a response ID of GTK_RESPONSE_DELETE_EVENT .
However, destroying a dialog does not emit the ::response signal;
so be careful relying on ::response when using the
GTK_DIALOG_DESTROY_WITH_PARENT flag. Buttons are from left to right,
so the first button in the list will be the leftmost button in the dialog.
Here’s a simple example:
Parameters
title
Title of the dialog, or NULL .
[allow-none ]
parent
Transient parent of the dialog, or NULL .
[allow-none ]
flags
from GtkDialogFlags
first_button_text
text to go in first button, or NULL .
[allow-none ]
...
response ID for first button, then additional buttons, ending with NULL
Returns
a new GtkDialog
gtk_dialog_run ()
gtk_dialog_run
gint
gtk_dialog_run (GtkDialog *dialog );
Blocks in a recursive main loop until the dialog
either emits the
“response” signal, or is destroyed. If the dialog is
destroyed during the call to gtk_dialog_run() , gtk_dialog_run() returns
GTK_RESPONSE_NONE . Otherwise, it returns the response ID from the
::response signal emission.
Before entering the recursive main loop, gtk_dialog_run() calls
gtk_widget_show() on the dialog for you. Note that you still
need to show any children of the dialog yourself.
During gtk_dialog_run() , the default behavior of delete events
is disabled; if the dialog receives a delete event, it will not be
destroyed as windows usually are, and gtk_dialog_run() will return
GTK_RESPONSE_DELETE_EVENT . Also, during gtk_dialog_run() the dialog
will be modal. You can force gtk_dialog_run() to return at any time by
calling gtk_dialog_response() to emit the ::response signal. Destroying
the dialog during gtk_dialog_run() is a very bad idea, because your
post-run code won’t know whether the dialog was destroyed or not.
After gtk_dialog_run() returns, you are responsible for hiding or
destroying the dialog if you wish to do so.
Typical usage of this function might be:
Note that even though the recursive main loop gives the effect of a
modal dialog (it prevents the user from interacting with other
windows in the same window group while the dialog is run), callbacks
such as timeouts, IO channel watches, DND drops, etc, will
be triggered during a gtk_dialog_run() call.
Parameters
dialog
a GtkDialog
Returns
response ID
gtk_dialog_response ()
gtk_dialog_response
void
gtk_dialog_response (GtkDialog *dialog ,
gint response_id );
Emits the “response” signal with the given response ID.
Used to indicate that the user has responded to the dialog in some way;
typically either you or gtk_dialog_run() will be monitoring the
::response signal and take appropriate action.
Parameters
dialog
a GtkDialog
response_id
response ID
gtk_dialog_add_button ()
gtk_dialog_add_button
GtkWidget *
gtk_dialog_add_button (GtkDialog *dialog ,
const gchar *button_text ,
gint response_id );
Adds a button with the given text and sets things up so that
clicking the button will emit the “response” signal with
the given response_id
. The button is appended to the end of the
dialog’s action area. The button widget is returned, but usually
you don’t need it.
Parameters
dialog
a GtkDialog
button_text
text of button
response_id
response ID for the button
Returns
the GtkButton widget that was added.
[transfer none ]
gtk_dialog_add_buttons ()
gtk_dialog_add_buttons
void
gtk_dialog_add_buttons (GtkDialog *dialog ,
const gchar *first_button_text ,
... );
Adds more buttons, same as calling gtk_dialog_add_button()
repeatedly. The variable argument list should be NULL -terminated
as with gtk_dialog_new_with_buttons() . Each button must have both
text and response ID.
Parameters
dialog
a GtkDialog
first_button_text
button text
...
response ID for first button, then more text-response_id pairs
gtk_dialog_add_action_widget ()
gtk_dialog_add_action_widget
void
gtk_dialog_add_action_widget (GtkDialog *dialog ,
GtkWidget *child ,
gint response_id );
Adds an activatable widget to the action area of a GtkDialog ,
connecting a signal handler that will emit the “response”
signal on the dialog when the widget is activated. The widget is
appended to the end of the dialog’s action area. If you want to add a
non-activatable widget, simply pack it into the action_area
field
of the GtkDialog struct.
Parameters
dialog
a GtkDialog
child
an activatable widget
response_id
response ID for child
gtk_dialog_set_default_response ()
gtk_dialog_set_default_response
void
gtk_dialog_set_default_response (GtkDialog *dialog ,
gint response_id );
Sets the last widget in the dialog’s action area with the given response_id
as the default widget for the dialog. Pressing “Enter” normally activates
the default widget.
Parameters
dialog
a GtkDialog
response_id
a response ID
gtk_dialog_set_response_sensitive ()
gtk_dialog_set_response_sensitive
void
gtk_dialog_set_response_sensitive (GtkDialog *dialog ,
gint response_id ,
gboolean setting );
Calls gtk_widget_set_sensitive (widget, @setting)
for each widget in the dialog’s action area with the given response_id
.
A convenient way to sensitize/desensitize dialog buttons.
Parameters
dialog
a GtkDialog
response_id
a response ID
setting
TRUE for sensitive
gtk_dialog_get_response_for_widget ()
gtk_dialog_get_response_for_widget
gint
gtk_dialog_get_response_for_widget (GtkDialog *dialog ,
GtkWidget *widget );
Gets the response id of a widget in the action area
of a dialog.
Parameters
dialog
a GtkDialog
widget
a widget in the action area of dialog
Returns
the response id of widget
, or GTK_RESPONSE_NONE
if widget
doesn’t have a response id set.
gtk_dialog_get_widget_for_response ()
gtk_dialog_get_widget_for_response
GtkWidget *
gtk_dialog_get_widget_for_response (GtkDialog *dialog ,
gint response_id );
Gets the widget button that uses the given response ID in the action area
of a dialog.
Parameters
dialog
a GtkDialog
response_id
the response ID used by the dialog
widget
Returns
the widget
button that uses the given
response_id
, or NULL .
[nullable ][transfer none ]
gtk_dialog_get_content_area ()
gtk_dialog_get_content_area
GtkWidget *
gtk_dialog_get_content_area (GtkDialog *dialog );
Returns the content area of dialog
.
Parameters
dialog
a GtkDialog
Returns
the content area GtkBox .
[type Gtk.Box][transfer none ]
Property Details
Signal Details
The “close” signal
GtkDialog::close
void
user_function (GtkDialog *dialog,
gpointer user_data)
The ::close signal is a
keybinding signal
which gets emitted when the user uses a keybinding to close
the dialog.
The default binding for this signal is the Escape key.
Parameters
user_data
user data set when the signal handler was connected.
Flags: Action
The “response” signal
GtkDialog::response
void
user_function (GtkDialog *dialog,
gint response_id,
gpointer user_data)
Emitted when an action widget is clicked, the dialog receives a
delete event, or the application programmer calls gtk_dialog_response() .
On a delete event, the response ID is GTK_RESPONSE_DELETE_EVENT .
Otherwise, it depends on which action widget was clicked.
Parameters
dialog
the object on which the signal is emitted
response_id
the response ID
user_data
user data set when the signal handler was connected.
Flags: Run Last
See Also
GtkBox , GtkWindow , GtkButton
docs/reference/gtk/xml/gtkscrolledwindow.xml 0000664 0001750 0001750 00000303525 13617646202 021467 0 ustar mclasen mclasen
]>
GtkScrolledWindow
3
GTK4 Library
GtkScrolledWindow
Adds scrollbars to its child widget
Functions
GtkWidget *
gtk_scrolled_window_new ()
GtkAdjustment *
gtk_scrolled_window_get_hadjustment ()
void
gtk_scrolled_window_set_hadjustment ()
GtkAdjustment *
gtk_scrolled_window_get_vadjustment ()
void
gtk_scrolled_window_set_vadjustment ()
GtkWidget *
gtk_scrolled_window_get_hscrollbar ()
GtkWidget *
gtk_scrolled_window_get_vscrollbar ()
void
gtk_scrolled_window_get_policy ()
void
gtk_scrolled_window_set_policy ()
GtkCornerType
gtk_scrolled_window_get_placement ()
void
gtk_scrolled_window_set_placement ()
void
gtk_scrolled_window_unset_placement ()
GtkShadowType
gtk_scrolled_window_get_shadow_type ()
void
gtk_scrolled_window_set_shadow_type ()
gboolean
gtk_scrolled_window_get_kinetic_scrolling ()
void
gtk_scrolled_window_set_kinetic_scrolling ()
gboolean
gtk_scrolled_window_get_capture_button_press ()
void
gtk_scrolled_window_set_capture_button_press ()
gboolean
gtk_scrolled_window_get_overlay_scrolling ()
void
gtk_scrolled_window_set_overlay_scrolling ()
gint
gtk_scrolled_window_get_min_content_width ()
void
gtk_scrolled_window_set_min_content_width ()
gint
gtk_scrolled_window_get_min_content_height ()
void
gtk_scrolled_window_set_min_content_height ()
gint
gtk_scrolled_window_get_max_content_width ()
void
gtk_scrolled_window_set_max_content_width ()
gint
gtk_scrolled_window_get_max_content_height ()
void
gtk_scrolled_window_set_max_content_height ()
gboolean
gtk_scrolled_window_get_propagate_natural_width ()
void
gtk_scrolled_window_set_propagate_natural_width ()
gboolean
gtk_scrolled_window_get_propagate_natural_height ()
void
gtk_scrolled_window_set_propagate_natural_height ()
Properties
GtkAdjustment * hadjustmentRead / Write / Construct
GtkPolicyType hscrollbar-policyRead / Write
gboolean kinetic-scrollingRead / Write
gint max-content-heightRead / Write
gint max-content-widthRead / Write
gint min-content-heightRead / Write
gint min-content-widthRead / Write
gboolean overlay-scrollingRead / Write
gboolean propagate-natural-heightRead / Write
gboolean propagate-natural-widthRead / Write
GtkShadowType shadow-typeRead / Write
GtkAdjustment * vadjustmentRead / Write / Construct
GtkPolicyType vscrollbar-policyRead / Write
GtkCornerType window-placementRead / Write
Signals
void edge-overshot Run Last
void edge-reached Run Last
void move-focus-out Action
gboolean scroll-child Action
Types and Values
GtkScrolledWindow
enum GtkPolicyType
enum GtkCornerType
Object Hierarchy
GObject
╰── GInitiallyUnowned
╰── GtkWidget
╰── GtkContainer
╰── GtkBin
╰── GtkScrolledWindow
Implemented Interfaces
GtkScrolledWindow implements
AtkImplementorIface, GtkBuildable and GtkConstraintTarget.
Includes #include <gtk/gtk.h>
Description
GtkScrolledWindow is a container that accepts a single child widget, makes
that child scrollable using either internally added scrollbars or externally
associated adjustments, and optionally draws a frame around the child.
Widgets with native scrolling support, i.e. those whose classes implement the
GtkScrollable interface, are added directly. For other types of widget, the
class GtkViewport acts as an adaptor, giving scrollability to other widgets.
GtkScrolledWindow’s implementation of gtk_container_add() intelligently
accounts for whether or not the added child is a GtkScrollable . If it isn’t,
GtkScrolledWindow wraps the child in a GtkViewport and adds that for you.
Therefore, you can just add any child widget and not worry about the details.
If gtk_container_add() has added a GtkViewport for you, you can remove
both your added child widget from the GtkViewport , and the GtkViewport
from the GtkScrolledWindow, like this:
Unless “hscrolbar-policy” and “vscrollbar-policy”
are GTK_POLICY_NEVER or GTK_POLICY_EXTERNAL,
GtkScrolledWindow adds internal GtkScrollbar widgets around its child. The
scroll position of the child, and if applicable the scrollbars, is controlled
by the “hadjustment” and “vadjustment”
that are associated with the GtkScrolledWindow. See the docs on GtkScrollbar
for the details, but note that the “step_increment” and “page_increment”
fields are only effective if the policy causes scrollbars to be present.
If a GtkScrolledWindow doesn’t behave quite as you would like, or
doesn’t have exactly the right layout, it’s very possible to set up
your own scrolling with GtkScrollbar and for example a GtkGrid .
Touch support GtkScrolledWindow has built-in support for touch devices. When a
touchscreen is used, swiping will move the scrolled window, and will
expose 'kinetic' behavior. This can be turned off with the
“kinetic-scrolling” property if it is undesired.
GtkScrolledWindow also displays visual 'overshoot' indication when
the content is pulled beyond the end, and this situation can be
captured with the “edge-overshot” signal.
If no mouse device is present, the scrollbars will overlayed as
narrow, auto-hiding indicators over the content. If traditional
scrollbars are desired although no mouse is present, this behaviour
can be turned off with the “overlay-scrolling”
property.
CSS nodes GtkScrolledWindow has a main CSS node with name scrolledwindow.
It uses subnodes with names overshoot and undershoot to
draw the overflow and underflow indications. These nodes get
the .left, .right, .top or .bottom style class added depending
on where the indication is drawn.
GtkScrolledWindow also sets the positional style classes (.left,
.right, .top, .bottom) and style classes related to overlay
scrolling (.overlay-indicator, .dragging, .hovering) on its scrollbars.
If both scrollbars are visible, the area where they meet is drawn
with a subnode named junction.
Functions
gtk_scrolled_window_new ()
gtk_scrolled_window_new
GtkWidget *
gtk_scrolled_window_new (GtkAdjustment *hadjustment ,
GtkAdjustment *vadjustment );
Creates a new scrolled window.
The two arguments are the scrolled window’s adjustments; these will be
shared with the scrollbars and the child widget to keep the bars in sync
with the child. Usually you want to pass NULL for the adjustments, which
will cause the scrolled window to create them for you.
Parameters
hadjustment
horizontal adjustment.
[nullable ]
vadjustment
vertical adjustment.
[nullable ]
Returns
a new scrolled window
gtk_scrolled_window_get_hadjustment ()
gtk_scrolled_window_get_hadjustment
GtkAdjustment *
gtk_scrolled_window_get_hadjustment (GtkScrolledWindow *scrolled_window );
Returns the horizontal scrollbar’s adjustment, used to connect the
horizontal scrollbar to the child widget’s horizontal scroll
functionality.
Parameters
scrolled_window
a GtkScrolledWindow
Returns
the horizontal GtkAdjustment .
[transfer none ]
gtk_scrolled_window_set_hadjustment ()
gtk_scrolled_window_set_hadjustment
void
gtk_scrolled_window_set_hadjustment (GtkScrolledWindow *scrolled_window ,
GtkAdjustment *hadjustment );
Sets the GtkAdjustment for the horizontal scrollbar.
Parameters
scrolled_window
a GtkScrolledWindow
hadjustment
the GtkAdjustment to use, or NULL to create a new one.
[nullable ]
gtk_scrolled_window_get_vadjustment ()
gtk_scrolled_window_get_vadjustment
GtkAdjustment *
gtk_scrolled_window_get_vadjustment (GtkScrolledWindow *scrolled_window );
Returns the vertical scrollbar’s adjustment, used to connect the
vertical scrollbar to the child widget’s vertical scroll functionality.
Parameters
scrolled_window
a GtkScrolledWindow
Returns
the vertical GtkAdjustment .
[transfer none ]
gtk_scrolled_window_set_vadjustment ()
gtk_scrolled_window_set_vadjustment
void
gtk_scrolled_window_set_vadjustment (GtkScrolledWindow *scrolled_window ,
GtkAdjustment *vadjustment );
Sets the GtkAdjustment for the vertical scrollbar.
Parameters
scrolled_window
a GtkScrolledWindow
vadjustment
the GtkAdjustment to use, or NULL to create a new one.
[nullable ]
gtk_scrolled_window_get_hscrollbar ()
gtk_scrolled_window_get_hscrollbar
GtkWidget *
gtk_scrolled_window_get_hscrollbar (GtkScrolledWindow *scrolled_window );
Returns the horizontal scrollbar of scrolled_window
.
Parameters
scrolled_window
a GtkScrolledWindow
Returns
the horizontal scrollbar of the scrolled window.
[transfer none ]
gtk_scrolled_window_get_vscrollbar ()
gtk_scrolled_window_get_vscrollbar
GtkWidget *
gtk_scrolled_window_get_vscrollbar (GtkScrolledWindow *scrolled_window );
Returns the vertical scrollbar of scrolled_window
.
Parameters
scrolled_window
a GtkScrolledWindow
Returns
the vertical scrollbar of the scrolled window.
[transfer none ]
gtk_scrolled_window_get_policy ()
gtk_scrolled_window_get_policy
void
gtk_scrolled_window_get_policy (GtkScrolledWindow *scrolled_window ,
GtkPolicyType *hscrollbar_policy ,
GtkPolicyType *vscrollbar_policy );
Retrieves the current policy values for the horizontal and vertical
scrollbars. See gtk_scrolled_window_set_policy() .
Parameters
scrolled_window
a GtkScrolledWindow
hscrollbar_policy
location to store the policy
for the horizontal scrollbar, or NULL .
[out ][optional ]
vscrollbar_policy
location to store the policy
for the vertical scrollbar, or NULL .
[out ][optional ]
gtk_scrolled_window_set_policy ()
gtk_scrolled_window_set_policy
void
gtk_scrolled_window_set_policy (GtkScrolledWindow *scrolled_window ,
GtkPolicyType hscrollbar_policy ,
GtkPolicyType vscrollbar_policy );
Sets the scrollbar policy for the horizontal and vertical scrollbars.
The policy determines when the scrollbar should appear; it is a value
from the GtkPolicyType enumeration. If GTK_POLICY_ALWAYS , the
scrollbar is always present; if GTK_POLICY_NEVER , the scrollbar is
never present; if GTK_POLICY_AUTOMATIC , the scrollbar is present only
if needed (that is, if the slider part of the bar would be smaller
than the trough — the display is larger than the page size).
Parameters
scrolled_window
a GtkScrolledWindow
hscrollbar_policy
policy for horizontal bar
vscrollbar_policy
policy for vertical bar
gtk_scrolled_window_get_placement ()
gtk_scrolled_window_get_placement
GtkCornerType
gtk_scrolled_window_get_placement (GtkScrolledWindow *scrolled_window );
Gets the placement of the contents with respect to the scrollbars
for the scrolled window. See gtk_scrolled_window_set_placement() .
Parameters
scrolled_window
a GtkScrolledWindow
Returns
the current placement value.
See also gtk_scrolled_window_set_placement() and
gtk_scrolled_window_unset_placement() .
gtk_scrolled_window_set_placement ()
gtk_scrolled_window_set_placement
void
gtk_scrolled_window_set_placement (GtkScrolledWindow *scrolled_window ,
GtkCornerType window_placement );
Sets the placement of the contents with respect to the scrollbars
for the scrolled window.
The default is GTK_CORNER_TOP_LEFT , meaning the child is
in the top left, with the scrollbars underneath and to the right.
Other values in GtkCornerType are GTK_CORNER_TOP_RIGHT ,
GTK_CORNER_BOTTOM_LEFT , and GTK_CORNER_BOTTOM_RIGHT .
See also gtk_scrolled_window_get_placement() and
gtk_scrolled_window_unset_placement() .
Parameters
scrolled_window
a GtkScrolledWindow
window_placement
position of the child window
gtk_scrolled_window_unset_placement ()
gtk_scrolled_window_unset_placement
void
gtk_scrolled_window_unset_placement (GtkScrolledWindow *scrolled_window );
Unsets the placement of the contents with respect to the scrollbars
for the scrolled window. If no window placement is set for a scrolled
window, it defaults to GTK_CORNER_TOP_LEFT .
See also gtk_scrolled_window_set_placement() and
gtk_scrolled_window_get_placement() .
Parameters
scrolled_window
a GtkScrolledWindow
gtk_scrolled_window_get_shadow_type ()
gtk_scrolled_window_get_shadow_type
GtkShadowType
gtk_scrolled_window_get_shadow_type (GtkScrolledWindow *scrolled_window );
Gets the shadow type of the scrolled window. See
gtk_scrolled_window_set_shadow_type() .
Parameters
scrolled_window
a GtkScrolledWindow
Returns
the current shadow type
gtk_scrolled_window_set_shadow_type ()
gtk_scrolled_window_set_shadow_type
void
gtk_scrolled_window_set_shadow_type (GtkScrolledWindow *scrolled_window ,
GtkShadowType type );
Changes the type of shadow drawn around the contents of
scrolled_window
.
Parameters
scrolled_window
a GtkScrolledWindow
type
kind of shadow to draw around scrolled window contents
gtk_scrolled_window_get_kinetic_scrolling ()
gtk_scrolled_window_get_kinetic_scrolling
gboolean
gtk_scrolled_window_get_kinetic_scrolling
(GtkScrolledWindow *scrolled_window );
Returns the specified kinetic scrolling behavior.
Parameters
scrolled_window
a GtkScrolledWindow
Returns
the scrolling behavior flags.
gtk_scrolled_window_set_kinetic_scrolling ()
gtk_scrolled_window_set_kinetic_scrolling
void
gtk_scrolled_window_set_kinetic_scrolling
(GtkScrolledWindow *scrolled_window ,
gboolean kinetic_scrolling );
Turns kinetic scrolling on or off.
Kinetic scrolling only applies to devices with source
GDK_SOURCE_TOUCHSCREEN .
Parameters
scrolled_window
a GtkScrolledWindow
kinetic_scrolling
TRUE to enable kinetic scrolling
gtk_scrolled_window_get_capture_button_press ()
gtk_scrolled_window_get_capture_button_press
gboolean
gtk_scrolled_window_get_capture_button_press
(GtkScrolledWindow *scrolled_window );
Return whether button presses are captured during kinetic
scrolling. See gtk_scrolled_window_set_capture_button_press() .
Parameters
scrolled_window
a GtkScrolledWindow
Returns
TRUE if button presses are captured during kinetic scrolling
gtk_scrolled_window_set_capture_button_press ()
gtk_scrolled_window_set_capture_button_press
void
gtk_scrolled_window_set_capture_button_press
(GtkScrolledWindow *scrolled_window ,
gboolean capture_button_press );
Changes the behaviour of scrolled_window
with regard to the initial
event that possibly starts kinetic scrolling. When capture_button_press
is set to TRUE , the event is captured by the scrolled window, and
then later replayed if it is meant to go to the child widget.
This should be enabled if any child widgets perform non-reversible
actions on button press events. If they don't, and additionally handle
“grab-broken-event” , it might be better to set capture_button_press
to FALSE .
This setting only has an effect if kinetic scrolling is enabled.
Parameters
scrolled_window
a GtkScrolledWindow
capture_button_press
TRUE to capture button presses
gtk_scrolled_window_get_overlay_scrolling ()
gtk_scrolled_window_get_overlay_scrolling
gboolean
gtk_scrolled_window_get_overlay_scrolling
(GtkScrolledWindow *scrolled_window );
Returns whether overlay scrolling is enabled for this scrolled window.
Parameters
scrolled_window
a GtkScrolledWindow
Returns
TRUE if overlay scrolling is enabled
gtk_scrolled_window_set_overlay_scrolling ()
gtk_scrolled_window_set_overlay_scrolling
void
gtk_scrolled_window_set_overlay_scrolling
(GtkScrolledWindow *scrolled_window ,
gboolean overlay_scrolling );
Enables or disables overlay scrolling for this scrolled window.
Parameters
scrolled_window
a GtkScrolledWindow
overlay_scrolling
whether to enable overlay scrolling
gtk_scrolled_window_get_min_content_width ()
gtk_scrolled_window_get_min_content_width
gint
gtk_scrolled_window_get_min_content_width
(GtkScrolledWindow *scrolled_window );
Gets the minimum content width of scrolled_window
, or -1 if not set.
Parameters
scrolled_window
a GtkScrolledWindow
Returns
the minimum content width
gtk_scrolled_window_set_min_content_width ()
gtk_scrolled_window_set_min_content_width
void
gtk_scrolled_window_set_min_content_width
(GtkScrolledWindow *scrolled_window ,
gint width );
Sets the minimum width that scrolled_window
should keep visible.
Note that this can and (usually will) be smaller than the minimum
size of the content.
It is a programming error to set the minimum content width to a
value greater than “max-content-width” .
Parameters
scrolled_window
a GtkScrolledWindow
width
the minimal content width
gtk_scrolled_window_get_min_content_height ()
gtk_scrolled_window_get_min_content_height
gint
gtk_scrolled_window_get_min_content_height
(GtkScrolledWindow *scrolled_window );
Gets the minimal content height of scrolled_window
, or -1 if not set.
Parameters
scrolled_window
a GtkScrolledWindow
Returns
the minimal content height
gtk_scrolled_window_set_min_content_height ()
gtk_scrolled_window_set_min_content_height
void
gtk_scrolled_window_set_min_content_height
(GtkScrolledWindow *scrolled_window ,
gint height );
Sets the minimum height that scrolled_window
should keep visible.
Note that this can and (usually will) be smaller than the minimum
size of the content.
It is a programming error to set the minimum content height to a
value greater than “max-content-height” .
Parameters
scrolled_window
a GtkScrolledWindow
height
the minimal content height
gtk_scrolled_window_get_max_content_width ()
gtk_scrolled_window_get_max_content_width
gint
gtk_scrolled_window_get_max_content_width
(GtkScrolledWindow *scrolled_window );
Returns the maximum content width set.
Parameters
scrolled_window
a GtkScrolledWindow
Returns
the maximum content width, or -1
gtk_scrolled_window_set_max_content_width ()
gtk_scrolled_window_set_max_content_width
void
gtk_scrolled_window_set_max_content_width
(GtkScrolledWindow *scrolled_window ,
gint width );
Sets the maximum width that scrolled_window
should keep visible. The
scrolled_window
will grow up to this width before it starts scrolling
the content.
It is a programming error to set the maximum content width to a value
smaller than “min-content-width” .
Parameters
scrolled_window
a GtkScrolledWindow
width
the maximum content width
gtk_scrolled_window_get_max_content_height ()
gtk_scrolled_window_get_max_content_height
gint
gtk_scrolled_window_get_max_content_height
(GtkScrolledWindow *scrolled_window );
Returns the maximum content height set.
Parameters
scrolled_window
a GtkScrolledWindow
Returns
the maximum content height, or -1
gtk_scrolled_window_set_max_content_height ()
gtk_scrolled_window_set_max_content_height
void
gtk_scrolled_window_set_max_content_height
(GtkScrolledWindow *scrolled_window ,
gint height );
Sets the maximum height that scrolled_window
should keep visible. The
scrolled_window
will grow up to this height before it starts scrolling
the content.
It is a programming error to set the maximum content height to a value
smaller than “min-content-height” .
Parameters
scrolled_window
a GtkScrolledWindow
height
the maximum content height
gtk_scrolled_window_get_propagate_natural_width ()
gtk_scrolled_window_get_propagate_natural_width
gboolean
gtk_scrolled_window_get_propagate_natural_width
(GtkScrolledWindow *scrolled_window );
Reports whether the natural width of the child will be calculated and propagated
through the scrolled window’s requested natural width.
Parameters
scrolled_window
a GtkScrolledWindow
Returns
whether natural width propagation is enabled.
gtk_scrolled_window_set_propagate_natural_width ()
gtk_scrolled_window_set_propagate_natural_width
void
gtk_scrolled_window_set_propagate_natural_width
(GtkScrolledWindow *scrolled_window ,
gboolean propagate );
Sets whether the natural width of the child should be calculated and propagated
through the scrolled window’s requested natural width.
Parameters
scrolled_window
a GtkScrolledWindow
propagate
whether to propagate natural width
gtk_scrolled_window_get_propagate_natural_height ()
gtk_scrolled_window_get_propagate_natural_height
gboolean
gtk_scrolled_window_get_propagate_natural_height
(GtkScrolledWindow *scrolled_window );
Reports whether the natural height of the child will be calculated and propagated
through the scrolled window’s requested natural height.
Parameters
scrolled_window
a GtkScrolledWindow
Returns
whether natural height propagation is enabled.
gtk_scrolled_window_set_propagate_natural_height ()
gtk_scrolled_window_set_propagate_natural_height
void
gtk_scrolled_window_set_propagate_natural_height
(GtkScrolledWindow *scrolled_window ,
gboolean propagate );
Sets whether the natural height of the child should be calculated and propagated
through the scrolled window’s requested natural height.
Parameters
scrolled_window
a GtkScrolledWindow
propagate
whether to propagate natural height
Property Details
The “hadjustment” property
GtkScrolledWindow:hadjustment
“hadjustment” GtkAdjustment *
The GtkAdjustment for the horizontal position. Owner: GtkScrolledWindow
Flags: Read / Write / Construct
The “hscrollbar-policy” property
GtkScrolledWindow:hscrollbar-policy
“hscrollbar-policy” GtkPolicyType
When the horizontal scrollbar is displayed. Owner: GtkScrolledWindow
Flags: Read / Write
Default value: GTK_POLICY_AUTOMATIC
The “kinetic-scrolling” property
GtkScrolledWindow:kinetic-scrolling
“kinetic-scrolling” gboolean
Whether kinetic scrolling is enabled or not. Kinetic scrolling
only applies to devices with source GDK_SOURCE_TOUCHSCREEN .
Owner: GtkScrolledWindow
Flags: Read / Write
Default value: TRUE
The “max-content-height” property
GtkScrolledWindow:max-content-height
“max-content-height” gint
The maximum content height of scrolled_window
, or -1 if not set.
Owner: GtkScrolledWindow
Flags: Read / Write
Allowed values: >= -1
Default value: -1
The “max-content-width” property
GtkScrolledWindow:max-content-width
“max-content-width” gint
The maximum content width of scrolled_window
, or -1 if not set.
Owner: GtkScrolledWindow
Flags: Read / Write
Allowed values: >= -1
Default value: -1
The “min-content-height” property
GtkScrolledWindow:min-content-height
“min-content-height” gint
The minimum content height of scrolled_window
, or -1 if not set.
Owner: GtkScrolledWindow
Flags: Read / Write
Allowed values: >= -1
Default value: -1
The “min-content-width” property
GtkScrolledWindow:min-content-width
“min-content-width” gint
The minimum content width of scrolled_window
, or -1 if not set.
Owner: GtkScrolledWindow
Flags: Read / Write
Allowed values: >= -1
Default value: -1
The “overlay-scrolling” property
GtkScrolledWindow:overlay-scrolling
“overlay-scrolling” gboolean
Whether overlay scrolling is enabled or not. If it is, the
scrollbars are only added as traditional widgets when a mouse
is present. Otherwise, they are overlayed on top of the content,
as narrow indicators.
Note that overlay scrolling can also be globally disabled, with
the “gtk-overlay-scrolling” setting.
Owner: GtkScrolledWindow
Flags: Read / Write
Default value: TRUE
The “propagate-natural-height” property
GtkScrolledWindow:propagate-natural-height
“propagate-natural-height” gboolean
Whether the natural height of the child should be calculated and propagated
through the scrolled window’s requested natural height.
This is useful in cases where an attempt should be made to allocate exactly
enough space for the natural size of the child.
Owner: GtkScrolledWindow
Flags: Read / Write
Default value: FALSE
The “propagate-natural-width” property
GtkScrolledWindow:propagate-natural-width
“propagate-natural-width” gboolean
Whether the natural width of the child should be calculated and propagated
through the scrolled window’s requested natural width.
This is useful in cases where an attempt should be made to allocate exactly
enough space for the natural size of the child.
Owner: GtkScrolledWindow
Flags: Read / Write
Default value: FALSE
The “shadow-type” property
GtkScrolledWindow:shadow-type
“shadow-type” GtkShadowType
Style of bevel around the contents. Owner: GtkScrolledWindow
Flags: Read / Write
Default value: GTK_SHADOW_NONE
The “vadjustment” property
GtkScrolledWindow:vadjustment
“vadjustment” GtkAdjustment *
The GtkAdjustment for the vertical position. Owner: GtkScrolledWindow
Flags: Read / Write / Construct
The “vscrollbar-policy” property
GtkScrolledWindow:vscrollbar-policy
“vscrollbar-policy” GtkPolicyType
When the vertical scrollbar is displayed. Owner: GtkScrolledWindow
Flags: Read / Write
Default value: GTK_POLICY_AUTOMATIC
The “window-placement” property
GtkScrolledWindow:window-placement
“window-placement” GtkCornerType
Where the contents are located with respect to the scrollbars. Owner: GtkScrolledWindow
Flags: Read / Write
Default value: GTK_CORNER_TOP_LEFT
Signal Details
The “edge-overshot” signal
GtkScrolledWindow::edge-overshot
void
user_function (GtkScrolledWindow *scrolled_window,
GtkPositionType pos,
gpointer user_data)
The ::edge-overshot signal is emitted whenever user initiated scrolling
makes the scrolled window firmly surpass (i.e. with some edge resistance)
the lower or upper limits defined by the adjustment in that orientation.
A similar behavior without edge resistance is provided by the
“edge-reached” signal.
Note: The pos
argument is LTR/RTL aware, so callers should be aware too
if intending to provide behavior on horizontal edges.
Parameters
scrolled_window
a GtkScrolledWindow
pos
edge side that was hit
user_data
user data set when the signal handler was connected.
Flags: Run Last
The “edge-reached” signal
GtkScrolledWindow::edge-reached
void
user_function (GtkScrolledWindow *scrolled_window,
GtkPositionType pos,
gpointer user_data)
The ::edge-reached signal is emitted whenever user-initiated scrolling
makes the scrolled window exactly reach the lower or upper limits
defined by the adjustment in that orientation.
A similar behavior with edge resistance is provided by the
“edge-overshot” signal.
Note: The pos
argument is LTR/RTL aware, so callers should be aware too
if intending to provide behavior on horizontal edges.
Parameters
scrolled_window
a GtkScrolledWindow
pos
edge side that was reached
user_data
user data set when the signal handler was connected.
Flags: Run Last
The “move-focus-out” signal
GtkScrolledWindow::move-focus-out
void
user_function (GtkScrolledWindow *scrolled_window,
GtkDirectionType direction_type,
gpointer user_data)
The ::move-focus-out signal is a
keybinding signal which gets
emitted when focus is moved away from the scrolled window by a
keybinding. The “move-focus” signal is emitted with
direction_type
on this scrolled window’s toplevel parent in the
container hierarchy. The default bindings for this signal are
Ctrl + Tab to move forward and Ctrl + Shift + Tab to move backward.
Parameters
scrolled_window
a GtkScrolledWindow
direction_type
either GTK_DIR_TAB_FORWARD or
GTK_DIR_TAB_BACKWARD
user_data
user data set when the signal handler was connected.
Flags: Action
The “scroll-child” signal
GtkScrolledWindow::scroll-child
gboolean
user_function (GtkScrolledWindow *scrolled_window,
GtkScrollType scroll,
gboolean horizontal,
gpointer user_data)
The ::scroll-child signal is a
keybinding signal
which gets emitted when a keybinding that scrolls is pressed.
The horizontal or vertical adjustment is updated which triggers a
signal that the scrolled window’s child may listen to and scroll itself.
Parameters
scrolled_window
a GtkScrolledWindow
scroll
a GtkScrollType describing how much to scroll
horizontal
whether the keybinding scrolls the child
horizontally or not
user_data
user data set when the signal handler was connected.
Flags: Action
See Also
GtkScrollable , GtkViewport , GtkAdjustment
docs/reference/gtk/xml/gtkdrawingarea.xml 0000664 0001750 0001750 00000056754 13617646201 020724 0 ustar mclasen mclasen
]>
GtkDrawingArea
3
GTK4 Library
GtkDrawingArea
A simple widget for custom user interface elements
Functions
GtkWidget *
gtk_drawing_area_new ()
int
gtk_drawing_area_get_content_width ()
void
gtk_drawing_area_set_content_width ()
int
gtk_drawing_area_get_content_height ()
void
gtk_drawing_area_set_content_height ()
void
( *GtkDrawingAreaDrawFunc) ()
void
gtk_drawing_area_set_draw_func ()
Properties
gint content-heightRead / Write
gint content-widthRead / Write
Types and Values
struct GtkDrawingArea
Object Hierarchy
GObject
╰── GInitiallyUnowned
╰── GtkWidget
╰── GtkDrawingArea
Implemented Interfaces
GtkDrawingArea implements
AtkImplementorIface, GtkBuildable and GtkConstraintTarget.
Includes #include <gtk/gtk.h>
Description
The GtkDrawingArea widget is used for creating custom user interface
elements. It’s essentially a blank widget; you can draw on it. After
creating a drawing area, the application may want to connect to:
The “realize” signal to take any necessary actions
when the widget is instantiated on a particular display.
(Create GDK resources in response to this signal.)
The “size-allocate” signal to take any necessary
actions when the widget changes size.
Call gtk_drawing_area_set_draw_func() to handle redrawing the
contents of the widget.
The following code portion demonstrates using a drawing
area to display a circle in the normal widget foreground
color.
Simple GtkDrawingArea usage
The draw function is normally called when a drawing area first comes
onscreen, or when it’s covered by another window and then uncovered.
You can also force a redraw by adding to the “damage region” of the
drawing area’s window using gtk_widget_queue_draw() .
This will cause the drawing area to call the draw function again.
The available routines for drawing are documented on the
GDK Drawing Primitives page
and the cairo documentation.
To receive mouse events on a drawing area, you will need to enable
them with gtk_widget_add_events() . To receive keyboard events, you
will need to set the “can-focus” property on the drawing area, and you
should probably draw some user-visible indication that the drawing
area is focused. Use gtk_widget_has_focus() in your expose event
handler to decide whether to draw the focus indicator. See
gtk_render_focus() for one way to draw focus.
If you need more complex control over your widget, you should consider
creating your own GtkWidget subclass.
Functions
gtk_drawing_area_new ()
gtk_drawing_area_new
GtkWidget *
gtk_drawing_area_new (void );
Creates a new drawing area.
Returns
a new GtkDrawingArea
gtk_drawing_area_get_content_width ()
gtk_drawing_area_get_content_width
int
gtk_drawing_area_get_content_width (GtkDrawingArea *self );
Retrieves the value previously set via gtk_drawing_area_set_content_width() .
Parameters
self
a GtkDrawingArea
Returns
The width requested for content of the drawing area
gtk_drawing_area_set_content_width ()
gtk_drawing_area_set_content_width
void
gtk_drawing_area_set_content_width (GtkDrawingArea *self ,
int width );
Sets the desired width of the contents of the drawing area. Note that
because widgets may be allocated larger sizes than they requested, it is
possible that the actual width passed to your draw function is larger
than the width set here. You can use gtk_widget_set_halign() to avoid
that.
If the width is set to 0 (the default), the drawing area may disappear.
Parameters
self
a GtkDrawingArea
width
the width of contents
gtk_drawing_area_get_content_height ()
gtk_drawing_area_get_content_height
int
gtk_drawing_area_get_content_height (GtkDrawingArea *self );
Retrieves the value previously set via gtk_drawing_area_set_content_height() .
Parameters
self
a GtkDrawingArea
Returns
The height requested for content of the drawing area
gtk_drawing_area_set_content_height ()
gtk_drawing_area_set_content_height
void
gtk_drawing_area_set_content_height (GtkDrawingArea *self ,
int height );
Sets the desired height of the contents of the drawing area. Note that
because widgets may be allocated larger sizes than they requested, it is
possible that the actual height passed to your draw function is larger
than the height set here. You can use gtk_widget_set_valign() to avoid
that.
If the height is set to 0 (the default), the drawing area may disappear.
Parameters
self
a GtkDrawingArea
height
the height of contents
GtkDrawingAreaDrawFunc ()
GtkDrawingAreaDrawFunc
void
( *GtkDrawingAreaDrawFunc) (GtkDrawingArea *drawing_area ,
cairo_t *cr ,
int width ,
int height ,
gpointer user_data );
Whenever drawing_area
needs to redraw, this function will be called.
This function should exclusively redraw the contents of the drawing area
and must not call any widget functions that cause changes.
Parameters
drawing_area
the GtkDrawingArea to redraw
cr
the context to draw to
width
the actual width of the contents. This value will be at least
as wide as GtkDrawingArea:width.
height
the actual height of the contents. This value will be at least
as wide as GtkDrawingArea:height.
user_data
user data.
[closure ]
gtk_drawing_area_set_draw_func ()
gtk_drawing_area_set_draw_func
void
gtk_drawing_area_set_draw_func (GtkDrawingArea *self ,
GtkDrawingAreaDrawFunc draw_func ,
gpointer user_data ,
GDestroyNotify destroy );
Setting a draw function is the main thing you want to do when using a drawing
area. It is called whenever GTK needs to draw the contents of the drawing area
to the screen.
The draw function will be called during the drawing stage of GTK. In the
drawing stage it is not allowed to change properties of any GTK widgets or call
any functions that would cause any properties to be changed.
You should restrict yourself exclusively to drawing your contents in the draw
function.
If what you are drawing does change, call gtk_widget_queue_draw() on the
drawing area. This will cause a redraw and will call draw_func
again.
Parameters
self
a GtkDrawingArea
draw_func
callback that lets you draw
the drawing area's contents.
[allow-none ]
user_data
user data passed to draw_func
.
[closure ]
destroy
destroy notifier for user_data
Property Details
The “content-height” property
GtkDrawingArea:content-height
“content-height” gint
The content height. See gtk_drawing_area_set_content_height() for details.
Owner: GtkDrawingArea
Flags: Read / Write
Allowed values: >= 0
Default value: 0
The “content-width” property
GtkDrawingArea:content-width
“content-width” gint
The content width. See gtk_drawing_area_set_content_width() for details.
Owner: GtkDrawingArea
Flags: Read / Write
Allowed values: >= 0
Default value: 0
See Also
GtkImage
docs/reference/gtk/xml/gtkcellrenderer.xml 0000664 0001750 0001750 00000253745 13617646203 021107 0 ustar mclasen mclasen
]>
GtkCellRenderer
3
GTK4 Library
GtkCellRenderer
An object for rendering a single cell
Functions
void
gtk_cell_renderer_class_set_accessible_type ()
void
gtk_cell_renderer_get_aligned_area ()
void
gtk_cell_renderer_snapshot ()
gboolean
gtk_cell_renderer_activate ()
GtkCellEditable *
gtk_cell_renderer_start_editing ()
void
gtk_cell_renderer_stop_editing ()
void
gtk_cell_renderer_get_fixed_size ()
void
gtk_cell_renderer_set_fixed_size ()
gboolean
gtk_cell_renderer_get_visible ()
void
gtk_cell_renderer_set_visible ()
gboolean
gtk_cell_renderer_get_sensitive ()
void
gtk_cell_renderer_set_sensitive ()
void
gtk_cell_renderer_get_alignment ()
void
gtk_cell_renderer_set_alignment ()
void
gtk_cell_renderer_get_padding ()
void
gtk_cell_renderer_set_padding ()
GtkStateFlags
gtk_cell_renderer_get_state ()
gboolean
gtk_cell_renderer_is_activatable ()
void
gtk_cell_renderer_get_preferred_height ()
void
gtk_cell_renderer_get_preferred_height_for_width ()
void
gtk_cell_renderer_get_preferred_size ()
void
gtk_cell_renderer_get_preferred_width ()
void
gtk_cell_renderer_get_preferred_width_for_height ()
GtkSizeRequestMode
gtk_cell_renderer_get_request_mode ()
Properties
gchar * cell-backgroundWrite
GdkRGBA * cell-background-rgbaRead / Write
gboolean cell-background-setRead / Write
gboolean editingRead
gint heightRead / Write
gboolean is-expandedRead / Write
gboolean is-expanderRead / Write
GtkCellRendererMode modeRead / Write
gboolean sensitiveRead / Write
gboolean visibleRead / Write
gint widthRead / Write
gfloat xalignRead / Write
guint xpadRead / Write
gfloat yalignRead / Write
guint ypadRead / Write
Signals
void editing-canceled Run First
void editing-started Run First
Types and Values
enum GtkCellRendererState
enum GtkCellRendererMode
struct GtkCellRenderer
struct GtkCellRendererClass
Object Hierarchy
GObject
╰── GInitiallyUnowned
╰── GtkCellRenderer
├── GtkCellRendererText
├── GtkCellRendererPixbuf
├── GtkCellRendererProgress
├── GtkCellRendererSpinner
╰── GtkCellRendererToggle
Includes #include <gtk/gtk.h>
Description
The GtkCellRenderer is a base class of a set of objects used for
rendering a cell to a cairo_t . These objects are used primarily by
the GtkTreeView widget, though they aren’t tied to them in any
specific way. It is worth noting that GtkCellRenderer is not a
GtkWidget and cannot be treated as such.
The primary use of a GtkCellRenderer is for drawing a certain graphical
elements on a cairo_t . Typically, one cell renderer is used to
draw many cells on the screen. To this extent, it isn’t expected that a
CellRenderer keep any permanent state around. Instead, any state is set
just prior to use using GObjects property system. Then, the
cell is measured using gtk_cell_renderer_get_preferred_size() . Finally, the cell
is rendered in the correct location using gtk_cell_renderer_snapshot() .
There are a number of rules that must be followed when writing a new
GtkCellRenderer . First and foremost, it’s important that a certain set
of properties will always yield a cell renderer of the same size,
barring a GtkStyle change. The GtkCellRenderer also has a number of
generic properties that are expected to be honored by all children.
Beyond merely rendering a cell, cell renderers can optionally
provide active user interface elements. A cell renderer can be
“activatable” like GtkCellRendererToggle ,
which toggles when it gets activated by a mouse click, or it can be
“editable” like GtkCellRendererText , which
allows the user to edit the text using a widget implementing the
GtkCellEditable interface, e.g. GtkEntry .
To make a cell renderer activatable or editable, you have to
implement the GtkCellRendererClass.activate or
GtkCellRendererClass.start_editing virtual functions, respectively.
Many properties of GtkCellRenderer and its subclasses have a
corresponding “set” property, e.g. “cell-background-set” corresponds
to “cell-background”. These “set” properties reflect whether a property
has been set or not. You should not set them independently.
Functions
gtk_cell_renderer_class_set_accessible_type ()
gtk_cell_renderer_class_set_accessible_type
void
gtk_cell_renderer_class_set_accessible_type
(GtkCellRendererClass *renderer_class ,
GType type );
Sets the type to be used for creating accessibles for cells rendered by
cell renderers of renderer_class
. Note that multiple accessibles will
be created.
This function should only be called from class init functions of cell
renderers.
Parameters
renderer_class
class to set the accessible type for
type
The object type that implements the accessible for widget_class
.
The type must be a subtype of GtkRendererCellAccessible
gtk_cell_renderer_get_aligned_area ()
gtk_cell_renderer_get_aligned_area
void
gtk_cell_renderer_get_aligned_area (GtkCellRenderer *cell ,
GtkWidget *widget ,
GtkCellRendererState flags ,
const GdkRectangle *cell_area ,
GdkRectangle *aligned_area );
Gets the aligned area used by cell
inside cell_area
. Used for finding
the appropriate edit and focus rectangle.
Parameters
cell
a GtkCellRenderer instance
widget
the GtkWidget this cell will be rendering to
flags
render flags
cell_area
cell area which would be passed to gtk_cell_renderer_render()
aligned_area
the return location for the space inside cell_area
that would acually be used to render.
[out ]
gtk_cell_renderer_snapshot ()
gtk_cell_renderer_snapshot
void
gtk_cell_renderer_snapshot (GtkCellRenderer *cell ,
GtkSnapshot *snapshot ,
GtkWidget *widget ,
const GdkRectangle *background_area ,
const GdkRectangle *cell_area ,
GtkCellRendererState flags );
Invokes the virtual render function of the GtkCellRenderer . The three
passed-in rectangles are areas in cr
. Most renderers will draw within
cell_area
; the xalign, yalign, xpad, and ypad fields of the GtkCellRenderer
should be honored with respect to cell_area
. background_area
includes the
blank space around the cell, and also the area containing the tree expander;
so the background_area
rectangles for all cells tile to cover the entire
window
.
Parameters
cell
a GtkCellRenderer
snapshot
a GtkSnapshot to draw to
widget
the widget owning window
background_area
entire cell area (including tree expanders and maybe
padding on the sides)
cell_area
area normally rendered by a cell renderer
flags
flags that affect rendering
gtk_cell_renderer_activate ()
gtk_cell_renderer_activate
gboolean
gtk_cell_renderer_activate (GtkCellRenderer *cell ,
GdkEvent *event ,
GtkWidget *widget ,
const gchar *path ,
const GdkRectangle *background_area ,
const GdkRectangle *cell_area ,
GtkCellRendererState flags );
Passes an activate event to the cell renderer for possible processing.
Some cell renderers may use events; for example, GtkCellRendererToggle
toggles when it gets a mouse click.
Parameters
cell
a GtkCellRenderer
event
a GdkEvent
widget
widget that received the event
path
widget-dependent string representation of the event location;
e.g. for GtkTreeView , a string representation of GtkTreePath
background_area
background area as passed to gtk_cell_renderer_render()
cell_area
cell area as passed to gtk_cell_renderer_render()
flags
render flags
Returns
TRUE if the event was consumed/handled
gtk_cell_renderer_start_editing ()
gtk_cell_renderer_start_editing
GtkCellEditable *
gtk_cell_renderer_start_editing (GtkCellRenderer *cell ,
GdkEvent *event ,
GtkWidget *widget ,
const gchar *path ,
const GdkRectangle *background_area ,
const GdkRectangle *cell_area ,
GtkCellRendererState flags );
Starts editing the contents of this cell
, through a new GtkCellEditable
widget created by the GtkCellRendererClass.start_editing virtual function.
Parameters
cell
a GtkCellRenderer
event
a GdkEvent .
[nullable ]
widget
widget that received the event
path
widget-dependent string representation of the event location;
e.g. for GtkTreeView , a string representation of GtkTreePath
background_area
background area as passed to gtk_cell_renderer_render()
cell_area
cell area as passed to gtk_cell_renderer_render()
flags
render flags
Returns
A new GtkCellEditable for editing this
cell
, or NULL if editing is not possible.
[nullable ][transfer none ]
gtk_cell_renderer_stop_editing ()
gtk_cell_renderer_stop_editing
void
gtk_cell_renderer_stop_editing (GtkCellRenderer *cell ,
gboolean canceled );
Informs the cell renderer that the editing is stopped.
If canceled
is TRUE , the cell renderer will emit the
“editing-canceled” signal.
This function should be called by cell renderer implementations
in response to the “editing-done” signal of
GtkCellEditable .
Parameters
cell
A GtkCellRenderer
canceled
TRUE if the editing has been canceled
gtk_cell_renderer_get_fixed_size ()
gtk_cell_renderer_get_fixed_size
void
gtk_cell_renderer_get_fixed_size (GtkCellRenderer *cell ,
gint *width ,
gint *height );
Fills in width
and height
with the appropriate size of cell
.
Parameters
cell
A GtkCellRenderer
width
location to fill in with the fixed width of the cell, or NULL .
[out ][allow-none ]
height
location to fill in with the fixed height of the cell, or NULL .
[out ][allow-none ]
gtk_cell_renderer_set_fixed_size ()
gtk_cell_renderer_set_fixed_size
void
gtk_cell_renderer_set_fixed_size (GtkCellRenderer *cell ,
gint width ,
gint height );
Sets the renderer size to be explicit, independent of the properties set.
Parameters
cell
A GtkCellRenderer
width
the width of the cell renderer, or -1
height
the height of the cell renderer, or -1
gtk_cell_renderer_get_visible ()
gtk_cell_renderer_get_visible
gboolean
gtk_cell_renderer_get_visible (GtkCellRenderer *cell );
Returns the cell renderer’s visibility.
Parameters
cell
A GtkCellRenderer
Returns
TRUE if the cell renderer is visible
gtk_cell_renderer_set_visible ()
gtk_cell_renderer_set_visible
void
gtk_cell_renderer_set_visible (GtkCellRenderer *cell ,
gboolean visible );
Sets the cell renderer’s visibility.
Parameters
cell
A GtkCellRenderer
visible
the visibility of the cell
gtk_cell_renderer_get_sensitive ()
gtk_cell_renderer_get_sensitive
gboolean
gtk_cell_renderer_get_sensitive (GtkCellRenderer *cell );
Returns the cell renderer’s sensitivity.
Parameters
cell
A GtkCellRenderer
Returns
TRUE if the cell renderer is sensitive
gtk_cell_renderer_set_sensitive ()
gtk_cell_renderer_set_sensitive
void
gtk_cell_renderer_set_sensitive (GtkCellRenderer *cell ,
gboolean sensitive );
Sets the cell renderer’s sensitivity.
Parameters
cell
A GtkCellRenderer
sensitive
the sensitivity of the cell
gtk_cell_renderer_get_alignment ()
gtk_cell_renderer_get_alignment
void
gtk_cell_renderer_get_alignment (GtkCellRenderer *cell ,
gfloat *xalign ,
gfloat *yalign );
Fills in xalign
and yalign
with the appropriate values of cell
.
Parameters
cell
A GtkCellRenderer
xalign
location to fill in with the x alignment of the cell, or NULL .
[out ][allow-none ]
yalign
location to fill in with the y alignment of the cell, or NULL .
[out ][allow-none ]
gtk_cell_renderer_set_alignment ()
gtk_cell_renderer_set_alignment
void
gtk_cell_renderer_set_alignment (GtkCellRenderer *cell ,
gfloat xalign ,
gfloat yalign );
Sets the renderer’s alignment within its available space.
Parameters
cell
A GtkCellRenderer
xalign
the x alignment of the cell renderer
yalign
the y alignment of the cell renderer
gtk_cell_renderer_get_padding ()
gtk_cell_renderer_get_padding
void
gtk_cell_renderer_get_padding (GtkCellRenderer *cell ,
gint *xpad ,
gint *ypad );
Fills in xpad
and ypad
with the appropriate values of cell
.
Parameters
cell
A GtkCellRenderer
xpad
location to fill in with the x padding of the cell, or NULL .
[out ][allow-none ]
ypad
location to fill in with the y padding of the cell, or NULL .
[out ][allow-none ]
gtk_cell_renderer_set_padding ()
gtk_cell_renderer_set_padding
void
gtk_cell_renderer_set_padding (GtkCellRenderer *cell ,
gint xpad ,
gint ypad );
Sets the renderer’s padding.
Parameters
cell
A GtkCellRenderer
xpad
the x padding of the cell renderer
ypad
the y padding of the cell renderer
gtk_cell_renderer_get_state ()
gtk_cell_renderer_get_state
GtkStateFlags
gtk_cell_renderer_get_state (GtkCellRenderer *cell ,
GtkWidget *widget ,
GtkCellRendererState cell_state );
Translates the cell renderer state to GtkStateFlags ,
based on the cell renderer and widget sensitivity, and
the given GtkCellRendererState .
Parameters
cell
a GtkCellRenderer , or NULL .
[nullable ]
widget
a GtkWidget , or NULL .
[nullable ]
cell_state
cell renderer state
Returns
the widget state flags applying to cell
gtk_cell_renderer_is_activatable ()
gtk_cell_renderer_is_activatable
gboolean
gtk_cell_renderer_is_activatable (GtkCellRenderer *cell );
Checks whether the cell renderer can do something when activated.
Parameters
cell
A GtkCellRenderer
Returns
TRUE if the cell renderer can do anything when activated
gtk_cell_renderer_get_preferred_height ()
gtk_cell_renderer_get_preferred_height
void
gtk_cell_renderer_get_preferred_height
(GtkCellRenderer *cell ,
GtkWidget *widget ,
gint *minimum_size ,
gint *natural_size );
Retreives a renderer’s natural size when rendered to widget
.
Parameters
cell
a GtkCellRenderer instance
widget
the GtkWidget this cell will be rendering to
minimum_size
location to store the minimum size, or NULL .
[out ][allow-none ]
natural_size
location to store the natural size, or NULL .
[out ][allow-none ]
gtk_cell_renderer_get_preferred_height_for_width ()
gtk_cell_renderer_get_preferred_height_for_width
void
gtk_cell_renderer_get_preferred_height_for_width
(GtkCellRenderer *cell ,
GtkWidget *widget ,
gint width ,
gint *minimum_height ,
gint *natural_height );
Retreives a cell renderers’s minimum and natural height if it were rendered to
widget
with the specified width
.
Parameters
cell
a GtkCellRenderer instance
widget
the GtkWidget this cell will be rendering to
width
the size which is available for allocation
minimum_height
location for storing the minimum size, or NULL .
[out ][allow-none ]
natural_height
location for storing the preferred size, or NULL .
[out ][allow-none ]
gtk_cell_renderer_get_preferred_size ()
gtk_cell_renderer_get_preferred_size
void
gtk_cell_renderer_get_preferred_size (GtkCellRenderer *cell ,
GtkWidget *widget ,
GtkRequisition *minimum_size ,
GtkRequisition *natural_size );
Retrieves the minimum and natural size of a cell taking
into account the widget’s preference for height-for-width management.
Parameters
cell
a GtkCellRenderer instance
widget
the GtkWidget this cell will be rendering to
minimum_size
location for storing the minimum size, or NULL .
[out ][allow-none ]
natural_size
location for storing the natural size, or NULL .
[out ][allow-none ]
gtk_cell_renderer_get_preferred_width ()
gtk_cell_renderer_get_preferred_width
void
gtk_cell_renderer_get_preferred_width (GtkCellRenderer *cell ,
GtkWidget *widget ,
gint *minimum_size ,
gint *natural_size );
Retreives a renderer’s natural size when rendered to widget
.
Parameters
cell
a GtkCellRenderer instance
widget
the GtkWidget this cell will be rendering to
minimum_size
location to store the minimum size, or NULL .
[out ][allow-none ]
natural_size
location to store the natural size, or NULL .
[out ][allow-none ]
gtk_cell_renderer_get_preferred_width_for_height ()
gtk_cell_renderer_get_preferred_width_for_height
void
gtk_cell_renderer_get_preferred_width_for_height
(GtkCellRenderer *cell ,
GtkWidget *widget ,
gint height ,
gint *minimum_width ,
gint *natural_width );
Retreives a cell renderers’s minimum and natural width if it were rendered to
widget
with the specified height
.
Parameters
cell
a GtkCellRenderer instance
widget
the GtkWidget this cell will be rendering to
height
the size which is available for allocation
minimum_width
location for storing the minimum size, or NULL .
[out ][allow-none ]
natural_width
location for storing the preferred size, or NULL .
[out ][allow-none ]
gtk_cell_renderer_get_request_mode ()
gtk_cell_renderer_get_request_mode
GtkSizeRequestMode
gtk_cell_renderer_get_request_mode (GtkCellRenderer *cell );
Gets whether the cell renderer prefers a height-for-width layout
or a width-for-height layout.
Parameters
cell
a GtkCellRenderer instance
Returns
The GtkSizeRequestMode preferred by this renderer.
Property Details
The “cell-background” property
GtkCellRenderer:cell-background
“cell-background” gchar *
Cell background color as a string. Owner: GtkCellRenderer
Flags: Write
Default value: NULL
The “cell-background-rgba” property
GtkCellRenderer:cell-background-rgba
“cell-background-rgba” GdkRGBA *
Cell background as a GdkRGBA
Owner: GtkCellRenderer
Flags: Read / Write
The “cell-background-set” property
GtkCellRenderer:cell-background-set
“cell-background-set” gboolean
Whether the cell background color is set. Owner: GtkCellRenderer
Flags: Read / Write
Default value: FALSE
The “editing” property
GtkCellRenderer:editing
“editing” gboolean
Whether the cell renderer is currently in editing mode. Owner: GtkCellRenderer
Flags: Read
Default value: FALSE
The “height” property
GtkCellRenderer:height
“height” gint
The fixed height. Owner: GtkCellRenderer
Flags: Read / Write
Allowed values: >= -1
Default value: -1
The “is-expanded” property
GtkCellRenderer:is-expanded
“is-expanded” gboolean
Row is an expander row, and is expanded. Owner: GtkCellRenderer
Flags: Read / Write
Default value: FALSE
The “is-expander” property
GtkCellRenderer:is-expander
“is-expander” gboolean
Row has children. Owner: GtkCellRenderer
Flags: Read / Write
Default value: FALSE
The “mode” property
GtkCellRenderer:mode
“mode” GtkCellRendererMode
Editable mode of the CellRenderer. Owner: GtkCellRenderer
Flags: Read / Write
Default value: GTK_CELL_RENDERER_MODE_INERT
The “sensitive” property
GtkCellRenderer:sensitive
“sensitive” gboolean
Display the cell sensitive. Owner: GtkCellRenderer
Flags: Read / Write
Default value: TRUE
The “visible” property
GtkCellRenderer:visible
“visible” gboolean
Display the cell. Owner: GtkCellRenderer
Flags: Read / Write
Default value: TRUE
The “width” property
GtkCellRenderer:width
“width” gint
The fixed width. Owner: GtkCellRenderer
Flags: Read / Write
Allowed values: >= -1
Default value: -1
The “xalign” property
GtkCellRenderer:xalign
“xalign” gfloat
The x-align. Owner: GtkCellRenderer
Flags: Read / Write
Allowed values: [0,1]
Default value: 0.5
The “xpad” property
GtkCellRenderer:xpad
“xpad” guint
The xpad. Owner: GtkCellRenderer
Flags: Read / Write
Default value: 0
The “yalign” property
GtkCellRenderer:yalign
“yalign” gfloat
The y-align. Owner: GtkCellRenderer
Flags: Read / Write
Allowed values: [0,1]
Default value: 0.5
The “ypad” property
GtkCellRenderer:ypad
“ypad” guint
The ypad. Owner: GtkCellRenderer
Flags: Read / Write
Default value: 0
Signal Details
The “editing-canceled” signal
GtkCellRenderer::editing-canceled
void
user_function (GtkCellRenderer *renderer,
gpointer user_data)
This signal gets emitted when the user cancels the process of editing a
cell. For example, an editable cell renderer could be written to cancel
editing when the user presses Escape.
See also: gtk_cell_renderer_stop_editing() .
Parameters
renderer
the object which received the signal
user_data
user data set when the signal handler was connected.
Flags: Run First
The “editing-started” signal
GtkCellRenderer::editing-started
void
user_function (GtkCellRenderer *renderer,
GtkCellEditable *editable,
gchar *path,
gpointer user_data)
This signal gets emitted when a cell starts to be edited.
The intended use of this signal is to do special setup
on editable
, e.g. adding a GtkEntryCompletion or setting
up additional columns in a GtkComboBox .
See gtk_cell_editable_start_editing() for information on the lifecycle of
the editable
and a way to do setup that doesn’t depend on the renderer
.
Note that GTK+ doesn't guarantee that cell renderers will
continue to use the same kind of widget for editing in future
releases, therefore you should check the type of editable
before doing any specific setup, as in the following example:
Parameters
renderer
the object which received the signal
editable
the GtkCellEditable
path
the path identifying the edited cell
user_data
user data set when the signal handler was connected.
Flags: Run First
See Also
GtkCellEditable
docs/reference/gtk/xml/gtkeditable.xml 0000664 0001750 0001750 00000221636 13617646201 020202 0 ustar mclasen mclasen
]>
GtkEditable
3
GTK4 Library
GtkEditable
Interface for text-editing widgets
Functions
const char *
gtk_editable_get_text ()
void
gtk_editable_set_text ()
char *
gtk_editable_get_chars ()
void
gtk_editable_insert_text ()
void
gtk_editable_delete_text ()
gboolean
gtk_editable_get_selection_bounds ()
void
gtk_editable_select_region ()
void
gtk_editable_delete_selection ()
void
gtk_editable_set_position ()
int
gtk_editable_get_position ()
void
gtk_editable_set_editable ()
gboolean
gtk_editable_get_editable ()
void
gtk_editable_set_alignment ()
float
gtk_editable_get_alignment ()
int
gtk_editable_get_width_chars ()
void
gtk_editable_set_width_chars ()
int
gtk_editable_get_max_width_chars ()
void
gtk_editable_set_max_width_chars ()
gboolean
gtk_editable_get_enable_undo ()
void
gtk_editable_set_enable_undo ()
guint
gtk_editable_install_properties ()
void
gtk_editable_init_delegate ()
void
gtk_editable_finish_delegate ()
gboolean
gtk_editable_delegate_set_property ()
gboolean
gtk_editable_delegate_get_property ()
Properties
gint cursor-positionRead
gboolean editableRead / Write
gboolean enable-undoRead / Write
gint max-width-charsRead / Write
gint selection-boundRead
gchar * textRead / Write
gint width-charsRead / Write
gfloat xalignRead / Write
Signals
void changed Run Last
void delete-text Run Last
void insert-text Run Last
Types and Values
GtkEditable
Object Hierarchy
GInterface
╰── GtkEditable
Prerequisites
GtkEditable requires
GtkWidget.
Known Implementations
GtkEditable is implemented by
GtkEntry, GtkPasswordEntry, GtkSearchEntry, GtkSpinButton and GtkText.
Includes #include <gtk/gtk.h>
Description
The GtkEditable interface is an interface which should be implemented by
text editing widgets, such as GtkEntry and GtkSpinButton . It contains functions
for generically manipulating an editable widget, a large number of action
signals used for key bindings, and several signals that an application can
connect to to modify the behavior of a widget.
As an example of the latter usage, by connecting
the following handler to “insert-text” , an application
can convert all entry into a widget into uppercase.
Forcing entry to uppercase. ;
void
insert_text_handler (GtkEditable *editable,
const char *text,
int length,
int *position,
gpointer data)
{
char *result = g_utf8_strup (text, length);
g_signal_handlers_block_by_func (editable,
(gpointer) insert_text_handler, data);
gtk_editable_insert_text (editable, result, length, position);
g_signal_handlers_unblock_by_func (editable,
(gpointer) insert_text_handler, data);
g_signal_stop_emission_by_name (editable, "insert_text");
g_free (result);
}
]]>
Implementing GtkEditable The most likely scenario for implementing GtkEditable on your own widget
is that you will embed a GtkText inside a complex widget, and want to
delegate the editable functionality to that text widget. GtkEditable
provides some utility functions to make this easy.
In your class_init function, call gtk_editable_install_properties() ,
passing the first available property ID:
In your interface_init function for the GtkEditable interface, provide
an implementation for the get_delegate vfunc that returns your text widget:
text_widget);
}
static void
my_editable_init (GtkEditableInterface *iface)
{
iface->get_delegate = get_editable_delegate;
}
]]>
You don't need to provide any other vfuncs. The default implementations
work by forwarding to the delegate that the get_delegate() vfunc returns.
In your instance_init function, create your text widget, and then call
gtk_editable_init_delegate() :
text_widget = gtk_text_new ();
gtk_editable_init_delegate (GTK_EDITABLE (self));
...
}
]]>
In your dispose function, call gtk_editable_finish_delegate() before
destroying your text widget:
text_widget, gtk_widget_unparent);
...
}
]]>
Finally, use gtk_editable_delegate_set_property() in your set_property
function (and similar for get_property), to set the editable properties:
Functions
gtk_editable_get_text ()
gtk_editable_get_text
const char *
gtk_editable_get_text (GtkEditable *editable );
Retrieves the contents of editable
. The returned string is
owned by GTK and must not be modified or freed.
Parameters
editable
a GtkEditable
Returns
a pointer to the contents of the editable.
[transfer none ]
gtk_editable_set_text ()
gtk_editable_set_text
void
gtk_editable_set_text (GtkEditable *editable ,
const char *text );
Sets the text in the editable to the given value,
replacing the current contents.
Parameters
editable
a GtkEditable
text
the text to set
gtk_editable_get_chars ()
gtk_editable_get_chars
char *
gtk_editable_get_chars (GtkEditable *editable ,
int start_pos ,
int end_pos );
Retrieves a sequence of characters. The characters that are retrieved
are those characters at positions from start_pos
up to, but not
including end_pos
. If end_pos
is negative, then the characters
retrieved are those characters from start_pos
to the end of the text.
Note that positions are specified in characters, not bytes.
Parameters
editable
a GtkEditable
start_pos
start of text
end_pos
end of text
Returns
a pointer to the contents of the widget as a
string. This string is allocated by the GtkEditable
implementation and should be freed by the caller.
[transfer full ]
gtk_editable_insert_text ()
gtk_editable_insert_text
void
gtk_editable_insert_text (GtkEditable *editable ,
const char *text ,
int length ,
int *position );
Inserts length
bytes of text
into the contents of the
widget, at position position
.
Note that the position is in characters, not in bytes.
The function updates position
to point after the newly inserted text.
[virtual do_insert_text]
Parameters
editable
a GtkEditable
text
the text to append
length
the length of the text in bytes, or -1
position
location of the position text will be inserted at.
[inout ]
gtk_editable_delete_text ()
gtk_editable_delete_text
void
gtk_editable_delete_text (GtkEditable *editable ,
int start_pos ,
int end_pos );
Deletes a sequence of characters. The characters that are deleted are
those characters at positions from start_pos
up to, but not including
end_pos
. If end_pos
is negative, then the characters deleted
are those from start_pos
to the end of the text.
Note that the positions are specified in characters, not bytes.
[virtual do_delete_text]
Parameters
editable
a GtkEditable
start_pos
start position
end_pos
end position
gtk_editable_get_selection_bounds ()
gtk_editable_get_selection_bounds
gboolean
gtk_editable_get_selection_bounds (GtkEditable *editable ,
int *start_pos ,
int *end_pos );
Retrieves the selection bound of the editable.
start_pos
will be filled with the start of the selection and
end_pos
with end. If no text was selected both will be identical
and FALSE will be returned.
Note that positions are specified in characters, not bytes.
Parameters
editable
a GtkEditable
start_pos
location to store the starting position, or NULL .
[out ][allow-none ]
end_pos
location to store the end position, or NULL .
[out ][allow-none ]
Returns
TRUE if there is a non-empty selection, FALSE otherwise
gtk_editable_select_region ()
gtk_editable_select_region
void
gtk_editable_select_region (GtkEditable *editable ,
int start_pos ,
int end_pos );
Selects a region of text.
The characters that are selected are those characters at positions
from start_pos
up to, but not including end_pos
. If end_pos
is
negative, then the characters selected are those characters from
start_pos
to the end of the text.
Note that positions are specified in characters, not bytes.
[virtual set_selection_bounds]
Parameters
editable
a GtkEditable
start_pos
start of region
end_pos
end of region
gtk_editable_delete_selection ()
gtk_editable_delete_selection
void
gtk_editable_delete_selection (GtkEditable *editable );
Deletes the currently selected text of the editable.
This call doesn’t do anything if there is no selected text.
Parameters
editable
a GtkEditable
gtk_editable_set_position ()
gtk_editable_set_position
void
gtk_editable_set_position (GtkEditable *editable ,
int position );
Sets the cursor position in the editable to the given value.
The cursor is displayed before the character with the given (base 0)
index in the contents of the editable. The value must be less than or
equal to the number of characters in the editable. A value of -1
indicates that the position should be set after the last character
of the editable. Note that position
is in characters, not in bytes.
Parameters
editable
a GtkEditable
position
the position of the cursor
gtk_editable_get_position ()
gtk_editable_get_position
int
gtk_editable_get_position (GtkEditable *editable );
Retrieves the current position of the cursor relative to the start
of the content of the editable.
Note that this position is in characters, not in bytes.
Parameters
editable
a GtkEditable
Returns
the cursor position
gtk_editable_set_editable ()
gtk_editable_set_editable
void
gtk_editable_set_editable (GtkEditable *editable ,
gboolean is_editable );
Determines if the user can edit the text
in the editable widget or not.
Parameters
editable
a GtkEditable
is_editable
TRUE if the user is allowed to edit the text
in the widget
gtk_editable_get_editable ()
gtk_editable_get_editable
gboolean
gtk_editable_get_editable (GtkEditable *editable );
Retrieves whether editable
is editable.
See gtk_editable_set_editable() .
Parameters
editable
a GtkEditable
Returns
TRUE if editable
is editable.
gtk_editable_set_alignment ()
gtk_editable_set_alignment
void
gtk_editable_set_alignment (GtkEditable *editable ,
float xalign );
Sets the alignment for the contents of the editable.
This controls the horizontal positioning of the contents when
the displayed text is shorter than the width of the editable.
Parameters
editable
a GtkEditable
xalign
The horizontal alignment, from 0 (left) to 1 (right).
Reversed for RTL layouts
gtk_editable_get_alignment ()
gtk_editable_get_alignment
float
gtk_editable_get_alignment (GtkEditable *editable );
Gets the value set by gtk_editable_set_alignment() .
Parameters
editable
a GtkEditable
Returns
the alignment
gtk_editable_get_width_chars ()
gtk_editable_get_width_chars
int
gtk_editable_get_width_chars (GtkEditable *editable );
Gets the value set by gtk_editable_set_width_chars() .
Parameters
editable
a GtkEditable
Returns
number of chars to request space for, or negative if unset
gtk_editable_set_width_chars ()
gtk_editable_set_width_chars
void
gtk_editable_set_width_chars (GtkEditable *editable ,
int n_chars );
Changes the size request of the editable to be about the
right size for n_chars
characters.
Note that it changes the size request, the size can still
be affected by how you pack the widget into containers.
If n_chars
is -1, the size reverts to the default size.
Parameters
editable
a GtkEditable
n_chars
width in chars
gtk_editable_get_max_width_chars ()
gtk_editable_get_max_width_chars
int
gtk_editable_get_max_width_chars (GtkEditable *editable );
Retrieves the desired maximum width of editable
, in characters.
See gtk_editable_set_max_width_chars() .
Parameters
editable
a GtkEditable
Returns
the maximum width of the entry, in characters
gtk_editable_set_max_width_chars ()
gtk_editable_set_max_width_chars
void
gtk_editable_set_max_width_chars (GtkEditable *editable ,
int n_chars );
Sets the desired maximum width in characters of editable
.
Parameters
editable
a GtkEditable
n_chars
the new desired maximum width, in characters
gtk_editable_get_enable_undo ()
gtk_editable_get_enable_undo
gboolean
gtk_editable_get_enable_undo (GtkEditable *editable );
Gets if undo/redo actions are enabled for editable
Parameters
editable
a GtkEditable
Returns
TRUE if undo is enabled
gtk_editable_set_enable_undo ()
gtk_editable_set_enable_undo
void
gtk_editable_set_enable_undo (GtkEditable *editable ,
gboolean enable_undo );
If enabled, changes to editable
will be saved for undo/redo actions.
This results in an additional copy of text changes and are not stored in
secure memory. As such, undo is forcefully disabled when “visibility”
is set to FALSE .
Parameters
editable
a GtkEditable
enable_undo
if undo/redo should be enabled
gtk_editable_install_properties ()
gtk_editable_install_properties
guint
gtk_editable_install_properties (GObjectClass *object_class ,
guint first_prop );
Installs the GtkEditable properties for class
.
This is a helper function that should be called in class_init,
after installing your own properties.
To handle the properties in your set_property and get_property
functions, you can either use gtk_editable_delegate_set_property()
and gtk_editable_delegate_get_property() (if you are using a delegate),
or remember the first_prop
offset and add it to the values in the
GtkEditableProperties enumeration to get the property IDs for these
properties.
Parameters
object_class
a GObjectClass
first_prop
property ID to use for the first property
Returns
the number of properties that were installed
gtk_editable_init_delegate ()
gtk_editable_init_delegate
void
gtk_editable_init_delegate (GtkEditable *editable );
Sets up a delegate for GtkEditable , assuming that the
get_delegate vfunc in the GtkEditable interface has been
set up for the editable
's type.
This is a helper function that should be called in instance init,
after creating the delegate object.
Parameters
editable
a GtkEditable
gtk_editable_finish_delegate ()
gtk_editable_finish_delegate
void
gtk_editable_finish_delegate (GtkEditable *editable );
Undoes the setup done by gtk_editable_init_delegate() .
This is a helper function that should be called from dispose,
before removing the delegate object.
Parameters
editable
a GtkEditable
gtk_editable_delegate_set_property ()
gtk_editable_delegate_set_property
gboolean
gtk_editable_delegate_set_property (GObject *object ,
guint prop_id ,
const GValue *value ,
GParamSpec *pspec );
Sets a property on the GtkEditable delegate for object
.
This is a helper function that should be called in set_property,
before handling your own properties.
Parameters
object
a GObject
prop_id
a property ID
value
value to set
pspec
the GParamSpec for the property
Returns
TRUE if the property was found
gtk_editable_delegate_get_property ()
gtk_editable_delegate_get_property
gboolean
gtk_editable_delegate_get_property (GObject *object ,
guint prop_id ,
GValue *value ,
GParamSpec *pspec );
Gets a property of the GtkEditable delegate for object
.
This is helper function that should be called in get_property,
before handling your own properties.
Parameters
object
a GObject
prop_id
a property ID
value
value to set
pspec
the GParamSpec for the property
Returns
TRUE if the property was found
Property Details
The “cursor-position” property
GtkEditable:cursor-position
“cursor-position” gint
The current position of the insertion cursor in chars. Owner: GtkEditable
Flags: Read
Allowed values: [0,65535]
Default value: 0
The “editable” property
GtkEditable:editable
“editable” gboolean
Whether the entry contents can be edited. Owner: GtkEditable
Flags: Read / Write
Default value: TRUE
The “enable-undo” property
GtkEditable:enable-undo
“enable-undo” gboolean
If undo/redo should be enabled for the editable. Owner: GtkEditable
Flags: Read / Write
Default value: TRUE
The “max-width-chars” property
GtkEditable:max-width-chars
“max-width-chars” gint
The desired maximum width of the entry, in characters. Owner: GtkEditable
Flags: Read / Write
Allowed values: >= -1
Default value: -1
The “selection-bound” property
GtkEditable:selection-bound
“selection-bound” gint
The position of the opposite end of the selection from the cursor in chars. Owner: GtkEditable
Flags: Read
Allowed values: [0,65535]
Default value: 0
The “text” property
GtkEditable:text
“text” gchar *
The contents of the entry. Owner: GtkEditable
Flags: Read / Write
Default value: ""
The “width-chars” property
GtkEditable:width-chars
“width-chars” gint
Number of characters to leave space for in the entry. Owner: GtkEditable
Flags: Read / Write
Allowed values: >= -1
Default value: -1
The “xalign” property
GtkEditable:xalign
“xalign” gfloat
The horizontal alignment, from 0 (left) to 1 (right). Reversed for RTL layouts. Owner: GtkEditable
Flags: Read / Write
Allowed values: [0,1]
Default value: 0
Signal Details
The “changed” signal
GtkEditable::changed
void
user_function (GtkEditable *editable,
gpointer user_data)
The ::changed signal is emitted at the end of a single
user-visible operation on the contents of the GtkEditable .
E.g., a paste operation that replaces the contents of the
selection will cause only one signal emission (even though it
is implemented by first deleting the selection, then inserting
the new content, and may cause multiple ::notify::text signals
to be emitted).
Parameters
editable
the object which received the signal
user_data
user data set when the signal handler was connected.
Flags: Run Last
The “delete-text” signal
GtkEditable::delete-text
void
user_function (GtkEditable *editable,
gint start_pos,
gint end_pos,
gpointer user_data)
This signal is emitted when text is deleted from
the widget by the user. The default handler for
this signal will normally be responsible for deleting
the text, so by connecting to this signal and then
stopping the signal with g_signal_stop_emission() , it
is possible to modify the range of deleted text, or
prevent it from being deleted entirely. The start_pos
and end_pos
parameters are interpreted as for
gtk_editable_delete_text() .
Parameters
editable
the object which received the signal
start_pos
the starting position
end_pos
the end position
user_data
user data set when the signal handler was connected.
Flags: Run Last
The “insert-text” signal
GtkEditable::insert-text
void
user_function (GtkEditable *editable,
gchar *text,
gint length,
gpointer position,
gpointer user_data)
This signal is emitted when text is inserted into
the widget by the user. The default handler for
this signal will normally be responsible for inserting
the text, so by connecting to this signal and then
stopping the signal with g_signal_stop_emission() , it
is possible to modify the inserted text, or prevent
it from being inserted entirely.
Parameters
editable
the object which received the signal
text
the new text to insert
length
the length of the new text, in bytes,
or -1 if new_text is nul-terminated
position
the position, in characters,
at which to insert the new text. this is an in-out
parameter. After the signal emission is finished, it
should point after the newly inserted text.
[inout ][type int]
user_data
user data set when the signal handler was connected.
Flags: Run Last
docs/reference/gtk/xml/gtkcelleditable.xml 0000664 0001750 0001750 00000037607 13617646203 021047 0 ustar mclasen mclasen
]>
GtkCellEditable
3
GTK4 Library
GtkCellEditable
Interface for widgets that can be used for editing cells
Functions
void
gtk_cell_editable_start_editing ()
void
gtk_cell_editable_editing_done ()
void
gtk_cell_editable_remove_widget ()
Properties
gboolean editing-canceledRead / Write
Signals
void editing-done Run Last
void remove-widget Run Last
Types and Values
GtkCellEditable
struct GtkCellEditableIface
Object Hierarchy
GInterface
╰── GtkCellEditable
Prerequisites
GtkCellEditable requires
GtkWidget.
Known Implementations
GtkCellEditable is implemented by
GtkComboBox, GtkComboBoxText, GtkEntry and GtkSpinButton.
Includes #include <gtk/gtk.h>
Description
The GtkCellEditable interface must be implemented for widgets to be usable
to edit the contents of a GtkTreeView cell. It provides a way to specify how
temporary widgets should be configured for editing, get the new value, etc.
Functions
gtk_cell_editable_start_editing ()
gtk_cell_editable_start_editing
void
gtk_cell_editable_start_editing (GtkCellEditable *cell_editable ,
GdkEvent *event );
Begins editing on a cell_editable
.
The GtkCellRenderer for the cell creates and returns a GtkCellEditable from
gtk_cell_renderer_start_editing() , configured for the GtkCellRenderer type.
gtk_cell_editable_start_editing() can then set up cell_editable
suitably for
editing a cell, e.g. making the Esc key emit “editing-done” .
Note that the cell_editable
is created on-demand for the current edit; its
lifetime is temporary and does not persist across other edits and/or cells.
Parameters
cell_editable
A GtkCellEditable
event
The GdkEvent that began the editing process, or
NULL if editing was initiated programmatically.
[nullable ]
gtk_cell_editable_editing_done ()
gtk_cell_editable_editing_done
void
gtk_cell_editable_editing_done (GtkCellEditable *cell_editable );
Emits the “editing-done” signal.
Parameters
cell_editable
A GtkCellEditable
gtk_cell_editable_remove_widget ()
gtk_cell_editable_remove_widget
void
gtk_cell_editable_remove_widget (GtkCellEditable *cell_editable );
Emits the “remove-widget” signal.
Parameters
cell_editable
A GtkCellEditable
Property Details
The “editing-canceled” property
GtkCellEditable:editing-canceled
“editing-canceled” gboolean
Indicates whether editing on the cell has been canceled.
Owner: GtkCellEditable
Flags: Read / Write
Default value: FALSE
Signal Details
The “editing-done” signal
GtkCellEditable::editing-done
void
user_function (GtkCellEditable *cell_editable,
gpointer user_data)
This signal is a sign for the cell renderer to update its
value from the cell_editable
.
Implementations of GtkCellEditable are responsible for
emitting this signal when they are done editing, e.g.
GtkEntry emits this signal when the user presses Enter. Typical things to
do in a handler for ::editing-done are to capture the edited value,
disconnect the cell_editable
from signals on the GtkCellRenderer , etc.
gtk_cell_editable_editing_done() is a convenience method
for emitting “editing-done” .
Parameters
cell_editable
the object on which the signal was emitted
user_data
user data set when the signal handler was connected.
Flags: Run Last
The “remove-widget” signal
GtkCellEditable::remove-widget
void
user_function (GtkCellEditable *cell_editable,
gpointer user_data)
This signal is meant to indicate that the cell is finished
editing, and the cell_editable
widget is being removed and may
subsequently be destroyed.
Implementations of GtkCellEditable are responsible for
emitting this signal when they are done editing. It must
be emitted after the “editing-done” signal,
to give the cell renderer a chance to update the cell's value
before the widget is removed.
gtk_cell_editable_remove_widget() is a convenience method
for emitting “remove-widget” .
Parameters
cell_editable
the object on which the signal was emitted
user_data
user data set when the signal handler was connected.
Flags: Run Last
See Also
GtkCellRenderer
docs/reference/gtk/xml/gtktext.xml 0000664 0001750 0001750 00000310411 13617646201 017403 0 ustar mclasen mclasen
]>
GtkText
3
GTK4 Library
GtkText
A simple single-line text entry field
Functions
GtkWidget *
gtk_text_new ()
GtkWidget *
gtk_text_new_with_buffer ()
void
gtk_text_set_buffer ()
GtkEntryBuffer *
gtk_text_get_buffer ()
void
gtk_text_set_visibility ()
gboolean
gtk_text_get_visibility ()
void
gtk_text_set_invisible_char ()
gunichar
gtk_text_get_invisible_char ()
void
gtk_text_unset_invisible_char ()
void
gtk_text_set_overwrite_mode ()
gboolean
gtk_text_get_overwrite_mode ()
void
gtk_text_set_max_length ()
gint
gtk_text_get_max_length ()
guint16
gtk_text_get_text_length ()
void
gtk_text_set_activates_default ()
gboolean
gtk_text_get_activates_default ()
void
gtk_text_set_placeholder_text ()
const char *
gtk_text_get_placeholder_text ()
void
gtk_text_set_input_purpose ()
GtkInputPurpose
gtk_text_get_input_purpose ()
void
gtk_text_set_input_hints ()
GtkInputHints
gtk_text_get_input_hints ()
void
gtk_text_set_attributes ()
PangoAttrList *
gtk_text_get_attributes ()
void
gtk_text_set_tabs ()
PangoTabArray *
gtk_text_get_tabs ()
gboolean
gtk_text_grab_focus_without_selecting ()
void
gtk_text_set_extra_menu ()
GMenuModel *
gtk_text_get_extra_menu ()
Properties
gboolean activates-defaultRead / Write
PangoAttrList * attributesRead / Write
GtkEntryBuffer * bufferRead / Write / Construct
gboolean enable-emoji-completionRead / Write
GMenuModel * extra-menuRead / Write
gchar * im-moduleRead / Write
GtkInputHints input-hintsRead / Write
GtkInputPurpose input-purposeRead / Write
guint invisible-charRead / Write
gboolean invisible-char-setRead / Write
gint max-lengthRead / Write
gboolean overwrite-modeRead / Write
gchar * placeholder-textRead / Write
gboolean propagate-text-widthRead / Write
gint scroll-offsetRead
PangoTabArray * tabsRead / Write
gboolean truncate-multilineRead / Write
gboolean visibilityRead / Write
Signals
void activate Action
void backspace Action
void copy-clipboard Action
void cut-clipboard Action
void delete-from-cursor Action
void insert-at-cursor Action
void insert-emoji Action
void move-cursor Action
void paste-clipboard Action
void preedit-changed Action
void toggle-overwrite Action
Actions
text.undo
text.redo
clipboard.cut
clipboard.copy
clipboard.paste
selection.delete
selection.select-all
misc.insert-emoji
misc.toggle-visibility
Types and Values
struct GtkText
struct GtkTextClass
Object Hierarchy
GObject
╰── GInitiallyUnowned
╰── GtkWidget
╰── GtkText
Implemented Interfaces
GtkText implements
AtkImplementorIface, GtkBuildable, GtkConstraintTarget and GtkEditable.
Includes #include <gtk/gtk.h>
Description
The GtkText widget is a single line text entry widget.
A fairly large set of key bindings are supported by default. If the
entered text is longer than the allocation of the widget, the widget
will scroll so that the cursor position is visible.
When using an entry for passwords and other sensitive information,
it can be put into “password mode” using gtk_text_set_visibility() .
In this mode, entered text is displayed using a “invisible” character.
By default, GTK picks the best invisible character that is available
in the current font, but it can be changed with gtk_text_set_invisible_char() .
If you are looking to add icons or progress display in an entry, look
at GtkEntry . There other alternatives for more specialized use cases,
such as GtkSearchEntry .
If you need multi-line editable text, look at GtkTextView .
CSS nodes
GtkText has a main node with the name text. Depending on the properties
of the widget, the .read-only style class may appear.
When the entry has a selection, it adds a subnode with the name selection.
When the entry is in overwrite mode, it adds a subnode with the name block-cursor
that determines how the block cursor is drawn.
The CSS node for a context menu is added as a subnode below text as well.
The undershoot nodes are used to draw the underflow indication when content
is scrolled out of view. These nodes get the .left and .right style classes
added depending on where the indication is drawn.
When touch is used and touch selection handles are shown, they are using
CSS nodes with name cursor-handle. They get the .top or .bottom style class
depending on where they are shown in relation to the selection. If there is
just a single handle for the text cursor, it gets the style class .insertion-cursor.
Functions
gtk_text_new ()
gtk_text_new
GtkWidget *
gtk_text_new (void );
Creates a new self.
Returns
a new GtkText .
gtk_text_new_with_buffer ()
gtk_text_new_with_buffer
GtkWidget *
gtk_text_new_with_buffer (GtkEntryBuffer *buffer );
Creates a new self with the specified text buffer.
Parameters
buffer
The buffer to use for the new GtkText .
Returns
a new GtkText
gtk_text_set_buffer ()
gtk_text_set_buffer
void
gtk_text_set_buffer (GtkText *self ,
GtkEntryBuffer *buffer );
Set the GtkEntryBuffer object which holds the text for
this widget.
Parameters
self
a GtkText
buffer
a GtkEntryBuffer
gtk_text_get_buffer ()
gtk_text_get_buffer
GtkEntryBuffer *
gtk_text_get_buffer (GtkText *self );
Get the GtkEntryBuffer object which holds the text for
this self.
Parameters
self
a GtkText
Returns
A GtkEntryBuffer object.
[transfer none ]
gtk_text_set_visibility ()
gtk_text_set_visibility
void
gtk_text_set_visibility (GtkText *self ,
gboolean visible );
Sets whether the contents of the self are visible or not.
When visibility is set to FALSE , characters are displayed
as the invisible char, and will also appear that way when
the text in the self widget is copied to the clipboard.
By default, GTK picks the best invisible character available
in the current font, but it can be changed with
gtk_text_set_invisible_char() .
Note that you probably want to set “input-purpose”
to GTK_INPUT_PURPOSE_PASSWORD or GTK_INPUT_PURPOSE_PIN to
inform input methods about the purpose of this self,
in addition to setting visibility to FALSE .
Parameters
self
a GtkText
visible
TRUE if the contents of the self are displayed
as plaintext
gtk_text_get_visibility ()
gtk_text_get_visibility
gboolean
gtk_text_get_visibility (GtkText *self );
Retrieves whether the text in self
is visible.
See gtk_text_set_visibility() .
Parameters
self
a GtkText
Returns
TRUE if the text is currently visible
gtk_text_set_invisible_char ()
gtk_text_set_invisible_char
void
gtk_text_set_invisible_char (GtkText *self ,
gunichar ch );
Sets the character to use in place of the actual text when
gtk_text_set_visibility() has been called to set text visibility
to FALSE . i.e. this is the character used in “password mode” to
show the user how many characters have been typed.
By default, GTK picks the best invisible char available in the
current font. If you set the invisible char to 0, then the user
will get no feedback at all; there will be no text on the screen
as they type.
Parameters
self
a GtkText
ch
a Unicode character
gtk_text_get_invisible_char ()
gtk_text_get_invisible_char
gunichar
gtk_text_get_invisible_char (GtkText *self );
Retrieves the character displayed in place of the real characters
for entries with visibility set to false.
See gtk_text_set_invisible_char() .
Parameters
self
a GtkText
Returns
the current invisible char, or 0, if the self does not
show invisible text at all.
gtk_text_unset_invisible_char ()
gtk_text_unset_invisible_char
void
gtk_text_unset_invisible_char (GtkText *self );
Unsets the invisible char previously set with
gtk_text_set_invisible_char() . So that the
default invisible char is used again.
Parameters
self
a GtkText
gtk_text_set_overwrite_mode ()
gtk_text_set_overwrite_mode
void
gtk_text_set_overwrite_mode (GtkText *self ,
gboolean overwrite );
Sets whether the text is overwritten when typing in the GtkText .
Parameters
self
a GtkText
overwrite
new value
gtk_text_get_overwrite_mode ()
gtk_text_get_overwrite_mode
gboolean
gtk_text_get_overwrite_mode (GtkText *self );
Gets the value set by gtk_text_set_overwrite_mode() .
Parameters
self
a GtkText
Returns
whether the text is overwritten when typing.
gtk_text_set_max_length ()
gtk_text_set_max_length
void
gtk_text_set_max_length (GtkText *self ,
int length );
Sets the maximum allowed length of the contents of the widget.
If the current contents are longer than the given length, then
they will be truncated to fit.
This is equivalent to getting self
's GtkEntryBuffer and
calling gtk_entry_buffer_set_max_length() on it.
]|
Parameters
self
a GtkText
length
the maximum length of the self, or 0 for no maximum.
(other than the maximum length of entries.) The value passed in will
be clamped to the range 0-65536.
gtk_text_get_max_length ()
gtk_text_get_max_length
gint
gtk_text_get_max_length (GtkText *self );
Retrieves the maximum allowed length of the text in
self
. See gtk_text_set_max_length() .
This is equivalent to getting self
's GtkEntryBuffer and
calling gtk_entry_buffer_get_max_length() on it.
Parameters
self
a GtkText
Returns
the maximum allowed number of characters
in GtkText , or 0 if there is no maximum.
gtk_text_get_text_length ()
gtk_text_get_text_length
guint16
gtk_text_get_text_length (GtkText *self );
Retrieves the current length of the text in
self
.
This is equivalent to getting self
's GtkEntryBuffer and
calling gtk_entry_buffer_get_length() on it.
Parameters
self
a GtkText
Returns
the current number of characters
in GtkText , or 0 if there are none.
gtk_text_set_activates_default ()
gtk_text_set_activates_default
void
gtk_text_set_activates_default (GtkText *self ,
gboolean activates );
If activates
is TRUE , pressing Enter in the self
will activate the default
widget for the window containing the self. This usually means that
the dialog box containing the self will be closed, since the default
widget is usually one of the dialog buttons.
Parameters
self
a GtkText
activates
TRUE to activate window’s default widget on Enter keypress
gtk_text_get_activates_default ()
gtk_text_get_activates_default
gboolean
gtk_text_get_activates_default (GtkText *self );
Retrieves the value set by gtk_text_set_activates_default() .
Parameters
self
a GtkText
Returns
TRUE if the self will activate the default widget
gtk_text_set_placeholder_text ()
gtk_text_set_placeholder_text
void
gtk_text_set_placeholder_text (GtkText *self ,
const char *text );
Sets text to be displayed in self
when it is empty.
This can be used to give a visual hint of the expected
contents of the self.
Parameters
self
a GtkText
text
a string to be displayed when self
is empty and unfocused, or NULL .
[nullable ]
gtk_text_get_placeholder_text ()
gtk_text_get_placeholder_text
const char *
gtk_text_get_placeholder_text (GtkText *self );
Retrieves the text that will be displayed when self
is empty and unfocused
Parameters
self
a GtkText
Returns
a pointer to the placeholder text as a string.
This string points to internally allocated storage in the widget and must
not be freed, modified or stored. If no placeholder text has been set,
NULL will be returned.
[nullable ][transfer none ]
gtk_text_set_input_purpose ()
gtk_text_set_input_purpose
void
gtk_text_set_input_purpose (GtkText *self ,
GtkInputPurpose purpose );
Sets the “input-purpose” property which
can be used by on-screen keyboards and other input
methods to adjust their behaviour.
Parameters
self
a GtkText
purpose
the purpose
gtk_text_get_input_purpose ()
gtk_text_get_input_purpose
GtkInputPurpose
gtk_text_get_input_purpose (GtkText *self );
Gets the value of the “input-purpose” property.
Parameters
self
a GtkText
gtk_text_set_input_hints ()
gtk_text_set_input_hints
void
gtk_text_set_input_hints (GtkText *self ,
GtkInputHints hints );
Sets the “input-hints” property, which
allows input methods to fine-tune their behaviour.
Parameters
self
a GtkText
hints
the hints
gtk_text_get_input_hints ()
gtk_text_get_input_hints
GtkInputHints
gtk_text_get_input_hints (GtkText *self );
Gets the value of the “input-hints” property.
Parameters
self
a GtkText
gtk_text_set_attributes ()
gtk_text_set_attributes
void
gtk_text_set_attributes (GtkText *self ,
PangoAttrList *attrs );
Sets a PangoAttrList ; the attributes in the list are applied to the
text.
Parameters
self
a GtkText
attrs
a PangoAttrList or NULL to unset.
[nullable ]
gtk_text_get_attributes ()
gtk_text_get_attributes
PangoAttrList *
gtk_text_get_attributes (GtkText *self );
Gets the attribute list that was set on the self using
gtk_text_set_attributes() , if any.
Parameters
self
a GtkText
Returns
the attribute list, or NULL
if none was set.
[transfer none ][nullable ]
gtk_text_set_tabs ()
gtk_text_set_tabs
void
gtk_text_set_tabs (GtkText *self ,
PangoTabArray *tabs );
Sets a PangoTabArray ; the tabstops in the array are applied to the self
text.
Parameters
self
a GtkText
tabs
a PangoTabArray .
[nullable ]
gtk_text_get_tabs ()
gtk_text_get_tabs
PangoTabArray *
gtk_text_get_tabs (GtkText *self );
Gets the tabstops that were set on the self using gtk_text_set_tabs() , if
any.
Parameters
self
a GtkText
Returns
the tabstops, or NULL if none was set.
[nullable ][transfer none ]
gtk_text_grab_focus_without_selecting ()
gtk_text_grab_focus_without_selecting
gboolean
gtk_text_grab_focus_without_selecting (GtkText *self );
Causes self
to have keyboard focus.
It behaves like gtk_widget_grab_focus() ,
except that it doesn't select the contents of the self.
You only want to call this on some special entries
which the user usually doesn't want to replace all text in,
such as search-as-you-type entries.
Parameters
self
a GtkText
Returns
TRUE if focus is now inside self
Property Details
The “activates-default” property
GtkText:activates-default
“activates-default” gboolean
Whether to activate the default widget (such as the default button in a dialog) when Enter is pressed. Owner: GtkText
Flags: Read / Write
Default value: FALSE
The “attributes” property
GtkText:attributes
“attributes” PangoAttrList *
A list of Pango attributes to apply to the text of the self.
This is mainly useful to change the size or weight of the text.
The PangoAttribute 's start_index
and end_index
must refer to the
GtkEntryBuffer text, i.e. without the preedit string.
Owner: GtkText
Flags: Read / Write
The “buffer” property
GtkText:buffer
“buffer” GtkEntryBuffer *
Text buffer object which actually stores self text. Owner: GtkText
Flags: Read / Write / Construct
The “enable-emoji-completion” property
GtkText:enable-emoji-completion
“enable-emoji-completion” gboolean
Whether to suggest Emoji replacements. Owner: GtkText
Flags: Read / Write
Default value: FALSE
The “im-module” property
GtkText:im-module
“im-module” gchar *
Which IM (input method) module should be used for this self.
See GtkIMContext .
Setting this to a non-NULL value overrides the
system-wide IM module setting. See the GtkSettings
“gtk-im-module” property.
Owner: GtkText
Flags: Read / Write
Default value: NULL
The “input-hints” property
GtkText:input-hints
“input-hints” GtkInputHints
Additional hints (beyond “input-purpose” ) that
allow input methods to fine-tune their behaviour.
Owner: GtkText
Flags: Read / Write
The “input-purpose” property
GtkText:input-purpose
“input-purpose” GtkInputPurpose
The purpose of this text field.
This property can be used by on-screen keyboards and other input
methods to adjust their behaviour.
Note that setting the purpose to GTK_INPUT_PURPOSE_PASSWORD or
GTK_INPUT_PURPOSE_PIN is independent from setting
“visibility” .
Owner: GtkText
Flags: Read / Write
Default value: GTK_INPUT_PURPOSE_FREE_FORM
The “invisible-char” property
GtkText:invisible-char
“invisible-char” guint
The character to use when masking self contents (in “password mode”). Owner: GtkText
Flags: Read / Write
Default value: '*'
The “invisible-char-set” property
GtkText:invisible-char-set
“invisible-char-set” gboolean
Whether the invisible char has been set for the GtkText .
Owner: GtkText
Flags: Read / Write
Default value: FALSE
The “max-length” property
GtkText:max-length
“max-length” gint
Maximum number of characters for this self. Zero if no maximum. Owner: GtkText
Flags: Read / Write
Allowed values: [0,65535]
Default value: 0
The “overwrite-mode” property
GtkText:overwrite-mode
“overwrite-mode” gboolean
If text is overwritten when typing in the GtkText .
Owner: GtkText
Flags: Read / Write
Default value: FALSE
The “placeholder-text” property
GtkText:placeholder-text
“placeholder-text” gchar *
The text that will be displayed in the GtkText when it is empty
and unfocused.
Owner: GtkText
Flags: Read / Write
Default value: NULL
The “propagate-text-width” property
GtkText:propagate-text-width
“propagate-text-width” gboolean
Whether the entry should grow and shrink with the content. Owner: GtkText
Flags: Read / Write
Default value: FALSE
The “scroll-offset” property
GtkText:scroll-offset
“scroll-offset” gint
Number of pixels of the self scrolled off the screen to the left. Owner: GtkText
Flags: Read
Allowed values: >= 0
Default value: 0
The “tabs” property
GtkText:tabs
“tabs” PangoTabArray *
A list of tabstops to apply to the text of the self.
Owner: GtkText
Flags: Read / Write
The “truncate-multiline” property
GtkText:truncate-multiline
“truncate-multiline” gboolean
When TRUE , pasted multi-line text is truncated to the first line.
Owner: GtkText
Flags: Read / Write
Default value: FALSE
The “visibility” property
GtkText:visibility
“visibility” gboolean
FALSE displays the “invisible char” instead of the actual text (password mode). Owner: GtkText
Flags: Read / Write
Default value: TRUE
Signal Details
The “activate” signal
GtkText::activate
void
user_function (GtkText *self,
gpointer user_data)
The ::activate signal is emitted when the user hits
the Enter key.
The default bindings for this signal are all forms of the Enter key.
Parameters
self
The self on which the signal is emitted
user_data
user data set when the signal handler was connected.
Flags: Action
The “backspace” signal
GtkText::backspace
void
user_function (GtkText *self,
gpointer user_data)
The ::backspace signal is a
keybinding signal
which gets emitted when the user asks for it.
The default bindings for this signal are
Backspace and Shift-Backspace.
Parameters
self
the object which received the signal
user_data
user data set when the signal handler was connected.
Flags: Action
The “copy-clipboard” signal
GtkText::copy-clipboard
void
user_function (GtkText *self,
gpointer user_data)
The ::copy-clipboard signal is a
keybinding signal
which gets emitted to copy the selection to the clipboard.
The default bindings for this signal are
Ctrl-c and Ctrl-Insert.
Parameters
self
the object which received the signal
user_data
user data set when the signal handler was connected.
Flags: Action
The “cut-clipboard” signal
GtkText::cut-clipboard
void
user_function (GtkText *self,
gpointer user_data)
The ::cut-clipboard signal is a
keybinding signal
which gets emitted to cut the selection to the clipboard.
The default bindings for this signal are
Ctrl-x and Shift-Delete.
Parameters
self
the object which received the signal
user_data
user data set when the signal handler was connected.
Flags: Action
The “delete-from-cursor” signal
GtkText::delete-from-cursor
void
user_function (GtkText *self,
GtkDeleteType type,
gint count,
gpointer user_data)
The ::delete-from-cursor signal is a
keybinding signal
which gets emitted when the user initiates a text deletion.
If the type
is GTK_DELETE_CHARS , GTK deletes the selection
if there is one, otherwise it deletes the requested number
of characters.
The default bindings for this signal are
Delete for deleting a character and Ctrl-Delete for
deleting a word.
Parameters
self
the object which received the signal
type
the granularity of the deletion, as a GtkDeleteType
count
the number of type
units to delete
user_data
user data set when the signal handler was connected.
Flags: Action
The “insert-at-cursor” signal
GtkText::insert-at-cursor
void
user_function (GtkText *self,
gchar *string,
gpointer user_data)
The ::insert-at-cursor signal is a
keybinding signal
which gets emitted when the user initiates the insertion of a
fixed string at the cursor.
This signal has no default bindings.
Parameters
self
the object which received the signal
string
the string to insert
user_data
user data set when the signal handler was connected.
Flags: Action
The “insert-emoji” signal
GtkText::insert-emoji
void
user_function (GtkText *self,
gpointer user_data)
The ::insert-emoji signal is a
keybinding signal
which gets emitted to present the Emoji chooser for the self
.
The default bindings for this signal are Ctrl-. and Ctrl-;
Parameters
self
the object which received the signal
user_data
user data set when the signal handler was connected.
Flags: Action
The “move-cursor” signal
GtkText::move-cursor
void
user_function (GtkText *self,
GtkMovementStep step,
gint count,
gboolean extend,
gpointer user_data)
The ::move-cursor signal is a
keybinding signal
which gets emitted when the user initiates a cursor movement.
If the cursor is not visible in self
, this signal causes
the viewport to be moved instead.
Applications should not connect to it, but may emit it with
g_signal_emit_by_name() if they need to control the cursor
programmatically.
The default bindings for this signal come in two variants,
the variant with the Shift modifier extends the selection,
the variant without the Shift modifer does not.
There are too many key combinations to list them all here.
Arrow keys move by individual characters/lines
Ctrl-arrow key combinations move by words/paragraphs
Home/End keys move to the ends of the buffer
Parameters
self
the object which received the signal
step
the granularity of the move, as a GtkMovementStep
count
the number of step
units to move
extend
TRUE if the move should extend the selection
user_data
user data set when the signal handler was connected.
Flags: Action
The “paste-clipboard” signal
GtkText::paste-clipboard
void
user_function (GtkText *self,
gpointer user_data)
The ::paste-clipboard signal is a
keybinding signal
which gets emitted to paste the contents of the clipboard
into the text view.
The default bindings for this signal are
Ctrl-v and Shift-Insert.
Parameters
self
the object which received the signal
user_data
user data set when the signal handler was connected.
Flags: Action
The “preedit-changed” signal
GtkText::preedit-changed
void
user_function (GtkText *self,
gchar *preedit,
gpointer user_data)
If an input method is used, the typed text will not immediately
be committed to the buffer. So if you are interested in the text,
connect to this signal.
Parameters
self
the object which received the signal
preedit
the current preedit string
user_data
user data set when the signal handler was connected.
Flags: Action
The “toggle-overwrite” signal
GtkText::toggle-overwrite
void
user_function (GtkText *self,
gpointer user_data)
The ::toggle-overwrite signal is a
keybinding signal
which gets emitted to toggle the overwrite mode of the self.
The default bindings for this signal is Insert.
Parameters
self
the object which received the signal
user_data
user data set when the signal handler was connected.
Flags: Action
Action Details
The “text.undo” action
GtkText|text.undo
The “text.redo” action
GtkText|text.redo
The “clipboard.cut” action
GtkText|clipboard.cut
The “clipboard.copy” action
GtkText|clipboard.copy
The “clipboard.paste” action
GtkText|clipboard.paste
The “selection.delete” action
GtkText|selection.delete
The “selection.select-all” action
GtkText|selection.select-all
The “misc.insert-emoji” action
GtkText|misc.insert-emoji
The “misc.toggle-visibility” action
GtkText|misc.toggle-visibility
The misc.toggle-visibility action sets the “visibility” property.
See Also
GtkEntry , GtkTextView
docs/reference/gtk/xml/gtkviewport.xml 0000664 0001750 0001750 00000026527 13617646203 020314 0 ustar mclasen mclasen
]>
GtkViewport
3
GTK4 Library
GtkViewport
An adapter which makes widgets scrollable
Functions
GtkWidget *
gtk_viewport_new ()
void
gtk_viewport_set_shadow_type ()
GtkShadowType
gtk_viewport_get_shadow_type ()
Properties
GtkShadowType shadow-typeRead / Write
Types and Values
GtkViewport
Object Hierarchy
GObject
╰── GInitiallyUnowned
╰── GtkWidget
╰── GtkContainer
╰── GtkBin
╰── GtkViewport
Implemented Interfaces
GtkViewport implements
AtkImplementorIface, GtkBuildable, GtkConstraintTarget and GtkScrollable.
Includes #include <gtk/gtk.h>
Description
The GtkViewport widget acts as an adaptor class, implementing
scrollability for child widgets that lack their own scrolling
capabilities. Use GtkViewport to scroll child widgets such as
GtkGrid , GtkBox , and so on.
If a widget has native scrolling abilities, such as GtkTextView ,
GtkTreeView or GtkIconView , it can be added to a GtkScrolledWindow
with gtk_container_add() . If a widget does not, you must first add the
widget to a GtkViewport , then add the viewport to the scrolled window.
gtk_container_add() does this automatically if a child that does not
implement GtkScrollable is added to a GtkScrolledWindow , so you can
ignore the presence of the viewport.
The GtkViewport will start scrolling content only if allocated less
than the child widget’s minimum size in a given orientation.
CSS nodes GtkViewport has a single CSS node with name viewport.
Functions
gtk_viewport_new ()
gtk_viewport_new
GtkWidget *
gtk_viewport_new (GtkAdjustment *hadjustment ,
GtkAdjustment *vadjustment );
Creates a new GtkViewport with the given adjustments, or with default
adjustments if none are given.
Parameters
hadjustment
horizontal adjustment.
[allow-none ]
vadjustment
vertical adjustment.
[allow-none ]
Returns
a new GtkViewport
gtk_viewport_set_shadow_type ()
gtk_viewport_set_shadow_type
void
gtk_viewport_set_shadow_type (GtkViewport *viewport ,
GtkShadowType type );
Sets the shadow type of the viewport.
Parameters
viewport
a GtkViewport .
type
the new shadow type.
gtk_viewport_get_shadow_type ()
gtk_viewport_get_shadow_type
GtkShadowType
gtk_viewport_get_shadow_type (GtkViewport *viewport );
Gets the shadow type of the GtkViewport . See
gtk_viewport_set_shadow_type() .
Parameters
viewport
a GtkViewport
Returns
the shadow type
Property Details
The “shadow-type” property
GtkViewport:shadow-type
“shadow-type” GtkShadowType
Determines how the shadowed box around the viewport is drawn. Owner: GtkViewport
Flags: Read / Write
Default value: GTK_SHADOW_IN
See Also
GtkScrolledWindow , GtkAdjustment
docs/reference/gtk/xml/gtkentry.xml 0000664 0001750 0001750 00000507540 13617646201 017573 0 ustar mclasen mclasen
]>
GtkEntry
3
GTK4 Library
GtkEntry
A single line text entry field
Functions
GtkWidget *
gtk_entry_new ()
GtkWidget *
gtk_entry_new_with_buffer ()
GtkEntryBuffer *
gtk_entry_get_buffer ()
void
gtk_entry_set_buffer ()
guint16
gtk_entry_get_text_length ()
void
gtk_entry_set_visibility ()
gboolean
gtk_entry_get_visibility ()
void
gtk_entry_set_invisible_char ()
gunichar
gtk_entry_get_invisible_char ()
void
gtk_entry_unset_invisible_char ()
void
gtk_entry_set_max_length ()
gint
gtk_entry_get_max_length ()
void
gtk_entry_set_activates_default ()
gboolean
gtk_entry_get_activates_default ()
void
gtk_entry_set_has_frame ()
gboolean
gtk_entry_get_has_frame ()
void
gtk_entry_set_alignment ()
gfloat
gtk_entry_get_alignment ()
void
gtk_entry_set_placeholder_text ()
const gchar *
gtk_entry_get_placeholder_text ()
void
gtk_entry_set_overwrite_mode ()
gboolean
gtk_entry_get_overwrite_mode ()
void
gtk_entry_set_attributes ()
PangoAttrList *
gtk_entry_get_attributes ()
void
gtk_entry_set_completion ()
GtkEntryCompletion *
gtk_entry_get_completion ()
void
gtk_entry_set_progress_fraction ()
gdouble
gtk_entry_get_progress_fraction ()
void
gtk_entry_set_progress_pulse_step ()
gdouble
gtk_entry_get_progress_pulse_step ()
void
gtk_entry_progress_pulse ()
void
gtk_entry_reset_im_context ()
void
gtk_entry_set_tabs ()
PangoTabArray *
gtk_entry_get_tabs ()
void
gtk_entry_set_icon_from_paintable ()
void
gtk_entry_set_icon_from_icon_name ()
void
gtk_entry_set_icon_from_gicon ()
GtkImageType
gtk_entry_get_icon_storage_type ()
GdkPaintable *
gtk_entry_get_icon_paintable ()
const gchar *
gtk_entry_get_icon_name ()
GIcon *
gtk_entry_get_icon_gicon ()
void
gtk_entry_set_icon_activatable ()
gboolean
gtk_entry_get_icon_activatable ()
void
gtk_entry_set_icon_sensitive ()
gboolean
gtk_entry_get_icon_sensitive ()
gint
gtk_entry_get_icon_at_pos ()
void
gtk_entry_set_icon_tooltip_text ()
gchar *
gtk_entry_get_icon_tooltip_text ()
void
gtk_entry_set_icon_tooltip_markup ()
gchar *
gtk_entry_get_icon_tooltip_markup ()
void
gtk_entry_set_icon_drag_source ()
gint
gtk_entry_get_current_icon_drag_source ()
void
gtk_entry_get_icon_area ()
void
gtk_entry_set_input_purpose ()
GtkInputPurpose
gtk_entry_get_input_purpose ()
void
gtk_entry_set_input_hints ()
GtkInputHints
gtk_entry_get_input_hints ()
gboolean
gtk_entry_grab_focus_without_selecting ()
void
gtk_entry_set_extra_menu ()
GMenuModel *
gtk_entry_get_extra_menu ()
Properties
gboolean activates-defaultRead / Write
PangoAttrList * attributesRead / Write
GtkEntryBuffer * bufferRead / Write / Construct
GtkEntryCompletion * completionRead / Write
gboolean enable-emoji-completionRead / Write
GMenuModel * extra-menuRead / Write
gboolean has-frameRead / Write
gchar * im-moduleRead / Write
GtkInputHints input-hintsRead / Write
GtkInputPurpose input-purposeRead / Write
guint invisible-charRead / Write
gboolean invisible-char-setRead / Write
gint max-lengthRead / Write
gboolean overwrite-modeRead / Write
gchar * placeholder-textRead / Write
gboolean primary-icon-activatableRead / Write
GIcon * primary-icon-giconRead / Write
gchar * primary-icon-nameRead / Write
GdkPaintable * primary-icon-paintableRead / Write
gboolean primary-icon-sensitiveRead / Write
GtkImageType primary-icon-storage-typeRead
gchar * primary-icon-tooltip-markupRead / Write
gchar * primary-icon-tooltip-textRead / Write
gdouble progress-fractionRead / Write
gdouble progress-pulse-stepRead / Write
gint scroll-offsetRead
gboolean secondary-icon-activatableRead / Write
GIcon * secondary-icon-giconRead / Write
gchar * secondary-icon-nameRead / Write
GdkPaintable * secondary-icon-paintableRead / Write
gboolean secondary-icon-sensitiveRead / Write
GtkImageType secondary-icon-storage-typeRead
gchar * secondary-icon-tooltip-markupRead / Write
gchar * secondary-icon-tooltip-textRead / Write
gboolean show-emoji-iconRead / Write
PangoTabArray * tabsRead / Write
guint text-lengthRead
gboolean truncate-multilineRead / Write
gboolean visibilityRead / Write
Signals
void activate Action
void icon-press Run Last
void icon-release Run Last
Types and Values
struct GtkEntry
struct GtkEntryClass
enum GtkEntryIconPosition
enum GtkInputPurpose
enum GtkInputHints
Object Hierarchy
GObject
╰── GInitiallyUnowned
╰── GtkWidget
╰── GtkEntry
Implemented Interfaces
GtkEntry implements
AtkImplementorIface, GtkBuildable, GtkConstraintTarget, GtkEditable and GtkCellEditable.
Includes #include <gtk/gtk.h>
Description
The GtkEntry widget is a single line text entry
widget. A fairly large set of key bindings are supported
by default. If the entered text is longer than the allocation
of the widget, the widget will scroll so that the cursor
position is visible.
When using an entry for passwords and other sensitive information,
it can be put into “password mode” using gtk_entry_set_visibility() .
In this mode, entered text is displayed using a “invisible” character.
By default, GTK+ picks the best invisible character that is available
in the current font, but it can be changed with
gtk_entry_set_invisible_char() .
GtkEntry has the ability to display progress or activity
information behind the text. To make an entry display such information,
use gtk_entry_set_progress_fraction() or gtk_entry_set_progress_pulse_step() .
Additionally, GtkEntry can show icons at either side of the entry. These
icons can be activatable by clicking, can be set up as drag source and
can have tooltips. To add an icon, use gtk_entry_set_icon_from_gicon() or
one of the various other functions that set an icon from an icon name or a
paintable. To trigger an action when the user clicks an icon,
connect to the “icon-press” signal. To allow DND operations
from an icon, use gtk_entry_set_icon_drag_source() . To set a tooltip on
an icon, use gtk_entry_set_icon_tooltip_text() or the corresponding function
for markup.
Note that functionality or information that is only available by clicking
on an icon in an entry may not be accessible at all to users which are not
able to use a mouse or other pointing device. It is therefore recommended
that any such functionality should also be available by other means, e.g.
via the context menu of the entry.
CSS nodes
GtkEntry has a main node with the name entry. Depending on the properties
of the entry, the style classes .read-only and .flat may appear. The style
classes .warning and .error may also be used with entries.
When the entry shows icons, it adds subnodes with the name image and the
style class .left or .right, depending on where the icon appears.
When the entry shows progress, it adds a subnode with the name progress.
The node has the style class .pulse when the shown progress is pulsing.
For all the subnodes added to the text node in various situations,
see GtkText .
Functions
gtk_entry_new ()
gtk_entry_new
GtkWidget *
gtk_entry_new (void );
Creates a new entry.
Returns
a new GtkEntry .
gtk_entry_new_with_buffer ()
gtk_entry_new_with_buffer
GtkWidget *
gtk_entry_new_with_buffer (GtkEntryBuffer *buffer );
Creates a new entry with the specified text buffer.
Parameters
buffer
The buffer to use for the new GtkEntry .
Returns
a new GtkEntry
gtk_entry_get_buffer ()
gtk_entry_get_buffer
GtkEntryBuffer *
gtk_entry_get_buffer (GtkEntry *entry );
Get the GtkEntryBuffer object which holds the text for
this widget.
Parameters
entry
a GtkEntry
Returns
A GtkEntryBuffer object.
[transfer none ]
gtk_entry_set_buffer ()
gtk_entry_set_buffer
void
gtk_entry_set_buffer (GtkEntry *entry ,
GtkEntryBuffer *buffer );
Set the GtkEntryBuffer object which holds the text for
this widget.
Parameters
entry
a GtkEntry
buffer
a GtkEntryBuffer
gtk_entry_get_text_length ()
gtk_entry_get_text_length
guint16
gtk_entry_get_text_length (GtkEntry *entry );
Retrieves the current length of the text in
entry
.
This is equivalent to getting entry
's GtkEntryBuffer and
calling gtk_entry_buffer_get_length() on it.
Parameters
entry
a GtkEntry
Returns
the current number of characters
in GtkEntry , or 0 if there are none.
gtk_entry_set_visibility ()
gtk_entry_set_visibility
void
gtk_entry_set_visibility (GtkEntry *entry ,
gboolean visible );
Sets whether the contents of the entry are visible or not.
When visibility is set to FALSE , characters are displayed
as the invisible char, and will also appear that way when
the text in the entry widget is copied elsewhere.
By default, GTK+ picks the best invisible character available
in the current font, but it can be changed with
gtk_entry_set_invisible_char() .
Note that you probably want to set “input-purpose”
to GTK_INPUT_PURPOSE_PASSWORD or GTK_INPUT_PURPOSE_PIN to
inform input methods about the purpose of this entry,
in addition to setting visibility to FALSE .
Parameters
entry
a GtkEntry
visible
TRUE if the contents of the entry are displayed
as plaintext
gtk_entry_get_visibility ()
gtk_entry_get_visibility
gboolean
gtk_entry_get_visibility (GtkEntry *entry );
Retrieves whether the text in entry
is visible. See
gtk_entry_set_visibility() .
Parameters
entry
a GtkEntry
Returns
TRUE if the text is currently visible
gtk_entry_set_invisible_char ()
gtk_entry_set_invisible_char
void
gtk_entry_set_invisible_char (GtkEntry *entry ,
gunichar ch );
Sets the character to use in place of the actual text when
gtk_entry_set_visibility() has been called to set text visibility
to FALSE . i.e. this is the character used in “password mode” to
show the user how many characters have been typed. By default, GTK+
picks the best invisible char available in the current font. If you
set the invisible char to 0, then the user will get no feedback
at all; there will be no text on the screen as they type.
Parameters
entry
a GtkEntry
ch
a Unicode character
gtk_entry_get_invisible_char ()
gtk_entry_get_invisible_char
gunichar
gtk_entry_get_invisible_char (GtkEntry *entry );
Retrieves the character displayed in place of the real characters
for entries with visibility set to false. See gtk_entry_set_invisible_char() .
Parameters
entry
a GtkEntry
Returns
the current invisible char, or 0, if the entry does not
show invisible text at all.
gtk_entry_unset_invisible_char ()
gtk_entry_unset_invisible_char
void
gtk_entry_unset_invisible_char (GtkEntry *entry );
Unsets the invisible char previously set with
gtk_entry_set_invisible_char() . So that the
default invisible char is used again.
Parameters
entry
a GtkEntry
gtk_entry_set_max_length ()
gtk_entry_set_max_length
void
gtk_entry_set_max_length (GtkEntry *entry ,
gint max );
Sets the maximum allowed length of the contents of the widget. If
the current contents are longer than the given length, then they
will be truncated to fit.
This is equivalent to getting entry
's GtkEntryBuffer and
calling gtk_entry_buffer_set_max_length() on it.
]|
Parameters
entry
a GtkEntry
max
the maximum length of the entry, or 0 for no maximum.
(other than the maximum length of entries.) The value passed in will
be clamped to the range 0-65536.
gtk_entry_get_max_length ()
gtk_entry_get_max_length
gint
gtk_entry_get_max_length (GtkEntry *entry );
Retrieves the maximum allowed length of the text in
entry
. See gtk_entry_set_max_length() .
This is equivalent to getting entry
's GtkEntryBuffer and
calling gtk_entry_buffer_get_max_length() on it.
Parameters
entry
a GtkEntry
Returns
the maximum allowed number of characters
in GtkEntry , or 0 if there is no maximum.
gtk_entry_set_activates_default ()
gtk_entry_set_activates_default
void
gtk_entry_set_activates_default (GtkEntry *entry ,
gboolean setting );
If setting
is TRUE , pressing Enter in the entry
will activate the default
widget for the window containing the entry. This usually means that
the dialog box containing the entry will be closed, since the default
widget is usually one of the dialog buttons.
Parameters
entry
a GtkEntry
setting
TRUE to activate window’s default widget on Enter keypress
gtk_entry_get_activates_default ()
gtk_entry_get_activates_default
gboolean
gtk_entry_get_activates_default (GtkEntry *entry );
Retrieves the value set by gtk_entry_set_activates_default() .
Parameters
entry
a GtkEntry
Returns
TRUE if the entry will activate the default widget
gtk_entry_set_has_frame ()
gtk_entry_set_has_frame
void
gtk_entry_set_has_frame (GtkEntry *entry ,
gboolean setting );
Sets whether the entry has a beveled frame around it.
Parameters
entry
a GtkEntry
setting
new value
gtk_entry_get_has_frame ()
gtk_entry_get_has_frame
gboolean
gtk_entry_get_has_frame (GtkEntry *entry );
Gets the value set by gtk_entry_set_has_frame() .
Parameters
entry
a GtkEntry
Returns
whether the entry has a beveled frame
gtk_entry_set_alignment ()
gtk_entry_set_alignment
void
gtk_entry_set_alignment (GtkEntry *entry ,
gfloat xalign );
Sets the alignment for the contents of the entry. This controls
the horizontal positioning of the contents when the displayed
text is shorter than the width of the entry.
Parameters
entry
a GtkEntry
xalign
The horizontal alignment, from 0 (left) to 1 (right).
Reversed for RTL layouts
gtk_entry_get_alignment ()
gtk_entry_get_alignment
gfloat
gtk_entry_get_alignment (GtkEntry *entry );
Gets the value set by gtk_entry_set_alignment() .
Parameters
entry
a GtkEntry
Returns
the alignment
gtk_entry_set_placeholder_text ()
gtk_entry_set_placeholder_text
void
gtk_entry_set_placeholder_text (GtkEntry *entry ,
const gchar *text );
Sets text to be displayed in entry
when it is empty.
This can be used to give a visual hint of the expected contents of
the GtkEntry .
Parameters
entry
a GtkEntry
text
a string to be displayed when entry
is empty and unfocused, or NULL .
[nullable ]
gtk_entry_get_placeholder_text ()
gtk_entry_get_placeholder_text
const gchar *
gtk_entry_get_placeholder_text (GtkEntry *entry );
Retrieves the text that will be displayed when entry
is empty and unfocused
Parameters
entry
a GtkEntry
Returns
a pointer to the placeholder text as a string.
This string points to internally allocated storage in the widget and must
not be freed, modified or stored. If no placeholder text has been set,
NULL will be returned.
[nullable ][transfer none ]
gtk_entry_set_overwrite_mode ()
gtk_entry_set_overwrite_mode
void
gtk_entry_set_overwrite_mode (GtkEntry *entry ,
gboolean overwrite );
Sets whether the text is overwritten when typing in the GtkEntry .
Parameters
entry
a GtkEntry
overwrite
new value
gtk_entry_get_overwrite_mode ()
gtk_entry_get_overwrite_mode
gboolean
gtk_entry_get_overwrite_mode (GtkEntry *entry );
Gets the value set by gtk_entry_set_overwrite_mode() .
Parameters
entry
a GtkEntry
Returns
whether the text is overwritten when typing.
gtk_entry_set_attributes ()
gtk_entry_set_attributes
void
gtk_entry_set_attributes (GtkEntry *entry ,
PangoAttrList *attrs );
Sets a PangoAttrList ; the attributes in the list are applied to the
entry text.
Parameters
entry
a GtkEntry
attrs
a PangoAttrList
gtk_entry_get_attributes ()
gtk_entry_get_attributes
PangoAttrList *
gtk_entry_get_attributes (GtkEntry *entry );
Gets the attribute list that was set on the entry using
gtk_entry_set_attributes() , if any.
Parameters
entry
a GtkEntry
Returns
the attribute list, or NULL
if none was set.
[transfer none ][nullable ]
gtk_entry_set_completion ()
gtk_entry_set_completion
void
gtk_entry_set_completion (GtkEntry *entry ,
GtkEntryCompletion *completion );
Sets completion
to be the auxiliary completion object to use with entry
.
All further configuration of the completion mechanism is done on
completion
using the GtkEntryCompletion API. Completion is disabled if
completion
is set to NULL .
Parameters
entry
A GtkEntry
completion
The GtkEntryCompletion or NULL .
[allow-none ]
gtk_entry_get_completion ()
gtk_entry_get_completion
GtkEntryCompletion *
gtk_entry_get_completion (GtkEntry *entry );
Returns the auxiliary completion object currently in use by entry
.
Parameters
entry
A GtkEntry
Returns
The auxiliary completion object currently
in use by entry
.
[transfer none ]
gtk_entry_set_progress_fraction ()
gtk_entry_set_progress_fraction
void
gtk_entry_set_progress_fraction (GtkEntry *entry ,
gdouble fraction );
Causes the entry’s progress indicator to “fill in” the given
fraction of the bar. The fraction should be between 0.0 and 1.0,
inclusive.
Parameters
entry
a GtkEntry
fraction
fraction of the task that’s been completed
gtk_entry_get_progress_fraction ()
gtk_entry_get_progress_fraction
gdouble
gtk_entry_get_progress_fraction (GtkEntry *entry );
Returns the current fraction of the task that’s been completed.
See gtk_entry_set_progress_fraction() .
Parameters
entry
a GtkEntry
Returns
a fraction from 0.0 to 1.0
gtk_entry_set_progress_pulse_step ()
gtk_entry_set_progress_pulse_step
void
gtk_entry_set_progress_pulse_step (GtkEntry *entry ,
gdouble fraction );
Sets the fraction of total entry width to move the progress
bouncing block for each call to gtk_entry_progress_pulse() .
Parameters
entry
a GtkEntry
fraction
fraction between 0.0 and 1.0
gtk_entry_get_progress_pulse_step ()
gtk_entry_get_progress_pulse_step
gdouble
gtk_entry_get_progress_pulse_step (GtkEntry *entry );
Retrieves the pulse step set with gtk_entry_set_progress_pulse_step() .
Parameters
entry
a GtkEntry
Returns
a fraction from 0.0 to 1.0
gtk_entry_progress_pulse ()
gtk_entry_progress_pulse
void
gtk_entry_progress_pulse (GtkEntry *entry );
Indicates that some progress is made, but you don’t know how much.
Causes the entry’s progress indicator to enter “activity mode,”
where a block bounces back and forth. Each call to
gtk_entry_progress_pulse() causes the block to move by a little bit
(the amount of movement per pulse is determined by
gtk_entry_set_progress_pulse_step() ).
Parameters
entry
a GtkEntry
gtk_entry_reset_im_context ()
gtk_entry_reset_im_context
void
gtk_entry_reset_im_context (GtkEntry *entry );
Reset the input method context of the entry if needed.
This can be necessary in the case where modifying the buffer
would confuse on-going input method behavior.
Parameters
entry
a GtkEntry
gtk_entry_set_tabs ()
gtk_entry_set_tabs
void
gtk_entry_set_tabs (GtkEntry *entry ,
PangoTabArray *tabs );
Sets a PangoTabArray ; the tabstops in the array are applied to the entry
text.
Parameters
entry
a GtkEntry
tabs
a PangoTabArray .
[nullable ]
gtk_entry_get_tabs ()
gtk_entry_get_tabs
PangoTabArray *
gtk_entry_get_tabs (GtkEntry *entry );
Gets the tabstops that were set on the entry using gtk_entry_set_tabs() , if
any.
Parameters
entry
a GtkEntry
Returns
the tabstops, or NULL if none was set.
[nullable ][transfer none ]
gtk_entry_set_icon_from_paintable ()
gtk_entry_set_icon_from_paintable
void
gtk_entry_set_icon_from_paintable (GtkEntry *entry ,
GtkEntryIconPosition icon_pos ,
GdkPaintable *paintable );
Sets the icon shown in the specified position using a GdkPaintable
If paintable
is NULL , no icon will be shown in the specified position.
Parameters
entry
a GtkEntry
icon_pos
Icon position
paintable
A GdkPaintable , or NULL .
[allow-none ]
gtk_entry_set_icon_from_icon_name ()
gtk_entry_set_icon_from_icon_name
void
gtk_entry_set_icon_from_icon_name (GtkEntry *entry ,
GtkEntryIconPosition icon_pos ,
const gchar *icon_name );
Sets the icon shown in the entry at the specified position
from the current icon theme.
If the icon name isn’t known, a “broken image” icon will be displayed
instead.
If icon_name
is NULL , no icon will be shown in the specified position.
Parameters
entry
A GtkEntry
icon_pos
The position at which to set the icon
icon_name
An icon name, or NULL .
[allow-none ]
gtk_entry_set_icon_from_gicon ()
gtk_entry_set_icon_from_gicon
void
gtk_entry_set_icon_from_gicon (GtkEntry *entry ,
GtkEntryIconPosition icon_pos ,
GIcon *icon );
Sets the icon shown in the entry at the specified position
from the current icon theme.
If the icon isn’t known, a “broken image” icon will be displayed
instead.
If icon
is NULL , no icon will be shown in the specified position.
Parameters
entry
A GtkEntry
icon_pos
The position at which to set the icon
icon
The icon to set, or NULL .
[allow-none ]
gtk_entry_get_icon_storage_type ()
gtk_entry_get_icon_storage_type
GtkImageType
gtk_entry_get_icon_storage_type (GtkEntry *entry ,
GtkEntryIconPosition icon_pos );
Gets the type of representation being used by the icon
to store image data. If the icon has no image data,
the return value will be GTK_IMAGE_EMPTY .
Parameters
entry
a GtkEntry
icon_pos
Icon position
Returns
image representation being used
gtk_entry_get_icon_paintable ()
gtk_entry_get_icon_paintable
GdkPaintable *
gtk_entry_get_icon_paintable (GtkEntry *entry ,
GtkEntryIconPosition icon_pos );
Retrieves the GdkPaintable used for the icon.
If no GdkPaintable was used for the icon, NULL is returned.
Parameters
entry
A GtkEntry
icon_pos
Icon position
Returns
A GdkPaintable , or NULL if no icon is
set for this position or the icon set is not a GdkPaintable .
[transfer none ][nullable ]
gtk_entry_get_icon_name ()
gtk_entry_get_icon_name
const gchar *
gtk_entry_get_icon_name (GtkEntry *entry ,
GtkEntryIconPosition icon_pos );
Retrieves the icon name used for the icon, or NULL if there is
no icon or if the icon was set by some other method (e.g., by
paintable or gicon).
Parameters
entry
A GtkEntry
icon_pos
Icon position
Returns
An icon name, or NULL if no icon is set or if the icon
wasn’t set from an icon name.
[nullable ]
gtk_entry_get_icon_gicon ()
gtk_entry_get_icon_gicon
GIcon *
gtk_entry_get_icon_gicon (GtkEntry *entry ,
GtkEntryIconPosition icon_pos );
Retrieves the GIcon used for the icon, or NULL if there is
no icon or if the icon was set by some other method (e.g., by
paintable or icon name).
Parameters
entry
A GtkEntry
icon_pos
Icon position
Returns
A GIcon , or NULL if no icon is set
or if the icon is not a GIcon .
[transfer none ][nullable ]
gtk_entry_set_icon_activatable ()
gtk_entry_set_icon_activatable
void
gtk_entry_set_icon_activatable (GtkEntry *entry ,
GtkEntryIconPosition icon_pos ,
gboolean activatable );
Sets whether the icon is activatable.
Parameters
entry
A GtkEntry
icon_pos
Icon position
activatable
TRUE if the icon should be activatable
gtk_entry_get_icon_activatable ()
gtk_entry_get_icon_activatable
gboolean
gtk_entry_get_icon_activatable (GtkEntry *entry ,
GtkEntryIconPosition icon_pos );
Returns whether the icon is activatable.
Parameters
entry
a GtkEntry
icon_pos
Icon position
Returns
TRUE if the icon is activatable.
gtk_entry_set_icon_sensitive ()
gtk_entry_set_icon_sensitive
void
gtk_entry_set_icon_sensitive (GtkEntry *entry ,
GtkEntryIconPosition icon_pos ,
gboolean sensitive );
Sets the sensitivity for the specified icon.
Parameters
entry
A GtkEntry
icon_pos
Icon position
sensitive
Specifies whether the icon should appear
sensitive or insensitive
gtk_entry_get_icon_sensitive ()
gtk_entry_get_icon_sensitive
gboolean
gtk_entry_get_icon_sensitive (GtkEntry *entry ,
GtkEntryIconPosition icon_pos );
Returns whether the icon appears sensitive or insensitive.
Parameters
entry
a GtkEntry
icon_pos
Icon position
Returns
TRUE if the icon is sensitive.
gtk_entry_get_icon_at_pos ()
gtk_entry_get_icon_at_pos
gint
gtk_entry_get_icon_at_pos (GtkEntry *entry ,
gint x ,
gint y );
Finds the icon at the given position and return its index. The
position’s coordinates are relative to the entry
’s top left corner.
If x
, y
doesn’t lie inside an icon, -1 is returned.
This function is intended for use in a “query-tooltip”
signal handler.
Parameters
entry
a GtkEntry
x
the x coordinate of the position to find, relative to entry
y
the y coordinate of the position to find, relative to entry
Returns
the index of the icon at the given position, or -1
gtk_entry_set_icon_tooltip_text ()
gtk_entry_set_icon_tooltip_text
void
gtk_entry_set_icon_tooltip_text (GtkEntry *entry ,
GtkEntryIconPosition icon_pos ,
const gchar *tooltip );
Sets tooltip
as the contents of the tooltip for the icon
at the specified position.
Use NULL for tooltip
to remove an existing tooltip.
See also gtk_widget_set_tooltip_text() and
gtk_entry_set_icon_tooltip_markup() .
If you unset the widget tooltip via gtk_widget_set_tooltip_text() or
gtk_widget_set_tooltip_markup() , this sets GtkWidget:has-tooltip to FALSE ,
which suppresses icon tooltips too. You can resolve this by then calling
gtk_widget_set_has_tooltip() to set GtkWidget:has-tooltip back to TRUE , or
setting at least one non-empty tooltip on any icon achieves the same result.
Parameters
entry
a GtkEntry
icon_pos
the icon position
tooltip
the contents of the tooltip for the icon, or NULL .
[allow-none ]
gtk_entry_get_icon_tooltip_text ()
gtk_entry_get_icon_tooltip_text
gchar *
gtk_entry_get_icon_tooltip_text (GtkEntry *entry ,
GtkEntryIconPosition icon_pos );
Gets the contents of the tooltip on the icon at the specified
position in entry
.
Parameters
entry
a GtkEntry
icon_pos
the icon position
Returns
the tooltip text, or NULL . Free the returned
string with g_free() when done.
[nullable ]
gtk_entry_set_icon_tooltip_markup ()
gtk_entry_set_icon_tooltip_markup
void
gtk_entry_set_icon_tooltip_markup (GtkEntry *entry ,
GtkEntryIconPosition icon_pos ,
const gchar *tooltip );
Sets tooltip
as the contents of the tooltip for the icon at
the specified position. tooltip
is assumed to be marked up with
the Pango text markup language.
Use NULL for tooltip
to remove an existing tooltip.
See also gtk_widget_set_tooltip_markup() and
gtk_entry_set_icon_tooltip_text() .
Parameters
entry
a GtkEntry
icon_pos
the icon position
tooltip
the contents of the tooltip for the icon, or NULL .
[allow-none ]
gtk_entry_get_icon_tooltip_markup ()
gtk_entry_get_icon_tooltip_markup
gchar *
gtk_entry_get_icon_tooltip_markup (GtkEntry *entry ,
GtkEntryIconPosition icon_pos );
Gets the contents of the tooltip on the icon at the specified
position in entry
.
Parameters
entry
a GtkEntry
icon_pos
the icon position
Returns
the tooltip text, or NULL . Free the returned
string with g_free() when done.
[nullable ]
gtk_entry_set_icon_drag_source ()
gtk_entry_set_icon_drag_source
void
gtk_entry_set_icon_drag_source (GtkEntry *entry ,
GtkEntryIconPosition icon_pos ,
GdkContentProvider *provider ,
GdkDragAction actions );
Sets up the icon at the given position so that GTK+ will start a drag
operation when the user clicks and drags the icon.
To handle the drag operation, you need to connect to the usual
“drag-data-get” (or possibly “drag-data-delete” )
signal, and use gtk_entry_get_current_icon_drag_source() in
your signal handler to find out if the drag was started from
an icon.
By default, GTK+ uses the icon as the drag icon. You can use the
“drag-begin” signal to set a different icon. Note that you
have to use g_signal_connect_after() to ensure that your signal handler
gets executed after the default handler.
Parameters
entry
a GtkEntry
icon_pos
icon position
provider
a GdkContentProvider
actions
a bitmask of the allowed drag actions
gtk_entry_get_current_icon_drag_source ()
gtk_entry_get_current_icon_drag_source
gint
gtk_entry_get_current_icon_drag_source
(GtkEntry *entry );
Returns the index of the icon which is the source of the current
DND operation, or -1.
This function is meant to be used in a “drag-data-get”
callback.
Parameters
entry
a GtkEntry
Returns
index of the icon which is the source of the current
DND operation, or -1.
gtk_entry_get_icon_area ()
gtk_entry_get_icon_area
void
gtk_entry_get_icon_area (GtkEntry *entry ,
GtkEntryIconPosition icon_pos ,
GdkRectangle *icon_area );
Gets the area where entry’s icon at icon_pos
is drawn.
This function is useful when drawing something to the
entry in a draw callback.
If the entry is not realized or has no icon at the given position,
icon_area
is filled with zeros. Otherwise, icon_area
will be filled
with the icon's allocation, relative to entry
's allocation.
Parameters
entry
A GtkEntry
icon_pos
Icon position
icon_area
Return location for the icon’s area.
[out ]
gtk_entry_set_input_purpose ()
gtk_entry_set_input_purpose
void
gtk_entry_set_input_purpose (GtkEntry *entry ,
GtkInputPurpose purpose );
Sets the “input-purpose” property which
can be used by on-screen keyboards and other input
methods to adjust their behaviour.
Parameters
entry
a GtkEntry
purpose
the purpose
gtk_entry_get_input_purpose ()
gtk_entry_get_input_purpose
GtkInputPurpose
gtk_entry_get_input_purpose (GtkEntry *entry );
Gets the value of the “input-purpose” property.
Parameters
entry
a GtkEntry
gtk_entry_set_input_hints ()
gtk_entry_set_input_hints
void
gtk_entry_set_input_hints (GtkEntry *entry ,
GtkInputHints hints );
Sets the “input-hints” property, which
allows input methods to fine-tune their behaviour.
Parameters
entry
a GtkEntry
hints
the hints
gtk_entry_get_input_hints ()
gtk_entry_get_input_hints
GtkInputHints
gtk_entry_get_input_hints (GtkEntry *entry );
Gets the value of the “input-hints” property.
Parameters
entry
a GtkEntry
gtk_entry_grab_focus_without_selecting ()
gtk_entry_grab_focus_without_selecting
gboolean
gtk_entry_grab_focus_without_selecting
(GtkEntry *entry );
Causes entry
to have keyboard focus.
It behaves like gtk_widget_grab_focus() ,
except that it doesn't select the contents of the entry.
You only want to call this on some special entries
which the user usually doesn't want to replace all text in,
such as search-as-you-type entries.
Parameters
entry
a GtkEntry
Returns
TRUE if focus is now inside self
Property Details
The “activates-default” property
GtkEntry:activates-default
“activates-default” gboolean
Whether to activate the default widget (such as the default button in a dialog) when Enter is pressed. Owner: GtkEntry
Flags: Read / Write
Default value: FALSE
The “attributes” property
GtkEntry:attributes
“attributes” PangoAttrList *
A list of Pango attributes to apply to the text of the entry.
This is mainly useful to change the size or weight of the text.
The PangoAttribute 's start_index
and end_index
must refer to the
GtkEntryBuffer text, i.e. without the preedit string.
Owner: GtkEntry
Flags: Read / Write
The “buffer” property
GtkEntry:buffer
“buffer” GtkEntryBuffer *
Text buffer object which actually stores entry text. Owner: GtkEntry
Flags: Read / Write / Construct
The “completion” property
GtkEntry:completion
“completion” GtkEntryCompletion *
The auxiliary completion object to use with the entry.
Owner: GtkEntry
Flags: Read / Write
The “enable-emoji-completion” property
GtkEntry:enable-emoji-completion
“enable-emoji-completion” gboolean
Whether to suggest Emoji replacements. Owner: GtkEntry
Flags: Read / Write
Default value: FALSE
The “has-frame” property
GtkEntry:has-frame
“has-frame” gboolean
FALSE removes outside bevel from entry. Owner: GtkEntry
Flags: Read / Write
Default value: TRUE
The “im-module” property
GtkEntry:im-module
“im-module” gchar *
Which IM (input method) module should be used for this entry.
See GtkIMContext .
Setting this to a non-NULL value overrides the
system-wide IM module setting. See the GtkSettings
“gtk-im-module” property.
Owner: GtkEntry
Flags: Read / Write
Default value: NULL
The “input-hints” property
GtkEntry:input-hints
“input-hints” GtkInputHints
Additional hints (beyond “input-purpose” ) that
allow input methods to fine-tune their behaviour.
Owner: GtkEntry
Flags: Read / Write
The “input-purpose” property
GtkEntry:input-purpose
“input-purpose” GtkInputPurpose
The purpose of this text field.
This property can be used by on-screen keyboards and other input
methods to adjust their behaviour.
Note that setting the purpose to GTK_INPUT_PURPOSE_PASSWORD or
GTK_INPUT_PURPOSE_PIN is independent from setting
“visibility” .
Owner: GtkEntry
Flags: Read / Write
Default value: GTK_INPUT_PURPOSE_FREE_FORM
The “invisible-char” property
GtkEntry:invisible-char
“invisible-char” guint
The character to use when masking entry contents (in “password mode”). Owner: GtkEntry
Flags: Read / Write
Default value: '*'
The “invisible-char-set” property
GtkEntry:invisible-char-set
“invisible-char-set” gboolean
Whether the invisible char has been set for the GtkEntry .
Owner: GtkEntry
Flags: Read / Write
Default value: FALSE
The “max-length” property
GtkEntry:max-length
“max-length” gint
Maximum number of characters for this entry. Zero if no maximum. Owner: GtkEntry
Flags: Read / Write
Allowed values: [0,65535]
Default value: 0
The “overwrite-mode” property
GtkEntry:overwrite-mode
“overwrite-mode” gboolean
If text is overwritten when typing in the GtkEntry .
Owner: GtkEntry
Flags: Read / Write
Default value: FALSE
The “placeholder-text” property
GtkEntry:placeholder-text
“placeholder-text” gchar *
The text that will be displayed in the GtkEntry when it is empty
and unfocused.
Owner: GtkEntry
Flags: Read / Write
Default value: NULL
The “primary-icon-activatable” property
GtkEntry:primary-icon-activatable
“primary-icon-activatable” gboolean
Whether the primary icon is activatable.
GTK+ emits the “icon-press” and “icon-release”
signals only on sensitive, activatable icons.
Sensitive, but non-activatable icons can be used for purely
informational purposes.
Owner: GtkEntry
Flags: Read / Write
Default value: TRUE
The “primary-icon-gicon” property
GtkEntry:primary-icon-gicon
“primary-icon-gicon” GIcon *
The GIcon to use for the primary icon for the entry.
Owner: GtkEntry
Flags: Read / Write
The “primary-icon-name” property
GtkEntry:primary-icon-name
“primary-icon-name” gchar *
The icon name to use for the primary icon for the entry.
Owner: GtkEntry
Flags: Read / Write
Default value: NULL
The “primary-icon-paintable” property
GtkEntry:primary-icon-paintable
“primary-icon-paintable” GdkPaintable *
A GdkPaintable to use as the primary icon for the entry.
Owner: GtkEntry
Flags: Read / Write
The “primary-icon-sensitive” property
GtkEntry:primary-icon-sensitive
“primary-icon-sensitive” gboolean
Whether the primary icon is sensitive.
An insensitive icon appears grayed out. GTK+ does not emit the
“icon-press” and “icon-release” signals and
does not allow DND from insensitive icons.
An icon should be set insensitive if the action that would trigger
when clicked is currently not available.
Owner: GtkEntry
Flags: Read / Write
Default value: TRUE
The “primary-icon-storage-type” property
GtkEntry:primary-icon-storage-type
“primary-icon-storage-type” GtkImageType
The representation which is used for the primary icon of the entry.
Owner: GtkEntry
Flags: Read
Default value: GTK_IMAGE_EMPTY
The “primary-icon-tooltip-markup” property
GtkEntry:primary-icon-tooltip-markup
“primary-icon-tooltip-markup” gchar *
The contents of the tooltip on the primary icon, which is marked up
with the Pango text markup language.
Also see gtk_entry_set_icon_tooltip_markup() .
Owner: GtkEntry
Flags: Read / Write
Default value: NULL
The “primary-icon-tooltip-text” property
GtkEntry:primary-icon-tooltip-text
“primary-icon-tooltip-text” gchar *
The contents of the tooltip on the primary icon.
Also see gtk_entry_set_icon_tooltip_text() .
Owner: GtkEntry
Flags: Read / Write
Default value: NULL
The “progress-fraction” property
GtkEntry:progress-fraction
“progress-fraction” gdouble
The current fraction of the task that's been completed.
Owner: GtkEntry
Flags: Read / Write
Allowed values: [0,1]
Default value: 0
The “progress-pulse-step” property
GtkEntry:progress-pulse-step
“progress-pulse-step” gdouble
The fraction of total entry width to move the progress
bouncing block for each call to gtk_entry_progress_pulse() .
Owner: GtkEntry
Flags: Read / Write
Allowed values: [0,1]
Default value: 0
The “scroll-offset” property
GtkEntry:scroll-offset
“scroll-offset” gint
Number of pixels of the entry scrolled off the screen to the left. Owner: GtkEntry
Flags: Read
Allowed values: >= 0
Default value: 0
The “secondary-icon-activatable” property
GtkEntry:secondary-icon-activatable
“secondary-icon-activatable” gboolean
Whether the secondary icon is activatable.
GTK+ emits the “icon-press” and “icon-release”
signals only on sensitive, activatable icons.
Sensitive, but non-activatable icons can be used for purely
informational purposes.
Owner: GtkEntry
Flags: Read / Write
Default value: TRUE
The “secondary-icon-gicon” property
GtkEntry:secondary-icon-gicon
“secondary-icon-gicon” GIcon *
The GIcon to use for the secondary icon for the entry.
Owner: GtkEntry
Flags: Read / Write
The “secondary-icon-name” property
GtkEntry:secondary-icon-name
“secondary-icon-name” gchar *
The icon name to use for the secondary icon for the entry.
Owner: GtkEntry
Flags: Read / Write
Default value: NULL
The “secondary-icon-paintable” property
GtkEntry:secondary-icon-paintable
“secondary-icon-paintable” GdkPaintable *
A GdkPaintable to use as the secondary icon for the entry.
Owner: GtkEntry
Flags: Read / Write
The “secondary-icon-sensitive” property
GtkEntry:secondary-icon-sensitive
“secondary-icon-sensitive” gboolean
Whether the secondary icon is sensitive.
An insensitive icon appears grayed out. GTK+ does not emit the
“icon-press” and “icon-release” signals and
does not allow DND from insensitive icons.
An icon should be set insensitive if the action that would trigger
when clicked is currently not available.
Owner: GtkEntry
Flags: Read / Write
Default value: TRUE
The “secondary-icon-storage-type” property
GtkEntry:secondary-icon-storage-type
“secondary-icon-storage-type” GtkImageType
The representation which is used for the secondary icon of the entry.
Owner: GtkEntry
Flags: Read
Default value: GTK_IMAGE_EMPTY
The “secondary-icon-tooltip-markup” property
GtkEntry:secondary-icon-tooltip-markup
“secondary-icon-tooltip-markup” gchar *
The contents of the tooltip on the secondary icon, which is marked up
with the Pango text markup language.
Also see gtk_entry_set_icon_tooltip_markup() .
Owner: GtkEntry
Flags: Read / Write
Default value: NULL
The “secondary-icon-tooltip-text” property
GtkEntry:secondary-icon-tooltip-text
“secondary-icon-tooltip-text” gchar *
The contents of the tooltip on the secondary icon.
Also see gtk_entry_set_icon_tooltip_text() .
Owner: GtkEntry
Flags: Read / Write
Default value: NULL
The “show-emoji-icon” property
GtkEntry:show-emoji-icon
“show-emoji-icon” gboolean
Whether to show an icon for Emoji. Owner: GtkEntry
Flags: Read / Write
Default value: FALSE
The “tabs” property
GtkEntry:tabs
“tabs” PangoTabArray *
A list of tabstop locations to apply to the text of the entry. Owner: GtkEntry
Flags: Read / Write
The “text-length” property
GtkEntry:text-length
“text-length” guint
The length of the text in the GtkEntry .
Owner: GtkEntry
Flags: Read
Allowed values: <= 65535
Default value: 0
The “truncate-multiline” property
GtkEntry:truncate-multiline
“truncate-multiline” gboolean
When TRUE , pasted multi-line text is truncated to the first line.
Owner: GtkEntry
Flags: Read / Write
Default value: FALSE
The “visibility” property
GtkEntry:visibility
“visibility” gboolean
FALSE displays the “invisible char” instead of the actual text (password mode). Owner: GtkEntry
Flags: Read / Write
Default value: TRUE
Signal Details
The “activate” signal
GtkEntry::activate
void
user_function (GtkEntry *entry,
gpointer user_data)
Flags: Action
The “icon-press” signal
GtkEntry::icon-press
void
user_function (GtkEntry *entry,
GtkEntryIconPosition icon_pos,
gpointer user_data)
The ::icon-press signal is emitted when an activatable icon
is clicked.
Parameters
entry
The entry on which the signal is emitted
icon_pos
The position of the clicked icon
user_data
user data set when the signal handler was connected.
Flags: Run Last
The “icon-release” signal
GtkEntry::icon-release
void
user_function (GtkEntry *entry,
GtkEntryIconPosition icon_pos,
gpointer user_data)
The ::icon-release signal is emitted on the button release from a
mouse click over an activatable icon.
Parameters
entry
The entry on which the signal is emitted
icon_pos
The position of the clicked icon
user_data
user data set when the signal handler was connected.
Flags: Run Last
See Also
GtkTextView , GtkEntryCompletion
docs/reference/gtk/xml/gtksearchbar.xml 0000664 0001750 0001750 00000051060 13617646202 020354 0 ustar mclasen mclasen
]>
GtkSearchBar
3
GTK4 Library
GtkSearchBar
A toolbar to integrate a search entry with
Functions
GtkWidget *
gtk_search_bar_new ()
void
gtk_search_bar_connect_entry ()
gboolean
gtk_search_bar_get_search_mode ()
void
gtk_search_bar_set_search_mode ()
gboolean
gtk_search_bar_get_show_close_button ()
void
gtk_search_bar_set_show_close_button ()
void
gtk_search_bar_set_key_capture_widget ()
GtkWidget *
gtk_search_bar_get_key_capture_widget ()
Properties
gboolean search-mode-enabledRead / Write
gboolean show-close-buttonRead / Write / Construct
Types and Values
GtkSearchBar
Object Hierarchy
GObject
╰── GInitiallyUnowned
╰── GtkWidget
╰── GtkContainer
╰── GtkBin
╰── GtkSearchBar
Implemented Interfaces
GtkSearchBar implements
AtkImplementorIface, GtkBuildable and GtkConstraintTarget.
Includes #include <gtk/gtk.h>
Description
GtkSearchBar is a container made to have a search entry (possibly
with additional connex widgets, such as drop-down menus, or buttons)
built-in. The search bar would appear when a search is started through
typing on the keyboard, or the application’s search mode is toggled on.
For keyboard presses to start a search, the search bar must be told
of a widget to capture key events from through
gtk_search_bar_set_key_capture_widget() . This widget will typically
be the top-level window, or a parent container of the search bar. Common
shortcuts such as Ctrl+F should be handled as an application action, or
through the menu items.
You will also need to tell the search bar about which entry you
are using as your search entry using gtk_search_bar_connect_entry() .
The following example shows you how to create a more complex search
entry.
CSS nodes
GtkSearchBar has a main CSS node with name searchbar. It has a child node
with name revealer that contains a node with name box. The box node contains both the
CSS node of the child widget as well as an optional button node which gets the .close
style class applied.
Creating a search bar A simple example
Functions
gtk_search_bar_new ()
gtk_search_bar_new
GtkWidget *
gtk_search_bar_new (void );
Creates a GtkSearchBar . You will need to tell it about
which widget is going to be your text entry using
gtk_search_bar_connect_entry() .
Returns
a new GtkSearchBar
gtk_search_bar_connect_entry ()
gtk_search_bar_connect_entry
void
gtk_search_bar_connect_entry (GtkSearchBar *bar ,
GtkEditable *entry );
Connects the GtkEntry widget passed as the one to be used in
this search bar. The entry should be a descendant of the search bar.
This is only required if the entry isn’t the direct child of the
search bar (as in our main example).
Parameters
bar
a GtkSearchBar
entry
a GtkEditable
gtk_search_bar_get_search_mode ()
gtk_search_bar_get_search_mode
gboolean
gtk_search_bar_get_search_mode (GtkSearchBar *bar );
Returns whether the search mode is on or off.
Parameters
bar
a GtkSearchBar
Returns
whether search mode is toggled on
gtk_search_bar_set_search_mode ()
gtk_search_bar_set_search_mode
void
gtk_search_bar_set_search_mode (GtkSearchBar *bar ,
gboolean search_mode );
Switches the search mode on or off.
Parameters
bar
a GtkSearchBar
search_mode
the new state of the search mode
gtk_search_bar_get_show_close_button ()
gtk_search_bar_get_show_close_button
gboolean
gtk_search_bar_get_show_close_button (GtkSearchBar *bar );
Returns whether the close button is shown.
Parameters
bar
a GtkSearchBar
Returns
whether the close button is shown
gtk_search_bar_set_show_close_button ()
gtk_search_bar_set_show_close_button
void
gtk_search_bar_set_show_close_button (GtkSearchBar *bar ,
gboolean visible );
Shows or hides the close button. Applications that
already have a “search” toggle button should not show a close
button in their search bar, as it duplicates the role of the
toggle button.
Parameters
bar
a GtkSearchBar
visible
whether the close button will be shown or not
gtk_search_bar_set_key_capture_widget ()
gtk_search_bar_set_key_capture_widget
void
gtk_search_bar_set_key_capture_widget (GtkSearchBar *bar ,
GtkWidget *widget );
Sets widget
as the widget that bar
will capture key events from.
If key events are handled by the search bar, the bar will
be shown, and the entry populated with the entered text.
Parameters
bar
a GtkSearchBar
widget
a GtkWidget .
[nullable ][transfer none ]
gtk_search_bar_get_key_capture_widget ()
gtk_search_bar_get_key_capture_widget
GtkWidget *
gtk_search_bar_get_key_capture_widget (GtkSearchBar *bar );
Gets the widget that bar
is capturing key events from.
Parameters
bar
a GtkSearchBar
Returns
The key capture widget.
[transfer none ]
Property Details
The “search-mode-enabled” property
GtkSearchBar:search-mode-enabled
“search-mode-enabled” gboolean
Whether the search mode is on and the search bar shown.
See gtk_search_bar_set_search_mode() for details.
Owner: GtkSearchBar
Flags: Read / Write
Default value: FALSE
The “show-close-button” property
GtkSearchBar:show-close-button
“show-close-button” gboolean
Whether to show the close button in the search bar.
Owner: GtkSearchBar
Flags: Read / Write / Construct
Default value: FALSE
docs/reference/gtk/xml/gtkpasswordentry.xml 0000664 0001750 0001750 00000036442 13617646201 021354 0 ustar mclasen mclasen
]>
GtkPasswordEntry
3
GTK4 Library
GtkPasswordEntry
An entry for secrets
Functions
GtkWidget *
gtk_password_entry_new ()
void
gtk_password_entry_set_show_peek_icon ()
gboolean
gtk_password_entry_get_show_peek_icon ()
void
gtk_password_entry_set_extra_menu ()
GMenuModel *
gtk_password_entry_get_extra_menu ()
Properties
gboolean activates-defaultRead / Write
GMenuModel * extra-menuRead / Write
gchar * placeholder-textRead / Write
gboolean show-peek-iconRead / Write
Types and Values
struct GtkPasswordEntry
Object Hierarchy
GObject
╰── GInitiallyUnowned
╰── GtkWidget
╰── GtkPasswordEntry
Implemented Interfaces
GtkPasswordEntry implements
AtkImplementorIface, GtkBuildable, GtkConstraintTarget and GtkEditable.
Includes #include <gtk/gtk.h>
Description
GtkPasswordEntry is entry that has been tailored for entering secrets.
It does not show its contents in clear text, does not allow to copy it
to the clipboard, and it shows a warning when Caps Lock is engaged.
Optionally, it can offer a way to reveal the contents in clear text.
GtkPasswordEntry provides only minimal API and should be used with the
GtkEditable API.
Functions
gtk_password_entry_new ()
gtk_password_entry_new
GtkWidget *
gtk_password_entry_new (void );
Creates a GtkPasswordEntry .
Returns
a new GtkPasswordEntry
gtk_password_entry_set_show_peek_icon ()
gtk_password_entry_set_show_peek_icon
void
gtk_password_entry_set_show_peek_icon (GtkPasswordEntry *entry ,
gboolean show_peek_icon );
Sets whether the entry should have a clickable icon
to show the contents of the entry in clear text.
Setting this to FALSE also hides the text again.
Parameters
entry
a GtkPasswordEntry
show_peek_icon
whether to show the peek icon
gtk_password_entry_get_show_peek_icon ()
gtk_password_entry_get_show_peek_icon
gboolean
gtk_password_entry_get_show_peek_icon (GtkPasswordEntry *entry );
Returns whether the entry is showing a clickable icon
to reveal the contents of the entry in clear text.
Parameters
entry
a GtkPasswordEntry
Returns
TRUE if an icon is shown
Property Details
The “activates-default” property
GtkPasswordEntry:activates-default
“activates-default” gboolean
Whether to activate the default widget (such as the default button in a dialog) when Enter is pressed. Owner: GtkPasswordEntry
Flags: Read / Write
Default value: FALSE
The “placeholder-text” property
GtkPasswordEntry:placeholder-text
“placeholder-text” gchar *
Show text in the entry when it’s empty and unfocused. Owner: GtkPasswordEntry
Flags: Read / Write
Default value: NULL
The “show-peek-icon” property
GtkPasswordEntry:show-peek-icon
“show-peek-icon” gboolean
Whether to show an icon for revealing the content. Owner: GtkPasswordEntry
Flags: Read / Write
Default value: FALSE
docs/reference/gtk/xml/gtksearchentry.xml 0000664 0001750 0001750 00000055604 13617646202 020761 0 ustar mclasen mclasen
]>
GtkSearchEntry
3
GTK4 Library
GtkSearchEntry
An entry which shows a search icon
Functions
GtkWidget *
gtk_search_entry_new ()
void
gtk_search_entry_set_key_capture_widget ()
GtkWidget *
gtk_search_entry_get_key_capture_widget ()
Properties
gboolean activates-defaultRead / Write
gchar * placeholder-textRead / Write
Signals
void activate Action
void next-match Action
void previous-match Action
void search-changed Run Last
void search-started Run Last
void stop-search Action
Types and Values
GtkSearchEntry
Object Hierarchy
GObject
╰── GInitiallyUnowned
╰── GtkWidget
╰── GtkSearchEntry
Implemented Interfaces
GtkSearchEntry implements
AtkImplementorIface, GtkBuildable, GtkConstraintTarget and GtkEditable.
Includes #include <gtk/gtk.h>
Description
GtkSearchEntry is a subclass of GtkEntry that has been
tailored for use as a search entry.
It will show an inactive symbolic “find” icon when the search
entry is empty, and a symbolic “clear” icon when there is text.
Clicking on the “clear” icon will empty the search entry.
Note that the search/clear icon is shown using a secondary
icon, and thus does not work if you are using the secondary
icon position for some other purpose.
To make filtering appear more reactive, it is a good idea to
not react to every change in the entry text immediately, but
only after a short delay. To support this, GtkSearchEntry
emits the “search-changed” signal which can
be used instead of the “changed” signal.
The “previous-match” , “next-match”
and “stop-search” signals can be used to implement
moving between search results and ending the search.
Often, GtkSearchEntry will be fed events by means of being
placed inside a GtkSearchBar . If that is not the case,
you can use gtk_search_entry_set_key_capture_widget() to let it
capture key input from another widget.
Functions
gtk_search_entry_new ()
gtk_search_entry_new
GtkWidget *
gtk_search_entry_new (void );
Creates a GtkSearchEntry , with a find icon when the search field is
empty, and a clear icon when it isn't.
Returns
a new GtkSearchEntry
gtk_search_entry_set_key_capture_widget ()
gtk_search_entry_set_key_capture_widget
void
gtk_search_entry_set_key_capture_widget
(GtkSearchEntry *entry ,
GtkWidget *widget );
Sets widget
as the widget that entry
will capture key events from.
Key events are consumed by the search entry to start or
continue a search.
If the entry is part of a GtkSearchBar , it is preferable
to call gtk_search_bar_set_key_capture_widget() instead, which
will reveal the entry in addition to triggering the search entry.
Parameters
entry
a GtkSearchEntry
widget
a GtkWidget .
[nullable ][transfer none ]
gtk_search_entry_get_key_capture_widget ()
gtk_search_entry_get_key_capture_widget
GtkWidget *
gtk_search_entry_get_key_capture_widget
(GtkSearchEntry *entry );
Gets the widget that entry
is capturing key events from.
Parameters
entry
a GtkSearchEntry
Returns
The key capture widget.
[transfer none ]
Property Details
The “activates-default” property
GtkSearchEntry:activates-default
“activates-default” gboolean
Whether to activate the default widget (such as the default button in a dialog) when Enter is pressed. Owner: GtkSearchEntry
Flags: Read / Write
Default value: FALSE
The “placeholder-text” property
GtkSearchEntry:placeholder-text
“placeholder-text” gchar *
Show text in the entry when it’s empty and unfocused. Owner: GtkSearchEntry
Flags: Read / Write
Default value: NULL
Signal Details
The “activate” signal
GtkSearchEntry::activate
void
user_function (GtkSearchEntry *searchentry,
gpointer user_data)
Flags: Action
The “next-match” signal
GtkSearchEntry::next-match
void
user_function (GtkSearchEntry *entry,
gpointer user_data)
The ::next-match signal is a keybinding signal
which gets emitted when the user initiates a move to the next match
for the current search string.
Applications should connect to it, to implement moving between
matches.
The default bindings for this signal is Ctrl-g.
Parameters
entry
the entry on which the signal was emitted
user_data
user data set when the signal handler was connected.
Flags: Action
The “previous-match” signal
GtkSearchEntry::previous-match
void
user_function (GtkSearchEntry *entry,
gpointer user_data)
The ::previous-match signal is a keybinding signal
which gets emitted when the user initiates a move to the previous match
for the current search string.
Applications should connect to it, to implement moving between
matches.
The default bindings for this signal is Ctrl-Shift-g.
Parameters
entry
the entry on which the signal was emitted
user_data
user data set when the signal handler was connected.
Flags: Action
The “search-changed” signal
GtkSearchEntry::search-changed
void
user_function (GtkSearchEntry *entry,
gpointer user_data)
The “search-changed” signal is emitted with a short
delay of 150 milliseconds after the last change to the entry text.
Parameters
entry
the entry on which the signal was emitted
user_data
user data set when the signal handler was connected.
Flags: Run Last
The “search-started” signal
GtkSearchEntry::search-started
void
user_function (GtkSearchEntry *entry,
gpointer user_data)
The ::search-started signal gets emitted when the user initiated
a search on the entry.
Parameters
entry
the entry on which the signal was emitted
user_data
user data set when the signal handler was connected.
Flags: Run Last
The “stop-search” signal
GtkSearchEntry::stop-search
void
user_function (GtkSearchEntry *entry,
gpointer user_data)
The ::stop-search signal is a keybinding signal
which gets emitted when the user stops a search via keyboard input.
Applications should connect to it, to implement hiding the search
entry in this case.
The default bindings for this signal is Escape.
Parameters
entry
the entry on which the signal was emitted
user_data
user data set when the signal handler was connected.
Flags: Action
docs/reference/gtk/xml/gtkentrybuffer.xml 0000664 0001750 0001750 00000104642 13617646201 020761 0 ustar mclasen mclasen
]>
GtkEntryBuffer
3
GTK4 Library
GtkEntryBuffer
Text buffer for GtkEntry
Functions
GtkEntryBuffer *
gtk_entry_buffer_new ()
const gchar *
gtk_entry_buffer_get_text ()
void
gtk_entry_buffer_set_text ()
gsize
gtk_entry_buffer_get_bytes ()
guint
gtk_entry_buffer_get_length ()
gint
gtk_entry_buffer_get_max_length ()
void
gtk_entry_buffer_set_max_length ()
guint
gtk_entry_buffer_insert_text ()
guint
gtk_entry_buffer_delete_text ()
void
gtk_entry_buffer_emit_deleted_text ()
void
gtk_entry_buffer_emit_inserted_text ()
Properties
guint lengthRead
gint max-lengthRead / Write
gchar * textRead / Write
Signals
void deleted-text Run Last
void inserted-text Run First
Types and Values
struct GtkEntryBuffer
Object Hierarchy
GObject
╰── GtkEntryBuffer
Includes #include <gtk/gtk.h>
Description
The GtkEntryBuffer class contains the actual text displayed in a
GtkEntry widget.
A single GtkEntryBuffer object can be shared by multiple GtkEntry
widgets which will then share the same text content, but not the cursor
position, visibility attributes, icon etc.
GtkEntryBuffer may be derived from. Such a derived class might allow
text to be stored in an alternate location, such as non-pageable memory,
useful in the case of important passwords. Or a derived class could
integrate with an application’s concept of undo/redo.
Functions
gtk_entry_buffer_new ()
gtk_entry_buffer_new
GtkEntryBuffer *
gtk_entry_buffer_new (const gchar *initial_chars ,
gint n_initial_chars );
Create a new GtkEntryBuffer object.
Optionally, specify initial text to set in the buffer.
Parameters
initial_chars
initial buffer text, or NULL .
[allow-none ]
n_initial_chars
number of characters in initial_chars
, or -1
Returns
A new GtkEntryBuffer object.
gtk_entry_buffer_get_text ()
gtk_entry_buffer_get_text
const gchar *
gtk_entry_buffer_get_text (GtkEntryBuffer *buffer );
Retrieves the contents of the buffer.
The memory pointer returned by this call will not change
unless this object emits a signal, or is finalized.
Parameters
buffer
a GtkEntryBuffer
Returns
a pointer to the contents of the widget as a
string. This string points to internally allocated
storage in the buffer and must not be freed, modified or
stored.
gtk_entry_buffer_set_text ()
gtk_entry_buffer_set_text
void
gtk_entry_buffer_set_text (GtkEntryBuffer *buffer ,
const gchar *chars ,
gint n_chars );
Sets the text in the buffer.
This is roughly equivalent to calling gtk_entry_buffer_delete_text()
and gtk_entry_buffer_insert_text() .
Note that n_chars
is in characters, not in bytes.
Parameters
buffer
a GtkEntryBuffer
chars
the new text
n_chars
the number of characters in text
, or -1
gtk_entry_buffer_get_bytes ()
gtk_entry_buffer_get_bytes
gsize
gtk_entry_buffer_get_bytes (GtkEntryBuffer *buffer );
Retrieves the length in bytes of the buffer.
See gtk_entry_buffer_get_length() .
Parameters
buffer
a GtkEntryBuffer
Returns
The byte length of the buffer.
gtk_entry_buffer_get_length ()
gtk_entry_buffer_get_length
guint
gtk_entry_buffer_get_length (GtkEntryBuffer *buffer );
Retrieves the length in characters of the buffer.
Parameters
buffer
a GtkEntryBuffer
Returns
The number of characters in the buffer.
gtk_entry_buffer_get_max_length ()
gtk_entry_buffer_get_max_length
gint
gtk_entry_buffer_get_max_length (GtkEntryBuffer *buffer );
Retrieves the maximum allowed length of the text in
buffer
. See gtk_entry_buffer_set_max_length() .
Parameters
buffer
a GtkEntryBuffer
Returns
the maximum allowed number of characters
in GtkEntryBuffer , or 0 if there is no maximum.
gtk_entry_buffer_set_max_length ()
gtk_entry_buffer_set_max_length
void
gtk_entry_buffer_set_max_length (GtkEntryBuffer *buffer ,
gint max_length );
Sets the maximum allowed length of the contents of the buffer. If
the current contents are longer than the given length, then they
will be truncated to fit.
Parameters
buffer
a GtkEntryBuffer
max_length
the maximum length of the entry buffer, or 0 for no maximum.
(other than the maximum length of entries.) The value passed in will
be clamped to the range 0-65536.
gtk_entry_buffer_insert_text ()
gtk_entry_buffer_insert_text
guint
gtk_entry_buffer_insert_text (GtkEntryBuffer *buffer ,
guint position ,
const gchar *chars ,
gint n_chars );
Inserts n_chars
characters of chars
into the contents of the
buffer, at position position
.
If n_chars
is negative, then characters from chars will be inserted
until a null-terminator is found. If position
or n_chars
are out of
bounds, or the maximum buffer text length is exceeded, then they are
coerced to sane values.
Note that the position and length are in characters, not in bytes.
Parameters
buffer
a GtkEntryBuffer
position
the position at which to insert text.
chars
the text to insert into the buffer.
n_chars
the length of the text in characters, or -1
Returns
The number of characters actually inserted.
gtk_entry_buffer_delete_text ()
gtk_entry_buffer_delete_text
guint
gtk_entry_buffer_delete_text (GtkEntryBuffer *buffer ,
guint position ,
gint n_chars );
Deletes a sequence of characters from the buffer. n_chars
characters are
deleted starting at position
. If n_chars
is negative, then all characters
until the end of the text are deleted.
If position
or n_chars
are out of bounds, then they are coerced to sane
values.
Note that the positions are specified in characters, not bytes.
Parameters
buffer
a GtkEntryBuffer
position
position at which to delete text
n_chars
number of characters to delete
Returns
The number of characters deleted.
gtk_entry_buffer_emit_deleted_text ()
gtk_entry_buffer_emit_deleted_text
void
gtk_entry_buffer_emit_deleted_text (GtkEntryBuffer *buffer ,
guint position ,
guint n_chars );
Used when subclassing GtkEntryBuffer
Parameters
buffer
a GtkEntryBuffer
position
position at which text was deleted
n_chars
number of characters deleted
gtk_entry_buffer_emit_inserted_text ()
gtk_entry_buffer_emit_inserted_text
void
gtk_entry_buffer_emit_inserted_text (GtkEntryBuffer *buffer ,
guint position ,
const gchar *chars ,
guint n_chars );
Used when subclassing GtkEntryBuffer
Parameters
buffer
a GtkEntryBuffer
position
position at which text was inserted
chars
text that was inserted
n_chars
number of characters inserted
Property Details
The “length” property
GtkEntryBuffer:length
“length” guint
The length (in characters) of the text in buffer.
Owner: GtkEntryBuffer
Flags: Read
Allowed values: <= 65535
Default value: 0
The “max-length” property
GtkEntryBuffer:max-length
“max-length” gint
The maximum length (in characters) of the text in the buffer.
Owner: GtkEntryBuffer
Flags: Read / Write
Allowed values: [0,65535]
Default value: 0
The “text” property
GtkEntryBuffer:text
“text” gchar *
The contents of the buffer.
Owner: GtkEntryBuffer
Flags: Read / Write
Default value: ""
Signal Details
The “deleted-text” signal
GtkEntryBuffer::deleted-text
void
user_function (GtkEntryBuffer *buffer,
guint position,
guint n_chars,
gpointer user_data)
The text is altered in the default handler for this signal. If you want
access to the text after the text has been modified, use
G_CONNECT_AFTER .
Parameters
buffer
a GtkEntryBuffer
position
the position the text was deleted at.
n_chars
The number of characters that were deleted.
user_data
user data set when the signal handler was connected.
Flags: Run Last
The “inserted-text” signal
GtkEntryBuffer::inserted-text
void
user_function (GtkEntryBuffer *buffer,
guint position,
gchar *chars,
guint n_chars,
gpointer user_data)
This signal is emitted after text is inserted into the buffer.
Parameters
buffer
a GtkEntryBuffer
position
the position the text was inserted at.
chars
The text that was inserted.
n_chars
The number of characters that were inserted.
user_data
user data set when the signal handler was connected.
Flags: Run First
docs/reference/gtk/xml/gtkseparator.xml 0000664 0001750 0001750 00000011327 13617646202 020424 0 ustar mclasen mclasen
]>
GtkSeparator
3
GTK4 Library
GtkSeparator
A separator widget
Functions
GtkWidget *
gtk_separator_new ()
Types and Values
GtkSeparator
Object Hierarchy
GObject
╰── GInitiallyUnowned
╰── GtkWidget
╰── GtkSeparator
Implemented Interfaces
GtkSeparator implements
AtkImplementorIface, GtkBuildable, GtkConstraintTarget and GtkOrientable.
Includes #include <gtk/gtk.h>
Description
GtkSeparator is a horizontal or vertical separator widget, depending on the
value of the “orientation” property, used to group the widgets
within a window. It displays a line with a shadow to make it appear sunken
into the interface.
CSS nodes GtkSeparator has a single CSS node with name separator. The node
gets one of the .horizontal or .vertical style classes.
Functions
gtk_separator_new ()
gtk_separator_new
GtkWidget *
gtk_separator_new (GtkOrientation orientation );
Creates a new GtkSeparator with the given orientation.
Parameters
orientation
the separator’s orientation.
Returns
a new GtkSeparator .
docs/reference/gtk/xml/gtkentrycompletion.xml 0000664 0001750 0001750 00000251247 13617646201 021665 0 ustar mclasen mclasen
]>
GtkEntryCompletion
3
GTK4 Library
GtkEntryCompletion
Completion functionality for GtkEntry
Functions
gboolean
( *GtkEntryCompletionMatchFunc) ()
GtkEntryCompletion *
gtk_entry_completion_new ()
GtkEntryCompletion *
gtk_entry_completion_new_with_area ()
GtkWidget *
gtk_entry_completion_get_entry ()
void
gtk_entry_completion_set_model ()
GtkTreeModel *
gtk_entry_completion_get_model ()
void
gtk_entry_completion_set_match_func ()
void
gtk_entry_completion_set_minimum_key_length ()
gint
gtk_entry_completion_get_minimum_key_length ()
gchar *
gtk_entry_completion_compute_prefix ()
void
gtk_entry_completion_complete ()
const gchar *
gtk_entry_completion_get_completion_prefix ()
void
gtk_entry_completion_insert_prefix ()
void
gtk_entry_completion_insert_action_text ()
void
gtk_entry_completion_insert_action_markup ()
void
gtk_entry_completion_delete_action ()
void
gtk_entry_completion_set_text_column ()
gint
gtk_entry_completion_get_text_column ()
void
gtk_entry_completion_set_inline_completion ()
gboolean
gtk_entry_completion_get_inline_completion ()
void
gtk_entry_completion_set_inline_selection ()
gboolean
gtk_entry_completion_get_inline_selection ()
void
gtk_entry_completion_set_popup_completion ()
gboolean
gtk_entry_completion_get_popup_completion ()
void
gtk_entry_completion_set_popup_set_width ()
gboolean
gtk_entry_completion_get_popup_set_width ()
void
gtk_entry_completion_set_popup_single_match ()
gboolean
gtk_entry_completion_get_popup_single_match ()
Properties
GtkCellArea * cell-areaRead / Write / Construct Only
gboolean inline-completionRead / Write
gboolean inline-selectionRead / Write
gint minimum-key-lengthRead / Write
GtkTreeModel * modelRead / Write
gboolean popup-completionRead / Write
gboolean popup-set-widthRead / Write
gboolean popup-single-matchRead / Write
gint text-columnRead / Write
Signals
void action-activated Run Last
gboolean cursor-on-match Run Last
gboolean insert-prefix Run Last
gboolean match-selected Run Last
void no-matches Run Last
Types and Values
GtkEntryCompletion
Object Hierarchy
GObject
╰── GtkEntryCompletion
Implemented Interfaces
GtkEntryCompletion implements
GtkCellLayout and GtkBuildable.
Includes #include <gtk/gtk.h>
Description
GtkEntryCompletion is an auxiliary object to be used in conjunction with
GtkEntry to provide the completion functionality. It implements the
GtkCellLayout interface, to allow the user to add extra cells to the
GtkTreeView with completion matches.
“Completion functionality” means that when the user modifies the text
in the entry, GtkEntryCompletion checks which rows in the model match
the current content of the entry, and displays a list of matches.
By default, the matching is done by comparing the entry text
case-insensitively against the text column of the model (see
gtk_entry_completion_set_text_column() ), but this can be overridden
with a custom match function (see gtk_entry_completion_set_match_func() ).
When the user selects a completion, the content of the entry is
updated. By default, the content of the entry is replaced by the
text column of the model, but this can be overridden by connecting
to the “match-selected” signal and updating the
entry in the signal handler. Note that you should return TRUE from
the signal handler to suppress the default behaviour.
To add completion functionality to an entry, use gtk_entry_set_completion() .
In addition to regular completion matches, which will be inserted into the
entry when they are selected, GtkEntryCompletion also allows to display
“actions” in the popup window. Their appearance is similar to menuitems,
to differentiate them clearly from completion strings. When an action is
selected, the “action-activated” signal is emitted.
GtkEntryCompletion uses a GtkTreeModelFilter model to represent the
subset of the entire model that is currently matching. While the
GtkEntryCompletion signals “match-selected” and
“cursor-on-match” take the original model and an
iter pointing to that model as arguments, other callbacks and signals
(such as GtkCellLayoutDataFuncs or “apply-attributes” )
will generally take the filter model as argument. As long as you are
only calling gtk_tree_model_get() , this will make no difference to
you. If for some reason, you need the original model, use
gtk_tree_model_filter_get_model() . Don’t forget to use
gtk_tree_model_filter_convert_iter_to_child_iter() to obtain a
matching iter.
Functions
GtkEntryCompletionMatchFunc ()
GtkEntryCompletionMatchFunc
gboolean
( *GtkEntryCompletionMatchFunc) (GtkEntryCompletion *completion ,
const gchar *key ,
GtkTreeIter *iter ,
gpointer user_data );
A function which decides whether the row indicated by iter
matches
a given key
, and should be displayed as a possible completion for key
.
Note that key
is normalized and case-folded (see g_utf8_normalize()
and g_utf8_casefold() ). If this is not appropriate, match functions
have access to the unmodified key via
gtk_editable_get_text (GTK_EDITABLE (gtk_entry_completion_get_entry() )) .
Parameters
completion
the GtkEntryCompletion
key
the string to match, normalized and case-folded
iter
a GtkTreeIter indicating the row to match
user_data
user data given to gtk_entry_completion_set_match_func()
Returns
TRUE if iter
should be displayed as a possible completion
for key
gtk_entry_completion_new ()
gtk_entry_completion_new
GtkEntryCompletion *
gtk_entry_completion_new (void );
Creates a new GtkEntryCompletion object.
Returns
A newly created GtkEntryCompletion object
gtk_entry_completion_new_with_area ()
gtk_entry_completion_new_with_area
GtkEntryCompletion *
gtk_entry_completion_new_with_area (GtkCellArea *area );
Creates a new GtkEntryCompletion object using the
specified area
to layout cells in the underlying
GtkTreeViewColumn for the drop-down menu.
Parameters
area
the GtkCellArea used to layout cells
Returns
A newly created GtkEntryCompletion object
gtk_entry_completion_get_entry ()
gtk_entry_completion_get_entry
GtkWidget *
gtk_entry_completion_get_entry (GtkEntryCompletion *completion );
Gets the entry completion
has been attached to.
Parameters
completion
a GtkEntryCompletion
Returns
The entry completion
has been attached to.
[transfer none ]
gtk_entry_completion_set_model ()
gtk_entry_completion_set_model
void
gtk_entry_completion_set_model (GtkEntryCompletion *completion ,
GtkTreeModel *model );
Sets the model for a GtkEntryCompletion . If completion
already has
a model set, it will remove it before setting the new model.
If model is NULL , then it will unset the model.
Parameters
completion
a GtkEntryCompletion
model
the GtkTreeModel .
[allow-none ]
gtk_entry_completion_get_model ()
gtk_entry_completion_get_model
GtkTreeModel *
gtk_entry_completion_get_model (GtkEntryCompletion *completion );
Returns the model the GtkEntryCompletion is using as data source.
Returns NULL if the model is unset.
Parameters
completion
a GtkEntryCompletion
Returns
A GtkTreeModel , or NULL if none
is currently being used.
[nullable ][transfer none ]
gtk_entry_completion_set_match_func ()
gtk_entry_completion_set_match_func
void
gtk_entry_completion_set_match_func (GtkEntryCompletion *completion ,
GtkEntryCompletionMatchFunc func ,
gpointer func_data ,
GDestroyNotify func_notify );
Sets the match function for completion
to be func
. The match function
is used to determine if a row should or should not be in the completion
list.
Parameters
completion
a GtkEntryCompletion
func
the GtkEntryCompletionMatchFunc to use
func_data
user data for func
func_notify
destroy notify for func_data
.
gtk_entry_completion_set_minimum_key_length ()
gtk_entry_completion_set_minimum_key_length
void
gtk_entry_completion_set_minimum_key_length
(GtkEntryCompletion *completion ,
gint length );
Requires the length of the search key for completion
to be at least
length
. This is useful for long lists, where completing using a small
key takes a lot of time and will come up with meaningless results anyway
(ie, a too large dataset).
Parameters
completion
a GtkEntryCompletion
length
the minimum length of the key in order to start completing
gtk_entry_completion_get_minimum_key_length ()
gtk_entry_completion_get_minimum_key_length
gint
gtk_entry_completion_get_minimum_key_length
(GtkEntryCompletion *completion );
Returns the minimum key length as set for completion
.
Parameters
completion
a GtkEntryCompletion
Returns
The currently used minimum key length
gtk_entry_completion_compute_prefix ()
gtk_entry_completion_compute_prefix
gchar *
gtk_entry_completion_compute_prefix (GtkEntryCompletion *completion ,
const char *key );
Computes the common prefix that is shared by all rows in completion
that start with key
. If no row matches key
, NULL will be returned.
Note that a text column must have been set for this function to work,
see gtk_entry_completion_set_text_column() for details.
Parameters
completion
the entry completion
key
The text to complete for
Returns
The common prefix all rows starting with
key
or NULL if no row matches key
.
[nullable ][transfer full ]
gtk_entry_completion_complete ()
gtk_entry_completion_complete
void
gtk_entry_completion_complete (GtkEntryCompletion *completion );
Requests a completion operation, or in other words a refiltering of the
current list with completions, using the current key. The completion list
view will be updated accordingly.
Parameters
completion
a GtkEntryCompletion
gtk_entry_completion_get_completion_prefix ()
gtk_entry_completion_get_completion_prefix
const gchar *
gtk_entry_completion_get_completion_prefix
(GtkEntryCompletion *completion );
Get the original text entered by the user that triggered
the completion or NULL if there’s no completion ongoing.
Parameters
completion
a GtkEntryCompletion
Returns
the prefix for the current completion
gtk_entry_completion_insert_prefix ()
gtk_entry_completion_insert_prefix
void
gtk_entry_completion_insert_prefix (GtkEntryCompletion *completion );
Requests a prefix insertion.
Parameters
completion
a GtkEntryCompletion
gtk_entry_completion_insert_action_text ()
gtk_entry_completion_insert_action_text
void
gtk_entry_completion_insert_action_text
(GtkEntryCompletion *completion ,
gint index_ ,
const gchar *text );
Inserts an action in completion
’s action item list at position index_
with text text
. If you want the action item to have markup, use
gtk_entry_completion_insert_action_markup() .
Note that index_
is a relative position in the list of actions and
the position of an action can change when deleting a different action.
Parameters
completion
a GtkEntryCompletion
index_
the index of the item to insert
text
text of the item to insert
gtk_entry_completion_insert_action_markup ()
gtk_entry_completion_insert_action_markup
void
gtk_entry_completion_insert_action_markup
(GtkEntryCompletion *completion ,
gint index_ ,
const gchar *markup );
Inserts an action in completion
’s action item list at position index_
with markup markup
.
Parameters
completion
a GtkEntryCompletion
index_
the index of the item to insert
markup
markup of the item to insert
gtk_entry_completion_delete_action ()
gtk_entry_completion_delete_action
void
gtk_entry_completion_delete_action (GtkEntryCompletion *completion ,
gint index_ );
Deletes the action at index_
from completion
’s action list.
Note that index_
is a relative position and the position of an
action may have changed since it was inserted.
Parameters
completion
a GtkEntryCompletion
index_
the index of the item to delete
gtk_entry_completion_set_text_column ()
gtk_entry_completion_set_text_column
void
gtk_entry_completion_set_text_column (GtkEntryCompletion *completion ,
gint column );
Convenience function for setting up the most used case of this code: a
completion list with just strings. This function will set up completion
to have a list displaying all (and just) strings in the completion list,
and to get those strings from column
in the model of completion
.
This functions creates and adds a GtkCellRendererText for the selected
column. If you need to set the text column, but don't want the cell
renderer, use g_object_set() to set the “text-column”
property directly.
Parameters
completion
a GtkEntryCompletion
column
the column in the model of completion
to get strings from
gtk_entry_completion_get_text_column ()
gtk_entry_completion_get_text_column
gint
gtk_entry_completion_get_text_column (GtkEntryCompletion *completion );
Returns the column in the model of completion
to get strings from.
Parameters
completion
a GtkEntryCompletion
Returns
the column containing the strings
gtk_entry_completion_set_inline_completion ()
gtk_entry_completion_set_inline_completion
void
gtk_entry_completion_set_inline_completion
(GtkEntryCompletion *completion ,
gboolean inline_completion );
Sets whether the common prefix of the possible completions should
be automatically inserted in the entry.
Parameters
completion
a GtkEntryCompletion
inline_completion
TRUE to do inline completion
gtk_entry_completion_get_inline_completion ()
gtk_entry_completion_get_inline_completion
gboolean
gtk_entry_completion_get_inline_completion
(GtkEntryCompletion *completion );
Returns whether the common prefix of the possible completions should
be automatically inserted in the entry.
Parameters
completion
a GtkEntryCompletion
Returns
TRUE if inline completion is turned on
gtk_entry_completion_set_inline_selection ()
gtk_entry_completion_set_inline_selection
void
gtk_entry_completion_set_inline_selection
(GtkEntryCompletion *completion ,
gboolean inline_selection );
Sets whether it is possible to cycle through the possible completions
inside the entry.
Parameters
completion
a GtkEntryCompletion
inline_selection
TRUE to do inline selection
gtk_entry_completion_get_inline_selection ()
gtk_entry_completion_get_inline_selection
gboolean
gtk_entry_completion_get_inline_selection
(GtkEntryCompletion *completion );
Returns TRUE if inline-selection mode is turned on.
Parameters
completion
a GtkEntryCompletion
Returns
TRUE if inline-selection mode is on
Property Details
The “cell-area” property
GtkEntryCompletion:cell-area
“cell-area” GtkCellArea *
The GtkCellArea used to layout cell renderers in the treeview column.
If no area is specified when creating the entry completion with
gtk_entry_completion_new_with_area() a horizontally oriented
GtkCellAreaBox will be used.
Owner: GtkEntryCompletion
Flags: Read / Write / Construct Only
The “inline-completion” property
GtkEntryCompletion:inline-completion
“inline-completion” gboolean
Determines whether the common prefix of the possible completions
should be inserted automatically in the entry. Note that this
requires text-column to be set, even if you are using a custom
match function.
Owner: GtkEntryCompletion
Flags: Read / Write
Default value: FALSE
The “inline-selection” property
GtkEntryCompletion:inline-selection
“inline-selection” gboolean
Determines whether the possible completions on the popup
will appear in the entry as you navigate through them.
Owner: GtkEntryCompletion
Flags: Read / Write
Default value: FALSE
The “minimum-key-length” property
GtkEntryCompletion:minimum-key-length
“minimum-key-length” gint
Minimum length of the search key in order to look up matches. Owner: GtkEntryCompletion
Flags: Read / Write
Allowed values: >= 0
Default value: 1
The “model” property
GtkEntryCompletion:model
“model” GtkTreeModel *
The model to find matches in. Owner: GtkEntryCompletion
Flags: Read / Write
The “text-column” property
GtkEntryCompletion:text-column
“text-column” gint
The column of the model containing the strings.
Note that the strings must be UTF-8.
Owner: GtkEntryCompletion
Flags: Read / Write
Allowed values: >= -1
Default value: -1
Signal Details
The “action-activated” signal
GtkEntryCompletion::action-activated
void
user_function (GtkEntryCompletion *widget,
gint index,
gpointer user_data)
Gets emitted when an action is activated.
Parameters
widget
the object which received the signal
index
the index of the activated action
user_data
user data set when the signal handler was connected.
Flags: Run Last
The “cursor-on-match” signal
GtkEntryCompletion::cursor-on-match
gboolean
user_function (GtkEntryCompletion *widget,
GtkTreeModel *model,
GtkTreeIter *iter,
gpointer user_data)
Gets emitted when a match from the cursor is on a match
of the list. The default behaviour is to replace the contents
of the entry with the contents of the text column in the row
pointed to by iter
.
Note that model
is the model that was passed to
gtk_entry_completion_set_model() .
Parameters
widget
the object which received the signal
model
the GtkTreeModel containing the matches
iter
a GtkTreeIter positioned at the selected match
user_data
user data set when the signal handler was connected.
Returns
TRUE if the signal has been handled
Flags: Run Last
The “insert-prefix” signal
GtkEntryCompletion::insert-prefix
gboolean
user_function (GtkEntryCompletion *widget,
gchar *prefix,
gpointer user_data)
Gets emitted when the inline autocompletion is triggered.
The default behaviour is to make the entry display the
whole prefix and select the newly inserted part.
Applications may connect to this signal in order to insert only a
smaller part of the prefix
into the entry - e.g. the entry used in
the GtkFileChooser inserts only the part of the prefix up to the
next '/'.
Parameters
widget
the object which received the signal
prefix
the common prefix of all possible completions
user_data
user data set when the signal handler was connected.
Returns
TRUE if the signal has been handled
Flags: Run Last
The “match-selected” signal
GtkEntryCompletion::match-selected
gboolean
user_function (GtkEntryCompletion *widget,
GtkTreeModel *model,
GtkTreeIter *iter,
gpointer user_data)
Gets emitted when a match from the list is selected.
The default behaviour is to replace the contents of the
entry with the contents of the text column in the row
pointed to by iter
.
Note that model
is the model that was passed to
gtk_entry_completion_set_model() .
Parameters
widget
the object which received the signal
model
the GtkTreeModel containing the matches
iter
a GtkTreeIter positioned at the selected match
user_data
user data set when the signal handler was connected.
Returns
TRUE if the signal has been handled
Flags: Run Last
The “no-matches” signal
GtkEntryCompletion::no-matches
void
user_function (GtkEntryCompletion *widget,
gpointer user_data)
Gets emitted when the filter model has zero
number of rows in completion_complete method.
(In other words when GtkEntryCompletion is out of
suggestions)
Parameters
widget
the object which received the signal
user_data
user data set when the signal handler was connected.
Flags: Run Last
docs/reference/gtk/xml/gtkliststore.xml 0000664 0001750 0001750 00000173041 13617646203 020457 0 ustar mclasen mclasen
]>
GtkListStore
3
GTK4 Library
GtkListStore
A list-like data structure that can be used with the GtkTreeView
Functions
GtkListStore *
gtk_list_store_new ()
GtkListStore *
gtk_list_store_newv ()
void
gtk_list_store_set_column_types ()
void
gtk_list_store_set ()
void
gtk_list_store_set_valist ()
void
gtk_list_store_set_value ()
void
gtk_list_store_set_valuesv ()
gboolean
gtk_list_store_remove ()
void
gtk_list_store_insert ()
void
gtk_list_store_insert_before ()
void
gtk_list_store_insert_after ()
void
gtk_list_store_insert_with_values ()
void
gtk_list_store_insert_with_valuesv ()
void
gtk_list_store_prepend ()
void
gtk_list_store_append ()
void
gtk_list_store_clear ()
gboolean
gtk_list_store_iter_is_valid ()
void
gtk_list_store_reorder ()
void
gtk_list_store_swap ()
void
gtk_list_store_move_before ()
void
gtk_list_store_move_after ()
Types and Values
struct GtkListStore
Object Hierarchy
GObject
╰── GtkListStore
Implemented Interfaces
GtkListStore implements
GtkTreeModel, GtkTreeDragSource, GtkTreeDragDest, GtkTreeSortable and GtkBuildable.
Includes #include <gtk/gtk.h>
Description
The GtkListStore object is a list model for use with a GtkTreeView
widget. It implements the GtkTreeModel interface, and consequentialy,
can use all of the methods available there. It also implements the
GtkTreeSortable interface so it can be sorted by the view.
Finally, it also implements the tree
drag and drop
interfaces.
The GtkListStore can accept most GObject types as a column type, though
it can’t accept all custom types. Internally, it will keep a copy of
data passed in (such as a string or a boxed pointer). Columns that
accept GObjects are handled a little differently. The
GtkListStore will keep a reference to the object instead of copying the
value. As a result, if the object is modified, it is up to the
application writer to call gtk_tree_model_row_changed() to emit the
“row_changed” signal. This most commonly affects lists with
GdkTextures stored.
An example for creating a simple list store:
Performance Considerations Internally, the GtkListStore was implemented with a linked list with
a tail pointer prior to GTK+ 2.6. As a result, it was fast at data
insertion and deletion, and not fast at random data access. The
GtkListStore sets the GTK_TREE_MODEL_ITERS_PERSIST flag, which means
that GtkTreeIters can be cached while the row exists. Thus, if
access to a particular row is needed often and your code is expected to
run on older versions of GTK+, it is worth keeping the iter around.
Atomic Operations It is important to note that only the methods
gtk_list_store_insert_with_values() and gtk_list_store_insert_with_valuesv()
are atomic, in the sense that the row is being appended to the store and the
values filled in in a single operation with regard to GtkTreeModel signaling.
In contrast, using e.g. gtk_list_store_append() and then gtk_list_store_set()
will first create a row, which triggers the “row-inserted” signal
on GtkListStore . The row, however, is still empty, and any signal handler
connecting to “row-inserted” on this particular store should be prepared
for the situation that the row might be empty. This is especially important
if you are wrapping the GtkListStore inside a GtkTreeModelFilter and are
using a GtkTreeModelFilterVisibleFunc . Using any of the non-atomic operations
to append rows to the GtkListStore will cause the
GtkTreeModelFilterVisibleFunc to be visited with an empty row first; the
function must be prepared for that.
GtkListStore as GtkBuildable The GtkListStore implementation of the GtkBuildable interface allows
to specify the model columns with a <columns> element that may contain
multiple <column> elements, each specifying one model column. The “type”
attribute specifies the data type for the column.
Additionally, it is possible to specify content for the list store
in the UI definition, with the <data> element. It can contain multiple
<row> elements, each specifying to content for one row of the list model.
Inside a <row>, the <col> elements specify the content for individual cells.
Note that it is probably more common to define your models in the code,
and one might consider it a layering violation to specify the content of
a list store in a UI definition, data, not presentation, and common wisdom
is to separate the two, as far as possible.
An example of a UI Definition fragment for a list store:
John
Doe
25
Johan
Dahlin
50
]]>
Functions
gtk_list_store_new ()
gtk_list_store_new
GtkListStore *
gtk_list_store_new (gint n_columns ,
... );
Creates a new list store as with n_columns
columns each of the types passed
in. Note that only types derived from standard GObject fundamental types
are supported.
As an example, gtk_list_store_new (3, G_TYPE_INT, G_TYPE_STRING,
GDK_TYPE_TEXTURE); will create a new GtkListStore with three columns, of type
int, string and GdkTexture , respectively.
Parameters
n_columns
number of columns in the list store
...
all GType types for the columns, from first to last
Returns
a new GtkListStore
gtk_list_store_newv ()
gtk_list_store_newv
GtkListStore *
gtk_list_store_newv (gint n_columns ,
GType *types );
Non-vararg creation function. Used primarily by language bindings.
[rename-to gtk_list_store_new]
Parameters
n_columns
number of columns in the list store
types
an array of GType types for the columns, from first to last.
[array length=n_columns]
Returns
a new GtkListStore .
[transfer full ]
gtk_list_store_set_column_types ()
gtk_list_store_set_column_types
void
gtk_list_store_set_column_types (GtkListStore *list_store ,
gint n_columns ,
GType *types );
This function is meant primarily for GObjects that inherit from GtkListStore ,
and should only be used when constructing a new GtkListStore . It will not
function after a row has been added, or a method on the GtkTreeModel
interface is called.
Parameters
list_store
A GtkListStore
n_columns
Number of columns for the list store
types
An array length n of GTypes .
[array length=n_columns]
gtk_list_store_set ()
gtk_list_store_set
void
gtk_list_store_set (GtkListStore *list_store ,
GtkTreeIter *iter ,
... );
Sets the value of one or more cells in the row referenced by iter
.
The variable argument list should contain integer column numbers,
each column number followed by the value to be set.
The list is terminated by a -1. For example, to set column 0 with type
G_TYPE_STRING to “Foo”, you would write gtk_list_store_set (store, iter,
0, "Foo", -1) .
The value will be referenced by the store if it is a G_TYPE_OBJECT , and it
will be copied if it is a G_TYPE_STRING or G_TYPE_BOXED .
Parameters
list_store
a GtkListStore
iter
row iterator
...
pairs of column number and value, terminated with -1
gtk_list_store_set_valist ()
gtk_list_store_set_valist
void
gtk_list_store_set_valist (GtkListStore *list_store ,
GtkTreeIter *iter ,
va_list var_args );
See gtk_list_store_set() ; this version takes a va_list for use by language
bindings.
Parameters
list_store
A GtkListStore
iter
A valid GtkTreeIter for the row being modified
var_args
va_list of column/value pairs
gtk_list_store_set_value ()
gtk_list_store_set_value
void
gtk_list_store_set_value (GtkListStore *list_store ,
GtkTreeIter *iter ,
gint column ,
GValue *value );
Sets the data in the cell specified by iter
and column
.
The type of value
must be convertible to the type of the
column.
Parameters
list_store
A GtkListStore
iter
A valid GtkTreeIter for the row being modified
column
column number to modify
value
new value for the cell
gtk_list_store_set_valuesv ()
gtk_list_store_set_valuesv
void
gtk_list_store_set_valuesv (GtkListStore *list_store ,
GtkTreeIter *iter ,
gint *columns ,
GValue *values ,
gint n_values );
A variant of gtk_list_store_set_valist() which
takes the columns and values as two arrays, instead of
varargs. This function is mainly intended for
language-bindings and in case the number of columns to
change is not known until run-time.
[rename-to gtk_list_store_set]
Parameters
list_store
A GtkListStore
iter
A valid GtkTreeIter for the row being modified
columns
an array of column numbers.
[array length=n_values]
values
an array of GValues.
[array length=n_values]
n_values
the length of the columns
and values
arrays
gtk_list_store_remove ()
gtk_list_store_remove
gboolean
gtk_list_store_remove (GtkListStore *list_store ,
GtkTreeIter *iter );
Removes the given row from the list store. After being removed,
iter
is set to be the next valid row, or invalidated if it pointed
to the last row in list_store
.
Parameters
list_store
A GtkListStore
iter
A valid GtkTreeIter
Returns
TRUE if iter
is valid, FALSE if not.
gtk_list_store_insert ()
gtk_list_store_insert
void
gtk_list_store_insert (GtkListStore *list_store ,
GtkTreeIter *iter ,
gint position );
Creates a new row at position
. iter
will be changed to point to this new
row. If position
is -1 or is larger than the number of rows on the list,
then the new row will be appended to the list. The row will be empty after
this function is called. To fill in values, you need to call
gtk_list_store_set() or gtk_list_store_set_value() .
Parameters
list_store
A GtkListStore
iter
An unset GtkTreeIter to set to the new row.
[out ]
position
position to insert the new row, or -1 for last
gtk_list_store_insert_before ()
gtk_list_store_insert_before
void
gtk_list_store_insert_before (GtkListStore *list_store ,
GtkTreeIter *iter ,
GtkTreeIter *sibling );
Inserts a new row before sibling
. If sibling
is NULL , then the row will
be appended to the end of the list. iter
will be changed to point to this
new row. The row will be empty after this function is called. To fill in
values, you need to call gtk_list_store_set() or gtk_list_store_set_value() .
Parameters
list_store
A GtkListStore
iter
An unset GtkTreeIter to set to the new row.
[out ]
sibling
A valid GtkTreeIter , or NULL .
[allow-none ]
gtk_list_store_insert_after ()
gtk_list_store_insert_after
void
gtk_list_store_insert_after (GtkListStore *list_store ,
GtkTreeIter *iter ,
GtkTreeIter *sibling );
Inserts a new row after sibling
. If sibling
is NULL , then the row will be
prepended to the beginning of the list. iter
will be changed to point to
this new row. The row will be empty after this function is called. To fill
in values, you need to call gtk_list_store_set() or gtk_list_store_set_value() .
Parameters
list_store
A GtkListStore
iter
An unset GtkTreeIter to set to the new row.
[out ]
sibling
A valid GtkTreeIter , or NULL .
[allow-none ]
gtk_list_store_insert_with_values ()
gtk_list_store_insert_with_values
void
gtk_list_store_insert_with_values (GtkListStore *list_store ,
GtkTreeIter *iter ,
gint position ,
... );
Creates a new row at position
. iter
will be changed to point to this new
row. If position
is -1, or larger than the number of rows in the list, then
the new row will be appended to the list. The row will be filled with the
values given to this function.
Calling
gtk_list_store_insert_with_values (list_store, iter, position...)
has the same effect as calling
with the difference that the former will only emit a row_inserted signal,
while the latter will emit row_inserted, row_changed and, if the list store
is sorted, rows_reordered. Since emitting the rows_reordered signal
repeatedly can affect the performance of the program,
gtk_list_store_insert_with_values() should generally be preferred when
inserting rows in a sorted list store.
Parameters
list_store
A GtkListStore
iter
An unset GtkTreeIter to set to the new row, or NULL .
[out ][allow-none ]
position
position to insert the new row, or -1 to append after existing
rows
...
pairs of column number and value, terminated with -1
gtk_list_store_insert_with_valuesv ()
gtk_list_store_insert_with_valuesv
void
gtk_list_store_insert_with_valuesv (GtkListStore *list_store ,
GtkTreeIter *iter ,
gint position ,
gint *columns ,
GValue *values ,
gint n_values );
A variant of gtk_list_store_insert_with_values() which
takes the columns and values as two arrays, instead of
varargs. This function is mainly intended for
language-bindings.
Parameters
list_store
A GtkListStore
iter
An unset GtkTreeIter to set to the new row, or NULL .
[out ][allow-none ]
position
position to insert the new row, or -1 for last
columns
an array of column numbers.
[array length=n_values]
values
an array of GValues.
[array length=n_values]
n_values
the length of the columns
and values
arrays
gtk_list_store_prepend ()
gtk_list_store_prepend
void
gtk_list_store_prepend (GtkListStore *list_store ,
GtkTreeIter *iter );
Prepends a new row to list_store
. iter
will be changed to point to this new
row. The row will be empty after this function is called. To fill in
values, you need to call gtk_list_store_set() or gtk_list_store_set_value() .
Parameters
list_store
A GtkListStore
iter
An unset GtkTreeIter to set to the prepend row.
[out ]
gtk_list_store_append ()
gtk_list_store_append
void
gtk_list_store_append (GtkListStore *list_store ,
GtkTreeIter *iter );
Appends a new row to list_store
. iter
will be changed to point to this new
row. The row will be empty after this function is called. To fill in
values, you need to call gtk_list_store_set() or gtk_list_store_set_value() .
Parameters
list_store
A GtkListStore
iter
An unset GtkTreeIter to set to the appended row.
[out ]
gtk_list_store_clear ()
gtk_list_store_clear
void
gtk_list_store_clear (GtkListStore *list_store );
Removes all rows from the list store.
Parameters
list_store
a GtkListStore .
gtk_list_store_iter_is_valid ()
gtk_list_store_iter_is_valid
gboolean
gtk_list_store_iter_is_valid (GtkListStore *list_store ,
GtkTreeIter *iter );
This function is slow. Only use it for debugging and/or testing
purposes.
Checks if the given iter is a valid iter for this GtkListStore .
Parameters
list_store
A GtkListStore .
iter
A GtkTreeIter .
Returns
TRUE if the iter is valid, FALSE if the iter is invalid.
gtk_list_store_reorder ()
gtk_list_store_reorder
void
gtk_list_store_reorder (GtkListStore *store ,
gint *new_order );
Reorders store
to follow the order indicated by new_order
. Note that
this function only works with unsorted stores.
Parameters
store
A GtkListStore .
new_order
an array of integers mapping the new
position of each child to its old position before the re-ordering,
i.e. new_order
[newpos] = oldpos . It must have
exactly as many items as the list store’s length.
[array zero-terminated=1]
gtk_list_store_swap ()
gtk_list_store_swap
void
gtk_list_store_swap (GtkListStore *store ,
GtkTreeIter *a ,
GtkTreeIter *b );
Swaps a
and b
in store
. Note that this function only works with
unsorted stores.
Parameters
store
A GtkListStore .
a
A GtkTreeIter .
b
Another GtkTreeIter .
gtk_list_store_move_before ()
gtk_list_store_move_before
void
gtk_list_store_move_before (GtkListStore *store ,
GtkTreeIter *iter ,
GtkTreeIter *position );
Moves iter
in store
to the position before position
. Note that this
function only works with unsorted stores. If position
is NULL , iter
will be moved to the end of the list.
Parameters
store
A GtkListStore .
iter
A GtkTreeIter .
position
A GtkTreeIter , or NULL .
[allow-none ]
gtk_list_store_move_after ()
gtk_list_store_move_after
void
gtk_list_store_move_after (GtkListStore *store ,
GtkTreeIter *iter ,
GtkTreeIter *position );
Moves iter
in store
to the position after position
. Note that this
function only works with unsorted stores. If position
is NULL , iter
will be moved to the start of the list.
Parameters
store
A GtkListStore .
iter
A GtkTreeIter .
position
A GtkTreeIter or NULL .
[allow-none ]
See Also
GtkTreeModel , GtkTreeStore
docs/reference/gtk/xml/gtkexpander.xml 0000664 0001750 0001750 00000114507 13617646201 020235 0 ustar mclasen mclasen
]>
GtkExpander
3
GTK4 Library
GtkExpander
A container which can hide its child
Functions
GtkWidget *
gtk_expander_new ()
GtkWidget *
gtk_expander_new_with_mnemonic ()
void
gtk_expander_set_expanded ()
gboolean
gtk_expander_get_expanded ()
void
gtk_expander_set_label ()
const gchar *
gtk_expander_get_label ()
void
gtk_expander_set_use_underline ()
gboolean
gtk_expander_get_use_underline ()
void
gtk_expander_set_use_markup ()
gboolean
gtk_expander_get_use_markup ()
void
gtk_expander_set_label_widget ()
GtkWidget *
gtk_expander_get_label_widget ()
void
gtk_expander_set_resize_toplevel ()
gboolean
gtk_expander_get_resize_toplevel ()
Properties
gboolean expandedRead / Write / Construct
gchar * labelRead / Write / Construct
GtkWidget * label-widgetRead / Write
gboolean resize-toplevelRead / Write
gboolean use-markupRead / Write / Construct
gboolean use-underlineRead / Write / Construct
Signals
void activate Action
Types and Values
GtkExpander
Object Hierarchy
GObject
╰── GInitiallyUnowned
╰── GtkWidget
╰── GtkContainer
╰── GtkExpander
Implemented Interfaces
GtkExpander implements
AtkImplementorIface, GtkBuildable and GtkConstraintTarget.
Includes #include <gtk/gtk.h>
Description
A GtkExpander allows the user to hide or show its child by clicking
on an expander triangle similar to the triangles used in a GtkTreeView .
Normally you use an expander as you would use a descendant
of GtkBin ; you create the child widget and use gtk_container_add()
to add it to the expander. When the expander is toggled, it will take
care of showing and hiding the child automatically.
Special Usage There are situations in which you may prefer to show and hide the
expanded widget yourself, such as when you want to actually create
the widget at expansion time. In this case, create a GtkExpander
but do not add a child to it. The expander widget has an
“expanded” property which can be used to monitor
its expansion state. You should watch this property with a signal
connection as follows:
GtkExpander as GtkBuildable The GtkExpander implementation of the GtkBuildable interface supports
placing a child in the label position by specifying “label” as the
“type” attribute of a <child> element. A normal content child can be
specified without specifying a <child> type attribute.
An example of a UI definition fragment with GtkExpander:
]]>
CSS nodes
╰──
]]>
GtkExpander has three CSS nodes, the main node with the name expander,
a subnode with name title and node below it with name arrow. The arrow of an
expander that is showing its child gets the :checked pseudoclass added to it.
Functions
gtk_expander_new ()
gtk_expander_new
GtkWidget *
gtk_expander_new (const gchar *label );
Creates a new expander using label
as the text of the label.
Parameters
label
the text of the label.
[nullable ]
Returns
a new GtkExpander widget.
gtk_expander_new_with_mnemonic ()
gtk_expander_new_with_mnemonic
GtkWidget *
gtk_expander_new_with_mnemonic (const gchar *label );
Creates a new expander using label
as the text of the label.
If characters in label
are preceded by an underscore, they are underlined.
If you need a literal underscore character in a label, use “__” (two
underscores). The first underlined character represents a keyboard
accelerator called a mnemonic.
Pressing Alt and that key activates the button.
Parameters
label
the text of the label with an underscore
in front of the mnemonic character.
[nullable ]
Returns
a new GtkExpander widget.
gtk_expander_set_expanded ()
gtk_expander_set_expanded
void
gtk_expander_set_expanded (GtkExpander *expander ,
gboolean expanded );
Sets the state of the expander. Set to TRUE , if you want
the child widget to be revealed, and FALSE if you want the
child widget to be hidden.
Parameters
expander
a GtkExpander
expanded
whether the child widget is revealed
gtk_expander_get_expanded ()
gtk_expander_get_expanded
gboolean
gtk_expander_get_expanded (GtkExpander *expander );
Queries a GtkExpander and returns its current state. Returns TRUE
if the child widget is revealed.
See gtk_expander_set_expanded() .
Parameters
expander
a GtkExpander
Returns
the current state of the expander
gtk_expander_set_label ()
gtk_expander_set_label
void
gtk_expander_set_label (GtkExpander *expander ,
const gchar *label );
Sets the text of the label of the expander to label
.
This will also clear any previously set labels.
Parameters
expander
a GtkExpander
label
a string.
[nullable ]
gtk_expander_get_label ()
gtk_expander_get_label
const gchar *
gtk_expander_get_label (GtkExpander *expander );
Fetches the text from a label widget including any embedded
underlines indicating mnemonics and Pango markup, as set by
gtk_expander_set_label() . If the label text has not been set the
return value will be NULL . This will be the case if you create an
empty button with gtk_button_new() to use as a container.
Note that this function behaved differently in versions prior to
2.14 and used to return the label text stripped of embedded
underlines indicating mnemonics and Pango markup. This problem can
be avoided by fetching the label text directly from the label
widget.
Parameters
expander
a GtkExpander
Returns
The text of the label widget. This string is owned
by the widget and must not be modified or freed.
[nullable ]
gtk_expander_set_use_underline ()
gtk_expander_set_use_underline
void
gtk_expander_set_use_underline (GtkExpander *expander ,
gboolean use_underline );
If true, an underline in the text of the expander label indicates
the next character should be used for the mnemonic accelerator key.
Parameters
expander
a GtkExpander
use_underline
TRUE if underlines in the text indicate mnemonics
gtk_expander_get_use_underline ()
gtk_expander_get_use_underline
gboolean
gtk_expander_get_use_underline (GtkExpander *expander );
Returns whether an embedded underline in the expander label
indicates a mnemonic. See gtk_expander_set_use_underline() .
Parameters
expander
a GtkExpander
Returns
TRUE if an embedded underline in the expander
label indicates the mnemonic accelerator keys
gtk_expander_set_use_markup ()
gtk_expander_set_use_markup
void
gtk_expander_set_use_markup (GtkExpander *expander ,
gboolean use_markup );
Sets whether the text of the label contains markup in
Pango’s text markup language.
See gtk_label_set_markup() .
Parameters
expander
a GtkExpander
use_markup
TRUE if the label’s text should be parsed for markup
gtk_expander_get_use_markup ()
gtk_expander_get_use_markup
gboolean
gtk_expander_get_use_markup (GtkExpander *expander );
Returns whether the label’s text is interpreted as marked up with
the Pango text markup language.
See gtk_expander_set_use_markup() .
Parameters
expander
a GtkExpander
Returns
TRUE if the label’s text will be parsed for markup
gtk_expander_set_label_widget ()
gtk_expander_set_label_widget
void
gtk_expander_set_label_widget (GtkExpander *expander ,
GtkWidget *label_widget );
Set the label widget for the expander. This is the widget
that will appear embedded alongside the expander arrow.
Parameters
expander
a GtkExpander
label_widget
the new label widget.
[nullable ]
gtk_expander_get_label_widget ()
gtk_expander_get_label_widget
GtkWidget *
gtk_expander_get_label_widget (GtkExpander *expander );
Retrieves the label widget for the frame. See
gtk_expander_set_label_widget() .
Parameters
expander
a GtkExpander
Returns
the label widget,
or NULL if there is none.
[nullable ][transfer none ]
gtk_expander_set_resize_toplevel ()
gtk_expander_set_resize_toplevel
void
gtk_expander_set_resize_toplevel (GtkExpander *expander ,
gboolean resize_toplevel );
Sets whether the expander will resize the toplevel widget
containing the expander upon resizing and collpasing.
Parameters
expander
a GtkExpander
resize_toplevel
whether to resize the toplevel
gtk_expander_get_resize_toplevel ()
gtk_expander_get_resize_toplevel
gboolean
gtk_expander_get_resize_toplevel (GtkExpander *expander );
Returns whether the expander will resize the toplevel widget
containing the expander upon resizing and collpasing.
Parameters
expander
a GtkExpander
Returns
the “resize toplevel” setting.
Property Details
The “expanded” property
GtkExpander:expanded
“expanded” gboolean
Whether the expander has been opened to reveal the child widget. Owner: GtkExpander
Flags: Read / Write / Construct
Default value: FALSE
The “label” property
GtkExpander:label
“label” gchar *
Text of the expander’s label. Owner: GtkExpander
Flags: Read / Write / Construct
Default value: NULL
The “label-widget” property
GtkExpander:label-widget
“label-widget” GtkWidget *
A widget to display in place of the usual expander label. Owner: GtkExpander
Flags: Read / Write
The “resize-toplevel” property
GtkExpander:resize-toplevel
“resize-toplevel” gboolean
When this property is TRUE , the expander will resize the toplevel
widget containing the expander upon expanding and collapsing.
Owner: GtkExpander
Flags: Read / Write
Default value: FALSE
The “use-markup” property
GtkExpander:use-markup
“use-markup” gboolean
The text of the label includes XML markup. See pango_parse_markup(). Owner: GtkExpander
Flags: Read / Write / Construct
Default value: FALSE
The “use-underline” property
GtkExpander:use-underline
“use-underline” gboolean
If set, an underline in the text indicates the next character should be used for the mnemonic accelerator key. Owner: GtkExpander
Flags: Read / Write / Construct
Default value: FALSE
Signal Details
The “activate” signal
GtkExpander::activate
void
user_function (GtkExpander *expander,
gpointer user_data)
Flags: Action
docs/reference/gtk/xml/gtksettings.xml 0000664 0001750 0001750 00000156077 13617646202 020300 0 ustar mclasen mclasen
]>
Settings
3
GTK4 Library
Settings
Sharing settings between applications
Functions
GtkSettings *
gtk_settings_get_default ()
GtkSettings *
gtk_settings_get_for_display ()
void
gtk_settings_reset_property ()
Properties
gboolean gtk-alternative-button-orderRead / Write
gboolean gtk-alternative-sort-arrowsRead / Write
gboolean gtk-application-prefer-dark-themeRead / Write
gboolean gtk-cursor-blinkRead / Write
gint gtk-cursor-blink-timeRead / Write
gint gtk-cursor-blink-timeoutRead / Write
gchar * gtk-cursor-theme-nameRead / Write
gint gtk-cursor-theme-sizeRead / Write
gchar * gtk-decoration-layoutRead / Write
gboolean gtk-dialogs-use-headerRead / Write
gint gtk-dnd-drag-thresholdRead / Write
gint gtk-double-click-distanceRead / Write
gint gtk-double-click-timeRead / Write
gboolean gtk-enable-accelsRead / Write
gboolean gtk-enable-animationsRead / Write
gboolean gtk-enable-event-soundsRead / Write
gboolean gtk-enable-input-feedback-soundsRead / Write
gboolean gtk-enable-primary-pasteRead / Write
guint gtk-entry-password-hint-timeoutRead / Write
gboolean gtk-entry-select-on-focusRead / Write
gboolean gtk-error-bellRead / Write
gchar * gtk-font-nameRead / Write
guint gtk-fontconfig-timestampRead / Write
gchar * gtk-icon-theme-nameRead / Write
gchar * gtk-im-moduleRead / Write
gboolean gtk-keynav-use-caretRead / Write
gboolean gtk-label-select-on-focusRead / Write
guint gtk-long-press-timeRead / Write
gboolean gtk-overlay-scrollingRead / Write
gboolean gtk-primary-button-warps-sliderRead / Write
gchar * gtk-print-backendsRead / Write
gchar * gtk-print-preview-commandRead / Write
gboolean gtk-recent-files-enabledRead / Write
gint gtk-recent-files-max-ageRead / Write
gboolean gtk-shell-shows-app-menuRead / Write
gboolean gtk-shell-shows-desktopRead / Write
gboolean gtk-shell-shows-menubarRead / Write
gchar * gtk-sound-theme-nameRead / Write
gboolean gtk-split-cursorRead / Write
gchar * gtk-theme-nameRead / Write
gchar * gtk-titlebar-double-clickRead / Write
gchar * gtk-titlebar-middle-clickRead / Write
gchar * gtk-titlebar-right-clickRead / Write
gint gtk-xft-antialiasRead / Write
gint gtk-xft-dpiRead / Write
gint gtk-xft-hintingRead / Write
gchar * gtk-xft-hintstyleRead / Write
gchar * gtk-xft-rgbaRead / Write
Types and Values
GtkSettings
struct GtkSettingsValue
Object Hierarchy
GObject
╰── GtkSettings
Implemented Interfaces
GtkSettings implements
GtkStyleProvider.
Includes #include <gtk/gtk.h>
Description
GtkSettings provide a mechanism to share global settings between
applications.
On the X window system, this sharing is realized by an
XSettings
manager that is usually part of the desktop environment, along with
utilities that let the user change these settings. In the absence of
an Xsettings manager, GTK reads default values for settings from
settings.ini files in
/etc/gtk-4.0 , $XDG_CONFIG_DIRS/gtk-4.0
and $XDG_CONFIG_HOME/gtk-4.0 .
These files must be valid key files (see GKeyFile ), and have
a section called Settings. Themes can also provide default values
for settings by installing a settings.ini file
next to their gtk.css file.
Applications can override system-wide settings by setting the property
of the GtkSettings object with g_object_set() . This should be restricted
to special cases though; GtkSettings are not meant as an application
configuration facility.
There is one GtkSettings instance per display. It can be obtained with
gtk_settings_get_for_display() , but in many cases, it is more convenient
to use gtk_widget_get_settings() . gtk_settings_get_default() returns the
GtkSettings instance for the default display.
Functions
gtk_settings_get_default ()
gtk_settings_get_default
GtkSettings *
gtk_settings_get_default (void );
Gets the GtkSettings object for the default display, creating
it if necessary. See gtk_settings_get_for_display() .
Returns
a GtkSettings object. If there is
no default display, then returns NULL .
[nullable ][transfer none ]
gtk_settings_get_for_display ()
gtk_settings_get_for_display
GtkSettings *
gtk_settings_get_for_display (GdkDisplay *display );
Gets the GtkSettings object for display
, creating it if necessary.
Parameters
display
a GdkDisplay .
Returns
a GtkSettings object.
[transfer none ]
gtk_settings_reset_property ()
gtk_settings_reset_property
void
gtk_settings_reset_property (GtkSettings *settings ,
const gchar *name );
Undoes the effect of calling g_object_set() to install an
application-specific value for a setting. After this call,
the setting will again follow the session-wide value for
this setting.
Parameters
settings
a GtkSettings object
name
the name of the setting to reset
Property Details
The “gtk-alternative-button-order” property
GtkSettings:gtk-alternative-button-order
“gtk-alternative-button-order” gboolean
Whether buttons in dialogs should use the alternative button order. Owner: GtkSettings
Flags: Read / Write
Default value: FALSE
The “gtk-alternative-sort-arrows” property
GtkSettings:gtk-alternative-sort-arrows
“gtk-alternative-sort-arrows” gboolean
Controls the direction of the sort indicators in sorted list and tree
views. By default an arrow pointing down means the column is sorted
in ascending order. When set to TRUE , this order will be inverted.
Owner: GtkSettings
Flags: Read / Write
Default value: FALSE
The “gtk-application-prefer-dark-theme” property
GtkSettings:gtk-application-prefer-dark-theme
“gtk-application-prefer-dark-theme” gboolean
Whether the application prefers to use a dark theme. If a GTK theme
includes a dark variant, it will be used instead of the configured
theme.
Some applications benefit from minimizing the amount of light pollution that
interferes with the content. Good candidates for dark themes are photo and
video editors that make the actual content get all the attention and minimize
the distraction of the chrome.
Dark themes should not be used for documents, where large spaces are white/light
and the dark chrome creates too much contrast (web browser, text editor...).
Owner: GtkSettings
Flags: Read / Write
Default value: FALSE
The “gtk-cursor-blink” property
GtkSettings:gtk-cursor-blink
“gtk-cursor-blink” gboolean
Whether the cursor should blink.
Also see the “gtk-cursor-blink-timeout” setting,
which allows more flexible control over cursor blinking.
Owner: GtkSettings
Flags: Read / Write
Default value: TRUE
The “gtk-cursor-blink-time” property
GtkSettings:gtk-cursor-blink-time
“gtk-cursor-blink-time” gint
Length of the cursor blink cycle, in milliseconds. Owner: GtkSettings
Flags: Read / Write
Allowed values: >= 100
Default value: 1200
The “gtk-cursor-blink-timeout” property
GtkSettings:gtk-cursor-blink-timeout
“gtk-cursor-blink-timeout” gint
Time after which the cursor stops blinking, in seconds.
The timer is reset after each user interaction.
Setting this to zero has the same effect as setting
“gtk-cursor-blink” to FALSE .
Owner: GtkSettings
Flags: Read / Write
Allowed values: >= 1
Default value: 10
The “gtk-cursor-theme-name” property
GtkSettings:gtk-cursor-theme-name
“gtk-cursor-theme-name” gchar *
Name of the cursor theme to use, or NULL to use the default theme. Owner: GtkSettings
Flags: Read / Write
Default value: NULL
The “gtk-cursor-theme-size” property
GtkSettings:gtk-cursor-theme-size
“gtk-cursor-theme-size” gint
Size to use for cursors, or 0 to use the default size. Owner: GtkSettings
Flags: Read / Write
Allowed values: [0,128]
Default value: 0
The “gtk-decoration-layout” property
GtkSettings:gtk-decoration-layout
“gtk-decoration-layout” gchar *
This setting determines which buttons should be put in the
titlebar of client-side decorated windows, and whether they
should be placed at the left of right.
The format of the string is button names, separated by commas.
A colon separates the buttons that should appear on the left
from those on the right. Recognized button names are minimize,
maximize, close, icon (the window icon) and menu (a menu button
for the fallback app menu).
For example, "menu:minimize,maximize,close" specifies a menu
on the left, and minimize, maximize and close buttons on the right.
Note that buttons will only be shown when they are meaningful.
E.g. a menu button only appears when the desktop shell does not
show the app menu, and a close button only appears on a window
that can be closed.
Also note that the setting can be overridden with the
“decoration-layout” property.
Owner: GtkSettings
Flags: Read / Write
Default value: "menu:minimize,maximize,close"
The “gtk-dnd-drag-threshold” property
GtkSettings:gtk-dnd-drag-threshold
“gtk-dnd-drag-threshold” gint
Number of pixels the cursor can move before dragging. Owner: GtkSettings
Flags: Read / Write
Allowed values: >= 1
Default value: 8
The “gtk-double-click-distance” property
GtkSettings:gtk-double-click-distance
“gtk-double-click-distance” gint
Maximum distance allowed between two clicks for them to be considered a double click (in pixels). Owner: GtkSettings
Flags: Read / Write
Allowed values: >= 0
Default value: 5
The “gtk-double-click-time” property
GtkSettings:gtk-double-click-time
“gtk-double-click-time” gint
Maximum time allowed between two clicks for them to be considered a double click (in milliseconds). Owner: GtkSettings
Flags: Read / Write
Allowed values: >= 0
Default value: 400
The “gtk-enable-accels” property
GtkSettings:gtk-enable-accels
“gtk-enable-accels” gboolean
Whether menu items should have visible accelerators which can be
activated.
Owner: GtkSettings
Flags: Read / Write
Default value: TRUE
The “gtk-enable-animations” property
GtkSettings:gtk-enable-animations
“gtk-enable-animations” gboolean
Whether to enable toolkit-wide animations. Owner: GtkSettings
Flags: Read / Write
Default value: TRUE
The “gtk-enable-event-sounds” property
GtkSettings:gtk-enable-event-sounds
“gtk-enable-event-sounds” gboolean
Whether to play any event sounds at all.
See the Sound Theme Specifications
for more information on event sounds and sound themes.
GTK itself does not support event sounds, you have to use a loadable
module like the one that comes with libcanberra.
Owner: GtkSettings
Flags: Read / Write
Default value: TRUE
The “gtk-enable-input-feedback-sounds” property
GtkSettings:gtk-enable-input-feedback-sounds
“gtk-enable-input-feedback-sounds” gboolean
Whether to play event sounds as feedback to user input.
See the Sound Theme Specifications
for more information on event sounds and sound themes.
GTK itself does not support event sounds, you have to use a loadable
module like the one that comes with libcanberra.
Owner: GtkSettings
Flags: Read / Write
Default value: TRUE
The “gtk-enable-primary-paste” property
GtkSettings:gtk-enable-primary-paste
“gtk-enable-primary-paste” gboolean
Whether a middle click on a mouse should paste the
'PRIMARY' clipboard content at the cursor location.
Owner: GtkSettings
Flags: Read / Write
Default value: TRUE
The “gtk-entry-password-hint-timeout” property
GtkSettings:gtk-entry-password-hint-timeout
“gtk-entry-password-hint-timeout” guint
How long to show the last input character in hidden
entries. This value is in milliseconds. 0 disables showing the
last char. 600 is a good value for enabling it.
Owner: GtkSettings
Flags: Read / Write
Default value: 0
The “gtk-entry-select-on-focus” property
GtkSettings:gtk-entry-select-on-focus
“gtk-entry-select-on-focus” gboolean
Whether to select the contents of an entry when it is focused. Owner: GtkSettings
Flags: Read / Write
Default value: TRUE
The “gtk-error-bell” property
GtkSettings:gtk-error-bell
“gtk-error-bell” gboolean
When TRUE , keyboard navigation and other input-related errors
will cause a beep. Since the error bell is implemented using
gdk_surface_beep() , the windowing system may offer ways to
configure the error bell in many ways, such as flashing the
window or similar visual effects.
Owner: GtkSettings
Flags: Read / Write
Default value: TRUE
The “gtk-font-name” property
GtkSettings:gtk-font-name
“gtk-font-name” gchar *
The default font to use. GTK uses the family name and size from this string.
Owner: GtkSettings
Flags: Read / Write
Default value: "Sans 10"
The “gtk-fontconfig-timestamp” property
GtkSettings:gtk-fontconfig-timestamp
“gtk-fontconfig-timestamp” guint
Timestamp of current fontconfig configuration. Owner: GtkSettings
Flags: Read / Write
Default value: 0
The “gtk-icon-theme-name” property
GtkSettings:gtk-icon-theme-name
“gtk-icon-theme-name” gchar *
Name of icon theme to use. Owner: GtkSettings
Flags: Read / Write
Default value: "Adwaita"
The “gtk-im-module” property
GtkSettings:gtk-im-module
“gtk-im-module” gchar *
Which IM (input method) module should be used by default. This is the
input method that will be used if the user has not explicitly chosen
another input method from the IM context menu.
This also can be a colon-separated list of input methods, which GTK
will try in turn until it finds one available on the system.
See GtkIMContext .
Owner: GtkSettings
Flags: Read / Write
Default value: NULL
The “gtk-keynav-use-caret” property
GtkSettings:gtk-keynav-use-caret
“gtk-keynav-use-caret” gboolean
Whether GTK should make sure that text can be navigated with
a caret, even if it is not editable. This is useful when using
a screen reader.
Owner: GtkSettings
Flags: Read / Write
Default value: FALSE
The “gtk-label-select-on-focus” property
GtkSettings:gtk-label-select-on-focus
“gtk-label-select-on-focus” gboolean
Whether to select the contents of a selectable label when it is focused. Owner: GtkSettings
Flags: Read / Write
Default value: TRUE
The “gtk-long-press-time” property
GtkSettings:gtk-long-press-time
“gtk-long-press-time” guint
The time for a button or touch press to be considered a "long press".
Owner: GtkSettings
Flags: Read / Write
Allowed values: <= G_MAXINT
Default value: 500
The “gtk-overlay-scrolling” property
GtkSettings:gtk-overlay-scrolling
“gtk-overlay-scrolling” gboolean
Whether scrolled windows may use overlayed scrolling indicators.
If this is set to FALSE , scrolled windows will have permanent
scrollbars.
Owner: GtkSettings
Flags: Read / Write
Default value: TRUE
The “gtk-primary-button-warps-slider” property
GtkSettings:gtk-primary-button-warps-slider
“gtk-primary-button-warps-slider” gboolean
If the value of this setting is TRUE , clicking the primary button in a
GtkRange trough will move the slider, and hence set the range’s value, to
the point that you clicked. If it is FALSE , a primary click will cause the
slider/value to move by the range’s page-size towards the point clicked.
Whichever action you choose for the primary button, the other action will
be available by holding Shift and primary-clicking, or (since GTK 3.22.25)
clicking the middle mouse button.
Owner: GtkSettings
Flags: Read / Write
Default value: TRUE
The “gtk-print-backends” property
GtkSettings:gtk-print-backends
“gtk-print-backends” gchar *
A comma-separated list of print backends to use in the print
dialog. Available print backends depend on the GTK installation,
and may include "file", "cups", "lpr" or "papi".
Owner: GtkSettings
Flags: Read / Write
Default value: "file,cups"
The “gtk-print-preview-command” property
GtkSettings:gtk-print-preview-command
“gtk-print-preview-command” gchar *
A command to run for displaying the print preview. The command
should contain a %f placeholder, which will get replaced by
the path to the pdf file. The command may also contain a %s
placeholder, which will get replaced by the path to a file
containing the print settings in the format produced by
gtk_print_settings_to_file() .
The preview application is responsible for removing the pdf file
and the print settings file when it is done.
Owner: GtkSettings
Flags: Read / Write
Default value: "evince --unlink-tempfile --preview --print-settings %s %f"
The “gtk-recent-files-enabled” property
GtkSettings:gtk-recent-files-enabled
“gtk-recent-files-enabled” gboolean
Whether GTK should keep track of items inside the recently used
resources list. If set to FALSE , the list will always be empty.
Owner: GtkSettings
Flags: Read / Write
Default value: TRUE
The “gtk-recent-files-max-age” property
GtkSettings:gtk-recent-files-max-age
“gtk-recent-files-max-age” gint
The maximum age, in days, of the items inside the recently used
resources list. Items older than this setting will be excised
from the list. If set to 0, the list will always be empty; if
set to -1, no item will be removed.
Owner: GtkSettings
Flags: Read / Write
Allowed values: >= -1
Default value: 30
The “gtk-shell-shows-desktop” property
GtkSettings:gtk-shell-shows-desktop
“gtk-shell-shows-desktop” gboolean
Set to TRUE if the desktop environment is displaying the desktop folder, FALSE if not. Owner: GtkSettings
Flags: Read / Write
Default value: TRUE
The “gtk-sound-theme-name” property
GtkSettings:gtk-sound-theme-name
“gtk-sound-theme-name” gchar *
The XDG sound theme to use for event sounds.
See the Sound Theme Specifications
for more information on event sounds and sound themes.
GTK itself does not support event sounds, you have to use a loadable
module like the one that comes with libcanberra.
Owner: GtkSettings
Flags: Read / Write
Default value: "freedesktop"
The “gtk-split-cursor” property
GtkSettings:gtk-split-cursor
“gtk-split-cursor” gboolean
Whether two cursors should be displayed for mixed left-to-right and right-to-left text. Owner: GtkSettings
Flags: Read / Write
Default value: TRUE
The “gtk-theme-name” property
GtkSettings:gtk-theme-name
“gtk-theme-name” gchar *
Name of theme to load. Owner: GtkSettings
Flags: Read / Write
Default value: "Adwaita"
The “gtk-titlebar-double-click” property
GtkSettings:gtk-titlebar-double-click
“gtk-titlebar-double-click” gchar *
This setting determines the action to take when a double-click
occurs on the titlebar of client-side decorated windows.
Recognized actions are minimize, toggle-maximize, menu, lower
or none.
Owner: GtkSettings
Flags: Read / Write
Default value: "toggle-maximize"
The “gtk-titlebar-middle-click” property
GtkSettings:gtk-titlebar-middle-click
“gtk-titlebar-middle-click” gchar *
This setting determines the action to take when a middle-click
occurs on the titlebar of client-side decorated windows.
Recognized actions are minimize, toggle-maximize, menu, lower
or none.
Owner: GtkSettings
Flags: Read / Write
Default value: "none"
The “gtk-titlebar-right-click” property
GtkSettings:gtk-titlebar-right-click
“gtk-titlebar-right-click” gchar *
This setting determines the action to take when a right-click
occurs on the titlebar of client-side decorated windows.
Recognized actions are minimize, toggle-maximize, menu, lower
or none.
Owner: GtkSettings
Flags: Read / Write
Default value: "menu"
The “gtk-xft-antialias” property
GtkSettings:gtk-xft-antialias
“gtk-xft-antialias” gint
Whether to antialias Xft fonts; 0=no, 1=yes, -1=default. Owner: GtkSettings
Flags: Read / Write
Allowed values: [-1,1]
Default value: -1
The “gtk-xft-dpi” property
GtkSettings:gtk-xft-dpi
“gtk-xft-dpi” gint
Resolution for Xft, in 1024 * dots/inch. -1 to use default value. Owner: GtkSettings
Flags: Read / Write
Allowed values: [-1,1048576]
Default value: -1
The “gtk-xft-hinting” property
GtkSettings:gtk-xft-hinting
“gtk-xft-hinting” gint
Whether to hint Xft fonts; 0=no, 1=yes, -1=default. Owner: GtkSettings
Flags: Read / Write
Allowed values: [-1,1]
Default value: -1
The “gtk-xft-hintstyle” property
GtkSettings:gtk-xft-hintstyle
“gtk-xft-hintstyle” gchar *
What degree of hinting to use; hintnone, hintslight, hintmedium, or hintfull. Owner: GtkSettings
Flags: Read / Write
Default value: NULL
The “gtk-xft-rgba” property
GtkSettings:gtk-xft-rgba
“gtk-xft-rgba” gchar *
Type of subpixel antialiasing; none, rgb, bgr, vrgb, vbgr. Owner: GtkSettings
Flags: Read / Write
Default value: NULL
docs/reference/gtk/xml/gtkfilechooser.xml 0000664 0001750 0001750 00000545062 13617646201 020735 0 ustar mclasen mclasen
]>
GtkFileChooser
3
GTK4 Library
GtkFileChooser
File chooser interface used by GtkFileChooserWidget and GtkFileChooserDialog
Functions
void
gtk_file_chooser_set_action ()
GtkFileChooserAction
gtk_file_chooser_get_action ()
void
gtk_file_chooser_set_local_only ()
gboolean
gtk_file_chooser_get_local_only ()
void
gtk_file_chooser_set_select_multiple ()
gboolean
gtk_file_chooser_get_select_multiple ()
void
gtk_file_chooser_set_show_hidden ()
gboolean
gtk_file_chooser_get_show_hidden ()
void
gtk_file_chooser_set_do_overwrite_confirmation ()
gboolean
gtk_file_chooser_get_do_overwrite_confirmation ()
void
gtk_file_chooser_set_create_folders ()
gboolean
gtk_file_chooser_get_create_folders ()
void
gtk_file_chooser_set_current_name ()
gchar *
gtk_file_chooser_get_current_name ()
gchar *
gtk_file_chooser_get_filename ()
gboolean
gtk_file_chooser_set_filename ()
gboolean
gtk_file_chooser_select_filename ()
void
gtk_file_chooser_unselect_filename ()
void
gtk_file_chooser_select_all ()
void
gtk_file_chooser_unselect_all ()
GSList *
gtk_file_chooser_get_filenames ()
gboolean
gtk_file_chooser_set_current_folder ()
gchar *
gtk_file_chooser_get_current_folder ()
gchar *
gtk_file_chooser_get_uri ()
gboolean
gtk_file_chooser_set_uri ()
gboolean
gtk_file_chooser_select_uri ()
void
gtk_file_chooser_unselect_uri ()
GSList *
gtk_file_chooser_get_uris ()
gboolean
gtk_file_chooser_set_current_folder_uri ()
gchar *
gtk_file_chooser_get_current_folder_uri ()
void
gtk_file_chooser_set_preview_widget ()
GtkWidget *
gtk_file_chooser_get_preview_widget ()
void
gtk_file_chooser_set_preview_widget_active ()
gboolean
gtk_file_chooser_get_preview_widget_active ()
void
gtk_file_chooser_set_use_preview_label ()
gboolean
gtk_file_chooser_get_use_preview_label ()
char *
gtk_file_chooser_get_preview_filename ()
char *
gtk_file_chooser_get_preview_uri ()
void
gtk_file_chooser_set_extra_widget ()
GtkWidget *
gtk_file_chooser_get_extra_widget ()
void
gtk_file_chooser_add_filter ()
void
gtk_file_chooser_remove_filter ()
GSList *
gtk_file_chooser_list_filters ()
void
gtk_file_chooser_set_filter ()
GtkFileFilter *
gtk_file_chooser_get_filter ()
gboolean
gtk_file_chooser_add_shortcut_folder ()
gboolean
gtk_file_chooser_remove_shortcut_folder ()
GSList *
gtk_file_chooser_list_shortcut_folders ()
gboolean
gtk_file_chooser_add_shortcut_folder_uri ()
gboolean
gtk_file_chooser_remove_shortcut_folder_uri ()
GSList *
gtk_file_chooser_list_shortcut_folder_uris ()
GFile *
gtk_file_chooser_get_current_folder_file ()
GFile *
gtk_file_chooser_get_file ()
GSList *
gtk_file_chooser_get_files ()
GFile *
gtk_file_chooser_get_preview_file ()
gboolean
gtk_file_chooser_select_file ()
gboolean
gtk_file_chooser_set_current_folder_file ()
gboolean
gtk_file_chooser_set_file ()
void
gtk_file_chooser_unselect_file ()
void
gtk_file_chooser_add_choice ()
void
gtk_file_chooser_remove_choice ()
void
gtk_file_chooser_set_choice ()
const char *
gtk_file_chooser_get_choice ()
Properties
GtkFileChooserAction actionRead / Write
gboolean create-foldersRead / Write
gboolean do-overwrite-confirmationRead / Write
GtkWidget * extra-widgetRead / Write
GtkFileFilter * filterRead / Write
gboolean local-onlyRead / Write
GtkWidget * preview-widgetRead / Write
gboolean preview-widget-activeRead / Write
gboolean select-multipleRead / Write
gboolean show-hiddenRead / Write
gboolean use-preview-labelRead / Write
Signals
GtkFileChooserConfirmation confirm-overwrite Run Last
void current-folder-changed Run Last
void file-activated Run Last
void selection-changed Run Last
void update-preview Run Last
Types and Values
GtkFileChooser
enum GtkFileChooserAction
enum GtkFileChooserConfirmation
#define GTK_FILE_CHOOSER_ERROR
enum GtkFileChooserError
Object Hierarchy
GInterface
╰── GtkFileChooser
Prerequisites
GtkFileChooser requires
GObject.
Known Implementations
GtkFileChooser is implemented by
GtkFileChooserButton, GtkFileChooserDialog and GtkFileChooserWidget.
Includes #include <gtk/gtk.h>
Description
GtkFileChooser is an interface that can be implemented by file
selection widgets. In GTK+, the main objects that implement this
interface are GtkFileChooserWidget , GtkFileChooserDialog , and
GtkFileChooserButton . You do not need to write an object that
implements the GtkFileChooser interface unless you are trying to
adapt an existing file selector to expose a standard programming
interface.
GtkFileChooser allows for shortcuts to various places in the filesystem.
In the default implementation these are displayed in the left pane. It
may be a bit confusing at first that these shortcuts come from various
sources and in various flavours, so lets explain the terminology here:
Bookmarks: are created by the user, by dragging folders from the
right pane to the left pane, or by using the “Add”. Bookmarks
can be renamed and deleted by the user.
Shortcuts: can be provided by the application. For example, a Paint
program may want to add a shortcut for a Clipart folder. Shortcuts
cannot be modified by the user.
Volumes: are provided by the underlying filesystem abstraction. They are
the “roots” of the filesystem.
File Names and Encodings When the user is finished selecting files in a
GtkFileChooser , your program can get the selected names
either as filenames or as URIs. For URIs, the normal escaping
rules are applied if the URI contains non-ASCII characters.
However, filenames are always returned in
the character set specified by the
G_FILENAME_ENCODING environment variable.
Please see the GLib documentation for more details about this
variable.
This means that while you can pass the result of
gtk_file_chooser_get_filename() to open() or fopen() ,
you may not be able to directly set it as the text of a
GtkLabel widget unless you convert it first to UTF-8,
which all GTK+ widgets expect. You should use g_filename_to_utf8()
to convert filenames into strings that can be passed to GTK+
widgets.
Adding a Preview Widget You can add a custom preview widget to a file chooser and then
get notification about when the preview needs to be updated.
To install a preview widget, use
gtk_file_chooser_set_preview_widget() . Then, connect to the
“update-preview” signal to get notified when
you need to update the contents of the preview.
Your callback should use
gtk_file_chooser_get_preview_filename() to see what needs
previewing. Once you have generated the preview for the
corresponding file, you must call
gtk_file_chooser_set_preview_widget_active() with a boolean
flag that indicates whether your callback could successfully
generate a preview.
Example: Using a Preview Widget
Adding Extra Widgets You can add extra widgets to a file chooser to provide options
that are not present in the default design. For example, you
can add a toggle button to give the user the option to open a
file in read-only mode. You can use
gtk_file_chooser_set_extra_widget() to insert additional
widgets in a file chooser.
An example for adding extra widgets:
If you want to set more than one extra widget in the file
chooser, you can a container such as a GtkBox or a GtkGrid
and include your widgets in it. Then, set the container as
the whole extra widget.
Functions
gtk_file_chooser_set_action ()
gtk_file_chooser_set_action
void
gtk_file_chooser_set_action (GtkFileChooser *chooser ,
GtkFileChooserAction action );
Sets the type of operation that the chooser is performing; the
user interface is adapted to suit the selected action. For example,
an option to create a new folder might be shown if the action is
GTK_FILE_CHOOSER_ACTION_SAVE but not if the action is
GTK_FILE_CHOOSER_ACTION_OPEN .
Parameters
chooser
a GtkFileChooser
action
the action that the file selector is performing
gtk_file_chooser_get_action ()
gtk_file_chooser_get_action
GtkFileChooserAction
gtk_file_chooser_get_action (GtkFileChooser *chooser );
Gets the type of operation that the file chooser is performing; see
gtk_file_chooser_set_action() .
Parameters
chooser
a GtkFileChooser
Returns
the action that the file selector is performing
gtk_file_chooser_set_local_only ()
gtk_file_chooser_set_local_only
void
gtk_file_chooser_set_local_only (GtkFileChooser *chooser ,
gboolean local_only );
Sets whether only local files can be selected in the
file selector. If local_only
is TRUE (the default is FALSE ),
then the selected file or files are guaranteed to be
accessible through the operating system’s native file
system and therefore the application only
needs to worry about the filename functions in
GtkFileChooser , like gtk_file_chooser_get_filename() ,
rather than the URI functions like
gtk_file_chooser_get_uri() ,
On some systems non-native files may still be
available using the native filesystem via a userspace
filesystem (FUSE).
Parameters
chooser
a GtkFileChooser
local_only
TRUE if only local files can be selected
gtk_file_chooser_get_local_only ()
gtk_file_chooser_get_local_only
gboolean
gtk_file_chooser_get_local_only (GtkFileChooser *chooser );
Gets whether only local files can be selected in the
file selector. See gtk_file_chooser_set_local_only()
Parameters
chooser
a GtkFileChooser
Returns
TRUE if only local files can be selected.
gtk_file_chooser_set_select_multiple ()
gtk_file_chooser_set_select_multiple
void
gtk_file_chooser_set_select_multiple (GtkFileChooser *chooser ,
gboolean select_multiple );
Sets whether multiple files can be selected in the file selector. This is
only relevant if the action is set to be GTK_FILE_CHOOSER_ACTION_OPEN or
GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER .
Parameters
chooser
a GtkFileChooser
select_multiple
TRUE if multiple files can be selected.
gtk_file_chooser_get_select_multiple ()
gtk_file_chooser_get_select_multiple
gboolean
gtk_file_chooser_get_select_multiple (GtkFileChooser *chooser );
Gets whether multiple files can be selected in the file
selector. See gtk_file_chooser_set_select_multiple() .
Parameters
chooser
a GtkFileChooser
Returns
TRUE if multiple files can be selected.
gtk_file_chooser_set_show_hidden ()
gtk_file_chooser_set_show_hidden
void
gtk_file_chooser_set_show_hidden (GtkFileChooser *chooser ,
gboolean show_hidden );
Sets whether hidden files and folders are displayed in the file selector.
Parameters
chooser
a GtkFileChooser
show_hidden
TRUE if hidden files and folders should be displayed.
gtk_file_chooser_get_show_hidden ()
gtk_file_chooser_get_show_hidden
gboolean
gtk_file_chooser_get_show_hidden (GtkFileChooser *chooser );
Gets whether hidden files and folders are displayed in the file selector.
See gtk_file_chooser_set_show_hidden() .
Parameters
chooser
a GtkFileChooser
Returns
TRUE if hidden files and folders are displayed.
gtk_file_chooser_set_do_overwrite_confirmation ()
gtk_file_chooser_set_do_overwrite_confirmation
void
gtk_file_chooser_set_do_overwrite_confirmation
(GtkFileChooser *chooser ,
gboolean do_overwrite_confirmation );
Sets whether a file chooser in GTK_FILE_CHOOSER_ACTION_SAVE mode will present
a confirmation dialog if the user types a file name that already exists. This
is FALSE by default.
If set to TRUE , the chooser
will emit the
“confirm-overwrite” signal when appropriate.
If all you need is the standard confirmation dialog, set this property to TRUE .
You can override the way confirmation is done by actually handling the
“confirm-overwrite” signal; please refer to its documentation
for the details.
Parameters
chooser
a GtkFileChooser
do_overwrite_confirmation
whether to confirm overwriting in save mode
gtk_file_chooser_get_do_overwrite_confirmation ()
gtk_file_chooser_get_do_overwrite_confirmation
gboolean
gtk_file_chooser_get_do_overwrite_confirmation
(GtkFileChooser *chooser );
Queries whether a file chooser is set to confirm for overwriting when the user
types a file name that already exists.
Parameters
chooser
a GtkFileChooser
Returns
TRUE if the file chooser will present a confirmation dialog;
FALSE otherwise.
gtk_file_chooser_set_create_folders ()
gtk_file_chooser_set_create_folders
void
gtk_file_chooser_set_create_folders (GtkFileChooser *chooser ,
gboolean create_folders );
Sets whether file choser will offer to create new folders.
This is only relevant if the action is not set to be
GTK_FILE_CHOOSER_ACTION_OPEN .
Parameters
chooser
a GtkFileChooser
create_folders
TRUE if the Create Folder button should be displayed
gtk_file_chooser_get_create_folders ()
gtk_file_chooser_get_create_folders
gboolean
gtk_file_chooser_get_create_folders (GtkFileChooser *chooser );
Gets whether file choser will offer to create new folders.
See gtk_file_chooser_set_create_folders() .
Parameters
chooser
a GtkFileChooser
Returns
TRUE if the Create Folder button should be displayed.
gtk_file_chooser_set_current_name ()
gtk_file_chooser_set_current_name
void
gtk_file_chooser_set_current_name (GtkFileChooser *chooser ,
const gchar *name );
Sets the current name in the file selector, as if entered
by the user. Note that the name passed in here is a UTF-8
string rather than a filename. This function is meant for
such uses as a suggested name in a “Save As...” dialog. You can
pass “Untitled.doc” or a similarly suitable suggestion for the name
.
If you want to preselect a particular existing file, you should use
gtk_file_chooser_set_filename() or gtk_file_chooser_set_uri() instead.
Please see the documentation for those functions for an example of using
gtk_file_chooser_set_current_name() as well.
Parameters
chooser
a GtkFileChooser
name
the filename to use, as a UTF-8 string.
[type filename]
gtk_file_chooser_get_current_name ()
gtk_file_chooser_get_current_name
gchar *
gtk_file_chooser_get_current_name (GtkFileChooser *chooser );
Gets the current name in the file selector, as entered by the user in the
text entry for “Name”.
This is meant to be used in save dialogs, to get the currently typed filename
when the file itself does not exist yet. For example, an application that
adds a custom extra widget to the file chooser for “file format” may want to
change the extension of the typed filename based on the chosen format, say,
from “.jpg” to “.png”.
Parameters
chooser
a GtkFileChooser
Returns
The raw text from the file chooser’s “Name” entry. Free this with
g_free() . Note that this string is not a full pathname or URI; it is
whatever the contents of the entry are. Note also that this string is in
UTF-8 encoding, which is not necessarily the system’s encoding for filenames.
gtk_file_chooser_get_filename ()
gtk_file_chooser_get_filename
gchar *
gtk_file_chooser_get_filename (GtkFileChooser *chooser );
Gets the filename for the currently selected file in
the file selector. The filename is returned as an absolute path. If
multiple files are selected, one of the filenames will be returned at
random.
If the file chooser is in folder mode, this function returns the selected
folder.
Parameters
chooser
a GtkFileChooser
Returns
The currently selected filename,
or NULL if no file is selected, or the selected file can't
be represented with a local filename. Free with g_free() .
[nullable ][type filename]
gtk_file_chooser_set_filename ()
gtk_file_chooser_set_filename
gboolean
gtk_file_chooser_set_filename (GtkFileChooser *chooser ,
const char *filename );
Sets filename
as the current filename for the file chooser, by changing to
the file’s parent folder and actually selecting the file in list; all other
files will be unselected. If the chooser
is in
GTK_FILE_CHOOSER_ACTION_SAVE mode, the file’s base name will also appear in
the dialog’s file name entry.
Note that the file must exist, or nothing will be done except
for the directory change.
You should use this function only when implementing a save
dialog for which you already have a file name to which
the user may save. For example, when the user opens an existing file and
then does Save As... to save a copy or
a modified version. If you don’t have a file name already — for
example, if the user just created a new file and is saving it for the first
time, do not call this function. Instead, use something similar to this:
In the first case, the file chooser will present the user with useful suggestions
as to where to save his new file. In the second case, the file’s existing location
is already known, so the file chooser will use it.
Parameters
chooser
a GtkFileChooser
filename
the filename to set as current.
[type filename]
Returns
Not useful.
gtk_file_chooser_select_filename ()
gtk_file_chooser_select_filename
gboolean
gtk_file_chooser_select_filename (GtkFileChooser *chooser ,
const char *filename );
Selects a filename. If the file name isn’t in the current
folder of chooser
, then the current folder of chooser
will
be changed to the folder containing filename
.
Parameters
chooser
a GtkFileChooser
filename
the filename to select.
[type filename]
Returns
Not useful.
See also: gtk_file_chooser_set_filename()
gtk_file_chooser_unselect_filename ()
gtk_file_chooser_unselect_filename
void
gtk_file_chooser_unselect_filename (GtkFileChooser *chooser ,
const char *filename );
Unselects a currently selected filename. If the filename
is not in the current directory, does not exist, or
is otherwise not currently selected, does nothing.
Parameters
chooser
a GtkFileChooser
filename
the filename to unselect.
[type filename]
gtk_file_chooser_select_all ()
gtk_file_chooser_select_all
void
gtk_file_chooser_select_all (GtkFileChooser *chooser );
Selects all the files in the current folder of a file chooser.
Parameters
chooser
a GtkFileChooser
gtk_file_chooser_unselect_all ()
gtk_file_chooser_unselect_all
void
gtk_file_chooser_unselect_all (GtkFileChooser *chooser );
Unselects all the files in the current folder of a file chooser.
Parameters
chooser
a GtkFileChooser
gtk_file_chooser_get_filenames ()
gtk_file_chooser_get_filenames
GSList *
gtk_file_chooser_get_filenames (GtkFileChooser *chooser );
Lists all the selected files and subfolders in the current folder of
chooser
. The returned names are full absolute paths. If files in the current
folder cannot be represented as local filenames they will be ignored. (See
gtk_file_chooser_get_uris() )
Parameters
chooser
a GtkFileChooser
Returns
a GSList
containing the filenames of all selected files and subfolders in
the current folder. Free the returned list with g_slist_free() ,
and the filenames with g_free() .
[element-type filename][transfer full ]
gtk_file_chooser_set_current_folder ()
gtk_file_chooser_set_current_folder
gboolean
gtk_file_chooser_set_current_folder (GtkFileChooser *chooser ,
const gchar *filename );
Sets the current folder for chooser
from a local filename.
The user will be shown the full contents of the current folder,
plus user interface elements for navigating to other folders.
In general, you should not use this function. See the
section on setting up a file chooser dialog
for the rationale behind this.
Parameters
chooser
a GtkFileChooser
filename
the full path of the new current folder.
[type filename]
Returns
Not useful.
gtk_file_chooser_get_current_folder ()
gtk_file_chooser_get_current_folder
gchar *
gtk_file_chooser_get_current_folder (GtkFileChooser *chooser );
Gets the current folder of chooser
as a local filename.
See gtk_file_chooser_set_current_folder() .
Note that this is the folder that the file chooser is currently displaying
(e.g. "/home/username/Documents"), which is not the same
as the currently-selected folder if the chooser is in
GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER mode
(e.g. "/home/username/Documents/selected-folder/". To get the
currently-selected folder in that mode, use gtk_file_chooser_get_uri() as the
usual way to get the selection.
Parameters
chooser
a GtkFileChooser
Returns
the full path of the current
folder, or NULL if the current path cannot be represented as a local
filename. Free with g_free() . This function will also return
NULL if the file chooser was unable to load the last folder that
was requested from it; for example, as would be for calling
gtk_file_chooser_set_current_folder() on a nonexistent folder.
[nullable ][type filename]
gtk_file_chooser_get_uri ()
gtk_file_chooser_get_uri
gchar *
gtk_file_chooser_get_uri (GtkFileChooser *chooser );
Gets the URI for the currently selected file in
the file selector. If multiple files are selected,
one of the filenames will be returned at random.
If the file chooser is in folder mode, this function returns the selected
folder.
Parameters
chooser
a GtkFileChooser
Returns
The currently selected URI, or NULL
if no file is selected. If gtk_file_chooser_set_local_only() is set to
TRUE (the default) a local URI will be returned for any FUSE locations.
Free with g_free() .
[nullable ][transfer full ]
gtk_file_chooser_set_uri ()
gtk_file_chooser_set_uri
gboolean
gtk_file_chooser_set_uri (GtkFileChooser *chooser ,
const char *uri );
Sets the file referred to by uri
as the current file for the file chooser,
by changing to the URI’s parent folder and actually selecting the URI in the
list. If the chooser
is GTK_FILE_CHOOSER_ACTION_SAVE mode, the URI’s base
name will also appear in the dialog’s file name entry.
Note that the URI must exist, or nothing will be done except for the
directory change.
You should use this function only when implementing a save
dialog for which you already have a file name to which
the user may save. For example, when the user opens an existing file and then
does Save As... to save a copy or a
modified version. If you don’t have a file name already — for example,
if the user just created a new file and is saving it for the first time, do
not call this function. Instead, use something similar to this:
In the first case, the file chooser will present the user with useful suggestions
as to where to save his new file. In the second case, the file’s existing location
is already known, so the file chooser will use it.
Parameters
chooser
a GtkFileChooser
uri
the URI to set as current
Returns
Not useful.
gtk_file_chooser_select_uri ()
gtk_file_chooser_select_uri
gboolean
gtk_file_chooser_select_uri (GtkFileChooser *chooser ,
const char *uri );
Selects the file to by uri
. If the URI doesn’t refer to a
file in the current folder of chooser
, then the current folder of
chooser
will be changed to the folder containing filename
.
Parameters
chooser
a GtkFileChooser
uri
the URI to select
Returns
Not useful.
gtk_file_chooser_unselect_uri ()
gtk_file_chooser_unselect_uri
void
gtk_file_chooser_unselect_uri (GtkFileChooser *chooser ,
const char *uri );
Unselects the file referred to by uri
. If the file
is not in the current directory, does not exist, or
is otherwise not currently selected, does nothing.
Parameters
chooser
a GtkFileChooser
uri
the URI to unselect
gtk_file_chooser_get_uris ()
gtk_file_chooser_get_uris
GSList *
gtk_file_chooser_get_uris (GtkFileChooser *chooser );
Lists all the selected files and subfolders in the current folder of
chooser
. The returned names are full absolute URIs.
Parameters
chooser
a GtkFileChooser
Returns
a GSList containing the URIs of all selected
files and subfolders in the current folder. Free the returned list
with g_slist_free() , and the filenames with g_free() .
[element-type utf8][transfer full ]
gtk_file_chooser_set_current_folder_uri ()
gtk_file_chooser_set_current_folder_uri
gboolean
gtk_file_chooser_set_current_folder_uri
(GtkFileChooser *chooser ,
const gchar *uri );
Sets the current folder for chooser
from an URI.
The user will be shown the full contents of the current folder,
plus user interface elements for navigating to other folders.
In general, you should not use this function. See the
section on setting up a file chooser dialog
for the rationale behind this.
Parameters
chooser
a GtkFileChooser
uri
the URI for the new current folder
Returns
TRUE if the folder could be changed successfully, FALSE
otherwise.
gtk_file_chooser_get_current_folder_uri ()
gtk_file_chooser_get_current_folder_uri
gchar *
gtk_file_chooser_get_current_folder_uri
(GtkFileChooser *chooser );
Gets the current folder of chooser
as an URI.
See gtk_file_chooser_set_current_folder_uri() .
Note that this is the folder that the file chooser is currently displaying
(e.g. "file:///home/username/Documents"), which is not the same
as the currently-selected folder if the chooser is in
GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER mode
(e.g. "file:///home/username/Documents/selected-folder/". To get the
currently-selected folder in that mode, use gtk_file_chooser_get_uri() as the
usual way to get the selection.
Parameters
chooser
a GtkFileChooser
Returns
the URI for the current folder.
Free with g_free() . This function will also return NULL if the file chooser
was unable to load the last folder that was requested from it; for example,
as would be for calling gtk_file_chooser_set_current_folder_uri() on a
nonexistent folder.
[nullable ][transfer full ]
gtk_file_chooser_set_preview_widget ()
gtk_file_chooser_set_preview_widget
void
gtk_file_chooser_set_preview_widget (GtkFileChooser *chooser ,
GtkWidget *preview_widget );
Sets an application-supplied widget to use to display a custom preview
of the currently selected file. To implement a preview, after setting the
preview widget, you connect to the “update-preview”
signal, and call gtk_file_chooser_get_preview_filename() or
gtk_file_chooser_get_preview_uri() on each change. If you can
display a preview of the new file, update your widget and
set the preview active using gtk_file_chooser_set_preview_widget_active() .
Otherwise, set the preview inactive.
When there is no application-supplied preview widget, or the
application-supplied preview widget is not active, the file chooser
will display no preview at all.
Parameters
chooser
a GtkFileChooser
preview_widget
widget for displaying preview.
gtk_file_chooser_get_preview_widget ()
gtk_file_chooser_get_preview_widget
GtkWidget *
gtk_file_chooser_get_preview_widget (GtkFileChooser *chooser );
Gets the current preview widget; see
gtk_file_chooser_set_preview_widget() .
Parameters
chooser
a GtkFileChooser
Returns
the current preview widget, or NULL .
[nullable ][transfer none ]
gtk_file_chooser_set_preview_widget_active ()
gtk_file_chooser_set_preview_widget_active
void
gtk_file_chooser_set_preview_widget_active
(GtkFileChooser *chooser ,
gboolean active );
Sets whether the preview widget set by
gtk_file_chooser_set_preview_widget() should be shown for the
current filename. When active
is set to false, the file chooser
may display an internally generated preview of the current file
or it may display no preview at all. See
gtk_file_chooser_set_preview_widget() for more details.
Parameters
chooser
a GtkFileChooser
active
whether to display the user-specified preview widget
gtk_file_chooser_get_preview_widget_active ()
gtk_file_chooser_get_preview_widget_active
gboolean
gtk_file_chooser_get_preview_widget_active
(GtkFileChooser *chooser );
Gets whether the preview widget set by gtk_file_chooser_set_preview_widget()
should be shown for the current filename. See
gtk_file_chooser_set_preview_widget_active() .
Parameters
chooser
a GtkFileChooser
Returns
TRUE if the preview widget is active for the current filename.
gtk_file_chooser_set_use_preview_label ()
gtk_file_chooser_set_use_preview_label
void
gtk_file_chooser_set_use_preview_label
(GtkFileChooser *chooser ,
gboolean use_label );
Sets whether the file chooser should display a label with the name of
the file that is being previewed; the default is TRUE . Applications that
want to draw the whole preview area themselves should set this to FALSE and
display the name themselves in their preview widget.
See also: gtk_file_chooser_set_preview_widget()
Parameters
chooser
a GtkFileChooser
use_label
whether to display a label with the name of the previewed file
gtk_file_chooser_get_use_preview_label ()
gtk_file_chooser_get_use_preview_label
gboolean
gtk_file_chooser_get_use_preview_label
(GtkFileChooser *chooser );
Gets whether a label should be drawn with the name of the previewed
file. See gtk_file_chooser_set_use_preview_label() .
Parameters
chooser
a GtkFileChooser
Returns
TRUE if the file chooser is set to display a label with the
name of the previewed file, FALSE otherwise.
gtk_file_chooser_get_preview_filename ()
gtk_file_chooser_get_preview_filename
char *
gtk_file_chooser_get_preview_filename (GtkFileChooser *chooser );
Gets the filename that should be previewed in a custom preview
widget. See gtk_file_chooser_set_preview_widget() .
Parameters
chooser
a GtkFileChooser
Returns
the filename to preview, or NULL if
no file is selected, or if the selected file cannot be represented
as a local filename. Free with g_free() .
[nullable ][type filename]
gtk_file_chooser_get_preview_uri ()
gtk_file_chooser_get_preview_uri
char *
gtk_file_chooser_get_preview_uri (GtkFileChooser *chooser );
Gets the URI that should be previewed in a custom preview
widget. See gtk_file_chooser_set_preview_widget() .
Parameters
chooser
a GtkFileChooser
Returns
the URI for the file to preview,
or NULL if no file is selected. Free with g_free() .
[nullable ][transfer full ]
gtk_file_chooser_add_filter ()
gtk_file_chooser_add_filter
void
gtk_file_chooser_add_filter (GtkFileChooser *chooser ,
GtkFileFilter *filter );
Adds filter
to the list of filters that the user can select between.
When a filter is selected, only files that are passed by that
filter are displayed.
Note that the chooser
takes ownership of the filter, so you have to
ref and sink it if you want to keep a reference.
Parameters
chooser
a GtkFileChooser
filter
a GtkFileFilter .
[transfer full ]
gtk_file_chooser_remove_filter ()
gtk_file_chooser_remove_filter
void
gtk_file_chooser_remove_filter (GtkFileChooser *chooser ,
GtkFileFilter *filter );
Removes filter
from the list of filters that the user can select between.
Parameters
chooser
a GtkFileChooser
filter
a GtkFileFilter
gtk_file_chooser_list_filters ()
gtk_file_chooser_list_filters
GSList *
gtk_file_chooser_list_filters (GtkFileChooser *chooser );
Lists the current set of user-selectable filters; see
gtk_file_chooser_add_filter() , gtk_file_chooser_remove_filter() .
Parameters
chooser
a GtkFileChooser
Returns
a
GSList containing the current set of user selectable filters. The
contents of the list are owned by GTK+, but you must free the list
itself with g_slist_free() when you are done with it.
[element-type GtkFileFilter][transfer container ]
gtk_file_chooser_set_filter ()
gtk_file_chooser_set_filter
void
gtk_file_chooser_set_filter (GtkFileChooser *chooser ,
GtkFileFilter *filter );
Sets the current filter; only the files that pass the
filter will be displayed. If the user-selectable list of filters
is non-empty, then the filter should be one of the filters
in that list. Setting the current filter when the list of
filters is empty is useful if you want to restrict the displayed
set of files without letting the user change it.
Parameters
chooser
a GtkFileChooser
filter
a GtkFileFilter
gtk_file_chooser_get_filter ()
gtk_file_chooser_get_filter
GtkFileFilter *
gtk_file_chooser_get_filter (GtkFileChooser *chooser );
Gets the current filter; see gtk_file_chooser_set_filter() .
Parameters
chooser
a GtkFileChooser
Returns
the current filter, or NULL .
[nullable ][transfer none ]
gtk_file_chooser_add_shortcut_folder ()
gtk_file_chooser_add_shortcut_folder
gboolean
gtk_file_chooser_add_shortcut_folder (GtkFileChooser *chooser ,
const char *folder ,
GError **error );
Adds a folder to be displayed with the shortcut folders in a file chooser.
Note that shortcut folders do not get saved, as they are provided by the
application. For example, you can use this to add a
“/usr/share/mydrawprogram/Clipart” folder to the volume list.
Parameters
chooser
a GtkFileChooser
folder
filename of the folder to add.
[type filename]
error
location to store error, or NULL .
[allow-none ]
Returns
TRUE if the folder could be added successfully, FALSE
otherwise. In the latter case, the error
will be set as appropriate.
gtk_file_chooser_remove_shortcut_folder ()
gtk_file_chooser_remove_shortcut_folder
gboolean
gtk_file_chooser_remove_shortcut_folder
(GtkFileChooser *chooser ,
const char *folder ,
GError **error );
Removes a folder from a file chooser’s list of shortcut folders.
Parameters
chooser
a GtkFileChooser
folder
filename of the folder to remove.
[type filename]
error
location to store error, or NULL .
[allow-none ]
Returns
TRUE if the operation succeeds, FALSE otherwise.
In the latter case, the error
will be set as appropriate.
See also: gtk_file_chooser_add_shortcut_folder()
gtk_file_chooser_list_shortcut_folders ()
gtk_file_chooser_list_shortcut_folders
GSList *
gtk_file_chooser_list_shortcut_folders
(GtkFileChooser *chooser );
Queries the list of shortcut folders in the file chooser, as set by
gtk_file_chooser_add_shortcut_folder() .
Parameters
chooser
a GtkFileChooser
Returns
A list
of folder filenames, or NULL if there are no shortcut folders.
Free the returned list with g_slist_free() , and the filenames with
g_free() .
[nullable ][element-type filename][transfer full ]
gtk_file_chooser_add_shortcut_folder_uri ()
gtk_file_chooser_add_shortcut_folder_uri
gboolean
gtk_file_chooser_add_shortcut_folder_uri
(GtkFileChooser *chooser ,
const char *uri ,
GError **error );
Adds a folder URI to be displayed with the shortcut folders in a file
chooser. Note that shortcut folders do not get saved, as they are provided
by the application. For example, you can use this to add a
“file:///usr/share/mydrawprogram/Clipart” folder to the volume list.
Parameters
chooser
a GtkFileChooser
uri
URI of the folder to add
error
location to store error, or NULL .
[allow-none ]
Returns
TRUE if the folder could be added successfully, FALSE
otherwise. In the latter case, the error
will be set as appropriate.
gtk_file_chooser_remove_shortcut_folder_uri ()
gtk_file_chooser_remove_shortcut_folder_uri
gboolean
gtk_file_chooser_remove_shortcut_folder_uri
(GtkFileChooser *chooser ,
const char *uri ,
GError **error );
Removes a folder URI from a file chooser’s list of shortcut folders.
Parameters
chooser
a GtkFileChooser
uri
URI of the folder to remove
error
location to store error, or NULL .
[allow-none ]
Returns
TRUE if the operation succeeds, FALSE otherwise.
In the latter case, the error
will be set as appropriate.
See also: gtk_file_chooser_add_shortcut_folder_uri()
gtk_file_chooser_list_shortcut_folder_uris ()
gtk_file_chooser_list_shortcut_folder_uris
GSList *
gtk_file_chooser_list_shortcut_folder_uris
(GtkFileChooser *chooser );
Queries the list of shortcut folders in the file chooser, as set by
gtk_file_chooser_add_shortcut_folder_uri() .
Parameters
chooser
a GtkFileChooser
Returns
A list of
folder URIs, or NULL if there are no shortcut folders. Free the
returned list with g_slist_free() , and the URIs with g_free() .
[nullable ][element-type utf8][transfer full ]
gtk_file_chooser_get_current_folder_file ()
gtk_file_chooser_get_current_folder_file
GFile *
gtk_file_chooser_get_current_folder_file
(GtkFileChooser *chooser );
Gets the current folder of chooser
as GFile .
See gtk_file_chooser_get_current_folder_uri() .
Parameters
chooser
a GtkFileChooser
Returns
the GFile for the current folder.
[transfer full ]
gtk_file_chooser_get_file ()
gtk_file_chooser_get_file
GFile *
gtk_file_chooser_get_file (GtkFileChooser *chooser );
Gets the GFile for the currently selected file in
the file selector. If multiple files are selected,
one of the files will be returned at random.
If the file chooser is in folder mode, this function returns the selected
folder.
Parameters
chooser
a GtkFileChooser
Returns
a selected GFile . You own the returned file;
use g_object_unref() to release it.
[transfer full ]
gtk_file_chooser_get_files ()
gtk_file_chooser_get_files
GSList *
gtk_file_chooser_get_files (GtkFileChooser *chooser );
Lists all the selected files and subfolders in the current folder of chooser
as GFile . An internal function, see gtk_file_chooser_get_uris() .
Parameters
chooser
a GtkFileChooser
Returns
a GSList
containing a GFile for each selected file and subfolder in the
current folder. Free the returned list with g_slist_free() , and
the files with g_object_unref() .
[element-type GFile][transfer full ]
gtk_file_chooser_get_preview_file ()
gtk_file_chooser_get_preview_file
GFile *
gtk_file_chooser_get_preview_file (GtkFileChooser *chooser );
Gets the GFile that should be previewed in a custom preview
Internal function, see gtk_file_chooser_get_preview_uri() .
Parameters
chooser
a GtkFileChooser
Returns
the GFile for the file to preview,
or NULL if no file is selected. Free with g_object_unref() .
[nullable ][transfer full ]
gtk_file_chooser_select_file ()
gtk_file_chooser_select_file
gboolean
gtk_file_chooser_select_file (GtkFileChooser *chooser ,
GFile *file ,
GError **error );
Selects the file referred to by file
. An internal function. See
_gtk_file_chooser_select_uri() .
Parameters
chooser
a GtkFileChooser
file
the file to select
error
location to store error, or NULL .
[allow-none ]
Returns
Not useful.
gtk_file_chooser_set_current_folder_file ()
gtk_file_chooser_set_current_folder_file
gboolean
gtk_file_chooser_set_current_folder_file
(GtkFileChooser *chooser ,
GFile *file ,
GError **error );
Sets the current folder for chooser
from a GFile .
Internal function, see gtk_file_chooser_set_current_folder_uri() .
Parameters
chooser
a GtkFileChooser
file
the GFile for the new folder
error
location to store error, or NULL .
[allow-none ]
Returns
TRUE if the folder could be changed successfully, FALSE
otherwise.
gtk_file_chooser_set_file ()
gtk_file_chooser_set_file
gboolean
gtk_file_chooser_set_file (GtkFileChooser *chooser ,
GFile *file ,
GError **error );
Sets file
as the current filename for the file chooser, by changing
to the file’s parent folder and actually selecting the file in list. If
the chooser
is in GTK_FILE_CHOOSER_ACTION_SAVE mode, the file’s base name
will also appear in the dialog’s file name entry.
If the file name isn’t in the current folder of chooser
, then the current
folder of chooser
will be changed to the folder containing filename
. This
is equivalent to a sequence of gtk_file_chooser_unselect_all() followed by
gtk_file_chooser_select_filename() .
Note that the file must exist, or nothing will be done except
for the directory change.
If you are implementing a save dialog,
you should use this function if you already have a file name to which the
user may save; for example, when the user opens an existing file and then
does Save As... If you don’t have
a file name already — for example, if the user just created a new
file and is saving it for the first time, do not call this function.
Instead, use something similar to this:
Parameters
chooser
a GtkFileChooser
file
the GFile to set as current
error
location to store the error, or NULL to ignore errors.
[allow-none ]
Returns
Not useful.
gtk_file_chooser_unselect_file ()
gtk_file_chooser_unselect_file
void
gtk_file_chooser_unselect_file (GtkFileChooser *chooser ,
GFile *file );
Unselects the file referred to by file
. If the file is not in the current
directory, does not exist, or is otherwise not currently selected, does nothing.
Parameters
chooser
a GtkFileChooser
file
a GFile
gtk_file_chooser_add_choice ()
gtk_file_chooser_add_choice
void
gtk_file_chooser_add_choice (GtkFileChooser *chooser ,
const char *id ,
const char *label ,
const char **options ,
const char **option_labels );
Adds a 'choice' to the file chooser. This is typically implemented
as a combobox or, for boolean choices, as a checkbutton. You can select
a value using gtk_file_chooser_set_choice() before the dialog is shown,
and you can obtain the user-selected value in the ::response signal handler
using gtk_file_chooser_get_choice() .
Compare gtk_file_chooser_set_extra_widget() .
Parameters
chooser
a GtkFileChooser
id
id for the added choice
label
user-visible label for the added choice
options
ids for the options of the choice, or NULL for a boolean choice.
[nullable ][array zero-terminated=1]
option_labels
user-visible labels for the options, must be the same length as options
.
[nullable ][array zero-terminated=1]
gtk_file_chooser_remove_choice ()
gtk_file_chooser_remove_choice
void
gtk_file_chooser_remove_choice (GtkFileChooser *chooser ,
const char *id );
Removes a 'choice' that has been added with gtk_file_chooser_add_choice() .
Parameters
chooser
a GtkFileChooser
id
the ID of the choice to remove
gtk_file_chooser_set_choice ()
gtk_file_chooser_set_choice
void
gtk_file_chooser_set_choice (GtkFileChooser *chooser ,
const char *id ,
const char *option );
Selects an option in a 'choice' that has been added with
gtk_file_chooser_add_choice() . For a boolean choice, the
possible options are "true" and "false".
Parameters
chooser
a GtkFileChooser
id
the ID of the choice to set
option
the ID of the option to select
gtk_file_chooser_get_choice ()
gtk_file_chooser_get_choice
const char *
gtk_file_chooser_get_choice (GtkFileChooser *chooser ,
const char *id );
Gets the currently selected option in the 'choice' with the given ID.
Parameters
chooser
a GtkFileChooser
id
the ID of the choice to get
Returns
the ID of the currenly selected option
Property Details
The “action” property
GtkFileChooser:action
“action” GtkFileChooserAction
The type of operation that the file selector is performing. Owner: GtkFileChooser
Flags: Read / Write
Default value: GTK_FILE_CHOOSER_ACTION_OPEN
The “create-folders” property
GtkFileChooser:create-folders
“create-folders” gboolean
Whether a file chooser not in GTK_FILE_CHOOSER_ACTION_OPEN mode
will offer the user to create new folders.
Owner: GtkFileChooser
Flags: Read / Write
Default value: TRUE
The “do-overwrite-confirmation” property
GtkFileChooser:do-overwrite-confirmation
“do-overwrite-confirmation” gboolean
Whether a file chooser in GTK_FILE_CHOOSER_ACTION_SAVE mode
will present an overwrite confirmation dialog if the user
selects a file name that already exists.
Owner: GtkFileChooser
Flags: Read / Write
Default value: FALSE
The “filter” property
GtkFileChooser:filter
“filter” GtkFileFilter *
The current filter for selecting which files are displayed. Owner: GtkFileChooser
Flags: Read / Write
The “local-only” property
GtkFileChooser:local-only
“local-only” gboolean
Whether the selected file(s) should be limited to local file: URLs. Owner: GtkFileChooser
Flags: Read / Write
Default value: FALSE
The “preview-widget” property
GtkFileChooser:preview-widget
“preview-widget” GtkWidget *
Application supplied widget for custom previews. Owner: GtkFileChooser
Flags: Read / Write
The “preview-widget-active” property
GtkFileChooser:preview-widget-active
“preview-widget-active” gboolean
Whether the application supplied widget for custom previews should be shown. Owner: GtkFileChooser
Flags: Read / Write
Default value: TRUE
The “select-multiple” property
GtkFileChooser:select-multiple
“select-multiple” gboolean
Whether to allow multiple files to be selected. Owner: GtkFileChooser
Flags: Read / Write
Default value: FALSE
The “show-hidden” property
GtkFileChooser:show-hidden
“show-hidden” gboolean
Whether the hidden files and folders should be displayed. Owner: GtkFileChooser
Flags: Read / Write
Default value: FALSE
The “use-preview-label” property
GtkFileChooser:use-preview-label
“use-preview-label” gboolean
Whether to display a label with the name of the previewed file. Owner: GtkFileChooser
Flags: Read / Write
Default value: TRUE
Signal Details
The “confirm-overwrite” signal
GtkFileChooser::confirm-overwrite
GtkFileChooserConfirmation
user_function (GtkFileChooser *chooser,
gpointer user_data)
This signal gets emitted whenever it is appropriate to present a
confirmation dialog when the user has selected a file name that
already exists. The signal only gets emitted when the file
chooser is in GTK_FILE_CHOOSER_ACTION_SAVE mode.
Most applications just need to turn on the
“do-overwrite-confirmation” property (or call the
gtk_file_chooser_set_do_overwrite_confirmation() function), and
they will automatically get a standard confirmation dialog.
Applications which need to customize this behavior should do
that, and also connect to the “confirm-overwrite”
signal.
A signal handler for this signal must return a
GtkFileChooserConfirmation value, which indicates the action to
take. If the handler determines that the user wants to select a
different filename, it should return
GTK_FILE_CHOOSER_CONFIRMATION_SELECT_AGAIN . If it determines
that the user is satisfied with his choice of file name, it
should return GTK_FILE_CHOOSER_CONFIRMATION_ACCEPT_FILENAME .
On the other hand, if it determines that the standard confirmation
dialog should be used, it should return
GTK_FILE_CHOOSER_CONFIRMATION_CONFIRM . The following example
illustrates this.
Custom confirmation
Parameters
chooser
the object which received the signal.
user_data
user data set when the signal handler was connected.
Returns
a GtkFileChooserConfirmation value that indicates which
action to take after emitting the signal.
Flags: Run Last
The “current-folder-changed” signal
GtkFileChooser::current-folder-changed
void
user_function (GtkFileChooser *chooser,
gpointer user_data)
This signal is emitted when the current folder in a GtkFileChooser
changes. This can happen due to the user performing some action that
changes folders, such as selecting a bookmark or visiting a folder on the
file list. It can also happen as a result of calling a function to
explicitly change the current folder in a file chooser.
Normally you do not need to connect to this signal, unless you need to keep
track of which folder a file chooser is showing.
See also: gtk_file_chooser_set_current_folder() ,
gtk_file_chooser_get_current_folder() ,
gtk_file_chooser_set_current_folder_uri() ,
gtk_file_chooser_get_current_folder_uri() .
Parameters
chooser
the object which received the signal.
user_data
user data set when the signal handler was connected.
Flags: Run Last
The “file-activated” signal
GtkFileChooser::file-activated
void
user_function (GtkFileChooser *chooser,
gpointer user_data)
This signal is emitted when the user "activates" a file in the file
chooser. This can happen by double-clicking on a file in the file list, or
by pressing Enter .
Normally you do not need to connect to this signal. It is used internally
by GtkFileChooserDialog to know when to activate the default button in the
dialog.
See also: gtk_file_chooser_get_filename() ,
gtk_file_chooser_get_filenames() , gtk_file_chooser_get_uri() ,
gtk_file_chooser_get_uris() .
Parameters
chooser
the object which received the signal.
user_data
user data set when the signal handler was connected.
Flags: Run Last
The “selection-changed” signal
GtkFileChooser::selection-changed
void
user_function (GtkFileChooser *chooser,
gpointer user_data)
This signal is emitted when there is a change in the set of selected files
in a GtkFileChooser . This can happen when the user modifies the selection
with the mouse or the keyboard, or when explicitly calling functions to
change the selection.
Normally you do not need to connect to this signal, as it is easier to wait
for the file chooser to finish running, and then to get the list of
selected files using the functions mentioned below.
See also: gtk_file_chooser_select_filename() ,
gtk_file_chooser_unselect_filename() , gtk_file_chooser_get_filename() ,
gtk_file_chooser_get_filenames() , gtk_file_chooser_select_uri() ,
gtk_file_chooser_unselect_uri() , gtk_file_chooser_get_uri() ,
gtk_file_chooser_get_uris() .
Parameters
chooser
the object which received the signal.
user_data
user data set when the signal handler was connected.
Flags: Run Last
The “update-preview” signal
GtkFileChooser::update-preview
void
user_function (GtkFileChooser *chooser,
gpointer user_data)
This signal is emitted when the preview in a file chooser should be
regenerated. For example, this can happen when the currently selected file
changes. You should use this signal if you want your file chooser to have
a preview widget.
Once you have installed a preview widget with
gtk_file_chooser_set_preview_widget() , you should update it when this
signal is emitted. You can use the functions
gtk_file_chooser_get_preview_filename() or
gtk_file_chooser_get_preview_uri() to get the name of the file to preview.
Your widget may not be able to preview all kinds of files; your callback
must call gtk_file_chooser_set_preview_widget_active() to inform the file
chooser about whether the preview was generated successfully or not.
Please see the example code in
Using a Preview Widget.
See also: gtk_file_chooser_set_preview_widget() ,
gtk_file_chooser_set_preview_widget_active() ,
gtk_file_chooser_set_use_preview_label() ,
gtk_file_chooser_get_preview_filename() ,
gtk_file_chooser_get_preview_uri() .
Parameters
chooser
the object which received the signal.
user_data
user data set when the signal handler was connected.
Flags: Run Last
See Also
GtkFileChooserDialog , GtkFileChooserWidget , GtkFileChooserButton
docs/reference/gtk/xml/gtksizegroup.xml 0000664 0001750 0001750 00000046437 13617646202 020465 0 ustar mclasen mclasen
]>
GtkSizeGroup
3
GTK4 Library
GtkSizeGroup
Grouping widgets so they request the same size
Functions
GtkSizeGroup *
gtk_size_group_new ()
void
gtk_size_group_set_mode ()
GtkSizeGroupMode
gtk_size_group_get_mode ()
void
gtk_size_group_add_widget ()
void
gtk_size_group_remove_widget ()
GSList *
gtk_size_group_get_widgets ()
Properties
GtkSizeGroupMode modeRead / Write
Types and Values
struct GtkSizeGroup
enum GtkSizeGroupMode
Object Hierarchy
GObject
╰── GtkSizeGroup
Implemented Interfaces
GtkSizeGroup implements
GtkBuildable.
Includes #include <gtk/gtk.h>
Description
GtkSizeGroup provides a mechanism for grouping a number of widgets
together so they all request the same amount of space. This is
typically useful when you want a column of widgets to have the same
size, but you can’t use a GtkGrid widget.
In detail, the size requested for each widget in a GtkSizeGroup is
the maximum of the sizes that would have been requested for each
widget in the size group if they were not in the size group. The mode
of the size group (see gtk_size_group_set_mode() ) determines whether
this applies to the horizontal size, the vertical size, or both sizes.
Note that size groups only affect the amount of space requested, not
the size that the widgets finally receive. If you want the widgets in
a GtkSizeGroup to actually be the same size, you need to pack them in
such a way that they get the size they request and not more. For
example, if you are packing your widgets into a table, you would not
include the GTK_FILL flag.
GtkSizeGroup objects are referenced by each widget in the size group,
so once you have added all widgets to a GtkSizeGroup , you can drop
the initial reference to the size group with g_object_unref() . If the
widgets in the size group are subsequently destroyed, then they will
be removed from the size group and drop their references on the size
group; when all widgets have been removed, the size group will be
freed.
Widgets can be part of multiple size groups; GTK+ will compute the
horizontal size of a widget from the horizontal requisition of all
widgets that can be reached from the widget by a chain of size groups
of type GTK_SIZE_GROUP_HORIZONTAL or GTK_SIZE_GROUP_BOTH , and the
vertical size from the vertical requisition of all widgets that can be
reached from the widget by a chain of size groups of type
GTK_SIZE_GROUP_VERTICAL or GTK_SIZE_GROUP_BOTH .
Note that only non-contextual sizes of every widget are ever consulted
by size groups (since size groups have no knowledge of what size a widget
will be allocated in one dimension, it cannot derive how much height
a widget will receive for a given width). When grouping widgets that
trade height for width in mode GTK_SIZE_GROUP_VERTICAL or GTK_SIZE_GROUP_BOTH :
the height for the minimum width will be the requested height for all
widgets in the group. The same is of course true when horizontally grouping
width for height widgets.
Widgets that trade height-for-width should set a reasonably large minimum width
by way of “width-chars” for instance. Widgets with static sizes as well
as widgets that grow (such as ellipsizing text) need no such considerations.
GtkSizeGroup as GtkBuildable Size groups can be specified in a UI definition by placing an <object>
element with class="GtkSizeGroup" somewhere in the UI definition. The
widgets that belong to the size group are specified by a <widgets> element
that may contain multiple <widget> elements, one for each member of the
size group. The ”name” attribute gives the id of the widget.
An example of a UI definition fragment with GtkSizeGroup:
horizontal
]]>
Functions
gtk_size_group_new ()
gtk_size_group_new
GtkSizeGroup *
gtk_size_group_new (GtkSizeGroupMode mode );
Create a new GtkSizeGroup .
Parameters
mode
the mode for the new size group.
Returns
a newly created GtkSizeGroup
gtk_size_group_set_mode ()
gtk_size_group_set_mode
void
gtk_size_group_set_mode (GtkSizeGroup *size_group ,
GtkSizeGroupMode mode );
Sets the GtkSizeGroupMode of the size group. The mode of the size
group determines whether the widgets in the size group should
all have the same horizontal requisition (GTK_SIZE_GROUP_HORIZONTAL )
all have the same vertical requisition (GTK_SIZE_GROUP_VERTICAL ),
or should all have the same requisition in both directions
(GTK_SIZE_GROUP_BOTH ).
Parameters
size_group
a GtkSizeGroup
mode
the mode to set for the size group.
gtk_size_group_get_mode ()
gtk_size_group_get_mode
GtkSizeGroupMode
gtk_size_group_get_mode (GtkSizeGroup *size_group );
Gets the current mode of the size group. See gtk_size_group_set_mode() .
Parameters
size_group
a GtkSizeGroup
Returns
the current mode of the size group.
gtk_size_group_add_widget ()
gtk_size_group_add_widget
void
gtk_size_group_add_widget (GtkSizeGroup *size_group ,
GtkWidget *widget );
Adds a widget to a GtkSizeGroup . In the future, the requisition
of the widget will be determined as the maximum of its requisition
and the requisition of the other widgets in the size group.
Whether this applies horizontally, vertically, or in both directions
depends on the mode of the size group. See gtk_size_group_set_mode() .
When the widget is destroyed or no longer referenced elsewhere, it will
be removed from the size group.
Parameters
size_group
a GtkSizeGroup
widget
the GtkWidget to add
gtk_size_group_remove_widget ()
gtk_size_group_remove_widget
void
gtk_size_group_remove_widget (GtkSizeGroup *size_group ,
GtkWidget *widget );
Removes a widget from a GtkSizeGroup .
Parameters
size_group
a GtkSizeGroup
widget
the GtkWidget to remove
gtk_size_group_get_widgets ()
gtk_size_group_get_widgets
GSList *
gtk_size_group_get_widgets (GtkSizeGroup *size_group );
Returns the list of widgets associated with size_group
.
Parameters
size_group
a GtkSizeGroup
Returns
a GSList of
widgets. The list is owned by GTK+ and should not be modified.
[element-type GtkWidget][transfer none ]
Property Details
The “mode” property
GtkSizeGroup:mode
“mode” GtkSizeGroupMode
The directions in which the size group affects the requested sizes of its component widgets. Owner: GtkSizeGroup
Flags: Read / Write
Default value: GTK_SIZE_GROUP_HORIZONTAL
docs/reference/gtk/xml/gtkfilechoosernative.xml 0000664 0001750 0001750 00000055110 13617646201 022132 0 ustar mclasen mclasen
]>
GtkFileChooserNative
3
GTK4 Library
GtkFileChooserNative
A native file chooser dialog, suitable for “File/Open” or “File/Save” commands
Functions
GtkFileChooserNative *
gtk_file_chooser_native_new ()
const char *
gtk_file_chooser_native_get_accept_label ()
void
gtk_file_chooser_native_set_accept_label ()
const char *
gtk_file_chooser_native_get_cancel_label ()
void
gtk_file_chooser_native_set_cancel_label ()
Includes #include <gtk/gtk.h>
Description
GtkFileChooserNative is an abstraction of a dialog box suitable
for use with “File/Open” or “File/Save as” commands. By default, this
just uses a GtkFileChooserDialog to implement the actual dialog.
However, on certain platforms, such as Windows and macOS, the native platform
file chooser is used instead. When the application is running in a
sandboxed environment without direct filesystem access (such as Flatpak),
GtkFileChooserNative may call the proper APIs (portals) to let the user
choose a file and make it available to the application.
While the API of GtkFileChooserNative closely mirrors GtkFileChooserDialog , the main
difference is that there is no access to any GtkWindow or GtkWidget for the dialog.
This is required, as there may not be one in the case of a platform native dialog.
Showing, hiding and running the dialog is handled by the GtkNativeDialog functions.
Typical usage In the simplest of cases, you can the following code to use
GtkFileChooserDialog to select a file for opening:
To use a dialog for saving, you can use this:
For more information on how to best set up a file dialog, see GtkFileChooserDialog .
Response Codes GtkFileChooserNative inherits from GtkNativeDialog , which means it
will return GTK_RESPONSE_ACCEPT if the user accepted, and
GTK_RESPONSE_CANCEL if he pressed cancel. It can also return
GTK_RESPONSE_DELETE_EVENT if the window was unexpectedly closed.
Differences from GtkFileChooserDialog There are a few things in the GtkFileChooser API that are not
possible to use with GtkFileChooserNative , as such use would
prohibit the use of a native dialog.
There is no support for the signals that are emitted when the user
navigates in the dialog, including:
“current-folder-changed”
“selection-changed”
“file-activated”
“confirm-overwrite”
You can also not use the methods that directly control user navigation:
gtk_file_chooser_unselect_filename()
gtk_file_chooser_select_all()
gtk_file_chooser_unselect_all()
If you need any of the above you will have to use GtkFileChooserDialog directly.
No operations that change the the dialog work while the dialog is
visible. Set all the properties that are required before showing the dialog.
Win32 details On windows the IFileDialog implementation (added in Windows Vista) is
used. It supports many of the features that GtkFileChooserDialog
does, but there are some things it does not handle:
Extra widgets added with gtk_file_chooser_set_extra_widget() .
Use of custom previews by connecting to “update-preview” .
Any GtkFileFilter added using a mimetype or custom filter.
If any of these features are used the regular GtkFileChooserDialog
will be used in place of the native one.
Portal details When the org.freedesktop.portal.FileChooser portal is available on the
session bus, it is used to bring up an out-of-process file chooser. Depending
on the kind of session the application is running in, this may or may not
be a GTK+ file chooser. In this situation, the following things are not
supported and will be silently ignored:
Extra widgets added with gtk_file_chooser_set_extra_widget() .
Use of custom previews by connecting to “update-preview” .
Any GtkFileFilter added with a custom filter.
macOS details On macOS the NSSavePanel and NSOpenPanel classes are used to provide native
file chooser dialogs. Some features provided by GtkFileChooserDialog are
not supported:
Extra widgets added with gtk_file_chooser_set_extra_widget() , unless the
widget is an instance of GtkLabel, in which case the label text will be used
to set the NSSavePanel message instance property.
Use of custom previews by connecting to “update-preview” .
Any GtkFileFilter added with a custom filter.
Shortcut folders.
Functions
gtk_file_chooser_native_new ()
gtk_file_chooser_native_new
GtkFileChooserNative *
gtk_file_chooser_native_new (const gchar *title ,
GtkWindow *parent ,
GtkFileChooserAction action ,
const gchar *accept_label ,
const gchar *cancel_label );
Creates a new GtkFileChooserNative .
Parameters
title
Title of the native, or NULL .
[allow-none ]
parent
Transient parent of the native, or NULL .
[allow-none ]
action
Open or save mode for the dialog
accept_label
text to go in the accept button, or NULL for the default.
[allow-none ]
cancel_label
text to go in the cancel button, or NULL for the default.
[allow-none ]
Returns
a new GtkFileChooserNative
gtk_file_chooser_native_get_accept_label ()
gtk_file_chooser_native_get_accept_label
const char *
gtk_file_chooser_native_get_accept_label
(GtkFileChooserNative *self );
Retrieves the custom label text for the accept button.
Parameters
self
a GtkFileChooserNative
Returns
The custom label, or NULL for the default. This string
is owned by GTK+ and should not be modified or freed.
[nullable ]
gtk_file_chooser_native_set_accept_label ()
gtk_file_chooser_native_set_accept_label
void
gtk_file_chooser_native_set_accept_label
(GtkFileChooserNative *self ,
const char *accept_label );
Sets the custom label text for the accept button.
If characters in label
are preceded by an underscore, they are underlined.
If you need a literal underscore character in a label, use “__” (two
underscores). The first underlined character represents a keyboard
accelerator called a mnemonic.
Pressing Alt and that key activates the button.
Parameters
self
a GtkFileChooserNative
accept_label
custom label or NULL for the default.
[allow-none ]
gtk_file_chooser_native_get_cancel_label ()
gtk_file_chooser_native_get_cancel_label
const char *
gtk_file_chooser_native_get_cancel_label
(GtkFileChooserNative *self );
Retrieves the custom label text for the cancel button.
Parameters
self
a GtkFileChooserNative
Returns
The custom label, or NULL for the default. This string
is owned by GTK+ and should not be modified or freed.
[nullable ]
gtk_file_chooser_native_set_cancel_label ()
gtk_file_chooser_native_set_cancel_label
void
gtk_file_chooser_native_set_cancel_label
(GtkFileChooserNative *self ,
const char *cancel_label );
Sets the custom label text for the cancel button.
If characters in label
are preceded by an underscore, they are underlined.
If you need a literal underscore character in a label, use “__” (two
underscores). The first underlined character represents a keyboard
accelerator called a mnemonic.
Pressing Alt and that key activates the button.
Parameters
self
a GtkFileChooserNative
cancel_label
custom label or NULL for the default.
[allow-none ]
See Also
GtkFileChooser , GtkNativeDialog , GtkFileChooserDialog
docs/reference/gtk/xml/gtkslicelistmodel.xml 0000664 0001750 0001750 00000052016 13617646202 021440 0 ustar mclasen mclasen
]>
GtkSliceListModel
3
GTK4 Library
GtkSliceListModel
A list model that presents a slice out of a larger list
Functions
GtkSliceListModel *
gtk_slice_list_model_new ()
GtkSliceListModel *
gtk_slice_list_model_new_for_type ()
void
gtk_slice_list_model_set_model ()
GListModel *
gtk_slice_list_model_get_model ()
void
gtk_slice_list_model_set_offset ()
guint
gtk_slice_list_model_get_offset ()
void
gtk_slice_list_model_set_size ()
guint
gtk_slice_list_model_get_size ()
Properties
GType * item-typeRead / Write / Construct Only
GListModel * modelRead / Write
guint offsetRead / Write
guint sizeRead / Write
Types and Values
GtkSliceListModel
Object Hierarchy
GObject
╰── GtkSliceListModel
Implemented Interfaces
GtkSliceListModel implements
GListModel.
Includes #include <gtk/gtk.h>
Description
GtkSliceListModel is a list model that takes a list model and presents a slice of
that model.
This is useful when implementing paging by setting the size to the number of elements
per page and updating the offset whenever a different page is opened.
Functions
gtk_slice_list_model_new ()
gtk_slice_list_model_new
GtkSliceListModel *
gtk_slice_list_model_new (GListModel *model ,
guint offset ,
guint size );
Creates a new slice model that presents the slice from offset
to
offset
+ size
our of the given model
.
Parameters
model
The model to use.
[transfer none ]
offset
the offset of the slice
size
maximum size of the slice
Returns
A new GtkSliceListModel
gtk_slice_list_model_new_for_type ()
gtk_slice_list_model_new_for_type
GtkSliceListModel *
gtk_slice_list_model_new_for_type (GType item_type );
Creates a new empty GtkSliceListModel for the given item_type
that
can be set up later.
Parameters
item_type
the type of items
Returns
a new empty GtkSliceListModel
gtk_slice_list_model_set_model ()
gtk_slice_list_model_set_model
void
gtk_slice_list_model_set_model (GtkSliceListModel *self ,
GListModel *model );
Sets the model to show a slice of. The model's item type must conform
to self
's item type.
Parameters
self
a GtkSliceListModel
model
The model to be sliced.
[allow-none ]
gtk_slice_list_model_get_model ()
gtk_slice_list_model_get_model
GListModel *
gtk_slice_list_model_get_model (GtkSliceListModel *self );
Gets the model that is curently being used or NULL if none.
Parameters
self
a GtkSliceListModel
Returns
The model in use.
[nullable ][transfer none ]
gtk_slice_list_model_set_offset ()
gtk_slice_list_model_set_offset
void
gtk_slice_list_model_set_offset (GtkSliceListModel *self ,
guint offset );
Sets the offset into the original model for this slice.
If the offset is too large for the sliced model,
self
will end up empty.
Parameters
self
a GtkSliceListModel
offset
the new offset to use
gtk_slice_list_model_get_offset ()
gtk_slice_list_model_get_offset
guint
gtk_slice_list_model_get_offset (GtkSliceListModel *self );
Gets the offset set via gtk_slice_list_model_set_offset()
Parameters
self
a GtkSliceListModel
Returns
The offset
gtk_slice_list_model_set_size ()
gtk_slice_list_model_set_size
void
gtk_slice_list_model_set_size (GtkSliceListModel *self ,
guint size );
Sets the maximum size. self
will never have more items
than size
.
It can however have fewer items if the offset is too large or
the model sliced from doesn't have enough items.
Parameters
self
a GtkSliceListModel
size
the maximum size
gtk_slice_list_model_get_size ()
gtk_slice_list_model_get_size
guint
gtk_slice_list_model_get_size (GtkSliceListModel *self );
Gets the size set via gtk_slice_list_model_set_size() .
Parameters
self
a GtkSliceListModel
Returns
The size
Property Details
The “item-type” property
GtkSliceListModel:item-type
“item-type” GType *
The GType for elements of this object
Owner: GtkSliceListModel
Flags: Read / Write / Construct Only
Allowed values: GObject
The “model” property
GtkSliceListModel:model
“model” GListModel *
Child model to take slice from
Owner: GtkSliceListModel
Flags: Read / Write
The “offset” property
GtkSliceListModel:offset
“offset” guint
Offset of slice
Owner: GtkSliceListModel
Flags: Read / Write
Default value: 0
The “size” property
GtkSliceListModel:size
“size” guint
Maximum size of slice
Owner: GtkSliceListModel
Flags: Read / Write
Default value: 10
See Also
GListModel
docs/reference/gtk/xml/gtkfilechooserdialog.xml 0000664 0001750 0001750 00000036745 13617646201 022120 0 ustar mclasen mclasen
]>
GtkFileChooserDialog
3
GTK4 Library
GtkFileChooserDialog
A file chooser dialog, suitable for “File/Open” or “File/Save” commands
Functions
GtkWidget *
gtk_file_chooser_dialog_new ()
Types and Values
GtkFileChooserDialog
Object Hierarchy
GObject
╰── GInitiallyUnowned
╰── GtkWidget
╰── GtkContainer
╰── GtkBin
╰── GtkWindow
╰── GtkDialog
╰── GtkFileChooserDialog
Implemented Interfaces
GtkFileChooserDialog implements
AtkImplementorIface, GtkBuildable, GtkConstraintTarget, GtkNative, GtkRoot and GtkFileChooser.
Includes #include <gtk/gtk.h>
Description
GtkFileChooserDialog is a dialog box suitable for use with
“File/Open” or “File/Save as” commands. This widget works by
putting a GtkFileChooserWidget inside a GtkDialog . It exposes
the GtkFileChooser interface, so you can use all of the
GtkFileChooser functions on the file chooser dialog as well as
those for GtkDialog .
Note that GtkFileChooserDialog does not have any methods of its
own. Instead, you should use the functions that work on a
GtkFileChooser .
If you want to integrate well with the platform you should use the
GtkFileChooserNative API, which will use a platform-specific
dialog if available and fall back to GtkFileChooserDialog
otherwise.
Typical usage In the simplest of cases, you can the following code to use
GtkFileChooserDialog to select a file for opening:
To use a dialog for saving, you can use this:
Setting up a file chooser dialog There are various cases in which you may need to use a GtkFileChooserDialog :
To select a file for opening. Use GTK_FILE_CHOOSER_ACTION_OPEN .
To save a file for the first time. Use GTK_FILE_CHOOSER_ACTION_SAVE ,
and suggest a name such as “Untitled” with gtk_file_chooser_set_current_name() .
To save a file under a different name. Use GTK_FILE_CHOOSER_ACTION_SAVE ,
and set the existing filename with gtk_file_chooser_set_filename() .
To choose a folder instead of a file. Use GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER .
Note that old versions of the file chooser’s documentation suggested
using gtk_file_chooser_set_current_folder() in various
situations, with the intention of letting the application
suggest a reasonable default folder. This is no longer
considered to be a good policy, as now the file chooser is
able to make good suggestions on its own. In general, you
should only cause the file chooser to show a specific folder
when it is appropriate to use gtk_file_chooser_set_filename() ,
i.e. when you are doing a Save As command and you already
have a file saved somewhere.
Response Codes GtkFileChooserDialog inherits from GtkDialog , so buttons that
go in its action area have response codes such as
GTK_RESPONSE_ACCEPT and GTK_RESPONSE_CANCEL . For example, you
could call gtk_file_chooser_dialog_new() as follows:
This will create buttons for “Cancel” and “Open” that use predefined
response identifiers from GtkResponseType . For most dialog
boxes you can use your own custom response codes rather than the
ones in GtkResponseType , but GtkFileChooserDialog assumes that
its “accept”-type action, e.g. an “Open” or “Save” button,
will have one of the following response codes:
GTK_RESPONSE_ACCEPT
GTK_RESPONSE_OK
GTK_RESPONSE_YES
GTK_RESPONSE_APPLY
This is because GtkFileChooserDialog must intercept responses
and switch to folders if appropriate, rather than letting the
dialog terminate — the implementation uses these known
response codes to know which responses can be blocked if
appropriate.
To summarize, make sure you use a
predefined response code
when you use GtkFileChooserDialog to ensure proper operation.
Functions
gtk_file_chooser_dialog_new ()
gtk_file_chooser_dialog_new
GtkWidget *
gtk_file_chooser_dialog_new (const gchar *title ,
GtkWindow *parent ,
GtkFileChooserAction action ,
const gchar *first_button_text ,
... );
Creates a new GtkFileChooserDialog . This function is analogous to
gtk_dialog_new_with_buttons() .
Parameters
title
Title of the dialog, or NULL .
[allow-none ]
parent
Transient parent of the dialog, or NULL .
[allow-none ]
action
Open or save mode for the dialog
first_button_text
text to go in the first button, or NULL .
[allow-none ]
...
response ID for the first button, then additional (button, id) pairs, ending with NULL
Returns
a new GtkFileChooserDialog
See Also
GtkFileChooser , GtkDialog , GtkFileChooserNative
docs/reference/gtk/xml/gtksortlistmodel.xml 0000664 0001750 0001750 00000050154 13617646202 021331 0 ustar mclasen mclasen
]>
GtkSortListModel
3
GTK4 Library
GtkSortListModel
A list model that sorts its items
Functions
GtkSortListModel *
gtk_sort_list_model_new ()
GtkSortListModel *
gtk_sort_list_model_new_for_type ()
void
gtk_sort_list_model_set_sort_func ()
gboolean
gtk_sort_list_model_has_sort ()
void
gtk_sort_list_model_set_model ()
GListModel *
gtk_sort_list_model_get_model ()
void
gtk_sort_list_model_resort ()
Properties
gboolean has-sortRead
GType * item-typeRead / Write / Construct Only
GListModel * modelRead / Write / Construct Only
Types and Values
GtkSortListModel
Object Hierarchy
GObject
╰── GtkSortListModel
Implemented Interfaces
GtkSortListModel implements
GListModel.
Includes #include <gtk/gtk.h>
Description
GtkSortListModel is a list model that takes a list model and
sorts its elements according to a compare function.
GtkSortListModel is a generic model and because of that it
cannot take advantage of any external knowledge when sorting.
If you run into performance issues with GtkSortListModel , it
is strongly recommended that you write your own sorting list
model.
Functions
gtk_sort_list_model_new ()
gtk_sort_list_model_new
GtkSortListModel *
gtk_sort_list_model_new (GListModel *model ,
GCompareDataFunc sort_func ,
gpointer user_data ,
GDestroyNotify user_destroy );
Creates a new sort list model that uses the sort_func
to sort model
.
Parameters
model
the model to sort
sort_func
sort function or NULL to not sort items.
[allow-none ]
user_data
user data passed to sort_func
.
[closure ]
user_destroy
destroy notifier for user_data
Returns
a new GtkSortListModel
gtk_sort_list_model_new_for_type ()
gtk_sort_list_model_new_for_type
GtkSortListModel *
gtk_sort_list_model_new_for_type (GType item_type );
Creates a new empty sort list model set up to return items of type item_type
.
It is up to the application to set a proper sort function and model to ensure
the item type is matched.
Parameters
item_type
the type of the items that will be returned
Returns
a new GtkSortListModel
gtk_sort_list_model_set_sort_func ()
gtk_sort_list_model_set_sort_func
void
gtk_sort_list_model_set_sort_func (GtkSortListModel *self ,
GCompareDataFunc sort_func ,
gpointer user_data ,
GDestroyNotify user_destroy );
Sets the function used to sort items. The function will be called for every
item and must return an integer less than, equal to, or greater than zero if
for two items from the model if the first item is considered to be respectively
less than, equal to, or greater than the second.
Parameters
self
a GtkSortListModel
sort_func
sort function or NULL to not sort items.
[allow-none ]
user_data
user data passed to sort_func
.
[closure ]
user_destroy
destroy notifier for user_data
gtk_sort_list_model_has_sort ()
gtk_sort_list_model_has_sort
gboolean
gtk_sort_list_model_has_sort (GtkSortListModel *self );
Checks if a sort function is currently set on self
Parameters
self
a GtkSortListModel
Returns
TRUE if a sort function is set
gtk_sort_list_model_set_model ()
gtk_sort_list_model_set_model
void
gtk_sort_list_model_set_model (GtkSortListModel *self ,
GListModel *model );
Sets the model to be sorted. The model
's item type must conform to
the item type of self
.
Parameters
self
a GtkSortListModel
model
The model to be sorted.
[allow-none ]
gtk_sort_list_model_get_model ()
gtk_sort_list_model_get_model
GListModel *
gtk_sort_list_model_get_model (GtkSortListModel *self );
Gets the model currently sorted or NULL if none.
Parameters
self
a GtkSortListModel
Returns
The model that gets sorted.
[nullable ][transfer none ]
gtk_sort_list_model_resort ()
gtk_sort_list_model_resort
void
gtk_sort_list_model_resort (GtkSortListModel *self );
Causes self
to resort all items in the model.
Calling this function is necessary when data used by the sort
function has changed.
Parameters
self
a GtkSortListModel
Property Details
The “has-sort” property
GtkSortListModel:has-sort
“has-sort” gboolean
If a sort function is set for this model
Owner: GtkSortListModel
Flags: Read
Default value: FALSE
The “item-type” property
GtkSortListModel:item-type
“item-type” GType *
The GType for items of this model
Owner: GtkSortListModel
Flags: Read / Write / Construct Only
Allowed values: GObject
The “model” property
GtkSortListModel:model
“model” GListModel *
The model being sorted
Owner: GtkSortListModel
Flags: Read / Write / Construct Only
See Also
GListModel
docs/reference/gtk/xml/gtkfilechooserwidget.xml 0000664 0001750 0001750 00000104540 13617646201 022131 0 ustar mclasen mclasen
]>
GtkFileChooserWidget
3
GTK4 Library
GtkFileChooserWidget
A file chooser widget
Functions
GtkWidget *
gtk_file_chooser_widget_new ()
Properties
gboolean search-modeRead / Write
gchar * subtitleRead
Signals
void desktop-folder Action
void down-folder Action
void home-folder Action
void location-popup Action
void location-popup-on-paste Action
void location-toggle-popup Action
void places-shortcut Action
void quick-bookmark Action
void recent-shortcut Action
void search-shortcut Action
void show-hidden Action
void up-folder Action
Types and Values
GtkFileChooserWidget
Object Hierarchy
GObject
╰── GInitiallyUnowned
╰── GtkWidget
╰── GtkFileChooserWidget
Implemented Interfaces
GtkFileChooserWidget implements
AtkImplementorIface, GtkBuildable, GtkConstraintTarget, GtkFileChooser and GtkFileChooserEmbed.
Includes #include <gtk/gtk.h>
Description
GtkFileChooserWidget is a widget for choosing files.
It exposes the GtkFileChooser interface, and you should
use the methods of this interface to interact with the
widget.
CSS nodes GtkFileChooserWidget has a single CSS node with name filechooser.
Functions
gtk_file_chooser_widget_new ()
gtk_file_chooser_widget_new
GtkWidget *
gtk_file_chooser_widget_new (GtkFileChooserAction action );
Creates a new GtkFileChooserWidget . This is a file chooser widget that can
be embedded in custom windows, and it is the same widget that is used by
GtkFileChooserDialog .
Parameters
action
Open or save mode for the widget
Returns
a new GtkFileChooserWidget
Property Details
The “search-mode” property
GtkFileChooserWidget:search-mode
“search-mode” gboolean
Search mode. Owner: GtkFileChooserWidget
Flags: Read / Write
Default value: FALSE
The “subtitle” property
GtkFileChooserWidget:subtitle
“subtitle” gchar *
Subtitle. Owner: GtkFileChooserWidget
Flags: Read
Default value: ""
Signal Details
The “desktop-folder” signal
GtkFileChooserWidget::desktop-folder
void
user_function (GtkFileChooserWidget *widget,
gpointer user_data)
The ::desktop-folder signal is a keybinding signal
which gets emitted when the user asks for it.
This is used to make the file chooser show the user's Desktop
folder in the file list.
The default binding for this signal is Alt + D .
Parameters
widget
the object which received the signal
user_data
user data set when the signal handler was connected.
Flags: Action
The “down-folder” signal
GtkFileChooserWidget::down-folder
void
user_function (GtkFileChooserWidget *widget,
gpointer user_data)
The ::down-folder signal is a keybinding signal
which gets emitted when the user asks for it.
This is used to make the file chooser go to a child of the current folder
in the file hierarchy. The subfolder that will be used is displayed in the
path bar widget of the file chooser. For example, if the path bar is showing
"/foo/bar/baz", with bar currently displayed, then this will cause the file
chooser to switch to the "baz" subfolder.
The default binding for this signal is Alt + Down .
Parameters
widget
the object which received the signal
user_data
user data set when the signal handler was connected.
Flags: Action
The “home-folder” signal
GtkFileChooserWidget::home-folder
void
user_function (GtkFileChooserWidget *widget,
gpointer user_data)
The ::home-folder signal is a keybinding signal
which gets emitted when the user asks for it.
This is used to make the file chooser show the user's home
folder in the file list.
The default binding for this signal is Alt + Home .
Parameters
widget
the object which received the signal
user_data
user data set when the signal handler was connected.
Flags: Action
The “places-shortcut” signal
GtkFileChooserWidget::places-shortcut
void
user_function (GtkFileChooserWidget *widget,
gpointer user_data)
The ::places-shortcut signal is a keybinding signal
which gets emitted when the user asks for it.
This is used to move the focus to the places sidebar.
The default binding for this signal is Alt + P .
Parameters
widget
the object which received the signal
user_data
user data set when the signal handler was connected.
Flags: Action
The “quick-bookmark” signal
GtkFileChooserWidget::quick-bookmark
void
user_function (GtkFileChooserWidget *widget,
gint bookmark_index,
gpointer user_data)
The ::quick-bookmark signal is a keybinding signal
which gets emitted when the user asks for it.
This is used to make the file chooser switch to the bookmark specified
in the bookmark_index
parameter. For example, if you have three bookmarks,
you can pass 0, 1, 2 to this signal to switch to each of them, respectively.
The default binding for this signal is Alt + 1 , Alt + 2 ,
etc. until Alt + 0 . Note that in the default binding, that
Alt + 1 is actually defined to switch to the bookmark at index
0, and so on successively; Alt + 0 is defined to switch to the
bookmark at index 10.
Parameters
widget
the object which received the signal
bookmark_index
the number of the bookmark to switch to
user_data
user data set when the signal handler was connected.
Flags: Action
The “recent-shortcut” signal
GtkFileChooserWidget::recent-shortcut
void
user_function (GtkFileChooserWidget *widget,
gpointer user_data)
The ::recent-shortcut signal is a keybinding signal
which gets emitted when the user asks for it.
This is used to make the file chooser show the Recent location.
The default binding for this signal is Alt + R .
Parameters
widget
the object which received the signal
user_data
user data set when the signal handler was connected.
Flags: Action
The “search-shortcut” signal
GtkFileChooserWidget::search-shortcut
void
user_function (GtkFileChooserWidget *widget,
gpointer user_data)
The ::search-shortcut signal is a keybinding signal
which gets emitted when the user asks for it.
This is used to make the file chooser show the search entry.
The default binding for this signal is Alt + S .
Parameters
widget
the object which received the signal
user_data
user data set when the signal handler was connected.
Flags: Action
The “show-hidden” signal
GtkFileChooserWidget::show-hidden
void
user_function (GtkFileChooserWidget *widget,
gpointer user_data)
The ::show-hidden signal is a keybinding signal
which gets emitted when the user asks for it.
This is used to make the file chooser display hidden files.
The default binding for this signal is Control + H .
Parameters
widget
the object which received the signal
user_data
user data set when the signal handler was connected.
Flags: Action
The “up-folder” signal
GtkFileChooserWidget::up-folder
void
user_function (GtkFileChooserWidget *widget,
gpointer user_data)
The ::up-folder signal is a keybinding signal
which gets emitted when the user asks for it.
This is used to make the file chooser go to the parent of the current folder
in the file hierarchy.
The default binding for this signal is Alt + Up .
Parameters
widget
the object which received the signal
user_data
user data set when the signal handler was connected.
Flags: Action
See Also
GtkFileChooserDialog
docs/reference/gtk/xml/gtkspinbutton.xml 0000664 0001750 0001750 00000221416 13617646202 020633 0 ustar mclasen mclasen
]>
GtkSpinButton
3
GTK4 Library
GtkSpinButton
Retrieve an integer or floating-point number from
the user
Functions
void
gtk_spin_button_configure ()
GtkWidget *
gtk_spin_button_new ()
GtkWidget *
gtk_spin_button_new_with_range ()
void
gtk_spin_button_set_adjustment ()
GtkAdjustment *
gtk_spin_button_get_adjustment ()
void
gtk_spin_button_set_digits ()
void
gtk_spin_button_set_increments ()
void
gtk_spin_button_set_range ()
gint
gtk_spin_button_get_value_as_int ()
void
gtk_spin_button_set_value ()
void
gtk_spin_button_set_update_policy ()
void
gtk_spin_button_set_numeric ()
void
gtk_spin_button_spin ()
void
gtk_spin_button_set_wrap ()
void
gtk_spin_button_set_snap_to_ticks ()
void
gtk_spin_button_update ()
guint
gtk_spin_button_get_digits ()
void
gtk_spin_button_get_increments ()
gboolean
gtk_spin_button_get_numeric ()
void
gtk_spin_button_get_range ()
gboolean
gtk_spin_button_get_snap_to_ticks ()
GtkSpinButtonUpdatePolicy
gtk_spin_button_get_update_policy ()
gdouble
gtk_spin_button_get_value ()
gboolean
gtk_spin_button_get_wrap ()
Properties
GtkAdjustment * adjustmentRead / Write
gdouble climb-rateRead / Write
guint digitsRead / Write
gboolean numericRead / Write
gboolean snap-to-ticksRead / Write
GtkSpinButtonUpdatePolicy update-policyRead / Write
gdouble valueRead / Write
gboolean wrapRead / Write
Signals
void change-value Action
gint input Run Last
gboolean output Run Last
void value-changed Run Last
void wrapped Run Last
Types and Values
GtkSpinButton
enum GtkSpinButtonUpdatePolicy
enum GtkSpinType
#define GTK_INPUT_ERROR
Object Hierarchy
GObject
╰── GInitiallyUnowned
╰── GtkWidget
╰── GtkSpinButton
Implemented Interfaces
GtkSpinButton implements
AtkImplementorIface, GtkBuildable, GtkConstraintTarget, GtkOrientable, GtkEditable and GtkCellEditable.
Includes #include <gtk/gtk.h>
Description
A GtkSpinButton is an ideal way to allow the user to set the value of
some attribute. Rather than having to directly type a number into a
GtkEntry , GtkSpinButton allows the user to click on one of two arrows
to increment or decrement the displayed value. A value can still be
typed in, with the bonus that it can be checked to ensure it is in a
given range.
The main properties of a GtkSpinButton are through an adjustment.
See the GtkAdjustment section for more details about an adjustment's
properties. Note that GtkSpinButton will by default make its entry
large enough to accomodate the lower and upper bounds of the adjustment,
which can lead to surprising results. Best practice is to set both
the “width-chars” and “max-width-chars” poperties
to the desired number of characters to display in the entry.
CSS nodes
GtkSpinButtons main CSS node has the name spinbutton. It creates subnodes
for the entry and the two buttons, with these names. The button nodes have
the style classes .up and .down. The GtkText subnodes (if present) are put
below the text node. The orientation of the spin button is reflected in
the .vertical or .horizontal style class on the main node.
Using a GtkSpinButton to get an integer
Using a GtkSpinButton to get a floating point value
Functions
gtk_spin_button_configure ()
gtk_spin_button_configure
void
gtk_spin_button_configure (GtkSpinButton *spin_button ,
GtkAdjustment *adjustment ,
gdouble climb_rate ,
guint digits );
Changes the properties of an existing spin button. The adjustment,
climb rate, and number of decimal places are updated accordingly.
Parameters
spin_button
a GtkSpinButton
adjustment
a GtkAdjustment to replace the spin button’s
existing adjustment, or NULL to leave its current adjustment unchanged.
[nullable ]
climb_rate
the new climb rate
digits
the number of decimal places to display in the spin button
gtk_spin_button_new ()
gtk_spin_button_new
GtkWidget *
gtk_spin_button_new (GtkAdjustment *adjustment ,
gdouble climb_rate ,
guint digits );
Creates a new GtkSpinButton .
Parameters
adjustment
the GtkAdjustment object that this spin
button should use, or NULL .
[allow-none ]
climb_rate
specifies by how much the rate of change in the value will
accelerate if you continue to hold down an up/down button or arrow key
digits
the number of decimal places to display
Returns
The new spin button as a GtkWidget
gtk_spin_button_new_with_range ()
gtk_spin_button_new_with_range
GtkWidget *
gtk_spin_button_new_with_range (gdouble min ,
gdouble max ,
gdouble step );
This is a convenience constructor that allows creation of a numeric
GtkSpinButton without manually creating an adjustment. The value is
initially set to the minimum value and a page increment of 10 * step
is the default. The precision of the spin button is equivalent to the
precision of step
.
Note that the way in which the precision is derived works best if step
is a power of ten. If the resulting precision is not suitable for your
needs, use gtk_spin_button_set_digits() to correct it.
Parameters
min
Minimum allowable value
max
Maximum allowable value
step
Increment added or subtracted by spinning the widget
Returns
The new spin button as a GtkWidget
gtk_spin_button_set_adjustment ()
gtk_spin_button_set_adjustment
void
gtk_spin_button_set_adjustment (GtkSpinButton *spin_button ,
GtkAdjustment *adjustment );
Replaces the GtkAdjustment associated with spin_button
.
Parameters
spin_button
a GtkSpinButton
adjustment
a GtkAdjustment to replace the existing adjustment
gtk_spin_button_get_adjustment ()
gtk_spin_button_get_adjustment
GtkAdjustment *
gtk_spin_button_get_adjustment (GtkSpinButton *spin_button );
Get the adjustment associated with a GtkSpinButton
Parameters
spin_button
a GtkSpinButton
Returns
the GtkAdjustment of spin_button
.
[transfer none ]
gtk_spin_button_set_digits ()
gtk_spin_button_set_digits
void
gtk_spin_button_set_digits (GtkSpinButton *spin_button ,
guint digits );
Set the precision to be displayed by spin_button
. Up to 20 digit precision
is allowed.
Parameters
spin_button
a GtkSpinButton
digits
the number of digits after the decimal point to be displayed for the spin button’s value
gtk_spin_button_set_increments ()
gtk_spin_button_set_increments
void
gtk_spin_button_set_increments (GtkSpinButton *spin_button ,
gdouble step ,
gdouble page );
Sets the step and page increments for spin_button. This affects how
quickly the value changes when the spin button’s arrows are activated.
Parameters
spin_button
a GtkSpinButton
step
increment applied for a button 1 press.
page
increment applied for a button 2 press.
gtk_spin_button_set_range ()
gtk_spin_button_set_range
void
gtk_spin_button_set_range (GtkSpinButton *spin_button ,
gdouble min ,
gdouble max );
Sets the minimum and maximum allowable values for spin_button
.
If the current value is outside this range, it will be adjusted
to fit within the range, otherwise it will remain unchanged.
Parameters
spin_button
a GtkSpinButton
min
minimum allowable value
max
maximum allowable value
gtk_spin_button_get_value_as_int ()
gtk_spin_button_get_value_as_int
gint
gtk_spin_button_get_value_as_int (GtkSpinButton *spin_button );
Get the value spin_button
represented as an integer.
Parameters
spin_button
a GtkSpinButton
Returns
the value of spin_button
gtk_spin_button_set_value ()
gtk_spin_button_set_value
void
gtk_spin_button_set_value (GtkSpinButton *spin_button ,
gdouble value );
Sets the value of spin_button
.
Parameters
spin_button
a GtkSpinButton
value
the new value
gtk_spin_button_set_update_policy ()
gtk_spin_button_set_update_policy
void
gtk_spin_button_set_update_policy (GtkSpinButton *spin_button ,
GtkSpinButtonUpdatePolicy policy );
Sets the update behavior of a spin button.
This determines whether the spin button is always updated
or only when a valid value is set.
Parameters
spin_button
a GtkSpinButton
policy
a GtkSpinButtonUpdatePolicy value
gtk_spin_button_set_numeric ()
gtk_spin_button_set_numeric
void
gtk_spin_button_set_numeric (GtkSpinButton *spin_button ,
gboolean numeric );
Sets the flag that determines if non-numeric text can be typed
into the spin button.
Parameters
spin_button
a GtkSpinButton
numeric
flag indicating if only numeric entry is allowed
gtk_spin_button_spin ()
gtk_spin_button_spin
void
gtk_spin_button_spin (GtkSpinButton *spin_button ,
GtkSpinType direction ,
gdouble increment );
Increment or decrement a spin button’s value in a specified
direction by a specified amount.
Parameters
spin_button
a GtkSpinButton
direction
a GtkSpinType indicating the direction to spin
increment
step increment to apply in the specified direction
gtk_spin_button_set_wrap ()
gtk_spin_button_set_wrap
void
gtk_spin_button_set_wrap (GtkSpinButton *spin_button ,
gboolean wrap );
Sets the flag that determines if a spin button value wraps
around to the opposite limit when the upper or lower limit
of the range is exceeded.
Parameters
spin_button
a GtkSpinButton
wrap
a flag indicating if wrapping behavior is performed
gtk_spin_button_set_snap_to_ticks ()
gtk_spin_button_set_snap_to_ticks
void
gtk_spin_button_set_snap_to_ticks (GtkSpinButton *spin_button ,
gboolean snap_to_ticks );
Sets the policy as to whether values are corrected to the
nearest step increment when a spin button is activated after
providing an invalid value.
Parameters
spin_button
a GtkSpinButton
snap_to_ticks
a flag indicating if invalid values should be corrected
gtk_spin_button_update ()
gtk_spin_button_update
void
gtk_spin_button_update (GtkSpinButton *spin_button );
Manually force an update of the spin button.
Parameters
spin_button
a GtkSpinButton
gtk_spin_button_get_digits ()
gtk_spin_button_get_digits
guint
gtk_spin_button_get_digits (GtkSpinButton *spin_button );
Fetches the precision of spin_button
. See gtk_spin_button_set_digits() .
Parameters
spin_button
a GtkSpinButton
Returns
the current precision
gtk_spin_button_get_increments ()
gtk_spin_button_get_increments
void
gtk_spin_button_get_increments (GtkSpinButton *spin_button ,
gdouble *step ,
gdouble *page );
Gets the current step and page the increments used by spin_button
. See
gtk_spin_button_set_increments() .
Parameters
spin_button
a GtkSpinButton
step
location to store step increment, or NULL .
[out ][allow-none ]
page
location to store page increment, or NULL .
[out ][allow-none ]
gtk_spin_button_get_numeric ()
gtk_spin_button_get_numeric
gboolean
gtk_spin_button_get_numeric (GtkSpinButton *spin_button );
Returns whether non-numeric text can be typed into the spin button.
See gtk_spin_button_set_numeric() .
Parameters
spin_button
a GtkSpinButton
Returns
TRUE if only numeric text can be entered
gtk_spin_button_get_range ()
gtk_spin_button_get_range
void
gtk_spin_button_get_range (GtkSpinButton *spin_button ,
gdouble *min ,
gdouble *max );
Gets the range allowed for spin_button
.
See gtk_spin_button_set_range() .
Parameters
spin_button
a GtkSpinButton
min
location to store minimum allowed value, or NULL .
[out ][optional ]
max
location to store maximum allowed value, or NULL .
[out ][optional ]
gtk_spin_button_get_snap_to_ticks ()
gtk_spin_button_get_snap_to_ticks
gboolean
gtk_spin_button_get_snap_to_ticks (GtkSpinButton *spin_button );
Returns whether the values are corrected to the nearest step.
See gtk_spin_button_set_snap_to_ticks() .
Parameters
spin_button
a GtkSpinButton
Returns
TRUE if values are snapped to the nearest step
gtk_spin_button_get_update_policy ()
gtk_spin_button_get_update_policy
GtkSpinButtonUpdatePolicy
gtk_spin_button_get_update_policy (GtkSpinButton *spin_button );
Gets the update behavior of a spin button.
See gtk_spin_button_set_update_policy() .
Parameters
spin_button
a GtkSpinButton
Returns
the current update policy
gtk_spin_button_get_value ()
gtk_spin_button_get_value
gdouble
gtk_spin_button_get_value (GtkSpinButton *spin_button );
Get the value in the spin_button
.
Parameters
spin_button
a GtkSpinButton
Returns
the value of spin_button
gtk_spin_button_get_wrap ()
gtk_spin_button_get_wrap
gboolean
gtk_spin_button_get_wrap (GtkSpinButton *spin_button );
Returns whether the spin button’s value wraps around to the
opposite limit when the upper or lower limit of the range is
exceeded. See gtk_spin_button_set_wrap() .
Parameters
spin_button
a GtkSpinButton
Returns
TRUE if the spin button wraps around
Property Details
The “adjustment” property
GtkSpinButton:adjustment
“adjustment” GtkAdjustment *
The adjustment that holds the value of the spin button. Owner: GtkSpinButton
Flags: Read / Write
The “climb-rate” property
GtkSpinButton:climb-rate
“climb-rate” gdouble
The acceleration rate when you hold down a button or key. Owner: GtkSpinButton
Flags: Read / Write
Allowed values: >= 0
Default value: 0
The “digits” property
GtkSpinButton:digits
“digits” guint
The number of decimal places to display. Owner: GtkSpinButton
Flags: Read / Write
Allowed values: <= 20
Default value: 0
The “numeric” property
GtkSpinButton:numeric
“numeric” gboolean
Whether non-numeric characters should be ignored. Owner: GtkSpinButton
Flags: Read / Write
Default value: FALSE
The “snap-to-ticks” property
GtkSpinButton:snap-to-ticks
“snap-to-ticks” gboolean
Whether erroneous values are automatically changed to a spin button’s nearest step increment. Owner: GtkSpinButton
Flags: Read / Write
Default value: FALSE
The “update-policy” property
GtkSpinButton:update-policy
“update-policy” GtkSpinButtonUpdatePolicy
Whether the spin button should update always, or only when the value is legal. Owner: GtkSpinButton
Flags: Read / Write
Default value: GTK_UPDATE_ALWAYS
The “value” property
GtkSpinButton:value
“value” gdouble
Reads the current value, or sets a new value. Owner: GtkSpinButton
Flags: Read / Write
Default value: 0
The “wrap” property
GtkSpinButton:wrap
“wrap” gboolean
Whether a spin button should wrap upon reaching its limits. Owner: GtkSpinButton
Flags: Read / Write
Default value: FALSE
Signal Details
The “change-value” signal
GtkSpinButton::change-value
void
user_function (GtkSpinButton *spin_button,
GtkScrollType scroll,
gpointer user_data)
The ::change-value signal is a keybinding signal
which gets emitted when the user initiates a value change.
Applications should not connect to it, but may emit it with
g_signal_emit_by_name() if they need to control the cursor
programmatically.
The default bindings for this signal are Up/Down and PageUp and/PageDown.
Parameters
spin_button
the object on which the signal was emitted
scroll
a GtkScrollType to specify the speed and amount of change
user_data
user data set when the signal handler was connected.
Flags: Action
The “input” signal
GtkSpinButton::input
gint
user_function (GtkSpinButton *spin_button,
gpointer new_value,
gpointer user_data)
The ::input signal can be used to influence the conversion of
the users input into a double value. The signal handler is
expected to use gtk_editable_get_text() to retrieve the text of
the spinbutton and set new_value
to the new value.
The default conversion uses g_strtod() .
Parameters
spin_button
the object on which the signal was emitted
new_value
return location for the new value.
[out ][type double]
user_data
user data set when the signal handler was connected.
Returns
TRUE for a successful conversion, FALSE if the input
was not handled, and GTK_INPUT_ERROR if the conversion failed.
Flags: Run Last
The “output” signal
GtkSpinButton::output
gboolean
user_function (GtkSpinButton *spin_button,
gpointer user_data)
The ::output signal can be used to change to formatting
of the value that is displayed in the spin buttons entry.
Parameters
spin_button
the object on which the signal was emitted
user_data
user data set when the signal handler was connected.
Returns
TRUE if the value has been displayed
Flags: Run Last
The “value-changed” signal
GtkSpinButton::value-changed
void
user_function (GtkSpinButton *spin_button,
gpointer user_data)
The ::value-changed signal is emitted when the value represented by
spinbutton
changes. Also see the “output” signal.
Parameters
spin_button
the object on which the signal was emitted
user_data
user data set when the signal handler was connected.
Flags: Run Last
The “wrapped” signal
GtkSpinButton::wrapped
void
user_function (GtkSpinButton *spin_button,
gpointer user_data)
The ::wrapped signal is emitted right after the spinbutton wraps
from its maximum to minimum value or vice-versa.
Parameters
spin_button
the object on which the signal was emitted
user_data
user data set when the signal handler was connected.
Flags: Run Last
See Also
GtkEntry
docs/reference/gtk/xml/gtkfilechooserbutton.xml 0000664 0001750 0001750 00000054002 13617646201 022156 0 ustar mclasen mclasen
]>
GtkFileChooserButton
3
GTK4 Library
GtkFileChooserButton
A button to launch a file selection dialog
Functions
GtkWidget *
gtk_file_chooser_button_new ()
GtkWidget *
gtk_file_chooser_button_new_with_dialog ()
const gchar *
gtk_file_chooser_button_get_title ()
void
gtk_file_chooser_button_set_title ()
gint
gtk_file_chooser_button_get_width_chars ()
void
gtk_file_chooser_button_set_width_chars ()
Properties
GtkFileChooser * dialogWrite / Construct Only
gchar * titleRead / Write
gint width-charsRead / Write
Signals
void file-set Run First
Types and Values
GtkFileChooserButton
Object Hierarchy
GObject
╰── GInitiallyUnowned
╰── GtkWidget
╰── GtkFileChooserButton
Implemented Interfaces
GtkFileChooserButton implements
AtkImplementorIface, GtkBuildable, GtkConstraintTarget and GtkFileChooser.
Includes #include <gtk/gtk.h>
Description
The GtkFileChooserButton is a widget that lets the user select a
file. It implements the GtkFileChooser interface. Visually, it is a
file name with a button to bring up a GtkFileChooserDialog .
The user can then use that dialog to change the file associated with
that button. This widget does not support setting the
“select-multiple” property to TRUE .
Create a button to let the user select a file in /etc
The GtkFileChooserButton supports the GtkFileChooserActions
GTK_FILE_CHOOSER_ACTION_OPEN and GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER .
The GtkFileChooserButton will ellipsize the label, and will thus
request little horizontal space. To give the button more space,
you should call gtk_widget_get_preferred_size() ,
gtk_file_chooser_button_set_width_chars() , or pack the button in
such a way that other interface elements give space to the
widget.
CSS nodes GtkFileChooserButton has a single CSS node with the name “filechooserbutton”.
Functions
gtk_file_chooser_button_new ()
gtk_file_chooser_button_new
GtkWidget *
gtk_file_chooser_button_new (const gchar *title ,
GtkFileChooserAction action );
Creates a new file-selecting button widget.
Parameters
title
the title of the browse dialog.
action
the open mode for the widget.
Returns
a new button widget.
gtk_file_chooser_button_new_with_dialog ()
gtk_file_chooser_button_new_with_dialog
GtkWidget *
gtk_file_chooser_button_new_with_dialog
(GtkWidget *dialog );
Creates a GtkFileChooserButton widget which uses dialog
as its
file-picking window.
Note that dialog
must be a GtkDialog (or subclass) which
implements the GtkFileChooser interface and must not have
GTK_DIALOG_DESTROY_WITH_PARENT set.
Also note that the dialog needs to have its confirmative button
added with response GTK_RESPONSE_ACCEPT or GTK_RESPONSE_OK in
order for the button to take over the file selected in the dialog.
Parameters
dialog
the widget to use as dialog.
[type Gtk.Dialog]
Returns
a new button widget.
gtk_file_chooser_button_get_title ()
gtk_file_chooser_button_get_title
const gchar *
gtk_file_chooser_button_get_title (GtkFileChooserButton *button );
Retrieves the title of the browse dialog used by button
. The returned value
should not be modified or freed.
Parameters
button
the button widget to examine.
Returns
a pointer to the browse dialog’s title.
gtk_file_chooser_button_set_title ()
gtk_file_chooser_button_set_title
void
gtk_file_chooser_button_set_title (GtkFileChooserButton *button ,
const gchar *title );
Modifies the title
of the browse dialog used by button
.
Parameters
button
the button widget to modify.
title
the new browse dialog title.
gtk_file_chooser_button_get_width_chars ()
gtk_file_chooser_button_get_width_chars
gint
gtk_file_chooser_button_get_width_chars
(GtkFileChooserButton *button );
Retrieves the width in characters of the button
widget’s entry and/or label.
Parameters
button
the button widget to examine.
Returns
an integer width (in characters) that the button will use to size itself.
gtk_file_chooser_button_set_width_chars ()
gtk_file_chooser_button_set_width_chars
void
gtk_file_chooser_button_set_width_chars
(GtkFileChooserButton *button ,
gint n_chars );
Sets the width (in characters) that button
will use to n_chars
.
Parameters
button
the button widget to examine.
n_chars
the new width, in characters.
Property Details
The “dialog” property
GtkFileChooserButton:dialog
“dialog” GtkFileChooser *
Instance of the GtkFileChooserDialog associated with the button.
Owner: GtkFileChooserButton
Flags: Write / Construct Only
The “title” property
GtkFileChooserButton:title
“title” gchar *
Title to put on the GtkFileChooserDialog associated with the button.
Owner: GtkFileChooserButton
Flags: Read / Write
Default value: "Select a File"
The “width-chars” property
GtkFileChooserButton:width-chars
“width-chars” gint
The width of the entry and label inside the button, in characters.
Owner: GtkFileChooserButton
Flags: Read / Write
Allowed values: >= -1
Default value: -1
Signal Details
The “file-set” signal
GtkFileChooserButton::file-set
void
user_function (GtkFileChooserButton *widget,
gpointer user_data)
The ::file-set signal is emitted when the user selects a file.
Note that this signal is only emitted when the user
changes the file.
Parameters
widget
the object which received the signal.
user_data
user data set when the signal handler was connected.
Flags: Run First
See Also
GtkFileChooserDialog
docs/reference/gtk/xml/gtkspinner.xml 0000664 0001750 0001750 00000020106 13617646202 020075 0 ustar mclasen mclasen
]>
GtkSpinner
3
GTK4 Library
GtkSpinner
Show a spinner animation
Functions
GtkWidget *
gtk_spinner_new ()
void
gtk_spinner_start ()
void
gtk_spinner_stop ()
Properties
gboolean activeRead / Write
Types and Values
GtkSpinner
Object Hierarchy
GObject
╰── GInitiallyUnowned
╰── GtkWidget
╰── GtkSpinner
Implemented Interfaces
GtkSpinner implements
AtkImplementorIface, GtkBuildable and GtkConstraintTarget.
Includes #include <gtk/gtk.h>
Description
A GtkSpinner widget displays an icon-size spinning animation.
It is often used as an alternative to a GtkProgressBar for
displaying indefinite activity, instead of actual progress.
To start the animation, use gtk_spinner_start() , to stop it
use gtk_spinner_stop() .
CSS nodes GtkSpinner has a single CSS node with the name spinner. When the animation is
active, the :checked pseudoclass is added to this node.
Functions
gtk_spinner_new ()
gtk_spinner_new
GtkWidget *
gtk_spinner_new (void );
Returns a new spinner widget. Not yet started.
Returns
a new GtkSpinner
gtk_spinner_start ()
gtk_spinner_start
void
gtk_spinner_start (GtkSpinner *spinner );
Starts the animation of the spinner.
Parameters
spinner
a GtkSpinner
gtk_spinner_stop ()
gtk_spinner_stop
void
gtk_spinner_stop (GtkSpinner *spinner );
Stops the animation of the spinner.
Parameters
spinner
a GtkSpinner
Property Details
The “active” property
GtkSpinner:active
“active” gboolean
Whether the spinner is active. Owner: GtkSpinner
Flags: Read / Write
Default value: FALSE
See Also
GtkCellRendererSpinner , GtkProgressBar
docs/reference/gtk/xml/gtkfilefilter.xml 0000664 0001750 0001750 00000072002 13617646201 020545 0 ustar mclasen mclasen
]>
GtkFileFilter
3
GTK4 Library
GtkFileFilter
A filter for selecting a file subset
Functions
gboolean
( *GtkFileFilterFunc) ()
GtkFileFilter *
gtk_file_filter_new ()
void
gtk_file_filter_set_name ()
const gchar *
gtk_file_filter_get_name ()
void
gtk_file_filter_add_mime_type ()
void
gtk_file_filter_add_pattern ()
void
gtk_file_filter_add_pixbuf_formats ()
void
gtk_file_filter_add_custom ()
GtkFileFilterFlags
gtk_file_filter_get_needed ()
gboolean
gtk_file_filter_filter ()
GtkFileFilter *
gtk_file_filter_new_from_gvariant ()
GVariant *
gtk_file_filter_to_gvariant ()
Types and Values
GtkFileFilter
struct GtkFileFilterInfo
enum GtkFileFilterFlags
Object Hierarchy
GObject
╰── GInitiallyUnowned
╰── GtkFileFilter
Implemented Interfaces
GtkFileFilter implements
GtkBuildable.
Includes #include <gtk/gtk.h>
Description
A GtkFileFilter can be used to restrict the files being shown in a
GtkFileChooser . Files can be filtered based on their name (with
gtk_file_filter_add_pattern() ), on their mime type (with
gtk_file_filter_add_mime_type() ), or by a custom filter function
(with gtk_file_filter_add_custom() ).
Filtering by mime types handles aliasing and subclassing of mime
types; e.g. a filter for text/plain also matches a file with mime
type application/rtf, since application/rtf is a subclass of
text/plain. Note that GtkFileFilter allows wildcards for the
subtype of a mime type, so you can e.g. filter for image/*.
Normally, filters are used by adding them to a GtkFileChooser ,
see gtk_file_chooser_add_filter() , but it is also possible
to manually use a filter on a file with gtk_file_filter_filter() .
GtkFileFilter as GtkBuildable The GtkFileFilter implementation of the GtkBuildable interface
supports adding rules using the <mime-types>, <patterns> and
<applications> elements and listing the rules within. Specifying
a <mime-type> or <pattern> has the same effect as as calling
gtk_file_filter_add_mime_type() or gtk_file_filter_add_pattern() .
An example of a UI definition fragment specifying GtkFileFilter
rules:
text/plain
image/ *
*.txt
*.png
]]>
Functions
GtkFileFilterFunc ()
GtkFileFilterFunc
gboolean
( *GtkFileFilterFunc) (const GtkFileFilterInfo *filter_info ,
gpointer data );
The type of function that is used with custom filters, see
gtk_file_filter_add_custom() .
Parameters
filter_info
a GtkFileFilterInfo that is filled according
to the needed
flags passed to gtk_file_filter_add_custom()
data
user data passed to gtk_file_filter_add_custom() .
[closure ]
Returns
TRUE if the file should be displayed
gtk_file_filter_new ()
gtk_file_filter_new
GtkFileFilter *
gtk_file_filter_new (void );
Creates a new GtkFileFilter with no rules added to it.
Such a filter doesn’t accept any files, so is not
particularly useful until you add rules with
gtk_file_filter_add_mime_type() , gtk_file_filter_add_pattern() ,
or gtk_file_filter_add_custom() . To create a filter
that accepts any file, use:
Returns
a new GtkFileFilter
gtk_file_filter_set_name ()
gtk_file_filter_set_name
void
gtk_file_filter_set_name (GtkFileFilter *filter ,
const gchar *name );
Sets the human-readable name of the filter; this is the string
that will be displayed in the file selector user interface if
there is a selectable list of filters.
Parameters
filter
a GtkFileFilter
name
the human-readable-name for the filter, or NULL
to remove any existing name.
[allow-none ]
gtk_file_filter_get_name ()
gtk_file_filter_get_name
const gchar *
gtk_file_filter_get_name (GtkFileFilter *filter );
Gets the human-readable name for the filter. See gtk_file_filter_set_name() .
Parameters
filter
a GtkFileFilter
Returns
The human-readable name of the filter,
or NULL . This value is owned by GTK+ and must not
be modified or freed.
[nullable ]
gtk_file_filter_add_mime_type ()
gtk_file_filter_add_mime_type
void
gtk_file_filter_add_mime_type (GtkFileFilter *filter ,
const gchar *mime_type );
Adds a rule allowing a given mime type to filter
.
Parameters
filter
A GtkFileFilter
mime_type
name of a MIME type
gtk_file_filter_add_pattern ()
gtk_file_filter_add_pattern
void
gtk_file_filter_add_pattern (GtkFileFilter *filter ,
const gchar *pattern );
Adds a rule allowing a shell style glob to a filter.
Parameters
filter
a GtkFileFilter
pattern
a shell style glob
gtk_file_filter_add_pixbuf_formats ()
gtk_file_filter_add_pixbuf_formats
void
gtk_file_filter_add_pixbuf_formats (GtkFileFilter *filter );
Adds a rule allowing image files in the formats supported
by GdkPixbuf.
Parameters
filter
a GtkFileFilter
gtk_file_filter_add_custom ()
gtk_file_filter_add_custom
void
gtk_file_filter_add_custom (GtkFileFilter *filter ,
GtkFileFilterFlags needed ,
GtkFileFilterFunc func ,
gpointer data ,
GDestroyNotify notify );
Adds rule to a filter that allows files based on a custom callback
function. The bitfield needed
which is passed in provides information
about what sorts of information that the filter function needs;
this allows GTK+ to avoid retrieving expensive information when
it isn’t needed by the filter.
Parameters
filter
a GtkFileFilter
needed
bitfield of flags indicating the information that the custom
filter function needs.
func
callback function; if the function returns TRUE , then
the file will be displayed.
data
data to pass to func
notify
function to call to free data
when it is no longer needed.
gtk_file_filter_get_needed ()
gtk_file_filter_get_needed
GtkFileFilterFlags
gtk_file_filter_get_needed (GtkFileFilter *filter );
Gets the fields that need to be filled in for the GtkFileFilterInfo
passed to gtk_file_filter_filter()
This function will not typically be used by applications; it
is intended principally for use in the implementation of
GtkFileChooser .
Parameters
filter
a GtkFileFilter
Returns
bitfield of flags indicating needed fields when
calling gtk_file_filter_filter()
gtk_file_filter_filter ()
gtk_file_filter_filter
gboolean
gtk_file_filter_filter (GtkFileFilter *filter ,
const GtkFileFilterInfo *filter_info );
Tests whether a file should be displayed according to filter
.
The GtkFileFilterInfo filter_info
should include
the fields returned from gtk_file_filter_get_needed() .
This function will not typically be used by applications; it
is intended principally for use in the implementation of
GtkFileChooser .
Parameters
filter
a GtkFileFilter
filter_info
a GtkFileFilterInfo containing information
about a file.
Returns
TRUE if the file should be displayed
gtk_file_filter_new_from_gvariant ()
gtk_file_filter_new_from_gvariant
GtkFileFilter *
gtk_file_filter_new_from_gvariant (GVariant *variant );
Deserialize a file filter from an a{sv} variant in
the format produced by gtk_file_filter_to_gvariant() .
Parameters
variant
an a{sv} GVariant
Returns
a new GtkFileFilter object.
[transfer full ]
gtk_file_filter_to_gvariant ()
gtk_file_filter_to_gvariant
GVariant *
gtk_file_filter_to_gvariant (GtkFileFilter *filter );
Serialize a file filter to an a{sv} variant.
Parameters
filter
a GtkFileFilter
Returns
a new, floating, GVariant .
[transfer none ]
See Also
GtkFileChooser
docs/reference/gtk/xml/gtkstatusbar.xml 0000664 0001750 0001750 00000054536 13617646202 020445 0 ustar mclasen mclasen
]>
GtkStatusbar
3
GTK4 Library
GtkStatusbar
Report messages of minor importance to the user
Functions
GtkWidget *
gtk_statusbar_new ()
guint
gtk_statusbar_get_context_id ()
guint
gtk_statusbar_push ()
void
gtk_statusbar_pop ()
void
gtk_statusbar_remove ()
void
gtk_statusbar_remove_all ()
GtkWidget *
gtk_statusbar_get_message_area ()
Signals
void text-popped Run Last
void text-pushed Run Last
Types and Values
GtkStatusbar
Object Hierarchy
GObject
╰── GInitiallyUnowned
╰── GtkWidget
╰── GtkStatusbar
Implemented Interfaces
GtkStatusbar implements
AtkImplementorIface, GtkBuildable and GtkConstraintTarget.
Includes #include <gtk/gtk.h>
Description
A GtkStatusbar is usually placed along the bottom of an application's
main GtkWindow . It may provide a regular commentary of the application's
status (as is usually the case in a web browser, for example), or may be
used to simply output a message when the status changes, (when an upload
is complete in an FTP client, for example).
Status bars in GTK+ maintain a stack of messages. The message at
the top of the each bar’s stack is the one that will currently be displayed.
Any messages added to a statusbar’s stack must specify a
context id that is used to uniquely identify
the source of a message. This context id can be generated by
gtk_statusbar_get_context_id() , given a message and the statusbar that
it will be added to. Note that messages are stored in a stack, and when
choosing which message to display, the stack structure is adhered to,
regardless of the context identifier of a message.
One could say that a statusbar maintains one stack of messages for
display purposes, but allows multiple message producers to maintain
sub-stacks of the messages they produced (via context ids).
Status bars are created using gtk_statusbar_new() .
Messages are added to the bar’s stack with gtk_statusbar_push() .
The message at the top of the stack can be removed using
gtk_statusbar_pop() . A message can be removed from anywhere in the
stack if its message id was recorded at the time it was added. This
is done using gtk_statusbar_remove() .
CSS node GtkStatusbar has a single CSS node with name statusbar.
Functions
gtk_statusbar_new ()
gtk_statusbar_new
GtkWidget *
gtk_statusbar_new (void );
Creates a new GtkStatusbar ready for messages.
Returns
the new GtkStatusbar
gtk_statusbar_get_context_id ()
gtk_statusbar_get_context_id
guint
gtk_statusbar_get_context_id (GtkStatusbar *statusbar ,
const gchar *context_description );
Returns a new context identifier, given a description
of the actual context. Note that the description is
not shown in the UI.
Parameters
statusbar
a GtkStatusbar
context_description
textual description of what context
the new message is being used in
Returns
an integer id
gtk_statusbar_push ()
gtk_statusbar_push
guint
gtk_statusbar_push (GtkStatusbar *statusbar ,
guint context_id ,
const gchar *text );
Pushes a new message onto a statusbar’s stack.
Parameters
statusbar
a GtkStatusbar
context_id
the message’s context id, as returned by
gtk_statusbar_get_context_id()
text
the message to add to the statusbar
Returns
a message id that can be used with
gtk_statusbar_remove() .
gtk_statusbar_pop ()
gtk_statusbar_pop
void
gtk_statusbar_pop (GtkStatusbar *statusbar ,
guint context_id );
Removes the first message in the GtkStatusbar ’s stack
with the given context id.
Note that this may not change the displayed message, if
the message at the top of the stack has a different
context id.
Parameters
statusbar
a GtkStatusbar
context_id
a context identifier
gtk_statusbar_remove ()
gtk_statusbar_remove
void
gtk_statusbar_remove (GtkStatusbar *statusbar ,
guint context_id ,
guint message_id );
Forces the removal of a message from a statusbar’s stack.
The exact context_id
and message_id
must be specified.
Parameters
statusbar
a GtkStatusbar
context_id
a context identifier
message_id
a message identifier, as returned by gtk_statusbar_push()
gtk_statusbar_remove_all ()
gtk_statusbar_remove_all
void
gtk_statusbar_remove_all (GtkStatusbar *statusbar ,
guint context_id );
Forces the removal of all messages from a statusbar's
stack with the exact context_id
.
Parameters
statusbar
a GtkStatusbar
context_id
a context identifier
gtk_statusbar_get_message_area ()
gtk_statusbar_get_message_area
GtkWidget *
gtk_statusbar_get_message_area (GtkStatusbar *statusbar );
Retrieves the box containing the label widget.
Parameters
statusbar
a GtkStatusbar
Returns
a GtkBox .
[type Gtk.Box][transfer none ]
Signal Details
The “text-popped” signal
GtkStatusbar::text-popped
void
user_function (GtkStatusbar *statusbar,
guint context_id,
gchar *text,
gpointer user_data)
Is emitted whenever a new message is popped off a statusbar's stack.
Parameters
statusbar
the object which received the signal
context_id
the context id of the relevant message/statusbar
text
the message that was just popped
user_data
user data set when the signal handler was connected.
Flags: Run Last
The “text-pushed” signal
GtkStatusbar::text-pushed
void
user_function (GtkStatusbar *statusbar,
guint context_id,
gchar *text,
gpointer user_data)
Is emitted whenever a new message gets pushed onto a statusbar's stack.
Parameters
statusbar
the object which received the signal
context_id
the context id of the relevant message/statusbar
text
the message that was pushed
user_data
user data set when the signal handler was connected.
Flags: Run Last
docs/reference/gtk/xml/gtkfilterlistmodel.xml 0000664 0001750 0001750 00000050674 13617646201 021635 0 ustar mclasen mclasen
]>
GtkFilterListModel
3
GTK4 Library
GtkFilterListModel
A list model that filters its items
Functions
GtkFilterListModel *
gtk_filter_list_model_new ()
GtkFilterListModel *
gtk_filter_list_model_new_for_type ()
void
gtk_filter_list_model_set_model ()
GListModel *
gtk_filter_list_model_get_model ()
void
gtk_filter_list_model_set_filter_func ()
gboolean
gtk_filter_list_model_has_filter ()
void
gtk_filter_list_model_refilter ()
Properties
gboolean has-filterRead
GType * item-typeRead / Write / Construct Only
GListModel * modelRead / Write / Construct Only
Types and Values
GtkFilterListModel
Object Hierarchy
GObject
╰── GtkFilterListModel
Implemented Interfaces
GtkFilterListModel implements
GListModel.
Includes #include <gtk/gtk.h>
Description
GtkFilterListModel is a list model that filters a given other
listmodel.
It hides some elements from the other model according to
criteria given by a GtkFilterListModelFilterFunc .
Functions
gtk_filter_list_model_new ()
gtk_filter_list_model_new
GtkFilterListModel *
gtk_filter_list_model_new (GListModel *model ,
GtkFilterListModelFilterFunc filter_func ,
gpointer user_data ,
GDestroyNotify user_destroy );
Creates a new GtkFilterListModel that will filter model
using the given
filter_func
.
Parameters
model
the model to sort
filter_func
filter function or NULL to not filter items.
[allow-none ]
user_data
user data passed to filter_func
.
[closure ]
user_destroy
destroy notifier for user_data
Returns
a new GtkFilterListModel
gtk_filter_list_model_new_for_type ()
gtk_filter_list_model_new_for_type
GtkFilterListModel *
gtk_filter_list_model_new_for_type (GType item_type );
Creates a new empty filter list model set up to return items of type item_type
.
It is up to the application to set a proper filter function and model to ensure
the item type is matched.
Parameters
item_type
the type of the items that will be returned
Returns
a new GtkFilterListModel
gtk_filter_list_model_set_model ()
gtk_filter_list_model_set_model
void
gtk_filter_list_model_set_model (GtkFilterListModel *self ,
GListModel *model );
Sets the model to be filtered.
Note that GTK makes no effort to ensure that model
conforms to
the item type of self
. It assumes that the caller knows what they
are doing and have set up an appropriate filter function to ensure
that item types match.
Parameters
self
a GtkFilterListModel
model
The model to be filtered.
[allow-none ]
gtk_filter_list_model_get_model ()
gtk_filter_list_model_get_model
GListModel *
gtk_filter_list_model_get_model (GtkFilterListModel *self );
Gets the model currently filtered or NULL if none.
Parameters
self
a GtkFilterListModel
Returns
The model that gets filtered.
[nullable ][transfer none ]
gtk_filter_list_model_set_filter_func ()
gtk_filter_list_model_set_filter_func
void
gtk_filter_list_model_set_filter_func (GtkFilterListModel *self ,
GtkFilterListModelFilterFunc filter_func ,
gpointer user_data ,
GDestroyNotify user_destroy );
Sets the function used to filter items. The function will be called for every
item and if it returns TRUE the item is considered visible.
Parameters
self
a GtkFilterListModel
filter_func
filter function or NULL to not filter items.
[allow-none ]
user_data
user data passed to filter_func
.
[closure ]
user_destroy
destroy notifier for user_data
gtk_filter_list_model_has_filter ()
gtk_filter_list_model_has_filter
gboolean
gtk_filter_list_model_has_filter (GtkFilterListModel *self );
Checks if a filter function is currently set on self
Parameters
self
a GtkFilterListModel
Returns
TRUE if a filter function is set
gtk_filter_list_model_refilter ()
gtk_filter_list_model_refilter
void
gtk_filter_list_model_refilter (GtkFilterListModel *self );
Causes self
to refilter all items in the model.
Calling this function is necessary when data used by the filter
function has changed.
Parameters
self
a GtkFilterListModel
Property Details
The “has-filter” property
GtkFilterListModel:has-filter
“has-filter” gboolean
If a filter is set for this model
Owner: GtkFilterListModel
Flags: Read
Default value: FALSE
The “item-type” property
GtkFilterListModel:item-type
“item-type” GType *
The GType for elements of this object
Owner: GtkFilterListModel
Flags: Read / Write / Construct Only
Allowed values: GObject
The “model” property
GtkFilterListModel:model
“model” GListModel *
The model being filtered
Owner: GtkFilterListModel
Flags: Read / Write / Construct Only
See Also
GListModel
docs/reference/gtk/xml/gtkwidget.xml 0000664 0001750 0001750 00002013316 13617646204 017713 0 ustar mclasen mclasen
]>
GtkWidget
3
GTK4 Library
GtkWidget
Base class for all widgets
Functions
void
( *GtkCallback) ()
GtkWidget *
gtk_widget_new ()
void
gtk_widget_destroy ()
gboolean
gtk_widget_in_destruction ()
void
gtk_widget_destroyed ()
void
gtk_widget_unparent ()
void
gtk_widget_show ()
void
gtk_widget_hide ()
void
gtk_widget_map ()
void
gtk_widget_unmap ()
void
gtk_widget_realize ()
void
gtk_widget_unrealize ()
void
gtk_widget_queue_draw ()
void
gtk_widget_queue_resize ()
void
gtk_widget_queue_allocate ()
GdkFrameClock *
gtk_widget_get_frame_clock ()
gint
gtk_widget_get_scale_factor ()
gboolean
( *GtkTickCallback) ()
guint
gtk_widget_add_tick_callback ()
void
gtk_widget_remove_tick_callback ()
void
gtk_widget_size_allocate ()
void
gtk_widget_allocate ()
void
gtk_widget_add_accelerator ()
gboolean
gtk_widget_remove_accelerator ()
void
gtk_widget_set_accel_path ()
GList *
gtk_widget_list_accel_closures ()
gboolean
gtk_widget_can_activate_accel ()
gboolean
gtk_widget_event ()
gboolean
gtk_widget_activate ()
gboolean
gtk_widget_is_focus ()
gboolean
gtk_widget_grab_focus ()
void
gtk_widget_set_name ()
const gchar *
gtk_widget_get_name ()
void
gtk_widget_set_sensitive ()
void
gtk_widget_set_parent ()
GtkRoot *
gtk_widget_get_root ()
GtkNative *
gtk_widget_get_native ()
GtkWidget *
gtk_widget_get_ancestor ()
gboolean
gtk_widget_is_ancestor ()
gboolean
gtk_widget_translate_coordinates ()
void
gtk_widget_add_controller ()
void
gtk_widget_remove_controller ()
void
gtk_widget_set_direction ()
GtkTextDirection
gtk_widget_get_direction ()
void
gtk_widget_set_default_direction ()
GtkTextDirection
gtk_widget_get_default_direction ()
void
gtk_widget_input_shape_combine_region ()
PangoContext *
gtk_widget_create_pango_context ()
PangoContext *
gtk_widget_get_pango_context ()
void
gtk_widget_set_font_options ()
const cairo_font_options_t *
gtk_widget_get_font_options ()
void
gtk_widget_set_font_map ()
PangoFontMap *
gtk_widget_get_font_map ()
PangoLayout *
gtk_widget_create_pango_layout ()
GdkCursor *
gtk_widget_get_cursor ()
void
gtk_widget_set_cursor ()
void
gtk_widget_set_cursor_from_name ()
gboolean
gtk_widget_mnemonic_activate ()
void
gtk_widget_class_set_accessible_type ()
void
gtk_widget_class_set_accessible_role ()
AtkObject *
gtk_widget_get_accessible ()
gboolean
gtk_widget_child_focus ()
gboolean
gtk_widget_get_child_visible ()
GtkWidget *
gtk_widget_get_parent ()
GtkSettings *
gtk_widget_get_settings ()
GdkClipboard *
gtk_widget_get_clipboard ()
GdkClipboard *
gtk_widget_get_primary_clipboard ()
GdkDisplay *
gtk_widget_get_display ()
void
gtk_widget_get_size_request ()
void
gtk_widget_set_child_visible ()
void
gtk_widget_set_size_request ()
GList *
gtk_widget_list_mnemonic_labels ()
void
gtk_widget_add_mnemonic_label ()
void
gtk_widget_remove_mnemonic_label ()
void
gtk_widget_error_bell ()
gboolean
gtk_widget_keynav_failed ()
gchar *
gtk_widget_get_tooltip_markup ()
void
gtk_widget_set_tooltip_markup ()
gchar *
gtk_widget_get_tooltip_text ()
void
gtk_widget_set_tooltip_text ()
gboolean
gtk_widget_get_has_tooltip ()
void
gtk_widget_set_has_tooltip ()
void
gtk_widget_trigger_tooltip_query ()
int
gtk_widget_get_allocated_width ()
int
gtk_widget_get_allocated_height ()
void
gtk_widget_get_allocation ()
int
gtk_widget_get_allocated_baseline ()
int
gtk_widget_get_width ()
int
gtk_widget_get_height ()
gboolean
gtk_widget_compute_bounds ()
gboolean
gtk_widget_compute_transform ()
gboolean
gtk_widget_compute_point ()
gboolean
gtk_widget_contains ()
GtkWidget *
gtk_widget_pick ()
gboolean
gtk_widget_get_can_focus ()
void
gtk_widget_set_can_focus ()
gboolean
gtk_widget_get_focus_on_click ()
void
gtk_widget_set_focus_on_click ()
void
gtk_widget_set_focus_child ()
gboolean
gtk_widget_get_can_target ()
void
gtk_widget_set_can_target ()
gboolean
gtk_widget_get_sensitive ()
gboolean
gtk_widget_is_sensitive ()
gboolean
gtk_widget_get_visible ()
gboolean
gtk_widget_is_visible ()
void
gtk_widget_set_visible ()
void
gtk_widget_set_state_flags ()
void
gtk_widget_unset_state_flags ()
GtkStateFlags
gtk_widget_get_state_flags ()
gboolean
gtk_widget_has_default ()
gboolean
gtk_widget_has_focus ()
gboolean
gtk_widget_has_visible_focus ()
gboolean
gtk_widget_has_grab ()
gboolean
gtk_widget_is_drawable ()
void
gtk_widget_set_receives_default ()
gboolean
gtk_widget_get_receives_default ()
void
gtk_widget_set_support_multidevice ()
gboolean
gtk_widget_get_support_multidevice ()
gboolean
gtk_widget_get_realized ()
gboolean
gtk_widget_get_mapped ()
gboolean
gtk_widget_device_is_shadowed ()
GdkModifierType
gtk_widget_get_modifier_mask ()
double
gtk_widget_get_opacity ()
void
gtk_widget_set_opacity ()
GtkOverflow
gtk_widget_get_overflow ()
void
gtk_widget_set_overflow ()
void
gtk_widget_measure ()
void
gtk_widget_snapshot_child ()
GtkWidget *
gtk_widget_get_next_sibling ()
GtkWidget *
gtk_widget_get_prev_sibling ()
GtkWidget *
gtk_widget_get_first_child ()
GtkWidget *
gtk_widget_get_last_child ()
void
gtk_widget_insert_before ()
void
gtk_widget_insert_after ()
void
gtk_widget_set_layout_manager ()
GtkLayoutManager *
gtk_widget_get_layout_manager ()
gboolean
gtk_widget_should_layout ()
void
gtk_widget_add_css_class ()
void
gtk_widget_remove_css_class ()
gboolean
gtk_widget_has_css_class ()
GtkStyleContext *
gtk_widget_get_style_context ()
void
gtk_widget_reset_style ()
const char *
gtk_widget_class_get_css_name ()
void
gtk_widget_class_set_css_name ()
GtkRequisition *
gtk_requisition_new ()
GtkRequisition *
gtk_requisition_copy ()
void
gtk_requisition_free ()
GtkSizeRequestMode
gtk_widget_get_request_mode ()
void
gtk_widget_get_preferred_size ()
gint
gtk_distribute_natural_allocation ()
GtkAlign
gtk_widget_get_halign ()
void
gtk_widget_set_halign ()
GtkAlign
gtk_widget_get_valign ()
void
gtk_widget_set_valign ()
gint
gtk_widget_get_margin_start ()
void
gtk_widget_set_margin_start ()
gint
gtk_widget_get_margin_end ()
void
gtk_widget_set_margin_end ()
gint
gtk_widget_get_margin_top ()
void
gtk_widget_set_margin_top ()
gint
gtk_widget_get_margin_bottom ()
void
gtk_widget_set_margin_bottom ()
gboolean
gtk_widget_get_hexpand ()
void
gtk_widget_set_hexpand ()
gboolean
gtk_widget_get_hexpand_set ()
void
gtk_widget_set_hexpand_set ()
gboolean
gtk_widget_get_vexpand ()
void
gtk_widget_set_vexpand ()
gboolean
gtk_widget_get_vexpand_set ()
void
gtk_widget_set_vexpand_set ()
gboolean
gtk_widget_compute_expand ()
void
gtk_widget_init_template ()
void
gtk_widget_class_set_template ()
void
gtk_widget_class_set_template_from_resource ()
GObject *
gtk_widget_get_template_child ()
#define gtk_widget_class_bind_template_child()
#define gtk_widget_class_bind_template_child_internal()
#define gtk_widget_class_bind_template_child_private()
#define gtk_widget_class_bind_template_child_internal_private()
void
gtk_widget_class_bind_template_child_full ()
#define gtk_widget_class_bind_template_callback()
void
gtk_widget_class_bind_template_callback_full ()
void
gtk_widget_class_set_template_scope ()
GListModel *
gtk_widget_observe_children ()
GListModel *
gtk_widget_observe_controllers ()
void
gtk_widget_insert_action_group ()
gboolean
gtk_widget_activate_action ()
gboolean
gtk_widget_activate_action_variant ()
void
gtk_widget_activate_default ()
void
( *GtkWidgetActionActivateFunc) ()
void
gtk_widget_class_install_action ()
void
gtk_widget_class_install_property_action ()
gboolean
gtk_widget_class_query_action ()
void
gtk_widget_action_set_enabled ()
Properties
gboolean can-focusRead / Write
gboolean can-targetRead / Write
gchar * css-nameRead / Write / Construct Only
GdkCursor * cursorRead / Write
gboolean expandRead / Write
gboolean focus-on-clickRead / Write
GtkAlign halignRead / Write
gboolean has-defaultRead
gboolean has-focusRead / Write
gboolean has-tooltipRead / Write
gint height-requestRead / Write
gboolean hexpandRead / Write
gboolean hexpand-setRead / Write
gboolean is-focusRead / Write
GtkLayoutManager * layout-managerRead / Write
gint marginRead / Write
gint margin-bottomRead / Write
gint margin-endRead / Write
gint margin-startRead / Write
gint margin-topRead / Write
gchar * nameRead / Write
gdouble opacityRead / Write
GtkOverflow overflowRead / Write
GtkWidget * parentRead
gboolean receives-defaultRead / Write
GtkRoot * rootRead
gint scale-factorRead
gboolean sensitiveRead / Write
gchar * tooltip-markupRead / Write
gchar * tooltip-textRead / Write
GtkAlign valignRead / Write
gboolean vexpandRead / Write
gboolean vexpand-setRead / Write
gboolean visibleRead / Write
gint width-requestRead / Write
Signals
void accel-closures-changed
gboolean can-activate-accel Run Last
void destroy No Hooks
void direction-changed Run First
void grab-notify Run First
void hide Run First
gboolean keynav-failed Run Last
void map Run First
gboolean mnemonic-activate Run Last
void move-focus Action
gboolean popup-menu Action
gboolean query-tooltip Run Last
void realize Run First
void show Run First
void size-allocate Run First
void state-flags-changed Run First
void unmap Run First
void unrealize Run Last
Types and Values
GtkWidget
struct GtkWidgetClass
GtkRequisition
typedef GtkAllocation
enum GtkTextDirection
enum GtkPickFlags
enum GtkSizeRequestMode
struct GtkRequestedSize
enum GtkAlign
Object Hierarchy
GObject
╰── GInitiallyUnowned
╰── GtkWidget
├── GtkContainer
├── GtkAccelLabel
├── GtkAppChooserButton
├── GtkAppChooserWidget
├── GtkCalendar
├── GtkCellView
├── GtkColorButton
├── GtkColorChooserWidget
├── GtkDrawingArea
├── GtkEntry
├── GtkFileChooserButton
├── GtkFileChooserWidget
├── GtkFontButton
├── GtkFontChooserWidget
├── GtkGLArea
├── GtkImage
├── GtkLabel
├── GtkMediaControls
├── GtkMenuButton
├── GtkPasswordEntry
├── GtkPicture
├── GtkPopoverMenuBar
├── GtkProgressBar
├── GtkRange
├── GtkScrollbar
├── GtkSearchEntry
├── GtkSeparator
├── GtkShortcutLabel
├── GtkShortcutsShortcut
├── GtkSpinButton
├── GtkSpinner
├── GtkStackSidebar
├── GtkStackSwitcher
├── GtkStatusbar
├── GtkSwitch
├── GtkLevelBar
├── GtkText
╰── GtkVideo
Known Derived Interfaces
GtkWidget is required by
GtkActionable, GtkAppChooser, GtkCellEditable, GtkEditable, GtkNative and GtkRoot.
Implemented Interfaces
GtkWidget implements
AtkImplementorIface, GtkBuildable and GtkConstraintTarget.
Includes #include <gtk/gtk.h>
Description
GtkWidget is the base class all widgets in GTK+ derive from. It manages the
widget lifecycle, states and style.
Height-for-width Geometry Management GTK+ uses a height-for-width (and width-for-height) geometry management
system. Height-for-width means that a widget can change how much
vertical space it needs, depending on the amount of horizontal space
that it is given (and similar for width-for-height). The most common
example is a label that reflows to fill up the available width, wraps
to fewer lines, and therefore needs less height.
Height-for-width geometry management is implemented in GTK+ by way
of two virtual methods:
GtkWidgetClass.get_request_mode()
GtkWidgetClass.measure()
There are some important things to keep in mind when implementing
height-for-width and when using it in widget implementations.
If you implement a direct GtkWidget subclass that supports
height-for-width or width-for-height geometry management for
itself or its child widgets, the GtkWidgetClass.get_request_mode()
virtual function must be implemented as well and return the widget's
preferred request mode. The default implementation of this virtual function
returns GTK_SIZE_REQUEST_CONSTANT_SIZE , which means that the widget will only ever
get -1 passed as the for_size value to its GtkWidgetClass.measure() implementation.
The geometry management system will query a widget hierarchy in
only one orientation at a time. When widgets are initially queried
for their minimum sizes it is generally done in two initial passes
in the GtkSizeRequestMode chosen by the toplevel.
For example, when queried in the normal
GTK_SIZE_REQUEST_HEIGHT_FOR_WIDTH mode:
First, the default minimum and natural width for each widget
in the interface will be computed using gtk_widget_measure() with an orientation
of GTK_ORIENTATION_HORIZONTAL and a for_size of -1.
Because the preferred widths for each widget depend on the preferred
widths of their children, this information propagates up the hierarchy,
and finally a minimum and natural width is determined for the entire
toplevel. Next, the toplevel will use the minimum width to query for the
minimum height contextual to that width using gtk_widget_measure() with an
orientation of GTK_ORIENTATION_VERTICAL and a for_size of the just computed
width. This will also be a highly recursive operation.
The minimum height for the minimum width is normally
used to set the minimum size constraint on the toplevel
(unless gtk_window_set_geometry_hints() is explicitly used instead).
After the toplevel window has initially requested its size in both
dimensions it can go on to allocate itself a reasonable size (or a size
previously specified with gtk_window_set_default_size() ). During the
recursive allocation process it’s important to note that request cycles
will be recursively executed while widgets allocate their children.
Each widget, once allocated a size, will go on to first share the
space in one orientation among its children and then request each child's
height for its target allocated width or its width for allocated height,
depending. In this way a GtkWidget will typically be requested its size
a number of times before actually being allocated a size. The size a
widget is finally allocated can of course differ from the size it has
requested. For this reason, GtkWidget caches a small number of results
to avoid re-querying for the same sizes in one allocation cycle.
If a widget does move content around to intelligently use up the
allocated size then it must support the request in both
GtkSizeRequestModes even if the widget in question only
trades sizes in a single orientation.
For instance, a GtkLabel that does height-for-width word wrapping
will not expect to have GtkWidgetClass.measure() with an orientation of
GTK_ORIENTATION_VERTICAL called because that call is specific to a
width-for-height request. In this
case the label must return the height required for its own minimum
possible width. By following this rule any widget that handles
height-for-width or width-for-height requests will always be allocated
at least enough space to fit its own content.
Here are some examples of how a GTK_SIZE_REQUEST_HEIGHT_FOR_WIDTH widget
generally deals with width-for-height requests:
measure (widget, GTK_ORIENTATION_HORIZONTAL, -1,
&min_width, &dummy, &dummy, &dummy);
// Now use the minimum width to retrieve the minimum and natural height to display
// that width.
GTK_WIDGET_GET_CLASS (widget)->measure (widget, GTK_ORIENTATION_VERTICAL, min_width,
minimum_size, natural_size, &dummy, &dummy);
}
else
{
// ... some widgets do both.
}
}
}
]]>
Often a widget needs to get its own request during size request or
allocation. For example, when computing height it may need to also
compute width. Or when deciding how to use an allocation, the widget
may need to know its natural size. In these cases, the widget should
be careful to call its virtual methods directly, like in the code
example above.
It will not work to use the wrapper function gtk_widget_measure()
inside your own GtkWidgetClass.size-allocate() implementation.
These return a request adjusted by GtkSizeGroup , the widget's align and expand flags
as well as its CSS style.
If a widget used the wrappers inside its virtual method implementations,
then the adjustments (such as widget margins) would be applied
twice. GTK+ therefore does not allow this and will warn if you try
to do it.
Of course if you are getting the size request for
another widget, such as a child widget, you must use gtk_widget_measure() .
Otherwise, you would not properly consider widget margins,
GtkSizeGroup , and so forth.
GTK+ also supports baseline vertical alignment of widgets. This
means that widgets are positioned such that the typographical baseline of
widgets in the same row are aligned. This happens if a widget supports baselines,
has a vertical alignment of GTK_ALIGN_BASELINE , and is inside a widget
that supports baselines and has a natural “row” that it aligns to the baseline,
or a baseline assigned to it by the grandparent.
Baseline alignment support for a widget is also done by the GtkWidgetClass.measure()
virtual function. It allows you to report a both a minimum and natural
If a widget ends up baseline aligned it will be allocated all the space in the parent
as if it was GTK_ALIGN_FILL , but the selected baseline can be found via gtk_widget_get_allocated_baseline() .
If this has a value other than -1 you need to align the widget such that the baseline
appears at the position.
GtkWidget as GtkBuildable The GtkWidget implementation of the GtkBuildable interface supports a
custom <accelerator> element, which has attributes named ”key”, ”modifiers”
and ”signal” and allows to specify accelerators.
An example of a UI definition fragment specifying an accelerator:
]]>
In addition to accelerators, GtkWidget also support a custom <accessible>
element, which supports actions and relations. Properties on the accessible
implementation of an object can be set by accessing the internal child
“accessible” of a GtkWidget .
An example of a UI definition fragment specifying an accessible:
I am a Label for a Button
Click the button.
Clickable Button
]]>
If the parent widget uses a GtkLayoutManager , GtkWidget supports a
custom <layout> element, used to define layout properties:
Description
0
0
1
1
1
0
1
1
]]>
Finally, GtkWidget allows style information such as style classes to
be associated with widgets, using the custom <style> element:
]]>
Building composite widgets from template XML GtkWidget exposes some facilities to automate the procedure
of creating composite widgets using GtkBuilder interface description
language.
To create composite widgets with GtkBuilder XML, one must associate
the interface description with the widget class at class initialization
time using gtk_widget_class_set_template() .
The interface description semantics expected in composite template descriptions
is slightly different from regular GtkBuilder XML.
Unlike regular interface descriptions, gtk_widget_class_set_template() will
expect a <template> tag as a direct child of the toplevel <interface>
tag. The <template> tag must specify the “class” attribute which must be
the type name of the widget. Optionally, the “parent” attribute may be
specified to specify the direct parent type of the widget type, this is
ignored by the GtkBuilder but required for Glade to introspect what kind
of properties and internal children exist for a given type when the actual
type does not exist.
The XML which is contained inside the <template> tag behaves as if it were
added to the <object> tag defining widget
itself. You may set properties
on widget
by inserting <property> tags into the <template> tag, and also
add <child> tags to add children and extend widget
in the normal way you
would with <object> tags.
Additionally, <object> tags can also be added before and after the initial
<template> tag in the normal way, allowing one to define auxiliary objects
which might be referenced by other widgets declared as children of the
<template> tag.
An example of a GtkBuilder Template Definition:
horizontal
4
Hello World
Goodbye World
]]>
Typically, you'll place the template fragment into a file that is
bundled with your project, using GResource . In order to load the
template, you need to call gtk_widget_class_set_template_from_resource()
from the class initialization of your GtkWidget type:
You will also need to call gtk_widget_init_template() from the instance
initialization function:
You can access widgets defined in the template using the
gtk_widget_get_template_child() function, but you will typically declare
a pointer in the instance private data structure of your type using the same
name as the widget in the template definition, and call
gtk_widget_class_bind_template_child_private() with that name, e.g.
You can also use gtk_widget_class_bind_template_callback() to connect a signal
callback defined in the template with a function visible in the scope of the
class, e.g.
Functions
GtkCallback ()
GtkCallback
void
( *GtkCallback) (GtkWidget *widget ,
gpointer data );
The type of the callback functions used for e.g. iterating over
the children of a container, see gtk_container_foreach() .
Parameters
widget
the widget to operate on
data
user-supplied data.
[closure ]
gtk_widget_new ()
gtk_widget_new
GtkWidget *
gtk_widget_new (GType type ,
const gchar *first_property_name ,
... );
This is a convenience function for creating a widget and setting
its properties in one go. For example you might write:
gtk_widget_new (GTK_TYPE_LABEL, "label", "Hello World", "xalign",
0.0, NULL) to create a left-aligned label. Equivalent to
g_object_new() , but returns a widget so you don’t have to
cast the object yourself.
Parameters
type
type ID of the widget to create
first_property_name
name of first property to set
...
value of first property, followed by more properties,
NULL -terminated
Returns
a new GtkWidget of type widget_type
gtk_widget_destroy ()
gtk_widget_destroy
void
gtk_widget_destroy (GtkWidget *widget );
Destroys a widget.
When a widget is destroyed all references it holds on other objects
will be released:
if the widget is inside a container, it will be removed from its
parent
if the widget is a container, all its children will be destroyed,
recursively
if the widget is a top level, it will be removed from the list
of top level widgets that GTK+ maintains internally
It's expected that all references held on the widget will also
be released; you should connect to the “destroy” signal
if you hold a reference to widget
and you wish to remove it when
this function is called. It is not necessary to do so if you are
implementing a GtkContainer , as you'll be able to use the
GtkContainerClass.remove() virtual function for that.
It's important to notice that gtk_widget_destroy() will only cause
the widget
to be finalized if no additional references, acquired
using g_object_ref() , are held on it. In case additional references
are in place, the widget
will be in an "inert" state after calling
this function; widget
will still point to valid memory, allowing you
to release the references you hold, but you may not query the widget's
own state.
You should typically call this function on top level widgets, and
rarely on child widgets.
See also: gtk_container_remove()
Parameters
widget
a GtkWidget
gtk_widget_in_destruction ()
gtk_widget_in_destruction
gboolean
gtk_widget_in_destruction (GtkWidget *widget );
Returns whether the widget is currently being destroyed.
This information can sometimes be used to avoid doing
unnecessary work.
Parameters
widget
a GtkWidget
Returns
TRUE if widget
is being destroyed
gtk_widget_destroyed ()
gtk_widget_destroyed
void
gtk_widget_destroyed (GtkWidget *widget ,
GtkWidget **widget_pointer );
This function sets *widget_pointer
to NULL if widget_pointer
!=
NULL . It’s intended to be used as a callback connected to the
“destroy” signal of a widget. You connect gtk_widget_destroyed()
as a signal handler, and pass the address of your widget variable
as user data. Then when the widget is destroyed, the variable will
be set to NULL . Useful for example to avoid multiple copies
of the same dialog.
Parameters
widget
a GtkWidget
widget_pointer
address of a variable that contains widget
.
[inout ][transfer none ]
gtk_widget_unparent ()
gtk_widget_unparent
void
gtk_widget_unparent (GtkWidget *widget );
This function is only for use in widget implementations.
Should be called by parent widgets to dissociate widget
from the parent.
Parameters
widget
a GtkWidget
gtk_widget_show ()
gtk_widget_show
void
gtk_widget_show (GtkWidget *widget );
Flags a widget to be displayed. Any widget that isn’t shown will
not appear on the screen.
Remember that you have to show the containers containing a widget,
in addition to the widget itself, before it will appear onscreen.
When a toplevel container is shown, it is immediately realized and
mapped; other shown widgets are realized and mapped when their
toplevel container is realized and mapped.
Parameters
widget
a GtkWidget
gtk_widget_hide ()
gtk_widget_hide
void
gtk_widget_hide (GtkWidget *widget );
Reverses the effects of gtk_widget_show() , causing the widget to be
hidden (invisible to the user).
Parameters
widget
a GtkWidget
gtk_widget_map ()
gtk_widget_map
void
gtk_widget_map (GtkWidget *widget );
This function is only for use in widget implementations. Causes
a widget to be mapped if it isn’t already.
Parameters
widget
a GtkWidget
gtk_widget_unmap ()
gtk_widget_unmap
void
gtk_widget_unmap (GtkWidget *widget );
This function is only for use in widget implementations. Causes
a widget to be unmapped if it’s currently mapped.
Parameters
widget
a GtkWidget
gtk_widget_realize ()
gtk_widget_realize
void
gtk_widget_realize (GtkWidget *widget );
Creates the GDK (windowing system) resources associated with a
widget. For example, widget->surface
will be created when a widget
is realized. Normally realization happens implicitly; if you show
a widget and all its parent containers, then the widget will be
realized and mapped automatically.
Realizing a widget requires all
the widget’s parent widgets to be realized; calling
gtk_widget_realize() realizes the widget’s parents in addition to
widget
itself. If a widget is not yet inside a toplevel window
when you realize it, bad things will happen.
This function is primarily used in widget implementations, and
isn’t very useful otherwise. Many times when you think you might
need it, a better approach is to connect to a signal that will be
called after the widget is realized automatically, such as
“realize” .
Parameters
widget
a GtkWidget
gtk_widget_unrealize ()
gtk_widget_unrealize
void
gtk_widget_unrealize (GtkWidget *widget );
This function is only useful in widget implementations.
Causes a widget to be unrealized (frees all GDK resources
associated with the widget, such as widget->surface
).
Parameters
widget
a GtkWidget
gtk_widget_queue_draw ()
gtk_widget_queue_draw
void
gtk_widget_queue_draw (GtkWidget *widget );
Schedules this widget to be redrawn in paint phase of the
current or the next frame. This means widget
's GtkWidgetClass.snapshot()
implementation will be called.
Parameters
widget
a GtkWidget
gtk_widget_queue_resize ()
gtk_widget_queue_resize
void
gtk_widget_queue_resize (GtkWidget *widget );
This function is only for use in widget implementations.
Flags a widget to have its size renegotiated; should
be called when a widget for some reason has a new size request.
For example, when you change the text in a GtkLabel , GtkLabel
queues a resize to ensure there’s enough space for the new text.
Note that you cannot call gtk_widget_queue_resize() on a widget
from inside its implementation of the GtkWidgetClass::size_allocate
virtual method. Calls to gtk_widget_queue_resize() from inside
GtkWidgetClass::size_allocate will be silently ignored.
Parameters
widget
a GtkWidget
gtk_widget_queue_allocate ()
gtk_widget_queue_allocate
void
gtk_widget_queue_allocate (GtkWidget *widget );
This function is only for use in widget implementations.
Flags the widget for a rerun of the GtkWidgetClass::size_allocate
function. Use this function instead of gtk_widget_queue_resize()
when the widget
's size request didn't change but it wants to
reposition its contents.
An example user of this function is gtk_widget_set_halign() .
Parameters
widget
a GtkWidget
gtk_widget_get_frame_clock ()
gtk_widget_get_frame_clock
GdkFrameClock *
gtk_widget_get_frame_clock (GtkWidget *widget );
Obtains the frame clock for a widget. The frame clock is a global
“ticker” that can be used to drive animations and repaints. The
most common reason to get the frame clock is to call
gdk_frame_clock_get_frame_time() , in order to get a time to use for
animating. For example you might record the start of the animation
with an initial value from gdk_frame_clock_get_frame_time() , and
then update the animation by calling
gdk_frame_clock_get_frame_time() again during each repaint.
gdk_frame_clock_request_phase() will result in a new frame on the
clock, but won’t necessarily repaint any widgets. To repaint a
widget, you have to use gtk_widget_queue_draw() which invalidates
the widget (thus scheduling it to receive a draw on the next
frame). gtk_widget_queue_draw() will also end up requesting a frame
on the appropriate frame clock.
A widget’s frame clock will not change while the widget is
mapped. Reparenting a widget (which implies a temporary unmap) can
change the widget’s frame clock.
Unrealized widgets do not have a frame clock.
Parameters
widget
a GtkWidget
Returns
a GdkFrameClock ,
or NULL if widget is unrealized.
[nullable ][transfer none ]
gtk_widget_get_scale_factor ()
gtk_widget_get_scale_factor
gint
gtk_widget_get_scale_factor (GtkWidget *widget );
Retrieves the internal scale factor that maps from window coordinates
to the actual device pixels. On traditional systems this is 1, on
high density outputs, it can be a higher value (typically 2).
See gdk_surface_get_scale_factor() .
Parameters
widget
a GtkWidget
Returns
the scale factor for widget
GtkTickCallback ()
GtkTickCallback
gboolean
( *GtkTickCallback) (GtkWidget *widget ,
GdkFrameClock *frame_clock ,
gpointer user_data );
Callback type for adding a function to update animations. See gtk_widget_add_tick_callback() .
Parameters
widget
the widget
frame_clock
the frame clock for the widget (same as calling gtk_widget_get_frame_clock() )
user_data
user data passed to gtk_widget_add_tick_callback() .
Returns
G_SOURCE_CONTINUE if the tick callback should continue to be called,
G_SOURCE_REMOVE if the tick callback should be removed.
gtk_widget_add_tick_callback ()
gtk_widget_add_tick_callback
guint
gtk_widget_add_tick_callback (GtkWidget *widget ,
GtkTickCallback callback ,
gpointer user_data ,
GDestroyNotify notify );
Queues an animation frame update and adds a callback to be called
before each frame. Until the tick callback is removed, it will be
called frequently (usually at the frame rate of the output device
or as quickly as the application can be repainted, whichever is
slower). For this reason, is most suitable for handling graphics
that change every frame or every few frames. The tick callback does
not automatically imply a relayout or repaint. If you want a
repaint or relayout, and aren’t changing widget properties that
would trigger that (for example, changing the text of a GtkLabel ),
then you will have to call gtk_widget_queue_resize() or
gtk_widget_queue_draw() yourself.
gdk_frame_clock_get_frame_time() should generally be used for timing
continuous animations and
gdk_frame_timings_get_predicted_presentation_time() if you are
trying to display isolated frames at particular times.
This is a more convenient alternative to connecting directly to the
“update” signal of GdkFrameClock , since you don't
have to worry about when a GdkFrameClock is assigned to a widget.
Parameters
widget
a GtkWidget
callback
function to call for updating animations
user_data
data to pass to callback
.
[closure ]
notify
function to call to free user_data
when the callback is removed.
Returns
an id for the connection of this callback. Remove the callback
by passing the id returned from this function to
gtk_widget_remove_tick_callback()
gtk_widget_remove_tick_callback ()
gtk_widget_remove_tick_callback
void
gtk_widget_remove_tick_callback (GtkWidget *widget ,
guint id );
Removes a tick callback previously registered with
gtk_widget_add_tick_callback() .
Parameters
widget
a GtkWidget
id
an id returned by gtk_widget_add_tick_callback()
gtk_widget_size_allocate ()
gtk_widget_size_allocate
void
gtk_widget_size_allocate (GtkWidget *widget ,
const GtkAllocation *allocation ,
int baseline );
This is a simple form of gtk_widget_allocate() that takes the new position
of widget
as part of allocation
.
Parameters
widget
a GtkWidget
allocation
position and size to be allocated to widget
baseline
The baseline of the child, or -1
gtk_widget_allocate ()
gtk_widget_allocate
void
gtk_widget_allocate (GtkWidget *widget ,
int width ,
int height ,
int baseline ,
GskTransform *transform );
This function is only used by GtkWidget subclasses, to assign a size,
position and (optionally) baseline to their child widgets.
In this function, the allocation and baseline may be adjusted. The given
allocation will be forced to be bigger than the widget's minimum size,
as well as at least 0×0 in size.
For a version that does not take a transform, see gtk_widget_size_allocate()
Parameters
widget
A GtkWidget
width
New width of widget
height
New height of widget
baseline
New baseline of widget
, or -1
transform
Transformation to be applied to widget
.
[transfer full ][allow-none ]
gtk_widget_add_accelerator ()
gtk_widget_add_accelerator
void
gtk_widget_add_accelerator (GtkWidget *widget ,
const gchar *accel_signal ,
GtkAccelGroup *accel_group ,
guint accel_key ,
GdkModifierType accel_mods ,
GtkAccelFlags accel_flags );
Installs an accelerator for this widget
in accel_group
that causes
accel_signal
to be emitted if the accelerator is activated.
The accel_group
needs to be added to the widget’s toplevel via
gtk_window_add_accel_group() , and the signal must be of type G_SIGNAL_ACTION .
Accelerators added through this function are not user changeable during
runtime. If you want to support accelerators that can be changed by the
user, use gtk_accel_map_add_entry() and gtk_widget_set_accel_path() or
gtk_menu_item_set_accel_path() instead.
Parameters
widget
widget to install an accelerator on
accel_signal
widget signal to emit on accelerator activation
accel_group
accel group for this widget, added to its toplevel
accel_key
GDK keyval of the accelerator
accel_mods
modifier key combination of the accelerator
accel_flags
flag accelerators, e.g. GTK_ACCEL_VISIBLE
gtk_widget_remove_accelerator ()
gtk_widget_remove_accelerator
gboolean
gtk_widget_remove_accelerator (GtkWidget *widget ,
GtkAccelGroup *accel_group ,
guint accel_key ,
GdkModifierType accel_mods );
Removes an accelerator from widget
, previously installed with
gtk_widget_add_accelerator() .
Parameters
widget
widget to install an accelerator on
accel_group
accel group for this widget
accel_key
GDK keyval of the accelerator
accel_mods
modifier key combination of the accelerator
Returns
whether an accelerator was installed and could be removed
gtk_widget_set_accel_path ()
gtk_widget_set_accel_path
void
gtk_widget_set_accel_path (GtkWidget *widget ,
const gchar *accel_path ,
GtkAccelGroup *accel_group );
Given an accelerator group, accel_group
, and an accelerator path,
accel_path
, sets up an accelerator in accel_group
so whenever the
key binding that is defined for accel_path
is pressed, widget
will be activated. This removes any accelerators (for any
accelerator group) installed by previous calls to
gtk_widget_set_accel_path() . Associating accelerators with
paths allows them to be modified by the user and the modifications
to be saved for future use. (See gtk_accel_map_save() .)
This function is a low level function that would most likely
be used by a menu creation system.
If you only want to
set up accelerators on menu items gtk_menu_item_set_accel_path()
provides a somewhat more convenient interface.
Note that accel_path
string will be stored in a GQuark . Therefore, if you
pass a static string, you can save some memory by interning it first with
g_intern_static_string() .
Parameters
widget
a GtkWidget
accel_path
path used to look up the accelerator.
[allow-none ]
accel_group
a GtkAccelGroup .
[allow-none ]
gtk_widget_list_accel_closures ()
gtk_widget_list_accel_closures
GList *
gtk_widget_list_accel_closures (GtkWidget *widget );
Lists the closures used by widget
for accelerator group connections
with gtk_accel_group_connect_by_path() or gtk_accel_group_connect() .
The closures can be used to monitor accelerator changes on widget
,
by connecting to the GtkAccelGroup
::accel-changed signal of the
GtkAccelGroup of a closure which can be found out with
gtk_accel_group_from_accel_closure() .
Parameters
widget
widget to list accelerator closures for
Returns
a newly allocated GList of closures.
[transfer container ][element-type GClosure]
gtk_widget_can_activate_accel ()
gtk_widget_can_activate_accel
gboolean
gtk_widget_can_activate_accel (GtkWidget *widget ,
guint signal_id );
Determines whether an accelerator that activates the signal
identified by signal_id
can currently be activated.
This is done by emitting the “can-activate-accel”
signal on widget
; if the signal isn’t overridden by a
handler or in a derived widget, then the default check is
that the widget must be sensitive, and the widget and all
its ancestors mapped.
Parameters
widget
a GtkWidget
signal_id
the ID of a signal installed on widget
Returns
TRUE if the accelerator can be activated.
gtk_widget_event ()
gtk_widget_event
gboolean
gtk_widget_event (GtkWidget *widget ,
GdkEvent *event );
Rarely-used function. This function is used to emit
the event signals on a widget (those signals should never
be emitted without using this function to do so).
If you want to synthesize an event though, don’t use this function;
instead, use gtk_main_do_event() so the event will behave as if
it were in the event queue.
Parameters
widget
a GtkWidget
event
a GdkEvent
Returns
return from the event signal emission (TRUE if
the event was handled)
gtk_widget_activate ()
gtk_widget_activate
gboolean
gtk_widget_activate (GtkWidget *widget );
For widgets that can be “activated” (buttons, menu items, etc.)
this function activates them. Activation is what happens when you
press Enter on a widget during key navigation. If widget
isn't
activatable, the function returns FALSE .
Parameters
widget
a GtkWidget that’s activatable
Returns
TRUE if the widget was activatable
gtk_widget_is_focus ()
gtk_widget_is_focus
gboolean
gtk_widget_is_focus (GtkWidget *widget );
Determines if the widget is the focus widget within its
toplevel. (This does not mean that the “has-focus” property is
necessarily set; “has-focus” will only be set if the
toplevel widget additionally has the global input focus.)
Parameters
widget
a GtkWidget
Returns
TRUE if the widget is the focus widget.
gtk_widget_grab_focus ()
gtk_widget_grab_focus
gboolean
gtk_widget_grab_focus (GtkWidget *widget );
Causes widget
(or one of its descendents) to have the keyboard focus
for the GtkWindow it's inside.
If widget
is not focusable, or its ::grab_focus implementation cannot
transfer the focus to a descendant of widget
that is focusable, it will
not take focus and FALSE will be returned.
Calling gtk_widget_grab_focus() on an already focused widget is allowed,
should not have an effect, and return TRUE .
Parameters
widget
a GtkWidget
Returns
TRUE if focus is now inside widget
.
gtk_widget_set_name ()
gtk_widget_set_name
void
gtk_widget_set_name (GtkWidget *widget ,
const gchar *name );
Widgets can be named, which allows you to refer to them from a
CSS file. You can apply a style to widgets with a particular name
in the CSS file. See the documentation for the CSS syntax (on the
same page as the docs for GtkStyleContext ).
Note that the CSS syntax has certain special characters to delimit
and represent elements in a selector (period, #, >, *...), so using
these will make your widget impossible to match by name. Any combination
of alphanumeric symbols, dashes and underscores will suffice.
Parameters
widget
a GtkWidget
name
name for the widget
gtk_widget_get_name ()
gtk_widget_get_name
const gchar *
gtk_widget_get_name (GtkWidget *widget );
Retrieves the name of a widget. See gtk_widget_set_name() for the
significance of widget names.
Parameters
widget
a GtkWidget
Returns
name of the widget. This string is owned by GTK+ and
should not be modified or freed
gtk_widget_set_sensitive ()
gtk_widget_set_sensitive
void
gtk_widget_set_sensitive (GtkWidget *widget ,
gboolean sensitive );
Sets the sensitivity of a widget. A widget is sensitive if the user
can interact with it. Insensitive widgets are “grayed out” and the
user can’t interact with them. Insensitive widgets are known as
“inactive”, “disabled”, or “ghosted” in some other toolkits.
Parameters
widget
a GtkWidget
sensitive
TRUE to make the widget sensitive
gtk_widget_set_parent ()
gtk_widget_set_parent
void
gtk_widget_set_parent (GtkWidget *widget ,
GtkWidget *parent );
This function is useful only when implementing subclasses of
GtkWidget .
Sets parent
as the parent widget of widget
, and takes care of
some details such as updating the state and style of the child
to reflect its new location and resizing the parent. The opposite
function is gtk_widget_unparent() .
Parameters
widget
a GtkWidget
parent
parent widget
gtk_widget_get_root ()
gtk_widget_get_root
GtkRoot *
gtk_widget_get_root (GtkWidget *widget );
Returns the GtkRoot widget of widget
or NULL if the widget is not contained
inside a widget tree with a root widget.
GtkRoot widgets will return themselves here.
Parameters
widget
a GtkWidget
Returns
the root widget of widget
, or NULL .
[transfer none ][nullable ]
gtk_widget_get_native ()
gtk_widget_get_native
GtkNative *
gtk_widget_get_native (GtkWidget *widget );
Returns the GtkNative widget that contains widget
,
or NULL if the widget is not contained inside a
widget tree with a native ancestor.
GtkNative widgets will return themselves here.
Parameters
widget
a GtkWidget
Returns
the GtkNative
widget of widget
, or NULL .
[transfer none ][nullable ]
gtk_widget_get_ancestor ()
gtk_widget_get_ancestor
GtkWidget *
gtk_widget_get_ancestor (GtkWidget *widget ,
GType widget_type );
Gets the first ancestor of widget
with type widget_type
. For example,
gtk_widget_get_ancestor (widget, GTK_TYPE_BOX) gets
the first GtkBox that’s an ancestor of widget
. No reference will be
added to the returned widget; it should not be unreferenced.
Note that unlike gtk_widget_is_ancestor() , gtk_widget_get_ancestor()
considers widget
to be an ancestor of itself.
Parameters
widget
a GtkWidget
widget_type
ancestor type
Returns
the ancestor widget, or NULL if not found.
[transfer none ][nullable ]
gtk_widget_is_ancestor ()
gtk_widget_is_ancestor
gboolean
gtk_widget_is_ancestor (GtkWidget *widget ,
GtkWidget *ancestor );
Determines whether widget
is somewhere inside ancestor
, possibly with
intermediate containers.
Parameters
widget
a GtkWidget
ancestor
another GtkWidget
Returns
TRUE if ancestor
contains widget
as a child,
grandchild, great grandchild, etc.
gtk_widget_translate_coordinates ()
gtk_widget_translate_coordinates
gboolean
gtk_widget_translate_coordinates (GtkWidget *src_widget ,
GtkWidget *dest_widget ,
gint src_x ,
gint src_y ,
gint *dest_x ,
gint *dest_y );
Translate coordinates relative to src_widget
’s allocation to coordinates
relative to dest_widget
’s allocations. In order to perform this
operation, both widget must share a common toplevel.
Parameters
src_widget
a GtkWidget
dest_widget
a GtkWidget
src_x
X position relative to src_widget
src_y
Y position relative to src_widget
dest_x
location to store X position relative to dest_widget
.
[out ][optional ]
dest_y
location to store Y position relative to dest_widget
.
[out ][optional ]
Returns
FALSE if src_widget
and dest_widget
have no common
ancestor. In this case, 0 is stored in
*dest_x
and *dest_y
. Otherwise TRUE .
gtk_widget_add_controller ()
gtk_widget_add_controller
void
gtk_widget_add_controller (GtkWidget *widget ,
GtkEventController *controller );
Adds controller
to widget
so that it will receive events. You will
usually want to call this function right after creating any kind of
GtkEventController .
Parameters
widget
a GtkWidget
controller
a GtkEventController that hasn't been
added to a widget yet.
[transfer full ]
gtk_widget_remove_controller ()
gtk_widget_remove_controller
void
gtk_widget_remove_controller (GtkWidget *widget ,
GtkEventController *controller );
Removes controller
from widget
, so that it doesn't process
events anymore. It should not be used again.
Widgets will remove all event controllers automatically when they
are destroyed, there is normally no need to call this function.
Parameters
widget
a GtkWidget
controller
a GtkEventController .
[transfer none ]
gtk_widget_set_direction ()
gtk_widget_set_direction
void
gtk_widget_set_direction (GtkWidget *widget ,
GtkTextDirection dir );
Sets the reading direction on a particular widget. This direction
controls the primary direction for widgets containing text,
and also the direction in which the children of a container are
packed. The ability to set the direction is present in order
so that correct localization into languages with right-to-left
reading directions can be done. Generally, applications will
let the default reading direction present, except for containers
where the containers are arranged in an order that is explicitly
visual rather than logical (such as buttons for text justification).
If the direction is set to GTK_TEXT_DIR_NONE , then the value
set by gtk_widget_set_default_direction() will be used.
Parameters
widget
a GtkWidget
dir
the new direction
gtk_widget_get_direction ()
gtk_widget_get_direction
GtkTextDirection
gtk_widget_get_direction (GtkWidget *widget );
Gets the reading direction for a particular widget. See
gtk_widget_set_direction() .
Parameters
widget
a GtkWidget
Returns
the reading direction for the widget.
gtk_widget_set_default_direction ()
gtk_widget_set_default_direction
void
gtk_widget_set_default_direction (GtkTextDirection dir );
Sets the default reading direction for widgets where the
direction has not been explicitly set by gtk_widget_set_direction() .
Parameters
dir
the new default direction. This cannot be
GTK_TEXT_DIR_NONE .
gtk_widget_get_default_direction ()
gtk_widget_get_default_direction
GtkTextDirection
gtk_widget_get_default_direction (void );
Obtains the current default reading direction. See
gtk_widget_set_default_direction() .
Returns
the current default direction.
gtk_widget_input_shape_combine_region ()
gtk_widget_input_shape_combine_region
void
gtk_widget_input_shape_combine_region (GtkWidget *widget ,
cairo_region_t *region );
Sets an input shape for this widget’s GDK surface. This allows for
windows which react to mouse click in a nonrectangular region, see
gdk_surface_input_shape_combine_region() for more information.
Parameters
widget
a GtkWidget
region
shape to be added, or NULL to remove an existing shape.
[allow-none ]
gtk_widget_create_pango_context ()
gtk_widget_create_pango_context
PangoContext *
gtk_widget_create_pango_context (GtkWidget *widget );
Creates a new PangoContext with the appropriate font map,
font options, font description, and base direction for drawing
text for this widget. See also gtk_widget_get_pango_context() .
Parameters
widget
a GtkWidget
Returns
the new PangoContext .
[transfer full ]
gtk_widget_get_pango_context ()
gtk_widget_get_pango_context
PangoContext *
gtk_widget_get_pango_context (GtkWidget *widget );
Gets a PangoContext with the appropriate font map, font description,
and base direction for this widget. Unlike the context returned
by gtk_widget_create_pango_context() , this context is owned by
the widget (it can be used until the screen for the widget changes
or the widget is removed from its toplevel), and will be updated to
match any changes to the widget’s attributes. This can be tracked
by using the “display-changed” signal on the widget.
Parameters
widget
a GtkWidget
Returns
the PangoContext for the widget.
[transfer none ]
gtk_widget_set_font_options ()
gtk_widget_set_font_options
void
gtk_widget_set_font_options (GtkWidget *widget ,
const cairo_font_options_t *options );
Sets the cairo_font_options_t used for Pango rendering in this widget.
When not set, the default font options for the GdkDisplay will be used.
Parameters
widget
a GtkWidget
options
a cairo_font_options_t , or NULL to unset any
previously set default font options.
[allow-none ]
gtk_widget_get_font_options ()
gtk_widget_get_font_options
const cairo_font_options_t *
gtk_widget_get_font_options (GtkWidget *widget );
Returns the cairo_font_options_t used for Pango rendering. When not set,
the defaults font options for the GdkDisplay will be used.
Parameters
widget
a GtkWidget
Returns
the cairo_font_options_t or NULL if not set.
[transfer none ][nullable ]
gtk_widget_set_font_map ()
gtk_widget_set_font_map
void
gtk_widget_set_font_map (GtkWidget *widget ,
PangoFontMap *font_map );
Sets the font map to use for Pango rendering. When not set, the widget
will inherit the font map from its parent.
Parameters
widget
a GtkWidget
font_map
a PangoFontMap , or NULL to unset any previously
set font map.
[allow-none ]
gtk_widget_get_font_map ()
gtk_widget_get_font_map
PangoFontMap *
gtk_widget_get_font_map (GtkWidget *widget );
Gets the font map that has been set with gtk_widget_set_font_map() .
Parameters
widget
a GtkWidget
Returns
A PangoFontMap , or NULL .
[transfer none ][nullable ]
gtk_widget_create_pango_layout ()
gtk_widget_create_pango_layout
PangoLayout *
gtk_widget_create_pango_layout (GtkWidget *widget ,
const gchar *text );
Creates a new PangoLayout with the appropriate font map,
font description, and base direction for drawing text for
this widget.
If you keep a PangoLayout created in this way around, you need
to re-create it when the widget PangoContext is replaced.
This can be tracked by using the “display-changed” signal
on the widget.
Parameters
widget
a GtkWidget
text
text to set on the layout (can be NULL ).
[nullable ]
Returns
the new PangoLayout .
[transfer full ]
gtk_widget_get_cursor ()
gtk_widget_get_cursor
GdkCursor *
gtk_widget_get_cursor (GtkWidget *widget );
Queries the cursor set via gtk_widget_set_cursor() . See that function for
details.
Parameters
widget
a GtkWidget
Returns
the cursor currently in use or NULL
to use the default.
[nullable ][transfer none ]
gtk_widget_set_cursor ()
gtk_widget_set_cursor
void
gtk_widget_set_cursor (GtkWidget *widget ,
GdkCursor *cursor );
Sets the cursor to be shown when pointer devices point towards widget
.
If the cursor
is NULL, widget
will use the cursor inherited from the
parent widget.
Parameters
widget
a GtkWidget
cursor
the new cursor or NULL to use the default
cursor.
[allow-none ]
gtk_widget_set_cursor_from_name ()
gtk_widget_set_cursor_from_name
void
gtk_widget_set_cursor_from_name (GtkWidget *widget ,
const char *name );
Sets a named cursor to be shown when pointer devices point towards widget
.
This is a utility function that creates a cursor via
gdk_cursor_new_from_name() and then sets it on widget
with
gtk_widget_set_cursor() . See those 2 functions for details.
On top of that, this function allows name
to be NULL , which will
do the same as calling gtk_widget_set_cursor() with a NULL cursor.
Parameters
widget
a GtkWidget
name
The name of the cursor or NULL to use the default
cursor.
[nullable ]
gtk_widget_mnemonic_activate ()
gtk_widget_mnemonic_activate
gboolean
gtk_widget_mnemonic_activate (GtkWidget *widget ,
gboolean group_cycling );
Emits the “mnemonic-activate” signal.
Parameters
widget
a GtkWidget
group_cycling
TRUE if there are other widgets with the same mnemonic
Returns
TRUE if the signal has been handled
gtk_widget_class_set_accessible_type ()
gtk_widget_class_set_accessible_type
void
gtk_widget_class_set_accessible_type (GtkWidgetClass *widget_class ,
GType type );
Sets the type to be used for creating accessibles for widgets of
widget_class
. The given type
must be a subtype of the type used for
accessibles of the parent class.
This function should only be called from class init functions of widgets.
Parameters
widget_class
class to set the accessible type for
type
The object type that implements the accessible for widget_class
gtk_widget_class_set_accessible_role ()
gtk_widget_class_set_accessible_role
void
gtk_widget_class_set_accessible_role (GtkWidgetClass *widget_class ,
AtkRole role );
Sets the default AtkRole to be set on accessibles created for
widgets of widget_class
. Accessibles may decide to not honor this
setting if their role reporting is more refined. Calls to
gtk_widget_class_set_accessible_type() will reset this value.
In cases where you want more fine-grained control over the role of
accessibles created for widget_class
, you should provide your own
accessible type and use gtk_widget_class_set_accessible_type()
instead.
If role
is ATK_ROLE_INVALID , the default role will not be changed
and the accessible’s default role will be used instead.
This function should only be called from class init functions of widgets.
Parameters
widget_class
class to set the accessible role for
role
The role to use for accessibles created for widget_class
gtk_widget_get_accessible ()
gtk_widget_get_accessible
AtkObject *
gtk_widget_get_accessible (GtkWidget *widget );
Returns the accessible object that describes the widget to an
assistive technology.
If accessibility support is not available, this AtkObject
instance may be a no-op. Likewise, if no class-specific AtkObject
implementation is available for the widget instance in question,
it will inherit an AtkObject implementation from the first ancestor
class for which such an implementation is defined.
The documentation of the
ATK
library contains more information about accessible objects and their uses.
Parameters
widget
a GtkWidget
Returns
the AtkObject associated with widget
.
[transfer none ]
gtk_widget_child_focus ()
gtk_widget_child_focus
gboolean
gtk_widget_child_focus (GtkWidget *widget ,
GtkDirectionType direction );
This function is used by custom widget implementations; if you're
writing an app, you’d use gtk_widget_grab_focus() to move the focus
to a particular widget.
gtk_widget_child_focus() is called by containers as the user moves
around the window using keyboard shortcuts. direction
indicates
what kind of motion is taking place (up, down, left, right, tab
forward, tab backward). gtk_widget_child_focus() emits the
“focus” signal; widgets override the default handler
for this signal in order to implement appropriate focus behavior.
The default ::focus handler for a widget should return TRUE if
moving in direction
left the focus on a focusable location inside
that widget, and FALSE if moving in direction
moved the focus
outside the widget. If returning TRUE , widgets normally
call gtk_widget_grab_focus() to place the focus accordingly;
if returning FALSE , they don’t modify the current focus location.
Parameters
widget
a GtkWidget
direction
direction of focus movement
Returns
TRUE if focus ended up inside widget
gtk_widget_get_child_visible ()
gtk_widget_get_child_visible
gboolean
gtk_widget_get_child_visible (GtkWidget *widget );
Gets the value set with gtk_widget_set_child_visible() .
If you feel a need to use this function, your code probably
needs reorganization.
This function is only useful for container implementations and
never should be called by an application.
Parameters
widget
a GtkWidget
Returns
TRUE if the widget is mapped with the parent.
gtk_widget_get_parent ()
gtk_widget_get_parent
GtkWidget *
gtk_widget_get_parent (GtkWidget *widget );
Returns the parent widget of widget
.
Parameters
widget
a GtkWidget
Returns
the parent widget of widget
, or NULL .
[transfer none ][nullable ]
gtk_widget_get_settings ()
gtk_widget_get_settings
GtkSettings *
gtk_widget_get_settings (GtkWidget *widget );
Gets the settings object holding the settings used for this widget.
Note that this function can only be called when the GtkWidget
is attached to a toplevel, since the settings object is specific
to a particular GdkDisplay . If you want to monitor the widget for
changes in its settings, connect to notify::display.
Parameters
widget
a GtkWidget
Returns
the relevant GtkSettings object.
[transfer none ]
gtk_widget_get_clipboard ()
gtk_widget_get_clipboard
GdkClipboard *
gtk_widget_get_clipboard (GtkWidget *widget );
This is a utility function to get the clipboard object for the
GdkDisplay that widget
is using.
Note that this function always works, even when widget
is not
realized yet.
Parameters
widget
a GtkWidget
Returns
the appropriate clipboard object.
[transfer none ]
gtk_widget_get_primary_clipboard ()
gtk_widget_get_primary_clipboard
GdkClipboard *
gtk_widget_get_primary_clipboard (GtkWidget *widget );
This is a utility function to get the primary clipboard object
for the GdkDisplay that widget
is using.
Note that this function always works, even when widget
is not
realized yet.
Parameters
widget
a GtkWidget
Returns
the appropriate clipboard object.
[transfer none ]
gtk_widget_get_display ()
gtk_widget_get_display
GdkDisplay *
gtk_widget_get_display (GtkWidget *widget );
Get the GdkDisplay for the toplevel window associated with
this widget. This function can only be called after the widget
has been added to a widget hierarchy with a GtkWindow at the top.
In general, you should only create display specific
resources when a widget has been realized, and you should
free those resources when the widget is unrealized.
Parameters
widget
a GtkWidget
Returns
the GdkDisplay for the toplevel for this widget.
[transfer none ]
gtk_widget_get_size_request ()
gtk_widget_get_size_request
void
gtk_widget_get_size_request (GtkWidget *widget ,
gint *width ,
gint *height );
Gets the size request that was explicitly set for the widget using
gtk_widget_set_size_request() . A value of -1 stored in width
or
height
indicates that that dimension has not been set explicitly
and the natural requisition of the widget will be used instead. See
gtk_widget_set_size_request() . To get the size a widget will
actually request, call gtk_widget_measure() instead of
this function.
Parameters
widget
a GtkWidget
width
return location for width, or NULL .
[out ][allow-none ]
height
return location for height, or NULL .
[out ][allow-none ]
gtk_widget_set_child_visible ()
gtk_widget_set_child_visible
void
gtk_widget_set_child_visible (GtkWidget *widget ,
gboolean child_visible );
Sets whether widget
should be mapped along with its when its parent
is mapped and widget
has been shown with gtk_widget_show() .
The child visibility can be set for widget before it is added to
a container with gtk_widget_set_parent() , to avoid mapping
children unnecessary before immediately unmapping them. However
it will be reset to its default state of TRUE when the widget
is removed from a container.
Note that changing the child visibility of a widget does not
queue a resize on the widget. Most of the time, the size of
a widget is computed from all visible children, whether or
not they are mapped. If this is not the case, the container
can queue a resize itself.
This function is only useful for container implementations and
never should be called by an application.
Parameters
widget
a GtkWidget
child_visible
if TRUE , widget
should be mapped along with its parent.
gtk_widget_set_size_request ()
gtk_widget_set_size_request
void
gtk_widget_set_size_request (GtkWidget *widget ,
gint width ,
gint height );
Sets the minimum size of a widget; that is, the widget’s size
request will be at least width
by height
. You can use this
function to force a widget to be larger than it normally would be.
In most cases, gtk_window_set_default_size() is a better choice for
toplevel windows than this function; setting the default size will
still allow users to shrink the window. Setting the size request
will force them to leave the window at least as large as the size
request. When dealing with window sizes,
gtk_window_set_geometry_hints() can be a useful function as well.
Note the inherent danger of setting any fixed size - themes,
translations into other languages, different fonts, and user action
can all change the appropriate size for a given widget. So, it's
basically impossible to hardcode a size that will always be
correct.
The size request of a widget is the smallest size a widget can
accept while still functioning well and drawing itself correctly.
However in some strange cases a widget may be allocated less than
its requested size, and in many cases a widget may be allocated more
space than it requested.
If the size request in a given direction is -1 (unset), then
the “natural” size request of the widget will be used instead.
The size request set here does not include any margin from the
GtkWidget properties margin-left, margin-right, margin-top, and
margin-bottom, but it does include pretty much all other padding
or border properties set by any subclass of GtkWidget .
Parameters
widget
a GtkWidget
width
width widget
should request, or -1 to unset
height
height widget
should request, or -1 to unset
gtk_widget_list_mnemonic_labels ()
gtk_widget_list_mnemonic_labels
GList *
gtk_widget_list_mnemonic_labels (GtkWidget *widget );
Returns a newly allocated list of the widgets, normally labels, for
which this widget is the target of a mnemonic (see for example,
gtk_label_set_mnemonic_widget() ).
The widgets in the list are not individually referenced. If you
want to iterate through the list and perform actions involving
callbacks that might destroy the widgets, you
must call g_list_foreach (result,
(GFunc)g_object_ref, NULL) first, and then unref all the
widgets afterwards.
Parameters
widget
a GtkWidget
Returns
the list of
mnemonic labels; free this list
with g_list_free() when you are done with it.
[element-type GtkWidget][transfer container ]
gtk_widget_add_mnemonic_label ()
gtk_widget_add_mnemonic_label
void
gtk_widget_add_mnemonic_label (GtkWidget *widget ,
GtkWidget *label );
Adds a widget to the list of mnemonic labels for
this widget. (See gtk_widget_list_mnemonic_labels() ). Note the
list of mnemonic labels for the widget is cleared when the
widget is destroyed, so the caller must make sure to update
its internal state at this point as well, by using a connection
to the “destroy” signal or a weak notifier.
Parameters
widget
a GtkWidget
label
a GtkWidget that acts as a mnemonic label for widget
gtk_widget_remove_mnemonic_label ()
gtk_widget_remove_mnemonic_label
void
gtk_widget_remove_mnemonic_label (GtkWidget *widget ,
GtkWidget *label );
Removes a widget from the list of mnemonic labels for
this widget. (See gtk_widget_list_mnemonic_labels() ). The widget
must have previously been added to the list with
gtk_widget_add_mnemonic_label() .
Parameters
widget
a GtkWidget
label
a GtkWidget that was previously set as a mnemonic label for
widget
with gtk_widget_add_mnemonic_label() .
gtk_widget_error_bell ()
gtk_widget_error_bell
void
gtk_widget_error_bell (GtkWidget *widget );
Notifies the user about an input-related error on this widget.
If the “gtk-error-bell” setting is TRUE , it calls
gdk_surface_beep() , otherwise it does nothing.
Note that the effect of gdk_surface_beep() can be configured in many
ways, depending on the windowing backend and the desktop environment
or window manager that is used.
Parameters
widget
a GtkWidget
gtk_widget_keynav_failed ()
gtk_widget_keynav_failed
gboolean
gtk_widget_keynav_failed (GtkWidget *widget ,
GtkDirectionType direction );
This function should be called whenever keyboard navigation within
a single widget hits a boundary. The function emits the
“keynav-failed” signal on the widget and its return
value should be interpreted in a way similar to the return value of
gtk_widget_child_focus() :
When TRUE is returned, stay in the widget, the failed keyboard
navigation is OK and/or there is nowhere we can/should move the
focus to.
When FALSE is returned, the caller should continue with keyboard
navigation outside the widget, e.g. by calling
gtk_widget_child_focus() on the widget’s toplevel.
The default ::keynav-failed handler returns FALSE for
GTK_DIR_TAB_FORWARD and GTK_DIR_TAB_BACKWARD . For the other
values of GtkDirectionType it returns TRUE .
Whenever the default handler returns TRUE , it also calls
gtk_widget_error_bell() to notify the user of the failed keyboard
navigation.
A use case for providing an own implementation of ::keynav-failed
(either by connecting to it or by overriding it) would be a row of
GtkEntry widgets where the user should be able to navigate the
entire row with the cursor keys, as e.g. known from user interfaces
that require entering license keys.
Parameters
widget
a GtkWidget
direction
direction of focus movement
Returns
TRUE if stopping keyboard navigation is fine, FALSE
if the emitting widget should try to handle the keyboard
navigation attempt in its parent container(s).
gtk_widget_get_tooltip_markup ()
gtk_widget_get_tooltip_markup
gchar *
gtk_widget_get_tooltip_markup (GtkWidget *widget );
Gets the contents of the tooltip for widget
.
Parameters
widget
a GtkWidget
Returns
the tooltip text, or NULL . You should free the
returned string with g_free() when done.
[nullable ]
gtk_widget_set_tooltip_markup ()
gtk_widget_set_tooltip_markup
void
gtk_widget_set_tooltip_markup (GtkWidget *widget ,
const gchar *markup );
Sets markup
as the contents of the tooltip, which is marked up with
the Pango text markup language.
This function will take care of setting “has-tooltip” to TRUE
and of the default handler for the “query-tooltip” signal.
See also the “tooltip-markup” property and
gtk_tooltip_set_markup() .
Parameters
widget
a GtkWidget
markup
the contents of the tooltip for widget
, or NULL .
[allow-none ]
gtk_widget_get_tooltip_text ()
gtk_widget_get_tooltip_text
gchar *
gtk_widget_get_tooltip_text (GtkWidget *widget );
Gets the contents of the tooltip for widget
.
Parameters
widget
a GtkWidget
Returns
the tooltip text, or NULL . You should free the
returned string with g_free() when done.
[nullable ]
gtk_widget_set_tooltip_text ()
gtk_widget_set_tooltip_text
void
gtk_widget_set_tooltip_text (GtkWidget *widget ,
const gchar *text );
Sets text
as the contents of the tooltip. This function will take
care of setting “has-tooltip” to TRUE and of the default
handler for the “query-tooltip” signal.
See also the “tooltip-text” property and gtk_tooltip_set_text() .
Parameters
widget
a GtkWidget
text
the contents of the tooltip for widget
.
[allow-none ]
gtk_widget_get_has_tooltip ()
gtk_widget_get_has_tooltip
gboolean
gtk_widget_get_has_tooltip (GtkWidget *widget );
Returns the current value of the has-tooltip property. See
“has-tooltip” for more information.
Parameters
widget
a GtkWidget
Returns
current value of has-tooltip on widget
.
gtk_widget_set_has_tooltip ()
gtk_widget_set_has_tooltip
void
gtk_widget_set_has_tooltip (GtkWidget *widget ,
gboolean has_tooltip );
Sets the has-tooltip property on widget
to has_tooltip
. See
“has-tooltip” for more information.
Parameters
widget
a GtkWidget
has_tooltip
whether or not widget
has a tooltip.
gtk_widget_trigger_tooltip_query ()
gtk_widget_trigger_tooltip_query
void
gtk_widget_trigger_tooltip_query (GtkWidget *widget );
Triggers a tooltip query on the display where the toplevel of widget
is located. See gtk_tooltip_trigger_tooltip_query() for more
information.
Parameters
widget
a GtkWidget
gtk_widget_get_allocated_width ()
gtk_widget_get_allocated_width
int
gtk_widget_get_allocated_width (GtkWidget *widget );
Returns the width that has currently been allocated to widget
.
Parameters
widget
the widget to query
Returns
the width of the widget
gtk_widget_get_allocated_height ()
gtk_widget_get_allocated_height
int
gtk_widget_get_allocated_height (GtkWidget *widget );
Returns the height that has currently been allocated to widget
.
Parameters
widget
the widget to query
Returns
the height of the widget
gtk_widget_get_allocation ()
gtk_widget_get_allocation
void
gtk_widget_get_allocation (GtkWidget *widget ,
GtkAllocation *allocation );
Retrieves the widget’s allocation.
Note, when implementing a GtkContainer : a widget’s allocation will
be its “adjusted” allocation, that is, the widget’s parent
container typically calls gtk_widget_size_allocate() with an
allocation, and that allocation is then adjusted (to handle margin
and alignment for example) before assignment to the widget.
gtk_widget_get_allocation() returns the adjusted allocation that
was actually assigned to the widget. The adjusted allocation is
guaranteed to be completely contained within the
gtk_widget_size_allocate() allocation, however. So a GtkContainer
is guaranteed that its children stay inside the assigned bounds,
but not that they have exactly the bounds the container assigned.
Parameters
widget
a GtkWidget
allocation
a pointer to a GtkAllocation to copy to.
[out ]
gtk_widget_get_allocated_baseline ()
gtk_widget_get_allocated_baseline
int
gtk_widget_get_allocated_baseline (GtkWidget *widget );
Returns the baseline that has currently been allocated to widget
.
This function is intended to be used when implementing handlers
for the “snapshot” function, and when allocating child
widgets in “size_allocate” .
Parameters
widget
the widget to query
Returns
the baseline of the widget
, or -1 if none
gtk_widget_get_width ()
gtk_widget_get_width
int
gtk_widget_get_width (GtkWidget *widget );
Returns the content width of the widget, as passed to its size-allocate implementation.
This is the size you should be using in GtkWidgetClass.snapshot(). For pointer
events, see gtk_widget_contains() .
Parameters
widget
a GtkWidget
Returns
The width of widget
gtk_widget_get_height ()
gtk_widget_get_height
int
gtk_widget_get_height (GtkWidget *widget );
Returns the content height of the widget, as passed to its size-allocate implementation.
This is the size you should be using in GtkWidgetClass.snapshot(). For pointer
events, see gtk_widget_contains() .
Parameters
widget
a GtkWidget
Returns
The height of widget
gtk_widget_compute_bounds ()
gtk_widget_compute_bounds
gboolean
gtk_widget_compute_bounds (GtkWidget *widget ,
GtkWidget *target ,
graphene_rect_t *out_bounds );
Computes the bounds for widget
in the coordinate space of target
.
FIXME: Explain what "bounds" are.
If the operation is successful, TRUE is returned. If widget
has no
bounds or the bounds cannot be expressed in target
's coordinate space
(for example if both widgets are in different windows), FALSE is
returned and bounds
is set to the zero rectangle.
It is valid for widget
and target
to be the same widget.
Parameters
widget
the GtkWidget to query
target
the GtkWidget
out_bounds
the rectangle taking the bounds.
[out caller-allocates ]
Returns
TRUE if the bounds could be computed
gtk_widget_compute_transform ()
gtk_widget_compute_transform
gboolean
gtk_widget_compute_transform (GtkWidget *widget ,
GtkWidget *target ,
graphene_matrix_t *out_transform );
Computes a matrix suitable to describe a transformation from
widget
's coordinate system into target
's coordinate system.
Parameters
widget
a GtkWidget
target
the target widget that the matrix will transform to
out_transform
location to
store the final transformation.
[out caller-allocates ]
Returns
TRUE if the transform could be computed, FALSE otherwise.
The transform can not be computed in certain cases, for example when
widget
and target
do not share a common ancestor. In that
case out_transform
gets set to the identity matrix.
gtk_widget_compute_point ()
gtk_widget_compute_point
gboolean
gtk_widget_compute_point (GtkWidget *widget ,
GtkWidget *target ,
const graphene_point_t *point ,
graphene_point_t *out_point );
Translates the given point
in widget
's coordinates to coordinates
relative to target
’s coodinate system. In order to perform this
operation, both widgets must share a common root.
Parameters
widget
the GtkWidget to query
target
the GtkWidget to transform into
point
a point in widget
's coordinate system
out_point
Set to the corresponding coordinates in
target
's coordinate system.
[out caller-allocates ]
Returns
TRUE if the point could be determined, FALSE on failure.
In this case, 0 is stored in out_point
.
gtk_widget_contains ()
gtk_widget_contains
gboolean
gtk_widget_contains (GtkWidget *widget ,
gdouble x ,
gdouble y );
Tests if the point at (x
, y
) is contained in widget
.
The coordinates for (x
, y
) must be in widget coordinates, so
(0, 0) is assumed to be the top left of widget
's content area.
Parameters
widget
the widget to query
x
X coordinate to test, relative to widget
's origin
y
Y coordinate to test, relative to widget
's origin
Returns
TRUE if widget
contains (x
, y
).
gtk_widget_pick ()
gtk_widget_pick
GtkWidget *
gtk_widget_pick (GtkWidget *widget ,
gdouble x ,
gdouble y ,
GtkPickFlags flags );
Finds the descendant of widget
(including widget
itself) closest
to the screen at the point (x
, y
). The point must be given in
widget coordinates, so (0, 0) is assumed to be the top left of
widget
's content area.
Usually widgets will return NULL if the given coordinate is not
contained in widget
checked via gtk_widget_contains() . Otherwise
they will recursively try to find a child that does not return NULL .
Widgets are however free to customize their picking algorithm.
This function is used on the toplevel to determine the widget below
the mouse cursor for purposes of hover hilighting and delivering events.
Parameters
widget
the widget to query
x
X coordinate to test, relative to widget
's origin
y
Y coordinate to test, relative to widget
's origin
flags
Flags to influence what is picked
Returns
The widget descendant at the given
coordinate or NULL if none.
[nullable ][transfer none ]
gtk_widget_get_can_focus ()
gtk_widget_get_can_focus
gboolean
gtk_widget_get_can_focus (GtkWidget *widget );
Determines whether widget
can own the input focus. See
gtk_widget_set_can_focus() .
Parameters
widget
a GtkWidget
Returns
TRUE if widget
can own the input focus, FALSE otherwise
gtk_widget_set_can_focus ()
gtk_widget_set_can_focus
void
gtk_widget_set_can_focus (GtkWidget *widget ,
gboolean can_focus );
Specifies whether widget
can own the input focus.
Note that having can_focus
be TRUE is only one of the
necessary conditions for being focusable. A widget must
also be sensitive and not have an ancestor that is marked
as not child-focusable in order to receive input focus.
See gtk_widget_grab_focus() for actually setting the input
focus on a widget.
Parameters
widget
a GtkWidget
can_focus
whether or not widget
can own the input focus.
gtk_widget_get_focus_on_click ()
gtk_widget_get_focus_on_click
gboolean
gtk_widget_get_focus_on_click (GtkWidget *widget );
Returns whether the widget should grab focus when it is clicked with the mouse.
See gtk_widget_set_focus_on_click() .
Parameters
widget
a GtkWidget
Returns
TRUE if the widget should grab focus when it is clicked with
the mouse.
gtk_widget_set_focus_on_click ()
gtk_widget_set_focus_on_click
void
gtk_widget_set_focus_on_click (GtkWidget *widget ,
gboolean focus_on_click );
Sets whether the widget should grab focus when it is clicked with the mouse.
Making mouse clicks not grab focus is useful in places like toolbars where
you don’t want the keyboard focus removed from the main area of the
application.
Parameters
widget
a GtkWidget
focus_on_click
whether the widget should grab focus when clicked with the mouse
gtk_widget_set_focus_child ()
gtk_widget_set_focus_child
void
gtk_widget_set_focus_child (GtkWidget *widget ,
GtkWidget *child );
Set child
as the current focus child of widget
. The previous
focus child will be unset.
This function is only suitable for widget implementations.
If you want a certain widget to get the input focus, call
gtk_widget_grab_focus() on it.
Parameters
widget
a GtkWidget
child
a direct child widget of widget
or NULL
to unset the focus child of widget
.
[nullable ]
gtk_widget_get_can_target ()
gtk_widget_get_can_target
gboolean
gtk_widget_get_can_target (GtkWidget *widget );
Queries whether widget
can be the target of pointer events.
Parameters
widget
a GtkWidget
Returns
TRUE if widget
can receive pointer events
gtk_widget_set_can_target ()
gtk_widget_set_can_target
void
gtk_widget_set_can_target (GtkWidget *widget ,
gboolean can_target );
Sets whether widget
can be the target of pointer events.
Parameters
widget
a GtkWidget
can_target
whether this widget should be able to receive pointer events
gtk_widget_get_sensitive ()
gtk_widget_get_sensitive
gboolean
gtk_widget_get_sensitive (GtkWidget *widget );
Returns the widget’s sensitivity (in the sense of returning
the value that has been set using gtk_widget_set_sensitive() ).
The effective sensitivity of a widget is however determined by both its
own and its parent widget’s sensitivity. See gtk_widget_is_sensitive() .
Parameters
widget
a GtkWidget
Returns
TRUE if the widget is sensitive
gtk_widget_is_sensitive ()
gtk_widget_is_sensitive
gboolean
gtk_widget_is_sensitive (GtkWidget *widget );
Returns the widget’s effective sensitivity, which means
it is sensitive itself and also its parent widget is sensitive
Parameters
widget
a GtkWidget
Returns
TRUE if the widget is effectively sensitive
gtk_widget_get_visible ()
gtk_widget_get_visible
gboolean
gtk_widget_get_visible (GtkWidget *widget );
Determines whether the widget is visible. If you want to
take into account whether the widget’s parent is also marked as
visible, use gtk_widget_is_visible() instead.
This function does not check if the widget is obscured in any way.
See gtk_widget_set_visible() .
Parameters
widget
a GtkWidget
Returns
TRUE if the widget is visible
gtk_widget_is_visible ()
gtk_widget_is_visible
gboolean
gtk_widget_is_visible (GtkWidget *widget );
Determines whether the widget and all its parents are marked as
visible.
This function does not check if the widget is obscured in any way.
See also gtk_widget_get_visible() and gtk_widget_set_visible()
Parameters
widget
a GtkWidget
Returns
TRUE if the widget and all its parents are visible
gtk_widget_set_visible ()
gtk_widget_set_visible
void
gtk_widget_set_visible (GtkWidget *widget ,
gboolean visible );
Sets the visibility state of widget
. Note that setting this to
TRUE doesn’t mean the widget is actually viewable, see
gtk_widget_get_visible() .
This function simply calls gtk_widget_show() or gtk_widget_hide()
but is nicer to use when the visibility of the widget depends on
some condition.
Parameters
widget
a GtkWidget
visible
whether the widget should be shown or not
gtk_widget_set_state_flags ()
gtk_widget_set_state_flags
void
gtk_widget_set_state_flags (GtkWidget *widget ,
GtkStateFlags flags ,
gboolean clear );
This function is for use in widget implementations. Turns on flag
values in the current widget state (insensitive, prelighted, etc.).
This function accepts the values GTK_STATE_FLAG_DIR_LTR and
GTK_STATE_FLAG_DIR_RTL but ignores them. If you want to set the widget's
direction, use gtk_widget_set_direction() .
It is worth mentioning that any other state than GTK_STATE_FLAG_INSENSITIVE ,
will be propagated down to all non-internal children if widget
is a
GtkContainer , while GTK_STATE_FLAG_INSENSITIVE itself will be propagated
down to all GtkContainer children by different means than turning on the
state flag down the hierarchy, both gtk_widget_get_state_flags() and
gtk_widget_is_sensitive() will make use of these.
Parameters
widget
a GtkWidget
flags
State flags to turn on
clear
Whether to clear state before turning on flags
gtk_widget_unset_state_flags ()
gtk_widget_unset_state_flags
void
gtk_widget_unset_state_flags (GtkWidget *widget ,
GtkStateFlags flags );
This function is for use in widget implementations. Turns off flag
values for the current widget state (insensitive, prelighted, etc.).
See gtk_widget_set_state_flags() .
Parameters
widget
a GtkWidget
flags
State flags to turn off
gtk_widget_get_state_flags ()
gtk_widget_get_state_flags
GtkStateFlags
gtk_widget_get_state_flags (GtkWidget *widget );
Returns the widget state as a flag set. It is worth mentioning
that the effective GTK_STATE_FLAG_INSENSITIVE state will be
returned, that is, also based on parent insensitivity, even if
widget
itself is sensitive.
Also note that if you are looking for a way to obtain the
GtkStateFlags to pass to a GtkStyleContext method, you
should look at gtk_style_context_get_state() .
Parameters
widget
a GtkWidget
Returns
The state flags for widget
gtk_widget_has_default ()
gtk_widget_has_default
gboolean
gtk_widget_has_default (GtkWidget *widget );
Determines whether widget
is the current default widget within its
toplevel.
Parameters
widget
a GtkWidget
Returns
TRUE if widget
is the current default widget within
its toplevel, FALSE otherwise
gtk_widget_has_focus ()
gtk_widget_has_focus
gboolean
gtk_widget_has_focus (GtkWidget *widget );
Determines if the widget has the global input focus. See
gtk_widget_is_focus() for the difference between having the global
input focus, and only having the focus within a toplevel.
Parameters
widget
a GtkWidget
Returns
TRUE if the widget has the global input focus.
gtk_widget_has_visible_focus ()
gtk_widget_has_visible_focus
gboolean
gtk_widget_has_visible_focus (GtkWidget *widget );
Determines if the widget should show a visible indication that
it has the global input focus. This is a convenience function for
use in ::draw handlers that takes into account whether focus
indication should currently be shown in the toplevel window of
widget
. See gtk_window_get_focus_visible() for more information
about focus indication.
To find out if the widget has the global input focus, use
gtk_widget_has_focus() .
Parameters
widget
a GtkWidget
Returns
TRUE if the widget should display a “focus rectangle”
gtk_widget_has_grab ()
gtk_widget_has_grab
gboolean
gtk_widget_has_grab (GtkWidget *widget );
Determines whether the widget is currently grabbing events, so it
is the only widget receiving input events (keyboard and mouse).
See also gtk_grab_add() .
Parameters
widget
a GtkWidget
Returns
TRUE if the widget is in the grab_widgets stack
gtk_widget_is_drawable ()
gtk_widget_is_drawable
gboolean
gtk_widget_is_drawable (GtkWidget *widget );
Determines whether widget
can be drawn to. A widget can be drawn
if it is mapped and visible.
Parameters
widget
a GtkWidget
Returns
TRUE if widget
is drawable, FALSE otherwise
gtk_widget_set_receives_default ()
gtk_widget_set_receives_default
void
gtk_widget_set_receives_default (GtkWidget *widget ,
gboolean receives_default );
Specifies whether widget
will be treated as the default
widget within its toplevel when it has the focus, even if
another widget is the default.
Parameters
widget
a GtkWidget
receives_default
whether or not widget
can be a default widget.
gtk_widget_get_receives_default ()
gtk_widget_get_receives_default
gboolean
gtk_widget_get_receives_default (GtkWidget *widget );
Determines whether widget
is always treated as the default widget
within its toplevel when it has the focus, even if another widget
is the default.
See gtk_widget_set_receives_default() .
Parameters
widget
a GtkWidget
Returns
TRUE if widget
acts as the default widget when focused,
FALSE otherwise
gtk_widget_set_support_multidevice ()
gtk_widget_set_support_multidevice
void
gtk_widget_set_support_multidevice (GtkWidget *widget ,
gboolean support_multidevice );
Enables or disables multiple pointer awareness. If this setting is TRUE ,
widget
will start receiving multiple, per device enter/leave events. Note
that if custom GdkSurfaces are created in “realize” ,
gdk_surface_set_support_multidevice() will have to be called manually on them.
Parameters
widget
a GtkWidget
support_multidevice
TRUE to support input from multiple devices.
gtk_widget_get_support_multidevice ()
gtk_widget_get_support_multidevice
gboolean
gtk_widget_get_support_multidevice (GtkWidget *widget );
Returns TRUE if widget
is multiple pointer aware. See
gtk_widget_set_support_multidevice() for more information.
Parameters
widget
a GtkWidget
Returns
TRUE if widget
is multidevice aware.
gtk_widget_get_realized ()
gtk_widget_get_realized
gboolean
gtk_widget_get_realized (GtkWidget *widget );
Determines whether widget
is realized.
Parameters
widget
a GtkWidget
Returns
TRUE if widget
is realized, FALSE otherwise
gtk_widget_get_mapped ()
gtk_widget_get_mapped
gboolean
gtk_widget_get_mapped (GtkWidget *widget );
Whether the widget is mapped.
Parameters
widget
a GtkWidget
Returns
TRUE if the widget is mapped, FALSE otherwise.
gtk_widget_device_is_shadowed ()
gtk_widget_device_is_shadowed
gboolean
gtk_widget_device_is_shadowed (GtkWidget *widget ,
GdkDevice *device );
Returns TRUE if device
has been shadowed by a GTK+
device grab on another widget, so it would stop sending
events to widget
. This may be used in the
“grab-notify” signal to check for specific
devices. See gtk_device_grab_add() .
Parameters
widget
a GtkWidget
device
a GdkDevice
Returns
TRUE if there is an ongoing grab on device
by another GtkWidget than widget
.
gtk_widget_get_modifier_mask ()
gtk_widget_get_modifier_mask
GdkModifierType
gtk_widget_get_modifier_mask (GtkWidget *widget ,
GdkModifierIntent intent );
Returns the modifier mask the widget
’s windowing system backend
uses for a particular purpose.
See gdk_keymap_get_modifier_mask() .
Parameters
widget
a GtkWidget
intent
the use case for the modifier mask
Returns
the modifier mask used for intent
.
gtk_widget_get_opacity ()
gtk_widget_get_opacity
double
gtk_widget_get_opacity (GtkWidget *widget );
Fetches the requested opacity for this widget.
See gtk_widget_set_opacity() .
Parameters
widget
a GtkWidget
Returns
the requested opacity for this widget.
gtk_widget_set_opacity ()
gtk_widget_set_opacity
void
gtk_widget_set_opacity (GtkWidget *widget ,
double opacity );
Request the widget
to be rendered partially transparent,
with opacity 0 being fully transparent and 1 fully opaque. (Opacity values
are clamped to the [0,1] range.).
This works on both toplevel widget, and child widgets, although there
are some limitations:
For toplevel widgets this depends on the capabilities of the windowing
system. On X11 this has any effect only on X displays with a compositing manager
running. See gdk_display_is_composited() . On Windows it should work
always, although setting a window’s opacity after the window has been
shown causes it to flicker once on Windows.
For child widgets it doesn’t work if any affected widget has a native window.
Parameters
widget
a GtkWidget
opacity
desired opacity, between 0 and 1
gtk_widget_get_overflow ()
gtk_widget_get_overflow
GtkOverflow
gtk_widget_get_overflow (GtkWidget *widget );
Returns the value set via gtk_widget_set_overflow() .
Parameters
widget
a GtkWidget
Returns
The widget's overflow.
gtk_widget_set_overflow ()
gtk_widget_set_overflow
void
gtk_widget_set_overflow (GtkWidget *widget ,
GtkOverflow overflow );
Sets how widget
treats content that is drawn outside the widget's content area.
See the definition of GtkOverflow for details.
This setting is provided for widget implementations and should not be used by
application code.
The default value is GTK_OVERFLOW_VISIBLE .
Parameters
widget
a GtkWidget
overflow
desired overflow
gtk_widget_measure ()
gtk_widget_measure
void
gtk_widget_measure (GtkWidget *widget ,
GtkOrientation orientation ,
int for_size ,
int *minimum ,
int *natural ,
int *minimum_baseline ,
int *natural_baseline );
Measures widget
in the orientation orientation
and for the given for_size
.
As an example, if orientation
is GTK_ORIENTATION_HORIZONTAL and for_size
is 300,
this functions will compute the minimum and natural width of widget
if
it is allocated at a height of 300 pixels.
See GtkWidget’s geometry management section for
a more details on implementing GtkWidgetClass.measure() .
Parameters
widget
A GtkWidget instance
orientation
the orientation to measure
for_size
Size for the opposite of orientation
, i.e.
if orientation
is GTK_ORIENTATION_HORIZONTAL , this is
the height the widget should be measured with. The GTK_ORIENTATION_VERTICAL
case is analogous. This way, both height-for-width and width-for-height
requests can be implemented. If no size is known, -1 can be passed.
minimum
location to store the minimum size, or NULL .
[out ][optional ]
natural
location to store the natural size, or NULL .
[out ][optional ]
minimum_baseline
location to store the baseline
position for the minimum size, or NULL .
[out ][optional ]
natural_baseline
location to store the baseline
position for the natural size, or NULL .
[out ][optional ]
gtk_widget_snapshot_child ()
gtk_widget_snapshot_child
void
gtk_widget_snapshot_child (GtkWidget *widget ,
GtkWidget *child ,
GtkSnapshot *snapshot );
When a widget receives a call to the snapshot function, it must send
synthetic “snapshot” calls to all children. This function
provides a convenient way of doing this. A widget, when it receives
a call to its “snapshot” function, calls
gtk_widget_snapshot_child() once for each child, passing in
the snapshot
the widget received.
gtk_widget_snapshot_child() takes care of translating the origin of
snapshot
, and deciding whether the child needs to be snapshot.
This function does nothing for children that implement GtkNative .
Parameters
widget
a GtkWidget
child
a child of widget
snapshot
GtkSnapshot as passed to the widget. In particular, no
calls to gtk_snapshot_translate() or other transform calls should
have been made.
gtk_widget_get_next_sibling ()
gtk_widget_get_next_sibling
GtkWidget *
gtk_widget_get_next_sibling (GtkWidget *widget );
Parameters
widget
a GtkWidget
Returns
The widget's next sibling.
[transfer none ][nullable ]
gtk_widget_get_prev_sibling ()
gtk_widget_get_prev_sibling
GtkWidget *
gtk_widget_get_prev_sibling (GtkWidget *widget );
Parameters
widget
a GtkWidget
Returns
The widget's previous sibling.
[transfer none ][nullable ]
gtk_widget_get_first_child ()
gtk_widget_get_first_child
GtkWidget *
gtk_widget_get_first_child (GtkWidget *widget );
Parameters
widget
a GtkWidget
Returns
The widget's first child.
[transfer none ][nullable ]
gtk_widget_get_last_child ()
gtk_widget_get_last_child
GtkWidget *
gtk_widget_get_last_child (GtkWidget *widget );
Parameters
widget
a GtkWidget
Returns
The widget's last child.
[transfer none ][nullable ]
gtk_widget_insert_before ()
gtk_widget_insert_before
void
gtk_widget_insert_before (GtkWidget *widget ,
GtkWidget *parent ,
GtkWidget *next_sibling );
Inserts widget
into the child widget list of parent
.
It will be placed before next_sibling
, or at the end if next_sibling
is NULL .
After calling this function, gtk_widget_get_next_sibling(widget) will return next_sibling
.
If parent
is already set as the parent widget of widget
, this function can also be used
to reorder widget
in the child widget list of parent
.
Parameters
widget
a GtkWidget
parent
the parent GtkWidget to insert widget
into
next_sibling
the new next sibling of widget
or NULL .
[nullable ]
gtk_widget_insert_after ()
gtk_widget_insert_after
void
gtk_widget_insert_after (GtkWidget *widget ,
GtkWidget *parent ,
GtkWidget *previous_sibling );
Inserts widget
into the child widget list of parent
.
It will be placed after previous_sibling
, or at the beginning if previous_sibling
is NULL .
After calling this function, gtk_widget_get_prev_sibling(widget) will return previous_sibling
.
If parent
is already set as the parent widget of widget
, this function can also be used
to reorder widget
in the child widget list of parent
.
Parameters
widget
a GtkWidget
parent
the parent GtkWidget to insert widget
into
previous_sibling
the new previous sibling of widget
or NULL .
[nullable ]
gtk_widget_set_layout_manager ()
gtk_widget_set_layout_manager
void
gtk_widget_set_layout_manager (GtkWidget *widget ,
GtkLayoutManager *layout_manager );
Sets the layout manager delegate instance that provides an implementation
for measuring and allocating the children of widget
.
Parameters
widget
a GtkWidget
layout_manager
a GtkLayoutManager .
[nullable ][transfer full ]
gtk_widget_get_layout_manager ()
gtk_widget_get_layout_manager
GtkLayoutManager *
gtk_widget_get_layout_manager (GtkWidget *widget );
Retrieves the layout manager set using gtk_widget_set_layout_manager() .
Parameters
widget
a GtkWidget
Returns
a GtkLayoutManager .
[transfer none ][nullable ]
gtk_widget_should_layout ()
gtk_widget_should_layout
gboolean
gtk_widget_should_layout (GtkWidget *widget );
Returns whether widget
should contribute to
the measuring and allocation of its parent.
This is FALSE for invisible children, but also
for children that have their own surface.
Parameters
widget
a widget
Returns
TRUE if child should be included in
measuring and allocating
gtk_widget_add_css_class ()
gtk_widget_add_css_class
void
gtk_widget_add_css_class (GtkWidget *widget ,
const char *css_class );
Adds css_class
to widget
. After calling this function, widget
's
style will match for css_class
, after the CSS matching rules.
Parameters
widget
a GtkWidget
css_class
The style class to add to widget
, without
the leading '.' used for notation of style classes
gtk_widget_remove_css_class ()
gtk_widget_remove_css_class
void
gtk_widget_remove_css_class (GtkWidget *widget ,
const char *css_class );
Removes css_class
from widget
. After this, the style of widget
will stop matching for css_class
.
Parameters
widget
a GtkWidget
css_class
The style class to remove from widget
, without
the leading '.' used for notation of style classes
gtk_widget_has_css_class ()
gtk_widget_has_css_class
gboolean
gtk_widget_has_css_class (GtkWidget *widget ,
const char *css_class );
Returns whether css_class
is currently applied to widget
.
Parameters
widget
a GtkWidget
css_class
A CSS style class, without the leading '.'
used for notation of style classes
Returns
TRUE if css_class
is currently applied to widget
,
FALSE otherwise.
gtk_widget_get_style_context ()
gtk_widget_get_style_context
GtkStyleContext *
gtk_widget_get_style_context (GtkWidget *widget );
Returns the style context associated to widget
. The returned object is
guaranteed to be the same for the lifetime of widget
.
Parameters
widget
a GtkWidget
Returns
a GtkStyleContext . This memory is owned by widget
and
must not be freed.
[transfer none ]
gtk_widget_reset_style ()
gtk_widget_reset_style
void
gtk_widget_reset_style (GtkWidget *widget );
Updates the style context of widget
and all descendants
by updating its widget path. GtkContainers may want
to use this on a child when reordering it in a way that a different
style might apply to it.
Parameters
widget
a GtkWidget
gtk_widget_class_get_css_name ()
gtk_widget_class_get_css_name
const char *
gtk_widget_class_get_css_name (GtkWidgetClass *widget_class );
Gets the name used by this class for matching in CSS code. See
gtk_widget_class_set_css_name() for details.
Parameters
widget_class
class to set the name on
Returns
the CSS name of the given class
gtk_widget_class_set_css_name ()
gtk_widget_class_set_css_name
void
gtk_widget_class_set_css_name (GtkWidgetClass *widget_class ,
const char *name );
Sets the name to be used for CSS matching of widgets.
If this function is not called for a given class, the name
of the parent class is used.
Parameters
widget_class
class to set the name on
name
name to use
gtk_requisition_new ()
gtk_requisition_new
GtkRequisition *
gtk_requisition_new (void );
Allocates a new GtkRequisition and initializes its elements to zero.
Returns
a new empty GtkRequisition . The newly allocated GtkRequisition should
be freed with gtk_requisition_free() .
gtk_requisition_copy ()
gtk_requisition_copy
GtkRequisition *
gtk_requisition_copy (const GtkRequisition *requisition );
Copies a GtkRequisition .
Parameters
requisition
a GtkRequisition
Returns
a copy of requisition
gtk_requisition_free ()
gtk_requisition_free
void
gtk_requisition_free (GtkRequisition *requisition );
Frees a GtkRequisition .
Parameters
requisition
a GtkRequisition
gtk_widget_get_request_mode ()
gtk_widget_get_request_mode
GtkSizeRequestMode
gtk_widget_get_request_mode (GtkWidget *widget );
Gets whether the widget prefers a height-for-width layout
or a width-for-height layout.
GtkBin widgets generally propagate the preference of
their child, container widgets need to request something either in
context of their children or in context of their allocation
capabilities.
Parameters
widget
a GtkWidget instance
Returns
The GtkSizeRequestMode preferred by widget
.
gtk_widget_get_preferred_size ()
gtk_widget_get_preferred_size
void
gtk_widget_get_preferred_size (GtkWidget *widget ,
GtkRequisition *minimum_size ,
GtkRequisition *natural_size );
Retrieves the minimum and natural size of a widget, taking
into account the widget’s preference for height-for-width management.
This is used to retrieve a suitable size by container widgets which do
not impose any restrictions on the child placement. It can be used
to deduce toplevel window and menu sizes as well as child widgets in
free-form containers such as GtkLayout.
Handle with care. Note that the natural height of a height-for-width
widget will generally be a smaller size than the minimum height, since the required
height for the natural width is generally smaller than the required height for
the minimum width.
Use gtk_widget_measure() if you want to support
baseline alignment.
Parameters
widget
a GtkWidget instance
minimum_size
location for storing the minimum size, or NULL .
[out ][allow-none ]
natural_size
location for storing the natural size, or NULL .
[out ][allow-none ]
gtk_distribute_natural_allocation ()
gtk_distribute_natural_allocation
gint
gtk_distribute_natural_allocation (gint extra_space ,
guint n_requested_sizes ,
GtkRequestedSize *sizes );
Distributes extra_space
to child sizes
by bringing smaller
children up to natural size first.
The remaining space will be added to the minimum_size
member of the
GtkRequestedSize struct. If all sizes reach their natural size then
the remaining space is returned.
Parameters
extra_space
Extra space to redistribute among children after subtracting
minimum sizes and any child padding from the overall allocation
n_requested_sizes
Number of requests to fit into the allocation
sizes
An array of structs with a client pointer and a minimum/natural size
in the orientation of the allocation.
Returns
The remainder of extra_space
after redistributing space
to sizes
.
gtk_widget_get_halign ()
gtk_widget_get_halign
GtkAlign
gtk_widget_get_halign (GtkWidget *widget );
Gets the value of the “halign” property.
For backwards compatibility reasons this method will never return
GTK_ALIGN_BASELINE , but instead it will convert it to
GTK_ALIGN_FILL . Baselines are not supported for horizontal
alignment.
Parameters
widget
a GtkWidget
Returns
the horizontal alignment of widget
gtk_widget_set_halign ()
gtk_widget_set_halign
void
gtk_widget_set_halign (GtkWidget *widget ,
GtkAlign align );
Sets the horizontal alignment of widget
.
See the “halign” property.
Parameters
widget
a GtkWidget
align
the horizontal alignment
gtk_widget_get_valign ()
gtk_widget_get_valign
GtkAlign
gtk_widget_get_valign (GtkWidget *widget );
Gets the value of the “valign” property.
Parameters
widget
a GtkWidget
Returns
the vertical alignment of widget
gtk_widget_set_valign ()
gtk_widget_set_valign
void
gtk_widget_set_valign (GtkWidget *widget ,
GtkAlign align );
Sets the vertical alignment of widget
.
See the “valign” property.
Parameters
widget
a GtkWidget
align
the vertical alignment
gtk_widget_get_margin_start ()
gtk_widget_get_margin_start
gint
gtk_widget_get_margin_start (GtkWidget *widget );
Gets the value of the “margin-start” property.
Parameters
widget
a GtkWidget
Returns
The start margin of widget
gtk_widget_set_margin_start ()
gtk_widget_set_margin_start
void
gtk_widget_set_margin_start (GtkWidget *widget ,
gint margin );
Sets the start margin of widget
.
See the “margin-start” property.
Parameters
widget
a GtkWidget
margin
the start margin
gtk_widget_get_margin_end ()
gtk_widget_get_margin_end
gint
gtk_widget_get_margin_end (GtkWidget *widget );
Gets the value of the “margin-end” property.
Parameters
widget
a GtkWidget
Returns
The end margin of widget
gtk_widget_set_margin_end ()
gtk_widget_set_margin_end
void
gtk_widget_set_margin_end (GtkWidget *widget ,
gint margin );
Sets the end margin of widget
.
See the “margin-end” property.
Parameters
widget
a GtkWidget
margin
the end margin
gtk_widget_get_margin_top ()
gtk_widget_get_margin_top
gint
gtk_widget_get_margin_top (GtkWidget *widget );
Gets the value of the “margin-top” property.
Parameters
widget
a GtkWidget
Returns
The top margin of widget
gtk_widget_set_margin_top ()
gtk_widget_set_margin_top
void
gtk_widget_set_margin_top (GtkWidget *widget ,
gint margin );
Sets the top margin of widget
.
See the “margin-top” property.
Parameters
widget
a GtkWidget
margin
the top margin
gtk_widget_get_margin_bottom ()
gtk_widget_get_margin_bottom
gint
gtk_widget_get_margin_bottom (GtkWidget *widget );
Gets the value of the “margin-bottom” property.
Parameters
widget
a GtkWidget
Returns
The bottom margin of widget
gtk_widget_set_margin_bottom ()
gtk_widget_set_margin_bottom
void
gtk_widget_set_margin_bottom (GtkWidget *widget ,
gint margin );
Sets the bottom margin of widget
.
See the “margin-bottom” property.
Parameters
widget
a GtkWidget
margin
the bottom margin
gtk_widget_get_hexpand ()
gtk_widget_get_hexpand
gboolean
gtk_widget_get_hexpand (GtkWidget *widget );
Gets whether the widget would like any available extra horizontal
space. When a user resizes a GtkWindow , widgets with expand=TRUE
generally receive the extra space. For example, a list or
scrollable area or document in your window would often be set to
expand.
Containers should use gtk_widget_compute_expand() rather than
this function, to see whether a widget, or any of its children,
has the expand flag set. If any child of a widget wants to
expand, the parent may ask to expand also.
This function only looks at the widget’s own hexpand flag, rather
than computing whether the entire widget tree rooted at this widget
wants to expand.
Parameters
widget
the widget
Returns
whether hexpand flag is set
gtk_widget_set_hexpand ()
gtk_widget_set_hexpand
void
gtk_widget_set_hexpand (GtkWidget *widget ,
gboolean expand );
Sets whether the widget would like any available extra horizontal
space. When a user resizes a GtkWindow , widgets with expand=TRUE
generally receive the extra space. For example, a list or
scrollable area or document in your window would often be set to
expand.
Call this function to set the expand flag if you would like your
widget to become larger horizontally when the window has extra
room.
By default, widgets automatically expand if any of their children
want to expand. (To see if a widget will automatically expand given
its current children and state, call gtk_widget_compute_expand() . A
container can decide how the expandability of children affects the
expansion of the container by overriding the compute_expand virtual
method on GtkWidget .).
Setting hexpand explicitly with this function will override the
automatic expand behavior.
This function forces the widget to expand or not to expand,
regardless of children. The override occurs because
gtk_widget_set_hexpand() sets the hexpand-set property (see
gtk_widget_set_hexpand_set() ) which causes the widget’s hexpand
value to be used, rather than looking at children and widget state.
Parameters
widget
the widget
expand
whether to expand
gtk_widget_get_hexpand_set ()
gtk_widget_get_hexpand_set
gboolean
gtk_widget_get_hexpand_set (GtkWidget *widget );
Gets whether gtk_widget_set_hexpand() has been used to
explicitly set the expand flag on this widget.
If hexpand is set, then it overrides any computed
expand value based on child widgets. If hexpand is not
set, then the expand value depends on whether any
children of the widget would like to expand.
There are few reasons to use this function, but it’s here
for completeness and consistency.
Parameters
widget
the widget
Returns
whether hexpand has been explicitly set
gtk_widget_set_hexpand_set ()
gtk_widget_set_hexpand_set
void
gtk_widget_set_hexpand_set (GtkWidget *widget ,
gboolean set );
Sets whether the hexpand flag (see gtk_widget_get_hexpand() ) will
be used.
The hexpand-set property will be set automatically when you call
gtk_widget_set_hexpand() to set hexpand, so the most likely
reason to use this function would be to unset an explicit expand
flag.
If hexpand is set, then it overrides any computed
expand value based on child widgets. If hexpand is not
set, then the expand value depends on whether any
children of the widget would like to expand.
There are few reasons to use this function, but it’s here
for completeness and consistency.
Parameters
widget
the widget
set
value for hexpand-set property
gtk_widget_get_vexpand ()
gtk_widget_get_vexpand
gboolean
gtk_widget_get_vexpand (GtkWidget *widget );
Gets whether the widget would like any available extra vertical
space.
See gtk_widget_get_hexpand() for more detail.
Parameters
widget
the widget
Returns
whether vexpand flag is set
gtk_widget_set_vexpand ()
gtk_widget_set_vexpand
void
gtk_widget_set_vexpand (GtkWidget *widget ,
gboolean expand );
Sets whether the widget would like any available extra vertical
space.
See gtk_widget_set_hexpand() for more detail.
Parameters
widget
the widget
expand
whether to expand
gtk_widget_get_vexpand_set ()
gtk_widget_get_vexpand_set
gboolean
gtk_widget_get_vexpand_set (GtkWidget *widget );
Gets whether gtk_widget_set_vexpand() has been used to
explicitly set the expand flag on this widget.
See gtk_widget_get_hexpand_set() for more detail.
Parameters
widget
the widget
Returns
whether vexpand has been explicitly set
gtk_widget_set_vexpand_set ()
gtk_widget_set_vexpand_set
void
gtk_widget_set_vexpand_set (GtkWidget *widget ,
gboolean set );
Sets whether the vexpand flag (see gtk_widget_get_vexpand() ) will
be used.
See gtk_widget_set_hexpand_set() for more detail.
Parameters
widget
the widget
set
value for vexpand-set property
gtk_widget_compute_expand ()
gtk_widget_compute_expand
gboolean
gtk_widget_compute_expand (GtkWidget *widget ,
GtkOrientation orientation );
Computes whether a container should give this widget extra space
when possible. Containers should check this, rather than
looking at gtk_widget_get_hexpand() or gtk_widget_get_vexpand() .
This function already checks whether the widget is visible, so
visibility does not need to be checked separately. Non-visible
widgets are not expanded.
The computed expand value uses either the expand setting explicitly
set on the widget itself, or, if none has been explicitly set,
the widget may expand if some of its children do.
Parameters
widget
the widget
orientation
expand direction
Returns
whether widget tree rooted here should be expanded
gtk_widget_init_template ()
gtk_widget_init_template
void
gtk_widget_init_template (GtkWidget *widget );
Creates and initializes child widgets defined in templates. This
function must be called in the instance initializer for any
class which assigned itself a template using gtk_widget_class_set_template()
It is important to call this function in the instance initializer
of a GtkWidget subclass and not in GObject.constructed() or
GObject.constructor() for two reasons.
One reason is that generally derived widgets will assume that parent
class composite widgets have been created in their instance
initializers.
Another reason is that when calling g_object_new() on a widget with
composite templates, it’s important to build the composite widgets
before the construct properties are set. Properties passed to g_object_new()
should take precedence over properties set in the private template XML.
Parameters
widget
a GtkWidget
gtk_widget_class_set_template ()
gtk_widget_class_set_template
void
gtk_widget_class_set_template (GtkWidgetClass *widget_class ,
GBytes *template_bytes );
This should be called at class initialization time to specify
the GtkBuilder XML to be used to extend a widget.
For convenience, gtk_widget_class_set_template_from_resource() is also provided.
Note that any class that installs templates must call gtk_widget_init_template()
in the widget’s instance initializer.
Parameters
widget_class
A GtkWidgetClass
template_bytes
A GBytes holding the GtkBuilder XML
gtk_widget_class_set_template_from_resource ()
gtk_widget_class_set_template_from_resource
void
gtk_widget_class_set_template_from_resource
(GtkWidgetClass *widget_class ,
const gchar *resource_name );
A convenience function to call gtk_widget_class_set_template() .
Note that any class that installs templates must call gtk_widget_init_template()
in the widget’s instance initializer.
Parameters
widget_class
A GtkWidgetClass
resource_name
The name of the resource to load the template from
gtk_widget_get_template_child ()
gtk_widget_get_template_child
GObject *
gtk_widget_get_template_child (GtkWidget *widget ,
GType widget_type ,
const gchar *name );
Fetch an object build from the template XML for widget_type
in this widget
instance.
This will only report children which were previously declared with
gtk_widget_class_bind_template_child_full() or one of its
variants.
This function is only meant to be called for code which is private to the widget_type
which
declared the child and is meant for language bindings which cannot easily make use
of the GObject structure offsets.
Parameters
widget
A GtkWidget
widget_type
The GType to get a template child for
name
The “id” of the child defined in the template XML
Returns
The object built in the template XML with the id name
.
[transfer none ]
gtk_widget_class_bind_template_child()
gtk_widget_class_bind_template_child
#define gtk_widget_class_bind_template_child(widget_class, TypeName, member_name)
Binds a child widget defined in a template to the widget_class
.
This macro is a convenience wrapper around the
gtk_widget_class_bind_template_child_full() function.
This macro will use the offset of the member_name
inside the TypeName
instance structure.
Parameters
widget_class
a GtkWidgetClass
TypeName
the type name of this widget
member_name
name of the instance member in the instance struct for data_type
gtk_widget_class_bind_template_child_internal()
gtk_widget_class_bind_template_child_internal
#define gtk_widget_class_bind_template_child_internal(widget_class, TypeName, member_name)
Binds a child widget defined in a template to the widget_class
, and
also makes it available as an internal child in GtkBuilder, under the
name member_name
.
This macro is a convenience wrapper around the
gtk_widget_class_bind_template_child_full() function.
This macro will use the offset of the member_name
inside the TypeName
instance structure.
Parameters
widget_class
a GtkWidgetClass
TypeName
the type name, in CamelCase
member_name
name of the instance member in the instance struct for data_type
gtk_widget_class_bind_template_child_private()
gtk_widget_class_bind_template_child_private
#define gtk_widget_class_bind_template_child_private(widget_class, TypeName, member_name)
Binds a child widget defined in a template to the widget_class
.
This macro is a convenience wrapper around the
gtk_widget_class_bind_template_child_full() function.
This macro will use the offset of the member_name
inside the TypeName
private data structure (it uses G_PRIVATE_OFFSET() , so the private struct
must be added with G_ADD_PRIVATE() ).
Parameters
widget_class
a GtkWidgetClass
TypeName
the type name of this widget
member_name
name of the instance private member in the private struct for data_type
gtk_widget_class_bind_template_child_internal_private()
gtk_widget_class_bind_template_child_internal_private
#define gtk_widget_class_bind_template_child_internal_private(widget_class, TypeName, member_name)
Binds a child widget defined in a template to the widget_class
, and
also makes it available as an internal child in GtkBuilder, under the
name member_name
.
This macro is a convenience wrapper around the
gtk_widget_class_bind_template_child_full() function.
This macro will use the offset of the member_name
inside the TypeName
private data structure.
Parameters
widget_class
a GtkWidgetClass
TypeName
the type name, in CamelCase
member_name
name of the instance private member on the private struct for data_type
gtk_widget_class_bind_template_child_full ()
gtk_widget_class_bind_template_child_full
void
gtk_widget_class_bind_template_child_full
(GtkWidgetClass *widget_class ,
const gchar *name ,
gboolean internal_child ,
gssize struct_offset );
Automatically assign an object declared in the class template XML to be set to a location
on a freshly built instance’s private data, or alternatively accessible via gtk_widget_get_template_child() .
The struct can point either into the public instance, then you should use G_STRUCT_OFFSET(WidgetType, member)
for struct_offset
, or in the private struct, then you should use G_PRIVATE_OFFSET(WidgetType, member).
An explicit strong reference will be held automatically for the duration of your
instance’s life cycle, it will be released automatically when GObjectClass.dispose() runs
on your instance and if a struct_offset
that is != 0 is specified, then the automatic location
in your instance public or private data will be set to NULL . You can however access an automated child
pointer the first time your classes GObjectClass.dispose() runs, or alternatively in
GtkWidgetClass.destroy() .
If internal_child
is specified, GtkBuildableIface.get_internal_child() will be automatically
implemented by the GtkWidget class so there is no need to implement it manually.
The wrapper macros gtk_widget_class_bind_template_child() , gtk_widget_class_bind_template_child_internal() ,
gtk_widget_class_bind_template_child_private() and gtk_widget_class_bind_template_child_internal_private()
might be more convenient to use.
Note that this must be called from a composite widget classes class
initializer after calling gtk_widget_class_set_template() .
Parameters
widget_class
A GtkWidgetClass
name
The “id” of the child defined in the template XML
internal_child
Whether the child should be accessible as an “internal-child”
when this class is used in GtkBuilder XML
struct_offset
The structure offset into the composite widget’s instance public or private structure
where the automated child pointer should be set, or 0 to not assign the pointer.
gtk_widget_class_bind_template_callback()
gtk_widget_class_bind_template_callback
#define gtk_widget_class_bind_template_callback(widget_class, callback)
Binds a callback function defined in a template to the widget_class
.
This macro is a convenience wrapper around the
gtk_widget_class_bind_template_callback_full() function. It is not
supported after gtk_widget_class_set_template_scope() has been used
on widget_class
.
Parameters
widget_class
a GtkWidgetClass
callback
the callback symbol
gtk_widget_class_bind_template_callback_full ()
gtk_widget_class_bind_template_callback_full
void
gtk_widget_class_bind_template_callback_full
(GtkWidgetClass *widget_class ,
const gchar *callback_name ,
GCallback callback_symbol );
Declares a callback_symbol
to handle callback_name
from the template XML
defined for widget_type
. This function is not supported after
gtk_widget_class_set_template_scope() has been used on widget_class
.
See gtk_builder_cscope_add_callback_symbol() .
Note that this must be called from a composite widget classes class
initializer after calling gtk_widget_class_set_template() .
Parameters
widget_class
A GtkWidgetClass
callback_name
The name of the callback as expected in the template XML
callback_symbol
The callback symbol.
[scope async ]
gtk_widget_class_set_template_scope ()
gtk_widget_class_set_template_scope
void
gtk_widget_class_set_template_scope (GtkWidgetClass *widget_class ,
GtkBuilderScope *scope );
For use in language bindings, this will override the default GtkBuilderScope to be
used when parsing GtkBuilder XML from this class’s template data.
Note that this must be called from a composite widget classes class
initializer after calling gtk_widget_class_set_template() .
Parameters
widget_class
A GtkWidgetClass
scope
The GtkBuilderScope to use when loading the class template.
[transfer none ]
gtk_widget_observe_children ()
gtk_widget_observe_children
GListModel *
gtk_widget_observe_children (GtkWidget *widget );
Returns a GListModel to track the children of widget
.
Calling this function will enable extra internal bookkeeping to track
children and emit signals on the returned listmodel. It may slow down
operations a lot.
Applications should try hard to avoid calling this function because of
the slowdowns.
Parameters
widget
a GtkWidget
Returns
a GListModel tracking widget
's children.
[transfer full ]
gtk_widget_observe_controllers ()
gtk_widget_observe_controllers
GListModel *
gtk_widget_observe_controllers (GtkWidget *widget );
Returns a GListModel to track the GtkEventControllers of widget
.
Calling this function will enable extra internal bookkeeping to track
controllers and emit signals on the returned listmodel. It may slow down
operations a lot.
Applications should try hard to avoid calling this function because of
the slowdowns.
Parameters
widget
a GtkWidget
Returns
a GListModel tracking widget
's controllers.
[transfer full ]
gtk_widget_insert_action_group ()
gtk_widget_insert_action_group
void
gtk_widget_insert_action_group (GtkWidget *widget ,
const gchar *name ,
GActionGroup *group );
Inserts group
into widget
. Children of widget
that implement
GtkActionable can then be associated with actions in group
by
setting their “action-name” to prefix
.action-name .
Note that inheritance is defined for individual actions. I.e.
even if you insert a group with prefix prefix
, actions with
the same prefix will still be inherited from the parent, unless
the group contains an action with the same name.
If group
is NULL , a previously inserted group for name
is
removed from widget
.
Parameters
widget
a GtkWidget
name
the prefix for actions in group
group
a GActionGroup , or NULL .
[allow-none ]
gtk_widget_activate_action ()
gtk_widget_activate_action
gboolean
gtk_widget_activate_action (GtkWidget *widget ,
const char *name ,
const char *format_string ,
... );
Looks up the action in the action groups associated
with widget
and its ancestors, and activates it.
This is a wrapper around gtk_widget_activate_action_variant()
that constructs the args
variant according to format_string
.
Parameters
widget
a GtkWidget
name
the name of the action to activate
format_string
GVariant format string for arguments or NULL
for no arguments
...
arguments, as given by format string
Returns
TRUE if the action was activated, FALSE if the action does
not exist.
gtk_widget_activate_action_variant ()
gtk_widget_activate_action_variant
gboolean
gtk_widget_activate_action_variant (GtkWidget *widget ,
const char *name ,
GVariant *args );
Looks up the action in the action groups associated
with widget
and its ancestors, and activates it.
If the action is in an action group added with
gtk_widget_insert_action_group() , the name
is
expected to be prefixed with the prefix that was
used when the group was inserted.
The arguments must match the actions expected parameter
type, as returned by g_action_get_parameter_type() .
[rename-to gtk_widget_activate_action]
Parameters
widget
a GtkWidget
name
the name of the action to activate
args
parameters to use, or NULL .
[allow-none ]
Returns
TRUE if the action was activated, FALSE if the action does
not exist.
gtk_widget_activate_default ()
gtk_widget_activate_default
void
gtk_widget_activate_default (GtkWidget *widget );
Activate the default.activate action from widget
.
Parameters
widget
a GtkWidget
GtkWidgetActionActivateFunc ()
GtkWidgetActionActivateFunc
void
( *GtkWidgetActionActivateFunc) (GtkWidget *widget ,
const char *action_name ,
GVariant *parameter );
The type of the callback functions used for activating
actions installed with gtk_widget_class_install_action() .
The parameter
must match the parameter_type
of the action.
Parameters
widget
the widget to which the action belongs
action_name
the action name
parameter
parameter for activation
gtk_widget_class_install_action ()
gtk_widget_class_install_action
void
gtk_widget_class_install_action (GtkWidgetClass *widget_class ,
const char *action_name ,
const char *parameter_type ,
GtkWidgetActionActivateFunc activate );
gtk_widget_class_install_property_action ()
gtk_widget_class_install_property_action
void
gtk_widget_class_install_property_action
(GtkWidgetClass *widget_class ,
const char *action_name ,
const char *property_name );
Installs an action called action_name
on widget_class
and binds its
state to the value of the property_name
property.
This function will perform a few santity checks on the property selected via
property_name
. Namely, the property must exist, must be readable, writable and
must not be construct-only. There are also certain restrictions on the type of
the given property. If any of these conditions are not met, a critical
warning will be printed and no action will be added.
Parameters
widget_class
a GtkWidgetClass
action_name
name of the action
property_name
name of the property in instances of widget_class
or any parent class.
gtk_widget_class_query_action ()
gtk_widget_class_query_action
gboolean
gtk_widget_class_query_action (GtkWidgetClass *widget_class ,
guint index_ ,
GType *owner ,
const char **action_name ,
const GVariantType **parameter_type ,
const char **property_name );
Queries the actions that have been installed for
a widget class using gtk_widget_class_install_action()
during class initialization.
Note that this function will also return actions defined
by parent classes. You can identify those by looking
at owner
.
Parameters
widget_class
a GtkWidgetClass
index_
position of the action to query
owner
return location for the type where the action was defined.
[out ]
action_name
return location for the action name.
[out ]
parameter_type
return location for the parameter type.
[out ]
property_name
return location for the property name.
[out ]
Returns
TRUE if the action was found,
FALSE if index_
is out of range
gtk_widget_action_set_enabled ()
gtk_widget_action_set_enabled
void
gtk_widget_action_set_enabled (GtkWidget *widget ,
const char *action_name ,
gboolean enabled );
Enable or disable an action installed with
gtk_widget_class_install_action() .
Parameters
widget
a GtkWidget
action_name
action name, such as "clipboard.paste"
enabled
whether the action is now enabled
Property Details
The “can-focus” property
GtkWidget:can-focus
“can-focus” gboolean
Whether the widget can accept the input focus. Owner: GtkWidget
Flags: Read / Write
Default value: FALSE
The “can-target” property
GtkWidget:can-target
“can-target” gboolean
Whether the widget can receive pointer events. Owner: GtkWidget
Flags: Read / Write
Default value: FALSE
The “css-name” property
GtkWidget:css-name
“css-name” gchar *
The name of this widget in the CSS tree.
Owner: GtkWidget
Flags: Read / Write / Construct Only
Default value: NULL
The “cursor” property
GtkWidget:cursor
“cursor” GdkCursor *
The cursor used by widget
. See gtk_widget_set_cursor() for details.
Owner: GtkWidget
Flags: Read / Write
The “expand” property
GtkWidget:expand
“expand” gboolean
Whether to expand in both directions. Setting this sets both “hexpand” and “vexpand”
Owner: GtkWidget
Flags: Read / Write
Default value: FALSE
The “focus-on-click” property
GtkWidget:focus-on-click
“focus-on-click” gboolean
Whether the widget should grab focus when it is clicked with the mouse.
This property is only relevant for widgets that can take focus.
Before 3.20, several widgets (GtkButton, GtkFileChooserButton,
GtkComboBox) implemented this property individually.
Owner: GtkWidget
Flags: Read / Write
Default value: TRUE
The “halign” property
GtkWidget:halign
“halign” GtkAlign
How to distribute horizontal space if widget gets extra space, see GtkAlign
Owner: GtkWidget
Flags: Read / Write
Default value: GTK_ALIGN_FILL
The “has-default” property
GtkWidget:has-default
“has-default” gboolean
Whether the widget is the default widget. Owner: GtkWidget
Flags: Read
Default value: FALSE
The “has-focus” property
GtkWidget:has-focus
“has-focus” gboolean
Whether the widget has the input focus. Owner: GtkWidget
Flags: Read / Write
Default value: FALSE
The “has-tooltip” property
GtkWidget:has-tooltip
“has-tooltip” gboolean
Enables or disables the emission of “query-tooltip” on widget
.
A value of TRUE indicates that widget
can have a tooltip, in this case
the widget will be queried using “query-tooltip” to determine
whether it will provide a tooltip or not.
Owner: GtkWidget
Flags: Read / Write
Default value: FALSE
The “height-request” property
GtkWidget:height-request
“height-request” gint
Override for height request of the widget, or -1 if natural request should be used. Owner: GtkWidget
Flags: Read / Write
Allowed values: >= -1
Default value: -1
The “hexpand” property
GtkWidget:hexpand
“hexpand” gboolean
Whether to expand horizontally. See gtk_widget_set_hexpand() .
Owner: GtkWidget
Flags: Read / Write
Default value: FALSE
The “hexpand-set” property
GtkWidget:hexpand-set
“hexpand-set” gboolean
Whether to use the “hexpand” property. See gtk_widget_get_hexpand_set() .
Owner: GtkWidget
Flags: Read / Write
Default value: FALSE
The “is-focus” property
GtkWidget:is-focus
“is-focus” gboolean
Whether the widget is the focus widget within the toplevel. Owner: GtkWidget
Flags: Read / Write
Default value: FALSE
The “layout-manager” property
GtkWidget:layout-manager
“layout-manager” GtkLayoutManager *
The GtkLayoutManager instance to use to compute the preferred size
of the widget, and allocate its children.
Owner: GtkWidget
Flags: Read / Write
The “margin” property
GtkWidget:margin
“margin” gint
Sets all four sides' margin at once. If read, returns max
margin on any side.
Owner: GtkWidget
Flags: Read / Write
Allowed values: [0,32767]
Default value: 0
The “margin-bottom” property
GtkWidget:margin-bottom
“margin-bottom” gint
Margin on bottom side of widget.
This property adds margin outside of the widget's normal size
request, the margin will be added in addition to the size from
gtk_widget_set_size_request() for example.
Owner: GtkWidget
Flags: Read / Write
Allowed values: [0,32767]
Default value: 0
The “margin-end” property
GtkWidget:margin-end
“margin-end” gint
Margin on end of widget, horizontally. This property supports
left-to-right and right-to-left text directions.
This property adds margin outside of the widget's normal size
request, the margin will be added in addition to the size from
gtk_widget_set_size_request() for example.
Owner: GtkWidget
Flags: Read / Write
Allowed values: [0,32767]
Default value: 0
The “margin-start” property
GtkWidget:margin-start
“margin-start” gint
Margin on start of widget, horizontally. This property supports
left-to-right and right-to-left text directions.
This property adds margin outside of the widget's normal size
request, the margin will be added in addition to the size from
gtk_widget_set_size_request() for example.
Owner: GtkWidget
Flags: Read / Write
Allowed values: [0,32767]
Default value: 0
The “margin-top” property
GtkWidget:margin-top
“margin-top” gint
Margin on top side of widget.
This property adds margin outside of the widget's normal size
request, the margin will be added in addition to the size from
gtk_widget_set_size_request() for example.
Owner: GtkWidget
Flags: Read / Write
Allowed values: [0,32767]
Default value: 0
The “name” property
GtkWidget:name
“name” gchar *
The name of the widget. Owner: GtkWidget
Flags: Read / Write
Default value: NULL
The “opacity” property
GtkWidget:opacity
“opacity” gdouble
The requested opacity of the widget. See gtk_widget_set_opacity() for
more details about window opacity.
Before 3.8 this was only available in GtkWindow
Owner: GtkWidget
Flags: Read / Write
Allowed values: [0,1]
Default value: 1
The “overflow” property
GtkWidget:overflow
“overflow” GtkOverflow
How content outside the widget's content area is treated.
Owner: GtkWidget
Flags: Read / Write
Default value: GTK_OVERFLOW_VISIBLE
The “parent” property
GtkWidget:parent
“parent” GtkWidget *
The parent widget of this widget. Owner: GtkWidget
Flags: Read
The “receives-default” property
GtkWidget:receives-default
“receives-default” gboolean
If TRUE, the widget will receive the default action when it is focused. Owner: GtkWidget
Flags: Read / Write
Default value: FALSE
The “root” property
GtkWidget:root
“root” GtkRoot *
The GtkRoot widget of the widget tree containing this widget or NULL if
the widget is not contained in a root widget.
Owner: GtkWidget
Flags: Read
The “scale-factor” property
GtkWidget:scale-factor
“scale-factor” gint
The scale factor of the widget. See gtk_widget_get_scale_factor() for
more details about widget scaling.
Owner: GtkWidget
Flags: Read
Allowed values: >= 1
Default value: 1
The “sensitive” property
GtkWidget:sensitive
“sensitive” gboolean
Whether the widget responds to input. Owner: GtkWidget
Flags: Read / Write
Default value: TRUE
The “tooltip-markup” property
GtkWidget:tooltip-markup
“tooltip-markup” gchar *
Sets the text of tooltip to be the given string, which is marked up
with the Pango text markup language.
Also see gtk_tooltip_set_markup() .
This is a convenience property which will take care of getting the
tooltip shown if the given string is not NULL : “has-tooltip”
will automatically be set to TRUE and there will be taken care of
“query-tooltip” in the default signal handler.
Note that if both “tooltip-text” and “tooltip-markup”
are set, the last one wins.
Owner: GtkWidget
Flags: Read / Write
Default value: NULL
The “tooltip-text” property
GtkWidget:tooltip-text
“tooltip-text” gchar *
Sets the text of tooltip to be the given string.
Also see gtk_tooltip_set_text() .
This is a convenience property which will take care of getting the
tooltip shown if the given string is not NULL : “has-tooltip”
will automatically be set to TRUE and there will be taken care of
“query-tooltip” in the default signal handler.
Note that if both “tooltip-text” and “tooltip-markup”
are set, the last one wins.
Owner: GtkWidget
Flags: Read / Write
Default value: NULL
The “valign” property
GtkWidget:valign
“valign” GtkAlign
How to distribute vertical space if widget gets extra space, see GtkAlign
Owner: GtkWidget
Flags: Read / Write
Default value: GTK_ALIGN_FILL
The “vexpand” property
GtkWidget:vexpand
“vexpand” gboolean
Whether to expand vertically. See gtk_widget_set_vexpand() .
Owner: GtkWidget
Flags: Read / Write
Default value: FALSE
The “vexpand-set” property
GtkWidget:vexpand-set
“vexpand-set” gboolean
Whether to use the “vexpand” property. See gtk_widget_get_vexpand_set() .
Owner: GtkWidget
Flags: Read / Write
Default value: FALSE
The “visible” property
GtkWidget:visible
“visible” gboolean
Whether the widget is visible. Owner: GtkWidget
Flags: Read / Write
Default value: TRUE
The “width-request” property
GtkWidget:width-request
“width-request” gint
Override for width request of the widget, or -1 if natural request should be used. Owner: GtkWidget
Flags: Read / Write
Allowed values: >= -1
Default value: -1
Signal Details
The “accel-closures-changed” signal
GtkWidget::accel-closures-changed
void
user_function (GtkWidget *widget,
gpointer user_data)
The ::accel-closures-changed signal gets emitted when accelerators for this
widget get added, removed or changed.
Parameters
widget
the object which received the signal.
user_data
user data set when the signal handler was connected.
The “can-activate-accel” signal
GtkWidget::can-activate-accel
gboolean
user_function (GtkWidget *widget,
guint signal_id,
gpointer user_data)
Determines whether an accelerator that activates the signal
identified by signal_id
can currently be activated.
This signal is present to allow applications and derived
widgets to override the default GtkWidget handling
for determining whether an accelerator can be activated.
Parameters
widget
the object which received the signal
signal_id
the ID of a signal installed on widget
user_data
user data set when the signal handler was connected.
Returns
TRUE if the signal can be activated.
Flags: Run Last
The “destroy” signal
GtkWidget::destroy
void
user_function (GtkWidget *object,
gpointer user_data)
Signals that all holders of a reference to the widget should release
the reference that they hold. May result in finalization of the widget
if all references are released.
This signal is not suitable for saving widget state.
Parameters
object
the object which received the signal
user_data
user data set when the signal handler was connected.
Flags: No Hooks
The “direction-changed” signal
GtkWidget::direction-changed
void
user_function (GtkWidget *widget,
GtkTextDirection previous_direction,
gpointer user_data)
The ::direction-changed signal is emitted when the text direction
of a widget changes.
Parameters
widget
the object on which the signal is emitted
previous_direction
the previous text direction of widget
user_data
user data set when the signal handler was connected.
Flags: Run First
The “grab-notify” signal
GtkWidget::grab-notify
void
user_function (GtkWidget *widget,
gboolean was_grabbed,
gpointer user_data)
The ::grab-notify signal is emitted when a widget becomes
shadowed by a GTK+ grab (not a pointer or keyboard grab) on
another widget, or when it becomes unshadowed due to a grab
being removed.
A widget is shadowed by a gtk_grab_add() when the topmost
grab widget in the grab stack of its window group is not
its ancestor.
Parameters
widget
the object which received the signal
was_grabbed
FALSE if the widget becomes shadowed, TRUE
if it becomes unshadowed
user_data
user data set when the signal handler was connected.
Flags: Run First
The “hide” signal
GtkWidget::hide
void
user_function (GtkWidget *widget,
gpointer user_data)
The ::hide signal is emitted when widget
is hidden, for example with
gtk_widget_hide() .
Parameters
widget
the object which received the signal.
user_data
user data set when the signal handler was connected.
Flags: Run First
The “keynav-failed” signal
GtkWidget::keynav-failed
gboolean
user_function (GtkWidget *widget,
GtkDirectionType direction,
gpointer user_data)
Gets emitted if keyboard navigation fails.
See gtk_widget_keynav_failed() for details.
Parameters
widget
the object which received the signal
direction
the direction of movement
user_data
user data set when the signal handler was connected.
Returns
TRUE if stopping keyboard navigation is fine, FALSE
if the emitting widget should try to handle the keyboard
navigation attempt in its parent widget(s).
Flags: Run Last
The “map” signal
GtkWidget::map
void
user_function (GtkWidget *widget,
gpointer user_data)
The ::map signal is emitted when widget
is going to be mapped, that is
when the widget is visible (which is controlled with
gtk_widget_set_visible() ) and all its parents up to the toplevel widget
are also visible.
The ::map signal can be used to determine whether a widget will be drawn,
for instance it can resume an animation that was stopped during the
emission of “unmap” .
Parameters
widget
the object which received the signal.
user_data
user data set when the signal handler was connected.
Flags: Run First
The “mnemonic-activate” signal
GtkWidget::mnemonic-activate
gboolean
user_function (GtkWidget *widget,
gboolean group_cycling,
gpointer user_data)
The default handler for this signal activates widget
if group_cycling
is FALSE , or just makes widget
grab focus if group_cycling
is TRUE .
Parameters
widget
the object which received the signal.
group_cycling
TRUE if there are other widgets with the same mnemonic
user_data
user data set when the signal handler was connected.
Returns
TRUE to stop other handlers from being invoked for the event.
FALSE to propagate the event further.
Flags: Run Last
The “move-focus” signal
GtkWidget::move-focus
void
user_function (GtkWidget *widget,
GtkDirectionType direction,
gpointer user_data)
Parameters
widget
the object which received the signal.
user_data
user data set when the signal handler was connected.
Flags: Action
The “query-tooltip” signal
GtkWidget::query-tooltip
gboolean
user_function (GtkWidget *widget,
gint x,
gint y,
gboolean keyboard_mode,
GtkTooltip *tooltip,
gpointer user_data)
Emitted when “has-tooltip” is TRUE and the hover timeout
has expired with the cursor hovering "above" widget
; or emitted when widget
got
focus in keyboard mode.
Using the given coordinates, the signal handler should determine
whether a tooltip should be shown for widget
. If this is the case
TRUE should be returned, FALSE otherwise. Note that if
keyboard_mode
is TRUE , the values of x
and y
are undefined and
should not be used.
The signal handler is free to manipulate tooltip
with the therefore
destined function calls.
Parameters
widget
the object which received the signal
x
the x coordinate of the cursor position where the request has
been emitted, relative to widget
's left side
y
the y coordinate of the cursor position where the request has
been emitted, relative to widget
's top
keyboard_mode
TRUE if the tooltip was triggered using the keyboard
tooltip
a GtkTooltip
user_data
user data set when the signal handler was connected.
Returns
TRUE if tooltip
should be shown right now, FALSE otherwise.
Flags: Run Last
The “realize” signal
GtkWidget::realize
void
user_function (GtkWidget *widget,
gpointer user_data)
The ::realize signal is emitted when widget
is associated with a
GdkSurface , which means that gtk_widget_realize() has been called or the
widget has been mapped (that is, it is going to be drawn).
Parameters
widget
the object which received the signal.
user_data
user data set when the signal handler was connected.
Flags: Run First
The “show” signal
GtkWidget::show
void
user_function (GtkWidget *widget,
gpointer user_data)
The ::show signal is emitted when widget
is shown, for example with
gtk_widget_show() .
Parameters
widget
the object which received the signal.
user_data
user data set when the signal handler was connected.
Flags: Run First
The “size-allocate” signal
GtkWidget::size-allocate
void
user_function (GtkWidget *widget,
gint width,
gint height,
gint baseline,
gpointer user_data)
Parameters
widget
the object which received the signal.
width
the content width of the widget
height
the content height of the widget
baseline
the baseline
user_data
user data set when the signal handler was connected.
Flags: Run First
The “state-flags-changed” signal
GtkWidget::state-flags-changed
void
user_function (GtkWidget *widget,
GtkStateFlags flags,
gpointer user_data)
The ::state-flags-changed signal is emitted when the widget state
changes, see gtk_widget_get_state_flags() .
Parameters
widget
the object which received the signal.
flags
The previous state flags.
user_data
user data set when the signal handler was connected.
Flags: Run First
The “unmap” signal
GtkWidget::unmap
void
user_function (GtkWidget *widget,
gpointer user_data)
The ::unmap signal is emitted when widget
is going to be unmapped, which
means that either it or any of its parents up to the toplevel widget have
been set as hidden.
As ::unmap indicates that a widget will not be shown any longer, it can be
used to, for example, stop an animation on the widget.
Parameters
widget
the object which received the signal.
user_data
user data set when the signal handler was connected.
Flags: Run First
The “unrealize” signal
GtkWidget::unrealize
void
user_function (GtkWidget *widget,
gpointer user_data)
The ::unrealize signal is emitted when the GdkSurface associated with
widget
is destroyed, which means that gtk_widget_unrealize() has been
called or the widget has been unmapped (that is, it is going to be
hidden).
Parameters
widget
the object which received the signal.
user_data
user data set when the signal handler was connected.
Flags: Run Last
docs/reference/gtk/xml/gtkfixed.xml 0000664 0001750 0001750 00000024620 13617646201 017522 0 ustar mclasen mclasen
]>
GtkFixed
3
GTK4 Library
GtkFixed
A container which allows you to position
widgets at fixed coordinates
Functions
GtkWidget *
gtk_fixed_new ()
void
gtk_fixed_put ()
void
gtk_fixed_move ()
Types and Values
struct GtkFixed
Object Hierarchy
GObject
╰── GInitiallyUnowned
╰── GtkWidget
╰── GtkContainer
╰── GtkFixed
Implemented Interfaces
GtkFixed implements
AtkImplementorIface, GtkBuildable and GtkConstraintTarget.
Includes #include <gtk/gtk.h>
Description
The GtkFixed widget is a container which can place child widgets
at fixed positions and with fixed sizes, given in pixels. GtkFixed
performs no automatic layout management.
For most applications, you should not use this container! It keeps
you from having to learn about the other GTK+ containers, but it
results in broken applications. With GtkFixed , the following
things will result in truncated text, overlapping widgets, and
other display bugs:
Themes, which may change widget sizes.
Fonts other than the one you used to write the app will of course
change the size of widgets containing text; keep in mind that
users may use a larger font because of difficulty reading the
default, or they may be using a different OS that provides different fonts.
Translation of text into other languages changes its size. Also,
display of non-English text will use a different font in many
cases.
In addition, GtkFixed does not pay attention to text direction and thus may
produce unwanted results if your app is run under right-to-left languages
such as Hebrew or Arabic. That is: normally GTK will order containers
appropriately for the text direction, e.g. to put labels to the right of the
thing they label when using an RTL language, but it can’t do that with
GtkFixed . So if you need to reorder widgets depending on the text direction,
you would need to manually detect it and adjust child positions accordingly.
Finally, fixed positioning makes it kind of annoying to add/remove
GUI elements, since you have to reposition all the other
elements. This is a long-term maintenance problem for your
application.
If you know none of these things are an issue for your application,
and prefer the simplicity of GtkFixed , by all means use the
widget. But you should be aware of the tradeoffs.
Functions
gtk_fixed_new ()
gtk_fixed_new
GtkWidget *
gtk_fixed_new (void );
Creates a new GtkFixed .
Returns
a new GtkFixed .
gtk_fixed_put ()
gtk_fixed_put
void
gtk_fixed_put (GtkFixed *fixed ,
GtkWidget *widget ,
gint x ,
gint y );
Adds a widget to a GtkFixed container and assigns a translation
transformation to the given x
and y
coordinates to it.
Parameters
fixed
a GtkFixed .
widget
the widget to add.
x
the horizontal position to place the widget at.
y
the vertical position to place the widget at.
gtk_fixed_move ()
gtk_fixed_move
void
gtk_fixed_move (GtkFixed *fixed ,
GtkWidget *widget ,
gint x ,
gint y );
Sets a translation transformation to the given x
and y
coordinates to
the child widget
of the given GtkFixed container.
Parameters
fixed
a GtkFixed .
widget
the child widget.
x
the horizontal position to move the widget to.
y
the vertical position to move the widget to.
docs/reference/gtk/xml/gtklevelbar.xml 0000664 0001750 0001750 00000125323 13617646202 020222 0 ustar mclasen mclasen
]>
GtkLevelBar
3
GTK4 Library
GtkLevelBar
A bar that can used as a level indicator
Functions
GtkWidget *
gtk_level_bar_new ()
GtkWidget *
gtk_level_bar_new_for_interval ()
void
gtk_level_bar_set_mode ()
GtkLevelBarMode
gtk_level_bar_get_mode ()
void
gtk_level_bar_set_value ()
gdouble
gtk_level_bar_get_value ()
void
gtk_level_bar_set_min_value ()
gdouble
gtk_level_bar_get_min_value ()
void
gtk_level_bar_set_max_value ()
gdouble
gtk_level_bar_get_max_value ()
void
gtk_level_bar_set_inverted ()
gboolean
gtk_level_bar_get_inverted ()
void
gtk_level_bar_add_offset_value ()
void
gtk_level_bar_remove_offset_value ()
gboolean
gtk_level_bar_get_offset_value ()
Properties
gboolean invertedRead / Write
gdouble max-valueRead / Write
gdouble min-valueRead / Write
GtkLevelBarMode modeRead / Write
gdouble valueRead / Write
Signals
void offset-changed Has Details
Types and Values
#define GTK_LEVEL_BAR_OFFSET_LOW
#define GTK_LEVEL_BAR_OFFSET_HIGH
#define GTK_LEVEL_BAR_OFFSET_FULL
enum GtkLevelBarMode
GtkLevelBar
Object Hierarchy
GObject
╰── GInitiallyUnowned
╰── GtkWidget
╰── GtkLevelBar
Implemented Interfaces
GtkLevelBar implements
AtkImplementorIface, GtkBuildable, GtkConstraintTarget and GtkOrientable.
Includes #include <gtk/gtk.h>
Description
The GtkLevelBar is a bar widget that can be used
as a level indicator. Typical use cases are displaying the strength
of a password, or showing the charge level of a battery.
Use gtk_level_bar_set_value() to set the current value, and
gtk_level_bar_add_offset_value() to set the value offsets at which
the bar will be considered in a different state. GTK will add a few
offsets by default on the level bar: GTK_LEVEL_BAR_OFFSET_LOW ,
GTK_LEVEL_BAR_OFFSET_HIGH and GTK_LEVEL_BAR_OFFSET_FULL , with
values 0.25, 0.75 and 1.0 respectively.
Note that it is your responsibility to update preexisting offsets
when changing the minimum or maximum value. GTK+ will simply clamp
them to the new range.
Adding a custom offset on the bar
The default interval of values is between zero and one, but it’s possible to
modify the interval using gtk_level_bar_set_min_value() and
gtk_level_bar_set_max_value() . The value will be always drawn in proportion to
the admissible interval, i.e. a value of 15 with a specified interval between
10 and 20 is equivalent to a value of 0.5 with an interval between 0 and 1.
When GTK_LEVEL_BAR_MODE_DISCRETE is used, the bar level is rendered
as a finite number of separated blocks instead of a single one. The number
of blocks that will be rendered is equal to the number of units specified by
the admissible interval.
For instance, to build a bar rendered with five blocks, it’s sufficient to
set the minimum value to 0 and the maximum value to 5 after changing the indicator
mode to discrete.
GtkLevelBar was introduced in GTK+ 3.6.
GtkLevelBar as GtkBuildable The GtkLevelBar implementation of the GtkBuildable interface supports a
custom <offsets> element, which can contain any number of <offset> elements,
each of which must have name and value attributes.
CSS nodes
GtkLevelBar has a main CSS node with name levelbar and one of the style
classes .discrete or .continuous and a subnode with name trough. Below the
trough node are a number of nodes with name block and style class .filled
or .empty. In continuous mode, there is exactly one node of each, in discrete
mode, the number of filled and unfilled nodes corresponds to blocks that are
drawn. The block.filled nodes also get a style class .level-name corresponding
to the level for the current value.
In horizontal orientation, the nodes are always arranged from left to right,
regardless of text direction.
Functions
gtk_level_bar_new ()
gtk_level_bar_new
GtkWidget *
gtk_level_bar_new (void );
Creates a new GtkLevelBar .
Returns
a GtkLevelBar .
gtk_level_bar_new_for_interval ()
gtk_level_bar_new_for_interval
GtkWidget *
gtk_level_bar_new_for_interval (gdouble min_value ,
gdouble max_value );
Utility constructor that creates a new GtkLevelBar for the specified
interval.
Parameters
min_value
a positive value
max_value
a positive value
Returns
a GtkLevelBar
gtk_level_bar_set_mode ()
gtk_level_bar_set_mode
void
gtk_level_bar_set_mode (GtkLevelBar *self ,
GtkLevelBarMode mode );
Sets the value of the “mode” property.
Parameters
self
a GtkLevelBar
mode
a GtkLevelBarMode
gtk_level_bar_get_mode ()
gtk_level_bar_get_mode
GtkLevelBarMode
gtk_level_bar_get_mode (GtkLevelBar *self );
Returns the value of the “mode” property.
Parameters
self
a GtkLevelBar
Returns
a GtkLevelBarMode
gtk_level_bar_set_value ()
gtk_level_bar_set_value
void
gtk_level_bar_set_value (GtkLevelBar *self ,
gdouble value );
Sets the value of the “value” property.
Parameters
self
a GtkLevelBar
value
a value in the interval between
“min-value” and “max-value”
gtk_level_bar_get_value ()
gtk_level_bar_get_value
gdouble
gtk_level_bar_get_value (GtkLevelBar *self );
Returns the value of the “value” property.
Parameters
self
a GtkLevelBar
Returns
a value in the interval between
“min-value” and “max-value”
gtk_level_bar_set_min_value ()
gtk_level_bar_set_min_value
void
gtk_level_bar_set_min_value (GtkLevelBar *self ,
gdouble value );
Sets the value of the “min-value” property.
You probably want to update preexisting level offsets after calling
this function.
Parameters
self
a GtkLevelBar
value
a positive value
gtk_level_bar_get_min_value ()
gtk_level_bar_get_min_value
gdouble
gtk_level_bar_get_min_value (GtkLevelBar *self );
Returns the value of the “min-value” property.
Parameters
self
a GtkLevelBar
Returns
a positive value
gtk_level_bar_set_max_value ()
gtk_level_bar_set_max_value
void
gtk_level_bar_set_max_value (GtkLevelBar *self ,
gdouble value );
Sets the value of the “max-value” property.
You probably want to update preexisting level offsets after calling
this function.
Parameters
self
a GtkLevelBar
value
a positive value
gtk_level_bar_get_max_value ()
gtk_level_bar_get_max_value
gdouble
gtk_level_bar_get_max_value (GtkLevelBar *self );
Returns the value of the “max-value” property.
Parameters
self
a GtkLevelBar
Returns
a positive value
gtk_level_bar_set_inverted ()
gtk_level_bar_set_inverted
void
gtk_level_bar_set_inverted (GtkLevelBar *self ,
gboolean inverted );
Sets the value of the “inverted” property.
Parameters
self
a GtkLevelBar
inverted
TRUE to invert the level bar
gtk_level_bar_get_inverted ()
gtk_level_bar_get_inverted
gboolean
gtk_level_bar_get_inverted (GtkLevelBar *self );
Return the value of the “inverted” property.
Parameters
self
a GtkLevelBar
Returns
TRUE if the level bar is inverted
gtk_level_bar_add_offset_value ()
gtk_level_bar_add_offset_value
void
gtk_level_bar_add_offset_value (GtkLevelBar *self ,
const gchar *name ,
gdouble value );
Adds a new offset marker on self
at the position specified by value
.
When the bar value is in the interval topped by value
(or between value
and “max-value” in case the offset is the last one on the bar)
a style class named level- name
will be applied
when rendering the level bar fill.
If another offset marker named name
exists, its value will be
replaced by value
.
Parameters
self
a GtkLevelBar
name
the name of the new offset
value
the value for the new offset
gtk_level_bar_remove_offset_value ()
gtk_level_bar_remove_offset_value
void
gtk_level_bar_remove_offset_value (GtkLevelBar *self ,
const gchar *name );
Removes an offset marker previously added with
gtk_level_bar_add_offset_value() .
Parameters
self
a GtkLevelBar
name
the name of an offset in the bar.
[allow-none ]
gtk_level_bar_get_offset_value ()
gtk_level_bar_get_offset_value
gboolean
gtk_level_bar_get_offset_value (GtkLevelBar *self ,
const gchar *name ,
gdouble *value );
Fetches the value specified for the offset marker name
in self
,
returning TRUE in case an offset named name
was found.
Parameters
self
a GtkLevelBar
name
the name of an offset in the bar.
[allow-none ]
value
location where to store the value.
[out ]
Returns
TRUE if the specified offset is found
Property Details
The “inverted” property
GtkLevelBar:inverted
“inverted” gboolean
Level bars normally grow from top to bottom or left to right.
Inverted level bars grow in the opposite direction.
Owner: GtkLevelBar
Flags: Read / Write
Default value: FALSE
The “max-value” property
GtkLevelBar:max-value
“max-value” gdouble
The “max-value” property determaxes the maximum value of
the interval that can be displayed by the bar.
Owner: GtkLevelBar
Flags: Read / Write
Allowed values: >= 0
Default value: 1
The “min-value” property
GtkLevelBar:min-value
“min-value” gdouble
The “min-value” property determines the minimum value of
the interval that can be displayed by the bar.
Owner: GtkLevelBar
Flags: Read / Write
Allowed values: >= 0
Default value: 0
The “mode” property
GtkLevelBar:mode
“mode” GtkLevelBarMode
The “mode” property determines the way GtkLevelBar
interprets the value properties to draw the level fill area.
Specifically, when the value is GTK_LEVEL_BAR_MODE_CONTINUOUS ,
GtkLevelBar will draw a single block representing the current value in
that area; when the value is GTK_LEVEL_BAR_MODE_DISCRETE ,
the widget will draw a succession of separate blocks filling the
draw area, with the number of blocks being equal to the units separating
the integral roundings of “min-value” and “max-value” .
Owner: GtkLevelBar
Flags: Read / Write
Default value: GTK_LEVEL_BAR_MODE_CONTINUOUS
The “value” property
GtkLevelBar:value
“value” gdouble
The “value” property determines the currently
filled value of the level bar.
Owner: GtkLevelBar
Flags: Read / Write
Allowed values: >= 0
Default value: 0
Signal Details
The “offset-changed” signal
GtkLevelBar::offset-changed
void
user_function (GtkLevelBar *self,
gchar *name,
gpointer user_data)
Emitted when an offset specified on the bar changes value as an
effect to gtk_level_bar_add_offset_value() being called.
The signal supports detailed connections; you can connect to the
detailed signal "changed::x" in order to only receive callbacks when
the value of offset "x" changes.
Parameters
self
a GtkLevelBar
name
the name of the offset that changed value
user_data
user data set when the signal handler was connected.
Flags: Has Details
docs/reference/gtk/xml/gtkflattenlistmodel.xml 0000664 0001750 0001750 00000026231 13617646201 021775 0 ustar mclasen mclasen
]>
GtkFlattenListModel
3
GTK4 Library
GtkFlattenListModel
A list model that flattens a list of lists
Functions
GtkFlattenListModel *
gtk_flatten_list_model_new ()
void
gtk_flatten_list_model_set_model ()
GListModel *
gtk_flatten_list_model_get_model ()
Properties
GType * item-typeRead / Write / Construct Only
GListModel * modelRead / Write
Types and Values
GtkFlattenListModel
Object Hierarchy
GObject
╰── GtkFlattenListModel
Implemented Interfaces
GtkFlattenListModel implements
GListModel.
Includes #include <gtk/gtk.h>
Description
GtkFlattenListModel is a list model that takes a list model containing
list models and flattens it into a single model.
Another term for this is concatenation: GtkFlattenListModel takes a
list of lists and concatenates them into a single list.
Functions
gtk_flatten_list_model_new ()
gtk_flatten_list_model_new
GtkFlattenListModel *
gtk_flatten_list_model_new (GType item_type ,
GListModel *model );
Creates a new GtkFlattenListModel that flattens list
. The
models returned by model
must conform to the given item_type
,
either by having an identical type or a subtype.
Parameters
item_type
The type of items in the to-be-flattened models
model
the item to be flattened.
[nullable ][transfer none ]
Returns
a new GtkFlattenListModel
gtk_flatten_list_model_set_model ()
gtk_flatten_list_model_set_model
void
gtk_flatten_list_model_set_model (GtkFlattenListModel *self ,
GListModel *model );
Sets a new model to be flattened. The model must contain items of
GtkListModel that conform to the item type of self
.
Parameters
self
a GtkFlattenListModel
model
the new model or NULL .
[nullable ][transfer none ]
gtk_flatten_list_model_get_model ()
gtk_flatten_list_model_get_model
GListModel *
gtk_flatten_list_model_get_model (GtkFlattenListModel *self );
Gets the model set via gtk_flatten_list_model_set_model() .
Parameters
self
a GtkFlattenListModel
Returns
The model flattened by self
.
[nullable ][transfer none ]
Property Details
The “item-type” property
GtkFlattenListModel:item-type
“item-type” GType *
The GTpe for elements of this object
Owner: GtkFlattenListModel
Flags: Read / Write / Construct Only
Allowed values: GObject
The “model” property
GtkFlattenListModel:model
“model” GListModel *
The model being flattened
Owner: GtkFlattenListModel
Flags: Read / Write
See Also
GListModel
docs/reference/gtk/xml/gtktextbuffer.xml 0000664 0001750 0001750 00000652005 13620320477 020603 0 ustar mclasen mclasen
]>
GtkTextBuffer
3
GTK4 Library
GtkTextBuffer
Stores attributed text for display in a GtkTextView
Functions
GtkTextBuffer *
gtk_text_buffer_new ()
gint
gtk_text_buffer_get_line_count ()
gint
gtk_text_buffer_get_char_count ()
GtkTextTagTable *
gtk_text_buffer_get_tag_table ()
void
gtk_text_buffer_insert ()
void
gtk_text_buffer_insert_at_cursor ()
gboolean
gtk_text_buffer_insert_interactive ()
gboolean
gtk_text_buffer_insert_interactive_at_cursor ()
void
gtk_text_buffer_insert_range ()
gboolean
gtk_text_buffer_insert_range_interactive ()
void
gtk_text_buffer_insert_with_tags ()
void
gtk_text_buffer_insert_with_tags_by_name ()
void
gtk_text_buffer_insert_markup ()
void
gtk_text_buffer_delete ()
gboolean
gtk_text_buffer_delete_interactive ()
gboolean
gtk_text_buffer_backspace ()
void
gtk_text_buffer_set_text ()
gchar *
gtk_text_buffer_get_text ()
gchar *
gtk_text_buffer_get_slice ()
void
gtk_text_buffer_insert_child_anchor ()
GtkTextChildAnchor *
gtk_text_buffer_create_child_anchor ()
GtkTextMark *
gtk_text_buffer_create_mark ()
void
gtk_text_buffer_move_mark ()
void
gtk_text_buffer_move_mark_by_name ()
void
gtk_text_buffer_add_mark ()
void
gtk_text_buffer_delete_mark ()
void
gtk_text_buffer_delete_mark_by_name ()
GtkTextMark *
gtk_text_buffer_get_mark ()
GtkTextMark *
gtk_text_buffer_get_insert ()
GtkTextMark *
gtk_text_buffer_get_selection_bound ()
gboolean
gtk_text_buffer_get_has_selection ()
void
gtk_text_buffer_place_cursor ()
void
gtk_text_buffer_select_range ()
void
gtk_text_buffer_apply_tag ()
void
gtk_text_buffer_remove_tag ()
void
gtk_text_buffer_apply_tag_by_name ()
void
gtk_text_buffer_remove_tag_by_name ()
void
gtk_text_buffer_remove_all_tags ()
GtkTextTag *
gtk_text_buffer_create_tag ()
void
gtk_text_buffer_get_iter_at_line_offset ()
void
gtk_text_buffer_get_iter_at_offset ()
void
gtk_text_buffer_get_iter_at_line ()
void
gtk_text_buffer_get_iter_at_line_index ()
void
gtk_text_buffer_get_iter_at_mark ()
void
gtk_text_buffer_get_iter_at_child_anchor ()
void
gtk_text_buffer_get_start_iter ()
void
gtk_text_buffer_get_end_iter ()
void
gtk_text_buffer_get_bounds ()
gboolean
gtk_text_buffer_get_modified ()
void
gtk_text_buffer_set_modified ()
gboolean
gtk_text_buffer_delete_selection ()
void
gtk_text_buffer_paste_clipboard ()
void
gtk_text_buffer_copy_clipboard ()
void
gtk_text_buffer_cut_clipboard ()
gboolean
gtk_text_buffer_get_selection_bounds ()
void
gtk_text_buffer_begin_user_action ()
void
gtk_text_buffer_end_user_action ()
void
gtk_text_buffer_add_selection_clipboard ()
void
gtk_text_buffer_remove_selection_clipboard ()
gboolean
gtk_text_buffer_get_can_undo ()
gboolean
gtk_text_buffer_get_can_redo ()
gboolean
gtk_text_buffer_get_enable_undo ()
void
gtk_text_buffer_set_enable_undo ()
guint
gtk_text_buffer_get_max_undo_levels ()
void
gtk_text_buffer_set_max_undo_levels ()
void
gtk_text_buffer_undo ()
void
gtk_text_buffer_redo ()
void
gtk_text_buffer_begin_irreversible_action ()
void
gtk_text_buffer_end_irreversible_action ()
Properties
gboolean can-redoRead
gboolean can-undoRead
GdkContentFormats * copy-target-listRead
gint cursor-positionRead
gboolean enable-undoRead / Write
gboolean has-selectionRead
GdkContentFormats * paste-target-listRead
GtkTextTagTable * tag-tableRead / Write / Construct Only
gchar * textRead / Write
Signals
void apply-tag Run Last
void begin-user-action Run Last
void changed Run Last
void delete-range Run Last
void end-user-action Run Last
void insert-child-anchor Run Last
void insert-paintable Run Last
void insert-text Run Last
void mark-deleted Run Last
void mark-set Run Last
void modified-changed Run Last
void paste-done Run Last
void redo Run Last
void remove-tag Run Last
void undo Run Last
Types and Values
GtkTextBuffer
struct GtkTextBufferClass
Object Hierarchy
GObject
╰── GtkTextBuffer
Includes #include <gtk/gtk.h>
Description
You may wish to begin by reading the
text widget conceptual overview
which gives an overview of all the objects and data
types related to the text widget and how they work together.
Functions
gtk_text_buffer_new ()
gtk_text_buffer_new
GtkTextBuffer *
gtk_text_buffer_new (GtkTextTagTable *table );
Creates a new text buffer.
Parameters
table
a tag table, or NULL to create a new one.
[allow-none ]
Returns
a new text buffer
gtk_text_buffer_get_line_count ()
gtk_text_buffer_get_line_count
gint
gtk_text_buffer_get_line_count (GtkTextBuffer *buffer );
Obtains the number of lines in the buffer. This value is cached, so
the function is very fast.
Parameters
buffer
a GtkTextBuffer
Returns
number of lines in the buffer
gtk_text_buffer_get_char_count ()
gtk_text_buffer_get_char_count
gint
gtk_text_buffer_get_char_count (GtkTextBuffer *buffer );
Gets the number of characters in the buffer; note that characters
and bytes are not the same, you can’t e.g. expect the contents of
the buffer in string form to be this many bytes long. The character
count is cached, so this function is very fast.
Parameters
buffer
a GtkTextBuffer
Returns
number of characters in the buffer
gtk_text_buffer_get_tag_table ()
gtk_text_buffer_get_tag_table
GtkTextTagTable *
gtk_text_buffer_get_tag_table (GtkTextBuffer *buffer );
Get the GtkTextTagTable associated with this buffer.
Parameters
buffer
a GtkTextBuffer
Returns
the buffer’s tag table.
[transfer none ]
gtk_text_buffer_insert ()
gtk_text_buffer_insert
void
gtk_text_buffer_insert (GtkTextBuffer *buffer ,
GtkTextIter *iter ,
const gchar *text ,
gint len );
Inserts len
bytes of text
at position iter
. If len
is -1,
text
must be nul-terminated and will be inserted in its
entirety. Emits the “insert-text” signal; insertion actually occurs
in the default handler for the signal. iter
is invalidated when
insertion occurs (because the buffer contents change), but the
default signal handler revalidates it to point to the end of the
inserted text.
Parameters
buffer
a GtkTextBuffer
iter
a position in the buffer
text
text in UTF-8 format
len
length of text in bytes, or -1
gtk_text_buffer_insert_at_cursor ()
gtk_text_buffer_insert_at_cursor
void
gtk_text_buffer_insert_at_cursor (GtkTextBuffer *buffer ,
const gchar *text ,
gint len );
Simply calls gtk_text_buffer_insert() , using the current
cursor position as the insertion point.
Parameters
buffer
a GtkTextBuffer
text
text in UTF-8 format
len
length of text, in bytes
gtk_text_buffer_insert_interactive ()
gtk_text_buffer_insert_interactive
gboolean
gtk_text_buffer_insert_interactive (GtkTextBuffer *buffer ,
GtkTextIter *iter ,
const gchar *text ,
gint len ,
gboolean default_editable );
Like gtk_text_buffer_insert() , but the insertion will not occur if
iter
is at a non-editable location in the buffer. Usually you
want to prevent insertions at ineditable locations if the insertion
results from a user action (is interactive).
default_editable
indicates the editability of text that doesn't
have a tag affecting editability applied to it. Typically the
result of gtk_text_view_get_editable() is appropriate here.
Parameters
buffer
a GtkTextBuffer
iter
a position in buffer
text
some UTF-8 text
len
length of text in bytes, or -1
default_editable
default editability of buffer
Returns
whether text was actually inserted
gtk_text_buffer_insert_interactive_at_cursor ()
gtk_text_buffer_insert_interactive_at_cursor
gboolean
gtk_text_buffer_insert_interactive_at_cursor
(GtkTextBuffer *buffer ,
const gchar *text ,
gint len ,
gboolean default_editable );
Calls gtk_text_buffer_insert_interactive() at the cursor
position.
default_editable
indicates the editability of text that doesn't
have a tag affecting editability applied to it. Typically the
result of gtk_text_view_get_editable() is appropriate here.
Parameters
buffer
a GtkTextBuffer
text
text in UTF-8 format
len
length of text in bytes, or -1
default_editable
default editability of buffer
Returns
whether text was actually inserted
gtk_text_buffer_insert_range ()
gtk_text_buffer_insert_range
void
gtk_text_buffer_insert_range (GtkTextBuffer *buffer ,
GtkTextIter *iter ,
const GtkTextIter *start ,
const GtkTextIter *end );
Copies text, tags, and paintables between start
and end
(the order
of start
and end
doesn’t matter) and inserts the copy at iter
.
Used instead of simply getting/inserting text because it preserves
images and tags. If start
and end
are in a different buffer from
buffer
, the two buffers must share the same tag table.
Implemented via emissions of the insert_text and apply_tag signals,
so expect those.
Parameters
buffer
a GtkTextBuffer
iter
a position in buffer
start
a position in a GtkTextBuffer
end
another position in the same buffer as start
gtk_text_buffer_insert_range_interactive ()
gtk_text_buffer_insert_range_interactive
gboolean
gtk_text_buffer_insert_range_interactive
(GtkTextBuffer *buffer ,
GtkTextIter *iter ,
const GtkTextIter *start ,
const GtkTextIter *end ,
gboolean default_editable );
Same as gtk_text_buffer_insert_range() , but does nothing if the
insertion point isn’t editable. The default_editable
parameter
indicates whether the text is editable at iter
if no tags
enclosing iter
affect editability. Typically the result of
gtk_text_view_get_editable() is appropriate here.
Parameters
buffer
a GtkTextBuffer
iter
a position in buffer
start
a position in a GtkTextBuffer
end
another position in the same buffer as start
default_editable
default editability of the buffer
Returns
whether an insertion was possible at iter
gtk_text_buffer_insert_with_tags ()
gtk_text_buffer_insert_with_tags
void
gtk_text_buffer_insert_with_tags (GtkTextBuffer *buffer ,
GtkTextIter *iter ,
const gchar *text ,
gint len ,
GtkTextTag *first_tag ,
... );
Inserts text
into buffer
at iter
, applying the list of tags to
the newly-inserted text. The last tag specified must be NULL to
terminate the list. Equivalent to calling gtk_text_buffer_insert() ,
then gtk_text_buffer_apply_tag() on the inserted text;
gtk_text_buffer_insert_with_tags() is just a convenience function.
Parameters
buffer
a GtkTextBuffer
iter
an iterator in buffer
text
UTF-8 text
len
length of text
, or -1
first_tag
first tag to apply to text
...
NULL -terminated list of tags to apply
gtk_text_buffer_insert_with_tags_by_name ()
gtk_text_buffer_insert_with_tags_by_name
void
gtk_text_buffer_insert_with_tags_by_name
(GtkTextBuffer *buffer ,
GtkTextIter *iter ,
const gchar *text ,
gint len ,
const gchar *first_tag_name ,
... );
Same as gtk_text_buffer_insert_with_tags() , but allows you
to pass in tag names instead of tag objects.
Parameters
buffer
a GtkTextBuffer
iter
position in buffer
text
UTF-8 text
len
length of text
, or -1
first_tag_name
name of a tag to apply to text
...
more tag names
gtk_text_buffer_insert_markup ()
gtk_text_buffer_insert_markup
void
gtk_text_buffer_insert_markup (GtkTextBuffer *buffer ,
GtkTextIter *iter ,
const gchar *markup ,
gint len );
Inserts the text in markup
at position iter
. markup
will be inserted
in its entirety and must be nul-terminated and valid UTF-8. Emits the
“insert-text” signal, possibly multiple times; insertion
actually occurs in the default handler for the signal. iter
will point
to the end of the inserted text on return.
Parameters
buffer
a GtkTextBuffer
iter
location to insert the markup
markup
a nul-terminated UTF-8 string containing Pango markup
len
length of markup
in bytes, or -1
gtk_text_buffer_delete ()
gtk_text_buffer_delete
void
gtk_text_buffer_delete (GtkTextBuffer *buffer ,
GtkTextIter *start ,
GtkTextIter *end );
Deletes text between start
and end
. The order of start
and end
is not actually relevant; gtk_text_buffer_delete() will reorder
them. This function actually emits the “delete-range” signal, and
the default handler of that signal deletes the text. Because the
buffer is modified, all outstanding iterators become invalid after
calling this function; however, the start
and end
will be
re-initialized to point to the location where text was deleted.
Parameters
buffer
a GtkTextBuffer
start
a position in buffer
end
another position in buffer
gtk_text_buffer_delete_interactive ()
gtk_text_buffer_delete_interactive
gboolean
gtk_text_buffer_delete_interactive (GtkTextBuffer *buffer ,
GtkTextIter *start_iter ,
GtkTextIter *end_iter ,
gboolean default_editable );
Deletes all editable text in the given range.
Calls gtk_text_buffer_delete() for each editable sub-range of
[start
,end
). start
and end
are revalidated to point to
the location of the last deleted range, or left untouched if
no text was deleted.
Parameters
buffer
a GtkTextBuffer
start_iter
start of range to delete
end_iter
end of range
default_editable
whether the buffer is editable by default
Returns
whether some text was actually deleted
gtk_text_buffer_backspace ()
gtk_text_buffer_backspace
gboolean
gtk_text_buffer_backspace (GtkTextBuffer *buffer ,
GtkTextIter *iter ,
gboolean interactive ,
gboolean default_editable );
Performs the appropriate action as if the user hit the delete
key with the cursor at the position specified by iter
. In the
normal case a single character will be deleted, but when
combining accents are involved, more than one character can
be deleted, and when precomposed character and accent combinations
are involved, less than one character will be deleted.
Because the buffer is modified, all outstanding iterators become
invalid after calling this function; however, the iter
will be
re-initialized to point to the location where text was deleted.
Parameters
buffer
a GtkTextBuffer
iter
a position in buffer
interactive
whether the deletion is caused by user interaction
default_editable
whether the buffer is editable by default
Returns
TRUE if the buffer was modified
gtk_text_buffer_set_text ()
gtk_text_buffer_set_text
void
gtk_text_buffer_set_text (GtkTextBuffer *buffer ,
const gchar *text ,
gint len );
Deletes current contents of buffer
, and inserts text
instead. If
len
is -1, text
must be nul-terminated. text
must be valid UTF-8.
Parameters
buffer
a GtkTextBuffer
text
UTF-8 text to insert
len
length of text
in bytes
gtk_text_buffer_get_text ()
gtk_text_buffer_get_text
gchar *
gtk_text_buffer_get_text (GtkTextBuffer *buffer ,
const GtkTextIter *start ,
const GtkTextIter *end ,
gboolean include_hidden_chars );
Returns the text in the range [start
,end
). Excludes undisplayed
text (text marked with tags that set the invisibility attribute) if
include_hidden_chars
is FALSE . Does not include characters
representing embedded images, so byte and character indexes into
the returned string do not correspond to byte
and character indexes into the buffer. Contrast with
gtk_text_buffer_get_slice() .
Parameters
buffer
a GtkTextBuffer
start
start of a range
end
end of a range
include_hidden_chars
whether to include invisible text
Returns
an allocated UTF-8 string.
[transfer full ]
gtk_text_buffer_get_slice ()
gtk_text_buffer_get_slice
gchar *
gtk_text_buffer_get_slice (GtkTextBuffer *buffer ,
const GtkTextIter *start ,
const GtkTextIter *end ,
gboolean include_hidden_chars );
Returns the text in the range [start
,end
). Excludes undisplayed
text (text marked with tags that set the invisibility attribute) if
include_hidden_chars
is FALSE . The returned string includes a
0xFFFC character whenever the buffer contains
embedded images, so byte and character indexes into
the returned string do correspond to byte
and character indexes into the buffer. Contrast with
gtk_text_buffer_get_text() . Note that 0xFFFC can occur in normal
text as well, so it is not a reliable indicator that a paintable or
widget is in the buffer.
Parameters
buffer
a GtkTextBuffer
start
start of a range
end
end of a range
include_hidden_chars
whether to include invisible text
Returns
an allocated UTF-8 string.
[transfer full ]
gtk_text_buffer_insert_child_anchor ()
gtk_text_buffer_insert_child_anchor
void
gtk_text_buffer_insert_child_anchor (GtkTextBuffer *buffer ,
GtkTextIter *iter ,
GtkTextChildAnchor *anchor );
Inserts a child widget anchor into the text buffer at iter
. The
anchor will be counted as one character in character counts, and
when obtaining the buffer contents as a string, will be represented
by the Unicode “object replacement character” 0xFFFC. Note that the
“slice” variants for obtaining portions of the buffer as a string
include this character for child anchors, but the “text” variants do
not. E.g. see gtk_text_buffer_get_slice() and
gtk_text_buffer_get_text() . Consider
gtk_text_buffer_create_child_anchor() as a more convenient
alternative to this function. The buffer will add a reference to
the anchor, so you can unref it after insertion.
Parameters
buffer
a GtkTextBuffer
iter
location to insert the anchor
anchor
a GtkTextChildAnchor
gtk_text_buffer_create_child_anchor ()
gtk_text_buffer_create_child_anchor
GtkTextChildAnchor *
gtk_text_buffer_create_child_anchor (GtkTextBuffer *buffer ,
GtkTextIter *iter );
This is a convenience function which simply creates a child anchor
with gtk_text_child_anchor_new() and inserts it into the buffer
with gtk_text_buffer_insert_child_anchor() . The new anchor is
owned by the buffer; no reference count is returned to
the caller of gtk_text_buffer_create_child_anchor() .
Parameters
buffer
a GtkTextBuffer
iter
location in the buffer
Returns
the created child anchor.
[transfer none ]
gtk_text_buffer_create_mark ()
gtk_text_buffer_create_mark
GtkTextMark *
gtk_text_buffer_create_mark (GtkTextBuffer *buffer ,
const gchar *mark_name ,
const GtkTextIter *where ,
gboolean left_gravity );
Creates a mark at position where
. If mark_name
is NULL , the mark
is anonymous; otherwise, the mark can be retrieved by name using
gtk_text_buffer_get_mark() . If a mark has left gravity, and text is
inserted at the mark’s current location, the mark will be moved to
the left of the newly-inserted text. If the mark has right gravity
(left_gravity
= FALSE ), the mark will end up on the right of
newly-inserted text. The standard left-to-right cursor is a mark
with right gravity (when you type, the cursor stays on the right
side of the text you’re typing).
The caller of this function does not own a
reference to the returned GtkTextMark , so you can ignore the
return value if you like. Marks are owned by the buffer and go
away when the buffer does.
Emits the “mark-set” signal as notification of the mark's
initial placement.
Parameters
buffer
a GtkTextBuffer
mark_name
name for mark, or NULL .
[allow-none ]
where
location to place mark
left_gravity
whether the mark has left gravity
Returns
the new GtkTextMark object.
[transfer none ]
gtk_text_buffer_move_mark ()
gtk_text_buffer_move_mark
void
gtk_text_buffer_move_mark (GtkTextBuffer *buffer ,
GtkTextMark *mark ,
const GtkTextIter *where );
Moves mark
to the new location where
. Emits the “mark-set”
signal as notification of the move.
Parameters
buffer
a GtkTextBuffer
mark
a GtkTextMark
where
new location for mark
in buffer
gtk_text_buffer_move_mark_by_name ()
gtk_text_buffer_move_mark_by_name
void
gtk_text_buffer_move_mark_by_name (GtkTextBuffer *buffer ,
const gchar *name ,
const GtkTextIter *where );
Moves the mark named name
(which must exist) to location where
.
See gtk_text_buffer_move_mark() for details.
Parameters
buffer
a GtkTextBuffer
name
name of a mark
where
new location for mark
gtk_text_buffer_add_mark ()
gtk_text_buffer_add_mark
void
gtk_text_buffer_add_mark (GtkTextBuffer *buffer ,
GtkTextMark *mark ,
const GtkTextIter *where );
Adds the mark at position where
. The mark must not be added to
another buffer, and if its name is not NULL then there must not
be another mark in the buffer with the same name.
Emits the “mark-set” signal as notification of the mark's
initial placement.
Parameters
buffer
a GtkTextBuffer
mark
the mark to add
where
location to place mark
gtk_text_buffer_delete_mark ()
gtk_text_buffer_delete_mark
void
gtk_text_buffer_delete_mark (GtkTextBuffer *buffer ,
GtkTextMark *mark );
Deletes mark
, so that it’s no longer located anywhere in the
buffer. Removes the reference the buffer holds to the mark, so if
you haven’t called g_object_ref() on the mark, it will be freed. Even
if the mark isn’t freed, most operations on mark
become
invalid, until it gets added to a buffer again with
gtk_text_buffer_add_mark() . Use gtk_text_mark_get_deleted() to
find out if a mark has been removed from its buffer.
The “mark-deleted” signal will be emitted as notification after
the mark is deleted.
Parameters
buffer
a GtkTextBuffer
mark
a GtkTextMark in buffer
gtk_text_buffer_delete_mark_by_name ()
gtk_text_buffer_delete_mark_by_name
void
gtk_text_buffer_delete_mark_by_name (GtkTextBuffer *buffer ,
const gchar *name );
Deletes the mark named name
; the mark must exist. See
gtk_text_buffer_delete_mark() for details.
Parameters
buffer
a GtkTextBuffer
name
name of a mark in buffer
gtk_text_buffer_get_mark ()
gtk_text_buffer_get_mark
GtkTextMark *
gtk_text_buffer_get_mark (GtkTextBuffer *buffer ,
const gchar *name );
Returns the mark named name
in buffer buffer
, or NULL if no such
mark exists in the buffer.
Parameters
buffer
a GtkTextBuffer
name
a mark name
Returns
a GtkTextMark , or NULL .
[nullable ][transfer none ]
gtk_text_buffer_get_insert ()
gtk_text_buffer_get_insert
GtkTextMark *
gtk_text_buffer_get_insert (GtkTextBuffer *buffer );
Returns the mark that represents the cursor (insertion point).
Equivalent to calling gtk_text_buffer_get_mark() to get the mark
named “insert”, but very slightly more efficient, and involves less
typing.
Parameters
buffer
a GtkTextBuffer
Returns
insertion point mark.
[transfer none ]
gtk_text_buffer_get_selection_bound ()
gtk_text_buffer_get_selection_bound
GtkTextMark *
gtk_text_buffer_get_selection_bound (GtkTextBuffer *buffer );
Returns the mark that represents the selection bound. Equivalent
to calling gtk_text_buffer_get_mark() to get the mark named
“selection_bound”, but very slightly more efficient, and involves
less typing.
The currently-selected text in buffer
is the region between the
“selection_bound” and “insert” marks. If “selection_bound” and
“insert” are in the same place, then there is no current selection.
gtk_text_buffer_get_selection_bounds() is another convenient function
for handling the selection, if you just want to know whether there’s a
selection and what its bounds are.
Parameters
buffer
a GtkTextBuffer
Returns
selection bound mark.
[transfer none ]
gtk_text_buffer_get_has_selection ()
gtk_text_buffer_get_has_selection
gboolean
gtk_text_buffer_get_has_selection (GtkTextBuffer *buffer );
Indicates whether the buffer has some text currently selected.
Parameters
buffer
a GtkTextBuffer
Returns
TRUE if the there is text selected
gtk_text_buffer_place_cursor ()
gtk_text_buffer_place_cursor
void
gtk_text_buffer_place_cursor (GtkTextBuffer *buffer ,
const GtkTextIter *where );
This function moves the “insert” and “selection_bound” marks
simultaneously. If you move them to the same place in two steps
with gtk_text_buffer_move_mark() , you will temporarily select a
region in between their old and new locations, which can be pretty
inefficient since the temporarily-selected region will force stuff
to be recalculated. This function moves them as a unit, which can
be optimized.
Parameters
buffer
a GtkTextBuffer
where
where to put the cursor
gtk_text_buffer_select_range ()
gtk_text_buffer_select_range
void
gtk_text_buffer_select_range (GtkTextBuffer *buffer ,
const GtkTextIter *ins ,
const GtkTextIter *bound );
This function moves the “insert” and “selection_bound” marks
simultaneously. If you move them in two steps
with gtk_text_buffer_move_mark() , you will temporarily select a
region in between their old and new locations, which can be pretty
inefficient since the temporarily-selected region will force stuff
to be recalculated. This function moves them as a unit, which can
be optimized.
Parameters
buffer
a GtkTextBuffer
ins
where to put the “insert” mark
bound
where to put the “selection_bound” mark
gtk_text_buffer_apply_tag ()
gtk_text_buffer_apply_tag
void
gtk_text_buffer_apply_tag (GtkTextBuffer *buffer ,
GtkTextTag *tag ,
const GtkTextIter *start ,
const GtkTextIter *end );
Emits the “apply-tag” signal on buffer
. The default
handler for the signal applies tag
to the given range.
start
and end
do not have to be in order.
Parameters
buffer
a GtkTextBuffer
tag
a GtkTextTag
start
one bound of range to be tagged
end
other bound of range to be tagged
gtk_text_buffer_remove_tag ()
gtk_text_buffer_remove_tag
void
gtk_text_buffer_remove_tag (GtkTextBuffer *buffer ,
GtkTextTag *tag ,
const GtkTextIter *start ,
const GtkTextIter *end );
Emits the “remove-tag” signal. The default handler for the signal
removes all occurrences of tag
from the given range. start
and
end
don’t have to be in order.
Parameters
buffer
a GtkTextBuffer
tag
a GtkTextTag
start
one bound of range to be untagged
end
other bound of range to be untagged
gtk_text_buffer_apply_tag_by_name ()
gtk_text_buffer_apply_tag_by_name
void
gtk_text_buffer_apply_tag_by_name (GtkTextBuffer *buffer ,
const gchar *name ,
const GtkTextIter *start ,
const GtkTextIter *end );
Calls gtk_text_tag_table_lookup() on the buffer’s tag table to
get a GtkTextTag , then calls gtk_text_buffer_apply_tag() .
Parameters
buffer
a GtkTextBuffer
name
name of a named GtkTextTag
start
one bound of range to be tagged
end
other bound of range to be tagged
gtk_text_buffer_remove_tag_by_name ()
gtk_text_buffer_remove_tag_by_name
void
gtk_text_buffer_remove_tag_by_name (GtkTextBuffer *buffer ,
const gchar *name ,
const GtkTextIter *start ,
const GtkTextIter *end );
Calls gtk_text_tag_table_lookup() on the buffer’s tag table to
get a GtkTextTag , then calls gtk_text_buffer_remove_tag() .
Parameters
buffer
a GtkTextBuffer
name
name of a GtkTextTag
start
one bound of range to be untagged
end
other bound of range to be untagged
gtk_text_buffer_remove_all_tags ()
gtk_text_buffer_remove_all_tags
void
gtk_text_buffer_remove_all_tags (GtkTextBuffer *buffer ,
const GtkTextIter *start ,
const GtkTextIter *end );
Removes all tags in the range between start
and end
. Be careful
with this function; it could remove tags added in code unrelated to
the code you’re currently writing. That is, using this function is
probably a bad idea if you have two or more unrelated code sections
that add tags.
Parameters
buffer
a GtkTextBuffer
start
one bound of range to be untagged
end
other bound of range to be untagged
gtk_text_buffer_create_tag ()
gtk_text_buffer_create_tag
GtkTextTag *
gtk_text_buffer_create_tag (GtkTextBuffer *buffer ,
const gchar *tag_name ,
const gchar *first_property_name ,
... );
Creates a tag and adds it to the tag table for buffer
.
Equivalent to calling gtk_text_tag_new() and then adding the
tag to the buffer’s tag table. The returned tag is owned by
the buffer’s tag table, so the ref count will be equal to one.
If tag_name
is NULL , the tag is anonymous.
If tag_name
is non-NULL , a tag called tag_name
must not already
exist in the tag table for this buffer.
The first_property_name
argument and subsequent arguments are a list
of properties to set on the tag, as with g_object_set() .
Parameters
buffer
a GtkTextBuffer
tag_name
name of the new tag, or NULL .
[allow-none ]
first_property_name
name of first property to set, or NULL .
[allow-none ]
...
NULL -terminated list of property names and values
Returns
a new tag.
[transfer none ]
gtk_text_buffer_get_iter_at_line_offset ()
gtk_text_buffer_get_iter_at_line_offset
void
gtk_text_buffer_get_iter_at_line_offset
(GtkTextBuffer *buffer ,
GtkTextIter *iter ,
gint line_number ,
gint char_offset );
Obtains an iterator pointing to char_offset
within the given line. Note
characters, not bytes; UTF-8 may encode one character as multiple bytes.
Before the 3.20 version, it was not allowed to pass an invalid location.
If line_number
is greater than the number of lines
in the buffer
, the end iterator is returned. And if char_offset
is off the
end of the line, the iterator at the end of the line is returned.
Parameters
buffer
a GtkTextBuffer
iter
iterator to initialize.
[out ]
line_number
line number counting from 0
char_offset
char offset from start of line
gtk_text_buffer_get_iter_at_offset ()
gtk_text_buffer_get_iter_at_offset
void
gtk_text_buffer_get_iter_at_offset (GtkTextBuffer *buffer ,
GtkTextIter *iter ,
gint char_offset );
Initializes iter
to a position char_offset
chars from the start
of the entire buffer. If char_offset
is -1 or greater than the number
of characters in the buffer, iter
is initialized to the end iterator,
the iterator one past the last valid character in the buffer.
Parameters
buffer
a GtkTextBuffer
iter
iterator to initialize.
[out ]
char_offset
char offset from start of buffer, counting from 0, or -1
gtk_text_buffer_get_iter_at_line ()
gtk_text_buffer_get_iter_at_line
void
gtk_text_buffer_get_iter_at_line (GtkTextBuffer *buffer ,
GtkTextIter *iter ,
gint line_number );
Initializes iter
to the start of the given line. If line_number
is greater
than the number of lines in the buffer
, the end iterator is returned.
Parameters
buffer
a GtkTextBuffer
iter
iterator to initialize.
[out ]
line_number
line number counting from 0
gtk_text_buffer_get_iter_at_line_index ()
gtk_text_buffer_get_iter_at_line_index
void
gtk_text_buffer_get_iter_at_line_index
(GtkTextBuffer *buffer ,
GtkTextIter *iter ,
gint line_number ,
gint byte_index );
Obtains an iterator pointing to byte_index
within the given line.
byte_index
must be the start of a UTF-8 character. Note bytes, not
characters; UTF-8 may encode one character as multiple bytes.
If line_number
is greater than the number of lines
in the buffer
, the end iterator is returned. And if byte_index
is off the
end of the line, the iterator at the end of the line is returned.
Parameters
buffer
a GtkTextBuffer
iter
iterator to initialize.
[out ]
line_number
line number counting from 0
byte_index
byte index from start of line
gtk_text_buffer_get_iter_at_mark ()
gtk_text_buffer_get_iter_at_mark
void
gtk_text_buffer_get_iter_at_mark (GtkTextBuffer *buffer ,
GtkTextIter *iter ,
GtkTextMark *mark );
Initializes iter
with the current position of mark
.
Parameters
buffer
a GtkTextBuffer
iter
iterator to initialize.
[out ]
mark
a GtkTextMark in buffer
gtk_text_buffer_get_iter_at_child_anchor ()
gtk_text_buffer_get_iter_at_child_anchor
void
gtk_text_buffer_get_iter_at_child_anchor
(GtkTextBuffer *buffer ,
GtkTextIter *iter ,
GtkTextChildAnchor *anchor );
Obtains the location of anchor
within buffer
.
Parameters
buffer
a GtkTextBuffer
iter
an iterator to be initialized.
[out ]
anchor
a child anchor that appears in buffer
gtk_text_buffer_get_start_iter ()
gtk_text_buffer_get_start_iter
void
gtk_text_buffer_get_start_iter (GtkTextBuffer *buffer ,
GtkTextIter *iter );
Initialized iter
with the first position in the text buffer. This
is the same as using gtk_text_buffer_get_iter_at_offset() to get
the iter at character offset 0.
Parameters
buffer
a GtkTextBuffer
iter
iterator to initialize.
[out ]
gtk_text_buffer_get_end_iter ()
gtk_text_buffer_get_end_iter
void
gtk_text_buffer_get_end_iter (GtkTextBuffer *buffer ,
GtkTextIter *iter );
Initializes iter
with the “end iterator,” one past the last valid
character in the text buffer. If dereferenced with
gtk_text_iter_get_char() , the end iterator has a character value of 0.
The entire buffer lies in the range from the first position in
the buffer (call gtk_text_buffer_get_start_iter() to get
character position 0) to the end iterator.
Parameters
buffer
a GtkTextBuffer
iter
iterator to initialize.
[out ]
gtk_text_buffer_get_bounds ()
gtk_text_buffer_get_bounds
void
gtk_text_buffer_get_bounds (GtkTextBuffer *buffer ,
GtkTextIter *start ,
GtkTextIter *end );
Retrieves the first and last iterators in the buffer, i.e. the
entire buffer lies within the range [start
,end
).
Parameters
buffer
a GtkTextBuffer
start
iterator to initialize with first position in the buffer.
[out ]
end
iterator to initialize with the end iterator.
[out ]
gtk_text_buffer_get_modified ()
gtk_text_buffer_get_modified
gboolean
gtk_text_buffer_get_modified (GtkTextBuffer *buffer );
Indicates whether the buffer has been modified since the last call
to gtk_text_buffer_set_modified() set the modification flag to
FALSE . Used for example to enable a “save” function in a text
editor.
Parameters
buffer
a GtkTextBuffer
Returns
TRUE if the buffer has been modified
gtk_text_buffer_set_modified ()
gtk_text_buffer_set_modified
void
gtk_text_buffer_set_modified (GtkTextBuffer *buffer ,
gboolean setting );
Used to keep track of whether the buffer has been modified since the
last time it was saved. Whenever the buffer is saved to disk, call
gtk_text_buffer_set_modified (buffer
, FALSE). When the buffer is modified,
it will automatically toggled on the modified bit again. When the modified
bit flips, the buffer emits the “modified-changed” signal.
Parameters
buffer
a GtkTextBuffer
setting
modification flag setting
gtk_text_buffer_delete_selection ()
gtk_text_buffer_delete_selection
gboolean
gtk_text_buffer_delete_selection (GtkTextBuffer *buffer ,
gboolean interactive ,
gboolean default_editable );
Deletes the range between the “insert” and “selection_bound” marks,
that is, the currently-selected text. If interactive
is TRUE ,
the editability of the selection will be considered (users can’t delete
uneditable text).
Parameters
buffer
a GtkTextBuffer
interactive
whether the deletion is caused by user interaction
default_editable
whether the buffer is editable by default
Returns
whether there was a non-empty selection to delete
gtk_text_buffer_paste_clipboard ()
gtk_text_buffer_paste_clipboard
void
gtk_text_buffer_paste_clipboard (GtkTextBuffer *buffer ,
GdkClipboard *clipboard ,
GtkTextIter *override_location ,
gboolean default_editable );
Pastes the contents of a clipboard. If override_location
is NULL , the
pasted text will be inserted at the cursor position, or the buffer selection
will be replaced if the selection is non-empty.
Note: pasting is asynchronous, that is, we’ll ask for the paste data and
return, and at some point later after the main loop runs, the paste data will
be inserted.
Parameters
buffer
a GtkTextBuffer
clipboard
the GdkClipboard to paste from
override_location
location to insert pasted text, or NULL .
[allow-none ]
default_editable
whether the buffer is editable by default
gtk_text_buffer_copy_clipboard ()
gtk_text_buffer_copy_clipboard
void
gtk_text_buffer_copy_clipboard (GtkTextBuffer *buffer ,
GdkClipboard *clipboard );
Copies the currently-selected text to a clipboard.
Parameters
buffer
a GtkTextBuffer
clipboard
the GdkClipboard object to copy to
gtk_text_buffer_cut_clipboard ()
gtk_text_buffer_cut_clipboard
void
gtk_text_buffer_cut_clipboard (GtkTextBuffer *buffer ,
GdkClipboard *clipboard ,
gboolean default_editable );
Copies the currently-selected text to a clipboard, then deletes
said text if it’s editable.
Parameters
buffer
a GtkTextBuffer
clipboard
the GdkClipboard object to cut to
default_editable
default editability of the buffer
gtk_text_buffer_get_selection_bounds ()
gtk_text_buffer_get_selection_bounds
gboolean
gtk_text_buffer_get_selection_bounds (GtkTextBuffer *buffer ,
GtkTextIter *start ,
GtkTextIter *end );
Returns TRUE if some text is selected; places the bounds
of the selection in start
and end
(if the selection has length 0,
then start
and end
are filled in with the same value).
start
and end
will be in ascending order. If start
and end
are
NULL, then they are not filled in, but the return value still indicates
whether text is selected.
Parameters
buffer
a GtkTextBuffer a GtkTextBuffer
start
iterator to initialize with selection start.
[out ]
end
iterator to initialize with selection end.
[out ]
Returns
whether the selection has nonzero length
gtk_text_buffer_begin_user_action ()
gtk_text_buffer_begin_user_action
void
gtk_text_buffer_begin_user_action (GtkTextBuffer *buffer );
Called to indicate that the buffer operations between here and a
call to gtk_text_buffer_end_user_action() are part of a single
user-visible operation. The operations between
gtk_text_buffer_begin_user_action() and
gtk_text_buffer_end_user_action() can then be grouped when creating
an undo stack. GtkTextBuffer maintains a count of calls to
gtk_text_buffer_begin_user_action() that have not been closed with
a call to gtk_text_buffer_end_user_action() , and emits the
“begin-user-action” and “end-user-action” signals only for the
outermost pair of calls. This allows you to build user actions
from other user actions.
The “interactive” buffer mutation functions, such as
gtk_text_buffer_insert_interactive() , automatically call begin/end
user action around the buffer operations they perform, so there's
no need to add extra calls if you user action consists solely of a
single call to one of those functions.
Parameters
buffer
a GtkTextBuffer
gtk_text_buffer_end_user_action ()
gtk_text_buffer_end_user_action
void
gtk_text_buffer_end_user_action (GtkTextBuffer *buffer );
Should be paired with a call to gtk_text_buffer_begin_user_action() .
See that function for a full explanation.
Parameters
buffer
a GtkTextBuffer
gtk_text_buffer_add_selection_clipboard ()
gtk_text_buffer_add_selection_clipboard
void
gtk_text_buffer_add_selection_clipboard
(GtkTextBuffer *buffer ,
GdkClipboard *clipboard );
Adds clipboard
to the list of clipboards in which the selection
contents of buffer
are available. In most cases, clipboard
will be
the GdkClipboard returned by gdk_widget_get_primary_clipboard()
for a view of buffer
.
Parameters
buffer
a GtkTextBuffer
clipboard
a GdkClipboard
gtk_text_buffer_remove_selection_clipboard ()
gtk_text_buffer_remove_selection_clipboard
void
gtk_text_buffer_remove_selection_clipboard
(GtkTextBuffer *buffer ,
GdkClipboard *clipboard );
Removes a GdkClipboard added with
gtk_text_buffer_add_selection_clipboard() .
Parameters
buffer
a GtkTextBuffer
clipboard
a GdkClipboard added to buffer
by
gtk_text_buffer_add_selection_clipboard()
gtk_text_buffer_get_can_undo ()
gtk_text_buffer_get_can_undo
gboolean
gtk_text_buffer_get_can_undo (GtkTextBuffer *buffer );
gtk_text_buffer_get_can_redo ()
gtk_text_buffer_get_can_redo
gboolean
gtk_text_buffer_get_can_redo (GtkTextBuffer *buffer );
gtk_text_buffer_get_enable_undo ()
gtk_text_buffer_get_enable_undo
gboolean
gtk_text_buffer_get_enable_undo (GtkTextBuffer *buffer );
Gets whether the buffer is saving modifications to the buffer to allow for
undo and redo actions.
See gtk_text_buffer_begin_irreversible_action() and
gtk_text_buffer_end_irreversible_action() to create changes to the buffer
that cannot be undone.
Parameters
buffer
a GtkTextBuffer
gtk_text_buffer_set_enable_undo ()
gtk_text_buffer_set_enable_undo
void
gtk_text_buffer_set_enable_undo (GtkTextBuffer *buffer ,
gboolean enable_undo );
Sets whether or not to enable undoable actions in the text buffer. If
enabled, the user will be able to undo the last number of actions up to
gtk_text_buffer_get_max_undo_levels() .
See gtk_text_buffer_begin_irreversible_action() and
gtk_text_buffer_end_irreversible_action() to create changes to the buffer
that cannot be undone.
Parameters
buffer
a GtkTextBuffer
gtk_text_buffer_get_max_undo_levels ()
gtk_text_buffer_get_max_undo_levels
guint
gtk_text_buffer_get_max_undo_levels (GtkTextBuffer *buffer );
Gets the maximum number of undo levels to perform. If 0, unlimited undo
actions may be performed. Note that this may have a memory usage impact
as it requires storing an additional copy of the inserted or removed text
within the text buffer.
Parameters
buffer
a GtkTextBuffer
gtk_text_buffer_set_max_undo_levels ()
gtk_text_buffer_set_max_undo_levels
void
gtk_text_buffer_set_max_undo_levels (GtkTextBuffer *buffer ,
guint max_undo_levels );
Sets the maximum number of undo levels to perform. If 0, unlimited undo
actions may be performed. Note that this may have a memory usage impact
as it requires storing an additional copy of the inserted or removed text
within the text buffer.
Parameters
buffer
a GtkTextBuffer
max_undo_levels
the maximum number of undo actions to perform
gtk_text_buffer_undo ()
gtk_text_buffer_undo
void
gtk_text_buffer_undo (GtkTextBuffer *buffer );
Undoes the last undoable action on the buffer, if there is one.
Parameters
buffer
a GtkTextBuffer
gtk_text_buffer_redo ()
gtk_text_buffer_redo
void
gtk_text_buffer_redo (GtkTextBuffer *buffer );
Redoes the next redoable action on the buffer, if there is one.
Parameters
buffer
a GtkTextBuffer
gtk_text_buffer_begin_irreversible_action ()
gtk_text_buffer_begin_irreversible_action
void
gtk_text_buffer_begin_irreversible_action
(GtkTextBuffer *buffer );
Denotes the beginning of an action that may not be undone. This will cause
any previous operations in the undo/redo queue to be cleared.
This should be paired with a call to
gtk_text_buffer_end_irreversible_action() after the irreversible action
has completed.
You may nest calls to gtk_text_buffer_begin_irreversible_action() and
gtk_text_buffer_end_irreversible_action() pairs.
Parameters
buffer
a Gtktextbuffer
gtk_text_buffer_end_irreversible_action ()
gtk_text_buffer_end_irreversible_action
void
gtk_text_buffer_end_irreversible_action
(GtkTextBuffer *buffer );
Denotes the end of an action that may not be undone. This will cause
any previous operations in the undo/redo queue to be cleared.
This should be called after completing modifications to the text buffer
after gtk_text_buffer_begin_irreversible_action() was called.
You may nest calls to gtk_text_buffer_begin_irreversible_action() and
gtk_text_buffer_end_irreversible_action() pairs.
Parameters
buffer
a Gtktextbuffer
Property Details
The “can-redo” property
GtkTextBuffer:can-redo
“can-redo” gboolean
The :can-redo property denotes that the buffer can reapply the
last undone action.
Owner: GtkTextBuffer
Flags: Read
Default value: FALSE
The “can-undo” property
GtkTextBuffer:can-undo
“can-undo” gboolean
The :can-undo property denotes that the buffer can undo the last
applied action.
Owner: GtkTextBuffer
Flags: Read
Default value: FALSE
The “copy-target-list” property
GtkTextBuffer:copy-target-list
“copy-target-list” GdkContentFormats *
The list of targets this buffer supports for clipboard copying
and as DND source.
Owner: GtkTextBuffer
Flags: Read
The “cursor-position” property
GtkTextBuffer:cursor-position
“cursor-position” gint
The position of the insert mark (as offset from the beginning
of the buffer). It is useful for getting notified when the
cursor moves.
Owner: GtkTextBuffer
Flags: Read
Allowed values: >= 0
Default value: 0
The “enable-undo” property
GtkTextBuffer:enable-undo
“enable-undo” gboolean
The :enable-undo property denotes if support for undoing and redoing
changes to the buffer is allowed.
Owner: GtkTextBuffer
Flags: Read / Write
Default value: TRUE
The “has-selection” property
GtkTextBuffer:has-selection
“has-selection” gboolean
Whether the buffer has some text currently selected.
Owner: GtkTextBuffer
Flags: Read
Default value: FALSE
The “paste-target-list” property
GtkTextBuffer:paste-target-list
“paste-target-list” GdkContentFormats *
The list of targets this buffer supports for clipboard pasting
and as DND destination.
Owner: GtkTextBuffer
Flags: Read
The “tag-table” property
GtkTextBuffer:tag-table
“tag-table” GtkTextTagTable *
Text Tag Table. Owner: GtkTextBuffer
Flags: Read / Write / Construct Only
The “text” property
GtkTextBuffer:text
“text” gchar *
The text content of the buffer. Without child widgets and images,
see gtk_text_buffer_get_text() for more information.
Owner: GtkTextBuffer
Flags: Read / Write
Default value: ""
Signal Details
The “apply-tag” signal
GtkTextBuffer::apply-tag
void
user_function (GtkTextBuffer *textbuffer,
GtkTextTag *tag,
GtkTextIter *start,
GtkTextIter *end,
gpointer user_data)
The ::apply-tag signal is emitted to apply a tag to a
range of text in a GtkTextBuffer .
Applying actually occurs in the default handler.
Note that if your handler runs before the default handler it must not
invalidate the start
and end
iters (or has to revalidate them).
See also:
gtk_text_buffer_apply_tag() ,
gtk_text_buffer_insert_with_tags() ,
gtk_text_buffer_insert_range() .
Parameters
textbuffer
the object which received the signal
tag
the applied tag
start
the start of the range the tag is applied to
end
the end of the range the tag is applied to
user_data
user data set when the signal handler was connected.
Flags: Run Last
The “begin-user-action” signal
GtkTextBuffer::begin-user-action
void
user_function (GtkTextBuffer *textbuffer,
gpointer user_data)
The ::begin-user-action signal is emitted at the beginning of a single
user-visible operation on a GtkTextBuffer .
See also:
gtk_text_buffer_begin_user_action() ,
gtk_text_buffer_insert_interactive() ,
gtk_text_buffer_insert_range_interactive() ,
gtk_text_buffer_delete_interactive() ,
gtk_text_buffer_backspace() ,
gtk_text_buffer_delete_selection() .
Parameters
textbuffer
the object which received the signal
user_data
user data set when the signal handler was connected.
Flags: Run Last
The “changed” signal
GtkTextBuffer::changed
void
user_function (GtkTextBuffer *textbuffer,
gpointer user_data)
The ::changed signal is emitted when the content of a GtkTextBuffer
has changed.
Parameters
textbuffer
the object which received the signal
user_data
user data set when the signal handler was connected.
Flags: Run Last
The “delete-range” signal
GtkTextBuffer::delete-range
void
user_function (GtkTextBuffer *textbuffer,
GtkTextIter *start,
GtkTextIter *end,
gpointer user_data)
The ::delete-range signal is emitted to delete a range
from a GtkTextBuffer .
Note that if your handler runs before the default handler it must not
invalidate the start
and end
iters (or has to revalidate them).
The default signal handler revalidates the start
and end
iters to
both point to the location where text was deleted. Handlers
which run after the default handler (see g_signal_connect_after() )
do not have access to the deleted text.
See also: gtk_text_buffer_delete() .
Parameters
textbuffer
the object which received the signal
start
the start of the range to be deleted
end
the end of the range to be deleted
user_data
user data set when the signal handler was connected.
Flags: Run Last
The “end-user-action” signal
GtkTextBuffer::end-user-action
void
user_function (GtkTextBuffer *textbuffer,
gpointer user_data)
The ::end-user-action signal is emitted at the end of a single
user-visible operation on the GtkTextBuffer .
See also:
gtk_text_buffer_end_user_action() ,
gtk_text_buffer_insert_interactive() ,
gtk_text_buffer_insert_range_interactive() ,
gtk_text_buffer_delete_interactive() ,
gtk_text_buffer_backspace() ,
gtk_text_buffer_delete_selection() ,
gtk_text_buffer_backspace() .
Parameters
textbuffer
the object which received the signal
user_data
user data set when the signal handler was connected.
Flags: Run Last
The “insert-child-anchor” signal
GtkTextBuffer::insert-child-anchor
void
user_function (GtkTextBuffer *textbuffer,
GtkTextIter *location,
GtkTextChildAnchor *anchor,
gpointer user_data)
The ::insert-child-anchor signal is emitted to insert a
GtkTextChildAnchor in a GtkTextBuffer .
Insertion actually occurs in the default handler.
Note that if your handler runs before the default handler it must
not invalidate the location
iter (or has to revalidate it).
The default signal handler revalidates it to be placed after the
inserted anchor
.
See also: gtk_text_buffer_insert_child_anchor() .
Parameters
textbuffer
the object which received the signal
location
position to insert anchor
in textbuffer
anchor
the GtkTextChildAnchor to be inserted
user_data
user data set when the signal handler was connected.
Flags: Run Last
The “insert-paintable” signal
GtkTextBuffer::insert-paintable
void
user_function (GtkTextBuffer *textbuffer,
GtkTextIter *location,
GdkPaintable *paintable,
gpointer user_data)
The ::insert-paintable signal is emitted to insert a GdkPaintable
in a GtkTextBuffer . Insertion actually occurs in the default handler.
Note that if your handler runs before the default handler it must not
invalidate the location
iter (or has to revalidate it).
The default signal handler revalidates it to be placed after the
inserted paintable
.
See also: gtk_text_buffer_insert_paintable() .
Parameters
textbuffer
the object which received the signal
location
position to insert paintable
in textbuffer
paintable
the GdkPaintable to be inserted
user_data
user data set when the signal handler was connected.
Flags: Run Last
The “insert-text” signal
GtkTextBuffer::insert-text
void
user_function (GtkTextBuffer *textbuffer,
GtkTextIter *location,
gchar *text,
gint len,
gpointer user_data)
The ::insert-text signal is emitted to insert text in a GtkTextBuffer .
Insertion actually occurs in the default handler.
Note that if your handler runs before the default handler it must not
invalidate the location
iter (or has to revalidate it).
The default signal handler revalidates it to point to the end of the
inserted text.
See also:
gtk_text_buffer_insert() ,
gtk_text_buffer_insert_range() .
Parameters
textbuffer
the object which received the signal
location
position to insert text
in textbuffer
text
the UTF-8 text to be inserted
len
length of the inserted text in bytes
user_data
user data set when the signal handler was connected.
Flags: Run Last
The “mark-deleted” signal
GtkTextBuffer::mark-deleted
void
user_function (GtkTextBuffer *textbuffer,
GtkTextMark *mark,
gpointer user_data)
The ::mark-deleted signal is emitted as notification
after a GtkTextMark is deleted.
See also:
gtk_text_buffer_delete_mark() .
Parameters
textbuffer
the object which received the signal
mark
The mark that was deleted
user_data
user data set when the signal handler was connected.
Flags: Run Last
The “mark-set” signal
GtkTextBuffer::mark-set
void
user_function (GtkTextBuffer *textbuffer,
GtkTextIter *location,
GtkTextMark *mark,
gpointer user_data)
The ::mark-set signal is emitted as notification
after a GtkTextMark is set.
See also:
gtk_text_buffer_create_mark() ,
gtk_text_buffer_move_mark() .
Parameters
textbuffer
the object which received the signal
location
The location of mark
in textbuffer
mark
The mark that is set
user_data
user data set when the signal handler was connected.
Flags: Run Last
The “modified-changed” signal
GtkTextBuffer::modified-changed
void
user_function (GtkTextBuffer *textbuffer,
gpointer user_data)
The ::modified-changed signal is emitted when the modified bit of a
GtkTextBuffer flips.
See also:
gtk_text_buffer_set_modified() .
Parameters
textbuffer
the object which received the signal
user_data
user data set when the signal handler was connected.
Flags: Run Last
The “paste-done” signal
GtkTextBuffer::paste-done
void
user_function (GtkTextBuffer *textbuffer,
GdkClipboard *clipboard,
gpointer user_data)
The paste-done signal is emitted after paste operation has been completed.
This is useful to properly scroll the view to the end of the pasted text.
See gtk_text_buffer_paste_clipboard() for more details.
Parameters
textbuffer
the object which received the signal
clipboard
the GdkClipboard pasted from
user_data
user data set when the signal handler was connected.
Flags: Run Last
The “redo” signal
GtkTextBuffer::redo
void
user_function (GtkTextBuffer *buffer,
gpointer user_data)
The "redo" signal is emitted when a request has been made to redo the
previously undone operation.
Parameters
buffer
a GtkTextBuffer
user_data
user data set when the signal handler was connected.
Flags: Run Last
The “remove-tag” signal
GtkTextBuffer::remove-tag
void
user_function (GtkTextBuffer *textbuffer,
GtkTextTag *tag,
GtkTextIter *start,
GtkTextIter *end,
gpointer user_data)
The ::remove-tag signal is emitted to remove all occurrences of tag
from
a range of text in a GtkTextBuffer .
Removal actually occurs in the default handler.
Note that if your handler runs before the default handler it must not
invalidate the start
and end
iters (or has to revalidate them).
See also:
gtk_text_buffer_remove_tag() .
Parameters
textbuffer
the object which received the signal
tag
the tag to be removed
start
the start of the range the tag is removed from
end
the end of the range the tag is removed from
user_data
user data set when the signal handler was connected.
Flags: Run Last
The “undo” signal
GtkTextBuffer::undo
void
user_function (GtkTextBuffer *buffer,
gpointer user_data)
The "undo" signal is emitted when a request has been made to undo the
previous operation or set of operations that have been grouped together.
Parameters
buffer
a GtkTextBuffer
user_data
user data set when the signal handler was connected.
Flags: Run Last
See Also
GtkTextView , GtkTextIter , GtkTextMark
docs/reference/gtk/xml/gtkfontbutton.xml 0000664 0001750 0001750 00000052505 13617646201 020630 0 ustar mclasen mclasen
]>
GtkFontButton
3
GTK4 Library
GtkFontButton
A button to launch a font chooser dialog
Functions
GtkWidget *
gtk_font_button_new ()
GtkWidget *
gtk_font_button_new_with_font ()
void
gtk_font_button_set_use_font ()
gboolean
gtk_font_button_get_use_font ()
void
gtk_font_button_set_use_size ()
gboolean
gtk_font_button_get_use_size ()
void
gtk_font_button_set_title ()
const gchar *
gtk_font_button_get_title ()
Properties
gchar * titleRead / Write
gboolean use-fontRead / Write
gboolean use-sizeRead / Write
Signals
void font-set Run First
Types and Values
GtkFontButton
Object Hierarchy
GObject
╰── GInitiallyUnowned
╰── GtkWidget
╰── GtkFontButton
Implemented Interfaces
GtkFontButton implements
AtkImplementorIface, GtkBuildable, GtkConstraintTarget and GtkFontChooser.
Includes #include <gtk/gtk.h>
Description
The GtkFontButton is a button which displays the currently selected
font an allows to open a font chooser dialog to change the font.
It is suitable widget for selecting a font in a preference dialog.
CSS nodes GtkFontButton has a single CSS node with name fontbutton.
Functions
gtk_font_button_new ()
gtk_font_button_new
GtkWidget *
gtk_font_button_new (void );
Creates a new font picker widget.
Returns
a new font picker widget.
gtk_font_button_new_with_font ()
gtk_font_button_new_with_font
GtkWidget *
gtk_font_button_new_with_font (const gchar *fontname );
Creates a new font picker widget.
Parameters
fontname
Name of font to display in font chooser dialog
Returns
a new font picker widget.
gtk_font_button_set_use_font ()
gtk_font_button_set_use_font
void
gtk_font_button_set_use_font (GtkFontButton *font_button ,
gboolean use_font );
If use_font
is TRUE , the font name will be written using the selected font.
Parameters
font_button
a GtkFontButton
use_font
If TRUE , font name will be written using font chosen.
gtk_font_button_get_use_font ()
gtk_font_button_get_use_font
gboolean
gtk_font_button_get_use_font (GtkFontButton *font_button );
Returns whether the selected font is used in the label.
Parameters
font_button
a GtkFontButton
Returns
whether the selected font is used in the label.
gtk_font_button_set_use_size ()
gtk_font_button_set_use_size
void
gtk_font_button_set_use_size (GtkFontButton *font_button ,
gboolean use_size );
If use_size
is TRUE , the font name will be written using the selected size.
Parameters
font_button
a GtkFontButton
use_size
If TRUE , font name will be written using the selected size.
gtk_font_button_get_use_size ()
gtk_font_button_get_use_size
gboolean
gtk_font_button_get_use_size (GtkFontButton *font_button );
Returns whether the selected size is used in the label.
Parameters
font_button
a GtkFontButton
Returns
whether the selected size is used in the label.
gtk_font_button_set_title ()
gtk_font_button_set_title
void
gtk_font_button_set_title (GtkFontButton *font_button ,
const gchar *title );
Sets the title for the font chooser dialog.
Parameters
font_button
a GtkFontButton
title
a string containing the font chooser dialog title
gtk_font_button_get_title ()
gtk_font_button_get_title
const gchar *
gtk_font_button_get_title (GtkFontButton *font_button );
Retrieves the title of the font chooser dialog.
Parameters
font_button
a GtkFontButton
Returns
an internal copy of the title string which must not be freed.
Property Details
The “title” property
GtkFontButton:title
“title” gchar *
The title of the font chooser dialog.
Owner: GtkFontButton
Flags: Read / Write
Default value: "Pick a Font"
The “use-font” property
GtkFontButton:use-font
“use-font” gboolean
If this property is set to TRUE , the label will be drawn
in the selected font.
Owner: GtkFontButton
Flags: Read / Write
Default value: FALSE
The “use-size” property
GtkFontButton:use-size
“use-size” gboolean
If this property is set to TRUE , the label will be drawn
with the selected font size.
Owner: GtkFontButton
Flags: Read / Write
Default value: FALSE
Signal Details
The “font-set” signal
GtkFontButton::font-set
void
user_function (GtkFontButton *widget,
gpointer user_data)
The ::font-set signal is emitted when the user selects a font.
When handling this signal, use gtk_font_chooser_get_font()
to find out which font was just selected.
Note that this signal is only emitted when the user
changes the font. If you need to react to programmatic font changes
as well, use the notify::font signal.
Parameters
widget
the object which received the signal.
user_data
user data set when the signal handler was connected.
Flags: Run First
See Also
GtkFontChooserDialog , GtkColorButton .
docs/reference/gtk/xml/gtktextiter.xml 0000664 0001750 0001750 00000602533 13620320477 020276 0 ustar mclasen mclasen
]>
GtkTextIter
3
GTK4 Library
GtkTextIter
Text buffer iterator
Functions
GtkTextBuffer *
gtk_text_iter_get_buffer ()
GtkTextIter *
gtk_text_iter_copy ()
void
gtk_text_iter_assign ()
void
gtk_text_iter_free ()
gint
gtk_text_iter_get_offset ()
gint
gtk_text_iter_get_line ()
gint
gtk_text_iter_get_line_offset ()
gint
gtk_text_iter_get_line_index ()
gint
gtk_text_iter_get_visible_line_index ()
gint
gtk_text_iter_get_visible_line_offset ()
gunichar
gtk_text_iter_get_char ()
gchar *
gtk_text_iter_get_slice ()
gchar *
gtk_text_iter_get_text ()
gchar *
gtk_text_iter_get_visible_slice ()
gchar *
gtk_text_iter_get_visible_text ()
GSList *
gtk_text_iter_get_marks ()
GSList *
gtk_text_iter_get_toggled_tags ()
GtkTextChildAnchor *
gtk_text_iter_get_child_anchor ()
gboolean
gtk_text_iter_starts_tag ()
gboolean
gtk_text_iter_ends_tag ()
gboolean
gtk_text_iter_toggles_tag ()
gboolean
gtk_text_iter_has_tag ()
GSList *
gtk_text_iter_get_tags ()
gboolean
gtk_text_iter_editable ()
gboolean
gtk_text_iter_can_insert ()
gboolean
gtk_text_iter_starts_word ()
gboolean
gtk_text_iter_ends_word ()
gboolean
gtk_text_iter_inside_word ()
gboolean
gtk_text_iter_starts_line ()
gboolean
gtk_text_iter_ends_line ()
gboolean
gtk_text_iter_starts_sentence ()
gboolean
gtk_text_iter_ends_sentence ()
gboolean
gtk_text_iter_inside_sentence ()
gboolean
gtk_text_iter_is_cursor_position ()
gint
gtk_text_iter_get_chars_in_line ()
gint
gtk_text_iter_get_bytes_in_line ()
PangoLanguage *
gtk_text_iter_get_language ()
gboolean
gtk_text_iter_is_end ()
gboolean
gtk_text_iter_is_start ()
gboolean
gtk_text_iter_forward_char ()
gboolean
gtk_text_iter_backward_char ()
gboolean
gtk_text_iter_forward_chars ()
gboolean
gtk_text_iter_backward_chars ()
gboolean
gtk_text_iter_forward_line ()
gboolean
gtk_text_iter_backward_line ()
gboolean
gtk_text_iter_forward_lines ()
gboolean
gtk_text_iter_backward_lines ()
gboolean
gtk_text_iter_forward_word_ends ()
gboolean
gtk_text_iter_backward_word_starts ()
gboolean
gtk_text_iter_forward_word_end ()
gboolean
gtk_text_iter_backward_word_start ()
gboolean
gtk_text_iter_forward_cursor_position ()
gboolean
gtk_text_iter_backward_cursor_position ()
gboolean
gtk_text_iter_forward_cursor_positions ()
gboolean
gtk_text_iter_backward_cursor_positions ()
gboolean
gtk_text_iter_backward_sentence_start ()
gboolean
gtk_text_iter_backward_sentence_starts ()
gboolean
gtk_text_iter_forward_sentence_end ()
gboolean
gtk_text_iter_forward_sentence_ends ()
gboolean
gtk_text_iter_forward_visible_word_ends ()
gboolean
gtk_text_iter_backward_visible_word_starts ()
gboolean
gtk_text_iter_forward_visible_word_end ()
gboolean
gtk_text_iter_backward_visible_word_start ()
gboolean
gtk_text_iter_forward_visible_cursor_position ()
gboolean
gtk_text_iter_backward_visible_cursor_position ()
gboolean
gtk_text_iter_forward_visible_cursor_positions ()
gboolean
gtk_text_iter_backward_visible_cursor_positions ()
gboolean
gtk_text_iter_forward_visible_line ()
gboolean
gtk_text_iter_backward_visible_line ()
gboolean
gtk_text_iter_forward_visible_lines ()
gboolean
gtk_text_iter_backward_visible_lines ()
void
gtk_text_iter_set_offset ()
void
gtk_text_iter_set_line ()
void
gtk_text_iter_set_line_offset ()
void
gtk_text_iter_set_line_index ()
void
gtk_text_iter_set_visible_line_index ()
void
gtk_text_iter_set_visible_line_offset ()
void
gtk_text_iter_forward_to_end ()
gboolean
gtk_text_iter_forward_to_line_end ()
gboolean
gtk_text_iter_forward_to_tag_toggle ()
gboolean
gtk_text_iter_backward_to_tag_toggle ()
gboolean
( *GtkTextCharPredicate) ()
gboolean
gtk_text_iter_forward_find_char ()
gboolean
gtk_text_iter_backward_find_char ()
gboolean
gtk_text_iter_forward_search ()
gboolean
gtk_text_iter_backward_search ()
gboolean
gtk_text_iter_equal ()
gint
gtk_text_iter_compare ()
gboolean
gtk_text_iter_in_range ()
void
gtk_text_iter_order ()
Types and Values
GtkTextIter
enum GtkTextSearchFlags
Object Hierarchy
GBoxed
╰── GtkTextIter
Includes #include <gtk/gtk.h>
Description
You may wish to begin by reading the
text widget conceptual overview
which gives an overview of all the objects and data
types related to the text widget and how they work together.
Functions
gtk_text_iter_get_buffer ()
gtk_text_iter_get_buffer
GtkTextBuffer *
gtk_text_iter_get_buffer (const GtkTextIter *iter );
Returns the GtkTextBuffer this iterator is associated with.
Parameters
iter
an iterator
Returns
the buffer.
[transfer none ]
gtk_text_iter_copy ()
gtk_text_iter_copy
GtkTextIter *
gtk_text_iter_copy (const GtkTextIter *iter );
Creates a dynamically-allocated copy of an iterator. This function
is not useful in applications, because iterators can be copied with a
simple assignment (GtkTextIter i = j; ). The
function is used by language bindings.
Parameters
iter
an iterator
Returns
a copy of the iter
, free with gtk_text_iter_free()
gtk_text_iter_assign ()
gtk_text_iter_assign
void
gtk_text_iter_assign (GtkTextIter *iter ,
const GtkTextIter *other );
Assigns the value of other
to iter
. This function
is not useful in applications, because iterators can be assigned
with GtkTextIter i = j; . The
function is used by language bindings.
Parameters
iter
a GtkTextIter
other
another GtkTextIter
gtk_text_iter_free ()
gtk_text_iter_free
void
gtk_text_iter_free (GtkTextIter *iter );
Free an iterator allocated on the heap. This function
is intended for use in language bindings, and is not
especially useful for applications, because iterators can
simply be allocated on the stack.
Parameters
iter
a dynamically-allocated iterator
gtk_text_iter_get_offset ()
gtk_text_iter_get_offset
gint
gtk_text_iter_get_offset (const GtkTextIter *iter );
Returns the character offset of an iterator.
Each character in a GtkTextBuffer has an offset,
starting with 0 for the first character in the buffer.
Use gtk_text_buffer_get_iter_at_offset() to convert an
offset back into an iterator.
Parameters
iter
an iterator
Returns
a character offset
gtk_text_iter_get_line ()
gtk_text_iter_get_line
gint
gtk_text_iter_get_line (const GtkTextIter *iter );
Returns the line number containing the iterator. Lines in
a GtkTextBuffer are numbered beginning with 0 for the first
line in the buffer.
Parameters
iter
an iterator
Returns
a line number
gtk_text_iter_get_line_offset ()
gtk_text_iter_get_line_offset
gint
gtk_text_iter_get_line_offset (const GtkTextIter *iter );
Returns the character offset of the iterator,
counting from the start of a newline-terminated line.
The first character on the line has offset 0.
Parameters
iter
an iterator
Returns
offset from start of line
gtk_text_iter_get_line_index ()
gtk_text_iter_get_line_index
gint
gtk_text_iter_get_line_index (const GtkTextIter *iter );
Returns the byte index of the iterator, counting
from the start of a newline-terminated line.
Remember that GtkTextBuffer encodes text in
UTF-8, and that characters can require a variable
number of bytes to represent.
Parameters
iter
an iterator
Returns
distance from start of line, in bytes
gtk_text_iter_get_visible_line_index ()
gtk_text_iter_get_visible_line_index
gint
gtk_text_iter_get_visible_line_index (const GtkTextIter *iter );
Returns the number of bytes from the start of the
line to the given iter
, not counting bytes that
are invisible due to tags with the “invisible” flag
toggled on.
Parameters
iter
a GtkTextIter
Returns
byte index of iter
with respect to the start of the line
gtk_text_iter_get_visible_line_offset ()
gtk_text_iter_get_visible_line_offset
gint
gtk_text_iter_get_visible_line_offset (const GtkTextIter *iter );
Returns the offset in characters from the start of the
line to the given iter
, not counting characters that
are invisible due to tags with the “invisible” flag
toggled on.
Parameters
iter
a GtkTextIter
Returns
offset in visible characters from the start of the line
gtk_text_iter_get_char ()
gtk_text_iter_get_char
gunichar
gtk_text_iter_get_char (const GtkTextIter *iter );
The Unicode character at this iterator is returned. (Equivalent to
operator* on a C++ iterator.) If the element at this iterator is a
non-character element, such as an image embedded in the buffer, the
Unicode “unknown” character 0xFFFC is returned. If invoked on
the end iterator, zero is returned; zero is not a valid Unicode character.
So you can write a loop which ends when gtk_text_iter_get_char()
returns 0.
Parameters
iter
an iterator
Returns
a Unicode character, or 0 if iter
is not dereferenceable
gtk_text_iter_get_slice ()
gtk_text_iter_get_slice
gchar *
gtk_text_iter_get_slice (const GtkTextIter *start ,
const GtkTextIter *end );
Returns the text in the given range. A “slice” is an array of
characters encoded in UTF-8 format, including the Unicode “unknown”
character 0xFFFC for iterable non-character elements in the buffer,
such as images. Because images are encoded in the slice, byte and
character offsets in the returned array will correspond to byte
offsets in the text buffer. Note that 0xFFFC can occur in normal
text as well, so it is not a reliable indicator that a paintable or
widget is in the buffer.
Parameters
start
iterator at start of a range
end
iterator at end of a range
Returns
slice of text from the buffer.
[transfer full ]
gtk_text_iter_get_text ()
gtk_text_iter_get_text
gchar *
gtk_text_iter_get_text (const GtkTextIter *start ,
const GtkTextIter *end );
Returns text in the given range. If the range
contains non-text elements such as images, the character and byte
offsets in the returned string will not correspond to character and
byte offsets in the buffer. If you want offsets to correspond, see
gtk_text_iter_get_slice() .
Parameters
start
iterator at start of a range
end
iterator at end of a range
Returns
array of characters from the buffer.
[transfer full ]
gtk_text_iter_get_visible_slice ()
gtk_text_iter_get_visible_slice
gchar *
gtk_text_iter_get_visible_slice (const GtkTextIter *start ,
const GtkTextIter *end );
Like gtk_text_iter_get_slice() , but invisible text is not included.
Invisible text is usually invisible because a GtkTextTag with the
“invisible” attribute turned on has been applied to it.
Parameters
start
iterator at start of range
end
iterator at end of range
Returns
slice of text from the buffer.
[transfer full ]
gtk_text_iter_get_visible_text ()
gtk_text_iter_get_visible_text
gchar *
gtk_text_iter_get_visible_text (const GtkTextIter *start ,
const GtkTextIter *end );
Like gtk_text_iter_get_text() , but invisible text is not included.
Invisible text is usually invisible because a GtkTextTag with the
“invisible” attribute turned on has been applied to it.
Parameters
start
iterator at start of range
end
iterator at end of range
Returns
string containing visible text in the
range.
[transfer full ]
gtk_text_iter_get_marks ()
gtk_text_iter_get_marks
GSList *
gtk_text_iter_get_marks (const GtkTextIter *iter );
Returns a list of all GtkTextMark at this location. Because marks
are not iterable (they don’t take up any "space" in the buffer,
they are just marks in between iterable locations), multiple marks
can exist in the same place. The returned list is not in any
meaningful order.
Parameters
iter
an iterator
Returns
list of GtkTextMark .
[element-type GtkTextMark][transfer container ]
gtk_text_iter_get_toggled_tags ()
gtk_text_iter_get_toggled_tags
GSList *
gtk_text_iter_get_toggled_tags (const GtkTextIter *iter ,
gboolean toggled_on );
Returns a list of GtkTextTag that are toggled on or off at this
point. (If toggled_on
is TRUE , the list contains tags that are
toggled on.) If a tag is toggled on at iter
, then some non-empty
range of characters following iter
has that tag applied to it. If
a tag is toggled off, then some non-empty range following iter
does not have the tag applied to it.
Parameters
iter
an iterator
toggled_on
TRUE to get toggled-on tags
Returns
tags toggled at this point.
[element-type GtkTextTag][transfer container ]
gtk_text_iter_get_child_anchor ()
gtk_text_iter_get_child_anchor
GtkTextChildAnchor *
gtk_text_iter_get_child_anchor (const GtkTextIter *iter );
If the location at iter
contains a child anchor, the
anchor is returned (with no new reference count added). Otherwise,
NULL is returned.
Parameters
iter
an iterator
Returns
the anchor at iter
.
[transfer none ]
gtk_text_iter_starts_tag ()
gtk_text_iter_starts_tag
gboolean
gtk_text_iter_starts_tag (const GtkTextIter *iter ,
GtkTextTag *tag );
Returns TRUE if tag
is toggled on at exactly this point. If tag
is NULL , returns TRUE if any tag is toggled on at this point.
Note that if gtk_text_iter_starts_tag() returns TRUE , it means that iter
is
at the beginning of the tagged range, and that the
character at iter
is inside the tagged range. In other
words, unlike gtk_text_iter_ends_tag() , if gtk_text_iter_starts_tag() returns
TRUE , gtk_text_iter_has_tag() will also return TRUE for the same
parameters.
Parameters
iter
an iterator
tag
a GtkTextTag , or NULL .
[nullable ]
Returns
whether iter
is the start of a range tagged with tag
gtk_text_iter_ends_tag ()
gtk_text_iter_ends_tag
gboolean
gtk_text_iter_ends_tag (const GtkTextIter *iter ,
GtkTextTag *tag );
Returns TRUE if tag
is toggled off at exactly this point. If tag
is NULL , returns TRUE if any tag is toggled off at this point.
Note that if gtk_text_iter_ends_tag() returns TRUE , it means that iter
is
at the end of the tagged range, but that the character
at iter
is outside the tagged range. In other words,
unlike gtk_text_iter_starts_tag() , if gtk_text_iter_ends_tag() returns TRUE ,
gtk_text_iter_has_tag() will return FALSE for the same parameters.
Parameters
iter
an iterator
tag
a GtkTextTag , or NULL .
[allow-none ]
Returns
whether iter
is the end of a range tagged with tag
gtk_text_iter_toggles_tag ()
gtk_text_iter_toggles_tag
gboolean
gtk_text_iter_toggles_tag (const GtkTextIter *iter ,
GtkTextTag *tag );
This is equivalent to (gtk_text_iter_starts_tag() ||
gtk_text_iter_ends_tag() ), i.e. it tells you whether a range with
tag
applied to it begins or ends at iter
.
Parameters
iter
an iterator
tag
a GtkTextTag , or NULL .
[allow-none ]
Returns
whether tag
is toggled on or off at iter
gtk_text_iter_has_tag ()
gtk_text_iter_has_tag
gboolean
gtk_text_iter_has_tag (const GtkTextIter *iter ,
GtkTextTag *tag );
Returns TRUE if iter
points to a character that is part of a range tagged
with tag
. See also gtk_text_iter_starts_tag() and gtk_text_iter_ends_tag() .
Parameters
iter
an iterator
tag
a GtkTextTag
Returns
whether iter
is tagged with tag
gtk_text_iter_get_tags ()
gtk_text_iter_get_tags
GSList *
gtk_text_iter_get_tags (const GtkTextIter *iter );
Returns a list of tags that apply to iter
, in ascending order of
priority (highest-priority tags are last). The GtkTextTag in the
list don’t have a reference added, but you have to free the list
itself.
Parameters
iter
a GtkTextIter
Returns
list of GtkTextTag .
[element-type GtkTextTag][transfer container ]
gtk_text_iter_editable ()
gtk_text_iter_editable
gboolean
gtk_text_iter_editable (const GtkTextIter *iter ,
gboolean default_setting );
Returns whether the character at iter
is within an editable region
of text. Non-editable text is “locked” and can’t be changed by the
user via GtkTextView . This function is simply a convenience
wrapper around gtk_text_iter_get_attributes() . If no tags applied
to this text affect editability, default_setting
will be returned.
You don’t want to use this function to decide whether text can be
inserted at iter
, because for insertion you don’t want to know
whether the char at iter
is inside an editable range, you want to
know whether a new character inserted at iter
would be inside an
editable range. Use gtk_text_iter_can_insert() to handle this
case.
Parameters
iter
an iterator
default_setting
TRUE if text is editable by default
Returns
whether iter
is inside an editable range
gtk_text_iter_can_insert ()
gtk_text_iter_can_insert
gboolean
gtk_text_iter_can_insert (const GtkTextIter *iter ,
gboolean default_editability );
Considering the default editability of the buffer, and tags that
affect editability, determines whether text inserted at iter
would
be editable. If text inserted at iter
would be editable then the
user should be allowed to insert text at iter
.
gtk_text_buffer_insert_interactive() uses this function to decide
whether insertions are allowed at a given position.
Parameters
iter
an iterator
default_editability
TRUE if text is editable by default
Returns
whether text inserted at iter
would be editable
gtk_text_iter_starts_word ()
gtk_text_iter_starts_word
gboolean
gtk_text_iter_starts_word (const GtkTextIter *iter );
Determines whether iter
begins a natural-language word. Word
breaks are determined by Pango and should be correct for nearly any
language (if not, the correct fix would be to the Pango word break
algorithms).
Parameters
iter
a GtkTextIter
Returns
TRUE if iter
is at the start of a word
gtk_text_iter_ends_word ()
gtk_text_iter_ends_word
gboolean
gtk_text_iter_ends_word (const GtkTextIter *iter );
Determines whether iter
ends a natural-language word. Word breaks
are determined by Pango and should be correct for nearly any
language (if not, the correct fix would be to the Pango word break
algorithms).
Parameters
iter
a GtkTextIter
Returns
TRUE if iter
is at the end of a word
gtk_text_iter_inside_word ()
gtk_text_iter_inside_word
gboolean
gtk_text_iter_inside_word (const GtkTextIter *iter );
Determines whether the character pointed by iter
is part of a
natural-language word (as opposed to say inside some whitespace). Word
breaks are determined by Pango and should be correct for nearly any language
(if not, the correct fix would be to the Pango word break algorithms).
Note that if gtk_text_iter_starts_word() returns TRUE , then this function
returns TRUE too, since iter
points to the first character of the word.
Parameters
iter
a GtkTextIter
Returns
TRUE if iter
is inside a word
gtk_text_iter_starts_line ()
gtk_text_iter_starts_line
gboolean
gtk_text_iter_starts_line (const GtkTextIter *iter );
Returns TRUE if iter
begins a paragraph,
i.e. if gtk_text_iter_get_line_offset() would return 0.
However this function is potentially more efficient than
gtk_text_iter_get_line_offset() because it doesn’t have to compute
the offset, it just has to see whether it’s 0.
Parameters
iter
an iterator
Returns
whether iter
begins a line
gtk_text_iter_ends_line ()
gtk_text_iter_ends_line
gboolean
gtk_text_iter_ends_line (const GtkTextIter *iter );
Returns TRUE if iter
points to the start of the paragraph
delimiter characters for a line (delimiters will be either a
newline, a carriage return, a carriage return followed by a
newline, or a Unicode paragraph separator character). Note that an
iterator pointing to the \n of a \r\n pair will not be counted as
the end of a line, the line ends before the \r. The end iterator is
considered to be at the end of a line, even though there are no
paragraph delimiter chars there.
Parameters
iter
an iterator
Returns
whether iter
is at the end of a line
gtk_text_iter_starts_sentence ()
gtk_text_iter_starts_sentence
gboolean
gtk_text_iter_starts_sentence (const GtkTextIter *iter );
Determines whether iter
begins a sentence. Sentence boundaries are
determined by Pango and should be correct for nearly any language
(if not, the correct fix would be to the Pango text boundary
algorithms).
Parameters
iter
a GtkTextIter
Returns
TRUE if iter
is at the start of a sentence.
gtk_text_iter_ends_sentence ()
gtk_text_iter_ends_sentence
gboolean
gtk_text_iter_ends_sentence (const GtkTextIter *iter );
Determines whether iter
ends a sentence. Sentence boundaries are
determined by Pango and should be correct for nearly any language
(if not, the correct fix would be to the Pango text boundary
algorithms).
Parameters
iter
a GtkTextIter
Returns
TRUE if iter
is at the end of a sentence.
gtk_text_iter_inside_sentence ()
gtk_text_iter_inside_sentence
gboolean
gtk_text_iter_inside_sentence (const GtkTextIter *iter );
Determines whether iter
is inside a sentence (as opposed to in
between two sentences, e.g. after a period and before the first
letter of the next sentence). Sentence boundaries are determined
by Pango and should be correct for nearly any language (if not, the
correct fix would be to the Pango text boundary algorithms).
Parameters
iter
a GtkTextIter
Returns
TRUE if iter
is inside a sentence.
gtk_text_iter_is_cursor_position ()
gtk_text_iter_is_cursor_position
gboolean
gtk_text_iter_is_cursor_position (const GtkTextIter *iter );
See gtk_text_iter_forward_cursor_position() or PangoLogAttr or
pango_break() for details on what a cursor position is.
Parameters
iter
a GtkTextIter
Returns
TRUE if the cursor can be placed at iter
gtk_text_iter_get_chars_in_line ()
gtk_text_iter_get_chars_in_line
gint
gtk_text_iter_get_chars_in_line (const GtkTextIter *iter );
Returns the number of characters in the line containing iter
,
including the paragraph delimiters.
Parameters
iter
an iterator
Returns
number of characters in the line
gtk_text_iter_get_bytes_in_line ()
gtk_text_iter_get_bytes_in_line
gint
gtk_text_iter_get_bytes_in_line (const GtkTextIter *iter );
Returns the number of bytes in the line containing iter
,
including the paragraph delimiters.
Parameters
iter
an iterator
Returns
number of bytes in the line
gtk_text_iter_get_language ()
gtk_text_iter_get_language
PangoLanguage *
gtk_text_iter_get_language (const GtkTextIter *iter );
A convenience wrapper around gtk_text_iter_get_attributes() ,
which returns the language in effect at iter
. If no tags affecting
language apply to iter
, the return value is identical to that of
gtk_get_default_language() .
Parameters
iter
an iterator
Returns
language in effect at iter
.
[transfer full ]
gtk_text_iter_is_end ()
gtk_text_iter_is_end
gboolean
gtk_text_iter_is_end (const GtkTextIter *iter );
Returns TRUE if iter
is the end iterator, i.e. one past the last
dereferenceable iterator in the buffer. gtk_text_iter_is_end() is
the most efficient way to check whether an iterator is the end
iterator.
Parameters
iter
an iterator
Returns
whether iter
is the end iterator
gtk_text_iter_is_start ()
gtk_text_iter_is_start
gboolean
gtk_text_iter_is_start (const GtkTextIter *iter );
Returns TRUE if iter
is the first iterator in the buffer, that is
if iter
has a character offset of 0.
Parameters
iter
an iterator
Returns
whether iter
is the first in the buffer
gtk_text_iter_forward_char ()
gtk_text_iter_forward_char
gboolean
gtk_text_iter_forward_char (GtkTextIter *iter );
Moves iter
forward by one character offset. Note that images
embedded in the buffer occupy 1 character slot, so
gtk_text_iter_forward_char() may actually move onto an image instead
of a character, if you have images in your buffer. If iter
is the
end iterator or one character before it, iter
will now point at
the end iterator, and gtk_text_iter_forward_char() returns FALSE for
convenience when writing loops.
Parameters
iter
an iterator
Returns
whether iter
moved and is dereferenceable
gtk_text_iter_backward_char ()
gtk_text_iter_backward_char
gboolean
gtk_text_iter_backward_char (GtkTextIter *iter );
Moves backward by one character offset. Returns TRUE if movement
was possible; if iter
was the first in the buffer (character
offset 0), gtk_text_iter_backward_char() returns FALSE for convenience when
writing loops.
Parameters
iter
an iterator
Returns
whether movement was possible
gtk_text_iter_forward_chars ()
gtk_text_iter_forward_chars
gboolean
gtk_text_iter_forward_chars (GtkTextIter *iter ,
gint count );
Moves count
characters if possible (if count
would move past the
start or end of the buffer, moves to the start or end of the
buffer). The return value indicates whether the new position of
iter
is different from its original position, and dereferenceable
(the last iterator in the buffer is not dereferenceable). If count
is 0, the function does nothing and returns FALSE .
Parameters
iter
an iterator
count
number of characters to move, may be negative
Returns
whether iter
moved and is dereferenceable
gtk_text_iter_backward_chars ()
gtk_text_iter_backward_chars
gboolean
gtk_text_iter_backward_chars (GtkTextIter *iter ,
gint count );
Moves count
characters backward, if possible (if count
would move
past the start or end of the buffer, moves to the start or end of
the buffer). The return value indicates whether the iterator moved
onto a dereferenceable position; if the iterator didn’t move, or
moved onto the end iterator, then FALSE is returned. If count
is 0,
the function does nothing and returns FALSE .
Parameters
iter
an iterator
count
number of characters to move
Returns
whether iter
moved and is dereferenceable
gtk_text_iter_forward_line ()
gtk_text_iter_forward_line
gboolean
gtk_text_iter_forward_line (GtkTextIter *iter );
Moves iter
to the start of the next line. If the iter is already on the
last line of the buffer, moves the iter to the end of the current line.
If after the operation, the iter is at the end of the buffer and not
dereferencable, returns FALSE . Otherwise, returns TRUE .
Parameters
iter
an iterator
Returns
whether iter
can be dereferenced
gtk_text_iter_backward_line ()
gtk_text_iter_backward_line
gboolean
gtk_text_iter_backward_line (GtkTextIter *iter );
Moves iter
to the start of the previous line. Returns TRUE if
iter
could be moved; i.e. if iter
was at character offset 0, this
function returns FALSE . Therefore if iter
was already on line 0,
but not at the start of the line, iter
is snapped to the start of
the line and the function returns TRUE . (Note that this implies that
in a loop calling this function, the line number may not change on
every iteration, if your first iteration is on line 0.)
Parameters
iter
an iterator
Returns
whether iter
moved
gtk_text_iter_forward_lines ()
gtk_text_iter_forward_lines
gboolean
gtk_text_iter_forward_lines (GtkTextIter *iter ,
gint count );
Moves count
lines forward, if possible (if count
would move
past the start or end of the buffer, moves to the start or end of
the buffer). The return value indicates whether the iterator moved
onto a dereferenceable position; if the iterator didn’t move, or
moved onto the end iterator, then FALSE is returned. If count
is 0,
the function does nothing and returns FALSE . If count
is negative,
moves backward by 0 - count
lines.
Parameters
iter
a GtkTextIter
count
number of lines to move forward
Returns
whether iter
moved and is dereferenceable
gtk_text_iter_backward_lines ()
gtk_text_iter_backward_lines
gboolean
gtk_text_iter_backward_lines (GtkTextIter *iter ,
gint count );
Moves count
lines backward, if possible (if count
would move
past the start or end of the buffer, moves to the start or end of
the buffer). The return value indicates whether the iterator moved
onto a dereferenceable position; if the iterator didn’t move, or
moved onto the end iterator, then FALSE is returned. If count
is 0,
the function does nothing and returns FALSE . If count
is negative,
moves forward by 0 - count
lines.
Parameters
iter
a GtkTextIter
count
number of lines to move backward
Returns
whether iter
moved and is dereferenceable
gtk_text_iter_forward_word_ends ()
gtk_text_iter_forward_word_ends
gboolean
gtk_text_iter_forward_word_ends (GtkTextIter *iter ,
gint count );
Calls gtk_text_iter_forward_word_end() up to count
times.
Parameters
iter
a GtkTextIter
count
number of times to move
Returns
TRUE if iter
moved and is not the end iterator
gtk_text_iter_backward_word_starts ()
gtk_text_iter_backward_word_starts
gboolean
gtk_text_iter_backward_word_starts (GtkTextIter *iter ,
gint count );
Calls gtk_text_iter_backward_word_start() up to count
times.
Parameters
iter
a GtkTextIter
count
number of times to move
Returns
TRUE if iter
moved and is not the end iterator
gtk_text_iter_forward_word_end ()
gtk_text_iter_forward_word_end
gboolean
gtk_text_iter_forward_word_end (GtkTextIter *iter );
Moves forward to the next word end. (If iter
is currently on a
word end, moves forward to the next one after that.) Word breaks
are determined by Pango and should be correct for nearly any
language (if not, the correct fix would be to the Pango word break
algorithms).
Parameters
iter
a GtkTextIter
Returns
TRUE if iter
moved and is not the end iterator
gtk_text_iter_backward_word_start ()
gtk_text_iter_backward_word_start
gboolean
gtk_text_iter_backward_word_start (GtkTextIter *iter );
Moves backward to the previous word start. (If iter
is currently on a
word start, moves backward to the next one after that.) Word breaks
are determined by Pango and should be correct for nearly any
language (if not, the correct fix would be to the Pango word break
algorithms).
Parameters
iter
a GtkTextIter
Returns
TRUE if iter
moved and is not the end iterator
gtk_text_iter_forward_cursor_position ()
gtk_text_iter_forward_cursor_position
gboolean
gtk_text_iter_forward_cursor_position (GtkTextIter *iter );
Moves iter
forward by a single cursor position. Cursor positions
are (unsurprisingly) positions where the cursor can appear. Perhaps
surprisingly, there may not be a cursor position between all
characters. The most common example for European languages would be
a carriage return/newline sequence. For some Unicode characters,
the equivalent of say the letter “a” with an accent mark will be
represented as two characters, first the letter then a "combining
mark" that causes the accent to be rendered; so the cursor can’t go
between those two characters. See also the PangoLogAttr and
pango_break() function.
Parameters
iter
a GtkTextIter
Returns
TRUE if we moved and the new position is dereferenceable
gtk_text_iter_backward_cursor_position ()
gtk_text_iter_backward_cursor_position
gboolean
gtk_text_iter_backward_cursor_position
(GtkTextIter *iter );
Like gtk_text_iter_forward_cursor_position() , but moves backward.
Parameters
iter
a GtkTextIter
Returns
TRUE if we moved
gtk_text_iter_forward_cursor_positions ()
gtk_text_iter_forward_cursor_positions
gboolean
gtk_text_iter_forward_cursor_positions
(GtkTextIter *iter ,
gint count );
Moves up to count
cursor positions. See
gtk_text_iter_forward_cursor_position() for details.
Parameters
iter
a GtkTextIter
count
number of positions to move
Returns
TRUE if we moved and the new position is dereferenceable
gtk_text_iter_backward_cursor_positions ()
gtk_text_iter_backward_cursor_positions
gboolean
gtk_text_iter_backward_cursor_positions
(GtkTextIter *iter ,
gint count );
Moves up to count
cursor positions. See
gtk_text_iter_forward_cursor_position() for details.
Parameters
iter
a GtkTextIter
count
number of positions to move
Returns
TRUE if we moved and the new position is dereferenceable
gtk_text_iter_backward_sentence_start ()
gtk_text_iter_backward_sentence_start
gboolean
gtk_text_iter_backward_sentence_start (GtkTextIter *iter );
Moves backward to the previous sentence start; if iter
is already at
the start of a sentence, moves backward to the next one. Sentence
boundaries are determined by Pango and should be correct for nearly
any language (if not, the correct fix would be to the Pango text
boundary algorithms).
Parameters
iter
a GtkTextIter
Returns
TRUE if iter
moved and is not the end iterator
gtk_text_iter_backward_sentence_starts ()
gtk_text_iter_backward_sentence_starts
gboolean
gtk_text_iter_backward_sentence_starts
(GtkTextIter *iter ,
gint count );
Calls gtk_text_iter_backward_sentence_start() up to count
times,
or until it returns FALSE . If count
is negative, moves forward
instead of backward.
Parameters
iter
a GtkTextIter
count
number of sentences to move
Returns
TRUE if iter
moved and is not the end iterator
gtk_text_iter_forward_sentence_end ()
gtk_text_iter_forward_sentence_end
gboolean
gtk_text_iter_forward_sentence_end (GtkTextIter *iter );
Moves forward to the next sentence end. (If iter
is at the end of
a sentence, moves to the next end of sentence.) Sentence
boundaries are determined by Pango and should be correct for nearly
any language (if not, the correct fix would be to the Pango text
boundary algorithms).
Parameters
iter
a GtkTextIter
Returns
TRUE if iter
moved and is not the end iterator
gtk_text_iter_forward_sentence_ends ()
gtk_text_iter_forward_sentence_ends
gboolean
gtk_text_iter_forward_sentence_ends (GtkTextIter *iter ,
gint count );
Calls gtk_text_iter_forward_sentence_end() count
times (or until
gtk_text_iter_forward_sentence_end() returns FALSE ). If count
is
negative, moves backward instead of forward.
Parameters
iter
a GtkTextIter
count
number of sentences to move
Returns
TRUE if iter
moved and is not the end iterator
gtk_text_iter_forward_visible_word_ends ()
gtk_text_iter_forward_visible_word_ends
gboolean
gtk_text_iter_forward_visible_word_ends
(GtkTextIter *iter ,
gint count );
Calls gtk_text_iter_forward_visible_word_end() up to count
times.
Parameters
iter
a GtkTextIter
count
number of times to move
Returns
TRUE if iter
moved and is not the end iterator
gtk_text_iter_backward_visible_word_starts ()
gtk_text_iter_backward_visible_word_starts
gboolean
gtk_text_iter_backward_visible_word_starts
(GtkTextIter *iter ,
gint count );
Calls gtk_text_iter_backward_visible_word_start() up to count
times.
Parameters
iter
a GtkTextIter
count
number of times to move
Returns
TRUE if iter
moved and is not the end iterator
gtk_text_iter_forward_visible_word_end ()
gtk_text_iter_forward_visible_word_end
gboolean
gtk_text_iter_forward_visible_word_end
(GtkTextIter *iter );
Moves forward to the next visible word end. (If iter
is currently on a
word end, moves forward to the next one after that.) Word breaks
are determined by Pango and should be correct for nearly any
language (if not, the correct fix would be to the Pango word break
algorithms).
Parameters
iter
a GtkTextIter
Returns
TRUE if iter
moved and is not the end iterator
gtk_text_iter_backward_visible_word_start ()
gtk_text_iter_backward_visible_word_start
gboolean
gtk_text_iter_backward_visible_word_start
(GtkTextIter *iter );
Moves backward to the previous visible word start. (If iter
is currently
on a word start, moves backward to the next one after that.) Word breaks
are determined by Pango and should be correct for nearly any
language (if not, the correct fix would be to the Pango word break
algorithms).
Parameters
iter
a GtkTextIter
Returns
TRUE if iter
moved and is not the end iterator
gtk_text_iter_forward_visible_cursor_position ()
gtk_text_iter_forward_visible_cursor_position
gboolean
gtk_text_iter_forward_visible_cursor_position
(GtkTextIter *iter );
Moves iter
forward to the next visible cursor position. See
gtk_text_iter_forward_cursor_position() for details.
Parameters
iter
a GtkTextIter
Returns
TRUE if we moved and the new position is dereferenceable
gtk_text_iter_backward_visible_cursor_position ()
gtk_text_iter_backward_visible_cursor_position
gboolean
gtk_text_iter_backward_visible_cursor_position
(GtkTextIter *iter );
Moves iter
forward to the previous visible cursor position. See
gtk_text_iter_backward_cursor_position() for details.
Parameters
iter
a GtkTextIter
Returns
TRUE if we moved and the new position is dereferenceable
gtk_text_iter_forward_visible_cursor_positions ()
gtk_text_iter_forward_visible_cursor_positions
gboolean
gtk_text_iter_forward_visible_cursor_positions
(GtkTextIter *iter ,
gint count );
Moves up to count
visible cursor positions. See
gtk_text_iter_forward_cursor_position() for details.
Parameters
iter
a GtkTextIter
count
number of positions to move
Returns
TRUE if we moved and the new position is dereferenceable
gtk_text_iter_backward_visible_cursor_positions ()
gtk_text_iter_backward_visible_cursor_positions
gboolean
gtk_text_iter_backward_visible_cursor_positions
(GtkTextIter *iter ,
gint count );
Moves up to count
visible cursor positions. See
gtk_text_iter_backward_cursor_position() for details.
Parameters
iter
a GtkTextIter
count
number of positions to move
Returns
TRUE if we moved and the new position is dereferenceable
gtk_text_iter_forward_visible_line ()
gtk_text_iter_forward_visible_line
gboolean
gtk_text_iter_forward_visible_line (GtkTextIter *iter );
Moves iter
to the start of the next visible line. Returns TRUE if there
was a next line to move to, and FALSE if iter
was simply moved to
the end of the buffer and is now not dereferenceable, or if iter
was
already at the end of the buffer.
Parameters
iter
an iterator
Returns
whether iter
can be dereferenced
gtk_text_iter_backward_visible_line ()
gtk_text_iter_backward_visible_line
gboolean
gtk_text_iter_backward_visible_line (GtkTextIter *iter );
Moves iter
to the start of the previous visible line. Returns TRUE if
iter
could be moved; i.e. if iter
was at character offset 0, this
function returns FALSE . Therefore if iter
was already on line 0,
but not at the start of the line, iter
is snapped to the start of
the line and the function returns TRUE . (Note that this implies that
in a loop calling this function, the line number may not change on
every iteration, if your first iteration is on line 0.)
Parameters
iter
an iterator
Returns
whether iter
moved
gtk_text_iter_forward_visible_lines ()
gtk_text_iter_forward_visible_lines
gboolean
gtk_text_iter_forward_visible_lines (GtkTextIter *iter ,
gint count );
Moves count
visible lines forward, if possible (if count
would move
past the start or end of the buffer, moves to the start or end of
the buffer). The return value indicates whether the iterator moved
onto a dereferenceable position; if the iterator didn’t move, or
moved onto the end iterator, then FALSE is returned. If count
is 0,
the function does nothing and returns FALSE . If count
is negative,
moves backward by 0 - count
lines.
Parameters
iter
a GtkTextIter
count
number of lines to move forward
Returns
whether iter
moved and is dereferenceable
gtk_text_iter_backward_visible_lines ()
gtk_text_iter_backward_visible_lines
gboolean
gtk_text_iter_backward_visible_lines (GtkTextIter *iter ,
gint count );
Moves count
visible lines backward, if possible (if count
would move
past the start or end of the buffer, moves to the start or end of
the buffer). The return value indicates whether the iterator moved
onto a dereferenceable position; if the iterator didn’t move, or
moved onto the end iterator, then FALSE is returned. If count
is 0,
the function does nothing and returns FALSE . If count
is negative,
moves forward by 0 - count
lines.
Parameters
iter
a GtkTextIter
count
number of lines to move backward
Returns
whether iter
moved and is dereferenceable
gtk_text_iter_set_offset ()
gtk_text_iter_set_offset
void
gtk_text_iter_set_offset (GtkTextIter *iter ,
gint char_offset );
Sets iter
to point to char_offset
. char_offset
counts from the start
of the entire text buffer, starting with 0.
Parameters
iter
a GtkTextIter
char_offset
a character number
gtk_text_iter_set_line ()
gtk_text_iter_set_line
void
gtk_text_iter_set_line (GtkTextIter *iter ,
gint line_number );
Moves iterator iter
to the start of the line line_number
. If
line_number
is negative or larger than the number of lines in the
buffer, moves iter
to the start of the last line in the buffer.
Parameters
iter
a GtkTextIter
line_number
line number (counted from 0)
gtk_text_iter_set_line_offset ()
gtk_text_iter_set_line_offset
void
gtk_text_iter_set_line_offset (GtkTextIter *iter ,
gint char_on_line );
Moves iter
within a line, to a new character
(not byte) offset. The given character offset must be less than or
equal to the number of characters in the line; if equal, iter
moves to the start of the next line. See
gtk_text_iter_set_line_index() if you have a byte index rather than
a character offset.
Parameters
iter
a GtkTextIter
char_on_line
a character offset relative to the start of iter
’s current line
gtk_text_iter_set_line_index ()
gtk_text_iter_set_line_index
void
gtk_text_iter_set_line_index (GtkTextIter *iter ,
gint byte_on_line );
Same as gtk_text_iter_set_line_offset() , but works with a
byte index. The given byte index must be at
the start of a character, it can’t be in the middle of a UTF-8
encoded character.
Parameters
iter
a GtkTextIter
byte_on_line
a byte index relative to the start of iter
’s current line
gtk_text_iter_set_visible_line_index ()
gtk_text_iter_set_visible_line_index
void
gtk_text_iter_set_visible_line_index (GtkTextIter *iter ,
gint byte_on_line );
Like gtk_text_iter_set_line_index() , but the index is in visible
bytes, i.e. text with a tag making it invisible is not counted
in the index.
Parameters
iter
a GtkTextIter
byte_on_line
a byte index
gtk_text_iter_set_visible_line_offset ()
gtk_text_iter_set_visible_line_offset
void
gtk_text_iter_set_visible_line_offset (GtkTextIter *iter ,
gint char_on_line );
Like gtk_text_iter_set_line_offset() , but the offset is in visible
characters, i.e. text with a tag making it invisible is not
counted in the offset.
Parameters
iter
a GtkTextIter
char_on_line
a character offset
gtk_text_iter_forward_to_end ()
gtk_text_iter_forward_to_end
void
gtk_text_iter_forward_to_end (GtkTextIter *iter );
Moves iter
forward to the “end iterator,” which points one past the last
valid character in the buffer. gtk_text_iter_get_char() called on the
end iterator returns 0, which is convenient for writing loops.
Parameters
iter
a GtkTextIter
gtk_text_iter_forward_to_line_end ()
gtk_text_iter_forward_to_line_end
gboolean
gtk_text_iter_forward_to_line_end (GtkTextIter *iter );
Moves the iterator to point to the paragraph delimiter characters,
which will be either a newline, a carriage return, a carriage
return/newline in sequence, or the Unicode paragraph separator
character. If the iterator is already at the paragraph delimiter
characters, moves to the paragraph delimiter characters for the
next line. If iter
is on the last line in the buffer, which does
not end in paragraph delimiters, moves to the end iterator (end of
the last line), and returns FALSE .
Parameters
iter
a GtkTextIter
Returns
TRUE if we moved and the new location is not the end iterator
gtk_text_iter_forward_to_tag_toggle ()
gtk_text_iter_forward_to_tag_toggle
gboolean
gtk_text_iter_forward_to_tag_toggle (GtkTextIter *iter ,
GtkTextTag *tag );
Moves forward to the next toggle (on or off) of the
GtkTextTag tag
, or to the next toggle of any tag if
tag
is NULL . If no matching tag toggles are found,
returns FALSE , otherwise TRUE . Does not return toggles
located at iter
, only toggles after iter
. Sets iter
to
the location of the toggle, or to the end of the buffer
if no toggle is found.
Parameters
iter
a GtkTextIter
tag
a GtkTextTag , or NULL .
[allow-none ]
Returns
whether we found a tag toggle after iter
gtk_text_iter_backward_to_tag_toggle ()
gtk_text_iter_backward_to_tag_toggle
gboolean
gtk_text_iter_backward_to_tag_toggle (GtkTextIter *iter ,
GtkTextTag *tag );
Moves backward to the next toggle (on or off) of the
GtkTextTag tag
, or to the next toggle of any tag if
tag
is NULL . If no matching tag toggles are found,
returns FALSE , otherwise TRUE . Does not return toggles
located at iter
, only toggles before iter
. Sets iter
to the location of the toggle, or the start of the buffer
if no toggle is found.
Parameters
iter
a GtkTextIter
tag
a GtkTextTag , or NULL .
[allow-none ]
Returns
whether we found a tag toggle before iter
GtkTextCharPredicate ()
GtkTextCharPredicate
gboolean
( *GtkTextCharPredicate) (gunichar ch ,
gpointer user_data );
gtk_text_iter_forward_find_char ()
gtk_text_iter_forward_find_char
gboolean
gtk_text_iter_forward_find_char (GtkTextIter *iter ,
GtkTextCharPredicate pred ,
gpointer user_data ,
const GtkTextIter *limit );
Advances iter
, calling pred
on each character. If
pred
returns TRUE , returns TRUE and stops scanning.
If pred
never returns TRUE , iter
is set to limit
if
limit
is non-NULL , otherwise to the end iterator.
Parameters
iter
a GtkTextIter
pred
a function to be called on each character.
[scope call ]
user_data
user data for pred
.
[closure ]
limit
search limit, or NULL for none.
[allow-none ]
Returns
whether a match was found
gtk_text_iter_backward_find_char ()
gtk_text_iter_backward_find_char
gboolean
gtk_text_iter_backward_find_char (GtkTextIter *iter ,
GtkTextCharPredicate pred ,
gpointer user_data ,
const GtkTextIter *limit );
Same as gtk_text_iter_forward_find_char() , but goes backward from iter
.
Parameters
iter
a GtkTextIter
pred
function to be called on each character.
[scope call ]
user_data
user data for pred
.
[closure ]
limit
search limit, or NULL for none.
[allow-none ]
Returns
whether a match was found
gtk_text_iter_forward_search ()
gtk_text_iter_forward_search
gboolean
gtk_text_iter_forward_search (const GtkTextIter *iter ,
const gchar *str ,
GtkTextSearchFlags flags ,
GtkTextIter *match_start ,
GtkTextIter *match_end ,
const GtkTextIter *limit );
Searches forward for str
. Any match is returned by setting
match_start
to the first character of the match and match_end
to the
first character after the match. The search will not continue past
limit
. Note that a search is a linear or O(n) operation, so you
may wish to use limit
to avoid locking up your UI on large
buffers.
match_start
will never be set to a GtkTextIter located before iter
, even if
there is a possible match_end
after or at iter
.
Parameters
iter
start of search
str
a search string
flags
flags affecting how the search is done
match_start
return location for start of match, or NULL .
[out caller-allocates ][allow-none ]
match_end
return location for end of match, or NULL .
[out caller-allocates ][allow-none ]
limit
location of last possible match_end
, or NULL for the end of the buffer.
[allow-none ]
Returns
whether a match was found
gtk_text_iter_backward_search ()
gtk_text_iter_backward_search
gboolean
gtk_text_iter_backward_search (const GtkTextIter *iter ,
const gchar *str ,
GtkTextSearchFlags flags ,
GtkTextIter *match_start ,
GtkTextIter *match_end ,
const GtkTextIter *limit );
Same as gtk_text_iter_forward_search() , but moves backward.
match_end
will never be set to a GtkTextIter located after iter
, even if
there is a possible match_start
before or at iter
.
Parameters
iter
a GtkTextIter where the search begins
str
search string
flags
bitmask of flags affecting the search
match_start
return location for start of match, or NULL .
[out caller-allocates ][allow-none ]
match_end
return location for end of match, or NULL .
[out caller-allocates ][allow-none ]
limit
location of last possible match_start
, or NULL for start of buffer.
[allow-none ]
Returns
whether a match was found
gtk_text_iter_equal ()
gtk_text_iter_equal
gboolean
gtk_text_iter_equal (const GtkTextIter *lhs ,
const GtkTextIter *rhs );
Tests whether two iterators are equal, using the fastest possible
mechanism. This function is very fast; you can expect it to perform
better than e.g. getting the character offset for each iterator and
comparing the offsets yourself. Also, it’s a bit faster than
gtk_text_iter_compare() .
Parameters
lhs
a GtkTextIter
rhs
another GtkTextIter
Returns
TRUE if the iterators point to the same place in the buffer
gtk_text_iter_compare ()
gtk_text_iter_compare
gint
gtk_text_iter_compare (const GtkTextIter *lhs ,
const GtkTextIter *rhs );
A qsort() -style function that returns negative if lhs
is less than
rhs
, positive if lhs
is greater than rhs
, and 0 if they’re equal.
Ordering is in character offset order, i.e. the first character in the buffer
is less than the second character in the buffer.
Parameters
lhs
a GtkTextIter
rhs
another GtkTextIter
Returns
-1 if lhs
is less than rhs
, 1 if lhs
is greater, 0 if they are equal
gtk_text_iter_in_range ()
gtk_text_iter_in_range
gboolean
gtk_text_iter_in_range (const GtkTextIter *iter ,
const GtkTextIter *start ,
const GtkTextIter *end );
Checks whether iter
falls in the range [start
, end
).
start
and end
must be in ascending order.
Parameters
iter
a GtkTextIter
start
start of range
end
end of range
Returns
TRUE if iter
is in the range
gtk_text_iter_order ()
gtk_text_iter_order
void
gtk_text_iter_order (GtkTextIter *first ,
GtkTextIter *second );
Swaps the value of first
and second
if second
comes before
first
in the buffer. That is, ensures that first
and second
are
in sequence. Most text buffer functions that take a range call this
automatically on your behalf, so there’s no real reason to call it yourself
in those cases. There are some exceptions, such as gtk_text_iter_in_range() ,
that expect a pre-sorted range.
Parameters
first
a GtkTextIter
second
another GtkTextIter
docs/reference/gtk/xml/gtkfontchooser.xml 0000664 0001750 0001750 00000150706 13617646201 020761 0 ustar mclasen mclasen
]>
GtkFontChooser
3
GTK4 Library
GtkFontChooser
Interface implemented by widgets displaying fonts
Functions
PangoFontFamily *
gtk_font_chooser_get_font_family ()
PangoFontFace *
gtk_font_chooser_get_font_face ()
gint
gtk_font_chooser_get_font_size ()
gchar *
gtk_font_chooser_get_font ()
void
gtk_font_chooser_set_font ()
PangoFontDescription *
gtk_font_chooser_get_font_desc ()
void
gtk_font_chooser_set_font_desc ()
char *
gtk_font_chooser_get_font_features ()
char *
gtk_font_chooser_get_language ()
void
gtk_font_chooser_set_language ()
gchar *
gtk_font_chooser_get_preview_text ()
void
gtk_font_chooser_set_preview_text ()
gboolean
gtk_font_chooser_get_show_preview_entry ()
void
gtk_font_chooser_set_show_preview_entry ()
GtkFontChooserLevel
gtk_font_chooser_get_level ()
void
gtk_font_chooser_set_level ()
gboolean
( *GtkFontFilterFunc) ()
void
gtk_font_chooser_set_filter_func ()
void
gtk_font_chooser_set_font_map ()
PangoFontMap *
gtk_font_chooser_get_font_map ()
Properties
gchar * fontRead / Write
PangoFontDescription * font-descRead / Write
gchar * font-featuresRead
gchar * languageRead / Write
GtkFontChooserLevel levelRead / Write
gchar * preview-textRead / Write
gboolean show-preview-entryRead / Write
Signals
void font-activated Run First
Types and Values
GtkFontChooser
enum GtkFontChooserLevel
Object Hierarchy
GInterface
╰── GtkFontChooser
Prerequisites
GtkFontChooser requires
GObject.
Known Implementations
GtkFontChooser is implemented by
GtkFontButton, GtkFontChooserDialog and GtkFontChooserWidget.
Includes #include <gtk/gtk.h>
Description
GtkFontChooser is an interface that can be implemented by widgets
displaying the list of fonts. In GTK+, the main objects
that implement this interface are GtkFontChooserWidget ,
GtkFontChooserDialog and GtkFontButton . The GtkFontChooser interface
has been introducted in GTK+ 3.2.
Functions
gtk_font_chooser_get_font_family ()
gtk_font_chooser_get_font_family
PangoFontFamily *
gtk_font_chooser_get_font_family (GtkFontChooser *fontchooser );
Gets the PangoFontFamily representing the selected font family.
Font families are a collection of font faces.
If the selected font is not installed, returns NULL .
Parameters
fontchooser
a GtkFontChooser
Returns
A PangoFontFamily representing the
selected font family, or NULL . The returned object is owned by fontchooser
and must not be modified or freed.
[nullable ][transfer none ]
gtk_font_chooser_get_font_face ()
gtk_font_chooser_get_font_face
PangoFontFace *
gtk_font_chooser_get_font_face (GtkFontChooser *fontchooser );
Gets the PangoFontFace representing the selected font group
details (i.e. family, slant, weight, width, etc).
If the selected font is not installed, returns NULL .
Parameters
fontchooser
a GtkFontChooser
Returns
A PangoFontFace representing the
selected font group details, or NULL . The returned object is owned by
fontchooser
and must not be modified or freed.
[nullable ][transfer none ]
gtk_font_chooser_get_font_size ()
gtk_font_chooser_get_font_size
gint
gtk_font_chooser_get_font_size (GtkFontChooser *fontchooser );
The selected font size.
Parameters
fontchooser
a GtkFontChooser
Returns
A n integer representing the selected font size,
or -1 if no font size is selected.
gtk_font_chooser_get_font ()
gtk_font_chooser_get_font
gchar *
gtk_font_chooser_get_font (GtkFontChooser *fontchooser );
Gets the currently-selected font name.
Note that this can be a different string than what you set with
gtk_font_chooser_set_font() , as the font chooser widget may
normalize font names and thus return a string with a different
structure. For example, “Helvetica Italic Bold 12” could be
normalized to “Helvetica Bold Italic 12”.
Use pango_font_description_equal() if you want to compare two
font descriptions.
Parameters
fontchooser
a GtkFontChooser
Returns
A string with the name
of the current font, or NULL if no font is selected. You must
free this string with g_free() .
[nullable ][transfer full ]
gtk_font_chooser_set_font ()
gtk_font_chooser_set_font
void
gtk_font_chooser_set_font (GtkFontChooser *fontchooser ,
const gchar *fontname );
Sets the currently-selected font.
Parameters
fontchooser
a GtkFontChooser
fontname
a font name like “Helvetica 12” or “Times Bold 18”
gtk_font_chooser_get_font_desc ()
gtk_font_chooser_get_font_desc
PangoFontDescription *
gtk_font_chooser_get_font_desc (GtkFontChooser *fontchooser );
Gets the currently-selected font.
Note that this can be a different string than what you set with
gtk_font_chooser_set_font() , as the font chooser widget may
normalize font names and thus return a string with a different
structure. For example, “Helvetica Italic Bold 12” could be
normalized to “Helvetica Bold Italic 12”.
Use pango_font_description_equal() if you want to compare two
font descriptions.
Parameters
fontchooser
a GtkFontChooser
Returns
A PangoFontDescription for the
current font, or NULL if no font is selected.
[nullable ][transfer full ]
gtk_font_chooser_set_font_desc ()
gtk_font_chooser_set_font_desc
void
gtk_font_chooser_set_font_desc (GtkFontChooser *fontchooser ,
const PangoFontDescription *font_desc );
Sets the currently-selected font from font_desc
.
Parameters
fontchooser
a GtkFontChooser
font_desc
a PangoFontDescription
gtk_font_chooser_get_font_features ()
gtk_font_chooser_get_font_features
char *
gtk_font_chooser_get_font_features (GtkFontChooser *fontchooser );
Gets the currently-selected font features.
Parameters
fontchooser
a GtkFontChooser
Returns
the currently selected font features
gtk_font_chooser_get_language ()
gtk_font_chooser_get_language
char *
gtk_font_chooser_get_language (GtkFontChooser *fontchooser );
Gets the language that is used for font features.
Parameters
fontchooser
a GtkFontChooser
Returns
the currently selected language
gtk_font_chooser_set_language ()
gtk_font_chooser_set_language
void
gtk_font_chooser_set_language (GtkFontChooser *fontchooser ,
const char *language );
Sets the language to use for font features.
Parameters
fontchooser
a GtkFontChooser
language
a language
gtk_font_chooser_get_preview_text ()
gtk_font_chooser_get_preview_text
gchar *
gtk_font_chooser_get_preview_text (GtkFontChooser *fontchooser );
Gets the text displayed in the preview area.
Parameters
fontchooser
a GtkFontChooser
Returns
the text displayed in the
preview area.
[transfer full ]
gtk_font_chooser_set_preview_text ()
gtk_font_chooser_set_preview_text
void
gtk_font_chooser_set_preview_text (GtkFontChooser *fontchooser ,
const gchar *text );
Sets the text displayed in the preview area.
The text
is used to show how the selected font looks.
Parameters
fontchooser
a GtkFontChooser
text
the text to display in the preview area.
[transfer none ]
gtk_font_chooser_get_show_preview_entry ()
gtk_font_chooser_get_show_preview_entry
gboolean
gtk_font_chooser_get_show_preview_entry
(GtkFontChooser *fontchooser );
Returns whether the preview entry is shown or not.
Parameters
fontchooser
a GtkFontChooser
Returns
TRUE if the preview entry is shown
or FALSE if it is hidden.
gtk_font_chooser_set_show_preview_entry ()
gtk_font_chooser_set_show_preview_entry
void
gtk_font_chooser_set_show_preview_entry
(GtkFontChooser *fontchooser ,
gboolean show_preview_entry );
Shows or hides the editable preview entry.
Parameters
fontchooser
a GtkFontChooser
show_preview_entry
whether to show the editable preview entry or not
gtk_font_chooser_get_level ()
gtk_font_chooser_get_level
GtkFontChooserLevel
gtk_font_chooser_get_level (GtkFontChooser *fontchooser );
Returns the current level of granularity for selecting fonts.
Parameters
fontchooser
a GtkFontChooser
Returns
the current granularity level
gtk_font_chooser_set_level ()
gtk_font_chooser_set_level
void
gtk_font_chooser_set_level (GtkFontChooser *fontchooser ,
GtkFontChooserLevel level );
Sets the desired level of granularity for selecting fonts.
Parameters
fontchooser
a GtkFontChooser
level
the desired level of granularity
GtkFontFilterFunc ()
GtkFontFilterFunc
gboolean
( *GtkFontFilterFunc) (const PangoFontFamily *family ,
const PangoFontFace *face ,
gpointer data );
The type of function that is used for deciding what fonts get
shown in a GtkFontChooser . See gtk_font_chooser_set_filter_func() .
Parameters
family
a PangoFontFamily
face
a PangoFontFace belonging to family
data
user data passed to gtk_font_chooser_set_filter_func() .
[closure ]
Returns
TRUE if the font should be displayed
gtk_font_chooser_set_filter_func ()
gtk_font_chooser_set_filter_func
void
gtk_font_chooser_set_filter_func (GtkFontChooser *fontchooser ,
GtkFontFilterFunc filter ,
gpointer user_data ,
GDestroyNotify destroy );
Adds a filter function that decides which fonts to display
in the font chooser.
Parameters
fontchooser
a GtkFontChooser
filter
a GtkFontFilterFunc , or NULL .
[allow-none ]
user_data
data to pass to filter
.
[closure ]
destroy
function to call to free data
when it is no longer needed
gtk_font_chooser_set_font_map ()
gtk_font_chooser_set_font_map
void
gtk_font_chooser_set_font_map (GtkFontChooser *fontchooser ,
PangoFontMap *fontmap );
Sets a custom font map to use for this font chooser widget.
A custom font map can be used to present application-specific
fonts instead of or in addition to the normal system fonts.
Note that other GTK+ widgets will only be able to use the application-specific
font if it is present in the font map they use:
Parameters
fontchooser
a GtkFontChooser
fontmap
a PangoFontMap .
[allow-none ]
gtk_font_chooser_get_font_map ()
gtk_font_chooser_get_font_map
PangoFontMap *
gtk_font_chooser_get_font_map (GtkFontChooser *fontchooser );
Gets the custom font map of this font chooser widget,
or NULL if it does not have one.
Parameters
fontchooser
a GtkFontChooser
Returns
a PangoFontMap , or NULL .
[nullable ][transfer full ]
Property Details
The “font” property
GtkFontChooser:font
“font” gchar *
The font description as a string, e.g. "Sans Italic 12".
Owner: GtkFontChooser
Flags: Read / Write
Default value: "Sans 10"
The “font-desc” property
GtkFontChooser:font-desc
“font-desc” PangoFontDescription *
The font description as a PangoFontDescription .
Owner: GtkFontChooser
Flags: Read / Write
The “font-features” property
GtkFontChooser:font-features
“font-features” gchar *
The selected font features, in a format that is compatible with
CSS and with Pango attributes.
Owner: GtkFontChooser
Flags: Read
Default value: ""
The “language” property
GtkFontChooser:language
“language” gchar *
The language for which the “font-features” were
selected, in a format that is compatible with CSS and with Pango
attributes.
Owner: GtkFontChooser
Flags: Read / Write
Default value: ""
The “level” property
GtkFontChooser:level
“level” GtkFontChooserLevel
The level of granularity to offer for selecting fonts.
Owner: GtkFontChooser
Flags: Read / Write
Default value: GTK_FONT_CHOOSER_LEVEL_STYLE | GTK_FONT_CHOOSER_LEVEL_SIZE
The “preview-text” property
GtkFontChooser:preview-text
“preview-text” gchar *
The string with which to preview the font.
Owner: GtkFontChooser
Flags: Read / Write
Default value: "The quick brown fox jumps over the lazy dog."
The “show-preview-entry” property
GtkFontChooser:show-preview-entry
“show-preview-entry” gboolean
Whether to show an entry to change the preview text.
Owner: GtkFontChooser
Flags: Read / Write
Default value: TRUE
Signal Details
The “font-activated” signal
GtkFontChooser::font-activated
void
user_function (GtkFontChooser *self,
gchar *fontname,
gpointer user_data)
Emitted when a font is activated.
This usually happens when the user double clicks an item,
or an item is selected and the user presses one of the keys
Space, Shift+Space, Return or Enter.
Parameters
self
the object which received the signal
fontname
the font name
user_data
user data set when the signal handler was connected.
Flags: Run First
See Also
GtkFontChooserDialog , GtkFontChooserWidget , GtkFontButton
docs/reference/gtk/xml/gtktextmark.xml 0000664 0001750 0001750 00000046301 13617646202 020263 0 ustar mclasen mclasen
]>
GtkTextMark
3
GTK4 Library
GtkTextMark
A position in the buffer preserved across buffer modifications
Functions
GtkTextMark *
gtk_text_mark_new ()
void
gtk_text_mark_set_visible ()
gboolean
gtk_text_mark_get_visible ()
gboolean
gtk_text_mark_get_deleted ()
const gchar *
gtk_text_mark_get_name ()
GtkTextBuffer *
gtk_text_mark_get_buffer ()
gboolean
gtk_text_mark_get_left_gravity ()
Properties
gboolean left-gravityRead / Write / Construct Only
gchar * nameRead / Write / Construct Only
Types and Values
struct GtkTextMark
Object Hierarchy
GObject
╰── GtkTextMark
Includes #include <gtk/gtk.h>
Description
You may wish to begin by reading the
text widget conceptual overview
which gives an overview of all the objects and data
types related to the text widget and how they work together.
A GtkTextMark is like a bookmark in a text buffer; it preserves a position in
the text. You can convert the mark to an iterator using
gtk_text_buffer_get_iter_at_mark() . Unlike iterators, marks remain valid across
buffer mutations, because their behavior is defined when text is inserted or
deleted. When text containing a mark is deleted, the mark remains in the
position originally occupied by the deleted text. When text is inserted at a
mark, a mark with “left gravity” will be moved to the
beginning of the newly-inserted text, and a mark with “right
gravity” will be moved to the end.
Note that “left” and “right” here refer to logical direction (left
is the toward the start of the buffer); in some languages such as
Hebrew the logically-leftmost text is not actually on the left when
displayed.
Marks are reference counted, but the reference count only controls the validity
of the memory; marks can be deleted from the buffer at any time with
gtk_text_buffer_delete_mark() . Once deleted from the buffer, a mark is
essentially useless.
Marks optionally have names; these can be convenient to avoid passing the
GtkTextMark object around.
Marks are typically created using the gtk_text_buffer_create_mark() function.
Functions
gtk_text_mark_new ()
gtk_text_mark_new
GtkTextMark *
gtk_text_mark_new (const gchar *name ,
gboolean left_gravity );
Creates a text mark. Add it to a buffer using gtk_text_buffer_add_mark() .
If name
is NULL , the mark is anonymous; otherwise, the mark can be
retrieved by name using gtk_text_buffer_get_mark() . If a mark has left
gravity, and text is inserted at the mark’s current location, the mark
will be moved to the left of the newly-inserted text. If the mark has
right gravity (left_gravity
= FALSE ), the mark will end up on the
right of newly-inserted text. The standard left-to-right cursor is a
mark with right gravity (when you type, the cursor stays on the right
side of the text you’re typing).
Parameters
name
mark name or NULL .
[allow-none ]
left_gravity
whether the mark should have left gravity
Returns
new GtkTextMark
gtk_text_mark_set_visible ()
gtk_text_mark_set_visible
void
gtk_text_mark_set_visible (GtkTextMark *mark ,
gboolean setting );
Sets the visibility of mark
; the insertion point is normally
visible, i.e. you can see it as a vertical bar. Also, the text
widget uses a visible mark to indicate where a drop will occur when
dragging-and-dropping text. Most other marks are not visible.
Marks are not visible by default.
Parameters
mark
a GtkTextMark
setting
visibility of mark
gtk_text_mark_get_visible ()
gtk_text_mark_get_visible
gboolean
gtk_text_mark_get_visible (GtkTextMark *mark );
Returns TRUE if the mark is visible (i.e. a cursor is displayed
for it).
Parameters
mark
a GtkTextMark
Returns
TRUE if visible
gtk_text_mark_get_deleted ()
gtk_text_mark_get_deleted
gboolean
gtk_text_mark_get_deleted (GtkTextMark *mark );
Returns TRUE if the mark has been removed from its buffer
with gtk_text_buffer_delete_mark() . See gtk_text_buffer_add_mark()
for a way to add it to a buffer again.
Parameters
mark
a GtkTextMark
Returns
whether the mark is deleted
gtk_text_mark_get_name ()
gtk_text_mark_get_name
const gchar *
gtk_text_mark_get_name (GtkTextMark *mark );
Returns the mark name; returns NULL for anonymous marks.
Parameters
mark
a GtkTextMark
Returns
mark name.
[nullable ]
gtk_text_mark_get_buffer ()
gtk_text_mark_get_buffer
GtkTextBuffer *
gtk_text_mark_get_buffer (GtkTextMark *mark );
Gets the buffer this mark is located inside,
or NULL if the mark is deleted.
Parameters
mark
a GtkTextMark
Returns
the mark’s GtkTextBuffer .
[transfer none ]
gtk_text_mark_get_left_gravity ()
gtk_text_mark_get_left_gravity
gboolean
gtk_text_mark_get_left_gravity (GtkTextMark *mark );
Determines whether the mark has left gravity.
Parameters
mark
a GtkTextMark
Returns
TRUE if the mark has left gravity, FALSE otherwise
Property Details
The “left-gravity” property
GtkTextMark:left-gravity
“left-gravity” gboolean
Whether the mark has left gravity. When text is inserted at the mark’s
current location, if the mark has left gravity it will be moved
to the left of the newly-inserted text, otherwise to the right.
Owner: GtkTextMark
Flags: Read / Write / Construct Only
Default value: FALSE
The “name” property
GtkTextMark:name
“name” gchar *
The name of the mark or NULL if the mark is anonymous.
Owner: GtkTextMark
Flags: Read / Write / Construct Only
Default value: NULL
docs/reference/gtk/xml/gtkfontchooserwidget.xml 0000664 0001750 0001750 00000015203 13617646201 022155 0 ustar mclasen mclasen
]>
GtkFontChooserWidget
3
GTK4 Library
GtkFontChooserWidget
A widget for selecting fonts
Functions
GtkWidget *
gtk_font_chooser_widget_new ()
Properties
GAction * tweak-actionRead
Types and Values
GtkFontChooserWidget
Object Hierarchy
GObject
╰── GInitiallyUnowned
╰── GtkWidget
╰── GtkFontChooserWidget
Implemented Interfaces
GtkFontChooserWidget implements
AtkImplementorIface, GtkBuildable, GtkConstraintTarget and GtkFontChooser.
Includes #include <gtk/gtk.h>
Description
The GtkFontChooserWidget widget lists the available fonts,
styles and sizes, allowing the user to select a font. It is
used in the GtkFontChooserDialog widget to provide a
dialog box for selecting fonts.
To set the font which is initially selected, use
gtk_font_chooser_set_font() or gtk_font_chooser_set_font_desc() .
To get the selected font use gtk_font_chooser_get_font() or
gtk_font_chooser_get_font_desc() .
To change the text which is shown in the preview area, use
gtk_font_chooser_set_preview_text() .
CSS nodes GtkFontChooserWidget has a single CSS node with name fontchooser.
Functions
gtk_font_chooser_widget_new ()
gtk_font_chooser_widget_new
GtkWidget *
gtk_font_chooser_widget_new (void );
Creates a new GtkFontChooserWidget .
Returns
a new GtkFontChooserWidget
Property Details
The “tweak-action” property
GtkFontChooserWidget:tweak-action
“tweak-action” GAction *
A toggle action that can be used to switch to the tweak page
of the font chooser widget, which lets the user tweak the
OpenType features and variation axes of the selected font.
The action will be enabled or disabled depending on whether
the selected font has any features or axes.
Owner: GtkFontChooserWidget
Flags: Read
See Also
GtkFontChooserDialog
docs/reference/gtk/xml/gtktexttag.xml 0000664 0001750 0001750 00000203543 13617646202 020107 0 ustar mclasen mclasen
]>
GtkTextTag
3
GTK4 Library
GtkTextTag
A tag that can be applied to text in a GtkTextBuffer
Functions
GtkTextTag *
gtk_text_tag_new ()
gint
gtk_text_tag_get_priority ()
void
gtk_text_tag_set_priority ()
void
gtk_text_tag_changed ()
Properties
gboolean accumulative-marginRead / Write
gchar * backgroundWrite
gboolean background-full-heightRead / Write
gboolean background-full-height-setRead / Write
GdkRGBA * background-rgbaRead / Write
gboolean background-setRead / Write
GtkTextDirection directionRead / Write
gboolean editableRead / Write
gboolean editable-setRead / Write
gboolean fallbackRead / Write
gboolean fallback-setRead / Write
gchar * familyRead / Write
gboolean family-setRead / Write
gchar * fontRead / Write
PangoFontDescription * font-descRead / Write
gchar * font-featuresRead / Write
gboolean font-features-setRead / Write
gchar * foregroundWrite
GdkRGBA * foreground-rgbaRead / Write
gboolean foreground-setRead / Write
gint indentRead / Write
gboolean indent-setRead / Write
gboolean invisibleRead / Write
gboolean invisible-setRead / Write
GtkJustification justificationRead / Write
gboolean justification-setRead / Write
gchar * languageRead / Write
gboolean language-setRead / Write
gint left-marginRead / Write
gboolean left-margin-setRead / Write
gint letter-spacingRead / Write
gboolean letter-spacing-setRead / Write
gchar * nameRead / Write / Construct Only
gchar * paragraph-backgroundWrite
GdkRGBA * paragraph-background-rgbaRead / Write
gboolean paragraph-background-setRead / Write
gint pixels-above-linesRead / Write
gboolean pixels-above-lines-setRead / Write
gint pixels-below-linesRead / Write
gboolean pixels-below-lines-setRead / Write
gint pixels-inside-wrapRead / Write
gboolean pixels-inside-wrap-setRead / Write
gint right-marginRead / Write
gboolean right-margin-setRead / Write
gint riseRead / Write
gboolean rise-setRead / Write
gdouble scaleRead / Write
gboolean scale-setRead / Write
gint sizeRead / Write
gdouble size-pointsRead / Write
gboolean size-setRead / Write
PangoStretch stretchRead / Write
gboolean stretch-setRead / Write
gboolean strikethroughRead / Write
GdkRGBA * strikethrough-rgbaRead / Write
gboolean strikethrough-rgba-setRead / Write
gboolean strikethrough-setRead / Write
PangoStyle styleRead / Write
gboolean style-setRead / Write
PangoTabArray * tabsRead / Write
gboolean tabs-setRead / Write
PangoUnderline underlineRead / Write
GdkRGBA * underline-rgbaRead / Write
gboolean underline-rgba-setRead / Write
gboolean underline-setRead / Write
PangoVariant variantRead / Write
gboolean variant-setRead / Write
gint weightRead / Write
gboolean weight-setRead / Write
GtkWrapMode wrap-modeRead / Write
gboolean wrap-mode-setRead / Write
Types and Values
struct GtkTextTag
Object Hierarchy
GObject
╰── GtkTextTag
Includes #include <gtk/gtk.h>
Description
You may wish to begin by reading the
text widget conceptual overview
which gives an overview of all the objects and
data types related to the text widget and how they work together.
Tags should be in the GtkTextTagTable for a given GtkTextBuffer
before using them with that buffer.
gtk_text_buffer_create_tag() is the best way to create tags.
See “gtk4-demo” for numerous examples.
For each property of GtkTextTag , there is a “set” property, e.g.
“font-set” corresponds to “font”. These “set” properties reflect
whether a property has been set or not.
They are maintained by GTK+ and you should not set them independently.
Functions
gtk_text_tag_new ()
gtk_text_tag_new
GtkTextTag *
gtk_text_tag_new (const gchar *name );
Creates a GtkTextTag . Configure the tag using object arguments,
i.e. using g_object_set() .
Parameters
name
tag name, or NULL .
[allow-none ]
Returns
a new GtkTextTag
gtk_text_tag_get_priority ()
gtk_text_tag_get_priority
gint
gtk_text_tag_get_priority (GtkTextTag *tag );
Get the tag priority.
Parameters
tag
a GtkTextTag
Returns
The tag’s priority.
gtk_text_tag_set_priority ()
gtk_text_tag_set_priority
void
gtk_text_tag_set_priority (GtkTextTag *tag ,
gint priority );
Sets the priority of a GtkTextTag . Valid priorities
start at 0 and go to one less than gtk_text_tag_table_get_size() .
Each tag in a table has a unique priority; setting the priority
of one tag shifts the priorities of all the other tags in the
table to maintain a unique priority for each tag. Higher priority
tags “win” if two tags both set the same text attribute. When adding
a tag to a tag table, it will be assigned the highest priority in
the table by default; so normally the precedence of a set of tags
is the order in which they were added to the table, or created with
gtk_text_buffer_create_tag() , which adds the tag to the buffer’s table
automatically.
Parameters
tag
a GtkTextTag
priority
the new priority
gtk_text_tag_changed ()
gtk_text_tag_changed
void
gtk_text_tag_changed (GtkTextTag *tag ,
gboolean size_changed );
Emits the “tag-changed” signal on the GtkTextTagTable where
the tag is included.
The signal is already emitted when setting a GtkTextTag property. This
function is useful for a GtkTextTag subclass.
Parameters
tag
a GtkTextTag .
size_changed
whether the change affects the GtkTextView layout.
Property Details
The “accumulative-margin” property
GtkTextTag:accumulative-margin
“accumulative-margin” gboolean
Whether the margins accumulate or override each other.
When set to TRUE the margins of this tag are added to the margins
of any other non-accumulative margins present. When set to FALSE
the margins override one another (the default).
Owner: GtkTextTag
Flags: Read / Write
Default value: FALSE
The “background” property
GtkTextTag:background
“background” gchar *
Background color as a string. Owner: GtkTextTag
Flags: Write
Default value: NULL
The “background-full-height” property
GtkTextTag:background-full-height
“background-full-height” gboolean
Whether the background color fills the entire line height or only the height of the tagged characters. Owner: GtkTextTag
Flags: Read / Write
Default value: FALSE
The “background-full-height-set” property
GtkTextTag:background-full-height-set
“background-full-height-set” gboolean
Whether this tag affects background height. Owner: GtkTextTag
Flags: Read / Write
Default value: FALSE
The “background-rgba” property
GtkTextTag:background-rgba
“background-rgba” GdkRGBA *
Background color as a GdkRGBA .
Owner: GtkTextTag
Flags: Read / Write
The “background-set” property
GtkTextTag:background-set
“background-set” gboolean
Whether this tag affects the background color. Owner: GtkTextTag
Flags: Read / Write
Default value: FALSE
The “direction” property
GtkTextTag:direction
“direction” GtkTextDirection
Text direction, e.g. right-to-left or left-to-right. Owner: GtkTextTag
Flags: Read / Write
Default value: GTK_TEXT_DIR_NONE
The “editable” property
GtkTextTag:editable
“editable” gboolean
Whether the text can be modified by the user. Owner: GtkTextTag
Flags: Read / Write
Default value: TRUE
The “editable-set” property
GtkTextTag:editable-set
“editable-set” gboolean
Whether this tag affects text editability. Owner: GtkTextTag
Flags: Read / Write
Default value: FALSE
The “fallback” property
GtkTextTag:fallback
“fallback” gboolean
Whether font fallback is enabled.
When set to TRUE , other fonts will be substituted
where the current font is missing glyphs.
Owner: GtkTextTag
Flags: Read / Write
Default value: TRUE
The “fallback-set” property
GtkTextTag:fallback-set
“fallback-set” gboolean
Whether this tag affects font fallback. Owner: GtkTextTag
Flags: Read / Write
Default value: FALSE
The “family” property
GtkTextTag:family
“family” gchar *
Name of the font family, e.g. Sans, Helvetica, Times, Monospace. Owner: GtkTextTag
Flags: Read / Write
Default value: NULL
The “family-set” property
GtkTextTag:family-set
“family-set” gboolean
Whether this tag affects the font family. Owner: GtkTextTag
Flags: Read / Write
Default value: FALSE
The “font” property
GtkTextTag:font
“font” gchar *
Font description as string, e.g. \"Sans Italic 12\".
Note that the initial value of this property depends on
the internals of PangoFontDescription .
Owner: GtkTextTag
Flags: Read / Write
Default value: NULL
The “font-desc” property
GtkTextTag:font-desc
“font-desc” PangoFontDescription *
Font description as a PangoFontDescription struct. Owner: GtkTextTag
Flags: Read / Write
The “font-features” property
GtkTextTag:font-features
“font-features” gchar *
OpenType font features, as a string.
Owner: GtkTextTag
Flags: Read / Write
Default value: NULL
The “font-features-set” property
GtkTextTag:font-features-set
“font-features-set” gboolean
Whether this tag affects font features. Owner: GtkTextTag
Flags: Read / Write
Default value: FALSE
The “foreground” property
GtkTextTag:foreground
“foreground” gchar *
Foreground color as a string. Owner: GtkTextTag
Flags: Write
Default value: NULL
The “foreground-rgba” property
GtkTextTag:foreground-rgba
“foreground-rgba” GdkRGBA *
Foreground color as a GdkRGBA .
Owner: GtkTextTag
Flags: Read / Write
The “foreground-set” property
GtkTextTag:foreground-set
“foreground-set” gboolean
Whether this tag affects the foreground color. Owner: GtkTextTag
Flags: Read / Write
Default value: FALSE
The “indent” property
GtkTextTag:indent
“indent” gint
Amount to indent the paragraph, in pixels. Owner: GtkTextTag
Flags: Read / Write
Default value: 0
The “indent-set” property
GtkTextTag:indent-set
“indent-set” gboolean
Whether this tag affects indentation. Owner: GtkTextTag
Flags: Read / Write
Default value: FALSE
The “invisible” property
GtkTextTag:invisible
“invisible” gboolean
Whether this text is hidden.
Note that there may still be problems with the support for invisible
text, in particular when navigating programmatically inside a buffer
containing invisible segments.
Owner: GtkTextTag
Flags: Read / Write
Default value: FALSE
The “invisible-set” property
GtkTextTag:invisible-set
“invisible-set” gboolean
Whether this tag affects text visibility. Owner: GtkTextTag
Flags: Read / Write
Default value: FALSE
The “justification” property
GtkTextTag:justification
“justification” GtkJustification
Left, right, or center justification. Owner: GtkTextTag
Flags: Read / Write
Default value: GTK_JUSTIFY_LEFT
The “justification-set” property
GtkTextTag:justification-set
“justification-set” gboolean
Whether this tag affects paragraph justification. Owner: GtkTextTag
Flags: Read / Write
Default value: FALSE
The “language” property
GtkTextTag:language
“language” gchar *
The language this text is in, as an ISO code. Pango can use this as a
hint when rendering the text. If not set, an appropriate default will be
used.
Note that the initial value of this property depends on the current
locale, see also gtk_get_default_language() .
Owner: GtkTextTag
Flags: Read / Write
Default value: NULL
The “language-set” property
GtkTextTag:language-set
“language-set” gboolean
Whether this tag affects the language the text is rendered as. Owner: GtkTextTag
Flags: Read / Write
Default value: FALSE
The “left-margin” property
GtkTextTag:left-margin
“left-margin” gint
Width of the left margin in pixels. Owner: GtkTextTag
Flags: Read / Write
Allowed values: >= 0
Default value: 0
The “left-margin-set” property
GtkTextTag:left-margin-set
“left-margin-set” gboolean
Whether this tag affects the left margin. Owner: GtkTextTag
Flags: Read / Write
Default value: FALSE
The “letter-spacing” property
GtkTextTag:letter-spacing
“letter-spacing” gint
Extra spacing between graphemes, in Pango units.
Owner: GtkTextTag
Flags: Read / Write
Allowed values: >= 0
Default value: 0
The “letter-spacing-set” property
GtkTextTag:letter-spacing-set
“letter-spacing-set” gboolean
Whether this tag affects letter spacing. Owner: GtkTextTag
Flags: Read / Write
Default value: FALSE
The “name” property
GtkTextTag:name
“name” gchar *
Name used to refer to the text tag. NULL for anonymous tags. Owner: GtkTextTag
Flags: Read / Write / Construct Only
Default value: NULL
The “paragraph-background” property
GtkTextTag:paragraph-background
“paragraph-background” gchar *
The paragraph background color as a string.
Owner: GtkTextTag
Flags: Write
Default value: NULL
The “paragraph-background-rgba” property
GtkTextTag:paragraph-background-rgba
“paragraph-background-rgba” GdkRGBA *
The paragraph background color as a GdkRGBA .
Owner: GtkTextTag
Flags: Read / Write
The “paragraph-background-set” property
GtkTextTag:paragraph-background-set
“paragraph-background-set” gboolean
Whether this tag affects the paragraph background color. Owner: GtkTextTag
Flags: Read / Write
Default value: FALSE
The “pixels-above-lines” property
GtkTextTag:pixels-above-lines
“pixels-above-lines” gint
Pixels of blank space above paragraphs. Owner: GtkTextTag
Flags: Read / Write
Allowed values: >= 0
Default value: 0
The “pixels-above-lines-set” property
GtkTextTag:pixels-above-lines-set
“pixels-above-lines-set” gboolean
Whether this tag affects the number of pixels above lines. Owner: GtkTextTag
Flags: Read / Write
Default value: FALSE
The “pixels-below-lines” property
GtkTextTag:pixels-below-lines
“pixels-below-lines” gint
Pixels of blank space below paragraphs. Owner: GtkTextTag
Flags: Read / Write
Allowed values: >= 0
Default value: 0
The “pixels-below-lines-set” property
GtkTextTag:pixels-below-lines-set
“pixels-below-lines-set” gboolean
Whether this tag affects the number of pixels above lines. Owner: GtkTextTag
Flags: Read / Write
Default value: FALSE
The “pixels-inside-wrap” property
GtkTextTag:pixels-inside-wrap
“pixels-inside-wrap” gint
Pixels of blank space between wrapped lines in a paragraph. Owner: GtkTextTag
Flags: Read / Write
Allowed values: >= 0
Default value: 0
The “pixels-inside-wrap-set” property
GtkTextTag:pixels-inside-wrap-set
“pixels-inside-wrap-set” gboolean
Whether this tag affects the number of pixels between wrapped lines. Owner: GtkTextTag
Flags: Read / Write
Default value: FALSE
The “right-margin” property
GtkTextTag:right-margin
“right-margin” gint
Width of the right margin in pixels. Owner: GtkTextTag
Flags: Read / Write
Allowed values: >= 0
Default value: 0
The “right-margin-set” property
GtkTextTag:right-margin-set
“right-margin-set” gboolean
Whether this tag affects the right margin. Owner: GtkTextTag
Flags: Read / Write
Default value: FALSE
The “rise” property
GtkTextTag:rise
“rise” gint
Offset of text above the baseline (below the baseline if rise is negative) in Pango units. Owner: GtkTextTag
Flags: Read / Write
Default value: 0
The “rise-set” property
GtkTextTag:rise-set
“rise-set” gboolean
Whether this tag affects the rise. Owner: GtkTextTag
Flags: Read / Write
Default value: FALSE
The “scale” property
GtkTextTag:scale
“scale” gdouble
Font size as a scale factor relative to the default font size. This properly adapts to theme changes etc. so is recommended. Pango predefines some scales such as PANGO_SCALE_X_LARGE. Owner: GtkTextTag
Flags: Read / Write
Allowed values: >= 0
Default value: 1
The “scale-set” property
GtkTextTag:scale-set
“scale-set” gboolean
Whether this tag scales the font size by a factor. Owner: GtkTextTag
Flags: Read / Write
Default value: FALSE
The “size” property
GtkTextTag:size
“size” gint
Font size in Pango units. Owner: GtkTextTag
Flags: Read / Write
Allowed values: >= 0
Default value: 0
The “size-points” property
GtkTextTag:size-points
“size-points” gdouble
Font size in points. Owner: GtkTextTag
Flags: Read / Write
Allowed values: >= 0
Default value: 0
The “size-set” property
GtkTextTag:size-set
“size-set” gboolean
Whether this tag affects the font size. Owner: GtkTextTag
Flags: Read / Write
Default value: FALSE
The “stretch” property
GtkTextTag:stretch
“stretch” PangoStretch
Font stretch as a PangoStretch, e.g. PANGO_STRETCH_CONDENSED. Owner: GtkTextTag
Flags: Read / Write
Default value: PANGO_STRETCH_NORMAL
The “stretch-set” property
GtkTextTag:stretch-set
“stretch-set” gboolean
Whether this tag affects the font stretch. Owner: GtkTextTag
Flags: Read / Write
Default value: FALSE
The “strikethrough” property
GtkTextTag:strikethrough
“strikethrough” gboolean
Whether to strike through the text. Owner: GtkTextTag
Flags: Read / Write
Default value: FALSE
The “strikethrough-rgba” property
GtkTextTag:strikethrough-rgba
“strikethrough-rgba” GdkRGBA *
This property modifies the color of strikeouts. If not set, strikeouts
will use the forground color.
Owner: GtkTextTag
Flags: Read / Write
The “strikethrough-rgba-set” property
GtkTextTag:strikethrough-rgba-set
“strikethrough-rgba-set” gboolean
If the “strikethrough-rgba” property has been set.
Owner: GtkTextTag
Flags: Read / Write
Default value: FALSE
The “strikethrough-set” property
GtkTextTag:strikethrough-set
“strikethrough-set” gboolean
Whether this tag affects strikethrough. Owner: GtkTextTag
Flags: Read / Write
Default value: FALSE
The “style” property
GtkTextTag:style
“style” PangoStyle
Font style as a PangoStyle, e.g. PANGO_STYLE_ITALIC. Owner: GtkTextTag
Flags: Read / Write
Default value: PANGO_STYLE_NORMAL
The “style-set” property
GtkTextTag:style-set
“style-set” gboolean
Whether this tag affects the font style. Owner: GtkTextTag
Flags: Read / Write
Default value: FALSE
The “tabs” property
GtkTextTag:tabs
“tabs” PangoTabArray *
Custom tabs for this text. Owner: GtkTextTag
Flags: Read / Write
The “tabs-set” property
GtkTextTag:tabs-set
“tabs-set” gboolean
Whether this tag affects tabs. Owner: GtkTextTag
Flags: Read / Write
Default value: FALSE
The “underline” property
GtkTextTag:underline
“underline” PangoUnderline
Style of underline for this text. Owner: GtkTextTag
Flags: Read / Write
Default value: PANGO_UNDERLINE_NONE
The “underline-rgba” property
GtkTextTag:underline-rgba
“underline-rgba” GdkRGBA *
This property modifies the color of underlines. If not set, underlines
will use the forground color.
If “underline” is set to PANGO_UNDERLINE_ERROR , an alternate
color may be applied instead of the foreground. Setting this property
will always override those defaults.
Owner: GtkTextTag
Flags: Read / Write
The “underline-rgba-set” property
GtkTextTag:underline-rgba-set
“underline-rgba-set” gboolean
If the “underline-rgba” property has been set.
Owner: GtkTextTag
Flags: Read / Write
Default value: FALSE
The “underline-set” property
GtkTextTag:underline-set
“underline-set” gboolean
Whether this tag affects underlining. Owner: GtkTextTag
Flags: Read / Write
Default value: FALSE
The “variant” property
GtkTextTag:variant
“variant” PangoVariant
Font variant as a PangoVariant, e.g. PANGO_VARIANT_SMALL_CAPS. Owner: GtkTextTag
Flags: Read / Write
Default value: PANGO_VARIANT_NORMAL
The “variant-set” property
GtkTextTag:variant-set
“variant-set” gboolean
Whether this tag affects the font variant. Owner: GtkTextTag
Flags: Read / Write
Default value: FALSE
The “weight” property
GtkTextTag:weight
“weight” gint
Font weight as an integer, see predefined values in PangoWeight; for example, PANGO_WEIGHT_BOLD. Owner: GtkTextTag
Flags: Read / Write
Allowed values: >= 0
Default value: 400
The “weight-set” property
GtkTextTag:weight-set
“weight-set” gboolean
Whether this tag affects the font weight. Owner: GtkTextTag
Flags: Read / Write
Default value: FALSE
The “wrap-mode” property
GtkTextTag:wrap-mode
“wrap-mode” GtkWrapMode
Whether to wrap lines never, at word boundaries, or at character boundaries. Owner: GtkTextTag
Flags: Read / Write
Default value: GTK_WRAP_NONE
The “wrap-mode-set” property
GtkTextTag:wrap-mode-set
“wrap-mode-set” gboolean
Whether this tag affects line wrap mode. Owner: GtkTextTag
Flags: Read / Write
Default value: FALSE
docs/reference/gtk/xml/gtkfontchooserdialog.xml 0000664 0001750 0001750 00000014402 13617646201 022131 0 ustar mclasen mclasen
]>
GtkFontChooserDialog
3
GTK4 Library
GtkFontChooserDialog
A dialog for selecting fonts
Functions
GtkWidget *
gtk_font_chooser_dialog_new ()
Types and Values
GtkFontChooserDialog
Object Hierarchy
GObject
╰── GInitiallyUnowned
╰── GtkWidget
╰── GtkContainer
╰── GtkBin
╰── GtkWindow
╰── GtkDialog
╰── GtkFontChooserDialog
Implemented Interfaces
GtkFontChooserDialog implements
AtkImplementorIface, GtkBuildable, GtkConstraintTarget, GtkNative, GtkRoot and GtkFontChooser.
Includes #include <gtk/gtk.h>
Description
The GtkFontChooserDialog widget is a dialog for selecting a font.
It implements the GtkFontChooser interface.
GtkFontChooserDialog as GtkBuildable The GtkFontChooserDialog implementation of the GtkBuildable
interface exposes the buttons with the names “select_button”
and “cancel_button”.
Functions
gtk_font_chooser_dialog_new ()
gtk_font_chooser_dialog_new
GtkWidget *
gtk_font_chooser_dialog_new (const gchar *title ,
GtkWindow *parent );
Creates a new GtkFontChooserDialog .
Parameters
title
Title of the dialog, or NULL .
[allow-none ]
parent
Transient parent of the dialog, or NULL .
[allow-none ]
Returns
a new GtkFontChooserDialog
See Also
GtkFontChooser , GtkDialog
docs/reference/gtk/xml/gtkvolumebutton.xml 0000664 0001750 0001750 00000014131 13617646203 021164 0 ustar mclasen mclasen
]>
GtkVolumeButton
3
GTK4 Library
GtkVolumeButton
A button which pops up a volume control
Functions
GtkWidget *
gtk_volume_button_new ()
Properties
gboolean use-symbolicRead / Write / Construct
Types and Values
struct GtkVolumeButton
Object Hierarchy
GObject
╰── GInitiallyUnowned
╰── GtkWidget
╰── GtkContainer
╰── GtkBin
╰── GtkButton
╰── GtkScaleButton
╰── GtkVolumeButton
Implemented Interfaces
GtkVolumeButton implements
AtkImplementorIface, GtkBuildable, GtkConstraintTarget, GtkActionable and GtkOrientable.
Includes #include <gtk/gtk.h>
Description
GtkVolumeButton is a subclass of GtkScaleButton that has
been tailored for use as a volume control widget with suitable
icons, tooltips and accessible labels.
Functions
gtk_volume_button_new ()
gtk_volume_button_new
GtkWidget *
gtk_volume_button_new (void );
Creates a GtkVolumeButton , with a range between 0.0 and 1.0, with
a stepping of 0.02. Volume values can be obtained and modified using
the functions from GtkScaleButton .
Returns
a new GtkVolumeButton
Property Details
The “use-symbolic” property
GtkVolumeButton:use-symbolic
“use-symbolic” gboolean
Whether to use symbolic icons as the icons. Note that
if the symbolic icons are not available in your installed
theme, then the normal (potentially colorful) icons will
be used.
Owner: GtkVolumeButton
Flags: Read / Write / Construct
Default value: TRUE
docs/reference/gtk/xml/gtkframe.xml 0000664 0001750 0001750 00000061460 13617646201 017520 0 ustar mclasen mclasen
]>
GtkFrame
3
GTK4 Library
GtkFrame
A bin with a decorative frame and optional label
Functions
GtkWidget *
gtk_frame_new ()
void
gtk_frame_set_label ()
void
gtk_frame_set_label_widget ()
void
gtk_frame_set_label_align ()
void
gtk_frame_set_shadow_type ()
const gchar *
gtk_frame_get_label ()
gfloat
gtk_frame_get_label_align ()
GtkWidget *
gtk_frame_get_label_widget ()
GtkShadowType
gtk_frame_get_shadow_type ()
Properties
gchar * labelRead / Write
GtkWidget * label-widgetRead / Write
gfloat label-xalignRead / Write
GtkShadowType shadow-typeRead / Write
Types and Values
struct GtkFrame
struct GtkFrameClass
Object Hierarchy
GObject
╰── GInitiallyUnowned
╰── GtkWidget
╰── GtkContainer
╰── GtkBin
╰── GtkFrame
╰── GtkAspectFrame
Implemented Interfaces
GtkFrame implements
AtkImplementorIface, GtkBuildable and GtkConstraintTarget.
Includes #include <gtk/gtk.h>
Description
The frame widget is a bin that surrounds its child with a decorative
frame and an optional label. If present, the label is drawn inside
the top edge of the frame. The horizontal position of the label can
be controlled with gtk_frame_set_label_align() .
GtkFrame as GtkBuildable The GtkFrame implementation of the GtkBuildable interface supports
placing a child in the label position by specifying “label” as the
“type” attribute of a <child> element. A normal content child can
be specified without specifying a <child> type attribute.
An example of a UI definition fragment with GtkFrame:
]]>
CSS nodes
╰──
]]>
GtkFrame has a main CSS node with name “frame”, which is used to draw the
visible border. You can set the appearance of the border using CSS properties
like “border-style” on this node.
The node can be given the style class “.flat”, which is used by themes to
disable drawing of the border. To do this from code, call
gtk_frame_set_shadow_type() with GTK_SHADOW_NONE to add the “.flat” class or
any other shadow type to remove it.
Functions
gtk_frame_new ()
gtk_frame_new
GtkWidget *
gtk_frame_new (const gchar *label );
Creates a new GtkFrame , with optional label label
.
If label
is NULL , the label is omitted.
Parameters
label
the text to use as the label of the frame.
[allow-none ]
Returns
a new GtkFrame widget
gtk_frame_set_label ()
gtk_frame_set_label
void
gtk_frame_set_label (GtkFrame *frame ,
const gchar *label );
Removes the current “label-widget” . If label
is not NULL , creates a
new GtkLabel with that text and adds it as the “label-widget” .
Parameters
frame
a GtkFrame
label
the text to use as the label of the frame.
[allow-none ]
gtk_frame_set_label_widget ()
gtk_frame_set_label_widget
void
gtk_frame_set_label_widget (GtkFrame *frame ,
GtkWidget *label_widget );
Sets the “label-widget” for the frame. This is the widget that
will appear embedded in the top edge of the frame as a title.
Parameters
frame
a GtkFrame
label_widget
the new label widget.
[nullable ]
gtk_frame_set_label_align ()
gtk_frame_set_label_align
void
gtk_frame_set_label_align (GtkFrame *frame ,
gfloat xalign );
Sets the X alignment of the frame widget’s label. The
default value for a newly created frame is 0.0.
Parameters
frame
a GtkFrame
xalign
The position of the label along the top edge
of the widget. A value of 0.0 represents left alignment;
1.0 represents right alignment.
gtk_frame_set_shadow_type ()
gtk_frame_set_shadow_type
void
gtk_frame_set_shadow_type (GtkFrame *frame ,
GtkShadowType type );
Sets the “shadow-type” for frame
, i.e. whether it is drawn without
(GTK_SHADOW_NONE ) or with (other values) a visible border. Values other than
GTK_SHADOW_NONE are treated identically by GtkFrame. The chosen type is
applied by removing or adding the .flat class to the main CSS node, frame.
Parameters
frame
a GtkFrame
type
the new GtkShadowType
gtk_frame_get_label ()
gtk_frame_get_label
const gchar *
gtk_frame_get_label (GtkFrame *frame );
If the frame’s label widget is a GtkLabel , returns the
text in the label widget. (The frame will have a GtkLabel
for the label widget if a non-NULL argument was passed
to gtk_frame_new() .)
Parameters
frame
a GtkFrame
Returns
the text in the label, or NULL if there
was no label widget or the lable widget was not
a GtkLabel . This string is owned by GTK+ and
must not be modified or freed.
[nullable ]
gtk_frame_get_label_align ()
gtk_frame_get_label_align
gfloat
gtk_frame_get_label_align (GtkFrame *frame );
Retrieves the X alignment of the frame’s label. See
gtk_frame_set_label_align() .
Parameters
frame
a GtkFrame
gtk_frame_get_label_widget ()
gtk_frame_get_label_widget
GtkWidget *
gtk_frame_get_label_widget (GtkFrame *frame );
Retrieves the label widget for the frame. See
gtk_frame_set_label_widget() .
Parameters
frame
a GtkFrame
Returns
the label widget, or NULL if
there is none.
[nullable ][transfer none ]
gtk_frame_get_shadow_type ()
gtk_frame_get_shadow_type
GtkShadowType
gtk_frame_get_shadow_type (GtkFrame *frame );
Retrieves the shadow type of the frame. See
gtk_frame_set_shadow_type() .
Parameters
frame
a GtkFrame
Returns
the current shadow type of the frame.
Property Details
The “label” property
GtkFrame:label
“label” gchar *
Text of the frame’s label. Owner: GtkFrame
Flags: Read / Write
Default value: NULL
The “label-widget” property
GtkFrame:label-widget
“label-widget” GtkWidget *
A widget to display in place of the usual frame label. Owner: GtkFrame
Flags: Read / Write
The “label-xalign” property
GtkFrame:label-xalign
“label-xalign” gfloat
The horizontal alignment of the label. Owner: GtkFrame
Flags: Read / Write
Allowed values: [0,1]
Default value: 0
The “shadow-type” property
GtkFrame:shadow-type
“shadow-type” GtkShadowType
Appearance of the frame. Owner: GtkFrame
Flags: Read / Write
Default value: GTK_SHADOW_ETCHED_IN
docs/reference/gtk/xml/gtksnapshot.xml 0000664 0001750 0001750 00000302604 13617646203 020265 0 ustar mclasen mclasen
]>
GtkSnapshot
3
GTK4 Library
GtkSnapshot
Auxiliary object for snapshots
Functions
GtkSnapshot *
gtk_snapshot_new ()
GskRenderNode *
gtk_snapshot_to_node ()
GdkPaintable *
gtk_snapshot_to_paintable ()
GskRenderNode *
gtk_snapshot_free_to_node ()
GdkPaintable *
gtk_snapshot_free_to_paintable ()
void
gtk_snapshot_push_opacity ()
void
gtk_snapshot_push_color_matrix ()
void
gtk_snapshot_push_repeat ()
void
gtk_snapshot_push_clip ()
void
gtk_snapshot_push_rounded_clip ()
void
gtk_snapshot_push_cross_fade ()
void
gtk_snapshot_push_blend ()
void
gtk_snapshot_push_blur ()
void
gtk_snapshot_push_shadow ()
void
gtk_snapshot_push_debug ()
void
gtk_snapshot_pop ()
void
gtk_snapshot_save ()
void
gtk_snapshot_restore ()
void
gtk_snapshot_transform ()
void
gtk_snapshot_transform_matrix ()
void
gtk_snapshot_translate ()
void
gtk_snapshot_translate_3d ()
void
gtk_snapshot_rotate ()
void
gtk_snapshot_rotate_3d ()
void
gtk_snapshot_scale ()
void
gtk_snapshot_scale_3d ()
void
gtk_snapshot_perspective ()
void
gtk_snapshot_append_node ()
cairo_t *
gtk_snapshot_append_cairo ()
void
gtk_snapshot_append_texture ()
void
gtk_snapshot_append_color ()
void
gtk_snapshot_append_layout ()
void
gtk_snapshot_append_linear_gradient ()
void
gtk_snapshot_append_repeating_linear_gradient ()
void
gtk_snapshot_append_border ()
void
gtk_snapshot_append_inset_shadow ()
void
gtk_snapshot_append_outset_shadow ()
void
gtk_snapshot_render_background ()
void
gtk_snapshot_render_frame ()
void
gtk_snapshot_render_focus ()
void
gtk_snapshot_render_layout ()
void
gtk_snapshot_render_insertion_cursor ()
Types and Values
typedef GtkSnapshot
Object Hierarchy
GObject
╰── GdkSnapshot
╰── GtkSnapshot
Includes #include <gtk/gtk.h>
Description
GtkSnapshot is an auxiliary object that assists in creating GskRenderNodes
in the “snapshot” vfunc. It functions in a similar way to
a cairo context, and maintains a stack of render nodes and their associated
transformations.
The node at the top of the stack is the the one that gtk_snapshot_append_…
functions operate on. Use the gtk_snapshot_push_… functions and gtk_snapshot_pop()
to change the current node.
The typical way to obtain a GtkSnapshot object is as an argument to
the “snapshot” vfunc. If you need to create your own GtkSnapshot,
use gtk_snapshot_new() .
Functions
gtk_snapshot_new ()
gtk_snapshot_new
GtkSnapshot *
gtk_snapshot_new (void );
Creates a new GtkSnapshot .
Returns
a newly-allocated GtkSnapshot
gtk_snapshot_to_node ()
gtk_snapshot_to_node
GskRenderNode *
gtk_snapshot_to_node (GtkSnapshot *snapshot );
Returns the render node that was constructed
by snapshot
. After calling this function, it
is no longer possible to add more nodes to
snapshot
. The only function that should be
called after this is gtk_snapshot_unref() .
Parameters
snapshot
a GtkSnapshot
Returns
the constructed GskRenderNode
gtk_snapshot_to_paintable ()
gtk_snapshot_to_paintable
GdkPaintable *
gtk_snapshot_to_paintable (GtkSnapshot *snapshot ,
const graphene_size_t *size );
Returns a paintable encapsulating the render node
that was constructed by snapshot
. After calling
this function, it is no longer possible to add more
nodes to snapshot
. The only function that should be
called after this is gtk_snapshot_unref() .
Parameters
snapshot
a GtkSnapshot
size
The size of the resulting paintable
or NULL to use the bounds of the snapshot.
[allow-none ]
Returns
a new GdkPaintable .
[transfer full ]
gtk_snapshot_free_to_node ()
gtk_snapshot_free_to_node
GskRenderNode *
gtk_snapshot_free_to_node (GtkSnapshot *snapshot );
Returns the node that was constructed by snapshot
and frees snapshot
.
[skip ]
Parameters
snapshot
a GtkSnapshot .
[transfer full ]
Returns
a newly-created GskRenderNode .
[transfer full ]
gtk_snapshot_free_to_paintable ()
gtk_snapshot_free_to_paintable
GdkPaintable *
gtk_snapshot_free_to_paintable (GtkSnapshot *snapshot ,
const graphene_size_t *size );
Returns a paintable for the node that was
constructed by snapshot
and frees snapshot
.
[skip ]
Parameters
snapshot
a GtkSnapshot .
[transfer full ]
size
The size of the resulting paintable
or NULL to use the bounds of the snapshot.
[allow-none ]
Returns
a newly-created GdkPaintable .
[transfer full ]
gtk_snapshot_push_opacity ()
gtk_snapshot_push_opacity
void
gtk_snapshot_push_opacity (GtkSnapshot *snapshot ,
double opacity );
Modifies the opacity of an image.
The image is recorded until the next call to gtk_snapshot_pop() .
Parameters
snapshot
a GtkSnapshot
opacity
the opacity to use
gtk_snapshot_push_color_matrix ()
gtk_snapshot_push_color_matrix
void
gtk_snapshot_push_color_matrix (GtkSnapshot *snapshot ,
const graphene_matrix_t *color_matrix ,
const graphene_vec4_t *color_offset );
Modifies the colors of an image by applying an affine transformation
in RGB space.
The image is recorded until the next call to gtk_snapshot_pop() .
Parameters
snapshot
a GtkSnapshot
color_matrix
the color matrix to use
color_offset
the color offset to use
gtk_snapshot_push_repeat ()
gtk_snapshot_push_repeat
void
gtk_snapshot_push_repeat (GtkSnapshot *snapshot ,
const graphene_rect_t *bounds ,
const graphene_rect_t *child_bounds );
Creates a node that repeats the child node.
The child is recorded until the next call to gtk_snapshot_pop() .
Parameters
snapshot
a GtkSnapshot
bounds
the bounds within which to repeat
child_bounds
the bounds of the child or NULL
to use the full size of the collected child node.
[nullable ]
gtk_snapshot_push_clip ()
gtk_snapshot_push_clip
void
gtk_snapshot_push_clip (GtkSnapshot *snapshot ,
const graphene_rect_t *bounds );
Clips an image to a rectangle.
The image is recorded until the next call to gtk_snapshot_pop() .
Parameters
snapshot
a GtkSnapshot
bounds
the rectangle to clip to
gtk_snapshot_push_rounded_clip ()
gtk_snapshot_push_rounded_clip
void
gtk_snapshot_push_rounded_clip (GtkSnapshot *snapshot ,
const GskRoundedRect *bounds );
Clips an image to a rounded rectangle.
The image is recorded until the next call to gtk_snapshot_pop() .
Parameters
snapshot
a GtkSnapshot
bounds
the rounded rectangle to clip to
gtk_snapshot_push_cross_fade ()
gtk_snapshot_push_cross_fade
void
gtk_snapshot_push_cross_fade (GtkSnapshot *snapshot ,
double progress );
Snapshots a cross-fade operation between two images with the
given progress
.
Until the first call to gtk_snapshot_pop() , the start image
will be snapshot. After that call, the end image will be recorded
until the second call to gtk_snapshot_pop() .
Calling this function requires 2 calls to gtk_snapshot_pop() .
Parameters
snapshot
a GtkSnapshot
progress
progress between 0.0 and 1.0
gtk_snapshot_push_blend ()
gtk_snapshot_push_blend
void
gtk_snapshot_push_blend (GtkSnapshot *snapshot ,
GskBlendMode blend_mode );
Blends together 2 images with the given blend mode.
Until the first call to gtk_snapshot_pop() , the bottom image for the
blend operation will be recorded. After that call, the top image to
be blended will be recorded until the second call to gtk_snapshot_pop() .
Calling this function requires 2 subsequent calls to gtk_snapshot_pop() .
Parameters
snapshot
a GtkSnapshot
blend_mode
blend mode to use
gtk_snapshot_push_blur ()
gtk_snapshot_push_blur
void
gtk_snapshot_push_blur (GtkSnapshot *snapshot ,
double radius );
Blurs an image.
The image is recorded until the next call to gtk_snapshot_pop() .
Parameters
snapshot
a GtkSnapshot
radius
the blur radius to use
gtk_snapshot_push_shadow ()
gtk_snapshot_push_shadow
void
gtk_snapshot_push_shadow (GtkSnapshot *snapshot ,
const GskShadow *shadow ,
gsize n_shadows );
Applies a shadow to an image.
The image is recorded until the next call to gtk_snapshot_pop() .
Parameters
snapshot
a GtkSnapshot
shadow
the first shadow specification
n_shadows
number of shadow specifications
gtk_snapshot_push_debug ()
gtk_snapshot_push_debug
void
gtk_snapshot_push_debug (GtkSnapshot *snapshot ,
const char *message ,
... );
Inserts a debug node with a message. Debug nodes don't affect
the rendering at all, but can be helpful in identifying parts
of a render node tree dump, for example in the GTK inspector.
Parameters
snapshot
a GtkSnapshot
message
a printf-style format string
...
arguments for message
gtk_snapshot_pop ()
gtk_snapshot_pop
void
gtk_snapshot_pop (GtkSnapshot *snapshot );
Removes the top element from the stack of render nodes,
and appends it to the node underneath it.
Parameters
snapshot
a GtkSnapshot
gtk_snapshot_save ()
gtk_snapshot_save
void
gtk_snapshot_save (GtkSnapshot *snapshot );
Makes a copy of the current state of snapshot
and saves it
on an internal stack of saved states for snapshot
. When
gtk_snapshot_restore() is called, snapshot
will be restored to
the saved state. Multiple calls to gtk_snapshot_save() and
gtk_snapshot_restore() can be nested; each call to
gtk_snapshot_restore() restores the state from the matching paired
gtk_snapshot_save() .
It is necessary to clear all saved states with corresponding calls
to gtk_snapshot_restore() .
Parameters
snapshot
a GtkSnapshot
gtk_snapshot_restore ()
gtk_snapshot_restore
void
gtk_snapshot_restore (GtkSnapshot *snapshot );
Restores snapshot
to the state saved by a preceding call to
gtk_snapshot_save() and removes that state from the stack of
saved states.
Parameters
snapshot
a GtkSnapshot
gtk_snapshot_transform ()
gtk_snapshot_transform
void
gtk_snapshot_transform (GtkSnapshot *snapshot ,
GskTransform *transform );
Transforms snapshot
's coordinate system with the given transform
.
Parameters
snapshot
a GtkSnapshot
transform
the transform to apply.
[allow-none ]
gtk_snapshot_transform_matrix ()
gtk_snapshot_transform_matrix
void
gtk_snapshot_transform_matrix (GtkSnapshot *snapshot ,
const graphene_matrix_t *matrix );
Transforms snapshot
's coordinate system with the given matrix
.
Parameters
snapshot
a GtkSnapshot
matrix
the matrix to multiply the transform with
gtk_snapshot_translate ()
gtk_snapshot_translate
void
gtk_snapshot_translate (GtkSnapshot *snapshot ,
const graphene_point_t *point );
Translates snapshot
's coordinate system by point
in 2-dimensional space.
Parameters
snapshot
a GtkSnapshot
point
the point to translate the snapshot by
gtk_snapshot_translate_3d ()
gtk_snapshot_translate_3d
void
gtk_snapshot_translate_3d (GtkSnapshot *snapshot ,
const graphene_point3d_t *point );
Translates snapshot
's coordinate system by point
.
Parameters
snapshot
a GtkSnapshot
point
the point to translate the snapshot by
gtk_snapshot_rotate ()
gtk_snapshot_rotate
void
gtk_snapshot_rotate (GtkSnapshot *snapshot ,
float angle );
Rotates @snapshot
's coordinate system by angle
degrees in 2D space -
or in 3D speak, rotates around the z axis.
Parameters
snapshot
a GtkSnapshot
angle
the rotation angle, in degrees (clockwise)
gtk_snapshot_rotate_3d ()
gtk_snapshot_rotate_3d
void
gtk_snapshot_rotate_3d (GtkSnapshot *snapshot ,
float angle ,
const graphene_vec3_t *axis );
Rotates snapshot
's coordinate system by angle
degrees around axis
.
For a rotation in 2D space, use gsk_transform_rotate() .
Parameters
snapshot
a GtkSnapshot
angle
the rotation angle, in degrees (clockwise)
axis
The rotation axis
gtk_snapshot_scale ()
gtk_snapshot_scale
void
gtk_snapshot_scale (GtkSnapshot *snapshot ,
float factor_x ,
float factor_y );
Scales snapshot
's coordinate system in 2-dimensional space by
the given factors.
Use gtk_snapshot_scale_3d() to scale in all 3 dimensions.
Parameters
snapshot
a GtkSnapshot
factor_x
scaling factor on the X axis
factor_y
scaling factor on the Y axis
gtk_snapshot_scale_3d ()
gtk_snapshot_scale_3d
void
gtk_snapshot_scale_3d (GtkSnapshot *snapshot ,
float factor_x ,
float factor_y ,
float factor_z );
Scales snapshot
's coordinate system by the given factors.
Parameters
snapshot
a GtkSnapshot
factor_x
scaling factor on the X axis
factor_y
scaling factor on the Y axis
factor_z
scaling factor on the Z axis
gtk_snapshot_perspective ()
gtk_snapshot_perspective
void
gtk_snapshot_perspective (GtkSnapshot *snapshot ,
float depth );
Applies a perspective projection transform.
See gsk_transform_perspective() for a discussion on the details.
Parameters
snapshot
a GtkSnapshot
depth
distance of the z=0 plane
gtk_snapshot_append_node ()
gtk_snapshot_append_node
void
gtk_snapshot_append_node (GtkSnapshot *snapshot ,
GskRenderNode *node );
Appends node
to the current render node of snapshot
,
without changing the current node. If snapshot
does
not have a current node yet, node
will become the
initial node.
Parameters
snapshot
a GtkSnapshot
node
a GskRenderNode
gtk_snapshot_append_cairo ()
gtk_snapshot_append_cairo
cairo_t *
gtk_snapshot_append_cairo (GtkSnapshot *snapshot ,
const graphene_rect_t *bounds );
Creates a new render node and appends it to the current render
node of snapshot
, without changing the current node.
Parameters
snapshot
a GtkSnapshot
bounds
the bounds for the new node
Returns
a cairo_t suitable for drawing the contents of the newly
created render node
gtk_snapshot_append_texture ()
gtk_snapshot_append_texture
void
gtk_snapshot_append_texture (GtkSnapshot *snapshot ,
GdkTexture *texture ,
const graphene_rect_t *bounds );
Creates a new render node drawing the texture
into the given bounds
and appends it
to the current render node of snapshot
.
Parameters
snapshot
a GtkSnapshot
texture
the GdkTexture to render
bounds
the bounds for the new node
gtk_snapshot_append_color ()
gtk_snapshot_append_color
void
gtk_snapshot_append_color (GtkSnapshot *snapshot ,
const GdkRGBA *color ,
const graphene_rect_t *bounds );
Creates a new render node drawing the color
into the given bounds
and appends it
to the current render node of snapshot
.
You should try to avoid calling this function if color
is transparent.
Parameters
snapshot
a GtkSnapshot
color
the GdkRGBA to draw
bounds
the bounds for the new node
gtk_snapshot_append_layout ()
gtk_snapshot_append_layout
void
gtk_snapshot_append_layout (GtkSnapshot *snapshot ,
PangoLayout *layout ,
const GdkRGBA *color );
Creates render nodes for rendering layout
in the given foregound color
and appends them to the current node of snapshot
without changing the
current node.
Parameters
snapshot
a GtkSnapshot
layout
the PangoLayout to render
color
the foreground color to render the layout in
gtk_snapshot_append_linear_gradient ()
gtk_snapshot_append_linear_gradient
void
gtk_snapshot_append_linear_gradient (GtkSnapshot *snapshot ,
const graphene_rect_t *bounds ,
const graphene_point_t *start_point ,
const graphene_point_t *end_point ,
const GskColorStop *stops ,
gsize n_stops );
Appends a linear gradient node with the given stops to snapshot
.
Parameters
snapshot
a GtkSnapshot
bounds
the rectangle to render the linear gradient into
start_point
the point at which the linear gradient will begin
end_point
the point at which the linear gradient will finish
stops
a pointer to an array of GskColorStop defining the gradient.
[array length=n_stops]
n_stops
the number of elements in stops
gtk_snapshot_append_repeating_linear_gradient ()
gtk_snapshot_append_repeating_linear_gradient
void
gtk_snapshot_append_repeating_linear_gradient
(GtkSnapshot *snapshot ,
const graphene_rect_t *bounds ,
const graphene_point_t *start_point ,
const graphene_point_t *end_point ,
const GskColorStop *stops ,
gsize n_stops );
Appends a repeating linear gradient node with the given stops to snapshot
.
Parameters
snapshot
a GtkSnapshot
bounds
the rectangle to render the linear gradient into
start_point
the point at which the linear gradient will begin
end_point
the point at which the linear gradient will finish
stops
a pointer to an array of GskColorStop defining the gradient.
[array length=n_stops]
n_stops
the number of elements in stops
gtk_snapshot_append_border ()
gtk_snapshot_append_border
void
gtk_snapshot_append_border (GtkSnapshot *snapshot ,
const GskRoundedRect *outline ,
const float border_width[4] ,
const GdkRGBA border_color[4] );
Appends a stroked border rectangle inside the given outline
. The
4 sides of the border can have different widths and colors.
Parameters
snapshot
a GtkSnapshot
outline
a GskRoundedRect describing the outline of the border
border_width
the stroke width of the border on
the top, right, bottom and left side respectively.
[array fixed-size=4]
border_color
the color used on the top, right,
bottom and left side.
[array fixed-size=4]
gtk_snapshot_append_inset_shadow ()
gtk_snapshot_append_inset_shadow
void
gtk_snapshot_append_inset_shadow (GtkSnapshot *snapshot ,
const GskRoundedRect *outline ,
const GdkRGBA *color ,
float dx ,
float dy ,
float spread ,
float blur_radius );
Appends an inset shadow into the box given by outline
.
Parameters
snapshot
a GtkSnapshot
outline
outline of the region surrounded by shadow
color
color of the shadow
dx
horizontal offset of shadow
dy
vertical offset of shadow
spread
how far the shadow spreads towards the inside
blur_radius
how much blur to apply to the shadow
gtk_snapshot_append_outset_shadow ()
gtk_snapshot_append_outset_shadow
void
gtk_snapshot_append_outset_shadow (GtkSnapshot *snapshot ,
const GskRoundedRect *outline ,
const GdkRGBA *color ,
float dx ,
float dy ,
float spread ,
float blur_radius );
Appends an outset shadow node around the box given by outline
.
Parameters
snapshot
a GtkSnapshot
outline
outline of the region surrounded by shadow
color
color of the shadow
dx
horizontal offset of shadow
dy
vertical offset of shadow
spread
how far the shadow spreads towards the outside
blur_radius
how much blur to apply to the shadow
gtk_snapshot_render_background ()
gtk_snapshot_render_background
void
gtk_snapshot_render_background (GtkSnapshot *snapshot ,
GtkStyleContext *context ,
gdouble x ,
gdouble y ,
gdouble width ,
gdouble height );
Creates a render node for the CSS background according to context
,
and appends it to the current node of snapshot
, without changing
the current node.
Parameters
snapshot
a GtkSnapshot
context
the GtkStyleContext to use
x
X origin of the rectangle
y
Y origin of the rectangle
width
rectangle width
height
rectangle height
gtk_snapshot_render_frame ()
gtk_snapshot_render_frame
void
gtk_snapshot_render_frame (GtkSnapshot *snapshot ,
GtkStyleContext *context ,
gdouble x ,
gdouble y ,
gdouble width ,
gdouble height );
Creates a render node for the CSS border according to context
,
and appends it to the current node of snapshot
, without changing
the current node.
Parameters
snapshot
a GtkSnapshot
context
the GtkStyleContext to use
x
X origin of the rectangle
y
Y origin of the rectangle
width
rectangle width
height
rectangle height
gtk_snapshot_render_focus ()
gtk_snapshot_render_focus
void
gtk_snapshot_render_focus (GtkSnapshot *snapshot ,
GtkStyleContext *context ,
gdouble x ,
gdouble y ,
gdouble width ,
gdouble height );
Creates a render node for the focus outline according to context
,
and appends it to the current node of snapshot
, without changing
the current node.
Parameters
snapshot
a GtkSnapshot
context
the GtkStyleContext to use
x
X origin of the rectangle
y
Y origin of the rectangle
width
rectangle width
height
rectangle height
gtk_snapshot_render_layout ()
gtk_snapshot_render_layout
void
gtk_snapshot_render_layout (GtkSnapshot *snapshot ,
GtkStyleContext *context ,
gdouble x ,
gdouble y ,
PangoLayout *layout );
Creates a render node for rendering layout
according to the style
information in context
, and appends it to the current node of snapshot
,
without changing the current node.
Parameters
snapshot
a GtkSnapshot
context
the GtkStyleContext to use
x
X origin of the rectangle
y
Y origin of the rectangle
layout
the PangoLayout to render
gtk_snapshot_render_insertion_cursor ()
gtk_snapshot_render_insertion_cursor
void
gtk_snapshot_render_insertion_cursor (GtkSnapshot *snapshot ,
GtkStyleContext *context ,
gdouble x ,
gdouble y ,
PangoLayout *layout ,
int index ,
PangoDirection direction );
Draws a text caret using snapshot
at the specified index of layout
.
Parameters
snapshot
snapshot to render to
context
a GtkStyleContext
x
X origin
y
Y origin
layout
the PangoLayout of the text
index
the index in the PangoLayout
direction
the PangoDirection of the text
docs/reference/gtk/xml/gtkiconview.xml 0000664 0001750 0001750 00000530573 13617646202 020260 0 ustar mclasen mclasen
]>
GtkIconView
3
GTK4 Library
GtkIconView
A widget which displays a list of icons in a grid
Functions
void
( *GtkIconViewForeachFunc) ()
GtkWidget *
gtk_icon_view_new ()
GtkWidget *
gtk_icon_view_new_with_area ()
GtkWidget *
gtk_icon_view_new_with_model ()
void
gtk_icon_view_set_model ()
GtkTreeModel *
gtk_icon_view_get_model ()
void
gtk_icon_view_set_text_column ()
gint
gtk_icon_view_get_text_column ()
void
gtk_icon_view_set_markup_column ()
gint
gtk_icon_view_get_markup_column ()
void
gtk_icon_view_set_pixbuf_column ()
gint
gtk_icon_view_get_pixbuf_column ()
GtkTreePath *
gtk_icon_view_get_path_at_pos ()
gboolean
gtk_icon_view_get_item_at_pos ()
void
gtk_icon_view_set_cursor ()
gboolean
gtk_icon_view_get_cursor ()
void
gtk_icon_view_selected_foreach ()
void
gtk_icon_view_set_selection_mode ()
GtkSelectionMode
gtk_icon_view_get_selection_mode ()
void
gtk_icon_view_set_item_orientation ()
GtkOrientation
gtk_icon_view_get_item_orientation ()
void
gtk_icon_view_set_columns ()
gint
gtk_icon_view_get_columns ()
void
gtk_icon_view_set_item_width ()
gint
gtk_icon_view_get_item_width ()
void
gtk_icon_view_set_spacing ()
gint
gtk_icon_view_get_spacing ()
void
gtk_icon_view_set_row_spacing ()
gint
gtk_icon_view_get_row_spacing ()
void
gtk_icon_view_set_column_spacing ()
gint
gtk_icon_view_get_column_spacing ()
void
gtk_icon_view_set_margin ()
gint
gtk_icon_view_get_margin ()
void
gtk_icon_view_set_item_padding ()
gint
gtk_icon_view_get_item_padding ()
void
gtk_icon_view_set_activate_on_single_click ()
gboolean
gtk_icon_view_get_activate_on_single_click ()
gboolean
gtk_icon_view_get_cell_rect ()
void
gtk_icon_view_select_path ()
void
gtk_icon_view_unselect_path ()
gboolean
gtk_icon_view_path_is_selected ()
GList *
gtk_icon_view_get_selected_items ()
void
gtk_icon_view_select_all ()
void
gtk_icon_view_unselect_all ()
void
gtk_icon_view_item_activated ()
void
gtk_icon_view_scroll_to_path ()
gboolean
gtk_icon_view_get_visible_range ()
void
gtk_icon_view_set_tooltip_item ()
void
gtk_icon_view_set_tooltip_cell ()
gboolean
gtk_icon_view_get_tooltip_context ()
void
gtk_icon_view_set_tooltip_column ()
gint
gtk_icon_view_get_tooltip_column ()
gint
gtk_icon_view_get_item_row ()
gint
gtk_icon_view_get_item_column ()
void
gtk_icon_view_enable_model_drag_source ()
GtkDropTarget *
gtk_icon_view_enable_model_drag_dest ()
void
gtk_icon_view_unset_model_drag_source ()
void
gtk_icon_view_unset_model_drag_dest ()
void
gtk_icon_view_set_reorderable ()
gboolean
gtk_icon_view_get_reorderable ()
void
gtk_icon_view_set_drag_dest_item ()
void
gtk_icon_view_get_drag_dest_item ()
gboolean
gtk_icon_view_get_dest_item_at_pos ()
GdkPaintable *
gtk_icon_view_create_drag_icon ()
Properties
gboolean activate-on-single-clickRead / Write
GtkCellArea * cell-areaRead / Write / Construct Only
gint column-spacingRead / Write
gint columnsRead / Write
GtkOrientation item-orientationRead / Write
gint item-paddingRead / Write
gint item-widthRead / Write
gint marginRead / Write
gint markup-columnRead / Write
GtkTreeModel * modelRead / Write
gint pixbuf-columnRead / Write
gboolean reorderableRead / Write
gint row-spacingRead / Write
GtkSelectionMode selection-modeRead / Write
gint spacingRead / Write
gint text-columnRead / Write
gint tooltip-columnRead / Write
Signals
gboolean activate-cursor-item Action
void item-activated Run Last
gboolean move-cursor Action
void select-all Action
void select-cursor-item Action
void selection-changed Run First
void toggle-cursor-item Action
void unselect-all Action
Types and Values
GtkIconView
enum GtkIconViewDropPosition
Object Hierarchy
GObject
╰── GInitiallyUnowned
╰── GtkWidget
╰── GtkContainer
╰── GtkIconView
Implemented Interfaces
GtkIconView implements
AtkImplementorIface, GtkBuildable, GtkConstraintTarget, GtkCellLayout and GtkScrollable.
Includes #include <gtk/gtk.h>
Description
GtkIconView provides an alternative view on a GtkTreeModel .
It displays the model as a grid of icons with labels. Like
GtkTreeView , it allows to select one or multiple items
(depending on the selection mode, see gtk_icon_view_set_selection_mode() ).
In addition to selection with the arrow keys, GtkIconView supports
rubberband selection, which is controlled by dragging the pointer.
Note that if the tree model is backed by an actual tree store (as
opposed to a flat list where the mapping to icons is obvious),
GtkIconView will only display the first level of the tree and
ignore the tree’s branches.
CSS nodes
GtkIconView has a single CSS node with name iconview and style class .view.
For rubberband selection, a subnode with name rubberband is used.
Functions
GtkIconViewForeachFunc ()
GtkIconViewForeachFunc
void
( *GtkIconViewForeachFunc) (GtkIconView *icon_view ,
GtkTreePath *path ,
gpointer data );
A function used by gtk_icon_view_selected_foreach() to map all
selected rows. It will be called on every selected row in the view.
Parameters
icon_view
a GtkIconView
path
The GtkTreePath of a selected row
data
user data.
[closure ]
gtk_icon_view_new ()
gtk_icon_view_new
GtkWidget *
gtk_icon_view_new (void );
Creates a new GtkIconView widget
Returns
A newly created GtkIconView widget
gtk_icon_view_new_with_area ()
gtk_icon_view_new_with_area
GtkWidget *
gtk_icon_view_new_with_area (GtkCellArea *area );
Creates a new GtkIconView widget using the
specified area
to layout cells inside the icons.
Parameters
area
the GtkCellArea to use to layout cells
Returns
A newly created GtkIconView widget
gtk_icon_view_new_with_model ()
gtk_icon_view_new_with_model
GtkWidget *
gtk_icon_view_new_with_model (GtkTreeModel *model );
Creates a new GtkIconView widget with the model model
.
Parameters
model
The model.
Returns
A newly created GtkIconView widget.
gtk_icon_view_set_model ()
gtk_icon_view_set_model
void
gtk_icon_view_set_model (GtkIconView *icon_view ,
GtkTreeModel *model );
Sets the model for a GtkIconView .
If the icon_view
already has a model set, it will remove
it before setting the new model. If model
is NULL , then
it will unset the old model.
Parameters
icon_view
A GtkIconView .
model
The model.
[allow-none ]
gtk_icon_view_get_model ()
gtk_icon_view_get_model
GtkTreeModel *
gtk_icon_view_get_model (GtkIconView *icon_view );
Returns the model the GtkIconView is based on. Returns NULL if the
model is unset.
Parameters
icon_view
a GtkIconView
Returns
A GtkTreeModel , or NULL if none is
currently being used.
[nullable ][transfer none ]
gtk_icon_view_set_text_column ()
gtk_icon_view_set_text_column
void
gtk_icon_view_set_text_column (GtkIconView *icon_view ,
gint column );
Sets the column with text for icon_view
to be column
. The text
column must be of type G_TYPE_STRING .
Parameters
icon_view
A GtkIconView .
column
A column in the currently used model, or -1 to display no text
gtk_icon_view_get_text_column ()
gtk_icon_view_get_text_column
gint
gtk_icon_view_get_text_column (GtkIconView *icon_view );
Returns the column with text for icon_view
.
Parameters
icon_view
A GtkIconView .
Returns
the text column, or -1 if it’s unset.
gtk_icon_view_set_markup_column ()
gtk_icon_view_set_markup_column
void
gtk_icon_view_set_markup_column (GtkIconView *icon_view ,
gint column );
Sets the column with markup information for icon_view
to be
column
. The markup column must be of type G_TYPE_STRING .
If the markup column is set to something, it overrides
the text column set by gtk_icon_view_set_text_column() .
Parameters
icon_view
A GtkIconView .
column
A column in the currently used model, or -1 to display no text
gtk_icon_view_get_markup_column ()
gtk_icon_view_get_markup_column
gint
gtk_icon_view_get_markup_column (GtkIconView *icon_view );
Returns the column with markup text for icon_view
.
Parameters
icon_view
A GtkIconView .
Returns
the markup column, or -1 if it’s unset.
gtk_icon_view_set_pixbuf_column ()
gtk_icon_view_set_pixbuf_column
void
gtk_icon_view_set_pixbuf_column (GtkIconView *icon_view ,
gint column );
Sets the column with pixbufs for icon_view
to be column
. The pixbuf
column must be of type GDK_TYPE_PIXBUF
Parameters
icon_view
A GtkIconView .
column
A column in the currently used model, or -1 to disable
gtk_icon_view_get_pixbuf_column ()
gtk_icon_view_get_pixbuf_column
gint
gtk_icon_view_get_pixbuf_column (GtkIconView *icon_view );
Returns the column with pixbufs for icon_view
.
Parameters
icon_view
A GtkIconView .
Returns
the pixbuf column, or -1 if it’s unset.
gtk_icon_view_get_path_at_pos ()
gtk_icon_view_get_path_at_pos
GtkTreePath *
gtk_icon_view_get_path_at_pos (GtkIconView *icon_view ,
gint x ,
gint y );
Parameters
icon_view
A GtkIconView .
x
The x position to be identified
y
The y position to be identified
Returns
The GtkTreePath corresponding
to the icon or NULL if no icon exists at that position.
[nullable ][transfer full ]
gtk_icon_view_get_item_at_pos ()
gtk_icon_view_get_item_at_pos
gboolean
gtk_icon_view_get_item_at_pos (GtkIconView *icon_view ,
gint x ,
gint y ,
GtkTreePath **path ,
GtkCellRenderer **cell );
Parameters
icon_view
A GtkIconView .
x
The x position to be identified
y
The y position to be identified
path
Return location for the path, or NULL .
[out ][allow-none ]
cell
Return location for the renderer
responsible for the cell at (x
, y
), or NULL .
[out ][allow-none ][transfer none ]
Returns
TRUE if an item exists at the specified position
gtk_icon_view_set_cursor ()
gtk_icon_view_set_cursor
void
gtk_icon_view_set_cursor (GtkIconView *icon_view ,
GtkTreePath *path ,
GtkCellRenderer *cell ,
gboolean start_editing );
Sets the current keyboard focus to be at path
, and selects it. This is
useful when you want to focus the user’s attention on a particular item.
If cell
is not NULL , then focus is given to the cell specified by
it. Additionally, if start_editing
is TRUE , then editing should be
started in the specified cell.
This function is often followed by gtk_widget_grab_focus
(icon_view) in order to give keyboard focus to the widget.
Please note that editing can only happen when the widget is realized.
Parameters
icon_view
A GtkIconView
path
A GtkTreePath
cell
One of the cell renderers of icon_view
, or NULL .
[allow-none ]
start_editing
TRUE if the specified cell should start being edited.
gtk_icon_view_get_cursor ()
gtk_icon_view_get_cursor
gboolean
gtk_icon_view_get_cursor (GtkIconView *icon_view ,
GtkTreePath **path ,
GtkCellRenderer **cell );
Fills in path
and cell
with the current cursor path and cell.
If the cursor isn’t currently set, then *path
will be NULL .
If no cell currently has focus, then *cell
will be NULL .
The returned GtkTreePath must be freed with gtk_tree_path_free() .
Parameters
icon_view
A GtkIconView
path
Return location for the current
cursor path, or NULL .
[out ][allow-none ][transfer full ]
cell
Return location the current
focus cell, or NULL .
[out ][allow-none ][transfer none ]
Returns
TRUE if the cursor is set.
gtk_icon_view_selected_foreach ()
gtk_icon_view_selected_foreach
void
gtk_icon_view_selected_foreach (GtkIconView *icon_view ,
GtkIconViewForeachFunc func ,
gpointer data );
Calls a function for each selected icon. Note that the model or
selection cannot be modified from within this function.
Parameters
icon_view
A GtkIconView .
func
The function to call for each selected icon.
[scope call ]
data
User data to pass to the function.
gtk_icon_view_set_selection_mode ()
gtk_icon_view_set_selection_mode
void
gtk_icon_view_set_selection_mode (GtkIconView *icon_view ,
GtkSelectionMode mode );
Sets the selection mode of the icon_view
.
Parameters
icon_view
A GtkIconView .
mode
The selection mode
gtk_icon_view_get_selection_mode ()
gtk_icon_view_get_selection_mode
GtkSelectionMode
gtk_icon_view_get_selection_mode (GtkIconView *icon_view );
Gets the selection mode of the icon_view
.
Parameters
icon_view
A GtkIconView .
Returns
the current selection mode
gtk_icon_view_set_item_orientation ()
gtk_icon_view_set_item_orientation
void
gtk_icon_view_set_item_orientation (GtkIconView *icon_view ,
GtkOrientation orientation );
Sets the ::item-orientation property which determines whether the labels
are drawn beside the icons instead of below.
Parameters
icon_view
a GtkIconView
orientation
the relative position of texts and icons
gtk_icon_view_get_item_orientation ()
gtk_icon_view_get_item_orientation
GtkOrientation
gtk_icon_view_get_item_orientation (GtkIconView *icon_view );
Returns the value of the ::item-orientation property which determines
whether the labels are drawn beside the icons instead of below.
Parameters
icon_view
a GtkIconView
Returns
the relative position of texts and icons
gtk_icon_view_set_columns ()
gtk_icon_view_set_columns
void
gtk_icon_view_set_columns (GtkIconView *icon_view ,
gint columns );
Sets the ::columns property which determines in how
many columns the icons are arranged. If columns
is
-1, the number of columns will be chosen automatically
to fill the available area.
Parameters
icon_view
a GtkIconView
columns
the number of columns
gtk_icon_view_get_columns ()
gtk_icon_view_get_columns
gint
gtk_icon_view_get_columns (GtkIconView *icon_view );
Returns the value of the ::columns property.
Parameters
icon_view
a GtkIconView
Returns
the number of columns, or -1
gtk_icon_view_set_item_width ()
gtk_icon_view_set_item_width
void
gtk_icon_view_set_item_width (GtkIconView *icon_view ,
gint item_width );
Sets the ::item-width property which specifies the width
to use for each item. If it is set to -1, the icon view will
automatically determine a suitable item size.
Parameters
icon_view
a GtkIconView
item_width
the width for each item
gtk_icon_view_get_item_width ()
gtk_icon_view_get_item_width
gint
gtk_icon_view_get_item_width (GtkIconView *icon_view );
Returns the value of the ::item-width property.
Parameters
icon_view
a GtkIconView
Returns
the width of a single item, or -1
gtk_icon_view_set_spacing ()
gtk_icon_view_set_spacing
void
gtk_icon_view_set_spacing (GtkIconView *icon_view ,
gint spacing );
Sets the ::spacing property which specifies the space
which is inserted between the cells (i.e. the icon and
the text) of an item.
Parameters
icon_view
a GtkIconView
spacing
the spacing
gtk_icon_view_get_spacing ()
gtk_icon_view_get_spacing
gint
gtk_icon_view_get_spacing (GtkIconView *icon_view );
Returns the value of the ::spacing property.
Parameters
icon_view
a GtkIconView
Returns
the space between cells
gtk_icon_view_set_row_spacing ()
gtk_icon_view_set_row_spacing
void
gtk_icon_view_set_row_spacing (GtkIconView *icon_view ,
gint row_spacing );
Sets the ::row-spacing property which specifies the space
which is inserted between the rows of the icon view.
Parameters
icon_view
a GtkIconView
row_spacing
the row spacing
gtk_icon_view_get_row_spacing ()
gtk_icon_view_get_row_spacing
gint
gtk_icon_view_get_row_spacing (GtkIconView *icon_view );
Returns the value of the ::row-spacing property.
Parameters
icon_view
a GtkIconView
Returns
the space between rows
gtk_icon_view_set_column_spacing ()
gtk_icon_view_set_column_spacing
void
gtk_icon_view_set_column_spacing (GtkIconView *icon_view ,
gint column_spacing );
Sets the ::column-spacing property which specifies the space
which is inserted between the columns of the icon view.
Parameters
icon_view
a GtkIconView
column_spacing
the column spacing
gtk_icon_view_get_column_spacing ()
gtk_icon_view_get_column_spacing
gint
gtk_icon_view_get_column_spacing (GtkIconView *icon_view );
Returns the value of the ::column-spacing property.
Parameters
icon_view
a GtkIconView
Returns
the space between columns
gtk_icon_view_set_margin ()
gtk_icon_view_set_margin
void
gtk_icon_view_set_margin (GtkIconView *icon_view ,
gint margin );
Sets the ::margin property which specifies the space
which is inserted at the top, bottom, left and right
of the icon view.
Parameters
icon_view
a GtkIconView
margin
the margin
gtk_icon_view_get_margin ()
gtk_icon_view_get_margin
gint
gtk_icon_view_get_margin (GtkIconView *icon_view );
Returns the value of the ::margin property.
Parameters
icon_view
a GtkIconView
Returns
the space at the borders
gtk_icon_view_set_item_padding ()
gtk_icon_view_set_item_padding
void
gtk_icon_view_set_item_padding (GtkIconView *icon_view ,
gint item_padding );
Sets the “item-padding” property which specifies the padding
around each of the icon view’s items.
Parameters
icon_view
a GtkIconView
item_padding
the item padding
gtk_icon_view_get_item_padding ()
gtk_icon_view_get_item_padding
gint
gtk_icon_view_get_item_padding (GtkIconView *icon_view );
Returns the value of the ::item-padding property.
Parameters
icon_view
a GtkIconView
Returns
the padding around items
gtk_icon_view_set_activate_on_single_click ()
gtk_icon_view_set_activate_on_single_click
void
gtk_icon_view_set_activate_on_single_click
(GtkIconView *icon_view ,
gboolean single );
Causes the “item-activated” signal to be emitted on
a single click instead of a double click.
Parameters
icon_view
a GtkIconView
single
TRUE to emit item-activated on a single click
gtk_icon_view_get_activate_on_single_click ()
gtk_icon_view_get_activate_on_single_click
gboolean
gtk_icon_view_get_activate_on_single_click
(GtkIconView *icon_view );
Gets the setting set by gtk_icon_view_set_activate_on_single_click() .
Parameters
icon_view
a GtkIconView
Returns
TRUE if item-activated will be emitted on a single click
gtk_icon_view_get_cell_rect ()
gtk_icon_view_get_cell_rect
gboolean
gtk_icon_view_get_cell_rect (GtkIconView *icon_view ,
GtkTreePath *path ,
GtkCellRenderer *cell ,
GdkRectangle *rect );
Fills the bounding rectangle in widget coordinates for the cell specified by
path
and cell
. If cell
is NULL the main cell area is used.
This function is only valid if icon_view
is realized.
Parameters
icon_view
a GtkIconView
path
a GtkTreePath
cell
a GtkCellRenderer or NULL .
[allow-none ]
rect
rectangle to fill with cell rect.
[out ]
Returns
FALSE if there is no such item, TRUE otherwise
gtk_icon_view_select_path ()
gtk_icon_view_select_path
void
gtk_icon_view_select_path (GtkIconView *icon_view ,
GtkTreePath *path );
Selects the row at path
.
Parameters
icon_view
A GtkIconView .
path
The GtkTreePath to be selected.
gtk_icon_view_unselect_path ()
gtk_icon_view_unselect_path
void
gtk_icon_view_unselect_path (GtkIconView *icon_view ,
GtkTreePath *path );
Unselects the row at path
.
Parameters
icon_view
A GtkIconView .
path
The GtkTreePath to be unselected.
gtk_icon_view_path_is_selected ()
gtk_icon_view_path_is_selected
gboolean
gtk_icon_view_path_is_selected (GtkIconView *icon_view ,
GtkTreePath *path );
Returns TRUE if the icon pointed to by path
is currently
selected. If path
does not point to a valid location, FALSE is returned.
Parameters
icon_view
A GtkIconView .
path
A GtkTreePath to check selection on.
Returns
TRUE if path
is selected.
gtk_icon_view_get_selected_items ()
gtk_icon_view_get_selected_items
GList *
gtk_icon_view_get_selected_items (GtkIconView *icon_view );
Creates a list of paths of all selected items. Additionally, if you are
planning on modifying the model after calling this function, you may
want to convert the returned list into a list of GtkTreeRowReferences .
To do this, you can use gtk_tree_row_reference_new() .
To free the return value, use:
Parameters
icon_view
A GtkIconView .
Returns
A GList containing a GtkTreePath for each selected row.
[element-type GtkTreePath][transfer full ]
gtk_icon_view_select_all ()
gtk_icon_view_select_all
void
gtk_icon_view_select_all (GtkIconView *icon_view );
Selects all the icons. icon_view
must has its selection mode set
to GTK_SELECTION_MULTIPLE .
Parameters
icon_view
A GtkIconView .
gtk_icon_view_unselect_all ()
gtk_icon_view_unselect_all
void
gtk_icon_view_unselect_all (GtkIconView *icon_view );
Unselects all the icons.
Parameters
icon_view
A GtkIconView .
gtk_icon_view_item_activated ()
gtk_icon_view_item_activated
void
gtk_icon_view_item_activated (GtkIconView *icon_view ,
GtkTreePath *path );
Activates the item determined by path
.
Parameters
icon_view
A GtkIconView
path
The GtkTreePath to be activated
gtk_icon_view_scroll_to_path ()
gtk_icon_view_scroll_to_path
void
gtk_icon_view_scroll_to_path (GtkIconView *icon_view ,
GtkTreePath *path ,
gboolean use_align ,
gfloat row_align ,
gfloat col_align );
Moves the alignments of icon_view
to the position specified by path
.
row_align
determines where the row is placed, and col_align
determines
where column
is placed. Both are expected to be between 0.0 and 1.0.
0.0 means left/top alignment, 1.0 means right/bottom alignment, 0.5 means
center.
If use_align
is FALSE , then the alignment arguments are ignored, and the
tree does the minimum amount of work to scroll the item onto the screen.
This means that the item will be scrolled to the edge closest to its current
position. If the item is currently visible on the screen, nothing is done.
This function only works if the model is set, and path
is a valid row on
the model. If the model changes before the icon_view
is realized, the
centered path will be modified to reflect this change.
Parameters
icon_view
A GtkIconView .
path
The path of the item to move to.
use_align
whether to use alignment arguments, or FALSE .
row_align
The vertical alignment of the item specified by path
.
col_align
The horizontal alignment of the item specified by path
.
gtk_icon_view_get_visible_range ()
gtk_icon_view_get_visible_range
gboolean
gtk_icon_view_get_visible_range (GtkIconView *icon_view ,
GtkTreePath **start_path ,
GtkTreePath **end_path );
Sets start_path
and end_path
to be the first and last visible path.
Note that there may be invisible paths in between.
Both paths should be freed with gtk_tree_path_free() after use.
Parameters
icon_view
A GtkIconView
start_path
Return location for start of region,
or NULL .
[out ][allow-none ]
end_path
Return location for end of region, or NULL .
[out ][allow-none ]
Returns
TRUE , if valid paths were placed in start_path
and end_path
gtk_icon_view_set_tooltip_item ()
gtk_icon_view_set_tooltip_item
void
gtk_icon_view_set_tooltip_item (GtkIconView *icon_view ,
GtkTooltip *tooltip ,
GtkTreePath *path );
Sets the tip area of tooltip
to be the area covered by the item at path
.
See also gtk_icon_view_set_tooltip_column() for a simpler alternative.
See also gtk_tooltip_set_tip_area() .
Parameters
icon_view
a GtkIconView
tooltip
a GtkTooltip
path
a GtkTreePath
gtk_icon_view_set_tooltip_cell ()
gtk_icon_view_set_tooltip_cell
void
gtk_icon_view_set_tooltip_cell (GtkIconView *icon_view ,
GtkTooltip *tooltip ,
GtkTreePath *path ,
GtkCellRenderer *cell );
Sets the tip area of tooltip
to the area which cell
occupies in
the item pointed to by path
. See also gtk_tooltip_set_tip_area() .
See also gtk_icon_view_set_tooltip_column() for a simpler alternative.
Parameters
icon_view
a GtkIconView
tooltip
a GtkTooltip
path
a GtkTreePath
cell
a GtkCellRenderer or NULL .
[allow-none ]
gtk_icon_view_get_tooltip_context ()
gtk_icon_view_get_tooltip_context
gboolean
gtk_icon_view_get_tooltip_context (GtkIconView *icon_view ,
gint *x ,
gint *y ,
gboolean keyboard_tip ,
GtkTreeModel **model ,
GtkTreePath **path ,
GtkTreeIter *iter );
This function is supposed to be used in a “query-tooltip”
signal handler for GtkIconView . The x
, y
and keyboard_tip
values
which are received in the signal handler, should be passed to this
function without modification.
The return value indicates whether there is an icon view item at the given
coordinates (TRUE ) or not (FALSE ) for mouse tooltips. For keyboard
tooltips the item returned will be the cursor item. When TRUE , then any of
model
, path
and iter
which have been provided will be set to point to
that row and the corresponding model.
Parameters
icon_view
an GtkIconView
x
the x coordinate (relative to widget coordinates).
[inout ]
y
the y coordinate (relative to widget coordinates).
[inout ]
keyboard_tip
whether this is a keyboard tooltip or not
model
a pointer to receive a
GtkTreeModel or NULL .
[out ][allow-none ][transfer none ]
path
a pointer to receive a GtkTreePath or NULL .
[out ][allow-none ]
iter
a pointer to receive a GtkTreeIter or NULL .
[out ][allow-none ]
Returns
whether or not the given tooltip context points to an item
gtk_icon_view_set_tooltip_column ()
gtk_icon_view_set_tooltip_column
void
gtk_icon_view_set_tooltip_column (GtkIconView *icon_view ,
gint column );
If you only plan to have simple (text-only) tooltips on full items, you
can use this function to have GtkIconView handle these automatically
for you. column
should be set to the column in icon_view
’s model
containing the tooltip texts, or -1 to disable this feature.
When enabled, “has-tooltip” will be set to TRUE and
icon_view
will connect a “query-tooltip” signal handler.
Note that the signal handler sets the text with gtk_tooltip_set_markup() ,
so &, <, etc have to be escaped in the text.
Parameters
icon_view
a GtkIconView
column
an integer, which is a valid column number for icon_view
’s model
gtk_icon_view_get_tooltip_column ()
gtk_icon_view_get_tooltip_column
gint
gtk_icon_view_get_tooltip_column (GtkIconView *icon_view );
Returns the column of icon_view
’s model which is being used for
displaying tooltips on icon_view
’s rows.
Parameters
icon_view
a GtkIconView
Returns
the index of the tooltip column that is currently being
used, or -1 if this is disabled.
gtk_icon_view_get_item_row ()
gtk_icon_view_get_item_row
gint
gtk_icon_view_get_item_row (GtkIconView *icon_view ,
GtkTreePath *path );
Gets the row in which the item path
is currently
displayed. Row numbers start at 0.
Parameters
icon_view
a GtkIconView
path
the GtkTreePath of the item
Returns
The row in which the item is displayed
gtk_icon_view_get_item_column ()
gtk_icon_view_get_item_column
gint
gtk_icon_view_get_item_column (GtkIconView *icon_view ,
GtkTreePath *path );
Gets the column in which the item path
is currently
displayed. Column numbers start at 0.
Parameters
icon_view
a GtkIconView
path
the GtkTreePath of the item
Returns
The column in which the item is displayed
gtk_icon_view_enable_model_drag_source ()
gtk_icon_view_enable_model_drag_source
void
gtk_icon_view_enable_model_drag_source
(GtkIconView *icon_view ,
GdkModifierType start_button_mask ,
GdkContentFormats *formats ,
GdkDragAction actions );
Turns icon_view
into a drag source for automatic DND. Calling this
method sets “reorderable” to FALSE .
Parameters
icon_view
a GtkIconView
start_button_mask
Mask of allowed buttons to start drag
formats
the formats that the drag will support
actions
the bitmask of possible actions for a drag from this
widget
gtk_icon_view_enable_model_drag_dest ()
gtk_icon_view_enable_model_drag_dest
GtkDropTarget *
gtk_icon_view_enable_model_drag_dest (GtkIconView *icon_view ,
GdkContentFormats *formats ,
GdkDragAction actions );
Turns icon_view
into a drop destination for automatic DND. Calling this
method sets “reorderable” to FALSE .
Parameters
icon_view
a GtkIconView
formats
the formats that the drag will support
actions
the bitmask of possible actions for a drag to this
widget
Returns
the drop target that was attached.
[transfer none ]
gtk_icon_view_unset_model_drag_source ()
gtk_icon_view_unset_model_drag_source
void
gtk_icon_view_unset_model_drag_source (GtkIconView *icon_view );
Undoes the effect of gtk_icon_view_enable_model_drag_source() . Calling this
method sets “reorderable” to FALSE .
Parameters
icon_view
a GtkIconView
gtk_icon_view_unset_model_drag_dest ()
gtk_icon_view_unset_model_drag_dest
void
gtk_icon_view_unset_model_drag_dest (GtkIconView *icon_view );
Undoes the effect of gtk_icon_view_enable_model_drag_dest() . Calling this
method sets “reorderable” to FALSE .
Parameters
icon_view
a GtkIconView
gtk_icon_view_set_reorderable ()
gtk_icon_view_set_reorderable
void
gtk_icon_view_set_reorderable (GtkIconView *icon_view ,
gboolean reorderable );
This function is a convenience function to allow you to reorder models that
support the GtkTreeDragSourceIface and the GtkTreeDragDestIface . Both
GtkTreeStore and GtkListStore support these. If reorderable
is TRUE , then
the user can reorder the model by dragging and dropping rows. The
developer can listen to these changes by connecting to the model's
row_inserted and row_deleted signals. The reordering is implemented by setting up
the icon view as a drag source and destination. Therefore, drag and
drop can not be used in a reorderable view for any other purpose.
This function does not give you any degree of control over the order -- any
reordering is allowed. If more control is needed, you should probably
handle drag and drop manually.
Parameters
icon_view
A GtkIconView .
reorderable
TRUE , if the list of items can be reordered.
gtk_icon_view_get_reorderable ()
gtk_icon_view_get_reorderable
gboolean
gtk_icon_view_get_reorderable (GtkIconView *icon_view );
Retrieves whether the user can reorder the list via drag-and-drop.
See gtk_icon_view_set_reorderable() .
Parameters
icon_view
a GtkIconView
Returns
TRUE if the list can be reordered.
gtk_icon_view_set_drag_dest_item ()
gtk_icon_view_set_drag_dest_item
void
gtk_icon_view_set_drag_dest_item (GtkIconView *icon_view ,
GtkTreePath *path ,
GtkIconViewDropPosition pos );
Sets the item that is highlighted for feedback.
Parameters
icon_view
a GtkIconView
path
The path of the item to highlight, or NULL .
[allow-none ]
pos
Specifies where to drop, relative to the item
gtk_icon_view_get_drag_dest_item ()
gtk_icon_view_get_drag_dest_item
void
gtk_icon_view_get_drag_dest_item (GtkIconView *icon_view ,
GtkTreePath **path ,
GtkIconViewDropPosition *pos );
Gets information about the item that is highlighted for feedback.
Parameters
icon_view
a GtkIconView
path
Return location for the path of
the highlighted item, or NULL .
[out ][allow-none ]
pos
Return location for the drop position, or NULL .
[out ][allow-none ]
gtk_icon_view_get_dest_item_at_pos ()
gtk_icon_view_get_dest_item_at_pos
gboolean
gtk_icon_view_get_dest_item_at_pos (GtkIconView *icon_view ,
gint drag_x ,
gint drag_y ,
GtkTreePath **path ,
GtkIconViewDropPosition *pos );
Determines the destination item for a given position.
Parameters
icon_view
a GtkIconView
drag_x
the position to determine the destination item for
drag_y
the position to determine the destination item for
path
Return location for the path of the item,
or NULL .
[out ][allow-none ]
pos
Return location for the drop position, or NULL .
[out ][allow-none ]
Returns
whether there is an item at the given position.
gtk_icon_view_create_drag_icon ()
gtk_icon_view_create_drag_icon
GdkPaintable *
gtk_icon_view_create_drag_icon (GtkIconView *icon_view ,
GtkTreePath *path );
Creates a cairo_surface_t representation of the item at path
.
This image is used for a drag icon.
Parameters
icon_view
a GtkIconView
path
a GtkTreePath in icon_view
Returns
a newly-allocated surface of the drag icon.
[transfer full ]
Property Details
The “activate-on-single-click” property
GtkIconView:activate-on-single-click
“activate-on-single-click” gboolean
The activate-on-single-click property specifies whether the "item-activated" signal
will be emitted after a single click.
Owner: GtkIconView
Flags: Read / Write
Default value: FALSE
The “cell-area” property
GtkIconView:cell-area
“cell-area” GtkCellArea *
The GtkCellArea used to layout cell renderers for this view.
If no area is specified when creating the icon view with gtk_icon_view_new_with_area()
a GtkCellAreaBox will be used.
Owner: GtkIconView
Flags: Read / Write / Construct Only
The “column-spacing” property
GtkIconView:column-spacing
“column-spacing” gint
The column-spacing property specifies the space which is inserted between
the columns of the icon view.
Owner: GtkIconView
Flags: Read / Write
Allowed values: >= 0
Default value: 6
The “columns” property
GtkIconView:columns
“columns” gint
The columns property contains the number of the columns in which the
items should be displayed. If it is -1, the number of columns will
be chosen automatically to fill the available area.
Owner: GtkIconView
Flags: Read / Write
Allowed values: >= -1
Default value: -1
The “item-orientation” property
GtkIconView:item-orientation
“item-orientation” GtkOrientation
The item-orientation property specifies how the cells (i.e. the icon and
the text) of the item are positioned relative to each other.
Owner: GtkIconView
Flags: Read / Write
Default value: GTK_ORIENTATION_VERTICAL
The “item-padding” property
GtkIconView:item-padding
“item-padding” gint
The item-padding property specifies the padding around each
of the icon view's item.
Owner: GtkIconView
Flags: Read / Write
Allowed values: >= 0
Default value: 6
The “item-width” property
GtkIconView:item-width
“item-width” gint
The item-width property specifies the width to use for each item.
If it is set to -1, the icon view will automatically determine a
suitable item size.
Owner: GtkIconView
Flags: Read / Write
Allowed values: >= -1
Default value: -1
The “margin” property
GtkIconView:margin
“margin” gint
The margin property specifies the space which is inserted
at the edges of the icon view.
Owner: GtkIconView
Flags: Read / Write
Allowed values: >= 0
Default value: 6
The “markup-column” property
GtkIconView:markup-column
“markup-column” gint
The ::markup-column property contains the number of the model column
containing markup information to be displayed. The markup column must be
of type G_TYPE_STRING . If this property and the :text-column property
are both set to column numbers, it overrides the text column.
If both are set to -1, no texts are displayed.
Owner: GtkIconView
Flags: Read / Write
Allowed values: >= -1
Default value: -1
The “model” property
GtkIconView:model
“model” GtkTreeModel *
The model for the icon view. Owner: GtkIconView
Flags: Read / Write
The “pixbuf-column” property
GtkIconView:pixbuf-column
“pixbuf-column” gint
The ::pixbuf-column property contains the number of the model column
containing the pixbufs which are displayed. The pixbuf column must be
of type GDK_TYPE_PIXBUF . Setting this property to -1 turns off the
display of pixbufs.
Owner: GtkIconView
Flags: Read / Write
Allowed values: >= -1
Default value: -1
The “reorderable” property
GtkIconView:reorderable
“reorderable” gboolean
The reorderable property specifies if the items can be reordered
by DND.
Owner: GtkIconView
Flags: Read / Write
Default value: FALSE
The “row-spacing” property
GtkIconView:row-spacing
“row-spacing” gint
The row-spacing property specifies the space which is inserted between
the rows of the icon view.
Owner: GtkIconView
Flags: Read / Write
Allowed values: >= 0
Default value: 6
The “selection-mode” property
GtkIconView:selection-mode
“selection-mode” GtkSelectionMode
The ::selection-mode property specifies the selection mode of
icon view. If the mode is GTK_SELECTION_MULTIPLE , rubberband selection
is enabled, for the other modes, only keyboard selection is possible.
Owner: GtkIconView
Flags: Read / Write
Default value: GTK_SELECTION_SINGLE
The “spacing” property
GtkIconView:spacing
“spacing” gint
The spacing property specifies the space which is inserted between
the cells (i.e. the icon and the text) of an item.
Owner: GtkIconView
Flags: Read / Write
Allowed values: >= 0
Default value: 0
The “text-column” property
GtkIconView:text-column
“text-column” gint
The ::text-column property contains the number of the model column
containing the texts which are displayed. The text column must be
of type G_TYPE_STRING . If this property and the :markup-column
property are both set to -1, no texts are displayed.
Owner: GtkIconView
Flags: Read / Write
Allowed values: >= -1
Default value: -1
The “tooltip-column” property
GtkIconView:tooltip-column
“tooltip-column” gint
The column in the model containing the tooltip texts for the items. Owner: GtkIconView
Flags: Read / Write
Allowed values: >= -1
Default value: -1
Signal Details
The “activate-cursor-item” signal
GtkIconView::activate-cursor-item
gboolean
user_function (GtkIconView *iconview,
gpointer user_data)
A keybinding signal
which gets emitted when the user activates the currently
focused item.
Applications should not connect to it, but may emit it with
g_signal_emit_by_name() if they need to control activation
programmatically.
The default bindings for this signal are Space, Return and Enter.
Parameters
iconview
the object on which the signal is emitted
user_data
user data set when the signal handler was connected.
Flags: Action
The “item-activated” signal
GtkIconView::item-activated
void
user_function (GtkIconView *iconview,
GtkTreePath *path,
gpointer user_data)
The ::item-activated signal is emitted when the method
gtk_icon_view_item_activated() is called, when the user double
clicks an item with the "activate-on-single-click" property set
to FALSE , or when the user single clicks an item when the
"activate-on-single-click" property set to TRUE . It is also
emitted when a non-editable item is selected and one of the keys:
Space, Return or Enter is pressed.
Parameters
iconview
the object on which the signal is emitted
path
the GtkTreePath for the activated item
user_data
user data set when the signal handler was connected.
Flags: Run Last
The “move-cursor” signal
GtkIconView::move-cursor
gboolean
user_function (GtkIconView *iconview,
GtkMovementStep step,
gint count,
gpointer user_data)
The ::move-cursor signal is a
keybinding signal
which gets emitted when the user initiates a cursor movement.
Applications should not connect to it, but may emit it with
g_signal_emit_by_name() if they need to control the cursor
programmatically.
The default bindings for this signal include
Arrow keys which move by individual steps
Home/End keys which move to the first/last item
PageUp/PageDown which move by "pages"
All of these will extend the selection when combined with
the Shift modifier.
Parameters
iconview
the object which received the signal
step
the granularity of the move, as a GtkMovementStep
count
the number of step
units to move
user_data
user data set when the signal handler was connected.
Flags: Action
The “select-all” signal
GtkIconView::select-all
void
user_function (GtkIconView *iconview,
gpointer user_data)
A keybinding signal
which gets emitted when the user selects all items.
Applications should not connect to it, but may emit it with
g_signal_emit_by_name() if they need to control selection
programmatically.
The default binding for this signal is Ctrl-a.
Parameters
iconview
the object on which the signal is emitted
user_data
user data set when the signal handler was connected.
Flags: Action
The “select-cursor-item” signal
GtkIconView::select-cursor-item
void
user_function (GtkIconView *iconview,
gpointer user_data)
A keybinding signal
which gets emitted when the user selects the item that is currently
focused.
Applications should not connect to it, but may emit it with
g_signal_emit_by_name() if they need to control selection
programmatically.
There is no default binding for this signal.
Parameters
iconview
the object on which the signal is emitted
user_data
user data set when the signal handler was connected.
Flags: Action
The “selection-changed” signal
GtkIconView::selection-changed
void
user_function (GtkIconView *iconview,
gpointer user_data)
The ::selection-changed signal is emitted when the selection
(i.e. the set of selected items) changes.
Parameters
iconview
the object on which the signal is emitted
user_data
user data set when the signal handler was connected.
Flags: Run First
The “toggle-cursor-item” signal
GtkIconView::toggle-cursor-item
void
user_function (GtkIconView *iconview,
gpointer user_data)
A keybinding signal
which gets emitted when the user toggles whether the currently
focused item is selected or not. The exact effect of this
depend on the selection mode.
Applications should not connect to it, but may emit it with
g_signal_emit_by_name() if they need to control selection
programmatically.
There is no default binding for this signal is Ctrl-Space.
Parameters
iconview
the object on which the signal is emitted
user_data
user data set when the signal handler was connected.
Flags: Action
The “unselect-all” signal
GtkIconView::unselect-all
void
user_function (GtkIconView *iconview,
gpointer user_data)
A keybinding signal
which gets emitted when the user unselects all items.
Applications should not connect to it, but may emit it with
g_signal_emit_by_name() if they need to control selection
programmatically.
The default binding for this signal is Ctrl-Shift-a.
Parameters
iconview
the object on which the signal is emitted
user_data
user data set when the signal handler was connected.
Flags: Action
docs/reference/gtk/xml/gtkwindow.xml 0000664 0001750 0001750 00000634417 13617646204 017750 0 ustar mclasen mclasen
]>
GtkWindow
3
GTK4 Library
GtkWindow
Toplevel which can contain other widgets
Functions
GtkWidget *
gtk_window_new ()
void
gtk_window_set_title ()
void
gtk_window_set_resizable ()
gboolean
gtk_window_get_resizable ()
void
gtk_window_add_accel_group ()
void
gtk_window_remove_accel_group ()
void
gtk_window_set_modal ()
void
gtk_window_set_default_size ()
void
gtk_window_set_hide_on_close ()
gboolean
gtk_window_get_hide_on_close ()
void
gtk_window_set_transient_for ()
void
gtk_window_set_attached_to ()
void
gtk_window_set_destroy_with_parent ()
void
gtk_window_set_display ()
gboolean
gtk_window_is_active ()
gboolean
gtk_window_is_maximized ()
GListModel *
gtk_window_get_toplevels ()
GList *
gtk_window_list_toplevels ()
void
gtk_window_add_mnemonic ()
void
gtk_window_remove_mnemonic ()
gboolean
gtk_window_mnemonic_activate ()
gboolean
gtk_window_activate_key ()
gboolean
gtk_window_propagate_key_event ()
GtkWidget *
gtk_window_get_focus ()
void
gtk_window_set_focus ()
GtkWidget *
gtk_window_get_default_widget ()
void
gtk_window_set_default_widget ()
void
gtk_window_present ()
void
gtk_window_present_with_time ()
void
gtk_window_close ()
void
gtk_window_minimize ()
void
gtk_window_unminimize ()
void
gtk_window_stick ()
void
gtk_window_unstick ()
void
gtk_window_maximize ()
void
gtk_window_unmaximize ()
void
gtk_window_fullscreen ()
void
gtk_window_fullscreen_on_monitor ()
void
gtk_window_unfullscreen ()
void
gtk_window_set_keep_above ()
void
gtk_window_set_keep_below ()
void
gtk_window_begin_resize_drag ()
void
gtk_window_begin_move_drag ()
void
gtk_window_set_decorated ()
void
gtk_window_set_deletable ()
void
gtk_window_set_mnemonic_modifier ()
void
gtk_window_set_type_hint ()
void
gtk_window_set_accept_focus ()
void
gtk_window_set_focus_on_map ()
void
gtk_window_set_startup_id ()
gboolean
gtk_window_get_decorated ()
gboolean
gtk_window_get_deletable ()
const gchar *
gtk_window_get_default_icon_name ()
void
gtk_window_get_default_size ()
gboolean
gtk_window_get_destroy_with_parent ()
const gchar *
gtk_window_get_icon_name ()
GdkModifierType
gtk_window_get_mnemonic_modifier ()
gboolean
gtk_window_get_modal ()
void
gtk_window_get_size ()
const gchar *
gtk_window_get_title ()
GtkWindow *
gtk_window_get_transient_for ()
GtkWidget *
gtk_window_get_attached_to ()
GdkSurfaceTypeHint
gtk_window_get_type_hint ()
gboolean
gtk_window_get_accept_focus ()
gboolean
gtk_window_get_focus_on_map ()
GtkWindowGroup *
gtk_window_get_group ()
gboolean
gtk_window_has_group ()
GtkWindowType
gtk_window_get_window_type ()
void
gtk_window_resize ()
void
gtk_window_set_default_icon_name ()
void
gtk_window_set_icon_name ()
void
gtk_window_set_auto_startup_notification ()
gboolean
gtk_window_get_mnemonics_visible ()
void
gtk_window_set_mnemonics_visible ()
gboolean
gtk_window_get_focus_visible ()
void
gtk_window_set_focus_visible ()
GtkApplication *
gtk_window_get_application ()
void
gtk_window_set_application ()
void
gtk_window_set_has_user_ref_count ()
void
gtk_window_set_titlebar ()
GtkWidget *
gtk_window_get_titlebar ()
void
gtk_window_set_interactive_debugging ()
Properties
gboolean accept-focusRead / Write
GtkApplication * applicationRead / Write
GtkWidget * attached-toRead / Write / Construct
gboolean decoratedRead / Write
gint default-heightRead / Write
GtkWidget * default-widgetRead / Write
gint default-widthRead / Write
gboolean deletableRead / Write
gboolean destroy-with-parentRead / Write
GdkDisplay * displayRead / Write
gboolean focus-on-mapRead / Write
gboolean focus-visibleRead / Write
gboolean hide-on-closeRead / Write
gchar * icon-nameRead / Write
gboolean is-activeRead
gboolean is-maximizedRead
gboolean mnemonics-visibleRead / Write
gboolean modalRead / Write
gboolean resizableRead / Write
gchar * startup-idWrite
gchar * titleRead / Write
GtkWindow * transient-forRead / Write / Construct
GtkWindowType typeRead / Write / Construct Only
GdkSurfaceTypeHint type-hintRead / Write
Signals
void activate-default Action
void activate-focus Action
gboolean close-request Run Last
gboolean enable-debugging Action
void keys-changed Run First
Actions
default.activate
Types and Values
GtkWindow
struct GtkWindowClass
enum GtkWindowType
Object Hierarchy
GObject
╰── GInitiallyUnowned
╰── GtkWidget
╰── GtkContainer
╰── GtkBin
╰── GtkWindow
├── GtkDialog
├── GtkApplicationWindow
├── GtkAssistant
╰── GtkShortcutsWindow
Implemented Interfaces
GtkWindow implements
AtkImplementorIface, GtkBuildable, GtkConstraintTarget, GtkNative and GtkRoot.
Includes #include <gtk/gtk.h>
Description
A GtkWindow is a toplevel window which can contain other widgets.
Windows normally have decorations that are under the control
of the windowing system and allow the user to manipulate the window
(resize it, move it, close it,...).
GtkWindow as GtkBuildable The GtkWindow implementation of the GtkBuildable interface supports a
custom <accel-groups> element, which supports any number of <group>
elements representing the GtkAccelGroup objects you want to add to
your window (synonymous with gtk_window_add_accel_group() .
An example of a UI definition fragment with accel groups:
...
]]>
The GtkWindow implementation of the GtkBuildable interface supports
setting a child as the titlebar by specifying “titlebar” as the “type”
attribute of a <child> element.
CSS nodes .titlebar [.default-decoration]
╰──
]]>
GtkWindow has a main CSS node with name window and style class .background,
and a subnode with name decoration.
Style classes that are typically used with the main CSS node are .csd (when
client-side decorations are in use), .solid-csd (for client-side decorations
without invisible borders), .ssd (used by mutter when rendering server-side
decorations). GtkWindow also represents window states with the following
style classes on the main node: .tiled, .maximized, .fullscreen. Specialized
types of window often add their own discriminating style classes, such as
.popup or .tooltip.
GtkWindow adds the .titlebar and .default-decoration style classes to the
widget that is added as a titlebar child.
Functions
gtk_window_new ()
gtk_window_new
GtkWidget *
gtk_window_new (GtkWindowType type );
Creates a new GtkWindow , which is a toplevel window that can
contain other widgets. Nearly always, the type of the window should
be GTK_WINDOW_TOPLEVEL . If you’re implementing something like a
popup menu from scratch (which is a bad idea, just use GtkMenu ),
you might use GTK_WINDOW_POPUP . GTK_WINDOW_POPUP is not for
dialogs, though in some other toolkits dialogs are called “popups”.
In GTK+, GTK_WINDOW_POPUP means a pop-up menu or pop-up tooltip.
On X11, popup windows are not controlled by the
window manager.
If you simply want an undecorated window (no window borders), use
gtk_window_set_decorated() , don’t use GTK_WINDOW_POPUP .
All top-level windows created by gtk_window_new() are stored in
an internal top-level window list. This list can be obtained from
gtk_window_list_toplevels() . Due to Gtk+ keeping a reference to
the window internally, gtk_window_new() does not return a reference
to the caller.
To delete a GtkWindow , call gtk_widget_destroy() .
Parameters
type
type of window
Returns
a new GtkWindow .
gtk_window_set_title ()
gtk_window_set_title
void
gtk_window_set_title (GtkWindow *window ,
const gchar *title );
Sets the title of the GtkWindow . The title of a window will be
displayed in its title bar; on the X Window System, the title bar
is rendered by the window manager,
so exactly how the title appears to users may vary
according to a user’s exact configuration. The title should help a
user distinguish this window from other windows they may have
open. A good title might include the application name and current
document filename, for example.
Parameters
window
a GtkWindow
title
title of the window
gtk_window_set_resizable ()
gtk_window_set_resizable
void
gtk_window_set_resizable (GtkWindow *window ,
gboolean resizable );
Sets whether the user can resize a window. Windows are user resizable
by default.
Parameters
window
a GtkWindow
resizable
TRUE if the user can resize this window
gtk_window_get_resizable ()
gtk_window_get_resizable
gboolean
gtk_window_get_resizable (GtkWindow *window );
Gets the value set by gtk_window_set_resizable() .
Parameters
window
a GtkWindow
Returns
TRUE if the user can resize the window
gtk_window_add_accel_group ()
gtk_window_add_accel_group
void
gtk_window_add_accel_group (GtkWindow *window ,
GtkAccelGroup *accel_group );
Associate accel_group
with window
, such that calling
gtk_accel_groups_activate() on window
will activate accelerators
in accel_group
.
Parameters
window
window to attach accelerator group to
accel_group
a GtkAccelGroup
gtk_window_remove_accel_group ()
gtk_window_remove_accel_group
void
gtk_window_remove_accel_group (GtkWindow *window ,
GtkAccelGroup *accel_group );
Reverses the effects of gtk_window_add_accel_group() .
Parameters
window
a GtkWindow
accel_group
a GtkAccelGroup
gtk_window_set_modal ()
gtk_window_set_modal
void
gtk_window_set_modal (GtkWindow *window ,
gboolean modal );
Sets a window modal or non-modal. Modal windows prevent interaction
with other windows in the same application. To keep modal dialogs
on top of main application windows, use
gtk_window_set_transient_for() to make the dialog transient for the
parent; most window managers
will then disallow lowering the dialog below the parent.
Parameters
window
a GtkWindow
modal
whether the window is modal
gtk_window_set_default_size ()
gtk_window_set_default_size
void
gtk_window_set_default_size (GtkWindow *window ,
gint width ,
gint height );
Sets the default size of a window. If the window’s “natural” size
(its size request) is larger than the default, the default will be
ignored.
Unlike gtk_widget_set_size_request() , which sets a size request for
a widget and thus would keep users from shrinking the window, this
function only sets the initial size, just as if the user had
resized the window themselves. Users can still shrink the window
again as they normally would. Setting a default size of -1 means to
use the “natural” default size (the size request of the window).
For some uses, gtk_window_resize() is a more appropriate function.
gtk_window_resize() changes the current size of the window, rather
than the size to be used on initial display. gtk_window_resize() always
affects the window itself, not the geometry widget.
The default size of a window only affects the first time a window is
shown; if a window is hidden and re-shown, it will remember the size
it had prior to hiding, rather than using the default size.
Windows can’t actually be 0x0 in size, they must be at least 1x1, but
passing 0 for width
and height
is OK, resulting in a 1x1 default size.
If you use this function to reestablish a previously saved window size,
note that the appropriate size to save is the one returned by
gtk_window_get_size() . Using the window allocation directly will not
work in all circumstances and can lead to growing or shrinking windows.
Parameters
window
a GtkWindow
width
width in pixels, or -1 to unset the default width
height
height in pixels, or -1 to unset the default height
gtk_window_set_hide_on_close ()
gtk_window_set_hide_on_close
void
gtk_window_set_hide_on_close (GtkWindow *window ,
gboolean setting );
If setting
is TRUE , then clicking the close button on the window
will not destroy it, but only hide it.
Parameters
window
a GtkWindow
setting
whether to hide the window when it is closed
gtk_window_get_hide_on_close ()
gtk_window_get_hide_on_close
gboolean
gtk_window_get_hide_on_close (GtkWindow *window );
Returns whether the window will be hidden when the close button is clicked.
Parameters
window
a GtkWindow
Returns
TRUE if the window will be hidden
gtk_window_set_transient_for ()
gtk_window_set_transient_for
void
gtk_window_set_transient_for (GtkWindow *window ,
GtkWindow *parent );
Dialog windows should be set transient for the main application
window they were spawned from. This allows
window managers to e.g. keep the
dialog on top of the main window, or center the dialog over the
main window. gtk_dialog_new_with_buttons() and other convenience
functions in GTK+ will sometimes call
gtk_window_set_transient_for() on your behalf.
Passing NULL for parent
unsets the current transient window.
This function can also be used to attach a new
GTK_WINDOW_POPUP to a GTK_WINDOW_TOPLEVEL parent already mapped
on screen so that the GTK_WINDOW_POPUP will be
positioned relative to the GTK_WINDOW_TOPLEVEL surface.
On Windows, this function puts the child window on top of the parent,
much as the window manager would have done on X.
Parameters
window
a GtkWindow
parent
parent window, or NULL .
[allow-none ]
gtk_window_set_attached_to ()
gtk_window_set_attached_to
void
gtk_window_set_attached_to (GtkWindow *window ,
GtkWidget *attach_widget );
Marks window
as attached to attach_widget
. This creates a logical binding
between the window and the widget it belongs to, which is used by GTK+ to
propagate information such as styling or accessibility to window
as if it
was a children of attach_widget
.
Examples of places where specifying this relation is useful are for instance
a GtkMenu created by a GtkComboBox , a completion popup window
created by GtkEntry or a typeahead search entry created by GtkTreeView .
Note that this function should not be confused with
gtk_window_set_transient_for() , which specifies a window manager relation
between two toplevels instead.
Passing NULL for attach_widget
detaches the window.
Parameters
window
a GtkWindow
attach_widget
a GtkWidget , or NULL .
[allow-none ]
gtk_window_set_destroy_with_parent ()
gtk_window_set_destroy_with_parent
void
gtk_window_set_destroy_with_parent (GtkWindow *window ,
gboolean setting );
If setting
is TRUE , then destroying the transient parent of window
will also destroy window
itself. This is useful for dialogs that
shouldn’t persist beyond the lifetime of the main window they're
associated with, for example.
Parameters
window
a GtkWindow
setting
whether to destroy window
with its transient parent
gtk_window_set_display ()
gtk_window_set_display
void
gtk_window_set_display (GtkWindow *window ,
GdkDisplay *display );
Sets the GdkDisplay where the window
is displayed; if
the window is already mapped, it will be unmapped, and
then remapped on the new display.
Parameters
window
a GtkWindow .
display
a GdkDisplay .
gtk_window_is_active ()
gtk_window_is_active
gboolean
gtk_window_is_active (GtkWindow *window );
Returns whether the window is part of the current active toplevel.
(That is, the toplevel window receiving keystrokes.)
The return value is TRUE if the window is active toplevel itself.
You might use this function if you wanted to draw a widget
differently in an active window from a widget in an inactive window.
Parameters
window
a GtkWindow
Returns
TRUE if the window part of the current active window.
gtk_window_is_maximized ()
gtk_window_is_maximized
gboolean
gtk_window_is_maximized (GtkWindow *window );
Retrieves the current maximized state of window
.
Note that since maximization is ultimately handled by the window
manager and happens asynchronously to an application request, you
shouldn’t assume the return value of this function changing
immediately (or at all), as an effect of calling
gtk_window_maximize() or gtk_window_unmaximize() .
Parameters
window
a GtkWindow
Returns
whether the window has a maximized state.
gtk_window_get_toplevels ()
gtk_window_get_toplevels
GListModel *
gtk_window_get_toplevels (void );
Returns a list of all existing toplevel windows.
If you want to iterate through the list and perform actions involving
callbacks that might destroy the widgets or add new ones, be aware that
the list of toplevels will change and emit the "items-changed" signal.
Returns
the list of toplevel widgets.
[element-type GtkWidget][transfer none ]
gtk_window_list_toplevels ()
gtk_window_list_toplevels
GList *
gtk_window_list_toplevels (void );
Returns a list of all existing toplevel windows. The widgets
in the list are not individually referenced. If you want
to iterate through the list and perform actions involving
callbacks that might destroy the widgets, you must call
g_list_foreach (result, (GFunc)g_object_ref, NULL) first, and
then unref all the widgets afterwards.
Returns
list of toplevel widgets.
[element-type GtkWidget][transfer container ]
gtk_window_add_mnemonic ()
gtk_window_add_mnemonic
void
gtk_window_add_mnemonic (GtkWindow *window ,
guint keyval ,
GtkWidget *target );
Adds a mnemonic to this window.
Parameters
window
a GtkWindow
keyval
the mnemonic
target
the widget that gets activated by the mnemonic
gtk_window_remove_mnemonic ()
gtk_window_remove_mnemonic
void
gtk_window_remove_mnemonic (GtkWindow *window ,
guint keyval ,
GtkWidget *target );
Removes a mnemonic from this window.
Parameters
window
a GtkWindow
keyval
the mnemonic
target
the widget that gets activated by the mnemonic
gtk_window_mnemonic_activate ()
gtk_window_mnemonic_activate
gboolean
gtk_window_mnemonic_activate (GtkWindow *window ,
guint keyval ,
GdkModifierType modifier );
Activates the targets associated with the mnemonic.
Parameters
window
a GtkWindow
keyval
the mnemonic
modifier
the modifiers
Returns
TRUE if the activation is done.
gtk_window_activate_key ()
gtk_window_activate_key
gboolean
gtk_window_activate_key (GtkWindow *window ,
GdkEventKey *event );
Activates mnemonics and accelerators for this GtkWindow . This is normally
called by the default ::key_press_event handler for toplevel windows,
however in some cases it may be useful to call this directly when
overriding the standard key handling for a toplevel window.
Parameters
window
a GtkWindow
event
a GdkEventKey
Returns
TRUE if a mnemonic or accelerator was found and activated.
gtk_window_propagate_key_event ()
gtk_window_propagate_key_event
gboolean
gtk_window_propagate_key_event (GtkWindow *window ,
GdkEventKey *event );
Propagate a key press or release event to the focus widget and
up the focus container chain until a widget handles event
.
This is normally called by the default ::key_press_event and
::key_release_event handlers for toplevel windows,
however in some cases it may be useful to call this directly when
overriding the standard key handling for a toplevel window.
Parameters
window
a GtkWindow
event
a GdkEventKey
Returns
TRUE if a widget in the focus chain handled the event.
gtk_window_get_focus ()
gtk_window_get_focus
GtkWidget *
gtk_window_get_focus (GtkWindow *window );
Retrieves the current focused widget within the window.
Note that this is the widget that would have the focus
if the toplevel window focused; if the toplevel window
is not focused then gtk_widget_has_focus (widget) will
not be TRUE for the widget.
Parameters
window
a GtkWindow
Returns
the currently focused widget,
or NULL if there is none.
[nullable ][transfer none ]
gtk_window_set_focus ()
gtk_window_set_focus
void
gtk_window_set_focus (GtkWindow *window ,
GtkWidget *focus );
If focus
is not the current focus widget, and is focusable, sets
it as the focus widget for the window. If focus
is NULL , unsets
the focus widget for this window. To set the focus to a particular
widget in the toplevel, it is usually more convenient to use
gtk_widget_grab_focus() instead of this function.
Parameters
window
a GtkWindow
focus
widget to be the new focus widget, or NULL to unset
any focus widget for the toplevel window.
[allow-none ]
gtk_window_get_default_widget ()
gtk_window_get_default_widget
GtkWidget *
gtk_window_get_default_widget (GtkWindow *window );
Returns the default widget for window
. See
gtk_window_set_default() for more details.
Parameters
window
a GtkWindow
Returns
the default widget, or NULL
if there is none.
[nullable ][transfer none ]
gtk_window_set_default_widget ()
gtk_window_set_default_widget
void
gtk_window_set_default_widget (GtkWindow *window ,
GtkWidget *default_widget );
The default widget is the widget that’s activated when the user
presses Enter in a dialog (for example). This function sets or
unsets the default widget for a GtkWindow .
Parameters
window
a GtkWindow
default_widget
widget to be the default, or NULL
to unset the default widget for the toplevel.
[allow-none ]
gtk_window_present ()
gtk_window_present
void
gtk_window_present (GtkWindow *window );
Presents a window to the user. This function should not be used
as when it is called, it is too late to gather a valid timestamp
to allow focus stealing prevention to work correctly.
Parameters
window
a GtkWindow
gtk_window_present_with_time ()
gtk_window_present_with_time
void
gtk_window_present_with_time (GtkWindow *window ,
guint32 timestamp );
Presents a window to the user. This may mean raising the window
in the stacking order, unminimizing it, moving it to the current
desktop, and/or giving it the keyboard focus, possibly dependent
on the user’s platform, window manager, and preferences.
If window
is hidden, this function calls gtk_widget_show()
as well.
This function should be used when the user tries to open a window
that’s already open. Say for example the preferences dialog is
currently open, and the user chooses Preferences from the menu
a second time; use gtk_window_present() to move the already-open dialog
where the user can see it.
Presents a window to the user in response to a user interaction. The
timestamp should be gathered when the window was requested to be shown
(when clicking a link for example), rather than once the window is
ready to be shown.
Parameters
window
a GtkWindow
timestamp
the timestamp of the user interaction (typically a
button or key press event) which triggered this call
gtk_window_close ()
gtk_window_close
void
gtk_window_close (GtkWindow *window );
Requests that the window is closed, similar to what happens
when a window manager close button is clicked.
This function can be used with close buttons in custom
titlebars.
Parameters
window
a GtkWindow
gtk_window_minimize ()
gtk_window_minimize
void
gtk_window_minimize (GtkWindow *window );
Asks to minimize the specified window
.
Note that you shouldn’t assume the window is definitely minimized
afterward, because the windowing system might not support this
functionality; other entities (e.g. the user or the window manager)
could unminimize it again, or there may not be a window manager in
which case minimization isn’t possible, etc.
It’s permitted to call this function before showing a window,
in which case the window will be minimized before it ever appears
onscreen.
You can track result of this operation via the “state”
property.
Parameters
window
a GtkWindow
gtk_window_unminimize ()
gtk_window_unminimize
void
gtk_window_unminimize (GtkWindow *window );
Asks to unminimize the specified window
.
Note that you shouldn’t assume the window is definitely unminimized
afterward, because the windowing system might not support this
functionality; other entities (e.g. the user or the window manager)
could minimize it again, or there may not be a window manager in
which case minimization isn’t possible, etc.
You can track result of this operation via the “state”
property.
Parameters
window
a GtkWindow
gtk_window_stick ()
gtk_window_stick
void
gtk_window_stick (GtkWindow *window );
Asks to stick window
, which means that it will appear on all user
desktops. Note that you shouldn’t assume the window is definitely
stuck afterward, because other entities (e.g. the user or
window manager could unstick it
again, and some window managers do not support sticking
windows. But normally the window will end up stuck. Just don't
write code that crashes if not.
It’s permitted to call this function before showing a window.
You can track result of this operation via the “state”
property.
Parameters
window
a GtkWindow
gtk_window_unstick ()
gtk_window_unstick
void
gtk_window_unstick (GtkWindow *window );
Asks to unstick window
, which means that it will appear on only
one of the user’s desktops. Note that you shouldn’t assume the
window is definitely unstuck afterward, because other entities
(e.g. the user or window manager) could
stick it again. But normally the window will
end up stuck. Just don’t write code that crashes if not.
You can track result of this operation via the “state”
property.
Parameters
window
a GtkWindow
gtk_window_maximize ()
gtk_window_maximize
void
gtk_window_maximize (GtkWindow *window );
Asks to maximize window
, so that it becomes full-screen. Note that
you shouldn’t assume the window is definitely maximized afterward,
because other entities (e.g. the user or
window manager) could unmaximize it
again, and not all window managers support maximization. But
normally the window will end up maximized. Just don’t write code
that crashes if not.
It’s permitted to call this function before showing a window,
in which case the window will be maximized when it appears onscreen
initially.
You can track the result of this operation via the “state”
property, or by listening to notifications on the “is-maximized”
property.
Parameters
window
a GtkWindow
gtk_window_unmaximize ()
gtk_window_unmaximize
void
gtk_window_unmaximize (GtkWindow *window );
Asks to unmaximize window
. Note that you shouldn’t assume the
window is definitely unmaximized afterward, because other entities
(e.g. the user or window manager)
could maximize it again, and not all window
managers honor requests to unmaximize. But normally the window will
end up unmaximized. Just don’t write code that crashes if not.
You can track the result of this operation via the “state”
property, or by listening to notifications on the “is-maximized”
property.
Parameters
window
a GtkWindow
gtk_window_fullscreen ()
gtk_window_fullscreen
void
gtk_window_fullscreen (GtkWindow *window );
Asks to place window
in the fullscreen state. Note that you
shouldn’t assume the window is definitely full screen afterward,
because other entities (e.g. the user or
window manager) could unfullscreen it
again, and not all window managers honor requests to fullscreen
windows. But normally the window will end up fullscreen. Just
don’t write code that crashes if not.
You can track iconification via the “state” property
Parameters
window
a GtkWindow
gtk_window_fullscreen_on_monitor ()
gtk_window_fullscreen_on_monitor
void
gtk_window_fullscreen_on_monitor (GtkWindow *window ,
GdkMonitor *monitor );
Asks to place window
in the fullscreen state. Note that you shouldn't assume
the window is definitely full screen afterward.
You can track iconification via the “state” property
Parameters
window
a GtkWindow
monitor
which monitor to go fullscreen on
gtk_window_unfullscreen ()
gtk_window_unfullscreen
void
gtk_window_unfullscreen (GtkWindow *window );
Asks to toggle off the fullscreen state for window
. Note that you
shouldn’t assume the window is definitely not full screen
afterward, because other entities (e.g. the user or
window manager) could fullscreen it
again, and not all window managers honor requests to unfullscreen
windows. But normally the window will end up restored to its normal
state. Just don’t write code that crashes if not.
You can track iconification via the “state” property
Parameters
window
a GtkWindow
gtk_window_set_keep_above ()
gtk_window_set_keep_above
void
gtk_window_set_keep_above (GtkWindow *window ,
gboolean setting );
Asks to keep window
above, so that it stays on top. Note that
you shouldn’t assume the window is definitely above afterward,
because other entities (e.g. the user or
window manager) could not keep it above,
and not all window managers support keeping windows above. But
normally the window will end kept above. Just don’t write code
that crashes if not.
It’s permitted to call this function before showing a window,
in which case the window will be kept above when it appears onscreen
initially.
You can track iconification via the “state” property
Note that, according to the
Extended Window Manager Hints Specification ,
the above state is mainly meant for user preferences and should not
be used by applications e.g. for drawing attention to their
dialogs.
Parameters
window
a GtkWindow
setting
whether to keep window
above other windows
gtk_window_set_keep_below ()
gtk_window_set_keep_below
void
gtk_window_set_keep_below (GtkWindow *window ,
gboolean setting );
Asks to keep window
below, so that it stays in bottom. Note that
you shouldn’t assume the window is definitely below afterward,
because other entities (e.g. the user or
window manager) could not keep it below,
and not all window managers support putting windows below. But
normally the window will be kept below. Just don’t write code
that crashes if not.
It’s permitted to call this function before showing a window,
in which case the window will be kept below when it appears onscreen
initially.
You can track iconification via the “state” property
Note that, according to the
Extended Window Manager Hints Specification ,
the above state is mainly meant for user preferences and should not
be used by applications e.g. for drawing attention to their
dialogs.
Parameters
window
a GtkWindow
setting
whether to keep window
below other windows
gtk_window_begin_resize_drag ()
gtk_window_begin_resize_drag
void
gtk_window_begin_resize_drag (GtkWindow *window ,
GdkSurfaceEdge edge ,
gint button ,
gint x ,
gint y ,
guint32 timestamp );
Starts resizing a window. This function is used if an application
has window resizing controls.
Parameters
window
a GtkWindow
button
mouse button that initiated the drag
edge
position of the resize control
x
X position where the user clicked to initiate the drag, in window coordinates
y
Y position where the user clicked to initiate the drag
timestamp
timestamp from the click event that initiated the drag
gtk_window_begin_move_drag ()
gtk_window_begin_move_drag
void
gtk_window_begin_move_drag (GtkWindow *window ,
gint button ,
gint x ,
gint y ,
guint32 timestamp );
Starts moving a window. This function is used if an application has
window movement grips.
Parameters
window
a GtkWindow
button
mouse button that initiated the drag
x
X position where the user clicked to initiate the drag, in window coordinates
y
Y position where the user clicked to initiate the drag
timestamp
timestamp from the click event that initiated the drag
gtk_window_set_decorated ()
gtk_window_set_decorated
void
gtk_window_set_decorated (GtkWindow *window ,
gboolean setting );
By default, windows are decorated with a title bar, resize
controls, etc. Some window managers
allow GTK+ to disable these decorations, creating a
borderless window. If you set the decorated property to FALSE
using this function, GTK+ will do its best to convince the window
manager not to decorate the window. Depending on the system, this
function may not have any effect when called on a window that is
already visible, so you should call it before calling gtk_widget_show() .
On Windows, this function always works, since there’s no window manager
policy involved.
Parameters
window
a GtkWindow
setting
TRUE to decorate the window
gtk_window_set_deletable ()
gtk_window_set_deletable
void
gtk_window_set_deletable (GtkWindow *window ,
gboolean setting );
By default, windows have a close button in the window frame. Some
window managers allow GTK+ to
disable this button. If you set the deletable property to FALSE
using this function, GTK+ will do its best to convince the window
manager not to show a close button. Depending on the system, this
function may not have any effect when called on a window that is
already visible, so you should call it before calling gtk_widget_show() .
On Windows, this function always works, since there’s no window manager
policy involved.
Parameters
window
a GtkWindow
setting
TRUE to decorate the window as deletable
gtk_window_set_mnemonic_modifier ()
gtk_window_set_mnemonic_modifier
void
gtk_window_set_mnemonic_modifier (GtkWindow *window ,
GdkModifierType modifier );
Sets the mnemonic modifier for this window.
Parameters
window
a GtkWindow
modifier
the modifier mask used to activate
mnemonics on this window.
gtk_window_set_type_hint ()
gtk_window_set_type_hint
void
gtk_window_set_type_hint (GtkWindow *window ,
GdkSurfaceTypeHint hint );
By setting the type hint for the window, you allow the window
manager to decorate and handle the window in a way which is
suitable to the function of the window in your application.
This function should be called before the window becomes visible.
gtk_dialog_new_with_buttons() and other convenience functions in GTK+
will sometimes call gtk_window_set_type_hint() on your behalf.
Parameters
window
a GtkWindow
hint
the window type
gtk_window_set_accept_focus ()
gtk_window_set_accept_focus
void
gtk_window_set_accept_focus (GtkWindow *window ,
gboolean setting );
Windows may set a hint asking the desktop environment not to receive
the input focus. This function sets this hint.
Parameters
window
a GtkWindow
setting
TRUE to let this window receive input focus
gtk_window_set_focus_on_map ()
gtk_window_set_focus_on_map
void
gtk_window_set_focus_on_map (GtkWindow *window ,
gboolean setting );
Windows may set a hint asking the desktop environment not to receive
the input focus when the window is mapped. This function sets this
hint.
Parameters
window
a GtkWindow
setting
TRUE to let this window receive input focus on map
gtk_window_set_startup_id ()
gtk_window_set_startup_id
void
gtk_window_set_startup_id (GtkWindow *window ,
const gchar *startup_id );
Startup notification identifiers are used by desktop environment to
track application startup, to provide user feedback and other
features. This function changes the corresponding property on the
underlying GdkSurface. Normally, startup identifier is managed
automatically and you should only use this function in special cases
like transferring focus from other processes. You should use this
function before calling gtk_window_present() or any equivalent
function generating a window map event.
This function is only useful on X11, not with other GTK+ targets.
Parameters
window
a GtkWindow
startup_id
a string with startup-notification identifier
gtk_window_get_decorated ()
gtk_window_get_decorated
gboolean
gtk_window_get_decorated (GtkWindow *window );
Returns whether the window has been set to have decorations
such as a title bar via gtk_window_set_decorated() .
Parameters
window
a GtkWindow
Returns
TRUE if the window has been set to have decorations
gtk_window_get_deletable ()
gtk_window_get_deletable
gboolean
gtk_window_get_deletable (GtkWindow *window );
Returns whether the window has been set to have a close button
via gtk_window_set_deletable() .
Parameters
window
a GtkWindow
Returns
TRUE if the window has been set to have a close button
gtk_window_get_default_icon_name ()
gtk_window_get_default_icon_name
const gchar *
gtk_window_get_default_icon_name (void );
Returns the fallback icon name for windows that has been set
with gtk_window_set_default_icon_name() . The returned
string is owned by GTK+ and should not be modified. It
is only valid until the next call to
gtk_window_set_default_icon_name() .
Returns
the fallback icon name for windows
gtk_window_get_default_size ()
gtk_window_get_default_size
void
gtk_window_get_default_size (GtkWindow *window ,
gint *width ,
gint *height );
Gets the default size of the window. A value of -1 for the width or
height indicates that a default size has not been explicitly set
for that dimension, so the “natural” size of the window will be
used.
Parameters
window
a GtkWindow
width
location to store the default width, or NULL .
[out ][allow-none ]
height
location to store the default height, or NULL .
[out ][allow-none ]
gtk_window_get_destroy_with_parent ()
gtk_window_get_destroy_with_parent
gboolean
gtk_window_get_destroy_with_parent (GtkWindow *window );
Returns whether the window will be destroyed with its transient parent. See
gtk_window_set_destroy_with_parent() .
Parameters
window
a GtkWindow
Returns
TRUE if the window will be destroyed with its transient parent.
gtk_window_get_icon_name ()
gtk_window_get_icon_name
const gchar *
gtk_window_get_icon_name (GtkWindow *window );
Returns the name of the themed icon for the window,
see gtk_window_set_icon_name() .
Parameters
window
a GtkWindow
Returns
the icon name or NULL if the window has
no themed icon.
[nullable ]
gtk_window_get_mnemonic_modifier ()
gtk_window_get_mnemonic_modifier
GdkModifierType
gtk_window_get_mnemonic_modifier (GtkWindow *window );
Returns the mnemonic modifier for this window. See
gtk_window_set_mnemonic_modifier() .
Parameters
window
a GtkWindow
Returns
the modifier mask used to activate
mnemonics on this window.
gtk_window_get_modal ()
gtk_window_get_modal
gboolean
gtk_window_get_modal (GtkWindow *window );
Returns whether the window is modal. See gtk_window_set_modal() .
Parameters
window
a GtkWindow
Returns
TRUE if the window is set to be modal and
establishes a grab when shown
gtk_window_get_size ()
gtk_window_get_size
void
gtk_window_get_size (GtkWindow *window ,
gint *width ,
gint *height );
Obtains the current size of window
.
If window
is not visible on screen, this function return the size GTK+
will suggest to the window manager for the initial window
size (but this is not reliably the same as the size the window manager
will actually select). See: gtk_window_set_default_size() .
Depending on the windowing system and the window manager constraints,
the size returned by this function may not match the size set using
gtk_window_resize() ; additionally, since gtk_window_resize() may be
implemented as an asynchronous operation, GTK+ cannot guarantee in any
way that this code:
will result in new_width and new_height matching width and
height , respectively.
This function will return the logical size of the GtkWindow ,
excluding the widgets used in client side decorations; there is,
however, no guarantee that the result will be completely accurate
because client side decoration may include widgets that depend on
the user preferences and that may not be visibile at the time you
call this function.
The dimensions returned by this function are suitable for being
stored across sessions; use gtk_window_set_default_size() to
restore them when before showing the window.
To avoid potential race conditions, you should only call this
function in response to a size change notification, for instance
inside a handler for the “size-allocate” signal, or
inside a handler for the “configure-event” signal:
Note that, if you connect to the “size-allocate” signal,
you should not use the dimensions of the GtkAllocation passed to
the signal handler, as the allocation may contain client side
decorations added by GTK+, depending on the windowing system in
use.
If you are getting a window size in order to position the window
on the screen, you should, instead, simply set the window’s semantic
type with gtk_window_set_type_hint() , which allows the window manager
to e.g. center dialogs. Also, if you set the transient parent of
dialogs with gtk_window_set_transient_for() window managers will
often center the dialog over its parent window. It's much preferred
to let the window manager handle these cases rather than doing it
yourself, because all apps will behave consistently and according to
user or system preferences, if the window manager handles it. Also,
the window manager can take into account the size of the window
decorations and border that it may add, and of which GTK+ has no
knowledge. Additionally, positioning windows in global screen coordinates
may not be allowed by the windowing system. For more information,
see: gtk_window_set_position() .
Parameters
window
a GtkWindow
width
return location for width, or NULL .
[out ][optional ]
height
return location for height, or NULL .
[out ][optional ]
gtk_window_get_title ()
gtk_window_get_title
const gchar *
gtk_window_get_title (GtkWindow *window );
Retrieves the title of the window. See gtk_window_set_title() .
Parameters
window
a GtkWindow
Returns
the title of the window, or NULL if none has
been set explicitly. The returned string is owned by the widget
and must not be modified or freed.
[nullable ]
gtk_window_get_transient_for ()
gtk_window_get_transient_for
GtkWindow *
gtk_window_get_transient_for (GtkWindow *window );
Fetches the transient parent for this window. See
gtk_window_set_transient_for() .
Parameters
window
a GtkWindow
Returns
the transient parent for this
window, or NULL if no transient parent has been set.
[nullable ][transfer none ]
gtk_window_get_attached_to ()
gtk_window_get_attached_to
GtkWidget *
gtk_window_get_attached_to (GtkWindow *window );
Fetches the attach widget for this window. See
gtk_window_set_attached_to() .
Parameters
window
a GtkWindow
Returns
the widget where the window
is attached, or NULL if the window is not attached to any widget.
[nullable ][transfer none ]
gtk_window_get_type_hint ()
gtk_window_get_type_hint
GdkSurfaceTypeHint
gtk_window_get_type_hint (GtkWindow *window );
Gets the type hint for this window. See gtk_window_set_type_hint() .
Parameters
window
a GtkWindow
Returns
the type hint for window
.
gtk_window_get_accept_focus ()
gtk_window_get_accept_focus
gboolean
gtk_window_get_accept_focus (GtkWindow *window );
Gets the value set by gtk_window_set_accept_focus() .
Parameters
window
a GtkWindow
Returns
TRUE if window should receive the input focus
gtk_window_get_focus_on_map ()
gtk_window_get_focus_on_map
gboolean
gtk_window_get_focus_on_map (GtkWindow *window );
Gets the value set by gtk_window_set_focus_on_map() .
Parameters
window
a GtkWindow
Returns
TRUE if window should receive the input focus when
mapped.
gtk_window_get_group ()
gtk_window_get_group
GtkWindowGroup *
gtk_window_get_group (GtkWindow *window );
Returns the group for window
or the default group, if
window
is NULL or if window
does not have an explicit
window group.
Parameters
window
a GtkWindow , or NULL .
[allow-none ]
Returns
the GtkWindowGroup for a window or the default group.
[transfer none ]
gtk_window_has_group ()
gtk_window_has_group
gboolean
gtk_window_has_group (GtkWindow *window );
Returns whether window
has an explicit window group.
Parameters
window
a GtkWindow
Returns
TRUE if window
has an explicit window group.
gtk_window_get_window_type ()
gtk_window_get_window_type
GtkWindowType
gtk_window_get_window_type (GtkWindow *window );
Gets the type of the window. See GtkWindowType .
Parameters
window
a GtkWindow
Returns
the type of the window
gtk_window_resize ()
gtk_window_resize
void
gtk_window_resize (GtkWindow *window ,
gint width ,
gint height );
Resizes the window as if the user had done so, obeying geometry
constraints. The default geometry constraint is that windows may
not be smaller than their size request; to override this
constraint, call gtk_widget_set_size_request() to set the window's
request to a smaller value.
If gtk_window_resize() is called before showing a window for the
first time, it overrides any default size set with
gtk_window_set_default_size() .
Windows may not be resized smaller than 1 by 1 pixels.
When using client side decorations, GTK+ will do its best to adjust
the given size so that the resulting window size matches the
requested size without the title bar, borders and shadows added for
the client side decorations, but there is no guarantee that the
result will be totally accurate because these widgets added for
client side decorations depend on the theme and may not be realized
or visible at the time gtk_window_resize() is issued.
If the GtkWindow has a titlebar widget (see gtk_window_set_titlebar() ), then
typically, gtk_window_resize() will compensate for the height of the titlebar
widget only if the height is known when the resulting GtkWindow configuration
is issued.
For example, if new widgets are added after the GtkWindow configuration
and cause the titlebar widget to grow in height, this will result in a
window content smaller that specified by gtk_window_resize() and not
a larger window.
Parameters
window
a GtkWindow
width
width in pixels to resize the window to
height
height in pixels to resize the window to
gtk_window_set_default_icon_name ()
gtk_window_set_default_icon_name
void
gtk_window_set_default_icon_name (const gchar *name );
Sets an icon to be used as fallback for windows that haven't
had gtk_window_set_icon_list() called on them from a named
themed icon, see gtk_window_set_icon_name() .
Parameters
name
the name of the themed icon
gtk_window_set_icon_name ()
gtk_window_set_icon_name
void
gtk_window_set_icon_name (GtkWindow *window ,
const gchar *name );
Sets the icon for the window from a named themed icon.
See the docs for GtkIconTheme for more details.
On some platforms, the window icon is not used at all.
Note that this has nothing to do with the WM_ICON_NAME
property which is mentioned in the ICCCM.
Parameters
window
a GtkWindow
name
the name of the themed icon.
[allow-none ]
gtk_window_set_auto_startup_notification ()
gtk_window_set_auto_startup_notification
void
gtk_window_set_auto_startup_notification
(gboolean setting );
By default, after showing the first GtkWindow , GTK+ calls
gdk_notify_startup_complete() . Call this function to disable
the automatic startup notification. You might do this if your
first window is a splash screen, and you want to delay notification
until after your real main window has been shown, for example.
In that example, you would disable startup notification
temporarily, show your splash screen, then re-enable it so that
showing the main window would automatically result in notification.
Parameters
setting
TRUE to automatically do startup notification
gtk_window_get_mnemonics_visible ()
gtk_window_get_mnemonics_visible
gboolean
gtk_window_get_mnemonics_visible (GtkWindow *window );
Gets the value of the “mnemonics-visible” property.
Parameters
window
a GtkWindow
Returns
TRUE if mnemonics are supposed to be visible
in this window.
gtk_window_set_mnemonics_visible ()
gtk_window_set_mnemonics_visible
void
gtk_window_set_mnemonics_visible (GtkWindow *window ,
gboolean setting );
Sets the “mnemonics-visible” property.
Parameters
window
a GtkWindow
setting
the new value
gtk_window_get_focus_visible ()
gtk_window_get_focus_visible
gboolean
gtk_window_get_focus_visible (GtkWindow *window );
Gets the value of the “focus-visible” property.
Parameters
window
a GtkWindow
Returns
TRUE if “focus rectangles” are supposed to be visible
in this window.
gtk_window_set_focus_visible ()
gtk_window_set_focus_visible
void
gtk_window_set_focus_visible (GtkWindow *window ,
gboolean setting );
Sets the “focus-visible” property.
Parameters
window
a GtkWindow
setting
the new value
gtk_window_get_application ()
gtk_window_get_application
GtkApplication *
gtk_window_get_application (GtkWindow *window );
Gets the GtkApplication associated with the window (if any).
Parameters
window
a GtkWindow
Returns
a GtkApplication , or NULL .
[nullable ][transfer none ]
gtk_window_set_application ()
gtk_window_set_application
void
gtk_window_set_application (GtkWindow *window ,
GtkApplication *application );
Sets or unsets the GtkApplication associated with the window.
The application will be kept alive for at least as long as it has any windows
associated with it (see g_application_hold() for a way to keep it alive
without windows).
Normally, the connection between the application and the window will remain
until the window is destroyed, but you can explicitly remove it by setting
the application
to NULL .
This is equivalent to calling gtk_application_remove_window() and/or
gtk_application_add_window() on the old/new applications as relevant.
Parameters
window
a GtkWindow
application
a GtkApplication , or NULL to unset.
[allow-none ]
gtk_window_set_has_user_ref_count ()
gtk_window_set_has_user_ref_count
void
gtk_window_set_has_user_ref_count (GtkWindow *window ,
gboolean setting );
Tells GTK+ whether to drop its extra reference to the window
when gtk_widget_destroy() is called.
This function is only exported for the benefit of language
bindings which may need to keep the window alive until their
wrapper object is garbage collected. There is no justification
for ever calling this function in an application.
Parameters
window
a GtkWindow
setting
the new value
gtk_window_set_titlebar ()
gtk_window_set_titlebar
void
gtk_window_set_titlebar (GtkWindow *window ,
GtkWidget *titlebar );
Sets a custom titlebar for window
.
A typical widget used here is GtkHeaderBar , as it provides various features
expected of a titlebar while allowing the addition of child widgets to it.
If you set a custom titlebar, GTK+ will do its best to convince
the window manager not to put its own titlebar on the window.
Depending on the system, this function may not work for a window
that is already visible, so you set the titlebar before calling
gtk_widget_show() .
Parameters
window
a GtkWindow
titlebar
the widget to use as titlebar.
[allow-none ]
gtk_window_get_titlebar ()
gtk_window_get_titlebar
GtkWidget *
gtk_window_get_titlebar (GtkWindow *window );
Returns the custom titlebar that has been set with
gtk_window_set_titlebar() .
Parameters
window
a GtkWindow
Returns
the custom titlebar, or NULL .
[nullable ][transfer none ]
gtk_window_set_interactive_debugging ()
gtk_window_set_interactive_debugging
void
gtk_window_set_interactive_debugging (gboolean enable );
Opens or closes the interactive debugger,
which offers access to the widget hierarchy of the application
and to useful debugging tools.
Parameters
enable
TRUE to enable interactive debugging
Property Details
The “accept-focus” property
GtkWindow:accept-focus
“accept-focus” gboolean
Whether the window should receive the input focus.
Owner: GtkWindow
Flags: Read / Write
Default value: TRUE
The “application” property
GtkWindow:application
“application” GtkApplication *
The GtkApplication associated with the window.
The application will be kept alive for at least as long as it
has any windows associated with it (see g_application_hold()
for a way to keep it alive without windows).
Normally, the connection between the application and the window
will remain until the window is destroyed, but you can explicitly
remove it by setting the :application property to NULL .
Owner: GtkWindow
Flags: Read / Write
The “attached-to” property
GtkWindow:attached-to
“attached-to” GtkWidget *
The widget to which this window is attached.
See gtk_window_set_attached_to() .
Examples of places where specifying this relation is useful are
for instance a GtkMenu created by a GtkComboBox , a completion
popup window created by GtkEntry or a typeahead search entry
created by GtkTreeView .
Owner: GtkWindow
Flags: Read / Write / Construct
The “decorated” property
GtkWindow:decorated
“decorated” gboolean
Whether the window should be decorated by the window manager.
Owner: GtkWindow
Flags: Read / Write
Default value: TRUE
The “default-height” property
GtkWindow:default-height
“default-height” gint
The default height of the window, used when initially showing the window. Owner: GtkWindow
Flags: Read / Write
Allowed values: >= -1
Default value: -1
The “default-widget” property
GtkWindow:default-widget
“default-widget” GtkWidget *
The default widget. Owner: GtkWindow
Flags: Read / Write
The “default-width” property
GtkWindow:default-width
“default-width” gint
The default width of the window, used when initially showing the window. Owner: GtkWindow
Flags: Read / Write
Allowed values: >= -1
Default value: -1
The “deletable” property
GtkWindow:deletable
“deletable” gboolean
Whether the window frame should have a close button.
Owner: GtkWindow
Flags: Read / Write
Default value: TRUE
The “destroy-with-parent” property
GtkWindow:destroy-with-parent
“destroy-with-parent” gboolean
If this window should be destroyed when the parent is destroyed. Owner: GtkWindow
Flags: Read / Write
Default value: FALSE
The “display” property
GtkWindow:display
“display” GdkDisplay *
The display that will display this window. Owner: GtkWindow
Flags: Read / Write
The “focus-on-map” property
GtkWindow:focus-on-map
“focus-on-map” gboolean
Whether the window should receive the input focus when mapped.
Owner: GtkWindow
Flags: Read / Write
Default value: TRUE
The “focus-visible” property
GtkWindow:focus-visible
“focus-visible” gboolean
Whether 'focus rectangles' are currently visible in this window.
This property is maintained by GTK+ based on user input
and should not be set by applications.
Owner: GtkWindow
Flags: Read / Write
Default value: TRUE
The “hide-on-close” property
GtkWindow:hide-on-close
“hide-on-close” gboolean
If this window should be hidden when the user clicks the close button. Owner: GtkWindow
Flags: Read / Write
Default value: FALSE
The “icon-name” property
GtkWindow:icon-name
“icon-name” gchar *
The :icon-name property specifies the name of the themed icon to
use as the window icon. See GtkIconTheme for more details.
Owner: GtkWindow
Flags: Read / Write
Default value: NULL
The “is-active” property
GtkWindow:is-active
“is-active” gboolean
Whether the toplevel is the current active window. Owner: GtkWindow
Flags: Read
Default value: FALSE
The “is-maximized” property
GtkWindow:is-maximized
“is-maximized” gboolean
Whether the window is maximized. Owner: GtkWindow
Flags: Read
Default value: FALSE
The “mnemonics-visible” property
GtkWindow:mnemonics-visible
“mnemonics-visible” gboolean
Whether mnemonics are currently visible in this window.
This property is maintained by GTK+ based on user input,
and should not be set by applications.
Owner: GtkWindow
Flags: Read / Write
Default value: FALSE
The “modal” property
GtkWindow:modal
“modal” gboolean
If TRUE, the window is modal (other windows are not usable while this one is up). Owner: GtkWindow
Flags: Read / Write
Default value: FALSE
The “resizable” property
GtkWindow:resizable
“resizable” gboolean
If TRUE, users can resize the window. Owner: GtkWindow
Flags: Read / Write
Default value: TRUE
The “startup-id” property
GtkWindow:startup-id
“startup-id” gchar *
The :startup-id is a write-only property for setting window's
startup notification identifier. See gtk_window_set_startup_id()
for more details.
Owner: GtkWindow
Flags: Write
Default value: NULL
The “title” property
GtkWindow:title
“title” gchar *
The title of the window. Owner: GtkWindow
Flags: Read / Write
Default value: NULL
The “transient-for” property
GtkWindow:transient-for
“transient-for” GtkWindow *
The transient parent of the window. See gtk_window_set_transient_for() for
more details about transient windows.
Owner: GtkWindow
Flags: Read / Write / Construct
The “type” property
GtkWindow:type
“type” GtkWindowType
The type of the window. Owner: GtkWindow
Flags: Read / Write / Construct Only
Default value: GTK_WINDOW_TOPLEVEL
The “type-hint” property
GtkWindow:type-hint
“type-hint” GdkSurfaceTypeHint
Hint to help the desktop environment understand what kind of window this is and how to treat it. Owner: GtkWindow
Flags: Read / Write
Default value: GDK_SURFACE_TYPE_HINT_NORMAL
Signal Details
The “activate-default” signal
GtkWindow::activate-default
void
user_function (GtkWindow *window,
gpointer user_data)
The ::activate-default signal is a
keybinding signal
which gets emitted when the user activates the default widget
of window
.
Parameters
window
the window which received the signal
user_data
user data set when the signal handler was connected.
Flags: Action
The “activate-focus” signal
GtkWindow::activate-focus
void
user_function (GtkWindow *window,
gpointer user_data)
The ::activate-focus signal is a
keybinding signal
which gets emitted when the user activates the currently
focused widget of window
.
Parameters
window
the window which received the signal
user_data
user data set when the signal handler was connected.
Flags: Action
The “close-request” signal
GtkWindow::close-request
gboolean
user_function (GtkWindow *window,
gpointer user_data)
The ::close-request signal is emitted when the user clicks on the close
button of the window.
Return: TRUE to stop other handlers from being invoked for the signal
Parameters
window
the window on which the signal is emitted
user_data
user data set when the signal handler was connected.
Flags: Run Last
The “enable-debugging” signal
GtkWindow::enable-debugging
gboolean
user_function (GtkWindow *window,
gboolean toggle,
gpointer user_data)
The ::enable-debugging signal is a keybinding signal
which gets emitted when the user enables or disables interactive
debugging. When toggle
is TRUE , interactive debugging is toggled
on or off, when it is FALSE , the debugger will be pointed at the
widget under the pointer.
The default bindings for this signal are Ctrl-Shift-I
and Ctrl-Shift-D.
Return: TRUE if the key binding was handled
Parameters
window
the window on which the signal is emitted
toggle
toggle the debugger
user_data
user data set when the signal handler was connected.
Flags: Action
The “keys-changed” signal
GtkWindow::keys-changed
void
user_function (GtkWindow *window,
gpointer user_data)
The ::keys-changed signal gets emitted when the set of accelerators
or mnemonics that are associated with window
changes.
Parameters
window
the window which received the signal
user_data
user data set when the signal handler was connected.
Flags: Run First
Action Details
The “default.activate” action
GtkWindow|default.activate
docs/reference/gtk/xml/gtkimage.xml 0000664 0001750 0001750 00000155665 13617646202 017524 0 ustar mclasen mclasen
]>
GtkImage
3
GTK4 Library
GtkImage
A widget displaying an image
Functions
GtkWidget *
gtk_image_new ()
GtkWidget *
gtk_image_new_from_file ()
GtkWidget *
gtk_image_new_from_resource ()
GtkWidget *
gtk_image_new_from_pixbuf ()
GtkWidget *
gtk_image_new_from_paintable ()
GtkWidget *
gtk_image_new_from_icon_name ()
GtkWidget *
gtk_image_new_from_gicon ()
void
gtk_image_clear ()
void
gtk_image_set_from_file ()
void
gtk_image_set_from_resource ()
void
gtk_image_set_from_pixbuf ()
void
gtk_image_set_from_paintable ()
void
gtk_image_set_from_icon_name ()
void
gtk_image_set_from_gicon ()
GtkImageType
gtk_image_get_storage_type ()
GdkPaintable *
gtk_image_get_paintable ()
const char *
gtk_image_get_icon_name ()
GIcon *
gtk_image_get_gicon ()
void
gtk_image_set_pixel_size ()
gint
gtk_image_get_pixel_size ()
void
gtk_image_set_icon_size ()
GtkIconSize
gtk_image_get_icon_size ()
Properties
gchar * fileRead / Write
GIcon * giconRead / Write
gchar * icon-nameRead / Write
GtkIconSize icon-sizeRead / Write
GdkPaintable * paintableRead / Write
gint pixel-sizeRead / Write
gchar * resourceRead / Write
GtkImageType storage-typeRead
gboolean use-fallbackRead / Write
Types and Values
GtkImage
enum GtkImageType
Object Hierarchy
GObject
╰── GInitiallyUnowned
╰── GtkWidget
╰── GtkImage
Implemented Interfaces
GtkImage implements
AtkImplementorIface, GtkBuildable and GtkConstraintTarget.
Includes #include <gtk/gtk.h>
Description
The GtkImage widget displays an image. Various kinds of object
can be displayed as an image; most typically, you would load a
GdkTexture from a file, and then display that.
There’s a convenience function to do this, gtk_image_new_from_file() ,
used as follows:
If the file isn’t loaded successfully, the image will contain a
“broken image” icon similar to that used in many web browsers.
If you want to handle errors in loading the file yourself,
for example by displaying an error message, then load the image with
gdk_texture_new_from_file() , then create the GtkImage with
gtk_image_new_from_paintable() .
Sometimes an application will want to avoid depending on external data
files, such as image files. See the documentation of GResource for details.
In this case, the “resource” , gtk_image_new_from_resource() and
gtk_image_set_from_resource() should be used.
CSS nodes GtkImage has a single CSS node with the name image. The style classes
.normal-icons or .large-icons may appear, depending on the “icon-size”
property.
Functions
gtk_image_new ()
gtk_image_new
GtkWidget *
gtk_image_new (void );
Creates a new empty GtkImage widget.
Returns
a newly created GtkImage widget.
gtk_image_new_from_file ()
gtk_image_new_from_file
GtkWidget *
gtk_image_new_from_file (const gchar *filename );
Creates a new GtkImage displaying the file filename
. If the file
isn’t found or can’t be loaded, the resulting GtkImage will
display a “broken image” icon. This function never returns NULL ,
it always returns a valid GtkImage widget.
If you need to detect failures to load the file, use
gdk_texture_new_from_file() to load the file yourself, then create
the GtkImage from the texture.
The storage type (gtk_image_get_storage_type() ) of the returned
image is not defined, it will be whatever is appropriate for
displaying the file.
Parameters
filename
a filename.
[type filename]
Returns
a new GtkImage
gtk_image_new_from_resource ()
gtk_image_new_from_resource
GtkWidget *
gtk_image_new_from_resource (const gchar *resource_path );
Creates a new GtkImage displaying the resource file resource_path
. If the file
isn’t found or can’t be loaded, the resulting GtkImage will
display a “broken image” icon. This function never returns NULL ,
it always returns a valid GtkImage widget.
If you need to detect failures to load the file, use
gdk_pixbuf_new_from_file() to load the file yourself, then create
the GtkImage from the pixbuf.
The storage type (gtk_image_get_storage_type() ) of the returned
image is not defined, it will be whatever is appropriate for
displaying the file.
Parameters
resource_path
a resource path
Returns
a new GtkImage
gtk_image_new_from_pixbuf ()
gtk_image_new_from_pixbuf
GtkWidget *
gtk_image_new_from_pixbuf (GdkPixbuf *pixbuf );
Creates a new GtkImage displaying pixbuf
.
The GtkImage does not assume a reference to the
pixbuf; you still need to unref it if you own references.
GtkImage will add its own reference rather than adopting yours.
This is a helper for gtk_image_new_from_texture() , and you can't
get back the exact pixbuf once this is called, only a texture.
Note that this function just creates an GtkImage from the pixbuf. The
GtkImage created will not react to state changes. Should you want that,
you should use gtk_image_new_from_icon_name() .
Parameters
pixbuf
a GdkPixbuf , or NULL .
[allow-none ]
Returns
a new GtkImage
gtk_image_new_from_paintable ()
gtk_image_new_from_paintable
GtkWidget *
gtk_image_new_from_paintable (GdkPaintable *paintable );
Creates a new GtkImage displaying paintable
.
The GtkImage does not assume a reference to the
paintable; you still need to unref it if you own references.
GtkImage will add its own reference rather than adopting yours.
The GtkImage will track changes to the paintable
and update
its size and contents in response to it.
Parameters
paintable
a GdkPaintable , or NULL .
[allow-none ]
Returns
a new GtkImage
gtk_image_new_from_icon_name ()
gtk_image_new_from_icon_name
GtkWidget *
gtk_image_new_from_icon_name (const gchar *icon_name );
Creates a GtkImage displaying an icon from the current icon theme.
If the icon name isn’t known, a “broken image” icon will be
displayed instead. If the current icon theme is changed, the icon
will be updated appropriately.
Note: Before 3.94, this function was taking an extra icon size
argument. See gtk_image_set_icon_size() for another way to set
the icon size.
Parameters
icon_name
an icon name or NULL .
[nullable ]
Returns
a new GtkImage displaying the themed icon
gtk_image_new_from_gicon ()
gtk_image_new_from_gicon
GtkWidget *
gtk_image_new_from_gicon (GIcon *icon );
Creates a GtkImage displaying an icon from the current icon theme.
If the icon name isn’t known, a “broken image” icon will be
displayed instead. If the current icon theme is changed, the icon
will be updated appropriately.
Note: Before 3.94, this function was taking an extra icon size
argument. See gtk_image_set_icon_size() for another way to set
the icon size.
Parameters
icon
an icon
Returns
a new GtkImage displaying the themed icon
gtk_image_clear ()
gtk_image_clear
void
gtk_image_clear (GtkImage *image );
Resets the image to be empty.
Parameters
image
a GtkImage
gtk_image_set_from_file ()
gtk_image_set_from_file
void
gtk_image_set_from_file (GtkImage *image ,
const gchar *filename );
See gtk_image_new_from_file() for details.
Parameters
image
a GtkImage
filename
a filename or NULL .
[type filename][allow-none ]
gtk_image_set_from_resource ()
gtk_image_set_from_resource
void
gtk_image_set_from_resource (GtkImage *image ,
const gchar *resource_path );
See gtk_image_new_from_resource() for details.
Parameters
image
a GtkImage
resource_path
a resource path or NULL .
[allow-none ]
gtk_image_set_from_pixbuf ()
gtk_image_set_from_pixbuf
void
gtk_image_set_from_pixbuf (GtkImage *image ,
GdkPixbuf *pixbuf );
See gtk_image_new_from_pixbuf() for details.
Note: This is a helper for gtk_image_set_from_paintable() , and you can't
get back the exact pixbuf once this is called, only a paintable.
Parameters
image
a GtkImage
pixbuf
a GdkPixbuf or NULL .
[allow-none ]
gtk_image_set_from_paintable ()
gtk_image_set_from_paintable
void
gtk_image_set_from_paintable (GtkImage *image ,
GdkPaintable *paintable );
See gtk_image_new_from_paintable() for details.
Parameters
image
a GtkImage
paintable
a GdkPaintable or NULL .
[nullable ]
gtk_image_set_from_icon_name ()
gtk_image_set_from_icon_name
void
gtk_image_set_from_icon_name (GtkImage *image ,
const gchar *icon_name );
See gtk_image_new_from_icon_name() for details.
Note: Before 3.94, this function was taking an extra icon size
argument. See gtk_image_set_icon_size() for another way to set
the icon size.
Parameters
image
a GtkImage
icon_name
an icon name or NULL .
[nullable ]
gtk_image_set_from_gicon ()
gtk_image_set_from_gicon
void
gtk_image_set_from_gicon (GtkImage *image ,
GIcon *icon );
See gtk_image_new_from_gicon() for details.
Note: Before 3.94, this function was taking an extra icon size
argument. See gtk_image_set_icon_size() for another way to set
the icon size.
Parameters
image
a GtkImage
icon
an icon
gtk_image_get_storage_type ()
gtk_image_get_storage_type
GtkImageType
gtk_image_get_storage_type (GtkImage *image );
Gets the type of representation being used by the GtkImage
to store image data. If the GtkImage has no image data,
the return value will be GTK_IMAGE_EMPTY .
Parameters
image
a GtkImage
Returns
image representation being used
gtk_image_get_paintable ()
gtk_image_get_paintable
GdkPaintable *
gtk_image_get_paintable (GtkImage *image );
Gets the image GdkPaintable being displayed by the GtkImage .
The storage type of the image must be GTK_IMAGE_EMPTY or
GTK_IMAGE_PAINTABLE (see gtk_image_get_storage_type() ).
The caller of this function does not own a reference to the
returned paintable.
Parameters
image
a GtkImage
Returns
the displayed paintable, or NULL if
the image is empty.
[nullable ][transfer none ]
gtk_image_get_icon_name ()
gtk_image_get_icon_name
const char *
gtk_image_get_icon_name (GtkImage *image );
Gets the icon name and size being displayed by the GtkImage .
The storage type of the image must be GTK_IMAGE_EMPTY or
GTK_IMAGE_ICON_NAME (see gtk_image_get_storage_type() ).
The returned string is owned by the GtkImage and should not
be freed.
Note: This function was changed in 3.94 not to use out parameters
anymore, but return the icon name directly. See gtk_image_get_icon_size()
for a way to get the icon size.
Parameters
image
a GtkImage
Returns
the icon name, or NULL .
[transfer none ][allow-none ]
gtk_image_get_gicon ()
gtk_image_get_gicon
GIcon *
gtk_image_get_gicon (GtkImage *image );
Gets the GIcon and size being displayed by the GtkImage .
The storage type of the image must be GTK_IMAGE_EMPTY or
GTK_IMAGE_GICON (see gtk_image_get_storage_type() ).
The caller of this function does not own a reference to the
returned GIcon .
Note: This function was changed in 3.94 not to use out parameters
anymore, but return the GIcon directly. See gtk_image_get_icon_size()
for a way to get the icon size.
Parameters
image
a GtkImage
Returns
a GIcon , or NULL .
[transfer none ][allow-none ]
gtk_image_set_pixel_size ()
gtk_image_set_pixel_size
void
gtk_image_set_pixel_size (GtkImage *image ,
gint pixel_size );
Sets the pixel size to use for named icons. If the pixel size is set
to a value != -1, it is used instead of the icon size set by
gtk_image_set_from_icon_name() .
Parameters
image
a GtkImage
pixel_size
the new pixel size
gtk_image_get_pixel_size ()
gtk_image_get_pixel_size
gint
gtk_image_get_pixel_size (GtkImage *image );
Gets the pixel size used for named icons.
Parameters
image
a GtkImage
Returns
the pixel size used for named icons.
gtk_image_set_icon_size ()
gtk_image_set_icon_size
void
gtk_image_set_icon_size (GtkImage *image ,
GtkIconSize icon_size );
Suggests an icon size to the theme for named icons.
Parameters
image
a GtkImage
icon_size
the new icon size
gtk_image_get_icon_size ()
gtk_image_get_icon_size
GtkIconSize
gtk_image_get_icon_size (GtkImage *image );
Gets the icon size used by the image
when rendering icons.
Parameters
image
a GtkImage
Returns
the image size used by icons
Property Details
The “file” property
GtkImage:file
“file” gchar *
Filename to load and display. Owner: GtkImage
Flags: Read / Write
Default value: NULL
The “gicon” property
GtkImage:gicon
“gicon” GIcon *
The GIcon displayed in the GtkImage. For themed icons,
If the icon theme is changed, the image will be updated
automatically.
Owner: GtkImage
Flags: Read / Write
The “icon-name” property
GtkImage:icon-name
“icon-name” gchar *
The name of the icon in the icon theme. If the icon theme is
changed, the image will be updated automatically.
Owner: GtkImage
Flags: Read / Write
Default value: NULL
The “icon-size” property
GtkImage:icon-size
“icon-size” GtkIconSize
Symbolic size to use for icon set or named icon. Owner: GtkImage
Flags: Read / Write
Default value: GTK_ICON_SIZE_INHERIT
The “paintable” property
GtkImage:paintable
“paintable” GdkPaintable *
A GdkPaintable to display. Owner: GtkImage
Flags: Read / Write
The “pixel-size” property
GtkImage:pixel-size
“pixel-size” gint
The "pixel-size" property can be used to specify a fixed size
overriding the “icon-size” property for images of type
GTK_IMAGE_ICON_NAME .
Owner: GtkImage
Flags: Read / Write
Allowed values: >= -1
Default value: -1
The “resource” property
GtkImage:resource
“resource” gchar *
A path to a resource file to display.
Owner: GtkImage
Flags: Read / Write
Default value: NULL
The “storage-type” property
GtkImage:storage-type
“storage-type” GtkImageType
The representation being used for image data. Owner: GtkImage
Flags: Read
Default value: GTK_IMAGE_EMPTY
The “use-fallback” property
GtkImage:use-fallback
“use-fallback” gboolean
Whether the icon displayed in the GtkImage will use
standard icon names fallback. The value of this property
is only relevant for images of type GTK_IMAGE_ICON_NAME
and GTK_IMAGE_GICON .
Owner: GtkImage
Flags: Read / Write
Default value: FALSE
docs/reference/gtk/xml/gtklabel.xml 0000664 0001750 0001750 00000435023 13617646202 017506 0 ustar mclasen mclasen
]>
GtkLabel
3
GTK4 Library
GtkLabel
A widget that displays a small to medium amount of text
Functions
GtkWidget *
gtk_label_new ()
void
gtk_label_set_text ()
void
gtk_label_set_attributes ()
void
gtk_label_set_markup ()
void
gtk_label_set_markup_with_mnemonic ()
void
gtk_label_set_pattern ()
void
gtk_label_set_justify ()
void
gtk_label_set_xalign ()
void
gtk_label_set_yalign ()
void
gtk_label_set_ellipsize ()
void
gtk_label_set_width_chars ()
void
gtk_label_set_max_width_chars ()
void
gtk_label_set_wrap ()
void
gtk_label_set_wrap_mode ()
void
gtk_label_set_lines ()
void
gtk_label_get_layout_offsets ()
guint
gtk_label_get_mnemonic_keyval ()
gboolean
gtk_label_get_selectable ()
const gchar *
gtk_label_get_text ()
GtkWidget *
gtk_label_new_with_mnemonic ()
void
gtk_label_select_region ()
void
gtk_label_set_mnemonic_widget ()
void
gtk_label_set_selectable ()
void
gtk_label_set_text_with_mnemonic ()
PangoAttrList *
gtk_label_get_attributes ()
GtkJustification
gtk_label_get_justify ()
gfloat
gtk_label_get_xalign ()
gfloat
gtk_label_get_yalign ()
PangoEllipsizeMode
gtk_label_get_ellipsize ()
gint
gtk_label_get_width_chars ()
gint
gtk_label_get_max_width_chars ()
const gchar *
gtk_label_get_label ()
PangoLayout *
gtk_label_get_layout ()
gboolean
gtk_label_get_wrap ()
PangoWrapMode
gtk_label_get_wrap_mode ()
gint
gtk_label_get_lines ()
GtkWidget *
gtk_label_get_mnemonic_widget ()
gboolean
gtk_label_get_selection_bounds ()
gboolean
gtk_label_get_use_markup ()
gboolean
gtk_label_get_use_underline ()
gboolean
gtk_label_get_single_line_mode ()
void
gtk_label_set_label ()
void
gtk_label_set_use_markup ()
void
gtk_label_set_use_underline ()
void
gtk_label_set_single_line_mode ()
const gchar *
gtk_label_get_current_uri ()
void
gtk_label_set_track_visited_links ()
gboolean
gtk_label_get_track_visited_links ()
void
gtk_label_set_extra_menu ()
GMenuModel *
gtk_label_get_extra_menu ()
Properties
PangoAttrList * attributesRead / Write
gint cursor-positionRead
PangoEllipsizeMode ellipsizeRead / Write
GMenuModel * extra-menuRead / Write
GtkJustification justifyRead / Write
gchar * labelRead / Write
gint linesRead / Write
gint max-width-charsRead / Write
guint mnemonic-keyvalRead
GtkWidget * mnemonic-widgetRead / Write
gchar * patternWrite
gboolean selectableRead / Write
gint selection-boundRead
gboolean single-line-modeRead / Write
gboolean track-visited-linksRead / Write
gboolean use-markupRead / Write
gboolean use-underlineRead / Write
gint width-charsRead / Write
gboolean wrapRead / Write
PangoWrapMode wrap-modeRead / Write
gfloat xalignRead / Write
gfloat yalignRead / Write
Signals
void activate-current-link Action
gboolean activate-link Run Last
void copy-clipboard Action
void move-cursor Action
Actions
clipboard.cut
clipboard.copy
clipboard.paste
selection.delete
selection.select-all
link.open
link.copy
Types and Values
GtkLabel
Object Hierarchy
GObject
╰── GInitiallyUnowned
╰── GtkWidget
╰── GtkLabel
Implemented Interfaces
GtkLabel implements
AtkImplementorIface, GtkBuildable and GtkConstraintTarget.
Includes #include <gtk/gtk.h>
Description
The GtkLabel widget displays a small amount of text. As the name
implies, most labels are used to label another widget such as a GtkButton .
CSS nodes
GtkLabel has a single CSS node with the name label. A wide variety
of style classes may be applied to labels, such as .title, .subtitle,
.dim-label, etc. In the GtkShortcutsWindow , labels are used wth the
.keycap style class.
If the label has a selection, it gets a subnode with name selection.
If the label has links, there is one subnode per link. These subnodes
carry the link or visited state depending on whether they have been
visited.
GtkLabel as GtkBuildable The GtkLabel implementation of the GtkBuildable interface supports a
custom <attributes> element, which supports any number of <attribute>
elements. The <attribute> element has attributes named “name“, “value“,
“start“ and “end“ and allows you to specify PangoAttribute values for
this label.
An example of a UI definition fragment specifying Pango attributes:
]]>
The start and end attributes specify the range of characters to which the
Pango attribute applies. If start and end are not specified, the attribute is
applied to the whole text. Note that specifying ranges does not make much
sense with translatable attributes. Use markup embedded in the translatable
content instead.
Mnemonics Labels may contain “mnemonics”. Mnemonics are
underlined characters in the label, used for keyboard navigation.
Mnemonics are created by providing a string with an underscore before
the mnemonic character, such as "_File" , to the
functions gtk_label_new_with_mnemonic() or
gtk_label_set_text_with_mnemonic() .
Mnemonics automatically activate any activatable widget the label is
inside, such as a GtkButton ; if the label is not inside the
mnemonic’s target widget, you have to tell the label about the target
using gtk_label_set_mnemonic_widget() . Here’s a simple example where
the label is inside a button:
There’s a convenience function to create buttons with a mnemonic label
already inside:
To create a mnemonic for a widget alongside the label, such as a
GtkEntry , you have to point the label at the entry with
gtk_label_set_mnemonic_widget() :
Markup (styled text) To make it easy to format text in a label (changing colors,
fonts, etc.), label text can be provided in a simple
markup format.
Here’s how to create a label with a small font:
Small text");
]]>
(See complete documentation of available
tags in the Pango manual.)
The markup passed to gtk_label_set_markup() must be valid; for example,
literal <, > and & characters must be escaped as <, >, and &.
If you pass text obtained from the user, file, or a network to
gtk_label_set_markup() , you’ll want to escape it with
g_markup_escape_text() or g_markup_printf_escaped() .
Markup strings are just a convenient way to set the PangoAttrList on
a label; gtk_label_set_attributes() may be a simpler way to set
attributes in some cases. Be careful though; PangoAttrList tends to
cause internationalization problems, unless you’re applying attributes
to the entire string (i.e. unless you set the range of each attribute
to [0, G_MAXINT )). The reason is that specifying the start_index and
end_index for a PangoAttribute requires knowledge of the exact string
being displayed, so translations will cause problems.
Selectable labels Labels can be made selectable with gtk_label_set_selectable() .
Selectable labels allow the user to copy the label contents to
the clipboard. Only labels that contain useful-to-copy information
— such as error messages — should be made selectable.
Text layout A label can contain any number of paragraphs, but will have
performance problems if it contains more than a small number.
Paragraphs are separated by newlines or other paragraph separators
understood by Pango.
Labels can automatically wrap text if you call
gtk_label_set_wrap() .
gtk_label_set_justify() sets how the lines in a label align
with one another. If you want to set how the label as a whole
aligns in its available space, see the “halign” and
“valign” properties.
The “width-chars” and “max-width-chars” properties
can be used to control the size allocation of ellipsized or wrapped
labels. For ellipsizing labels, if either is specified (and less
than the actual text size), it is used as the minimum width, and the actual
text size is used as the natural width of the label. For wrapping labels,
width-chars is used as the minimum width, if specified, and max-width-chars
is used as the natural width. Even if max-width-chars specified, wrapping
labels will be rewrapped to use all of the available width.
Note that the interpretation of “width-chars” and
“max-width-chars” has changed a bit with the introduction of
width-for-height geometry management.
Links GTK+ supports markup for clickable hyperlinks in addition
to regular Pango markup. The markup for links is borrowed from HTML,
using the <a> with “href“, “title“ and “class“ attributes. GTK+ renders links
similar to the way they appear in web browsers, with colored, underlined
text. The “title“ attribute is displayed as a tooltip on the link. The “class“
attribute is used as style class on the CSS node for the link.
An example looks like this:
Our website\">"
"GTK+ website for more...";
GtkWidget *label = gtk_label_new (NULL);
gtk_label_set_markup (GTK_LABEL (label), text);
]]>
It is possible to implement custom handling for links and their tooltips with
the “activate-link” signal and the gtk_label_get_current_uri() function.
Functions
gtk_label_new ()
gtk_label_new
GtkWidget *
gtk_label_new (const gchar *str );
Creates a new label with the given text inside it. You can
pass NULL to get an empty label widget.
Parameters
str
The text of the label.
[nullable ]
Returns
the new GtkLabel
gtk_label_set_text ()
gtk_label_set_text
void
gtk_label_set_text (GtkLabel *label ,
const gchar *str );
Sets the text within the GtkLabel widget. It overwrites any text that
was there before.
This function will clear any previously set mnemonic accelerators, and
set the “use-underline” property to FALSE as a side effect.
This function will set the “use-markup” property to FALSE
as a side effect.
See also: gtk_label_set_markup()
Parameters
label
a GtkLabel
str
The text you want to set
gtk_label_set_attributes ()
gtk_label_set_attributes
void
gtk_label_set_attributes (GtkLabel *label ,
PangoAttrList *attrs );
Sets a PangoAttrList ; the attributes in the list are applied to the
label text.
The attributes set with this function will be applied
and merged with any other attributes previously effected by way
of the “use-underline” or “use-markup” properties.
While it is not recommended to mix markup strings with manually set
attributes, if you must; know that the attributes will be applied
to the label after the markup string is parsed.
Parameters
label
a GtkLabel
attrs
a PangoAttrList , or NULL .
[nullable ]
gtk_label_set_markup ()
gtk_label_set_markup
void
gtk_label_set_markup (GtkLabel *label ,
const gchar *str );
Parses str
which is marked up with the
Pango text markup language, setting the
label’s text and attribute list based on the parse results.
If the str
is external data, you may need to escape it with
g_markup_escape_text() or g_markup_printf_escaped() :
\%s";
char *markup;
markup = g_markup_printf_escaped (format, str);
gtk_label_set_markup (GTK_LABEL (label), markup);
g_free (markup);
]]>
This function will set the “use-markup” property to TRUE as
a side effect.
If you set the label contents using the “label” property you
should also ensure that you set the “use-markup” property
accordingly.
See also: gtk_label_set_text()
Parameters
label
a GtkLabel
str
a markup string (see Pango markup format)
gtk_label_set_markup_with_mnemonic ()
gtk_label_set_markup_with_mnemonic
void
gtk_label_set_markup_with_mnemonic (GtkLabel *label ,
const gchar *str );
Parses str
which is marked up with the
Pango text markup language,
setting the label’s text and attribute list based on the parse results.
If characters in str
are preceded by an underscore, they are underlined
indicating that they represent a keyboard accelerator called a mnemonic.
The mnemonic key can be used to activate another widget, chosen
automatically, or explicitly using gtk_label_set_mnemonic_widget() .
Parameters
label
a GtkLabel
str
a markup string (see
Pango markup format)
gtk_label_set_pattern ()
gtk_label_set_pattern
void
gtk_label_set_pattern (GtkLabel *label ,
const gchar *pattern );
The pattern of underlines you want under the existing text within the
GtkLabel widget. For example if the current text of the label says
“FooBarBaz” passing a pattern of “___ ___” will underline
“Foo” and “Baz” but not “Bar”.
Parameters
label
The GtkLabel you want to set the pattern to.
pattern
The pattern as described above.
gtk_label_set_justify ()
gtk_label_set_justify
void
gtk_label_set_justify (GtkLabel *label ,
GtkJustification jtype );
Sets the alignment of the lines in the text of the label relative to
each other. GTK_JUSTIFY_LEFT is the default value when the widget is
first created with gtk_label_new() . If you instead want to set the
alignment of the label as a whole, use gtk_widget_set_halign() instead.
gtk_label_set_justify() has no effect on labels containing only a
single line.
Parameters
label
a GtkLabel
jtype
a GtkJustification
gtk_label_set_xalign ()
gtk_label_set_xalign
void
gtk_label_set_xalign (GtkLabel *label ,
gfloat xalign );
Sets the “xalign” property for label
.
Parameters
label
a GtkLabel
xalign
the new xalign value, between 0 and 1
gtk_label_set_yalign ()
gtk_label_set_yalign
void
gtk_label_set_yalign (GtkLabel *label ,
gfloat yalign );
Sets the “yalign” property for label
.
Parameters
label
a GtkLabel
yalign
the new yalign value, between 0 and 1
gtk_label_set_ellipsize ()
gtk_label_set_ellipsize
void
gtk_label_set_ellipsize (GtkLabel *label ,
PangoEllipsizeMode mode );
Sets the mode used to ellipsize (add an ellipsis: "...") to the text
if there is not enough space to render the entire string.
Parameters
label
a GtkLabel
mode
a PangoEllipsizeMode
gtk_label_set_width_chars ()
gtk_label_set_width_chars
void
gtk_label_set_width_chars (GtkLabel *label ,
gint n_chars );
Sets the desired width in characters of label
to n_chars
.
Parameters
label
a GtkLabel
n_chars
the new desired width, in characters.
gtk_label_set_max_width_chars ()
gtk_label_set_max_width_chars
void
gtk_label_set_max_width_chars (GtkLabel *label ,
gint n_chars );
Sets the desired maximum width in characters of label
to n_chars
.
Parameters
label
a GtkLabel
n_chars
the new desired maximum width, in characters.
gtk_label_set_wrap ()
gtk_label_set_wrap
void
gtk_label_set_wrap (GtkLabel *label ,
gboolean wrap );
Toggles line wrapping within the GtkLabel widget. TRUE makes it break
lines if text exceeds the widget’s size. FALSE lets the text get cut off
by the edge of the widget if it exceeds the widget size.
Note that setting line wrapping to TRUE does not make the label
wrap at its parent container’s width, because GTK+ widgets
conceptually can’t make their requisition depend on the parent
container’s size. For a label that wraps at a specific position,
set the label’s width using gtk_widget_set_size_request() .
Parameters
label
a GtkLabel
wrap
the setting
gtk_label_set_wrap_mode ()
gtk_label_set_wrap_mode
void
gtk_label_set_wrap_mode (GtkLabel *label ,
PangoWrapMode wrap_mode );
If line wrapping is on (see gtk_label_set_wrap() ) this controls how
the line wrapping is done. The default is PANGO_WRAP_WORD which means
wrap on word boundaries.
Parameters
label
a GtkLabel
wrap_mode
the line wrapping mode
gtk_label_set_lines ()
gtk_label_set_lines
void
gtk_label_set_lines (GtkLabel *label ,
gint lines );
Sets the number of lines to which an ellipsized, wrapping label
should be limited. This has no effect if the label is not wrapping
or ellipsized. Set this to -1 if you don’t want to limit the
number of lines.
Parameters
label
a GtkLabel
lines
the desired number of lines, or -1
gtk_label_get_layout_offsets ()
gtk_label_get_layout_offsets
void
gtk_label_get_layout_offsets (GtkLabel *label ,
gint *x ,
gint *y );
Obtains the coordinates where the label will draw the PangoLayout
representing the text in the label; useful to convert mouse events
into coordinates inside the PangoLayout , e.g. to take some action
if some part of the label is clicked. Remember
when using the PangoLayout functions you need to convert to
and from pixels using PANGO_PIXELS() or PANGO_SCALE .
Parameters
label
a GtkLabel
x
location to store X offset of layout, or NULL .
[out ][optional ]
y
location to store Y offset of layout, or NULL .
[out ][optional ]
gtk_label_get_mnemonic_keyval ()
gtk_label_get_mnemonic_keyval
guint
gtk_label_get_mnemonic_keyval (GtkLabel *label );
If the label has been set so that it has a mnemonic key this function
returns the keyval used for the mnemonic accelerator. If there is no
mnemonic set up it returns GDK_KEY_VoidSymbol .
Parameters
label
a GtkLabel
Returns
GDK keyval usable for accelerators, or GDK_KEY_VoidSymbol
gtk_label_get_selectable ()
gtk_label_get_selectable
gboolean
gtk_label_get_selectable (GtkLabel *label );
Gets the value set by gtk_label_set_selectable() .
Parameters
label
a GtkLabel
Returns
TRUE if the user can copy text from the label
gtk_label_get_text ()
gtk_label_get_text
const gchar *
gtk_label_get_text (GtkLabel *label );
Fetches the text from a label widget, as displayed on the
screen. This does not include any embedded underlines
indicating mnemonics or Pango markup. (See gtk_label_get_label() )
Parameters
label
a GtkLabel
Returns
the text in the label widget. This is the internal
string used by the label, and must not be modified.
gtk_label_new_with_mnemonic ()
gtk_label_new_with_mnemonic
GtkWidget *
gtk_label_new_with_mnemonic (const gchar *str );
Creates a new GtkLabel , containing the text in str
.
If characters in str
are preceded by an underscore, they are
underlined. If you need a literal underscore character in a label, use
'__' (two underscores). The first underlined character represents a
keyboard accelerator called a mnemonic. The mnemonic key can be used
to activate another widget, chosen automatically, or explicitly using
gtk_label_set_mnemonic_widget() .
If gtk_label_set_mnemonic_widget() is not called, then the first
activatable ancestor of the GtkLabel will be chosen as the mnemonic
widget. For instance, if the label is inside a button or menu item,
the button or menu item will automatically become the mnemonic widget
and be activated by the mnemonic.
Parameters
str
The text of the label, with an underscore in front of the
mnemonic character.
[nullable ]
Returns
the new GtkLabel
gtk_label_select_region ()
gtk_label_select_region
void
gtk_label_select_region (GtkLabel *label ,
gint start_offset ,
gint end_offset );
Selects a range of characters in the label, if the label is selectable.
See gtk_label_set_selectable() . If the label is not selectable,
this function has no effect. If start_offset
or
end_offset
are -1, then the end of the label will be substituted.
Parameters
label
a GtkLabel
start_offset
start offset (in characters not bytes)
end_offset
end offset (in characters not bytes)
gtk_label_set_mnemonic_widget ()
gtk_label_set_mnemonic_widget
void
gtk_label_set_mnemonic_widget (GtkLabel *label ,
GtkWidget *widget );
If the label has been set so that it has a mnemonic key (using
i.e. gtk_label_set_markup_with_mnemonic() ,
gtk_label_set_text_with_mnemonic() , gtk_label_new_with_mnemonic()
or the “use_underline” property) the label can be associated with a
widget that is the target of the mnemonic. When the label is inside
a widget (like a GtkButton or a GtkNotebook tab) it is
automatically associated with the correct widget, but sometimes
(i.e. when the target is a GtkEntry next to the label) you need to
set it explicitly using this function.
The target widget will be accelerated by emitting the
GtkWidget::mnemonic-activate signal on it. The default handler for
this signal will activate the widget if there are no mnemonic collisions
and toggle focus between the colliding widgets otherwise.
Parameters
label
a GtkLabel
widget
the target GtkWidget , or NULL to unset.
[nullable ]
gtk_label_set_selectable ()
gtk_label_set_selectable
void
gtk_label_set_selectable (GtkLabel *label ,
gboolean setting );
Selectable labels allow the user to select text from the label, for
copy-and-paste.
Parameters
label
a GtkLabel
setting
TRUE to allow selecting text in the label
gtk_label_set_text_with_mnemonic ()
gtk_label_set_text_with_mnemonic
void
gtk_label_set_text_with_mnemonic (GtkLabel *label ,
const gchar *str );
Sets the label’s text from the string str
.
If characters in str
are preceded by an underscore, they are underlined
indicating that they represent a keyboard accelerator called a mnemonic.
The mnemonic key can be used to activate another widget, chosen
automatically, or explicitly using gtk_label_set_mnemonic_widget() .
Parameters
label
a GtkLabel
str
a string
gtk_label_get_attributes ()
gtk_label_get_attributes
PangoAttrList *
gtk_label_get_attributes (GtkLabel *label );
Gets the attribute list that was set on the label using
gtk_label_set_attributes() , if any. This function does
not reflect attributes that come from the labels markup
(see gtk_label_set_markup() ). If you want to get the
effective attributes for the label, use
pango_layout_get_attribute (gtk_label_get_layout (label)).
Parameters
label
a GtkLabel
Returns
the attribute list, or NULL
if none was set.
[nullable ][transfer none ]
gtk_label_get_justify ()
gtk_label_get_justify
GtkJustification
gtk_label_get_justify (GtkLabel *label );
Returns the justification of the label. See gtk_label_set_justify() .
Parameters
label
a GtkLabel
Returns
GtkJustification
gtk_label_get_xalign ()
gtk_label_get_xalign
gfloat
gtk_label_get_xalign (GtkLabel *label );
Gets the “xalign” property for label
.
Parameters
label
a GtkLabel
Returns
the xalign property
gtk_label_get_yalign ()
gtk_label_get_yalign
gfloat
gtk_label_get_yalign (GtkLabel *label );
Gets the “yalign” property for label
.
Parameters
label
a GtkLabel
Returns
the yalign property
gtk_label_get_ellipsize ()
gtk_label_get_ellipsize
PangoEllipsizeMode
gtk_label_get_ellipsize (GtkLabel *label );
Returns the ellipsizing position of the label. See gtk_label_set_ellipsize() .
Parameters
label
a GtkLabel
Returns
PangoEllipsizeMode
gtk_label_get_width_chars ()
gtk_label_get_width_chars
gint
gtk_label_get_width_chars (GtkLabel *label );
Retrieves the desired width of label
, in characters. See
gtk_label_set_width_chars() .
Parameters
label
a GtkLabel
Returns
the width of the label in characters.
gtk_label_get_max_width_chars ()
gtk_label_get_max_width_chars
gint
gtk_label_get_max_width_chars (GtkLabel *label );
Retrieves the desired maximum width of label
, in characters. See
gtk_label_set_width_chars() .
Parameters
label
a GtkLabel
Returns
the maximum width of the label in characters.
gtk_label_get_label ()
gtk_label_get_label
const gchar *
gtk_label_get_label (GtkLabel *label );
Fetches the text from a label widget including any embedded
underlines indicating mnemonics and Pango markup. (See
gtk_label_get_text() ).
Parameters
label
a GtkLabel
Returns
the text of the label widget. This string is
owned by the widget and must not be modified or freed.
gtk_label_get_layout ()
gtk_label_get_layout
PangoLayout *
gtk_label_get_layout (GtkLabel *label );
Gets the PangoLayout used to display the label.
The layout is useful to e.g. convert text positions to
pixel positions, in combination with gtk_label_get_layout_offsets() .
The returned layout is owned by the label
so need not be
freed by the caller. The label
is free to recreate its layout at
any time, so it should be considered read-only.
Parameters
label
a GtkLabel
Returns
the PangoLayout for this label.
[transfer none ]
gtk_label_get_wrap ()
gtk_label_get_wrap
gboolean
gtk_label_get_wrap (GtkLabel *label );
Returns whether lines in the label are automatically wrapped.
See gtk_label_set_wrap() .
Parameters
label
a GtkLabel
Returns
TRUE if the lines of the label are automatically wrapped.
gtk_label_get_wrap_mode ()
gtk_label_get_wrap_mode
PangoWrapMode
gtk_label_get_wrap_mode (GtkLabel *label );
Returns line wrap mode used by the label. See gtk_label_set_wrap_mode() .
Parameters
label
a GtkLabel
Returns
TRUE if the lines of the label are automatically wrapped.
gtk_label_get_lines ()
gtk_label_get_lines
gint
gtk_label_get_lines (GtkLabel *label );
Gets the number of lines to which an ellipsized, wrapping
label should be limited. See gtk_label_set_lines() .
Parameters
label
a GtkLabel
Returns
The number of lines
gtk_label_get_mnemonic_widget ()
gtk_label_get_mnemonic_widget
GtkWidget *
gtk_label_get_mnemonic_widget (GtkLabel *label );
Retrieves the target of the mnemonic (keyboard shortcut) of this
label. See gtk_label_set_mnemonic_widget() .
Parameters
label
a GtkLabel
Returns
the target of the label’s mnemonic,
or NULL if none has been set and the default algorithm will be used.
[nullable ][transfer none ]
gtk_label_get_selection_bounds ()
gtk_label_get_selection_bounds
gboolean
gtk_label_get_selection_bounds (GtkLabel *label ,
gint *start ,
gint *end );
Gets the selected range of characters in the label, returning TRUE
if there’s a selection.
Parameters
label
a GtkLabel
start
return location for start of selection, as a character offset.
[out ]
end
return location for end of selection, as a character offset.
[out ]
Returns
TRUE if selection is non-empty
gtk_label_get_use_markup ()
gtk_label_get_use_markup
gboolean
gtk_label_get_use_markup (GtkLabel *label );
Returns whether the label’s text is interpreted as marked up with
the Pango text markup language.
See gtk_label_set_use_markup() .
Parameters
label
a GtkLabel
Returns
TRUE if the label’s text will be parsed for markup.
gtk_label_get_use_underline ()
gtk_label_get_use_underline
gboolean
gtk_label_get_use_underline (GtkLabel *label );
Returns whether an embedded underline in the label indicates a
mnemonic. See gtk_label_set_use_underline() .
Parameters
label
a GtkLabel
Returns
TRUE whether an embedded underline in the label indicates
the mnemonic accelerator keys.
gtk_label_get_single_line_mode ()
gtk_label_get_single_line_mode
gboolean
gtk_label_get_single_line_mode (GtkLabel *label );
Returns whether the label is in single line mode.
Parameters
label
a GtkLabel
Returns
TRUE when the label is in single line mode.
gtk_label_set_label ()
gtk_label_set_label
void
gtk_label_set_label (GtkLabel *label ,
const gchar *str );
Sets the text of the label. The label is interpreted as
including embedded underlines and/or Pango markup depending
on the values of the “use-underline” and
“use-markup” properties.
Parameters
label
a GtkLabel
str
the new text to set for the label
gtk_label_set_use_markup ()
gtk_label_set_use_markup
void
gtk_label_set_use_markup (GtkLabel *label ,
gboolean setting );
Sets whether the text of the label contains markup in
Pango’s text markup language.
See gtk_label_set_markup() .
Parameters
label
a GtkLabel
setting
TRUE if the label’s text should be parsed for markup.
gtk_label_set_use_underline ()
gtk_label_set_use_underline
void
gtk_label_set_use_underline (GtkLabel *label ,
gboolean setting );
If true, an underline in the text indicates the next character should be
used for the mnemonic accelerator key.
Parameters
label
a GtkLabel
setting
TRUE if underlines in the text indicate mnemonics
gtk_label_set_single_line_mode ()
gtk_label_set_single_line_mode
void
gtk_label_set_single_line_mode (GtkLabel *label ,
gboolean single_line_mode );
Sets whether the label is in single line mode.
Parameters
label
a GtkLabel
single_line_mode
TRUE if the label should be in single line mode
gtk_label_get_current_uri ()
gtk_label_get_current_uri
const gchar *
gtk_label_get_current_uri (GtkLabel *label );
Returns the URI for the currently active link in the label.
The active link is the one under the mouse pointer or, in a
selectable label, the link in which the text cursor is currently
positioned.
This function is intended for use in a “activate-link” handler
or for use in a “query-tooltip” handler.
Parameters
label
a GtkLabel
Returns
the currently active URI or NULL if there is none.
The string is owned by GTK+ and must not be freed or modified.
[nullable ]
gtk_label_set_track_visited_links ()
gtk_label_set_track_visited_links
void
gtk_label_set_track_visited_links (GtkLabel *label ,
gboolean track_links );
Sets whether the label should keep track of clicked
links (and use a different color for them).
Parameters
label
a GtkLabel
track_links
TRUE to track visited links
gtk_label_get_track_visited_links ()
gtk_label_get_track_visited_links
gboolean
gtk_label_get_track_visited_links (GtkLabel *label );
Returns whether the label is currently keeping track
of clicked links.
Parameters
label
a GtkLabel
Returns
TRUE if clicked links are remembered
Property Details
The “attributes” property
GtkLabel:attributes
“attributes” PangoAttrList *
A list of style attributes to apply to the text of the label. Owner: GtkLabel
Flags: Read / Write
The “cursor-position” property
GtkLabel:cursor-position
“cursor-position” gint
The current position of the insertion cursor in chars. Owner: GtkLabel
Flags: Read
Allowed values: >= 0
Default value: 0
The “ellipsize” property
GtkLabel:ellipsize
“ellipsize” PangoEllipsizeMode
The preferred place to ellipsize the string, if the label does
not have enough room to display the entire string, specified as a
PangoEllipsizeMode .
Note that setting this property to a value other than
PANGO_ELLIPSIZE_NONE has the side-effect that the label requests
only enough space to display the ellipsis "...". In particular, this
means that ellipsizing labels do not work well in notebook tabs, unless
the GtkNotebook tab-expand child property is set to TRUE . Other ways
to set a label's width are gtk_widget_set_size_request() and
gtk_label_set_width_chars() .
Owner: GtkLabel
Flags: Read / Write
Default value: PANGO_ELLIPSIZE_NONE
The “justify” property
GtkLabel:justify
“justify” GtkJustification
The alignment of the lines in the text of the label relative to each other. This does NOT affect the alignment of the label within its allocation. See GtkLabel:xalign for that. Owner: GtkLabel
Flags: Read / Write
Default value: GTK_JUSTIFY_LEFT
The “label” property
GtkLabel:label
“label” gchar *
The contents of the label.
If the string contains Pango XML markup, you will
have to set the “use-markup” property to TRUE in order for the
label to display the markup attributes. See also gtk_label_set_markup()
for a convenience function that sets both this property and the
“use-markup” property at the same time.
If the string contains underlines acting as mnemonics, you will have to
set the “use-underline” property to TRUE in order for the label
to display them.
Owner: GtkLabel
Flags: Read / Write
Default value: ""
The “lines” property
GtkLabel:lines
“lines” gint
The number of lines to which an ellipsized, wrapping label
should be limited. This property has no effect if the
label is not wrapping or ellipsized. Set this property to
-1 if you don't want to limit the number of lines.
Owner: GtkLabel
Flags: Read / Write
Allowed values: >= -1
Default value: -1
The “max-width-chars” property
GtkLabel:max-width-chars
“max-width-chars” gint
The desired maximum width of the label, in characters. If this property
is set to -1, the width will be calculated automatically.
See the section on text layout
for details of how “width-chars” and “max-width-chars”
determine the width of ellipsized and wrapped labels.
Owner: GtkLabel
Flags: Read / Write
Allowed values: >= -1
Default value: -1
The “mnemonic-keyval” property
GtkLabel:mnemonic-keyval
“mnemonic-keyval” guint
The mnemonic accelerator key for this label. Owner: GtkLabel
Flags: Read
Default value: 16777215
The “mnemonic-widget” property
GtkLabel:mnemonic-widget
“mnemonic-widget” GtkWidget *
The widget to be activated when the label’s mnemonic key is pressed. Owner: GtkLabel
Flags: Read / Write
The “pattern” property
GtkLabel:pattern
“pattern” gchar *
A string with _ characters in positions correspond to characters in the text to underline. Owner: GtkLabel
Flags: Write
Default value: NULL
The “selectable” property
GtkLabel:selectable
“selectable” gboolean
Whether the label text can be selected with the mouse. Owner: GtkLabel
Flags: Read / Write
Default value: FALSE
The “selection-bound” property
GtkLabel:selection-bound
“selection-bound” gint
The position of the opposite end of the selection from the cursor in chars. Owner: GtkLabel
Flags: Read
Allowed values: >= 0
Default value: 0
The “single-line-mode” property
GtkLabel:single-line-mode
“single-line-mode” gboolean
Whether the label is in single line mode. In single line mode,
the height of the label does not depend on the actual text, it
is always set to ascent + descent of the font. This can be an
advantage in situations where resizing the label because of text
changes would be distracting, e.g. in a statusbar.
Owner: GtkLabel
Flags: Read / Write
Default value: FALSE
The “track-visited-links” property
GtkLabel:track-visited-links
“track-visited-links” gboolean
Set this property to TRUE to make the label track which links
have been visited. It will then apply the GTK_STATE_FLAG_VISITED
when rendering this link, in addition to GTK_STATE_FLAG_LINK .
Owner: GtkLabel
Flags: Read / Write
Default value: TRUE
The “use-markup” property
GtkLabel:use-markup
“use-markup” gboolean
The text of the label includes XML markup. See pango_parse_markup(). Owner: GtkLabel
Flags: Read / Write
Default value: FALSE
The “use-underline” property
GtkLabel:use-underline
“use-underline” gboolean
If set, an underline in the text indicates the next character should be used for the mnemonic accelerator key. Owner: GtkLabel
Flags: Read / Write
Default value: FALSE
The “width-chars” property
GtkLabel:width-chars
“width-chars” gint
The desired width of the label, in characters. If this property is set to
-1, the width will be calculated automatically.
See the section on text layout
for details of how “width-chars” and “max-width-chars”
determine the width of ellipsized and wrapped labels.
Owner: GtkLabel
Flags: Read / Write
Allowed values: >= -1
Default value: -1
The “wrap” property
GtkLabel:wrap
“wrap” gboolean
If set, wrap lines if the text becomes too wide. Owner: GtkLabel
Flags: Read / Write
Default value: FALSE
The “wrap-mode” property
GtkLabel:wrap-mode
“wrap-mode” PangoWrapMode
If line wrapping is on (see the “wrap” property) this controls
how the line wrapping is done. The default is PANGO_WRAP_WORD , which
means wrap on word boundaries.
Owner: GtkLabel
Flags: Read / Write
Default value: PANGO_WRAP_WORD
The “xalign” property
GtkLabel:xalign
“xalign” gfloat
The xalign property determines the horizontal aligment of the label text
inside the labels size allocation. Compare this to “halign” ,
which determines how the labels size allocation is positioned in the
space available for the label.
Owner: GtkLabel
Flags: Read / Write
Allowed values: [0,1]
Default value: 0.5
The “yalign” property
GtkLabel:yalign
“yalign” gfloat
The yalign property determines the vertical aligment of the label text
inside the labels size allocation. Compare this to “valign” ,
which determines how the labels size allocation is positioned in the
space available for the label.
Owner: GtkLabel
Flags: Read / Write
Allowed values: [0,1]
Default value: 0.5
Signal Details
The “activate-current-link” signal
GtkLabel::activate-current-link
void
user_function (GtkLabel *label,
gpointer user_data)
A keybinding signal
which gets emitted when the user activates a link in the label.
Applications may also emit the signal with g_signal_emit_by_name()
if they need to control activation of URIs programmatically.
The default bindings for this signal are all forms of the Enter key.
Parameters
label
The label on which the signal was emitted
user_data
user data set when the signal handler was connected.
Flags: Action
The “activate-link” signal
GtkLabel::activate-link
gboolean
user_function (GtkLabel *label,
gchar *uri,
gpointer user_data)
The signal which gets emitted to activate a URI.
Applications may connect to it to override the default behaviour,
which is to call gtk_show_uri_on_window() .
Parameters
label
The label on which the signal was emitted
uri
the URI that is activated
user_data
user data set when the signal handler was connected.
Returns
TRUE if the link has been activated
Flags: Run Last
The “copy-clipboard” signal
GtkLabel::copy-clipboard
void
user_function (GtkLabel *label,
gpointer user_data)
The ::copy-clipboard signal is a
keybinding signal
which gets emitted to copy the selection to the clipboard.
The default binding for this signal is Ctrl-c.
Parameters
label
the object which received the signal
user_data
user data set when the signal handler was connected.
Flags: Action
The “move-cursor” signal
GtkLabel::move-cursor
void
user_function (GtkLabel *entry,
GtkMovementStep step,
gint count,
gboolean extend_selection,
gpointer user_data)
The ::move-cursor signal is a
keybinding signal
which gets emitted when the user initiates a cursor movement.
If the cursor is not visible in entry
, this signal causes
the viewport to be moved instead.
Applications should not connect to it, but may emit it with
g_signal_emit_by_name() if they need to control the cursor
programmatically.
The default bindings for this signal come in two variants,
the variant with the Shift modifier extends the selection,
the variant without the Shift modifer does not.
There are too many key combinations to list them all here.
Arrow keys move by individual characters/lines
Ctrl-arrow key combinations move by words/paragraphs
Home/End keys move to the ends of the buffer
Parameters
entry
the object which received the signal
step
the granularity of the move, as a GtkMovementStep
count
the number of step
units to move
extend_selection
TRUE if the move should extend the selection
user_data
user data set when the signal handler was connected.
Flags: Action
Action Details
The “clipboard.cut” action
GtkLabel|clipboard.cut
The “clipboard.copy” action
GtkLabel|clipboard.copy
The “clipboard.paste” action
GtkLabel|clipboard.paste
The “selection.delete” action
GtkLabel|selection.delete
The “selection.select-all” action
GtkLabel|selection.select-all
The “link.open” action
GtkLabel|link.open
The “link.copy” action
GtkLabel|link.copy
docs/reference/gtk/xml/gtktexttagtable.xml 0000664 0001750 0001750 00000054720 13617646202 021120 0 ustar mclasen mclasen
]>
GtkTextTagTable
3
GTK4 Library
GtkTextTagTable
Collection of tags that can be used together
Functions
void
( *GtkTextTagTableForeach) ()
GtkTextTagTable *
gtk_text_tag_table_new ()
gboolean
gtk_text_tag_table_add ()
void
gtk_text_tag_table_remove ()
GtkTextTag *
gtk_text_tag_table_lookup ()
void
gtk_text_tag_table_foreach ()
gint
gtk_text_tag_table_get_size ()
Signals
void tag-added Run Last
void tag-changed Run Last
void tag-removed Run Last
Types and Values
GtkTextTagTable
Object Hierarchy
GObject
╰── GtkTextTagTable
Implemented Interfaces
GtkTextTagTable implements
GtkBuildable.
Includes #include <gtk/gtk.h>
Description
You may wish to begin by reading the
text widget conceptual overview
which gives an overview of all the objects and
data types related to the text widget and how they work together.
GtkTextTagTables as GtkBuildable The GtkTextTagTable implementation of the GtkBuildable interface
supports adding tags by specifying “tag” as the “type” attribute
of a <child> element.
An example of a UI definition fragment specifying tags:
]]>
Functions
GtkTextTagTableForeach ()
GtkTextTagTableForeach
void
( *GtkTextTagTableForeach) (GtkTextTag *tag ,
gpointer data );
Parameters
tag
the GtkTextTag
data
data passed to gtk_text_tag_table_foreach() .
[closure ]
gtk_text_tag_table_new ()
gtk_text_tag_table_new
GtkTextTagTable *
gtk_text_tag_table_new (void );
Creates a new GtkTextTagTable . The table contains no tags by
default.
Returns
a new GtkTextTagTable
gtk_text_tag_table_add ()
gtk_text_tag_table_add
gboolean
gtk_text_tag_table_add (GtkTextTagTable *table ,
GtkTextTag *tag );
Add a tag to the table. The tag is assigned the highest priority
in the table.
tag
must not be in a tag table already, and may not have
the same name as an already-added tag.
Parameters
table
a GtkTextTagTable
tag
a GtkTextTag
Returns
TRUE on success.
gtk_text_tag_table_remove ()
gtk_text_tag_table_remove
void
gtk_text_tag_table_remove (GtkTextTagTable *table ,
GtkTextTag *tag );
Remove a tag from the table. If a GtkTextBuffer has table
as its tag table,
the tag is removed from the buffer. The table’s reference to the tag is
removed, so the tag will end up destroyed if you don’t have a reference to
it.
Parameters
table
a GtkTextTagTable
tag
a GtkTextTag
gtk_text_tag_table_lookup ()
gtk_text_tag_table_lookup
GtkTextTag *
gtk_text_tag_table_lookup (GtkTextTagTable *table ,
const gchar *name );
Look up a named tag.
Parameters
table
a GtkTextTagTable
name
name of a tag
Returns
The tag, or NULL if none by that
name is in the table.
[nullable ][transfer none ]
gtk_text_tag_table_foreach ()
gtk_text_tag_table_foreach
void
gtk_text_tag_table_foreach (GtkTextTagTable *table ,
GtkTextTagTableForeach func ,
gpointer data );
Calls func
on each tag in table
, with user data data
.
Note that the table may not be modified while iterating
over it (you can’t add/remove tags).
Parameters
table
a GtkTextTagTable
func
a function to call on each tag.
[scope call ]
data
user data
gtk_text_tag_table_get_size ()
gtk_text_tag_table_get_size
gint
gtk_text_tag_table_get_size (GtkTextTagTable *table );
Returns the size of the table (number of tags)
Parameters
table
a GtkTextTagTable
Returns
number of tags in table
Signal Details
The “tag-added” signal
GtkTextTagTable::tag-added
void
user_function (GtkTextTagTable *texttagtable,
GtkTextTag *tag,
gpointer user_data)
Parameters
texttagtable
the object which received the signal.
tag
the added tag.
user_data
user data set when the signal handler was connected.
Flags: Run Last
The “tag-changed” signal
GtkTextTagTable::tag-changed
void
user_function (GtkTextTagTable *texttagtable,
GtkTextTag *tag,
gboolean size_changed,
gpointer user_data)
Parameters
texttagtable
the object which received the signal.
tag
the changed tag.
size_changed
whether the change affects the GtkTextView layout.
user_data
user data set when the signal handler was connected.
Flags: Run Last
The “tag-removed” signal
GtkTextTagTable::tag-removed
void
user_function (GtkTextTagTable *texttagtable,
GtkTextTag *tag,
gpointer user_data)
Parameters
texttagtable
the object which received the signal.
tag
the removed tag.
user_data
user data set when the signal handler was connected.
Flags: Run Last
docs/reference/gtk/xml/gtklinkbutton.xml 0000664 0001750 0001750 00000052321 13617646202 020614 0 ustar mclasen mclasen
]>
GtkLinkButton
3
GTK4 Library
GtkLinkButton
Create buttons bound to a URL
Functions
GtkWidget *
gtk_link_button_new ()
GtkWidget *
gtk_link_button_new_with_label ()
const gchar *
gtk_link_button_get_uri ()
void
gtk_link_button_set_uri ()
gboolean
gtk_link_button_get_visited ()
void
gtk_link_button_set_visited ()
Properties
gchar * uriRead / Write
gboolean visitedRead / Write
Signals
gboolean activate-link Run Last
Actions
clipboard.copy
Types and Values
GtkLinkButton
Object Hierarchy
GObject
╰── GInitiallyUnowned
╰── GtkWidget
╰── GtkContainer
╰── GtkBin
╰── GtkButton
╰── GtkLinkButton
Implemented Interfaces
GtkLinkButton implements
AtkImplementorIface, GtkBuildable, GtkConstraintTarget and GtkActionable.
Includes #include <gtk/gtk.h>
Description
A GtkLinkButton is a GtkButton with a hyperlink, similar to the one
used by web browsers, which triggers an action when clicked. It is useful
to show quick links to resources.
A link button is created by calling either gtk_link_button_new() or
gtk_link_button_new_with_label() . If using the former, the URI you pass
to the constructor is used as a label for the widget.
The URI bound to a GtkLinkButton can be set specifically using
gtk_link_button_set_uri() , and retrieved using gtk_link_button_get_uri() .
By default, GtkLinkButton calls gtk_show_uri_on_window() when the button is
clicked. This behaviour can be overridden by connecting to the
“activate-link” signal and returning TRUE from the
signal handler.
CSS nodes GtkLinkButton has a single CSS node with name button. To differentiate
it from a plain GtkButton , it gets the .link style class.
Functions
gtk_link_button_new ()
gtk_link_button_new
GtkWidget *
gtk_link_button_new (const gchar *uri );
Creates a new GtkLinkButton with the URI as its text.
Parameters
uri
a valid URI
Returns
a new link button widget.
gtk_link_button_new_with_label ()
gtk_link_button_new_with_label
GtkWidget *
gtk_link_button_new_with_label (const gchar *uri ,
const gchar *label );
Creates a new GtkLinkButton containing a label.
Parameters
uri
a valid URI
label
the text of the button.
[allow-none ]
Returns
a new link button widget.
[transfer none ]
gtk_link_button_get_uri ()
gtk_link_button_get_uri
const gchar *
gtk_link_button_get_uri (GtkLinkButton *link_button );
Retrieves the URI set using gtk_link_button_set_uri() .
Parameters
link_button
a GtkLinkButton
Returns
a valid URI. The returned string is owned by the link button
and should not be modified or freed.
gtk_link_button_set_uri ()
gtk_link_button_set_uri
void
gtk_link_button_set_uri (GtkLinkButton *link_button ,
const gchar *uri );
Sets uri
as the URI where the GtkLinkButton points. As a side-effect
this unsets the “visited” state of the button.
Parameters
link_button
a GtkLinkButton
uri
a valid URI
gtk_link_button_get_visited ()
gtk_link_button_get_visited
gboolean
gtk_link_button_get_visited (GtkLinkButton *link_button );
Retrieves the “visited” state of the URI where the GtkLinkButton
points. The button becomes visited when it is clicked. If the URI
is changed on the button, the “visited” state is unset again.
The state may also be changed using gtk_link_button_set_visited() .
Parameters
link_button
a GtkLinkButton
Returns
TRUE if the link has been visited, FALSE otherwise
gtk_link_button_set_visited ()
gtk_link_button_set_visited
void
gtk_link_button_set_visited (GtkLinkButton *link_button ,
gboolean visited );
Sets the “visited” state of the URI where the GtkLinkButton
points. See gtk_link_button_get_visited() for more details.
Parameters
link_button
a GtkLinkButton
visited
the new “visited” state
Property Details
The “uri” property
GtkLinkButton:uri
“uri” gchar *
The URI bound to this button.
Owner: GtkLinkButton
Flags: Read / Write
Default value: NULL
The “visited” property
GtkLinkButton:visited
“visited” gboolean
The 'visited' state of this button. A visited link is drawn in a
different color.
Owner: GtkLinkButton
Flags: Read / Write
Default value: FALSE
Signal Details
The “activate-link” signal
GtkLinkButton::activate-link
gboolean
user_function (GtkLinkButton *button,
gpointer user_data)
The ::activate-link signal is emitted each time the GtkLinkButton
has been clicked.
The default handler will call gtk_show_uri_on_window() with the URI stored inside
the “uri” property.
To override the default behavior, you can connect to the ::activate-link
signal and stop the propagation of the signal by returning TRUE from
your handler.
Parameters
button
the GtkLinkButton that emitted the signal
user_data
user data set when the signal handler was connected.
Flags: Run Last
Action Details
The “clipboard.copy” action
GtkLinkButton|clipboard.copy
See Also
GtkButton
docs/reference/gtk/xml/gtktextview.xml 0000664 0001750 0001750 00000667113 13617646203 020316 0 ustar mclasen mclasen
]>
GtkTextView
3
GTK4 Library
GtkTextView
Widget that displays a GtkTextBuffer
Functions
GtkWidget *
gtk_text_view_new ()
GtkWidget *
gtk_text_view_new_with_buffer ()
void
gtk_text_view_set_buffer ()
GtkTextBuffer *
gtk_text_view_get_buffer ()
void
gtk_text_view_scroll_to_mark ()
gboolean
gtk_text_view_scroll_to_iter ()
void
gtk_text_view_scroll_mark_onscreen ()
gboolean
gtk_text_view_move_mark_onscreen ()
gboolean
gtk_text_view_place_cursor_onscreen ()
void
gtk_text_view_get_visible_rect ()
void
gtk_text_view_get_iter_location ()
void
gtk_text_view_get_cursor_locations ()
void
gtk_text_view_get_line_at_y ()
void
gtk_text_view_get_line_yrange ()
gboolean
gtk_text_view_get_iter_at_location ()
gboolean
gtk_text_view_get_iter_at_position ()
void
gtk_text_view_buffer_to_window_coords ()
void
gtk_text_view_window_to_buffer_coords ()
gboolean
gtk_text_view_forward_display_line ()
gboolean
gtk_text_view_backward_display_line ()
gboolean
gtk_text_view_forward_display_line_end ()
gboolean
gtk_text_view_backward_display_line_start ()
gboolean
gtk_text_view_starts_display_line ()
gboolean
gtk_text_view_move_visually ()
void
gtk_text_view_add_child_at_anchor ()
GtkTextChildAnchor *
gtk_text_child_anchor_new ()
GList *
gtk_text_child_anchor_get_widgets ()
gboolean
gtk_text_child_anchor_get_deleted ()
GtkWidget *
gtk_text_view_get_gutter ()
void
gtk_text_view_set_gutter ()
void
gtk_text_view_add_overlay ()
void
gtk_text_view_move_overlay ()
void
gtk_text_view_set_wrap_mode ()
GtkWrapMode
gtk_text_view_get_wrap_mode ()
void
gtk_text_view_set_editable ()
gboolean
gtk_text_view_get_editable ()
void
gtk_text_view_set_cursor_visible ()
gboolean
gtk_text_view_get_cursor_visible ()
void
gtk_text_view_reset_cursor_blink ()
void
gtk_text_view_set_overwrite ()
gboolean
gtk_text_view_get_overwrite ()
void
gtk_text_view_set_pixels_above_lines ()
gint
gtk_text_view_get_pixels_above_lines ()
void
gtk_text_view_set_pixels_below_lines ()
gint
gtk_text_view_get_pixels_below_lines ()
void
gtk_text_view_set_pixels_inside_wrap ()
gint
gtk_text_view_get_pixels_inside_wrap ()
void
gtk_text_view_set_justification ()
GtkJustification
gtk_text_view_get_justification ()
void
gtk_text_view_set_left_margin ()
gint
gtk_text_view_get_left_margin ()
void
gtk_text_view_set_right_margin ()
gint
gtk_text_view_get_right_margin ()
void
gtk_text_view_set_top_margin ()
gint
gtk_text_view_get_top_margin ()
void
gtk_text_view_set_bottom_margin ()
gint
gtk_text_view_get_bottom_margin ()
void
gtk_text_view_set_indent ()
gint
gtk_text_view_get_indent ()
void
gtk_text_view_set_tabs ()
PangoTabArray *
gtk_text_view_get_tabs ()
void
gtk_text_view_set_accepts_tab ()
gboolean
gtk_text_view_get_accepts_tab ()
gboolean
gtk_text_view_im_context_filter_keypress ()
void
gtk_text_view_reset_im_context ()
void
gtk_text_view_set_input_purpose ()
GtkInputPurpose
gtk_text_view_get_input_purpose ()
void
gtk_text_view_set_input_hints ()
GtkInputHints
gtk_text_view_get_input_hints ()
void
gtk_text_view_set_monospace ()
gboolean
gtk_text_view_get_monospace ()
void
gtk_text_view_set_extra_menu ()
GMenuModel *
gtk_text_view_get_extra_menu ()
Properties
gboolean accepts-tabRead / Write
gint bottom-marginRead / Write
GtkTextBuffer * bufferRead / Write
gboolean cursor-visibleRead / Write
gboolean editableRead / Write
GMenuModel * extra-menuRead / Write
gchar * im-moduleRead / Write
gint indentRead / Write
GtkInputHints input-hintsRead / Write
GtkInputPurpose input-purposeRead / Write
GtkJustification justificationRead / Write
gint left-marginRead / Write
gboolean monospaceRead / Write
gboolean overwriteRead / Write
gint pixels-above-linesRead / Write
gint pixels-below-linesRead / Write
gint pixels-inside-wrapRead / Write
gint right-marginRead / Write
PangoTabArray * tabsRead / Write
gint top-marginRead / Write
GtkWrapMode wrap-modeRead / Write
Signals
void backspace Action
void copy-clipboard Action
void cut-clipboard Action
void delete-from-cursor Action
gboolean extend-selection Run Last
void insert-at-cursor Action
void insert-emoji Action
void move-cursor Action
void move-viewport Action
void paste-clipboard Action
void preedit-changed Action
void select-all Action
void set-anchor Action
void toggle-cursor-visible Action
void toggle-overwrite Action
Actions
text.undo
text.redo
clipboard.cut
clipboard.copy
clipboard.paste
selection.delete
selection.select-all
misc.insert-emoji
Types and Values
struct GtkTextView
struct GtkTextViewClass
enum GtkTextViewLayer
enum GtkTextWindowType
enum GtkTextExtendSelection
enum GtkWrapMode
struct GtkTextChildAnchor
#define GTK_TEXT_VIEW_PRIORITY_VALIDATE
Object Hierarchy
GObject
├── GInitiallyUnowned
│ ╰── GtkWidget
│ ╰── GtkContainer
│ ╰── GtkTextView
╰── GtkTextChildAnchor
Implemented Interfaces
GtkTextView implements
AtkImplementorIface, GtkBuildable, GtkConstraintTarget and GtkScrollable.
Includes #include <gtk/gtk.h>
Description
You may wish to begin by reading the
text widget conceptual overview
which gives an overview of all the objects and data
types related to the text widget and how they work together.
CSS nodes
GtkTextView has a main css node with name textview and style class .view,
and subnodes for each of the border windows, and the main text area,
with names border and text, respectively. The border nodes each get
one of the style classes .left, .right, .top or .bottom.
A node representing the selection will appear below the text node.
If a context menu is opened, the window node will appear as a subnode
of the main node.
Functions
gtk_text_view_new ()
gtk_text_view_new
GtkWidget *
gtk_text_view_new (void );
Creates a new GtkTextView . If you don’t call gtk_text_view_set_buffer()
before using the text view, an empty default buffer will be created
for you. Get the buffer with gtk_text_view_get_buffer() . If you want
to specify your own buffer, consider gtk_text_view_new_with_buffer() .
Returns
a new GtkTextView
gtk_text_view_new_with_buffer ()
gtk_text_view_new_with_buffer
GtkWidget *
gtk_text_view_new_with_buffer (GtkTextBuffer *buffer );
Creates a new GtkTextView widget displaying the buffer
buffer
. One buffer can be shared among many widgets.
buffer
may be NULL to create a default buffer, in which case
this function is equivalent to gtk_text_view_new() . The
text view adds its own reference count to the buffer; it does not
take over an existing reference.
Parameters
buffer
a GtkTextBuffer
Returns
a new GtkTextView .
gtk_text_view_set_buffer ()
gtk_text_view_set_buffer
void
gtk_text_view_set_buffer (GtkTextView *text_view ,
GtkTextBuffer *buffer );
Sets buffer
as the buffer being displayed by text_view
. The previous
buffer displayed by the text view is unreferenced, and a reference is
added to buffer
. If you owned a reference to buffer
before passing it
to this function, you must remove that reference yourself; GtkTextView
will not “adopt” it.
Parameters
text_view
a GtkTextView
buffer
a GtkTextBuffer .
[allow-none ]
gtk_text_view_get_buffer ()
gtk_text_view_get_buffer
GtkTextBuffer *
gtk_text_view_get_buffer (GtkTextView *text_view );
Returns the GtkTextBuffer being displayed by this text view.
The reference count on the buffer is not incremented; the caller
of this function won’t own a new reference.
Parameters
text_view
a GtkTextView
Returns
a GtkTextBuffer .
[transfer none ]
gtk_text_view_scroll_to_mark ()
gtk_text_view_scroll_to_mark
void
gtk_text_view_scroll_to_mark (GtkTextView *text_view ,
GtkTextMark *mark ,
gdouble within_margin ,
gboolean use_align ,
gdouble xalign ,
gdouble yalign );
Scrolls text_view
so that mark
is on the screen in the position
indicated by xalign
and yalign
. An alignment of 0.0 indicates
left or top, 1.0 indicates right or bottom, 0.5 means center.
If use_align
is FALSE , the text scrolls the minimal distance to
get the mark onscreen, possibly not scrolling at all. The effective
screen for purposes of this function is reduced by a margin of size
within_margin
.
Parameters
text_view
a GtkTextView
mark
a GtkTextMark
within_margin
margin as a [0.0,0.5) fraction of screen size
use_align
whether to use alignment arguments (if FALSE , just
get the mark onscreen)
xalign
horizontal alignment of mark within visible area
yalign
vertical alignment of mark within visible area
gtk_text_view_scroll_to_iter ()
gtk_text_view_scroll_to_iter
gboolean
gtk_text_view_scroll_to_iter (GtkTextView *text_view ,
GtkTextIter *iter ,
gdouble within_margin ,
gboolean use_align ,
gdouble xalign ,
gdouble yalign );
Scrolls text_view
so that iter
is on the screen in the position
indicated by xalign
and yalign
. An alignment of 0.0 indicates
left or top, 1.0 indicates right or bottom, 0.5 means center.
If use_align
is FALSE , the text scrolls the minimal distance to
get the mark onscreen, possibly not scrolling at all. The effective
screen for purposes of this function is reduced by a margin of size
within_margin
.
Note that this function uses the currently-computed height of the
lines in the text buffer. Line heights are computed in an idle
handler; so this function may not have the desired effect if it’s
called before the height computations. To avoid oddness, consider
using gtk_text_view_scroll_to_mark() which saves a point to be
scrolled to after line validation.
Parameters
text_view
a GtkTextView
iter
a GtkTextIter
within_margin
margin as a [0.0,0.5) fraction of screen size
use_align
whether to use alignment arguments (if FALSE ,
just get the mark onscreen)
xalign
horizontal alignment of mark within visible area
yalign
vertical alignment of mark within visible area
Returns
TRUE if scrolling occurred
gtk_text_view_scroll_mark_onscreen ()
gtk_text_view_scroll_mark_onscreen
void
gtk_text_view_scroll_mark_onscreen (GtkTextView *text_view ,
GtkTextMark *mark );
Scrolls text_view
the minimum distance such that mark
is contained
within the visible area of the widget.
Parameters
text_view
a GtkTextView
mark
a mark in the buffer for text_view
gtk_text_view_move_mark_onscreen ()
gtk_text_view_move_mark_onscreen
gboolean
gtk_text_view_move_mark_onscreen (GtkTextView *text_view ,
GtkTextMark *mark );
Moves a mark within the buffer so that it's
located within the currently-visible text area.
Parameters
text_view
a GtkTextView
mark
a GtkTextMark
Returns
TRUE if the mark moved (wasn’t already onscreen)
gtk_text_view_place_cursor_onscreen ()
gtk_text_view_place_cursor_onscreen
gboolean
gtk_text_view_place_cursor_onscreen (GtkTextView *text_view );
Moves the cursor to the currently visible region of the
buffer, if it isn’t there already.
Parameters
text_view
a GtkTextView
Returns
TRUE if the cursor had to be moved.
gtk_text_view_get_visible_rect ()
gtk_text_view_get_visible_rect
void
gtk_text_view_get_visible_rect (GtkTextView *text_view ,
GdkRectangle *visible_rect );
Fills visible_rect
with the currently-visible
region of the buffer, in buffer coordinates. Convert to window coordinates
with gtk_text_view_buffer_to_window_coords() .
Parameters
text_view
a GtkTextView
visible_rect
rectangle to fill.
[out ]
gtk_text_view_get_iter_location ()
gtk_text_view_get_iter_location
void
gtk_text_view_get_iter_location (GtkTextView *text_view ,
const GtkTextIter *iter ,
GdkRectangle *location );
Gets a rectangle which roughly contains the character at iter
.
The rectangle position is in buffer coordinates; use
gtk_text_view_buffer_to_window_coords() to convert these
coordinates to coordinates for one of the windows in the text view.
Parameters
text_view
a GtkTextView
iter
a GtkTextIter
location
bounds of the character at iter
.
[out ]
gtk_text_view_get_cursor_locations ()
gtk_text_view_get_cursor_locations
void
gtk_text_view_get_cursor_locations (GtkTextView *text_view ,
const GtkTextIter *iter ,
GdkRectangle *strong ,
GdkRectangle *weak );
Given an iter
within a text layout, determine the positions of the
strong and weak cursors if the insertion point is at that
iterator. The position of each cursor is stored as a zero-width
rectangle. The strong cursor location is the location where
characters of the directionality equal to the base direction of the
paragraph are inserted. The weak cursor location is the location
where characters of the directionality opposite to the base
direction of the paragraph are inserted.
If iter
is NULL , the actual cursor position is used.
Note that if iter
happens to be the actual cursor position, and
there is currently an IM preedit sequence being entered, the
returned locations will be adjusted to account for the preedit
cursor’s offset within the preedit sequence.
The rectangle position is in buffer coordinates; use
gtk_text_view_buffer_to_window_coords() to convert these
coordinates to coordinates for one of the windows in the text view.
Parameters
text_view
a GtkTextView
iter
a GtkTextIter .
[allow-none ]
strong
location to store the strong
cursor position (may be NULL ).
[out ][allow-none ]
weak
location to store the weak
cursor position (may be NULL ).
[out ][allow-none ]
gtk_text_view_get_line_at_y ()
gtk_text_view_get_line_at_y
void
gtk_text_view_get_line_at_y (GtkTextView *text_view ,
GtkTextIter *target_iter ,
gint y ,
gint *line_top );
Gets the GtkTextIter at the start of the line containing
the coordinate y
. y
is in buffer coordinates, convert from
window coordinates with gtk_text_view_window_to_buffer_coords() .
If non-NULL , line_top
will be filled with the coordinate of the top
edge of the line.
Parameters
text_view
a GtkTextView
target_iter
a GtkTextIter .
[out ]
y
a y coordinate
line_top
return location for top coordinate of the line.
[out ]
gtk_text_view_get_line_yrange ()
gtk_text_view_get_line_yrange
void
gtk_text_view_get_line_yrange (GtkTextView *text_view ,
const GtkTextIter *iter ,
gint *y ,
gint *height );
Gets the y coordinate of the top of the line containing iter
,
and the height of the line. The coordinate is a buffer coordinate;
convert to window coordinates with gtk_text_view_buffer_to_window_coords() .
Parameters
text_view
a GtkTextView
iter
a GtkTextIter
y
return location for a y coordinate.
[out ]
height
return location for a height.
[out ]
gtk_text_view_get_iter_at_location ()
gtk_text_view_get_iter_at_location
gboolean
gtk_text_view_get_iter_at_location (GtkTextView *text_view ,
GtkTextIter *iter ,
gint x ,
gint y );
Retrieves the iterator at buffer coordinates x
and y
. Buffer
coordinates are coordinates for the entire buffer, not just the
currently-displayed portion. If you have coordinates from an
event, you have to convert those to buffer coordinates with
gtk_text_view_window_to_buffer_coords() .
Parameters
text_view
a GtkTextView
iter
a GtkTextIter .
[out ]
x
x position, in buffer coordinates
y
y position, in buffer coordinates
Returns
TRUE if the position is over text
gtk_text_view_get_iter_at_position ()
gtk_text_view_get_iter_at_position
gboolean
gtk_text_view_get_iter_at_position (GtkTextView *text_view ,
GtkTextIter *iter ,
gint *trailing ,
gint x ,
gint y );
Retrieves the iterator pointing to the character at buffer
coordinates x
and y
. Buffer coordinates are coordinates for
the entire buffer, not just the currently-displayed portion.
If you have coordinates from an event, you have to convert
those to buffer coordinates with
gtk_text_view_window_to_buffer_coords() .
Note that this is different from gtk_text_view_get_iter_at_location() ,
which returns cursor locations, i.e. positions between
characters.
Parameters
text_view
a GtkTextView
iter
a GtkTextIter .
[out ]
trailing
if non-NULL , location to store an integer indicating where
in the grapheme the user clicked. It will either be
zero, or the number of characters in the grapheme.
0 represents the trailing edge of the grapheme.
[out ][allow-none ]
x
x position, in buffer coordinates
y
y position, in buffer coordinates
Returns
TRUE if the position is over text
gtk_text_view_buffer_to_window_coords ()
gtk_text_view_buffer_to_window_coords
void
gtk_text_view_buffer_to_window_coords (GtkTextView *text_view ,
GtkTextWindowType win ,
gint buffer_x ,
gint buffer_y ,
gint *window_x ,
gint *window_y );
Converts coordinate (buffer_x
, buffer_y
) to coordinates for the window
win
, and stores the result in (window_x
, window_y
).
Note that you can’t convert coordinates for a nonexisting window (see
gtk_text_view_set_border_window_size() ).
Parameters
text_view
a GtkTextView
win
a GtkTextWindowType
buffer_x
buffer x coordinate
buffer_y
buffer y coordinate
window_x
window x coordinate return location or NULL .
[out ][allow-none ]
window_y
window y coordinate return location or NULL .
[out ][allow-none ]
gtk_text_view_window_to_buffer_coords ()
gtk_text_view_window_to_buffer_coords
void
gtk_text_view_window_to_buffer_coords (GtkTextView *text_view ,
GtkTextWindowType win ,
gint window_x ,
gint window_y ,
gint *buffer_x ,
gint *buffer_y );
Converts coordinates on the window identified by win
to buffer
coordinates, storing the result in (buffer_x
,buffer_y
).
Note that you can’t convert coordinates for a nonexisting window (see
gtk_text_view_set_border_window_size() ).
Parameters
text_view
a GtkTextView
win
a GtkTextWindowType
window_x
window x coordinate
window_y
window y coordinate
buffer_x
buffer x coordinate return location or NULL .
[out ][allow-none ]
buffer_y
buffer y coordinate return location or NULL .
[out ][allow-none ]
gtk_text_view_forward_display_line ()
gtk_text_view_forward_display_line
gboolean
gtk_text_view_forward_display_line (GtkTextView *text_view ,
GtkTextIter *iter );
Moves the given iter
forward by one display (wrapped) line.
A display line is different from a paragraph. Paragraphs are
separated by newlines or other paragraph separator characters.
Display lines are created by line-wrapping a paragraph. If
wrapping is turned off, display lines and paragraphs will be the
same. Display lines are divided differently for each view, since
they depend on the view’s width; paragraphs are the same in all
views, since they depend on the contents of the GtkTextBuffer .
Parameters
text_view
a GtkTextView
iter
a GtkTextIter
Returns
TRUE if iter
was moved and is not on the end iterator
gtk_text_view_backward_display_line ()
gtk_text_view_backward_display_line
gboolean
gtk_text_view_backward_display_line (GtkTextView *text_view ,
GtkTextIter *iter );
Moves the given iter
backward by one display (wrapped) line.
A display line is different from a paragraph. Paragraphs are
separated by newlines or other paragraph separator characters.
Display lines are created by line-wrapping a paragraph. If
wrapping is turned off, display lines and paragraphs will be the
same. Display lines are divided differently for each view, since
they depend on the view’s width; paragraphs are the same in all
views, since they depend on the contents of the GtkTextBuffer .
Parameters
text_view
a GtkTextView
iter
a GtkTextIter
Returns
TRUE if iter
was moved and is not on the end iterator
gtk_text_view_forward_display_line_end ()
gtk_text_view_forward_display_line_end
gboolean
gtk_text_view_forward_display_line_end
(GtkTextView *text_view ,
GtkTextIter *iter );
Moves the given iter
forward to the next display line end.
A display line is different from a paragraph. Paragraphs are
separated by newlines or other paragraph separator characters.
Display lines are created by line-wrapping a paragraph. If
wrapping is turned off, display lines and paragraphs will be the
same. Display lines are divided differently for each view, since
they depend on the view’s width; paragraphs are the same in all
views, since they depend on the contents of the GtkTextBuffer .
Parameters
text_view
a GtkTextView
iter
a GtkTextIter
Returns
TRUE if iter
was moved and is not on the end iterator
gtk_text_view_backward_display_line_start ()
gtk_text_view_backward_display_line_start
gboolean
gtk_text_view_backward_display_line_start
(GtkTextView *text_view ,
GtkTextIter *iter );
Moves the given iter
backward to the next display line start.
A display line is different from a paragraph. Paragraphs are
separated by newlines or other paragraph separator characters.
Display lines are created by line-wrapping a paragraph. If
wrapping is turned off, display lines and paragraphs will be the
same. Display lines are divided differently for each view, since
they depend on the view’s width; paragraphs are the same in all
views, since they depend on the contents of the GtkTextBuffer .
Parameters
text_view
a GtkTextView
iter
a GtkTextIter
Returns
TRUE if iter
was moved and is not on the end iterator
gtk_text_view_starts_display_line ()
gtk_text_view_starts_display_line
gboolean
gtk_text_view_starts_display_line (GtkTextView *text_view ,
const GtkTextIter *iter );
Determines whether iter
is at the start of a display line.
See gtk_text_view_forward_display_line() for an explanation of
display lines vs. paragraphs.
Parameters
text_view
a GtkTextView
iter
a GtkTextIter
Returns
TRUE if iter
begins a wrapped line
gtk_text_view_move_visually ()
gtk_text_view_move_visually
gboolean
gtk_text_view_move_visually (GtkTextView *text_view ,
GtkTextIter *iter ,
gint count );
Move the iterator a given number of characters visually, treating
it as the strong cursor position. If count
is positive, then the
new strong cursor position will be count
positions to the right of
the old cursor position. If count
is negative then the new strong
cursor position will be count
positions to the left of the old
cursor position.
In the presence of bi-directional text, the correspondence
between logical and visual order will depend on the direction
of the current run, and there may be jumps when the cursor
is moved off of the end of a run.
Parameters
text_view
a GtkTextView
iter
a GtkTextIter
count
number of characters to move (negative moves left,
positive moves right)
Returns
TRUE if iter
moved and is not on the end iterator
gtk_text_view_add_child_at_anchor ()
gtk_text_view_add_child_at_anchor
void
gtk_text_view_add_child_at_anchor (GtkTextView *text_view ,
GtkWidget *child ,
GtkTextChildAnchor *anchor );
Adds a child widget in the text buffer, at the given anchor
.
Parameters
text_view
a GtkTextView
child
a GtkWidget
anchor
a GtkTextChildAnchor in the GtkTextBuffer for text_view
gtk_text_child_anchor_new ()
gtk_text_child_anchor_new
GtkTextChildAnchor *
gtk_text_child_anchor_new (void );
Creates a new GtkTextChildAnchor . Usually you would then insert
it into a GtkTextBuffer with gtk_text_buffer_insert_child_anchor() .
To perform the creation and insertion in one step, use the
convenience function gtk_text_buffer_create_child_anchor() .
Returns
a new GtkTextChildAnchor
gtk_text_child_anchor_get_widgets ()
gtk_text_child_anchor_get_widgets
GList *
gtk_text_child_anchor_get_widgets (GtkTextChildAnchor *anchor );
Gets a list of all widgets anchored at this child anchor.
The returned list should be freed with g_list_free() .
Parameters
anchor
a GtkTextChildAnchor
Returns
list of widgets anchored at anchor
.
[element-type GtkWidget][transfer container ]
gtk_text_child_anchor_get_deleted ()
gtk_text_child_anchor_get_deleted
gboolean
gtk_text_child_anchor_get_deleted (GtkTextChildAnchor *anchor );
Determines whether a child anchor has been deleted from
the buffer. Keep in mind that the child anchor will be
unreferenced when removed from the buffer, so you need to
hold your own reference (with g_object_ref() ) if you plan
to use this function — otherwise all deleted child anchors
will also be finalized.
Parameters
anchor
a GtkTextChildAnchor
Returns
TRUE if the child anchor has been deleted from its buffer
gtk_text_view_get_gutter ()
gtk_text_view_get_gutter
GtkWidget *
gtk_text_view_get_gutter (GtkTextView *text_view ,
GtkTextWindowType win );
Gets a GtkWidget that has previously been set with
gtk_text_view_set_gutter() .
win
must be one of GTK_TEXT_WINDOW_LEFT , GTK_TEXT_WINDOW_RIGHT ,
GTK_TEXT_WINDOW_TOP , or GTK_TEXT_WINDOW_BOTTOM .
Parameters
text_view
a GtkTextView
win
a GtkWindowType
Returns
a GtkWidget or NULL .
[transfer none ][nullable ]
gtk_text_view_set_gutter ()
gtk_text_view_set_gutter
void
gtk_text_view_set_gutter (GtkTextView *text_view ,
GtkTextWindowType win ,
GtkWidget *widget );
Places widget
into the gutter specified by win
.
win
must be one of GTK_TEXT_WINDOW_LEFT , GTK_TEXT_WINDOW_RIGHT ,
GTK_TEXT_WINDOW_TOP , or GTK_TEXT_WINDOW_BOTTOM .
Parameters
text_view
a GtkTextView
win
a GtkTextWindowType
widget
a GtkWidget or NULL .
[nullable ]
gtk_text_view_add_overlay ()
gtk_text_view_add_overlay
void
gtk_text_view_add_overlay (GtkTextView *text_view ,
GtkWidget *child ,
gint xpos ,
gint ypos );
Adds child
at a fixed coordinate in the GtkTextView 's text window. The
xpos
and ypos
must be in buffer coordinates (see
gtk_text_view_get_iter_location() to conver to buffer coordinates).
child
will scroll with the text view.
If instead you want a widget that will not move with the GtkTextView
contents see GtkOverlay .
Parameters
text_view
a GtkTextView
child
a GtkWidget
xpos
X position of child in window coordinates
ypos
Y position of child in window coordinates
gtk_text_view_move_overlay ()
gtk_text_view_move_overlay
void
gtk_text_view_move_overlay (GtkTextView *text_view ,
GtkWidget *child ,
gint xpos ,
gint ypos );
Updates the position of a child, as for gtk_text_view_add_overlay() .
Parameters
text_view
a GtkTextView
child
a widget already added with gtk_text_view_add_overlay()
xpos
new X position in buffer coordinates
ypos
new Y position in buffer coordinates
gtk_text_view_set_wrap_mode ()
gtk_text_view_set_wrap_mode
void
gtk_text_view_set_wrap_mode (GtkTextView *text_view ,
GtkWrapMode wrap_mode );
Sets the line wrapping for the view.
Parameters
text_view
a GtkTextView
wrap_mode
a GtkWrapMode
gtk_text_view_get_wrap_mode ()
gtk_text_view_get_wrap_mode
GtkWrapMode
gtk_text_view_get_wrap_mode (GtkTextView *text_view );
Gets the line wrapping for the view.
Parameters
text_view
a GtkTextView
Returns
the line wrap setting
gtk_text_view_set_editable ()
gtk_text_view_set_editable
void
gtk_text_view_set_editable (GtkTextView *text_view ,
gboolean setting );
Sets the default editability of the GtkTextView . You can override
this default setting with tags in the buffer, using the “editable”
attribute of tags.
Parameters
text_view
a GtkTextView
setting
whether it’s editable
gtk_text_view_get_editable ()
gtk_text_view_get_editable
gboolean
gtk_text_view_get_editable (GtkTextView *text_view );
Returns the default editability of the GtkTextView . Tags in the
buffer may override this setting for some ranges of text.
Parameters
text_view
a GtkTextView
Returns
whether text is editable by default
gtk_text_view_set_cursor_visible ()
gtk_text_view_set_cursor_visible
void
gtk_text_view_set_cursor_visible (GtkTextView *text_view ,
gboolean setting );
Toggles whether the insertion point should be displayed. A buffer with
no editable text probably shouldn’t have a visible cursor, so you may
want to turn the cursor off.
Note that this property may be overridden by the
“gtk-keynave-use-caret” settings.
Parameters
text_view
a GtkTextView
setting
whether to show the insertion cursor
gtk_text_view_get_cursor_visible ()
gtk_text_view_get_cursor_visible
gboolean
gtk_text_view_get_cursor_visible (GtkTextView *text_view );
Find out whether the cursor should be displayed.
Parameters
text_view
a GtkTextView
Returns
whether the insertion mark is visible
gtk_text_view_reset_cursor_blink ()
gtk_text_view_reset_cursor_blink
void
gtk_text_view_reset_cursor_blink (GtkTextView *text_view );
Ensures that the cursor is shown (i.e. not in an 'off' blink
interval) and resets the time that it will stay blinking (or
visible, in case blinking is disabled).
This function should be called in response to user input
(e.g. from derived classes that override the textview's
event handlers).
Parameters
text_view
a GtkTextView
gtk_text_view_set_overwrite ()
gtk_text_view_set_overwrite
void
gtk_text_view_set_overwrite (GtkTextView *text_view ,
gboolean overwrite );
Changes the GtkTextView overwrite mode.
Parameters
text_view
a GtkTextView
overwrite
TRUE to turn on overwrite mode, FALSE to turn it off
gtk_text_view_get_overwrite ()
gtk_text_view_get_overwrite
gboolean
gtk_text_view_get_overwrite (GtkTextView *text_view );
Returns whether the GtkTextView is in overwrite mode or not.
Parameters
text_view
a GtkTextView
Returns
whether text_view
is in overwrite mode or not.
gtk_text_view_set_pixels_above_lines ()
gtk_text_view_set_pixels_above_lines
void
gtk_text_view_set_pixels_above_lines (GtkTextView *text_view ,
gint pixels_above_lines );
Sets the default number of blank pixels above paragraphs in text_view
.
Tags in the buffer for text_view
may override the defaults.
Parameters
text_view
a GtkTextView
pixels_above_lines
pixels above paragraphs
gtk_text_view_get_pixels_above_lines ()
gtk_text_view_get_pixels_above_lines
gint
gtk_text_view_get_pixels_above_lines (GtkTextView *text_view );
Gets the default number of pixels to put above paragraphs.
Adding this function with gtk_text_view_get_pixels_below_lines()
is equal to the line space between each paragraph.
Parameters
text_view
a GtkTextView
Returns
default number of pixels above paragraphs
gtk_text_view_set_pixels_below_lines ()
gtk_text_view_set_pixels_below_lines
void
gtk_text_view_set_pixels_below_lines (GtkTextView *text_view ,
gint pixels_below_lines );
Sets the default number of pixels of blank space
to put below paragraphs in text_view
. May be overridden
by tags applied to text_view
’s buffer.
Parameters
text_view
a GtkTextView
pixels_below_lines
pixels below paragraphs
gtk_text_view_get_pixels_below_lines ()
gtk_text_view_get_pixels_below_lines
gint
gtk_text_view_get_pixels_below_lines (GtkTextView *text_view );
Gets the value set by gtk_text_view_set_pixels_below_lines() .
The line space is the sum of the value returned by this function and the
value returned by gtk_text_view_get_pixels_above_lines() .
Parameters
text_view
a GtkTextView
Returns
default number of blank pixels below paragraphs
gtk_text_view_set_pixels_inside_wrap ()
gtk_text_view_set_pixels_inside_wrap
void
gtk_text_view_set_pixels_inside_wrap (GtkTextView *text_view ,
gint pixels_inside_wrap );
Sets the default number of pixels of blank space to leave between
display/wrapped lines within a paragraph. May be overridden by
tags in text_view
’s buffer.
Parameters
text_view
a GtkTextView
pixels_inside_wrap
default number of pixels between wrapped lines
gtk_text_view_get_pixels_inside_wrap ()
gtk_text_view_get_pixels_inside_wrap
gint
gtk_text_view_get_pixels_inside_wrap (GtkTextView *text_view );
Gets the value set by gtk_text_view_set_pixels_inside_wrap() .
Parameters
text_view
a GtkTextView
Returns
default number of pixels of blank space between wrapped lines
gtk_text_view_set_justification ()
gtk_text_view_set_justification
void
gtk_text_view_set_justification (GtkTextView *text_view ,
GtkJustification justification );
Sets the default justification of text in text_view
.
Tags in the view’s buffer may override the default.
Parameters
text_view
a GtkTextView
justification
justification
gtk_text_view_get_justification ()
gtk_text_view_get_justification
GtkJustification
gtk_text_view_get_justification (GtkTextView *text_view );
Gets the default justification of paragraphs in text_view
.
Tags in the buffer may override the default.
Parameters
text_view
a GtkTextView
Returns
default justification
gtk_text_view_set_left_margin ()
gtk_text_view_set_left_margin
void
gtk_text_view_set_left_margin (GtkTextView *text_view ,
gint left_margin );
Sets the default left margin for text in text_view
.
Tags in the buffer may override the default.
Note that this function is confusingly named.
In CSS terms, the value set here is padding.
Parameters
text_view
a GtkTextView
left_margin
left margin in pixels
gtk_text_view_get_left_margin ()
gtk_text_view_get_left_margin
gint
gtk_text_view_get_left_margin (GtkTextView *text_view );
Gets the default left margin size of paragraphs in the text_view
.
Tags in the buffer may override the default.
Parameters
text_view
a GtkTextView
Returns
left margin in pixels
gtk_text_view_set_right_margin ()
gtk_text_view_set_right_margin
void
gtk_text_view_set_right_margin (GtkTextView *text_view ,
gint right_margin );
Sets the default right margin for text in the text view.
Tags in the buffer may override the default.
Note that this function is confusingly named.
In CSS terms, the value set here is padding.
Parameters
text_view
a GtkTextView
right_margin
right margin in pixels
gtk_text_view_get_right_margin ()
gtk_text_view_get_right_margin
gint
gtk_text_view_get_right_margin (GtkTextView *text_view );
Gets the default right margin for text in text_view
. Tags
in the buffer may override the default.
Parameters
text_view
a GtkTextView
Returns
right margin in pixels
gtk_text_view_set_top_margin ()
gtk_text_view_set_top_margin
void
gtk_text_view_set_top_margin (GtkTextView *text_view ,
gint top_margin );
Sets the top margin for text in text_view
.
Note that this function is confusingly named.
In CSS terms, the value set here is padding.
Parameters
text_view
a GtkTextView
top_margin
top margin in pixels
gtk_text_view_get_top_margin ()
gtk_text_view_get_top_margin
gint
gtk_text_view_get_top_margin (GtkTextView *text_view );
Gets the top margin for text in the text_view
.
Parameters
text_view
a GtkTextView
Returns
top margin in pixels
gtk_text_view_set_bottom_margin ()
gtk_text_view_set_bottom_margin
void
gtk_text_view_set_bottom_margin (GtkTextView *text_view ,
gint bottom_margin );
Sets the bottom margin for text in text_view
.
Note that this function is confusingly named.
In CSS terms, the value set here is padding.
Parameters
text_view
a GtkTextView
bottom_margin
bottom margin in pixels
gtk_text_view_get_bottom_margin ()
gtk_text_view_get_bottom_margin
gint
gtk_text_view_get_bottom_margin (GtkTextView *text_view );
Gets the bottom margin for text in the text_view
.
Parameters
text_view
a GtkTextView
Returns
bottom margin in pixels
gtk_text_view_set_indent ()
gtk_text_view_set_indent
void
gtk_text_view_set_indent (GtkTextView *text_view ,
gint indent );
Sets the default indentation for paragraphs in text_view
.
Tags in the buffer may override the default.
Parameters
text_view
a GtkTextView
indent
indentation in pixels
gtk_text_view_get_indent ()
gtk_text_view_get_indent
gint
gtk_text_view_get_indent (GtkTextView *text_view );
Gets the default indentation of paragraphs in text_view
.
Tags in the view’s buffer may override the default.
The indentation may be negative.
Parameters
text_view
a GtkTextView
Returns
number of pixels of indentation
gtk_text_view_set_tabs ()
gtk_text_view_set_tabs
void
gtk_text_view_set_tabs (GtkTextView *text_view ,
PangoTabArray *tabs );
Sets the default tab stops for paragraphs in text_view
.
Tags in the buffer may override the default.
Parameters
text_view
a GtkTextView
tabs
tabs as a PangoTabArray
gtk_text_view_get_tabs ()
gtk_text_view_get_tabs
PangoTabArray *
gtk_text_view_get_tabs (GtkTextView *text_view );
Gets the default tabs for text_view
. Tags in the buffer may
override the defaults. The returned array will be NULL if
“standard” (8-space) tabs are used. Free the return value
with pango_tab_array_free() .
Parameters
text_view
a GtkTextView
Returns
copy of default tab array, or NULL if
“standard" tabs are used; must be freed with pango_tab_array_free() .
[nullable ][transfer full ]
gtk_text_view_set_accepts_tab ()
gtk_text_view_set_accepts_tab
void
gtk_text_view_set_accepts_tab (GtkTextView *text_view ,
gboolean accepts_tab );
Sets the behavior of the text widget when the Tab key is pressed.
If accepts_tab
is TRUE , a tab character is inserted. If accepts_tab
is FALSE the keyboard focus is moved to the next widget in the focus
chain.
Parameters
text_view
A GtkTextView
accepts_tab
TRUE if pressing the Tab key should insert a tab
character, FALSE , if pressing the Tab key should move the
keyboard focus.
gtk_text_view_get_accepts_tab ()
gtk_text_view_get_accepts_tab
gboolean
gtk_text_view_get_accepts_tab (GtkTextView *text_view );
Returns whether pressing the Tab key inserts a tab characters.
gtk_text_view_set_accepts_tab() .
Parameters
text_view
A GtkTextView
Returns
TRUE if pressing the Tab key inserts a tab character,
FALSE if pressing the Tab key moves the keyboard focus.
gtk_text_view_im_context_filter_keypress ()
gtk_text_view_im_context_filter_keypress
gboolean
gtk_text_view_im_context_filter_keypress
(GtkTextView *text_view ,
GdkEventKey *event );
Allow the GtkTextView input method to internally handle key press
and release events. If this function returns TRUE , then no further
processing should be done for this key event. See
gtk_im_context_filter_keypress() .
Note that you are expected to call this function from your handler
when overriding key event handling. This is needed in the case when
you need to insert your own key handling between the input method
and the default key event handling of the GtkTextView .
key_press_event (widget, event);
}
]]>
Parameters
text_view
a GtkTextView
event
the key event
Returns
TRUE if the input method handled the key event.
gtk_text_view_reset_im_context ()
gtk_text_view_reset_im_context
void
gtk_text_view_reset_im_context (GtkTextView *text_view );
Reset the input method context of the text view if needed.
This can be necessary in the case where modifying the buffer
would confuse on-going input method behavior.
Parameters
text_view
a GtkTextView
gtk_text_view_set_input_purpose ()
gtk_text_view_set_input_purpose
void
gtk_text_view_set_input_purpose (GtkTextView *text_view ,
GtkInputPurpose purpose );
Sets the “input-purpose” property which
can be used by on-screen keyboards and other input
methods to adjust their behaviour.
Parameters
text_view
a GtkTextView
purpose
the purpose
gtk_text_view_get_input_purpose ()
gtk_text_view_get_input_purpose
GtkInputPurpose
gtk_text_view_get_input_purpose (GtkTextView *text_view );
Gets the value of the “input-purpose” property.
Parameters
text_view
a GtkTextView
gtk_text_view_set_input_hints ()
gtk_text_view_set_input_hints
void
gtk_text_view_set_input_hints (GtkTextView *text_view ,
GtkInputHints hints );
Sets the “input-hints” property, which
allows input methods to fine-tune their behaviour.
Parameters
text_view
a GtkTextView
hints
the hints
gtk_text_view_get_input_hints ()
gtk_text_view_get_input_hints
GtkInputHints
gtk_text_view_get_input_hints (GtkTextView *text_view );
Gets the value of the “input-hints” property.
Parameters
text_view
a GtkTextView
gtk_text_view_set_monospace ()
gtk_text_view_set_monospace
void
gtk_text_view_set_monospace (GtkTextView *text_view ,
gboolean monospace );
Sets the “monospace” property, which
indicates that the text view should use monospace
fonts.
Parameters
text_view
a GtkTextView
monospace
TRUE to request monospace styling
gtk_text_view_get_monospace ()
gtk_text_view_get_monospace
gboolean
gtk_text_view_get_monospace (GtkTextView *text_view );
Gets the value of the “monospace” property.
Return: TRUE if monospace fonts are desired
Parameters
text_view
a GtkTextView
Property Details
The “accepts-tab” property
GtkTextView:accepts-tab
“accepts-tab” gboolean
Whether Tab will result in a tab character being entered. Owner: GtkTextView
Flags: Read / Write
Default value: TRUE
The “bottom-margin” property
GtkTextView:bottom-margin
“bottom-margin” gint
The bottom margin for text in the text view.
Note that this property is confusingly named. In CSS terms,
the value set here is padding, and it is applied in addition
to the padding from the theme.
Don't confuse this property with “margin-bottom” .
Owner: GtkTextView
Flags: Read / Write
Allowed values: >= 0
Default value: 0
The “buffer” property
GtkTextView:buffer
“buffer” GtkTextBuffer *
The buffer which is displayed. Owner: GtkTextView
Flags: Read / Write
The “cursor-visible” property
GtkTextView:cursor-visible
“cursor-visible” gboolean
If the insertion cursor is shown. Owner: GtkTextView
Flags: Read / Write
Default value: TRUE
The “editable” property
GtkTextView:editable
“editable” gboolean
Whether the text can be modified by the user. Owner: GtkTextView
Flags: Read / Write
Default value: TRUE
The “im-module” property
GtkTextView:im-module
“im-module” gchar *
Which IM (input method) module should be used for this text_view.
See GtkIMContext .
Setting this to a non-NULL value overrides the
system-wide IM module setting. See the GtkSettings
“gtk-im-module” property.
Owner: GtkTextView
Flags: Read / Write
Default value: NULL
The “indent” property
GtkTextView:indent
“indent” gint
Amount to indent the paragraph, in pixels. Owner: GtkTextView
Flags: Read / Write
Default value: 0
The “input-hints” property
GtkTextView:input-hints
“input-hints” GtkInputHints
Additional hints (beyond “input-purpose” ) that
allow input methods to fine-tune their behaviour.
Owner: GtkTextView
Flags: Read / Write
The “input-purpose” property
GtkTextView:input-purpose
“input-purpose” GtkInputPurpose
The purpose of this text field.
This property can be used by on-screen keyboards and other input
methods to adjust their behaviour.
Owner: GtkTextView
Flags: Read / Write
Default value: GTK_INPUT_PURPOSE_FREE_FORM
The “justification” property
GtkTextView:justification
“justification” GtkJustification
Left, right, or center justification. Owner: GtkTextView
Flags: Read / Write
Default value: GTK_JUSTIFY_LEFT
The “left-margin” property
GtkTextView:left-margin
“left-margin” gint
The default left margin for text in the text view.
Tags in the buffer may override the default.
Note that this property is confusingly named. In CSS terms,
the value set here is padding, and it is applied in addition
to the padding from the theme.
Don't confuse this property with “margin-left” .
Owner: GtkTextView
Flags: Read / Write
Allowed values: >= 0
Default value: 0
The “monospace” property
GtkTextView:monospace
“monospace” gboolean
If TRUE , set the GTK_STYLE_CLASS_MONOSPACE style class on the
text view to indicate that a monospace font is desired.
Owner: GtkTextView
Flags: Read / Write
Default value: FALSE
The “overwrite” property
GtkTextView:overwrite
“overwrite” gboolean
Whether entered text overwrites existing contents. Owner: GtkTextView
Flags: Read / Write
Default value: FALSE
The “pixels-above-lines” property
GtkTextView:pixels-above-lines
“pixels-above-lines” gint
Pixels of blank space above paragraphs. Owner: GtkTextView
Flags: Read / Write
Allowed values: >= 0
Default value: 0
The “pixels-below-lines” property
GtkTextView:pixels-below-lines
“pixels-below-lines” gint
Pixels of blank space below paragraphs. Owner: GtkTextView
Flags: Read / Write
Allowed values: >= 0
Default value: 0
The “pixels-inside-wrap” property
GtkTextView:pixels-inside-wrap
“pixels-inside-wrap” gint
Pixels of blank space between wrapped lines in a paragraph. Owner: GtkTextView
Flags: Read / Write
Allowed values: >= 0
Default value: 0
The “right-margin” property
GtkTextView:right-margin
“right-margin” gint
The default right margin for text in the text view.
Tags in the buffer may override the default.
Note that this property is confusingly named. In CSS terms,
the value set here is padding, and it is applied in addition
to the padding from the theme.
Don't confuse this property with “margin-right” .
Owner: GtkTextView
Flags: Read / Write
Allowed values: >= 0
Default value: 0
The “tabs” property
GtkTextView:tabs
“tabs” PangoTabArray *
Custom tabs for this text. Owner: GtkTextView
Flags: Read / Write
The “top-margin” property
GtkTextView:top-margin
“top-margin” gint
The top margin for text in the text view.
Note that this property is confusingly named. In CSS terms,
the value set here is padding, and it is applied in addition
to the padding from the theme.
Don't confuse this property with “margin-top” .
Owner: GtkTextView
Flags: Read / Write
Allowed values: >= 0
Default value: 0
The “wrap-mode” property
GtkTextView:wrap-mode
“wrap-mode” GtkWrapMode
Whether to wrap lines never, at word boundaries, or at character boundaries. Owner: GtkTextView
Flags: Read / Write
Default value: GTK_WRAP_NONE
Signal Details
The “backspace” signal
GtkTextView::backspace
void
user_function (GtkTextView *text_view,
gpointer user_data)
The ::backspace signal is a
keybinding signal
which gets emitted when the user asks for it.
The default bindings for this signal are
Backspace and Shift-Backspace.
Parameters
text_view
the object which received the signal
user_data
user data set when the signal handler was connected.
Flags: Action
The “copy-clipboard” signal
GtkTextView::copy-clipboard
void
user_function (GtkTextView *text_view,
gpointer user_data)
The ::copy-clipboard signal is a
keybinding signal
which gets emitted to copy the selection to the clipboard.
The default bindings for this signal are
Ctrl-c and Ctrl-Insert.
Parameters
text_view
the object which received the signal
user_data
user data set when the signal handler was connected.
Flags: Action
The “cut-clipboard” signal
GtkTextView::cut-clipboard
void
user_function (GtkTextView *text_view,
gpointer user_data)
The ::cut-clipboard signal is a
keybinding signal
which gets emitted to cut the selection to the clipboard.
The default bindings for this signal are
Ctrl-x and Shift-Delete.
Parameters
text_view
the object which received the signal
user_data
user data set when the signal handler was connected.
Flags: Action
The “delete-from-cursor” signal
GtkTextView::delete-from-cursor
void
user_function (GtkTextView *text_view,
GtkDeleteType type,
gint count,
gpointer user_data)
The ::delete-from-cursor signal is a
keybinding signal
which gets emitted when the user initiates a text deletion.
If the type
is GTK_DELETE_CHARS , GTK+ deletes the selection
if there is one, otherwise it deletes the requested number
of characters.
The default bindings for this signal are
Delete for deleting a character, Ctrl-Delete for
deleting a word and Ctrl-Backspace for deleting a word
backwords.
Parameters
text_view
the object which received the signal
type
the granularity of the deletion, as a GtkDeleteType
count
the number of type
units to delete
user_data
user data set when the signal handler was connected.
Flags: Action
The “extend-selection” signal
GtkTextView::extend-selection
gboolean
user_function (GtkTextView *text_view,
GtkTextExtendSelection granularity,
GtkTextIter *location,
GtkTextIter *start,
GtkTextIter *end,
gpointer user_data)
The ::extend-selection signal is emitted when the selection needs to be
extended at location
.
Parameters
text_view
the object which received the signal
granularity
the granularity type
location
the location where to extend the selection
start
where the selection should start
end
where the selection should end
user_data
user data set when the signal handler was connected.
Returns
GDK_EVENT_STOP to stop other handlers from being invoked for the
event. GDK_EVENT_PROPAGATE to propagate the event further.
Flags: Run Last
The “insert-at-cursor” signal
GtkTextView::insert-at-cursor
void
user_function (GtkTextView *text_view,
gchar *string,
gpointer user_data)
The ::insert-at-cursor signal is a
keybinding signal
which gets emitted when the user initiates the insertion of a
fixed string at the cursor.
This signal has no default bindings.
Parameters
text_view
the object which received the signal
string
the string to insert
user_data
user data set when the signal handler was connected.
Flags: Action
The “insert-emoji” signal
GtkTextView::insert-emoji
void
user_function (GtkTextView *text_view,
gpointer user_data)
The ::insert-emoji signal is a
keybinding signal
which gets emitted to present the Emoji chooser for the text_view
.
The default bindings for this signal are Ctrl-. and Ctrl-;
Parameters
text_view
the object which received the signal
user_data
user data set when the signal handler was connected.
Flags: Action
The “move-cursor” signal
GtkTextView::move-cursor
void
user_function (GtkTextView *text_view,
GtkMovementStep step,
gint count,
gboolean extend_selection,
gpointer user_data)
The ::move-cursor signal is a
keybinding signal
which gets emitted when the user initiates a cursor movement.
If the cursor is not visible in text_view
, this signal causes
the viewport to be moved instead.
Applications should not connect to it, but may emit it with
g_signal_emit_by_name() if they need to control the cursor
programmatically.
The default bindings for this signal come in two variants,
the variant with the Shift modifier extends the selection,
the variant without the Shift modifer does not.
There are too many key combinations to list them all here.
Arrow keys move by individual characters/lines
Ctrl-arrow key combinations move by words/paragraphs
Home/End keys move to the ends of the buffer
PageUp/PageDown keys move vertically by pages
Ctrl-PageUp/PageDown keys move horizontally by pages
Parameters
text_view
the object which received the signal
step
the granularity of the move, as a GtkMovementStep
count
the number of step
units to move
extend_selection
TRUE if the move should extend the selection
user_data
user data set when the signal handler was connected.
Flags: Action
The “move-viewport” signal
GtkTextView::move-viewport
void
user_function (GtkTextView *text_view,
GtkScrollStep step,
gint count,
gpointer user_data)
The ::move-viewport signal is a
keybinding signal
which can be bound to key combinations to allow the user
to move the viewport, i.e. change what part of the text view
is visible in a containing scrolled window.
There are no default bindings for this signal.
Parameters
text_view
the object which received the signal
step
the granularity of the movement, as a GtkScrollStep
count
the number of step
units to move
user_data
user data set when the signal handler was connected.
Flags: Action
The “paste-clipboard” signal
GtkTextView::paste-clipboard
void
user_function (GtkTextView *text_view,
gpointer user_data)
The ::paste-clipboard signal is a
keybinding signal
which gets emitted to paste the contents of the clipboard
into the text view.
The default bindings for this signal are
Ctrl-v and Shift-Insert.
Parameters
text_view
the object which received the signal
user_data
user data set when the signal handler was connected.
Flags: Action
The “preedit-changed” signal
GtkTextView::preedit-changed
void
user_function (GtkTextView *text_view,
gchar *preedit,
gpointer user_data)
If an input method is used, the typed text will not immediately
be committed to the buffer. So if you are interested in the text,
connect to this signal.
This signal is only emitted if the text at the given position
is actually editable.
Parameters
text_view
the object which received the signal
preedit
the current preedit string
user_data
user data set when the signal handler was connected.
Flags: Action
The “select-all” signal
GtkTextView::select-all
void
user_function (GtkTextView *text_view,
gboolean select,
gpointer user_data)
The ::select-all signal is a
keybinding signal
which gets emitted to select or unselect the complete
contents of the text view.
The default bindings for this signal are Ctrl-a and Ctrl-/
for selecting and Shift-Ctrl-a and Ctrl-\ for unselecting.
Parameters
text_view
the object which received the signal
select
TRUE to select, FALSE to unselect
user_data
user data set when the signal handler was connected.
Flags: Action
The “set-anchor” signal
GtkTextView::set-anchor
void
user_function (GtkTextView *text_view,
gpointer user_data)
The ::set-anchor signal is a
keybinding signal
which gets emitted when the user initiates setting the "anchor"
mark. The "anchor" mark gets placed at the same position as the
"insert" mark.
This signal has no default bindings.
Parameters
text_view
the object which received the signal
user_data
user data set when the signal handler was connected.
Flags: Action
The “toggle-cursor-visible” signal
GtkTextView::toggle-cursor-visible
void
user_function (GtkTextView *text_view,
gpointer user_data)
The ::toggle-cursor-visible signal is a
keybinding signal
which gets emitted to toggle the “cursor-visible”
property.
The default binding for this signal is F7.
Parameters
text_view
the object which received the signal
user_data
user data set when the signal handler was connected.
Flags: Action
The “toggle-overwrite” signal
GtkTextView::toggle-overwrite
void
user_function (GtkTextView *text_view,
gpointer user_data)
The ::toggle-overwrite signal is a
keybinding signal
which gets emitted to toggle the overwrite mode of the text view.
The default bindings for this signal is Insert.
Parameters
text_view
the object which received the signal
user_data
user data set when the signal handler was connected.
Flags: Action
Action Details
The “text.undo” action
GtkTextView|text.undo
The “text.redo” action
GtkTextView|text.redo
The “clipboard.cut” action
GtkTextView|clipboard.cut
The “clipboard.copy” action
GtkTextView|clipboard.copy
The “clipboard.paste” action
GtkTextView|clipboard.paste
The “selection.delete” action
GtkTextView|selection.delete
The “selection.select-all” action
GtkTextView|selection.select-all
The “misc.insert-emoji” action
GtkTextView|misc.insert-emoji
See Also
GtkTextBuffer , GtkTextIter
docs/reference/gtk/xml/gtkmaplistmodel.xml 0000664 0001750 0001750 00000051316 13617646202 021120 0 ustar mclasen mclasen
]>
GtkMapListModel
3
GTK4 Library
GtkMapListModel
A list model that transforms its items
Functions
gpointer
( *GtkMapListModelMapFunc) ()
GtkMapListModel *
gtk_map_list_model_new ()
void
gtk_map_list_model_set_map_func ()
void
gtk_map_list_model_set_model ()
GListModel *
gtk_map_list_model_get_model ()
gboolean
gtk_map_list_model_has_map ()
Properties
gboolean has-mapRead
GType * item-typeRead / Write / Construct Only
GListModel * modelRead / Write / Construct Only
Types and Values
GtkMapListModel
Object Hierarchy
GObject
╰── GtkMapListModel
Implemented Interfaces
GtkMapListModel implements
GListModel.
Includes #include <gtk/gtk.h>
Description
GtkMapListModel is a list model that takes a list model and maps the items
in that model to different items according to a GtkMapListModelMapFunc .
Example: Create a list of GtkEventControllers
GtkMapListModel will attempt to discard the mapped objects as soon as
they are no longer needed and recreate them if necessary.
Functions
GtkMapListModelMapFunc ()
GtkMapListModelMapFunc
gpointer
( *GtkMapListModelMapFunc) (gpointer item ,
gpointer user_data );
User function that is called to map an item
of the original model to
an item expected by the map model.
The returned items must conform to the item type of the model they are
used with.
Parameters
item
The item to map.
[type GObject][transfer full ]
user_data
user data
Returns
The item to map to.
This function may not return NULL .
[type GObject][transfer full ]
gtk_map_list_model_new ()
gtk_map_list_model_new
GtkMapListModel *
gtk_map_list_model_new (GType item_type ,
GListModel *model ,
GtkMapListModelMapFunc map_func ,
gpointer user_data ,
GDestroyNotify user_destroy );
Creates a new GtkMapListModel for the given arguments.
Parameters
item_type
the GType to use as the model's item type
model
The model to map or NULL for none.
[allow-none ]
map_func
map function or NULL to not map items.
[allow-none ]
user_data
user data passed to map_func
.
[closure ]
user_destroy
destroy notifier for user_data
Returns
a new GtkMapListModel
gtk_map_list_model_set_map_func ()
gtk_map_list_model_set_map_func
void
gtk_map_list_model_set_map_func (GtkMapListModel *self ,
GtkMapListModelMapFunc map_func ,
gpointer user_data ,
GDestroyNotify user_destroy );
Sets the function used to map items. The function will be called whenever
an item needs to be mapped and must return the item to use for the given
input item.
Note that GtkMapListModel may call this function multiple times on the
same item, because it may delete items it doesn't need anymore.
GTK makes no effort to ensure that map_func
conforms to the item type
of self
. It assumes that the caller knows what they are doing and the map
function returns items of the appropriate type.
Parameters
self
a GtkMapListModel
map_func
map function or NULL to not map items.
[allow-none ]
user_data
user data passed to map_func
.
[closure ]
user_destroy
destroy notifier for user_data
gtk_map_list_model_set_model ()
gtk_map_list_model_set_model
void
gtk_map_list_model_set_model (GtkMapListModel *self ,
GListModel *model );
Sets the model to be mapped.
GTK makes no effort to ensure that model
conforms to the item type
expected by the map function. It assumes that the caller knows what
they are doing and have set up an appropriate map function.
Parameters
self
a GtkMapListModel
model
The model to be mapped.
[allow-none ]
gtk_map_list_model_get_model ()
gtk_map_list_model_get_model
GListModel *
gtk_map_list_model_get_model (GtkMapListModel *self );
Gets the model that is curently being mapped or NULL if none.
Parameters
self
a GtkMapListModel
Returns
The model that gets mapped.
[nullable ][transfer none ]
gtk_map_list_model_has_map ()
gtk_map_list_model_has_map
gboolean
gtk_map_list_model_has_map (GtkMapListModel *self );
Checks if a map function is currently set on self
Parameters
self
a GtkMapListModel
Returns
TRUE if a map function is set
Property Details
The “has-map” property
GtkMapListModel:has-map
“has-map” gboolean
If a map is set for this model
Owner: GtkMapListModel
Flags: Read
Default value: FALSE
The “item-type” property
GtkMapListModel:item-type
“item-type” GType *
The GType for elements of this object
Owner: GtkMapListModel
Flags: Read / Write / Construct Only
Allowed values: GObject
The “model” property
GtkMapListModel:model
“model” GListModel *
The model being mapped
Owner: GtkMapListModel
Flags: Read / Write / Construct Only
See Also
GListModel
docs/reference/gtk/xml/gtktooltip.xml 0000664 0001750 0001750 00000047621 13617646203 020125 0 ustar mclasen mclasen
]>
GtkTooltip
3
GTK4 Library
GtkTooltip
Add tips to your widgets
Functions
void
gtk_tooltip_set_markup ()
void
gtk_tooltip_set_text ()
void
gtk_tooltip_set_icon ()
void
gtk_tooltip_set_icon_from_icon_name ()
void
gtk_tooltip_set_icon_from_gicon ()
void
gtk_tooltip_set_custom ()
void
gtk_tooltip_set_tip_area ()
Types and Values
GtkTooltip
Object Hierarchy
GObject
╰── GtkTooltip
Includes #include <gtk/gtk.h>
Description
Basic tooltips can be realized simply by using gtk_widget_set_tooltip_text()
or gtk_widget_set_tooltip_markup() without any explicit tooltip object.
When you need a tooltip with a little more fancy contents, like adding an
image, or you want the tooltip to have different contents per GtkTreeView
row or cell, you will have to do a little more work:
Set the “has-tooltip” property to TRUE , this will make GTK+
monitor the widget for motion and related events which are needed to
determine when and where to show a tooltip.
Connect to the “query-tooltip” signal. This signal will be
emitted when a tooltip is supposed to be shown. One of the arguments passed
to the signal handler is a GtkTooltip object. This is the object that we
are about to display as a tooltip, and can be manipulated in your callback
using functions like gtk_tooltip_set_icon() . There are functions for setting
the tooltip’s markup, setting an image from a named icon, or even putting in
a custom widget.
Return TRUE from your query-tooltip handler. This causes the tooltip to be
show. If you return FALSE , it will not be shown.
In the probably rare case where you want to have even more control over the
tooltip that is about to be shown, you can set your own GtkWindow which
will be used as tooltip window. This works as follows:
Set “has-tooltip” and connect to “query-tooltip” as before.
Use gtk_widget_set_tooltip_window() to set a GtkWindow created by you as
tooltip window.
In the “query-tooltip” callback you can access your window using
gtk_widget_get_tooltip_window() and manipulate as you wish. The semantics of
the return value are exactly as before, return TRUE to show the window,
FALSE to not show it.
Functions
gtk_tooltip_set_markup ()
gtk_tooltip_set_markup
void
gtk_tooltip_set_markup (GtkTooltip *tooltip ,
const gchar *markup );
Sets the text of the tooltip to be markup
, which is marked up
with the Pango text markup language.
If markup
is NULL , the label will be hidden.
Parameters
tooltip
a GtkTooltip
markup
a markup string (see Pango markup format) or NULL .
[allow-none ]
gtk_tooltip_set_text ()
gtk_tooltip_set_text
void
gtk_tooltip_set_text (GtkTooltip *tooltip ,
const gchar *text );
Sets the text of the tooltip to be text
. If text
is NULL , the label
will be hidden. See also gtk_tooltip_set_markup() .
Parameters
tooltip
a GtkTooltip
text
a text string or NULL .
[allow-none ]
gtk_tooltip_set_icon ()
gtk_tooltip_set_icon
void
gtk_tooltip_set_icon (GtkTooltip *tooltip ,
GdkPaintable *paintable );
Sets the icon of the tooltip (which is in front of the text) to be
paintable
. If paintable
is NULL , the image will be hidden.
Parameters
tooltip
a GtkTooltip
paintable
a GdkPaintable , or NULL .
[allow-none ]
gtk_tooltip_set_icon_from_icon_name ()
gtk_tooltip_set_icon_from_icon_name
void
gtk_tooltip_set_icon_from_icon_name (GtkTooltip *tooltip ,
const gchar *icon_name );
Sets the icon of the tooltip (which is in front of the text) to be
the icon indicated by icon_name
with the size indicated
by size
. If icon_name
is NULL , the image will be hidden.
Parameters
tooltip
a GtkTooltip
icon_name
an icon name, or NULL .
[allow-none ]
gtk_tooltip_set_icon_from_gicon ()
gtk_tooltip_set_icon_from_gicon
void
gtk_tooltip_set_icon_from_gicon (GtkTooltip *tooltip ,
GIcon *gicon );
Sets the icon of the tooltip (which is in front of the text)
to be the icon indicated by gicon
with the size indicated
by size
. If gicon
is NULL , the image will be hidden.
Parameters
tooltip
a GtkTooltip
gicon
a GIcon representing the icon, or NULL .
[allow-none ]
gtk_tooltip_set_custom ()
gtk_tooltip_set_custom
void
gtk_tooltip_set_custom (GtkTooltip *tooltip ,
GtkWidget *custom_widget );
Replaces the widget packed into the tooltip with
custom_widget
. custom_widget
does not get destroyed when the tooltip goes
away.
By default a box with a GtkImage and GtkLabel is embedded in
the tooltip, which can be configured using gtk_tooltip_set_markup()
and gtk_tooltip_set_icon() .
Parameters
tooltip
a GtkTooltip
custom_widget
a GtkWidget , or NULL to unset the old custom widget.
[allow-none ]
gtk_tooltip_set_tip_area ()
gtk_tooltip_set_tip_area
void
gtk_tooltip_set_tip_area (GtkTooltip *tooltip ,
const GdkRectangle *rect );
Sets the area of the widget, where the contents of this tooltip apply,
to be rect
(in widget coordinates). This is especially useful for
properly setting tooltips on GtkTreeView rows and cells, GtkIconViews ,
etc.
For setting tooltips on GtkTreeView , please refer to the convenience
functions for this: gtk_tree_view_set_tooltip_row() and
gtk_tree_view_set_tooltip_cell() .
Parameters
tooltip
a GtkTooltip
rect
a GdkRectangle
docs/reference/gtk/xml/gtkmenubutton.xml 0000664 0001750 0001750 00000145244 13617646202 020632 0 ustar mclasen mclasen
]>
docs/reference/gtk/xml/gtktogglebutton.xml 0000664 0001750 0001750 00000047542 13617646203 021152 0 ustar mclasen mclasen
]>
GtkToggleButton
3
GTK4 Library
GtkToggleButton
Create buttons which retain their state
Functions
GtkWidget *
gtk_toggle_button_new ()
GtkWidget *
gtk_toggle_button_new_with_label ()
GtkWidget *
gtk_toggle_button_new_with_mnemonic ()
void
gtk_toggle_button_toggled ()
gboolean
gtk_toggle_button_get_active ()
void
gtk_toggle_button_set_active ()
Properties
gboolean activeRead / Write
Signals
void toggled Run First
Types and Values
struct GtkToggleButton
Object Hierarchy
GObject
╰── GInitiallyUnowned
╰── GtkWidget
╰── GtkContainer
╰── GtkBin
╰── GtkButton
╰── GtkToggleButton
╰── GtkCheckButton
Implemented Interfaces
GtkToggleButton implements
AtkImplementorIface, GtkBuildable, GtkConstraintTarget and GtkActionable.
Includes #include <gtk/gtk.h>
Description
A GtkToggleButton is a GtkButton which will remain “pressed-in” when
clicked. Clicking again will cause the toggle button to return to its
normal state.
A toggle button is created by calling either gtk_toggle_button_new() or
gtk_toggle_button_new_with_label() . If using the former, it is advisable to
pack a widget, (such as a GtkLabel and/or a GtkImage ), into the toggle
button’s container. (See GtkButton for more information).
The state of a GtkToggleButton can be set specifically using
gtk_toggle_button_set_active() , and retrieved using
gtk_toggle_button_get_active() .
To simply switch the state of a toggle button, use gtk_toggle_button_toggled() .
CSS nodes GtkToggleButton has a single CSS node with name button. To differentiate
it from a plain GtkButton , it gets the .toggle style class.
Creating two GtkToggleButton widgets.
Functions
gtk_toggle_button_new ()
gtk_toggle_button_new
GtkWidget *
gtk_toggle_button_new (void );
Creates a new toggle button. A widget should be packed into the button, as in gtk_button_new() .
Returns
a new toggle button.
gtk_toggle_button_new_with_label ()
gtk_toggle_button_new_with_label
GtkWidget *
gtk_toggle_button_new_with_label (const gchar *label );
Creates a new toggle button with a text label.
Parameters
label
a string containing the message to be placed in the toggle button.
Returns
a new toggle button.
gtk_toggle_button_new_with_mnemonic ()
gtk_toggle_button_new_with_mnemonic
GtkWidget *
gtk_toggle_button_new_with_mnemonic (const gchar *label );
Creates a new GtkToggleButton containing a label. The label
will be created using gtk_label_new_with_mnemonic() , so underscores
in label
indicate the mnemonic for the button.
Parameters
label
the text of the button, with an underscore in front of the
mnemonic character
Returns
a new GtkToggleButton
gtk_toggle_button_toggled ()
gtk_toggle_button_toggled
void
gtk_toggle_button_toggled (GtkToggleButton *toggle_button );
Emits the “toggled” signal on the
GtkToggleButton . There is no good reason for an
application ever to call this function.
Parameters
toggle_button
a GtkToggleButton .
gtk_toggle_button_get_active ()
gtk_toggle_button_get_active
gboolean
gtk_toggle_button_get_active (GtkToggleButton *toggle_button );
Queries a GtkToggleButton and returns its current state. Returns TRUE if
the toggle button is pressed in and FALSE if it is raised.
Parameters
toggle_button
a GtkToggleButton .
Returns
a gboolean value.
gtk_toggle_button_set_active ()
gtk_toggle_button_set_active
void
gtk_toggle_button_set_active (GtkToggleButton *toggle_button ,
gboolean is_active );
Sets the status of the toggle button. Set to TRUE if you want the
GtkToggleButton to be “pressed in”, and FALSE to raise it.
If the status of the button changes, this action causes the
“toggled” signal to be emitted.
Parameters
toggle_button
a GtkToggleButton .
is_active
TRUE or FALSE .
Property Details
The “active” property
GtkToggleButton:active
“active” gboolean
If the toggle button should be pressed in. Owner: GtkToggleButton
Flags: Read / Write
Default value: FALSE
Signal Details
The “toggled” signal
GtkToggleButton::toggled
void
user_function (GtkToggleButton *togglebutton,
gpointer user_data)
Should be connected if you wish to perform an action whenever the
GtkToggleButton 's state is changed.
Parameters
togglebutton
the object which received the signal.
user_data
user data set when the signal handler was connected.
Flags: Run First
See Also
GtkButton , GtkCheckButton , GtkCheckMenuItem
docs/reference/gtk/xml/gtkmessagedialog.xml 0000664 0001750 0001750 00000076170 13617646202 021237 0 ustar mclasen mclasen
]>
GtkMessageDialog
3
GTK4 Library
GtkMessageDialog
A convenient message window
Functions
GtkWidget *
gtk_message_dialog_new ()
GtkWidget *
gtk_message_dialog_new_with_markup ()
void
gtk_message_dialog_set_markup ()
void
gtk_message_dialog_format_secondary_text ()
void
gtk_message_dialog_format_secondary_markup ()
GtkWidget *
gtk_message_dialog_get_message_area ()
Properties
GtkButtonsType buttonsWrite / Construct Only
GtkWidget * message-areaRead
GtkMessageType message-typeRead / Write / Construct
gchar * secondary-textRead / Write
gboolean secondary-use-markupRead / Write
gchar * textRead / Write
gboolean use-markupRead / Write
Types and Values
struct GtkMessageDialog
enum GtkMessageType
enum GtkButtonsType
Object Hierarchy
GObject
╰── GInitiallyUnowned
╰── GtkWidget
╰── GtkContainer
╰── GtkBin
╰── GtkWindow
╰── GtkDialog
╰── GtkMessageDialog
Implemented Interfaces
GtkMessageDialog implements
AtkImplementorIface, GtkBuildable, GtkConstraintTarget, GtkNative and GtkRoot.
Includes #include <gtk/gtk.h>
Description
GtkMessageDialog presents a dialog with some message text. It’s simply a
convenience widget; you could construct the equivalent of GtkMessageDialog
from GtkDialog without too much effort, but GtkMessageDialog saves typing.
The easiest way to do a modal message dialog is to use gtk_dialog_run() , though
you can also pass in the GTK_DIALOG_MODAL flag, gtk_dialog_run() automatically
makes the dialog modal and waits for the user to respond to it. gtk_dialog_run()
returns when any dialog button is clicked.
An example for using a modal dialog:
You might do a non-modal GtkMessageDialog as follows:
An example for a non-modal dialog:
GtkMessageDialog as GtkBuildable The GtkMessageDialog implementation of the GtkBuildable interface exposes
the message area as an internal child with the name “message_area”.
Functions
gtk_message_dialog_new ()
gtk_message_dialog_new
GtkWidget *
gtk_message_dialog_new (GtkWindow *parent ,
GtkDialogFlags flags ,
GtkMessageType type ,
GtkButtonsType buttons ,
const gchar *message_format ,
... );
Creates a new message dialog, which is a simple dialog with some text
the user may want to see. When the user clicks a button a “response”
signal is emitted with response IDs from GtkResponseType . See
GtkDialog for more details.
Parameters
parent
transient parent, or NULL for none.
[allow-none ]
flags
flags
type
type of message
buttons
set of buttons to use
message_format
printf()-style format string, or NULL .
[allow-none ]
...
arguments for message_format
Returns
a new GtkMessageDialog .
[transfer none ]
gtk_message_dialog_new_with_markup ()
gtk_message_dialog_new_with_markup
GtkWidget *
gtk_message_dialog_new_with_markup (GtkWindow *parent ,
GtkDialogFlags flags ,
GtkMessageType type ,
GtkButtonsType buttons ,
const gchar *message_format ,
... );
Creates a new message dialog, which is a simple dialog with some text that
is marked up with the Pango text markup language.
When the user clicks a button a “response” signal is emitted with
response IDs from GtkResponseType . See GtkDialog for more details.
Special XML characters in the printf() arguments passed to this
function will automatically be escaped as necessary.
(See g_markup_printf_escaped() for how this is implemented.)
Usually this is what you want, but if you have an existing
Pango markup string that you want to use literally as the
label, then you need to use gtk_message_dialog_set_markup()
instead, since you can’t pass the markup string either
as the format (it might contain “%” characters) or as a string
argument.
Parameters
parent
transient parent, or NULL for none.
[allow-none ]
flags
flags
type
type of message
buttons
set of buttons to use
message_format
printf()-style format string, or NULL .
[allow-none ]
...
arguments for message_format
Returns
a new GtkMessageDialog
gtk_message_dialog_set_markup ()
gtk_message_dialog_set_markup
void
gtk_message_dialog_set_markup (GtkMessageDialog *message_dialog ,
const gchar *str );
Sets the text of the message dialog to be str
, which is marked
up with the Pango text markup language.
Parameters
message_dialog
a GtkMessageDialog
str
markup string (see Pango markup format)
gtk_message_dialog_format_secondary_text ()
gtk_message_dialog_format_secondary_text
void
gtk_message_dialog_format_secondary_text
(GtkMessageDialog *message_dialog ,
const gchar *message_format ,
... );
Sets the secondary text of the message dialog to be message_format
(with printf() -style).
Parameters
message_dialog
a GtkMessageDialog
message_format
printf()-style format string, or NULL .
[allow-none ]
...
arguments for message_format
gtk_message_dialog_format_secondary_markup ()
gtk_message_dialog_format_secondary_markup
void
gtk_message_dialog_format_secondary_markup
(GtkMessageDialog *message_dialog ,
const gchar *message_format ,
... );
Sets the secondary text of the message dialog to be message_format
(with
printf() -style), which is marked up with the
Pango text markup language.
Due to an oversight, this function does not escape special XML characters
like gtk_message_dialog_new_with_markup() does. Thus, if the arguments
may contain special XML characters, you should use g_markup_printf_escaped()
to escape it.
Parameters
message_dialog
a GtkMessageDialog
message_format
printf()-style markup string (see
Pango markup format), or NULL
...
arguments for message_format
gtk_message_dialog_get_message_area ()
gtk_message_dialog_get_message_area
GtkWidget *
gtk_message_dialog_get_message_area (GtkMessageDialog *message_dialog );
Returns the message area of the dialog. This is the box where the
dialog’s primary and secondary labels are packed. You can add your
own extra content to that box and it will appear below those labels.
See gtk_dialog_get_content_area() for the corresponding
function in the parent GtkDialog .
Parameters
message_dialog
a GtkMessageDialog
Returns
A GtkBox corresponding to the
“message area” in the message_dialog
.
[transfer none ]
Property Details
The “buttons” property
GtkMessageDialog:buttons
“buttons” GtkButtonsType
The buttons shown in the message dialog. Owner: GtkMessageDialog
Flags: Write / Construct Only
Default value: GTK_BUTTONS_NONE
The “message-area” property
GtkMessageDialog:message-area
“message-area” GtkWidget *
The GtkBox that corresponds to the message area of this dialog. See
gtk_message_dialog_get_message_area() for a detailed description of this
area.
Owner: GtkMessageDialog
Flags: Read
The “message-type” property
GtkMessageDialog:message-type
“message-type” GtkMessageType
The type of the message.
Owner: GtkMessageDialog
Flags: Read / Write / Construct
Default value: GTK_MESSAGE_INFO
The “secondary-text” property
GtkMessageDialog:secondary-text
“secondary-text” gchar *
The secondary text of the message dialog.
Owner: GtkMessageDialog
Flags: Read / Write
Default value: NULL
The “secondary-use-markup” property
GtkMessageDialog:secondary-use-markup
“secondary-use-markup” gboolean
TRUE if the secondary text of the dialog includes Pango markup.
See pango_parse_markup() .
Owner: GtkMessageDialog
Flags: Read / Write
Default value: FALSE
The “text” property
GtkMessageDialog:text
“text” gchar *
The primary text of the message dialog. If the dialog has
a secondary text, this will appear as the title.
Owner: GtkMessageDialog
Flags: Read / Write
Default value: ""
The “use-markup” property
GtkMessageDialog:use-markup
“use-markup” gboolean
TRUE if the primary text of the dialog includes Pango markup.
See pango_parse_markup() .
Owner: GtkMessageDialog
Flags: Read / Write
Default value: FALSE
See Also
GtkDialog
docs/reference/gtk/xml/gtkwindowgroup.xml 0000664 0001750 0001750 00000033157 13617646204 021017 0 ustar mclasen mclasen
]>
GtkWindowGroup
3
GTK4 Library
GtkWindowGroup
Limit the effect of grabs
Functions
GtkWindowGroup *
gtk_window_group_new ()
void
gtk_window_group_add_window ()
void
gtk_window_group_remove_window ()
GList *
gtk_window_group_list_windows ()
GtkWidget *
gtk_window_group_get_current_grab ()
GtkWidget *
gtk_window_group_get_current_device_grab ()
Types and Values
GtkWindowGroup
Object Hierarchy
GObject
╰── GtkWindowGroup
Includes #include <gtk/gtk.h>
Description
A GtkWindowGroup restricts the effect of grabs to windows
in the same group, thereby making window groups almost behave
like separate applications.
A window can be a member in at most one window group at a time.
Windows that have not been explicitly assigned to a group are
implicitly treated like windows of the default window group.
GtkWindowGroup objects are referenced by each window in the group,
so once you have added all windows to a GtkWindowGroup, you can drop
the initial reference to the window group with g_object_unref() . If the
windows in the window group are subsequently destroyed, then they will
be removed from the window group and drop their references on the window
group; when all window have been removed, the window group will be
freed.
Functions
gtk_window_group_new ()
gtk_window_group_new
GtkWindowGroup *
gtk_window_group_new (void );
Creates a new GtkWindowGroup object. Grabs added with
gtk_grab_add() only affect windows within the same GtkWindowGroup .
Returns
a new GtkWindowGroup .
gtk_window_group_add_window ()
gtk_window_group_add_window
void
gtk_window_group_add_window (GtkWindowGroup *window_group ,
GtkWindow *window );
Adds a window to a GtkWindowGroup .
Parameters
window_group
a GtkWindowGroup
window
the GtkWindow to add
gtk_window_group_remove_window ()
gtk_window_group_remove_window
void
gtk_window_group_remove_window (GtkWindowGroup *window_group ,
GtkWindow *window );
Removes a window from a GtkWindowGroup .
Parameters
window_group
a GtkWindowGroup
window
the GtkWindow to remove
gtk_window_group_list_windows ()
gtk_window_group_list_windows
GList *
gtk_window_group_list_windows (GtkWindowGroup *window_group );
Returns a list of the GtkWindows that belong to window_group
.
Parameters
window_group
a GtkWindowGroup
Returns
A
newly-allocated list of windows inside the group.
[element-type GtkWindow][transfer container ]
gtk_window_group_get_current_grab ()
gtk_window_group_get_current_grab
GtkWidget *
gtk_window_group_get_current_grab (GtkWindowGroup *window_group );
Gets the current grab widget of the given group,
see gtk_grab_add() .
Parameters
window_group
a GtkWindowGroup
Returns
the current grab widget of the group.
[transfer none ]
gtk_window_group_get_current_device_grab ()
gtk_window_group_get_current_device_grab
GtkWidget *
gtk_window_group_get_current_device_grab
(GtkWindowGroup *window_group ,
GdkDevice *device );
Returns the current grab widget for device
, or NULL if none.
Parameters
window_group
a GtkWindowGroup
device
a GdkDevice
Returns
The grab widget, or NULL .
[nullable ][transfer none ]
docs/reference/gtk/xml/gtkinfobar.xml 0000664 0001750 0001750 00000130423 13617646202 020043 0 ustar mclasen mclasen
]>
GtkInfoBar
3
GTK4 Library
GtkInfoBar
Report important messages to the user
Functions
GtkWidget *
gtk_info_bar_new ()
GtkWidget *
gtk_info_bar_new_with_buttons ()
void
gtk_info_bar_add_action_widget ()
GtkWidget *
gtk_info_bar_add_button ()
void
gtk_info_bar_add_buttons ()
void
gtk_info_bar_set_response_sensitive ()
void
gtk_info_bar_set_default_response ()
void
gtk_info_bar_response ()
void
gtk_info_bar_set_message_type ()
GtkMessageType
gtk_info_bar_get_message_type ()
GtkWidget *
gtk_info_bar_get_action_area ()
GtkWidget *
gtk_info_bar_get_content_area ()
gboolean
gtk_info_bar_get_show_close_button ()
void
gtk_info_bar_set_show_close_button ()
gboolean
gtk_info_bar_get_revealed ()
void
gtk_info_bar_set_revealed ()
Properties
GtkMessageType message-typeRead / Write / Construct
gboolean revealedRead / Write
gboolean show-close-buttonRead / Write / Construct
Signals
void close Action
void response Run Last
Types and Values
GtkInfoBar
Object Hierarchy
GObject
╰── GInitiallyUnowned
╰── GtkWidget
╰── GtkContainer
╰── GtkInfoBar
Implemented Interfaces
GtkInfoBar implements
AtkImplementorIface, GtkBuildable and GtkConstraintTarget.
Includes #include <gtk/gtk.h>
Description
GtkInfoBar is a widget that can be used to show messages to
the user without showing a dialog. It is often temporarily shown
at the top or bottom of a document. In contrast to GtkDialog , which
has an action area at the bottom, GtkInfoBar has an action area
at the side.
The API of GtkInfoBar is very similar to GtkDialog , allowing you
to add buttons to the action area with gtk_info_bar_add_button() or
gtk_info_bar_new_with_buttons() . The sensitivity of action widgets
can be controlled with gtk_info_bar_set_response_sensitive() .
To add widgets to the main content area of a GtkInfoBar , use
gtk_info_bar_get_content_area() and add your widgets to the container.
Similar to GtkMessageDialog , the contents of a GtkInfoBar can by
classified as error message, warning, informational message, etc,
by using gtk_info_bar_set_message_type() . GTK+ may use the message type
to determine how the message is displayed.
A simple example for using a GtkInfoBar :
GtkInfoBar as GtkBuildable The GtkInfoBar implementation of the GtkBuildable interface exposes
the content area and action area as internal children with the names
“content_area” and “action_area”.
GtkInfoBar supports a custom <action-widgets> element, which can contain
multiple <action-widget> elements. The “response” attribute specifies a
numeric response, and the content of the element is the id of widget
(which should be a child of the dialogs action_area
).
CSS nodes GtkInfoBar has a single CSS node with name infobar. The node may get
one of the style classes .info, .warning, .error or .question, depending
on the message type.
If the info bar shows a close button, that button will have the .close
style class applied.
Functions
gtk_info_bar_new ()
gtk_info_bar_new
GtkWidget *
gtk_info_bar_new (void );
Creates a new GtkInfoBar object.
Returns
a new GtkInfoBar object
gtk_info_bar_new_with_buttons ()
gtk_info_bar_new_with_buttons
GtkWidget *
gtk_info_bar_new_with_buttons (const gchar *first_button_text ,
... );
Creates a new GtkInfoBar with buttons. Button text/response ID
pairs should be listed, with a NULL pointer ending the list.
A response ID can be any positive number,
or one of the values in the GtkResponseType enumeration. If the
user clicks one of these dialog buttons, GtkInfoBar will emit
the “response” signal with the corresponding response ID.
Parameters
first_button_text
ext to go in first button, or NULL .
[allow-none ]
...
response ID for first button, then additional buttons, ending
with NULL
Returns
a new GtkInfoBar
gtk_info_bar_add_action_widget ()
gtk_info_bar_add_action_widget
void
gtk_info_bar_add_action_widget (GtkInfoBar *info_bar ,
GtkWidget *child ,
gint response_id );
Add an activatable widget to the action area of a GtkInfoBar ,
connecting a signal handler that will emit the “response”
signal on the message area when the widget is activated. The widget
is appended to the end of the message areas action area.
Parameters
info_bar
a GtkInfoBar
child
an activatable widget
response_id
response ID for child
gtk_info_bar_add_button ()
gtk_info_bar_add_button
GtkWidget *
gtk_info_bar_add_button (GtkInfoBar *info_bar ,
const gchar *button_text ,
gint response_id );
Adds a button with the given text and sets things up so that
clicking the button will emit the “response” signal with the given
response_id. The button is appended to the end of the info bars's
action area. The button widget is returned, but usually you don't
need it.
Parameters
info_bar
a GtkInfoBar
button_text
text of button
response_id
response ID for the button
Returns
the GtkButton widget
that was added.
[transfer none ][type Gtk.Button]
gtk_info_bar_add_buttons ()
gtk_info_bar_add_buttons
void
gtk_info_bar_add_buttons (GtkInfoBar *info_bar ,
const gchar *first_button_text ,
... );
Adds more buttons, same as calling gtk_info_bar_add_button()
repeatedly. The variable argument list should be NULL -terminated
as with gtk_info_bar_new_with_buttons() . Each button must have both
text and response ID.
Parameters
info_bar
a GtkInfoBar
first_button_text
button text
...
response ID for first button, then more text-response_id pairs,
ending with NULL
gtk_info_bar_set_response_sensitive ()
gtk_info_bar_set_response_sensitive
void
gtk_info_bar_set_response_sensitive (GtkInfoBar *info_bar ,
gint response_id ,
gboolean setting );
Calls gtk_widget_set_sensitive (widget, setting) for each
widget in the info bars’s action area with the given response_id.
A convenient way to sensitize/desensitize dialog buttons.
Parameters
info_bar
a GtkInfoBar
response_id
a response ID
setting
TRUE for sensitive
gtk_info_bar_set_default_response ()
gtk_info_bar_set_default_response
void
gtk_info_bar_set_default_response (GtkInfoBar *info_bar ,
gint response_id );
Sets the last widget in the info bar’s action area with
the given response_id as the default widget for the dialog.
Pressing “Enter” normally activates the default widget.
Note that this function currently requires info_bar
to
be added to a widget hierarchy.
Parameters
info_bar
a GtkInfoBar
response_id
a response ID
gtk_info_bar_response ()
gtk_info_bar_response
void
gtk_info_bar_response (GtkInfoBar *info_bar ,
gint response_id );
Emits the “response” signal with the given response_id
.
Parameters
info_bar
a GtkInfoBar
response_id
a response ID
gtk_info_bar_set_message_type ()
gtk_info_bar_set_message_type
void
gtk_info_bar_set_message_type (GtkInfoBar *info_bar ,
GtkMessageType message_type );
Sets the message type of the message area.
GTK+ uses this type to determine how the message is displayed.
Parameters
info_bar
a GtkInfoBar
message_type
a GtkMessageType
gtk_info_bar_get_message_type ()
gtk_info_bar_get_message_type
GtkMessageType
gtk_info_bar_get_message_type (GtkInfoBar *info_bar );
Returns the message type of the message area.
Parameters
info_bar
a GtkInfoBar
Returns
the message type of the message area.
gtk_info_bar_get_action_area ()
gtk_info_bar_get_action_area
GtkWidget *
gtk_info_bar_get_action_area (GtkInfoBar *info_bar );
Returns the action area of info_bar
.
Parameters
info_bar
a GtkInfoBar
Returns
the action area.
[transfer none ]
gtk_info_bar_get_content_area ()
gtk_info_bar_get_content_area
GtkWidget *
gtk_info_bar_get_content_area (GtkInfoBar *info_bar );
Returns the content area of info_bar
.
Parameters
info_bar
a GtkInfoBar
Returns
the content area.
[transfer none ]
gtk_info_bar_get_show_close_button ()
gtk_info_bar_get_show_close_button
gboolean
gtk_info_bar_get_show_close_button (GtkInfoBar *info_bar );
Returns whether the widget will display a standard close button.
Parameters
info_bar
a GtkInfoBar
Returns
TRUE if the widget displays standard close button
gtk_info_bar_set_show_close_button ()
gtk_info_bar_set_show_close_button
void
gtk_info_bar_set_show_close_button (GtkInfoBar *info_bar ,
gboolean setting );
If true, a standard close button is shown. When clicked it emits
the response GTK_RESPONSE_CLOSE .
Parameters
info_bar
a GtkInfoBar
setting
TRUE to include a close button
gtk_info_bar_get_revealed ()
gtk_info_bar_get_revealed
gboolean
gtk_info_bar_get_revealed (GtkInfoBar *info_bar );
Returns whether the info bar is currently revealed.
Parameters
info_bar
a GtkInfoBar
Returns
the current value of the “revealed” property
gtk_info_bar_set_revealed ()
gtk_info_bar_set_revealed
void
gtk_info_bar_set_revealed (GtkInfoBar *info_bar ,
gboolean revealed );
Sets the “revealed” property to revealed
. Changing this will make
info_bar
reveal (TRUE ) or conceal (FALSE ) itself via a sliding transition.
Note: this does not show or hide info_bar
in the “visible” sense,
so revealing has no effect if “visible” is FALSE .
Parameters
info_bar
a GtkInfoBar
revealed
The new value of the property
Property Details
The “message-type” property
GtkInfoBar:message-type
“message-type” GtkMessageType
The type of the message.
The type may be used to determine the appearance of the info bar.
Owner: GtkInfoBar
Flags: Read / Write / Construct
Default value: GTK_MESSAGE_INFO
The “revealed” property
GtkInfoBar:revealed
“revealed” gboolean
Controls whether the info bar shows its contents or not. Owner: GtkInfoBar
Flags: Read / Write
Default value: TRUE
The “show-close-button” property
GtkInfoBar:show-close-button
“show-close-button” gboolean
Whether to include a standard close button.
Owner: GtkInfoBar
Flags: Read / Write / Construct
Default value: FALSE
Signal Details
The “close” signal
GtkInfoBar::close
void
user_function (GtkInfoBar *infobar,
gpointer user_data)
The ::close signal is a
keybinding signal
which gets emitted when the user uses a keybinding to dismiss
the info bar.
The default binding for this signal is the Escape key.
Parameters
user_data
user data set when the signal handler was connected.
Flags: Action
The “response” signal
GtkInfoBar::response
void
user_function (GtkInfoBar *info_bar,
gint response_id,
gpointer user_data)
Emitted when an action widget is clicked or the application programmer
calls gtk_info_bar_response() . The response_id
depends on which action
widget was clicked.
Parameters
info_bar
the object on which the signal is emitted
response_id
the response ID
user_data
user data set when the signal handler was connected.
Flags: Run Last
See Also
GtkStatusbar , GtkMessageDialog
docs/reference/gtk/xml/gtkcellrendererspinner.xml 0000664 0001750 0001750 00000017322 13617646203 022473 0 ustar mclasen mclasen
]>
GtkCellRendererSpinner
3
GTK4 Library
GtkCellRendererSpinner
Renders a spinning animation in a cell
Functions
GtkCellRenderer *
gtk_cell_renderer_spinner_new ()
Properties
gboolean activeRead / Write
guint pulseRead / Write
GtkIconSize sizeRead / Write
Types and Values
GtkCellRendererSpinner
Object Hierarchy
GObject
╰── GInitiallyUnowned
╰── GtkCellRenderer
╰── GtkCellRendererSpinner
Includes #include <gtk/gtk.h>
Description
GtkCellRendererSpinner renders a spinning animation in a cell, very
similar to GtkSpinner . It can often be used as an alternative
to a GtkCellRendererProgress for displaying indefinite activity,
instead of actual progress.
To start the animation in a cell, set the “active”
property to TRUE and increment the “pulse” property
at regular intervals. The usual way to set the cell renderer properties
for each cell is to bind them to columns in your tree model using e.g.
gtk_tree_view_column_add_attribute() .
Functions
gtk_cell_renderer_spinner_new ()
gtk_cell_renderer_spinner_new
GtkCellRenderer *
gtk_cell_renderer_spinner_new (void );
Returns a new cell renderer which will show a spinner to indicate
activity.
Returns
a new GtkCellRenderer
Property Details
The “active” property
GtkCellRendererSpinner:active
“active” gboolean
Whether the spinner is active (ie. shown) in the cell. Owner: GtkCellRendererSpinner
Flags: Read / Write
Default value: FALSE
The “pulse” property
GtkCellRendererSpinner:pulse
“pulse” guint
Pulse of the spinner. Increment this value to draw the next frame of the
spinner animation. Usually, you would update this value in a timeout.
By default, the GtkSpinner widget draws one full cycle of the animation,
consisting of 12 frames, in 750 milliseconds.
Owner: GtkCellRendererSpinner
Flags: Read / Write
Default value: 0
The “size” property
GtkCellRendererSpinner:size
“size” GtkIconSize
The GtkIconSize value that specifies the size of the rendered spinner.
Owner: GtkCellRendererSpinner
Flags: Read / Write
Default value: GTK_ICON_SIZE_INHERIT
See Also
GtkSpinner , GtkCellRendererProgress
docs/reference/gtk/xml/gtknativedialog.xml 0000664 0001750 0001750 00000060724 13617646202 021077 0 ustar mclasen mclasen
]>
GtkNativeDialog
3
GTK4 Library
GtkNativeDialog
Integrate with native dialogs
Functions
void
gtk_native_dialog_show ()
void
gtk_native_dialog_hide ()
void
gtk_native_dialog_destroy ()
gboolean
gtk_native_dialog_get_visible ()
void
gtk_native_dialog_set_modal ()
gboolean
gtk_native_dialog_get_modal ()
void
gtk_native_dialog_set_title ()
const char *
gtk_native_dialog_get_title ()
void
gtk_native_dialog_set_transient_for ()
GtkWindow *
gtk_native_dialog_get_transient_for ()
gint
gtk_native_dialog_run ()
Types and Values
#define GTK_TYPE_NATIVE_DIALOG
struct GtkNativeDialogClass
Includes #include <gtk/gtk.h>
Description
Native dialogs are platform dialogs that don't use GtkDialog or
GtkWindow . They are used in order to integrate better with a
platform, by looking the same as other native applications and
supporting platform specific features.
The GtkDialog functions cannot be used on such objects, but we
need a similar API in order to drive them. The GtkNativeDialog
object is an API that allows you to do this. It allows you to set
various common properties on the dialog, as well as show and hide
it and get a “response” signal when the user finished
with the dialog.
There is also a gtk_native_dialog_run() helper that makes it easy
to run any native dialog in a modal way with a recursive mainloop,
similar to gtk_dialog_run() .
Functions
gtk_native_dialog_show ()
gtk_native_dialog_show
void
gtk_native_dialog_show (GtkNativeDialog *self );
Shows the dialog on the display, allowing the user to interact with
it. When the user accepts the state of the dialog the dialog will
be automatically hidden and the “response” signal
will be emitted.
Multiple calls while the dialog is visible will be ignored.
Parameters
self
a GtkNativeDialog
gtk_native_dialog_hide ()
gtk_native_dialog_hide
void
gtk_native_dialog_hide (GtkNativeDialog *self );
Hides the dialog if it is visilbe, aborting any interaction. Once this
is called the “response” signal will not be emitted
until after the next call to gtk_native_dialog_show() .
If the dialog is not visible this does nothing.
Parameters
self
a GtkNativeDialog
gtk_native_dialog_destroy ()
gtk_native_dialog_destroy
void
gtk_native_dialog_destroy (GtkNativeDialog *self );
Destroys a dialog.
When a dialog is destroyed, it will break any references it holds
to other objects. If it is visible it will be hidden and any underlying
window system resources will be destroyed.
Note that this does not release any reference to the object (as opposed to
destroying a GtkWindow) because there is no reference from the windowing
system to the GtkNativeDialog .
Parameters
self
a GtkNativeDialog
gtk_native_dialog_get_visible ()
gtk_native_dialog_get_visible
gboolean
gtk_native_dialog_get_visible (GtkNativeDialog *self );
Determines whether the dialog is visible.
Parameters
self
a GtkNativeDialog
Returns
TRUE if the dialog is visible
gtk_native_dialog_set_modal ()
gtk_native_dialog_set_modal
void
gtk_native_dialog_set_modal (GtkNativeDialog *self ,
gboolean modal );
Sets a dialog modal or non-modal. Modal dialogs prevent interaction
with other windows in the same application. To keep modal dialogs
on top of main application windows, use
gtk_native_dialog_set_transient_for() to make the dialog transient for the
parent; most window managers
will then disallow lowering the dialog below the parent.
Parameters
self
a GtkNativeDialog
modal
whether the window is modal
gtk_native_dialog_get_modal ()
gtk_native_dialog_get_modal
gboolean
gtk_native_dialog_get_modal (GtkNativeDialog *self );
Returns whether the dialog is modal. See gtk_native_dialog_set_modal() .
Parameters
self
a GtkNativeDialog
Returns
TRUE if the dialog is set to be modal
gtk_native_dialog_set_title ()
gtk_native_dialog_set_title
void
gtk_native_dialog_set_title (GtkNativeDialog *self ,
const char *title );
Sets the title of the GtkNativeDialog .
Parameters
self
a GtkNativeDialog
title
title of the dialog
gtk_native_dialog_get_title ()
gtk_native_dialog_get_title
const char *
gtk_native_dialog_get_title (GtkNativeDialog *self );
Gets the title of the GtkNativeDialog .
Parameters
self
a GtkNativeDialog
Returns
the title of the dialog, or NULL if none has
been set explicitly. The returned string is owned by the widget
and must not be modified or freed.
[nullable ]
gtk_native_dialog_set_transient_for ()
gtk_native_dialog_set_transient_for
void
gtk_native_dialog_set_transient_for (GtkNativeDialog *self ,
GtkWindow *parent );
Dialog windows should be set transient for the main application
window they were spawned from. This allows
window managers to e.g. keep the
dialog on top of the main window, or center the dialog over the
main window.
Passing NULL for parent
unsets the current transient window.
Parameters
self
a GtkNativeDialog
parent
parent window, or NULL .
[allow-none ]
gtk_native_dialog_get_transient_for ()
gtk_native_dialog_get_transient_for
GtkWindow *
gtk_native_dialog_get_transient_for (GtkNativeDialog *self );
Fetches the transient parent for this window. See
gtk_native_dialog_set_transient_for() .
Parameters
self
a GtkNativeDialog
Returns
the transient parent for this window,
or NULL if no transient parent has been set.
[nullable ][transfer none ]
gtk_native_dialog_run ()
gtk_native_dialog_run
gint
gtk_native_dialog_run (GtkNativeDialog *self );
Blocks in a recursive main loop until self
emits the
“response” signal. It then returns the response ID
from the ::response signal emission.
Before entering the recursive main loop, gtk_native_dialog_run()
calls gtk_native_dialog_show() on the dialog for you.
After gtk_native_dialog_run() returns, then dialog will be hidden.
Typical usage of this function might be:
Note that even though the recursive main loop gives the effect of a
modal dialog (it prevents the user from interacting with other
windows in the same window group while the dialog is run), callbacks
such as timeouts, IO channel watches, DND drops, etc, will
be triggered during a gtk_native_dialog_run() call.
Parameters
self
a GtkNativeDialog
Returns
response ID
See Also
GtkFileChooserNative , GtkDialog
docs/reference/gtk/xml/gtktreemodelfilter.xml 0000664 0001750 0001750 00000132705 13617646203 021617 0 ustar mclasen mclasen
]>
GtkTreeModelFilter
3
GTK4 Library
GtkTreeModelFilter
A GtkTreeModel which hides parts of an underlying tree model
Functions
gboolean
( *GtkTreeModelFilterVisibleFunc) ()
void
( *GtkTreeModelFilterModifyFunc) ()
GtkTreeModel *
gtk_tree_model_filter_new ()
void
gtk_tree_model_filter_set_visible_func ()
void
gtk_tree_model_filter_set_modify_func ()
void
gtk_tree_model_filter_set_visible_column ()
GtkTreeModel *
gtk_tree_model_filter_get_model ()
gboolean
gtk_tree_model_filter_convert_child_iter_to_iter ()
void
gtk_tree_model_filter_convert_iter_to_child_iter ()
GtkTreePath *
gtk_tree_model_filter_convert_child_path_to_path ()
GtkTreePath *
gtk_tree_model_filter_convert_path_to_child_path ()
void
gtk_tree_model_filter_refilter ()
void
gtk_tree_model_filter_clear_cache ()
Properties
GtkTreeModel * child-modelRead / Write / Construct Only
GtkTreePath * virtual-rootRead / Write / Construct Only
Types and Values
struct GtkTreeModelFilter
Object Hierarchy
GObject
╰── GtkTreeModelFilter
Implemented Interfaces
GtkTreeModelFilter implements
GtkTreeModel and GtkTreeDragSource.
Includes #include <gtk/gtk.h>
Description
A GtkTreeModelFilter is a tree model which wraps another tree model,
and can do the following things:
Filter specific rows, based on data from a “visible column”, a column
storing booleans indicating whether the row should be filtered or not,
or based on the return value of a “visible function”, which gets a
model, iter and user_data and returns a boolean indicating whether the
row should be filtered or not.
Modify the “appearance” of the model, using a modify function.
This is extremely powerful and allows for just changing some
values and also for creating a completely different model based
on the given child model.
Set a different root node, also known as a “virtual root”. You can pass
in a GtkTreePath indicating the root node for the filter at construction
time.
The basic API is similar to GtkTreeModelSort . For an example on its usage,
see the section on GtkTreeModelSort .
When using GtkTreeModelFilter , it is important to realize that
GtkTreeModelFilter maintains an internal cache of all nodes which are
visible in its clients. The cache is likely to be a subtree of the tree
exposed by the child model. GtkTreeModelFilter will not cache the entire
child model when unnecessary to not compromise the caching mechanism
that is exposed by the reference counting scheme. If the child model
implements reference counting, unnecessary signals may not be emitted
because of reference counting rule 3, see the GtkTreeModel
documentation. (Note that e.g. GtkTreeStore does not implement
reference counting and will always emit all signals, even when
the receiving node is not visible).
Because of this, limitations for possible visible functions do apply.
In general, visible functions should only use data or properties from
the node for which the visibility state must be determined, its siblings
or its parents. Usually, having a dependency on the state of any child
node is not possible, unless references are taken on these explicitly.
When no such reference exists, no signals may be received for these child
nodes (see reference couting rule number 3 in the GtkTreeModel section).
Determining the visibility state of a given node based on the state
of its child nodes is a frequently occurring use case. Therefore,
GtkTreeModelFilter explicitly supports this. For example, when a node
does not have any children, you might not want the node to be visible.
As soon as the first row is added to the node’s child level (or the
last row removed), the node’s visibility should be updated.
This introduces a dependency from the node on its child nodes. In order
to accommodate this, GtkTreeModelFilter must make sure the necessary
signals are received from the child model. This is achieved by building,
for all nodes which are exposed as visible nodes to GtkTreeModelFilter 's
clients, the child level (if any) and take a reference on the first node
in this level. Furthermore, for every row-inserted, row-changed or
row-deleted signal (also these which were not handled because the node
was not cached), GtkTreeModelFilter will check if the visibility state
of any parent node has changed.
Beware, however, that this explicit support is limited to these two
cases. For example, if you want a node to be visible only if two nodes
in a child’s child level (2 levels deeper) are visible, you are on your
own. In this case, either rely on GtkTreeStore to emit all signals
because it does not implement reference counting, or for models that
do implement reference counting, obtain references on these child levels
yourself.
Functions
GtkTreeModelFilterVisibleFunc ()
GtkTreeModelFilterVisibleFunc
gboolean
( *GtkTreeModelFilterVisibleFunc) (GtkTreeModel *model ,
GtkTreeIter *iter ,
gpointer data );
A function which decides whether the row indicated by iter
is visible.
Parameters
model
the child model of the GtkTreeModelFilter
iter
a GtkTreeIter pointing to the row in model
whose visibility
is determined
data
user data given to gtk_tree_model_filter_set_visible_func() .
[closure ]
Returns
Whether the row indicated by iter
is visible.
GtkTreeModelFilterModifyFunc ()
GtkTreeModelFilterModifyFunc
void
( *GtkTreeModelFilterModifyFunc) (GtkTreeModel *model ,
GtkTreeIter *iter ,
GValue *value ,
gint column ,
gpointer data );
A function which calculates display values from raw values in the model.
It must fill value
with the display value for the column column
in the
row indicated by iter
.
Since this function is called for each data access, it’s not a
particularly efficient operation.
Parameters
model
the GtkTreeModelFilter
iter
a GtkTreeIter pointing to the row whose display values are determined
value
A GValue which is already initialized for
with the correct type for the column column
.
[out caller-allocates ]
column
the column whose display value is determined
data
user data given to gtk_tree_model_filter_set_modify_func() .
[closure ]
gtk_tree_model_filter_new ()
gtk_tree_model_filter_new
GtkTreeModel *
gtk_tree_model_filter_new (GtkTreeModel *child_model ,
GtkTreePath *root );
Creates a new GtkTreeModel , with child_model
as the child_model
and root
as the virtual root.
Parameters
child_model
A GtkTreeModel .
root
A GtkTreePath or NULL .
[allow-none ]
Returns
A new GtkTreeModel .
[transfer full ]
gtk_tree_model_filter_set_visible_func ()
gtk_tree_model_filter_set_visible_func
void
gtk_tree_model_filter_set_visible_func
(GtkTreeModelFilter *filter ,
GtkTreeModelFilterVisibleFunc func ,
gpointer data ,
GDestroyNotify destroy );
Sets the visible function used when filtering the filter
to be func
.
The function should return TRUE if the given row should be visible and
FALSE otherwise.
If the condition calculated by the function changes over time (e.g.
because it depends on some global parameters), you must call
gtk_tree_model_filter_refilter() to keep the visibility information
of the model up-to-date.
Note that func
is called whenever a row is inserted, when it may still
be empty. The visible function should therefore take special care of empty
rows, like in the example below.
Note that gtk_tree_model_filter_set_visible_func() or
gtk_tree_model_filter_set_visible_column() can only be called
once for a given filter model.
Parameters
filter
A GtkTreeModelFilter
func
A GtkTreeModelFilterVisibleFunc , the visible function
data
User data to pass to the visible function, or NULL .
[allow-none ]
destroy
Destroy notifier of data
, or NULL .
[allow-none ]
gtk_tree_model_filter_set_modify_func ()
gtk_tree_model_filter_set_modify_func
void
gtk_tree_model_filter_set_modify_func (GtkTreeModelFilter *filter ,
gint n_columns ,
GType *types ,
GtkTreeModelFilterModifyFunc func ,
gpointer data ,
GDestroyNotify destroy );
With the n_columns
and types
parameters, you give an array of column
types for this model (which will be exposed to the parent model/view).
The func
, data
and destroy
parameters are for specifying the modify
function. The modify function will get called for each
data access, the goal of the modify function is to return the data which
should be displayed at the location specified using the parameters of the
modify function.
Note that gtk_tree_model_filter_set_modify_func()
can only be called once for a given filter model.
Parameters
filter
A GtkTreeModelFilter .
n_columns
The number of columns in the filter model.
types
The GTypes of the columns.
[array length=n_columns]
func
A GtkTreeModelFilterModifyFunc
data
User data to pass to the modify function, or NULL .
[allow-none ]
destroy
Destroy notifier of data
, or NULL .
[allow-none ]
gtk_tree_model_filter_set_visible_column ()
gtk_tree_model_filter_set_visible_column
void
gtk_tree_model_filter_set_visible_column
(GtkTreeModelFilter *filter ,
gint column );
Sets column
of the child_model to be the column where filter
should
look for visibility information. columns
should be a column of type
G_TYPE_BOOLEAN , where TRUE means that a row is visible, and FALSE
if not.
Note that gtk_tree_model_filter_set_visible_func() or
gtk_tree_model_filter_set_visible_column() can only be called
once for a given filter model.
Parameters
filter
A GtkTreeModelFilter
column
A gint which is the column containing the visible information
gtk_tree_model_filter_get_model ()
gtk_tree_model_filter_get_model
GtkTreeModel *
gtk_tree_model_filter_get_model (GtkTreeModelFilter *filter );
Returns a pointer to the child model of filter
.
Parameters
filter
A GtkTreeModelFilter .
Returns
A pointer to a GtkTreeModel .
[transfer none ]
gtk_tree_model_filter_convert_child_iter_to_iter ()
gtk_tree_model_filter_convert_child_iter_to_iter
gboolean
gtk_tree_model_filter_convert_child_iter_to_iter
(GtkTreeModelFilter *filter ,
GtkTreeIter *filter_iter ,
GtkTreeIter *child_iter );
Sets filter_iter
to point to the row in filter
that corresponds to the
row pointed at by child_iter
. If filter_iter
was not set, FALSE is
returned.
Parameters
filter
A GtkTreeModelFilter .
filter_iter
An uninitialized GtkTreeIter .
[out ]
child_iter
A valid GtkTreeIter pointing to a row on the child model.
Returns
TRUE , if filter_iter
was set, i.e. if child_iter
is a
valid iterator pointing to a visible row in child model.
gtk_tree_model_filter_convert_iter_to_child_iter ()
gtk_tree_model_filter_convert_iter_to_child_iter
void
gtk_tree_model_filter_convert_iter_to_child_iter
(GtkTreeModelFilter *filter ,
GtkTreeIter *child_iter ,
GtkTreeIter *filter_iter );
Sets child_iter
to point to the row pointed to by filter_iter
.
Parameters
filter
A GtkTreeModelFilter .
child_iter
An uninitialized GtkTreeIter .
[out ]
filter_iter
A valid GtkTreeIter pointing to a row on filter
.
gtk_tree_model_filter_convert_child_path_to_path ()
gtk_tree_model_filter_convert_child_path_to_path
GtkTreePath *
gtk_tree_model_filter_convert_child_path_to_path
(GtkTreeModelFilter *filter ,
GtkTreePath *child_path );
Converts child_path
to a path relative to filter
. That is, child_path
points to a path in the child model. The rerturned path will point to the
same row in the filtered model. If child_path
isn’t a valid path on the
child model or points to a row which is not visible in filter
, then NULL
is returned.
Parameters
filter
A GtkTreeModelFilter .
child_path
A GtkTreePath to convert.
Returns
A newly allocated GtkTreePath , or NULL .
[nullable ][transfer full ]
gtk_tree_model_filter_convert_path_to_child_path ()
gtk_tree_model_filter_convert_path_to_child_path
GtkTreePath *
gtk_tree_model_filter_convert_path_to_child_path
(GtkTreeModelFilter *filter ,
GtkTreePath *filter_path );
Converts filter_path
to a path on the child model of filter
. That is,
filter_path
points to a location in filter
. The returned path will
point to the same location in the model not being filtered. If filter_path
does not point to a location in the child model, NULL is returned.
Parameters
filter
A GtkTreeModelFilter .
filter_path
A GtkTreePath to convert.
Returns
A newly allocated GtkTreePath , or NULL .
[nullable ][transfer full ]
gtk_tree_model_filter_refilter ()
gtk_tree_model_filter_refilter
void
gtk_tree_model_filter_refilter (GtkTreeModelFilter *filter );
Emits ::row_changed for each row in the child model, which causes
the filter to re-evaluate whether a row is visible or not.
Parameters
filter
A GtkTreeModelFilter .
gtk_tree_model_filter_clear_cache ()
gtk_tree_model_filter_clear_cache
void
gtk_tree_model_filter_clear_cache (GtkTreeModelFilter *filter );
This function should almost never be called. It clears the filter
of any cached iterators that haven’t been reffed with
gtk_tree_model_ref_node() . This might be useful if the child model
being filtered is static (and doesn’t change often) and there has been
a lot of unreffed access to nodes. As a side effect of this function,
all unreffed iters will be invalid.
Parameters
filter
A GtkTreeModelFilter .
Property Details
The “child-model” property
GtkTreeModelFilter:child-model
“child-model” GtkTreeModel *
The model for the filtermodel to filter. Owner: GtkTreeModelFilter
Flags: Read / Write / Construct Only
The “virtual-root” property
GtkTreeModelFilter:virtual-root
“virtual-root” GtkTreePath *
The virtual root (relative to the child model) for this filtermodel. Owner: GtkTreeModelFilter
Flags: Read / Write / Construct Only
See Also
GtkTreeModelSort
docs/reference/gtk/xml/gtktreeviewcolumn.xml 0000664 0001750 0001750 00000415226 13617646203 021503 0 ustar mclasen mclasen
]>
GtkTreeViewColumn
3
GTK4 Library
GtkTreeViewColumn
A visible column in a GtkTreeView widget
Functions
void
( *GtkTreeCellDataFunc) ()
GtkTreeViewColumn *
gtk_tree_view_column_new ()
GtkTreeViewColumn *
gtk_tree_view_column_new_with_area ()
GtkTreeViewColumn *
gtk_tree_view_column_new_with_attributes ()
void
gtk_tree_view_column_pack_start ()
void
gtk_tree_view_column_pack_end ()
void
gtk_tree_view_column_clear ()
void
gtk_tree_view_column_add_attribute ()
void
gtk_tree_view_column_set_attributes ()
void
gtk_tree_view_column_set_cell_data_func ()
void
gtk_tree_view_column_clear_attributes ()
void
gtk_tree_view_column_set_spacing ()
gint
gtk_tree_view_column_get_spacing ()
void
gtk_tree_view_column_set_visible ()
gboolean
gtk_tree_view_column_get_visible ()
void
gtk_tree_view_column_set_resizable ()
gboolean
gtk_tree_view_column_get_resizable ()
void
gtk_tree_view_column_set_sizing ()
GtkTreeViewColumnSizing
gtk_tree_view_column_get_sizing ()
gint
gtk_tree_view_column_get_width ()
gint
gtk_tree_view_column_get_fixed_width ()
void
gtk_tree_view_column_set_fixed_width ()
void
gtk_tree_view_column_set_min_width ()
gint
gtk_tree_view_column_get_min_width ()
void
gtk_tree_view_column_set_max_width ()
gint
gtk_tree_view_column_get_max_width ()
void
gtk_tree_view_column_clicked ()
void
gtk_tree_view_column_set_title ()
const gchar *
gtk_tree_view_column_get_title ()
void
gtk_tree_view_column_set_expand ()
gboolean
gtk_tree_view_column_get_expand ()
void
gtk_tree_view_column_set_clickable ()
gboolean
gtk_tree_view_column_get_clickable ()
void
gtk_tree_view_column_set_widget ()
GtkWidget *
gtk_tree_view_column_get_widget ()
GtkWidget *
gtk_tree_view_column_get_button ()
void
gtk_tree_view_column_set_alignment ()
gfloat
gtk_tree_view_column_get_alignment ()
void
gtk_tree_view_column_set_reorderable ()
gboolean
gtk_tree_view_column_get_reorderable ()
void
gtk_tree_view_column_set_sort_column_id ()
gint
gtk_tree_view_column_get_sort_column_id ()
void
gtk_tree_view_column_set_sort_indicator ()
gboolean
gtk_tree_view_column_get_sort_indicator ()
void
gtk_tree_view_column_set_sort_order ()
GtkSortType
gtk_tree_view_column_get_sort_order ()
void
gtk_tree_view_column_cell_set_cell_data ()
void
gtk_tree_view_column_cell_get_size ()
gboolean
gtk_tree_view_column_cell_get_position ()
gboolean
gtk_tree_view_column_cell_is_visible ()
void
gtk_tree_view_column_focus_cell ()
void
gtk_tree_view_column_queue_resize ()
GtkWidget *
gtk_tree_view_column_get_tree_view ()
gint
gtk_tree_view_column_get_x_offset ()
Properties
gfloat alignmentRead / Write
GtkCellArea * cell-areaRead / Write / Construct Only
gboolean clickableRead / Write
gboolean expandRead / Write
gint fixed-widthRead / Write
gint max-widthRead / Write
gint min-widthRead / Write
gboolean reorderableRead / Write
gboolean resizableRead / Write
GtkTreeViewColumnSizing sizingRead / Write
gint sort-column-idRead / Write
gboolean sort-indicatorRead / Write
GtkSortType sort-orderRead / Write
gint spacingRead / Write
gchar * titleRead / Write
gboolean visibleRead / Write
GtkWidget * widgetRead / Write
gint widthRead
gint x-offsetRead
Signals
void clicked Run Last
Types and Values
enum GtkTreeViewColumnSizing
GtkTreeViewColumn
Object Hierarchy
GObject
╰── GInitiallyUnowned
╰── GtkTreeViewColumn
Implemented Interfaces
GtkTreeViewColumn implements
GtkCellLayout and GtkBuildable.
Includes #include <gtk/gtk.h>
Description
The GtkTreeViewColumn object represents a visible column in a GtkTreeView widget.
It allows to set properties of the column header, and functions as a holding pen for
the cell renderers which determine how the data in the column is displayed.
Please refer to the tree widget conceptual overview
for an overview of all the objects and data types related to the tree widget and how
they work together.
Functions
GtkTreeCellDataFunc ()
GtkTreeCellDataFunc
void
( *GtkTreeCellDataFunc) (GtkTreeViewColumn *tree_column ,
GtkCellRenderer *cell ,
GtkTreeModel *tree_model ,
GtkTreeIter *iter ,
gpointer data );
A function to set the properties of a cell instead of just using the
straight mapping between the cell and the model. This is useful for
customizing the cell renderer. For example, a function might get an
integer from the tree_model
, and render it to the “text” attribute of
“cell” by converting it to its written equivalent. This is set by
calling gtk_tree_view_column_set_cell_data_func()
Parameters
tree_column
A GtkTreeViewColumn
cell
The GtkCellRenderer that is being rendered by tree_column
tree_model
The GtkTreeModel being rendered
iter
A GtkTreeIter of the current row rendered
data
user data.
[closure ]
gtk_tree_view_column_new ()
gtk_tree_view_column_new
GtkTreeViewColumn *
gtk_tree_view_column_new (void );
Creates a new GtkTreeViewColumn .
Returns
A newly created GtkTreeViewColumn .
gtk_tree_view_column_new_with_area ()
gtk_tree_view_column_new_with_area
GtkTreeViewColumn *
gtk_tree_view_column_new_with_area (GtkCellArea *area );
Creates a new GtkTreeViewColumn using area
to render its cells.
Parameters
area
the GtkCellArea that the newly created column should use to layout cells.
Returns
A newly created GtkTreeViewColumn .
gtk_tree_view_column_new_with_attributes ()
gtk_tree_view_column_new_with_attributes
GtkTreeViewColumn *
gtk_tree_view_column_new_with_attributes
(const gchar *title ,
GtkCellRenderer *cell ,
... );
Creates a new GtkTreeViewColumn with a number of default values.
This is equivalent to calling gtk_tree_view_column_set_title() ,
gtk_tree_view_column_pack_start() , and
gtk_tree_view_column_set_attributes() on the newly created GtkTreeViewColumn .
Here’s a simple example:
Parameters
title
The title to set the header to
cell
The GtkCellRenderer
...
A NULL -terminated list of attributes
Returns
A newly created GtkTreeViewColumn .
gtk_tree_view_column_pack_start ()
gtk_tree_view_column_pack_start
void
gtk_tree_view_column_pack_start (GtkTreeViewColumn *tree_column ,
GtkCellRenderer *cell ,
gboolean expand );
Packs the cell
into the beginning of the column. If expand
is FALSE , then
the cell
is allocated no more space than it needs. Any unused space is divided
evenly between cells for which expand
is TRUE .
Parameters
tree_column
A GtkTreeViewColumn .
cell
The GtkCellRenderer .
expand
TRUE if cell
is to be given extra space allocated to tree_column
.
gtk_tree_view_column_pack_end ()
gtk_tree_view_column_pack_end
void
gtk_tree_view_column_pack_end (GtkTreeViewColumn *tree_column ,
GtkCellRenderer *cell ,
gboolean expand );
Adds the cell
to end of the column. If expand
is FALSE , then the cell
is allocated no more space than it needs. Any unused space is divided
evenly between cells for which expand
is TRUE .
Parameters
tree_column
A GtkTreeViewColumn .
cell
The GtkCellRenderer .
expand
TRUE if cell
is to be given extra space allocated to tree_column
.
gtk_tree_view_column_clear ()
gtk_tree_view_column_clear
void
gtk_tree_view_column_clear (GtkTreeViewColumn *tree_column );
Unsets all the mappings on all renderers on the tree_column
.
Parameters
tree_column
A GtkTreeViewColumn
gtk_tree_view_column_add_attribute ()
gtk_tree_view_column_add_attribute
void
gtk_tree_view_column_add_attribute (GtkTreeViewColumn *tree_column ,
GtkCellRenderer *cell_renderer ,
const gchar *attribute ,
gint column );
Adds an attribute mapping to the list in tree_column
. The column
is the
column of the model to get a value from, and the attribute
is the
parameter on cell_renderer
to be set from the value. So for example
if column 2 of the model contains strings, you could have the
“text” attribute of a GtkCellRendererText get its values from
column 2.
Parameters
tree_column
A GtkTreeViewColumn .
cell_renderer
the GtkCellRenderer to set attributes on
attribute
An attribute on the renderer
column
The column position on the model to get the attribute from.
gtk_tree_view_column_set_attributes ()
gtk_tree_view_column_set_attributes
void
gtk_tree_view_column_set_attributes (GtkTreeViewColumn *tree_column ,
GtkCellRenderer *cell_renderer ,
... );
Sets the attributes in the list as the attributes of tree_column
.
The attributes should be in attribute/column order, as in
gtk_tree_view_column_add_attribute() . All existing attributes
are removed, and replaced with the new attributes.
Parameters
tree_column
A GtkTreeViewColumn
cell_renderer
the GtkCellRenderer we’re setting the attributes of
...
A NULL -terminated list of attributes
gtk_tree_view_column_set_cell_data_func ()
gtk_tree_view_column_set_cell_data_func
void
gtk_tree_view_column_set_cell_data_func
(GtkTreeViewColumn *tree_column ,
GtkCellRenderer *cell_renderer ,
GtkTreeCellDataFunc func ,
gpointer func_data ,
GDestroyNotify destroy );
Sets the GtkTreeCellDataFunc to use for the column. This
function is used instead of the standard attributes mapping for
setting the column value, and should set the value of tree_column
's
cell renderer as appropriate. func
may be NULL to remove an
older one.
Parameters
tree_column
A GtkTreeViewColumn
cell_renderer
A GtkCellRenderer
func
The GtkTreeCellDataFunc to use.
[allow-none ]
func_data
The user data for func
.
[closure ]
destroy
The destroy notification for func_data
gtk_tree_view_column_clear_attributes ()
gtk_tree_view_column_clear_attributes
void
gtk_tree_view_column_clear_attributes (GtkTreeViewColumn *tree_column ,
GtkCellRenderer *cell_renderer );
Clears all existing attributes previously set with
gtk_tree_view_column_set_attributes() .
Parameters
tree_column
a GtkTreeViewColumn
cell_renderer
a GtkCellRenderer to clear the attribute mapping on.
gtk_tree_view_column_set_spacing ()
gtk_tree_view_column_set_spacing
void
gtk_tree_view_column_set_spacing (GtkTreeViewColumn *tree_column ,
gint spacing );
Sets the spacing field of tree_column
, which is the number of pixels to
place between cell renderers packed into it.
Parameters
tree_column
A GtkTreeViewColumn .
spacing
distance between cell renderers in pixels.
gtk_tree_view_column_get_spacing ()
gtk_tree_view_column_get_spacing
gint
gtk_tree_view_column_get_spacing (GtkTreeViewColumn *tree_column );
Returns the spacing of tree_column
.
Parameters
tree_column
A GtkTreeViewColumn .
Returns
the spacing of tree_column
.
gtk_tree_view_column_set_visible ()
gtk_tree_view_column_set_visible
void
gtk_tree_view_column_set_visible (GtkTreeViewColumn *tree_column ,
gboolean visible );
Sets the visibility of tree_column
.
Parameters
tree_column
A GtkTreeViewColumn .
visible
TRUE if the tree_column
is visible.
gtk_tree_view_column_get_visible ()
gtk_tree_view_column_get_visible
gboolean
gtk_tree_view_column_get_visible (GtkTreeViewColumn *tree_column );
Returns TRUE if tree_column
is visible.
Parameters
tree_column
A GtkTreeViewColumn .
Returns
whether the column is visible or not. If it is visible, then
the tree will show the column.
gtk_tree_view_column_set_resizable ()
gtk_tree_view_column_set_resizable
void
gtk_tree_view_column_set_resizable (GtkTreeViewColumn *tree_column ,
gboolean resizable );
If resizable
is TRUE , then the user can explicitly resize the column by
grabbing the outer edge of the column button. If resizable is TRUE and
sizing mode of the column is GTK_TREE_VIEW_COLUMN_AUTOSIZE , then the sizing
mode is changed to GTK_TREE_VIEW_COLUMN_GROW_ONLY .
Parameters
tree_column
A GtkTreeViewColumn
resizable
TRUE , if the column can be resized
gtk_tree_view_column_get_resizable ()
gtk_tree_view_column_get_resizable
gboolean
gtk_tree_view_column_get_resizable (GtkTreeViewColumn *tree_column );
Returns TRUE if the tree_column
can be resized by the end user.
Parameters
tree_column
A GtkTreeViewColumn
Returns
TRUE , if the tree_column
can be resized.
gtk_tree_view_column_set_sizing ()
gtk_tree_view_column_set_sizing
void
gtk_tree_view_column_set_sizing (GtkTreeViewColumn *tree_column ,
GtkTreeViewColumnSizing type );
Sets the growth behavior of tree_column
to type
.
Parameters
tree_column
A GtkTreeViewColumn .
type
The GtkTreeViewColumnSizing .
gtk_tree_view_column_get_sizing ()
gtk_tree_view_column_get_sizing
GtkTreeViewColumnSizing
gtk_tree_view_column_get_sizing (GtkTreeViewColumn *tree_column );
Returns the current type of tree_column
.
Parameters
tree_column
A GtkTreeViewColumn .
Returns
The type of tree_column
.
gtk_tree_view_column_get_width ()
gtk_tree_view_column_get_width
gint
gtk_tree_view_column_get_width (GtkTreeViewColumn *tree_column );
Returns the current size of tree_column
in pixels.
Parameters
tree_column
A GtkTreeViewColumn .
Returns
The current width of tree_column
.
gtk_tree_view_column_get_fixed_width ()
gtk_tree_view_column_get_fixed_width
gint
gtk_tree_view_column_get_fixed_width (GtkTreeViewColumn *tree_column );
Gets the fixed width of the column. This may not be the actual displayed
width of the column; for that, use gtk_tree_view_column_get_width() .
Parameters
tree_column
A GtkTreeViewColumn .
Returns
The fixed width of the column.
gtk_tree_view_column_set_fixed_width ()
gtk_tree_view_column_set_fixed_width
void
gtk_tree_view_column_set_fixed_width (GtkTreeViewColumn *tree_column ,
gint fixed_width );
If fixed_width
is not -1, sets the fixed width of tree_column
; otherwise
unsets it. The effective value of fixed_width
is clamped between the
minimum and maximum width of the column; however, the value stored in the
“fixed-width” property is not clamped. If the column sizing is
GTK_TREE_VIEW_COLUMN_GROW_ONLY or GTK_TREE_VIEW_COLUMN_AUTOSIZE , setting
a fixed width overrides the automatically calculated width. Note that
fixed_width
is only a hint to GTK+; the width actually allocated to the
column may be greater or less than requested.
Along with “expand”, the “fixed-width” property changes when the column is
resized by the user.
Parameters
tree_column
A GtkTreeViewColumn .
fixed_width
The new fixed width, in pixels, or -1.
gtk_tree_view_column_set_min_width ()
gtk_tree_view_column_set_min_width
void
gtk_tree_view_column_set_min_width (GtkTreeViewColumn *tree_column ,
gint min_width );
Sets the minimum width of the tree_column
. If min_width
is -1, then the
minimum width is unset.
Parameters
tree_column
A GtkTreeViewColumn .
min_width
The minimum width of the column in pixels, or -1.
gtk_tree_view_column_get_min_width ()
gtk_tree_view_column_get_min_width
gint
gtk_tree_view_column_get_min_width (GtkTreeViewColumn *tree_column );
Returns the minimum width in pixels of the tree_column
, or -1 if no minimum
width is set.
Parameters
tree_column
A GtkTreeViewColumn .
Returns
The minimum width of the tree_column
.
gtk_tree_view_column_set_max_width ()
gtk_tree_view_column_set_max_width
void
gtk_tree_view_column_set_max_width (GtkTreeViewColumn *tree_column ,
gint max_width );
Sets the maximum width of the tree_column
. If max_width
is -1, then the
maximum width is unset. Note, the column can actually be wider than max
width if it’s the last column in a view. In this case, the column expands to
fill any extra space.
Parameters
tree_column
A GtkTreeViewColumn .
max_width
The maximum width of the column in pixels, or -1.
gtk_tree_view_column_get_max_width ()
gtk_tree_view_column_get_max_width
gint
gtk_tree_view_column_get_max_width (GtkTreeViewColumn *tree_column );
Returns the maximum width in pixels of the tree_column
, or -1 if no maximum
width is set.
Parameters
tree_column
A GtkTreeViewColumn .
Returns
The maximum width of the tree_column
.
gtk_tree_view_column_clicked ()
gtk_tree_view_column_clicked
void
gtk_tree_view_column_clicked (GtkTreeViewColumn *tree_column );
Emits the “clicked” signal on the column. This function will only work if
tree_column
is clickable.
Parameters
tree_column
a GtkTreeViewColumn
gtk_tree_view_column_set_title ()
gtk_tree_view_column_set_title
void
gtk_tree_view_column_set_title (GtkTreeViewColumn *tree_column ,
const gchar *title );
Sets the title of the tree_column
. If a custom widget has been set, then
this value is ignored.
Parameters
tree_column
A GtkTreeViewColumn .
title
The title of the tree_column
.
gtk_tree_view_column_get_title ()
gtk_tree_view_column_get_title
const gchar *
gtk_tree_view_column_get_title (GtkTreeViewColumn *tree_column );
Returns the title of the widget.
Parameters
tree_column
A GtkTreeViewColumn .
Returns
the title of the column. This string should not be
modified or freed.
gtk_tree_view_column_set_expand ()
gtk_tree_view_column_set_expand
void
gtk_tree_view_column_set_expand (GtkTreeViewColumn *tree_column ,
gboolean expand );
Sets the column to take available extra space. This space is shared equally
amongst all columns that have the expand set to TRUE . If no column has this
option set, then the last column gets all extra space. By default, every
column is created with this FALSE .
Along with “fixed-width”, the “expand” property changes when the column is
resized by the user.
Parameters
tree_column
A GtkTreeViewColumn .
expand
TRUE if the column should expand to fill available space.
gtk_tree_view_column_get_expand ()
gtk_tree_view_column_get_expand
gboolean
gtk_tree_view_column_get_expand (GtkTreeViewColumn *tree_column );
Returns TRUE if the column expands to fill available space.
Parameters
tree_column
A GtkTreeViewColumn .
Returns
TRUE if the column expands to fill available space.
gtk_tree_view_column_set_clickable ()
gtk_tree_view_column_set_clickable
void
gtk_tree_view_column_set_clickable (GtkTreeViewColumn *tree_column ,
gboolean clickable );
Sets the header to be active if clickable
is TRUE . When the header is
active, then it can take keyboard focus, and can be clicked.
Parameters
tree_column
A GtkTreeViewColumn .
clickable
TRUE if the header is active.
gtk_tree_view_column_get_clickable ()
gtk_tree_view_column_get_clickable
gboolean
gtk_tree_view_column_get_clickable (GtkTreeViewColumn *tree_column );
Returns TRUE if the user can click on the header for the column.
Parameters
tree_column
a GtkTreeViewColumn
Returns
TRUE if user can click the column header.
gtk_tree_view_column_set_widget ()
gtk_tree_view_column_set_widget
void
gtk_tree_view_column_set_widget (GtkTreeViewColumn *tree_column ,
GtkWidget *widget );
Sets the widget in the header to be widget
. If widget is NULL , then the
header button is set with a GtkLabel set to the title of tree_column
.
Parameters
tree_column
A GtkTreeViewColumn .
widget
A child GtkWidget , or NULL .
[allow-none ]
gtk_tree_view_column_get_widget ()
gtk_tree_view_column_get_widget
GtkWidget *
gtk_tree_view_column_get_widget (GtkTreeViewColumn *tree_column );
Returns the GtkWidget in the button on the column header.
If a custom widget has not been set then NULL is returned.
Parameters
tree_column
A GtkTreeViewColumn .
Returns
The GtkWidget in the column
header, or NULL .
[nullable ][transfer none ]
gtk_tree_view_column_get_button ()
gtk_tree_view_column_get_button
GtkWidget *
gtk_tree_view_column_get_button (GtkTreeViewColumn *tree_column );
Returns the button used in the treeview column header
Parameters
tree_column
A GtkTreeViewColumn
Returns
The button for the column header.
[transfer none ]
gtk_tree_view_column_set_alignment ()
gtk_tree_view_column_set_alignment
void
gtk_tree_view_column_set_alignment (GtkTreeViewColumn *tree_column ,
gfloat xalign );
Sets the alignment of the title or custom widget inside the column header.
The alignment determines its location inside the button -- 0.0 for left, 0.5
for center, 1.0 for right.
Parameters
tree_column
A GtkTreeViewColumn .
xalign
The alignment, which is between [0.0 and 1.0] inclusive.
gtk_tree_view_column_get_alignment ()
gtk_tree_view_column_get_alignment
gfloat
gtk_tree_view_column_get_alignment (GtkTreeViewColumn *tree_column );
Returns the current x alignment of tree_column
. This value can range
between 0.0 and 1.0.
Parameters
tree_column
A GtkTreeViewColumn .
Returns
The current alignent of tree_column
.
gtk_tree_view_column_set_reorderable ()
gtk_tree_view_column_set_reorderable
void
gtk_tree_view_column_set_reorderable (GtkTreeViewColumn *tree_column ,
gboolean reorderable );
If reorderable
is TRUE , then the column can be reordered by the end user
dragging the header.
Parameters
tree_column
A GtkTreeViewColumn
reorderable
TRUE , if the column can be reordered.
gtk_tree_view_column_get_reorderable ()
gtk_tree_view_column_get_reorderable
gboolean
gtk_tree_view_column_get_reorderable (GtkTreeViewColumn *tree_column );
Returns TRUE if the tree_column
can be reordered by the user.
Parameters
tree_column
A GtkTreeViewColumn
Returns
TRUE if the tree_column
can be reordered by the user.
gtk_tree_view_column_set_sort_column_id ()
gtk_tree_view_column_set_sort_column_id
void
gtk_tree_view_column_set_sort_column_id
(GtkTreeViewColumn *tree_column ,
gint sort_column_id );
Sets the logical sort_column_id
that this column sorts on when this column
is selected for sorting. Doing so makes the column header clickable.
Parameters
tree_column
a GtkTreeViewColumn
sort_column_id
The sort_column_id
of the model to sort on.
gtk_tree_view_column_get_sort_column_id ()
gtk_tree_view_column_get_sort_column_id
gint
gtk_tree_view_column_get_sort_column_id
(GtkTreeViewColumn *tree_column );
Gets the logical sort_column_id
that the model sorts on when this
column is selected for sorting.
See gtk_tree_view_column_set_sort_column_id() .
Parameters
tree_column
a GtkTreeViewColumn
Returns
the current sort_column_id
for this column, or -1 if
this column can’t be used for sorting.
gtk_tree_view_column_set_sort_indicator ()
gtk_tree_view_column_set_sort_indicator
void
gtk_tree_view_column_set_sort_indicator
(GtkTreeViewColumn *tree_column ,
gboolean setting );
Call this function with a setting
of TRUE to display an arrow in
the header button indicating the column is sorted. Call
gtk_tree_view_column_set_sort_order() to change the direction of
the arrow.
Parameters
tree_column
a GtkTreeViewColumn
setting
TRUE to display an indicator that the column is sorted
gtk_tree_view_column_get_sort_indicator ()
gtk_tree_view_column_get_sort_indicator
gboolean
gtk_tree_view_column_get_sort_indicator
(GtkTreeViewColumn *tree_column );
Gets the value set by gtk_tree_view_column_set_sort_indicator() .
Parameters
tree_column
a GtkTreeViewColumn
Returns
whether the sort indicator arrow is displayed
gtk_tree_view_column_set_sort_order ()
gtk_tree_view_column_set_sort_order
void
gtk_tree_view_column_set_sort_order (GtkTreeViewColumn *tree_column ,
GtkSortType order );
Changes the appearance of the sort indicator.
This does not actually sort the model. Use
gtk_tree_view_column_set_sort_column_id() if you want automatic sorting
support. This function is primarily for custom sorting behavior, and should
be used in conjunction with gtk_tree_sortable_set_sort_column_id() to do
that. For custom models, the mechanism will vary.
The sort indicator changes direction to indicate normal sort or reverse sort.
Note that you must have the sort indicator enabled to see anything when
calling this function; see gtk_tree_view_column_set_sort_indicator() .
Parameters
tree_column
a GtkTreeViewColumn
order
sort order that the sort indicator should indicate
gtk_tree_view_column_get_sort_order ()
gtk_tree_view_column_get_sort_order
GtkSortType
gtk_tree_view_column_get_sort_order (GtkTreeViewColumn *tree_column );
Gets the value set by gtk_tree_view_column_set_sort_order() .
Parameters
tree_column
a GtkTreeViewColumn
Returns
the sort order the sort indicator is indicating
gtk_tree_view_column_cell_set_cell_data ()
gtk_tree_view_column_cell_set_cell_data
void
gtk_tree_view_column_cell_set_cell_data
(GtkTreeViewColumn *tree_column ,
GtkTreeModel *tree_model ,
GtkTreeIter *iter ,
gboolean is_expander ,
gboolean is_expanded );
Sets the cell renderer based on the tree_model
and iter
. That is, for
every attribute mapping in tree_column
, it will get a value from the set
column on the iter
, and use that value to set the attribute on the cell
renderer. This is used primarily by the GtkTreeView .
Parameters
tree_column
A GtkTreeViewColumn .
tree_model
The GtkTreeModel to to get the cell renderers attributes from.
iter
The GtkTreeIter to to get the cell renderer’s attributes from.
is_expander
TRUE , if the row has children
is_expanded
TRUE , if the row has visible children
gtk_tree_view_column_cell_get_size ()
gtk_tree_view_column_cell_get_size
void
gtk_tree_view_column_cell_get_size (GtkTreeViewColumn *tree_column ,
int *x_offset ,
int *y_offset ,
int *width ,
int *height );
Obtains the width and height needed to render the column. This is used
primarily by the GtkTreeView .
Parameters
tree_column
A GtkTreeViewColumn .
x_offset
location to return x offset of a cell relative to cell_area
, or NULL .
[out ][optional ]
y_offset
location to return y offset of a cell relative to cell_area
, or NULL .
[out ][optional ]
width
location to return width needed to render a cell, or NULL .
[out ][optional ]
height
location to return height needed to render a cell, or NULL .
[out ][optional ]
gtk_tree_view_column_cell_get_position ()
gtk_tree_view_column_cell_get_position
gboolean
gtk_tree_view_column_cell_get_position
(GtkTreeViewColumn *tree_column ,
GtkCellRenderer *cell_renderer ,
gint *x_offset ,
gint *width );
Obtains the horizontal position and size of a cell in a column. If the
cell is not found in the column, start_pos
and width
are not changed and
FALSE is returned.
Parameters
tree_column
a GtkTreeViewColumn
cell_renderer
a GtkCellRenderer
x_offset
return location for the horizontal
position of cell
within tree_column
, may be NULL .
[out ][allow-none ]
width
return location for the width of cell
,
may be NULL .
[out ][allow-none ]
Returns
TRUE if cell
belongs to tree_column
.
gtk_tree_view_column_cell_is_visible ()
gtk_tree_view_column_cell_is_visible
gboolean
gtk_tree_view_column_cell_is_visible (GtkTreeViewColumn *tree_column );
Returns TRUE if any of the cells packed into the tree_column
are visible.
For this to be meaningful, you must first initialize the cells with
gtk_tree_view_column_cell_set_cell_data()
Parameters
tree_column
A GtkTreeViewColumn
Returns
TRUE , if any of the cells packed into the tree_column
are currently visible
gtk_tree_view_column_focus_cell ()
gtk_tree_view_column_focus_cell
void
gtk_tree_view_column_focus_cell (GtkTreeViewColumn *tree_column ,
GtkCellRenderer *cell );
Sets the current keyboard focus to be at cell
, if the column contains
2 or more editable and activatable cells.
Parameters
tree_column
A GtkTreeViewColumn
cell
A GtkCellRenderer
gtk_tree_view_column_queue_resize ()
gtk_tree_view_column_queue_resize
void
gtk_tree_view_column_queue_resize (GtkTreeViewColumn *tree_column );
Flags the column, and the cell renderers added to this column, to have
their sizes renegotiated.
Parameters
tree_column
A GtkTreeViewColumn
gtk_tree_view_column_get_tree_view ()
gtk_tree_view_column_get_tree_view
GtkWidget *
gtk_tree_view_column_get_tree_view (GtkTreeViewColumn *tree_column );
Returns the GtkTreeView wherein tree_column
has been inserted.
If column
is currently not inserted in any tree view, NULL is
returned.
Parameters
tree_column
A GtkTreeViewColumn
Returns
The tree view wherein column
has
been inserted if any, NULL otherwise.
[nullable ][transfer none ]
gtk_tree_view_column_get_x_offset ()
gtk_tree_view_column_get_x_offset
gint
gtk_tree_view_column_get_x_offset (GtkTreeViewColumn *tree_column );
Returns the current X offset of tree_column
in pixels.
Parameters
tree_column
A GtkTreeViewColumn .
Returns
The current X offset of tree_column
.
Property Details
The “alignment” property
GtkTreeViewColumn:alignment
“alignment” gfloat
X Alignment of the column header text or widget. Owner: GtkTreeViewColumn
Flags: Read / Write
Allowed values: [0,1]
Default value: 0
The “cell-area” property
GtkTreeViewColumn:cell-area
“cell-area” GtkCellArea *
The GtkCellArea used to layout cell renderers for this column.
If no area is specified when creating the tree view column with gtk_tree_view_column_new_with_area()
a horizontally oriented GtkCellAreaBox will be used.
Owner: GtkTreeViewColumn
Flags: Read / Write / Construct Only
The “clickable” property
GtkTreeViewColumn:clickable
“clickable” gboolean
Whether the header can be clicked. Owner: GtkTreeViewColumn
Flags: Read / Write
Default value: FALSE
The “expand” property
GtkTreeViewColumn:expand
“expand” gboolean
Column gets share of extra width allocated to the widget. Owner: GtkTreeViewColumn
Flags: Read / Write
Default value: FALSE
The “fixed-width” property
GtkTreeViewColumn:fixed-width
“fixed-width” gint
Current fixed width of the column. Owner: GtkTreeViewColumn
Flags: Read / Write
Allowed values: >= -1
Default value: -1
The “max-width” property
GtkTreeViewColumn:max-width
“max-width” gint
Maximum allowed width of the column. Owner: GtkTreeViewColumn
Flags: Read / Write
Allowed values: >= -1
Default value: -1
The “min-width” property
GtkTreeViewColumn:min-width
“min-width” gint
Minimum allowed width of the column. Owner: GtkTreeViewColumn
Flags: Read / Write
Allowed values: >= -1
Default value: -1
The “reorderable” property
GtkTreeViewColumn:reorderable
“reorderable” gboolean
Whether the column can be reordered around the headers. Owner: GtkTreeViewColumn
Flags: Read / Write
Default value: FALSE
The “resizable” property
GtkTreeViewColumn:resizable
“resizable” gboolean
Column is user-resizable. Owner: GtkTreeViewColumn
Flags: Read / Write
Default value: FALSE
The “sizing” property
GtkTreeViewColumn:sizing
“sizing” GtkTreeViewColumnSizing
Resize mode of the column. Owner: GtkTreeViewColumn
Flags: Read / Write
Default value: GTK_TREE_VIEW_COLUMN_GROW_ONLY
The “sort-column-id” property
GtkTreeViewColumn:sort-column-id
“sort-column-id” gint
Logical sort column ID this column sorts on when selected for sorting. Setting the sort column ID makes the column header
clickable. Set to -1 to make the column unsortable.
Owner: GtkTreeViewColumn
Flags: Read / Write
Allowed values: >= -1
Default value: -1
The “sort-indicator” property
GtkTreeViewColumn:sort-indicator
“sort-indicator” gboolean
Whether to show a sort indicator. Owner: GtkTreeViewColumn
Flags: Read / Write
Default value: FALSE
The “sort-order” property
GtkTreeViewColumn:sort-order
“sort-order” GtkSortType
Sort direction the sort indicator should indicate. Owner: GtkTreeViewColumn
Flags: Read / Write
Default value: GTK_SORT_ASCENDING
The “spacing” property
GtkTreeViewColumn:spacing
“spacing” gint
Space which is inserted between cells. Owner: GtkTreeViewColumn
Flags: Read / Write
Allowed values: >= 0
Default value: 0
The “title” property
GtkTreeViewColumn:title
“title” gchar *
Title to appear in column header. Owner: GtkTreeViewColumn
Flags: Read / Write
Default value: ""
The “visible” property
GtkTreeViewColumn:visible
“visible” gboolean
Whether to display the column. Owner: GtkTreeViewColumn
Flags: Read / Write
Default value: TRUE
The “widget” property
GtkTreeViewColumn:widget
“widget” GtkWidget *
Widget to put in column header button instead of column title. Owner: GtkTreeViewColumn
Flags: Read / Write
The “width” property
GtkTreeViewColumn:width
“width” gint
Current width of the column. Owner: GtkTreeViewColumn
Flags: Read
Allowed values: >= 0
Default value: 0
The “x-offset” property
GtkTreeViewColumn:x-offset
“x-offset” gint
Current X position of the column. Owner: GtkTreeViewColumn
Flags: Read
Allowed values: >= -2147483647
Default value: 0
Signal Details
The “clicked” signal
GtkTreeViewColumn::clicked
void
user_function (GtkTreeViewColumn *treeviewcolumn,
gpointer user_data)
Flags: Run Last
See Also
GtkTreeView , GtkTreeSelection , GtkTreeModel , GtkTreeSortable ,
GtkTreeModelSort , GtkListStore , GtkTreeStore , GtkCellRenderer , GtkCellEditable ,
GtkCellRendererPixbuf , GtkCellRendererText , GtkCellRendererToggle ,
GtkTreeView drag-and-drop
docs/reference/gtk/xml/gtkcellareacontext.xml 0000664 0001750 0001750 00000112014 13617646203 021575 0 ustar mclasen mclasen
]>
GtkCellAreaContext
3
GTK4 Library
GtkCellAreaContext
Stores geometrical information for a series of rows in a GtkCellArea
Functions
GtkCellArea *
gtk_cell_area_context_get_area ()
void
gtk_cell_area_context_allocate ()
void
gtk_cell_area_context_reset ()
void
gtk_cell_area_context_get_preferred_width ()
void
gtk_cell_area_context_get_preferred_height ()
void
gtk_cell_area_context_get_preferred_height_for_width ()
void
gtk_cell_area_context_get_preferred_width_for_height ()
void
gtk_cell_area_context_get_allocation ()
void
gtk_cell_area_context_push_preferred_width ()
void
gtk_cell_area_context_push_preferred_height ()
Properties
GtkCellArea * areaRead / Write / Construct Only
gint minimum-heightRead
gint minimum-widthRead
gint natural-heightRead
gint natural-widthRead
Types and Values
struct GtkCellAreaContextClass
GtkCellAreaContext
Object Hierarchy
GObject
╰── GtkCellAreaContext
Includes #include <gtk/gtk.h>
Description
The GtkCellAreaContext object is created by a given GtkCellArea
implementation via its GtkCellAreaClass.create_context() virtual
method and is used to store cell sizes and alignments for a series of
GtkTreeModel rows that are requested and rendered in the same context.
GtkCellLayout widgets can create any number of contexts in which to
request and render groups of data rows. However, it’s important that the
same context which was used to request sizes for a given GtkTreeModel
row also be used for the same row when calling other GtkCellArea APIs
such as gtk_cell_area_render() and gtk_cell_area_event() .
Functions
gtk_cell_area_context_get_area ()
gtk_cell_area_context_get_area
GtkCellArea *
gtk_cell_area_context_get_area (GtkCellAreaContext *context );
Fetches the GtkCellArea this context
was created by.
This is generally unneeded by layouting widgets; however,
it is important for the context implementation itself to
fetch information about the area it is being used for.
For instance at GtkCellAreaContextClass.allocate() time
it’s important to know details about any cell spacing
that the GtkCellArea is configured with in order to
compute a proper allocation.
Parameters
context
a GtkCellAreaContext
Returns
the GtkCellArea this context was created by.
[transfer none ]
gtk_cell_area_context_allocate ()
gtk_cell_area_context_allocate
void
gtk_cell_area_context_allocate (GtkCellAreaContext *context ,
gint width ,
gint height );
Allocates a width and/or a height for all rows which are to be
rendered with context
.
Usually allocation is performed only horizontally or sometimes
vertically since a group of rows are usually rendered side by
side vertically or horizontally and share either the same width
or the same height. Sometimes they are allocated in both horizontal
and vertical orientations producing a homogeneous effect of the
rows. This is generally the case for GtkTreeView when
“fixed-height-mode” is enabled.
Parameters
context
a GtkCellAreaContext
width
the allocated width for all GtkTreeModel rows rendered
with context
, or -1.
height
the allocated height for all GtkTreeModel rows rendered
with context
, or -1.
gtk_cell_area_context_reset ()
gtk_cell_area_context_reset
void
gtk_cell_area_context_reset (GtkCellAreaContext *context );
Resets any previously cached request and allocation
data.
When underlying GtkTreeModel data changes its
important to reset the context if the content
size is allowed to shrink. If the content size
is only allowed to grow (this is usually an option
for views rendering large data stores as a measure
of optimization), then only the row that changed
or was inserted needs to be (re)requested with
gtk_cell_area_get_preferred_width() .
When the new overall size of the context requires
that the allocated size changes (or whenever this
allocation changes at all), the variable row
sizes need to be re-requested for every row.
For instance, if the rows are displayed all with
the same width from top to bottom then a change
in the allocated width necessitates a recalculation
of all the displayed row heights using
gtk_cell_area_get_preferred_height_for_width() .
Parameters
context
a GtkCellAreaContext
gtk_cell_area_context_get_preferred_width ()
gtk_cell_area_context_get_preferred_width
void
gtk_cell_area_context_get_preferred_width
(GtkCellAreaContext *context ,
gint *minimum_width ,
gint *natural_width );
Gets the accumulative preferred width for all rows which have been
requested with this context.
After gtk_cell_area_context_reset() is called and/or before ever
requesting the size of a GtkCellArea , the returned values are 0.
Parameters
context
a GtkCellAreaContext
minimum_width
location to store the minimum width,
or NULL .
[out ][allow-none ]
natural_width
location to store the natural width,
or NULL .
[out ][allow-none ]
gtk_cell_area_context_get_preferred_height ()
gtk_cell_area_context_get_preferred_height
void
gtk_cell_area_context_get_preferred_height
(GtkCellAreaContext *context ,
gint *minimum_height ,
gint *natural_height );
Gets the accumulative preferred height for all rows which have been
requested with this context.
After gtk_cell_area_context_reset() is called and/or before ever
requesting the size of a GtkCellArea , the returned values are 0.
Parameters
context
a GtkCellAreaContext
minimum_height
location to store the minimum height,
or NULL .
[out ][allow-none ]
natural_height
location to store the natural height,
or NULL .
[out ][allow-none ]
gtk_cell_area_context_get_preferred_height_for_width ()
gtk_cell_area_context_get_preferred_height_for_width
void
gtk_cell_area_context_get_preferred_height_for_width
(GtkCellAreaContext *context ,
gint width ,
gint *minimum_height ,
gint *natural_height );
Gets the accumulative preferred height for width
for all rows
which have been requested for the same said width
with this context.
After gtk_cell_area_context_reset() is called and/or before ever
requesting the size of a GtkCellArea , the returned values are -1.
Parameters
context
a GtkCellAreaContext
width
a proposed width for allocation
minimum_height
location to store the minimum height,
or NULL .
[out ][allow-none ]
natural_height
location to store the natural height,
or NULL .
[out ][allow-none ]
gtk_cell_area_context_get_preferred_width_for_height ()
gtk_cell_area_context_get_preferred_width_for_height
void
gtk_cell_area_context_get_preferred_width_for_height
(GtkCellAreaContext *context ,
gint height ,
gint *minimum_width ,
gint *natural_width );
Gets the accumulative preferred width for height
for all rows which
have been requested for the same said height
with this context.
After gtk_cell_area_context_reset() is called and/or before ever
requesting the size of a GtkCellArea , the returned values are -1.
Parameters
context
a GtkCellAreaContext
height
a proposed height for allocation
minimum_width
location to store the minimum width,
or NULL .
[out ][allow-none ]
natural_width
location to store the natural width,
or NULL .
[out ][allow-none ]
gtk_cell_area_context_get_allocation ()
gtk_cell_area_context_get_allocation
void
gtk_cell_area_context_get_allocation (GtkCellAreaContext *context ,
gint *width ,
gint *height );
Fetches the current allocation size for context
.
If the context was not allocated in width or height, or if the
context was recently reset with gtk_cell_area_context_reset() ,
the returned value will be -1.
Parameters
context
a GtkCellAreaContext
width
location to store the allocated width, or NULL .
[out ][allow-none ]
height
location to store the allocated height, or NULL .
[out ][allow-none ]
gtk_cell_area_context_push_preferred_width ()
gtk_cell_area_context_push_preferred_width
void
gtk_cell_area_context_push_preferred_width
(GtkCellAreaContext *context ,
gint minimum_width ,
gint natural_width );
Causes the minimum and/or natural width to grow if the new
proposed sizes exceed the current minimum and natural width.
This is used by GtkCellAreaContext implementations during
the request process over a series of GtkTreeModel rows to
progressively push the requested width over a series of
gtk_cell_area_get_preferred_width() requests.
Parameters
context
a GtkCellAreaContext
minimum_width
the proposed new minimum width for context
natural_width
the proposed new natural width for context
gtk_cell_area_context_push_preferred_height ()
gtk_cell_area_context_push_preferred_height
void
gtk_cell_area_context_push_preferred_height
(GtkCellAreaContext *context ,
gint minimum_height ,
gint natural_height );
Causes the minimum and/or natural height to grow if the new
proposed sizes exceed the current minimum and natural height.
This is used by GtkCellAreaContext implementations during
the request process over a series of GtkTreeModel rows to
progressively push the requested height over a series of
gtk_cell_area_get_preferred_height() requests.
Parameters
context
a GtkCellAreaContext
minimum_height
the proposed new minimum height for context
natural_height
the proposed new natural height for context
Property Details
The “area” property
GtkCellAreaContext:area
“area” GtkCellArea *
The GtkCellArea this context was created by
Owner: GtkCellAreaContext
Flags: Read / Write / Construct Only
The “minimum-height” property
GtkCellAreaContext:minimum-height
“minimum-height” gint
The minimum height for the GtkCellArea in this context
for all GtkTreeModel rows that this context was requested
for using gtk_cell_area_get_preferred_height() .
Owner: GtkCellAreaContext
Flags: Read
Allowed values: >= -1
Default value: -1
The “minimum-width” property
GtkCellAreaContext:minimum-width
“minimum-width” gint
The minimum width for the GtkCellArea in this context
for all GtkTreeModel rows that this context was requested
for using gtk_cell_area_get_preferred_width() .
Owner: GtkCellAreaContext
Flags: Read
Allowed values: >= -1
Default value: -1
The “natural-height” property
GtkCellAreaContext:natural-height
“natural-height” gint
The natural height for the GtkCellArea in this context
for all GtkTreeModel rows that this context was requested
for using gtk_cell_area_get_preferred_height() .
Owner: GtkCellAreaContext
Flags: Read
Allowed values: >= -1
Default value: -1
The “natural-width” property
GtkCellAreaContext:natural-width
“natural-width” gint
The natural width for the GtkCellArea in this context
for all GtkTreeModel rows that this context was requested
for using gtk_cell_area_get_preferred_width() .
Owner: GtkCellAreaContext
Flags: Read
Allowed values: >= -1
Default value: -1
docs/reference/gtk/xml/gtkcellrenderercombo.xml 0000664 0001750 0001750 00000030374 13617646203 022116 0 ustar mclasen mclasen
]>
GtkCellRendererCombo
3
GTK4 Library
GtkCellRendererCombo
Renders a combobox in a cell
Functions
GtkCellRenderer *
gtk_cell_renderer_combo_new ()
Properties
gboolean has-entryRead / Write
GtkTreeModel * modelRead / Write
gint text-columnRead / Write
Signals
void changed Run Last
Types and Values
GtkCellRendererCombo
Object Hierarchy
GObject
╰── GInitiallyUnowned
╰── GtkCellRenderer
╰── GtkCellRendererText
╰── GtkCellRendererCombo
Includes #include <gtk/gtk.h>
Description
GtkCellRendererCombo renders text in a cell like GtkCellRendererText from
which it is derived. But while GtkCellRendererText offers a simple entry to
edit the text, GtkCellRendererCombo offers a GtkComboBox
widget to edit the text. The values to display in the combo box are taken from
the tree model specified in the “model” property.
The combo cell renderer takes care of adding a text cell renderer to the combo
box and sets it to display the column specified by its
“text-column” property. Further properties of the combo box
can be set in a handler for the “editing-started” signal.
The GtkCellRendererCombo cell renderer was added in GTK+ 2.6.
Functions
gtk_cell_renderer_combo_new ()
gtk_cell_renderer_combo_new
GtkCellRenderer *
gtk_cell_renderer_combo_new (void );
Creates a new GtkCellRendererCombo .
Adjust how text is drawn using object properties.
Object properties can be set globally (with g_object_set() ).
Also, with GtkTreeViewColumn , you can bind a property to a value
in a GtkTreeModel . For example, you can bind the “text” property
on the cell renderer to a string value in the model, thus rendering
a different string in each row of the GtkTreeView .
Returns
the new cell renderer
Property Details
The “has-entry” property
GtkCellRendererCombo:has-entry
“has-entry” gboolean
If TRUE , the cell renderer will include an entry and allow to enter
values other than the ones in the popup list.
Owner: GtkCellRendererCombo
Flags: Read / Write
Default value: TRUE
The “model” property
GtkCellRendererCombo:model
“model” GtkTreeModel *
Holds a tree model containing the possible values for the combo box.
Use the text_column property to specify the column holding the values.
Owner: GtkCellRendererCombo
Flags: Read / Write
The “text-column” property
GtkCellRendererCombo:text-column
“text-column” gint
Specifies the model column which holds the possible values for the
combo box.
Note that this refers to the model specified in the model property,
not the model backing the tree view to which
this cell renderer is attached.
GtkCellRendererCombo automatically adds a text cell renderer for
this column to its combo box.
Owner: GtkCellRendererCombo
Flags: Read / Write
Allowed values: >= -1
Default value: -1
Signal Details
The “changed” signal
GtkCellRendererCombo::changed
void
user_function (GtkCellRendererCombo *combo,
gchar *path_string,
GtkTreeIter *new_iter,
gpointer user_data)
This signal is emitted each time after the user selected an item in
the combo box, either by using the mouse or the arrow keys. Contrary
to GtkComboBox, GtkCellRendererCombo::changed is not emitted for
changes made to a selected item in the entry. The argument new_iter
corresponds to the newly selected item in the combo box and it is relative
to the GtkTreeModel set via the model property on GtkCellRendererCombo.
Note that as soon as you change the model displayed in the tree view,
the tree view will immediately cease the editing operating. This
means that you most probably want to refrain from changing the model
until the combo cell renderer emits the edited or editing_canceled signal.
Parameters
combo
the object on which the signal is emitted
path_string
a string of the path identifying the edited cell
(relative to the tree view model)
new_iter
the new iter selected in the combo box
(relative to the combo box model)
user_data
user data set when the signal handler was connected.
Flags: Run Last
docs/reference/gtk/xml/gtkcellrendererspin.xml 0000664 0001750 0001750 00000020164 13617646203 021764 0 ustar mclasen mclasen
]>
GtkCellRendererSpin
3
GTK4 Library
GtkCellRendererSpin
Renders a spin button in a cell
Functions
GtkCellRenderer *
gtk_cell_renderer_spin_new ()
Properties
GtkAdjustment * adjustmentRead / Write
gdouble climb-rateRead / Write
guint digitsRead / Write
Types and Values
GtkCellRendererSpin
Object Hierarchy
GObject
╰── GInitiallyUnowned
╰── GtkCellRenderer
╰── GtkCellRendererText
╰── GtkCellRendererSpin
Includes #include <gtk/gtk.h>
Description
GtkCellRendererSpin renders text in a cell like GtkCellRendererText from
which it is derived. But while GtkCellRendererText offers a simple entry to
edit the text, GtkCellRendererSpin offers a GtkSpinButton widget. Of course,
that means that the text has to be parseable as a floating point number.
The range of the spinbutton is taken from the adjustment property of the
cell renderer, which can be set explicitly or mapped to a column in the
tree model, like all properties of cell renders. GtkCellRendererSpin
also has properties for the “climb-rate” and the number
of “digits” to display. Other GtkSpinButton properties
can be set in a handler for the “editing-started” signal.
The GtkCellRendererSpin cell renderer was added in GTK 2.10.
Functions
gtk_cell_renderer_spin_new ()
gtk_cell_renderer_spin_new
GtkCellRenderer *
gtk_cell_renderer_spin_new (void );
Creates a new GtkCellRendererSpin .
Returns
a new GtkCellRendererSpin
Property Details
The “adjustment” property
GtkCellRendererSpin:adjustment
“adjustment” GtkAdjustment *
The adjustment that holds the value of the spinbutton.
This must be non-NULL for the cell renderer to be editable.
Owner: GtkCellRendererSpin
Flags: Read / Write
The “climb-rate” property
GtkCellRendererSpin:climb-rate
“climb-rate” gdouble
The acceleration rate when you hold down a button.
Owner: GtkCellRendererSpin
Flags: Read / Write
Allowed values: >= 0
Default value: 0
The “digits” property
GtkCellRendererSpin:digits
“digits” guint
The number of decimal places to display.
Owner: GtkCellRendererSpin
Flags: Read / Write
Allowed values: <= 20
Default value: 0
See Also
GtkCellRendererText , GtkSpinButton
docs/reference/gtk/xml/gtkeventcontrollerscroll.xml 0000664 0001750 0001750 00000052767 13617646205 023110 0 ustar mclasen mclasen
]>
GtkEventControllerScroll
3
GTK4 Library
GtkEventControllerScroll
Event controller for scroll events
Functions
GtkEventController *
gtk_event_controller_scroll_new ()
void
gtk_event_controller_scroll_set_flags ()
GtkEventControllerScrollFlags
gtk_event_controller_scroll_get_flags ()
Properties
GtkEventControllerScrollFlags flagsRead / Write
Signals
void decelerate Run First
gboolean scroll Run Last
void scroll-begin Run First
void scroll-end Run First
Types and Values
GtkEventControllerScroll
enum GtkEventControllerScrollFlags
Object Hierarchy
GObject
╰── GtkEventController
╰── GtkEventControllerScroll
Includes #include <gtk/gtk.h>
Description
GtkEventControllerScroll is an event controller meant to handle
scroll events from mice and touchpads. It is capable of handling
both discrete and continuous scroll events, abstracting them both
on the “scroll” signal (deltas in the
discrete case are multiples of 1).
In the case of continuous scroll events, GtkEventControllerScroll
encloses all “scroll” events between two
“scroll-begin” and “scroll-end”
signals.
The behavior of the event controller can be modified by the
flags given at creation time, or modified at a later point through
gtk_event_controller_scroll_set_flags() (e.g. because the scrolling
conditions of the widget changed).
The controller can be set up to emit motion for either/both vertical
and horizontal scroll events through GTK_EVENT_CONTROLLER_SCROLL_VERTICAL ,
GTK_EVENT_CONTROLLER_SCROLL_HORIZONTAL and GTK_EVENT_CONTROLLER_SCROLL_BOTH .
If any axis is disabled, the respective “scroll”
delta will be 0. Vertical scroll events will be translated to horizontal
motion for the devices incapable of horizontal scrolling.
The event controller can also be forced to emit discrete events on all devices
through GTK_EVENT_CONTROLLER_SCROLL_DISCRETE . This can be used to implement
discrete actions triggered through scroll events (e.g. switching across
combobox options).
The GTK_EVENT_CONTROLLER_SCROLL_KINETIC flag toggles the emission of the
“decelerate” signal, emitted at the end of scrolling
with two X/Y velocity arguments that are consistent with the motion that
was received.
Functions
gtk_event_controller_scroll_new ()
gtk_event_controller_scroll_new
GtkEventController *
gtk_event_controller_scroll_new (GtkEventControllerScrollFlags flags );
Creates a new event controller that will handle scroll events.
Parameters
flags
behavior flags
Returns
a new GtkEventControllerScroll
gtk_event_controller_scroll_set_flags ()
gtk_event_controller_scroll_set_flags
void
gtk_event_controller_scroll_set_flags (GtkEventControllerScroll *scroll ,
GtkEventControllerScrollFlags flags );
Sets the flags conditioning scroll controller behavior.
Parameters
scroll
a GtkEventControllerScroll
flags
behavior flags
gtk_event_controller_scroll_get_flags ()
gtk_event_controller_scroll_get_flags
GtkEventControllerScrollFlags
gtk_event_controller_scroll_get_flags (GtkEventControllerScroll *scroll );
Gets the flags conditioning the scroll controller behavior.
Parameters
scroll
a GtkEventControllerScroll
Returns
the controller flags.
Property Details
The “flags” property
GtkEventControllerScroll:flags
“flags” GtkEventControllerScrollFlags
The flags affecting event controller behavior
Owner: GtkEventControllerScroll
Flags: Read / Write
Signal Details
The “decelerate” signal
GtkEventControllerScroll::decelerate
void
user_function (GtkEventControllerScroll *controller,
gdouble vel_x,
gdouble vel_y,
gpointer user_data)
Emitted after scroll is finished if the GTK_EVENT_CONTROLLER_SCROLL_KINETIC
flag is set. vel_x
and vel_y
express the initial velocity that was
imprinted by the scroll events. vel_x
and vel_y
are expressed in
pixels/ms.
Parameters
controller
The object that received the signal
vel_x
X velocity
vel_y
Y velocity
user_data
user data set when the signal handler was connected.
Flags: Run First
The “scroll” signal
GtkEventControllerScroll::scroll
gboolean
user_function (GtkEventControllerScroll *controller,
gdouble dx,
gdouble dy,
gpointer user_data)
Signals that the widget should scroll by the
amount specified by dx
and dy
.
Parameters
controller
The object that received the signal
dx
X delta
dy
Y delta
user_data
user data set when the signal handler was connected.
Returns
TRUE if the scroll event was handled, FALSE otherwise.
Flags: Run Last
The “scroll-begin” signal
GtkEventControllerScroll::scroll-begin
void
user_function (GtkEventControllerScroll *controller,
gpointer user_data)
Signals that a new scrolling operation has begun. It will
only be emitted on devices capable of it.
Parameters
controller
The object that received the signal
user_data
user data set when the signal handler was connected.
Flags: Run First
The “scroll-end” signal
GtkEventControllerScroll::scroll-end
void
user_function (GtkEventControllerScroll *controller,
gpointer user_data)
Signals that a new scrolling operation has finished. It will
only be emitted on devices capable of it.
Parameters
controller
The object that received the signal
user_data
user data set when the signal handler was connected.
Flags: Run First
See Also
GtkEventController
docs/reference/gtk/xml/gtkcellrendererpixbuf.xml 0000664 0001750 0001750 00000026635 13617646203 022321 0 ustar mclasen mclasen
]>
GtkCellRendererPixbuf
3
GTK4 Library
GtkCellRendererPixbuf
Renders a pixbuf in a cell
Functions
GtkCellRenderer *
gtk_cell_renderer_pixbuf_new ()
Properties
GIcon * giconRead / Write
gchar * icon-nameRead / Write
GtkIconSize icon-sizeRead / Write
GdkPixbuf * pixbufWrite
GdkPixbuf * pixbuf-expander-closedRead / Write
GdkPixbuf * pixbuf-expander-openRead / Write
GdkTexture * textureRead / Write
Types and Values
GtkCellRendererPixbuf
Object Hierarchy
GObject
╰── GInitiallyUnowned
╰── GtkCellRenderer
╰── GtkCellRendererPixbuf
Includes #include <gtk/gtk.h>
Description
A GtkCellRendererPixbuf can be used to render an image in a cell. It allows
to render either a given GdkPixbuf (set via the
“pixbuf” property) or a named icon (set via the
“icon-name” property).
To support the tree view, GtkCellRendererPixbuf also supports rendering two
alternative pixbufs, when the “is-expander” property is TRUE .
If the “is-expanded” property is TRUE and the
“pixbuf-expander-open” property is set to a pixbuf, it
renders that pixbuf, if the “is-expanded” property is FALSE
and the “pixbuf-expander-closed” property is set to a
pixbuf, it renders that one.
Functions
gtk_cell_renderer_pixbuf_new ()
gtk_cell_renderer_pixbuf_new
GtkCellRenderer *
gtk_cell_renderer_pixbuf_new (void );
Creates a new GtkCellRendererPixbuf . Adjust rendering
parameters using object properties. Object properties can be set
globally (with g_object_set() ). Also, with GtkTreeViewColumn , you
can bind a property to a value in a GtkTreeModel . For example, you
can bind the “pixbuf” property on the cell renderer to a pixbuf value
in the model, thus rendering a different image in each row of the
GtkTreeView .
Returns
the new cell renderer
Property Details
The “gicon” property
GtkCellRendererPixbuf:gicon
“gicon” GIcon *
The GIcon representing the icon to display.
If the icon theme is changed, the image will be updated
automatically.
Owner: GtkCellRendererPixbuf
Flags: Read / Write
The “icon-name” property
GtkCellRendererPixbuf:icon-name
“icon-name” gchar *
The name of the themed icon to display.
This property only has an effect if not overridden by the "pixbuf" property.
Owner: GtkCellRendererPixbuf
Flags: Read / Write
Default value: NULL
The “icon-size” property
GtkCellRendererPixbuf:icon-size
“icon-size” GtkIconSize
The GtkIconSize value that specifies the size of the rendered icon.
Owner: GtkCellRendererPixbuf
Flags: Read / Write
Default value: GTK_ICON_SIZE_INHERIT
The “pixbuf” property
GtkCellRendererPixbuf:pixbuf
“pixbuf” GdkPixbuf *
The pixbuf to render. Owner: GtkCellRendererPixbuf
Flags: Write
The “pixbuf-expander-closed” property
GtkCellRendererPixbuf:pixbuf-expander-closed
“pixbuf-expander-closed” GdkPixbuf *
Pixbuf for closed expander. Owner: GtkCellRendererPixbuf
Flags: Read / Write
The “pixbuf-expander-open” property
GtkCellRendererPixbuf:pixbuf-expander-open
“pixbuf-expander-open” GdkPixbuf *
Pixbuf for open expander. Owner: GtkCellRendererPixbuf
Flags: Read / Write
The “texture” property
GtkCellRendererPixbuf:texture
“texture” GdkTexture *
The texture to render. Owner: GtkCellRendererPixbuf
Flags: Read / Write
docs/reference/gtk/xml/gtkgesturelongpress.xml 0000664 0001750 0001750 00000027771 13617646205 022054 0 ustar mclasen mclasen
]>
GtkGestureLongPress
3
GTK4 Library
GtkGestureLongPress
"Press and Hold" gesture
Functions
GtkGesture *
gtk_gesture_long_press_new ()
void
gtk_gesture_long_press_set_delay_factor ()
double
gtk_gesture_long_press_get_delay_factor ()
Properties
gdouble delay-factorRead / Write
Signals
void cancelled Run Last
void pressed Run Last
Types and Values
GtkGestureLongPress
Object Hierarchy
GObject
╰── GtkEventController
╰── GtkGesture
╰── GtkGestureSingle
╰── GtkGestureLongPress
Includes #include <gtk/gtk.h>
Description
GtkGestureLongPress is a GtkGesture implementation able to recognize
long presses, triggering the “pressed” after the
timeout is exceeded.
If the touchpoint is lifted before the timeout passes, or if it drifts
too far of the initial press point, the “cancelled”
signal will be emitted.
Functions
gtk_gesture_long_press_new ()
gtk_gesture_long_press_new
GtkGesture *
gtk_gesture_long_press_new (void );
Returns a newly created GtkGesture that recognizes long presses.
Returns
a newly created GtkGestureLongPress
gtk_gesture_long_press_set_delay_factor ()
gtk_gesture_long_press_set_delay_factor
void
gtk_gesture_long_press_set_delay_factor
(GtkGestureLongPress *gesture ,
double delay_factor );
gtk_gesture_long_press_get_delay_factor ()
gtk_gesture_long_press_get_delay_factor
double
gtk_gesture_long_press_get_delay_factor
(GtkGestureLongPress *gesture );
Property Details
The “delay-factor” property
GtkGestureLongPress:delay-factor
“delay-factor” gdouble
Factor by which to modify the default timeout. Owner: GtkGestureLongPress
Flags: Read / Write
Allowed values: [0.5,2]
Default value: 1
Signal Details
The “cancelled” signal
GtkGestureLongPress::cancelled
void
user_function (GtkGestureLongPress *gesture,
gpointer user_data)
This signal is emitted whenever a press moved too far, or was released
before “pressed” happened.
Parameters
gesture
the object which received the signal
user_data
user data set when the signal handler was connected.
Flags: Run Last
The “pressed” signal
GtkGestureLongPress::pressed
void
user_function (GtkGestureLongPress *gesture,
gdouble x,
gdouble y,
gpointer user_data)
This signal is emitted whenever a press goes unmoved/unreleased longer than
what the GTK+ defaults tell.
Parameters
gesture
the object which received the signal
x
the X coordinate where the press happened, relative to the widget allocation
y
the Y coordinate where the press happened, relative to the widget allocation
user_data
user data set when the signal handler was connected.
Flags: Run Last
docs/reference/gtk/xml/gtkcellrenderertext.xml 0000664 0001750 0001750 00000140323 13617646203 021777 0 ustar mclasen mclasen
]>
GtkCellRendererText
3
GTK4 Library
GtkCellRendererText
Renders text in a cell
Functions
GtkCellRenderer *
gtk_cell_renderer_text_new ()
void
gtk_cell_renderer_text_set_fixed_height_from_font ()
Properties
gboolean align-setRead / Write
PangoAlignment alignmentRead / Write
PangoAttrList * attributesRead / Write
gchar * backgroundWrite
GdkRGBA * background-rgbaRead / Write
gboolean background-setRead / Write
gboolean editableRead / Write
gboolean editable-setRead / Write
PangoEllipsizeMode ellipsizeRead / Write
gboolean ellipsize-setRead / Write
gchar * familyRead / Write
gboolean family-setRead / Write
gchar * fontRead / Write
PangoFontDescription * font-descRead / Write
gchar * foregroundWrite
GdkRGBA * foreground-rgbaRead / Write
gboolean foreground-setRead / Write
gchar * languageRead / Write
gboolean language-setRead / Write
gchar * markupWrite
gint max-width-charsRead / Write
gchar * placeholder-textRead / Write
gint riseRead / Write
gboolean rise-setRead / Write
gdouble scaleRead / Write
gboolean scale-setRead / Write
gboolean single-paragraph-modeRead / Write
gint sizeRead / Write
gdouble size-pointsRead / Write
gboolean size-setRead / Write
PangoStretch stretchRead / Write
gboolean stretch-setRead / Write
gboolean strikethroughRead / Write
gboolean strikethrough-setRead / Write
PangoStyle styleRead / Write
gboolean style-setRead / Write
gchar * textRead / Write
PangoUnderline underlineRead / Write
gboolean underline-setRead / Write
PangoVariant variantRead / Write
gboolean variant-setRead / Write
gint weightRead / Write
gboolean weight-setRead / Write
gint width-charsRead / Write
PangoWrapMode wrap-modeRead / Write
gint wrap-widthRead / Write
Signals
void edited Run Last
Types and Values
struct GtkCellRendererText
Object Hierarchy
GObject
╰── GInitiallyUnowned
╰── GtkCellRenderer
╰── GtkCellRendererText
├── GtkCellRendererAccel
├── GtkCellRendererCombo
╰── GtkCellRendererSpin
Includes #include <gtk/gtk.h>
Description
A GtkCellRendererText renders a given text in its cell, using the font, color and
style information provided by its properties. The text will be ellipsized if it is
too long and the “ellipsize” property allows it.
If the “mode” is GTK_CELL_RENDERER_MODE_EDITABLE ,
the GtkCellRendererText allows to edit its text using an entry.
Functions
gtk_cell_renderer_text_new ()
gtk_cell_renderer_text_new
GtkCellRenderer *
gtk_cell_renderer_text_new (void );
Creates a new GtkCellRendererText . Adjust how text is drawn using
object properties. Object properties can be
set globally (with g_object_set() ). Also, with GtkTreeViewColumn ,
you can bind a property to a value in a GtkTreeModel . For example,
you can bind the “text” property on the cell renderer to a string
value in the model, thus rendering a different string in each row
of the GtkTreeView
Returns
the new cell renderer
gtk_cell_renderer_text_set_fixed_height_from_font ()
gtk_cell_renderer_text_set_fixed_height_from_font
void
gtk_cell_renderer_text_set_fixed_height_from_font
(GtkCellRendererText *renderer ,
gint number_of_rows );
Sets the height of a renderer to explicitly be determined by the “font” and
“y_pad” property set on it. Further changes in these properties do not
affect the height, so they must be accompanied by a subsequent call to this
function. Using this function is unflexible, and should really only be used
if calculating the size of a cell is too slow (ie, a massive number of cells
displayed). If number_of_rows
is -1, then the fixed height is unset, and
the height is determined by the properties again.
Parameters
renderer
A GtkCellRendererText
number_of_rows
Number of rows of text each cell renderer is allocated, or -1
Property Details
The “align-set” property
GtkCellRendererText:align-set
“align-set” gboolean
Whether this tag affects the alignment mode. Owner: GtkCellRendererText
Flags: Read / Write
Default value: FALSE
The “alignment” property
GtkCellRendererText:alignment
“alignment” PangoAlignment
Specifies how to align the lines of text with respect to each other.
Note that this property describes how to align the lines of text in
case there are several of them. The "xalign" property of GtkCellRenderer ,
on the other hand, sets the horizontal alignment of the whole text.
Owner: GtkCellRendererText
Flags: Read / Write
Default value: PANGO_ALIGN_LEFT
The “attributes” property
GtkCellRendererText:attributes
“attributes” PangoAttrList *
A list of style attributes to apply to the text of the renderer. Owner: GtkCellRendererText
Flags: Read / Write
The “background” property
GtkCellRendererText:background
“background” gchar *
Background color as a string. Owner: GtkCellRendererText
Flags: Write
Default value: NULL
The “background-rgba” property
GtkCellRendererText:background-rgba
“background-rgba” GdkRGBA *
Background color as a GdkRGBA
Owner: GtkCellRendererText
Flags: Read / Write
The “background-set” property
GtkCellRendererText:background-set
“background-set” gboolean
Whether this tag affects the background color. Owner: GtkCellRendererText
Flags: Read / Write
Default value: FALSE
The “editable” property
GtkCellRendererText:editable
“editable” gboolean
Whether the text can be modified by the user. Owner: GtkCellRendererText
Flags: Read / Write
Default value: FALSE
The “editable-set” property
GtkCellRendererText:editable-set
“editable-set” gboolean
Whether this tag affects text editability. Owner: GtkCellRendererText
Flags: Read / Write
Default value: FALSE
The “ellipsize” property
GtkCellRendererText:ellipsize
“ellipsize” PangoEllipsizeMode
Specifies the preferred place to ellipsize the string, if the cell renderer
does not have enough room to display the entire string. Setting it to
PANGO_ELLIPSIZE_NONE turns off ellipsizing. See the wrap-width property
for another way of making the text fit into a given width.
Owner: GtkCellRendererText
Flags: Read / Write
Default value: PANGO_ELLIPSIZE_NONE
The “ellipsize-set” property
GtkCellRendererText:ellipsize-set
“ellipsize-set” gboolean
Whether this tag affects the ellipsize mode. Owner: GtkCellRendererText
Flags: Read / Write
Default value: FALSE
The “family” property
GtkCellRendererText:family
“family” gchar *
Name of the font family, e.g. Sans, Helvetica, Times, Monospace. Owner: GtkCellRendererText
Flags: Read / Write
Default value: NULL
The “family-set” property
GtkCellRendererText:family-set
“family-set” gboolean
Whether this tag affects the font family. Owner: GtkCellRendererText
Flags: Read / Write
Default value: FALSE
The “font” property
GtkCellRendererText:font
“font” gchar *
Font description as a string, e.g. “Sans Italic 12”. Owner: GtkCellRendererText
Flags: Read / Write
Default value: NULL
The “font-desc” property
GtkCellRendererText:font-desc
“font-desc” PangoFontDescription *
Font description as a PangoFontDescription struct. Owner: GtkCellRendererText
Flags: Read / Write
The “foreground” property
GtkCellRendererText:foreground
“foreground” gchar *
Foreground color as a string. Owner: GtkCellRendererText
Flags: Write
Default value: NULL
The “foreground-rgba” property
GtkCellRendererText:foreground-rgba
“foreground-rgba” GdkRGBA *
Foreground color as a GdkRGBA
Owner: GtkCellRendererText
Flags: Read / Write
The “foreground-set” property
GtkCellRendererText:foreground-set
“foreground-set” gboolean
Whether this tag affects the foreground color. Owner: GtkCellRendererText
Flags: Read / Write
Default value: FALSE
The “language” property
GtkCellRendererText:language
“language” gchar *
The language this text is in, as an ISO code. Pango can use this as a hint when rendering the text. If you don’t understand this parameter, you probably don’t need it. Owner: GtkCellRendererText
Flags: Read / Write
Default value: NULL
The “language-set” property
GtkCellRendererText:language-set
“language-set” gboolean
Whether this tag affects the language the text is rendered as. Owner: GtkCellRendererText
Flags: Read / Write
Default value: FALSE
The “markup” property
GtkCellRendererText:markup
“markup” gchar *
Marked up text to render. Owner: GtkCellRendererText
Flags: Write
Default value: NULL
The “max-width-chars” property
GtkCellRendererText:max-width-chars
“max-width-chars” gint
The desired maximum width of the cell, in characters. If this property
is set to -1, the width will be calculated automatically.
For cell renderers that ellipsize or wrap text; this property
controls the maximum reported width of the cell. The
cell should not receive any greater allocation unless it is
set to expand in its GtkCellLayout and all of the cell's siblings
have received their natural width.
Owner: GtkCellRendererText
Flags: Read / Write
Allowed values: >= -1
Default value: -1
The “placeholder-text” property
GtkCellRendererText:placeholder-text
“placeholder-text” gchar *
The text that will be displayed in the GtkCellRenderer if
“editable” is TRUE and the cell is empty.
Owner: GtkCellRendererText
Flags: Read / Write
Default value: NULL
The “rise” property
GtkCellRendererText:rise
“rise” gint
Offset of text above the baseline (below the baseline if rise is negative). Owner: GtkCellRendererText
Flags: Read / Write
Allowed values: >= -2147483647
Default value: 0
The “rise-set” property
GtkCellRendererText:rise-set
“rise-set” gboolean
Whether this tag affects the rise. Owner: GtkCellRendererText
Flags: Read / Write
Default value: FALSE
The “scale” property
GtkCellRendererText:scale
“scale” gdouble
Font scaling factor. Owner: GtkCellRendererText
Flags: Read / Write
Allowed values: >= 0
Default value: 1
The “scale-set” property
GtkCellRendererText:scale-set
“scale-set” gboolean
Whether this tag scales the font size by a factor. Owner: GtkCellRendererText
Flags: Read / Write
Default value: FALSE
The “single-paragraph-mode” property
GtkCellRendererText:single-paragraph-mode
“single-paragraph-mode” gboolean
Whether to keep all text in a single paragraph. Owner: GtkCellRendererText
Flags: Read / Write
Default value: FALSE
The “size” property
GtkCellRendererText:size
“size” gint
Font size. Owner: GtkCellRendererText
Flags: Read / Write
Allowed values: >= 0
Default value: 0
The “size-points” property
GtkCellRendererText:size-points
“size-points” gdouble
Font size in points. Owner: GtkCellRendererText
Flags: Read / Write
Allowed values: >= 0
Default value: 0
The “size-set” property
GtkCellRendererText:size-set
“size-set” gboolean
Whether this tag affects the font size. Owner: GtkCellRendererText
Flags: Read / Write
Default value: FALSE
The “stretch” property
GtkCellRendererText:stretch
“stretch” PangoStretch
Font stretch. Owner: GtkCellRendererText
Flags: Read / Write
Default value: PANGO_STRETCH_NORMAL
The “stretch-set” property
GtkCellRendererText:stretch-set
“stretch-set” gboolean
Whether this tag affects the font stretch. Owner: GtkCellRendererText
Flags: Read / Write
Default value: FALSE
The “strikethrough” property
GtkCellRendererText:strikethrough
“strikethrough” gboolean
Whether to strike through the text. Owner: GtkCellRendererText
Flags: Read / Write
Default value: FALSE
The “strikethrough-set” property
GtkCellRendererText:strikethrough-set
“strikethrough-set” gboolean
Whether this tag affects strikethrough. Owner: GtkCellRendererText
Flags: Read / Write
Default value: FALSE
The “style” property
GtkCellRendererText:style
“style” PangoStyle
Font style. Owner: GtkCellRendererText
Flags: Read / Write
Default value: PANGO_STYLE_NORMAL
The “style-set” property
GtkCellRendererText:style-set
“style-set” gboolean
Whether this tag affects the font style. Owner: GtkCellRendererText
Flags: Read / Write
Default value: FALSE
The “text” property
GtkCellRendererText:text
“text” gchar *
Text to render. Owner: GtkCellRendererText
Flags: Read / Write
Default value: NULL
The “underline” property
GtkCellRendererText:underline
“underline” PangoUnderline
Style of underline for this text. Owner: GtkCellRendererText
Flags: Read / Write
Default value: PANGO_UNDERLINE_NONE
The “underline-set” property
GtkCellRendererText:underline-set
“underline-set” gboolean
Whether this tag affects underlining. Owner: GtkCellRendererText
Flags: Read / Write
Default value: FALSE
The “variant” property
GtkCellRendererText:variant
“variant” PangoVariant
Font variant. Owner: GtkCellRendererText
Flags: Read / Write
Default value: PANGO_VARIANT_NORMAL
The “variant-set” property
GtkCellRendererText:variant-set
“variant-set” gboolean
Whether this tag affects the font variant. Owner: GtkCellRendererText
Flags: Read / Write
Default value: FALSE
The “weight” property
GtkCellRendererText:weight
“weight” gint
Font weight. Owner: GtkCellRendererText
Flags: Read / Write
Allowed values: >= 0
Default value: 400
The “weight-set” property
GtkCellRendererText:weight-set
“weight-set” gboolean
Whether this tag affects the font weight. Owner: GtkCellRendererText
Flags: Read / Write
Default value: FALSE
The “width-chars” property
GtkCellRendererText:width-chars
“width-chars” gint
The desired width of the cell, in characters. If this property is set to
-1, the width will be calculated automatically, otherwise the cell will
request either 3 characters or the property value, whichever is greater.
Owner: GtkCellRendererText
Flags: Read / Write
Allowed values: >= -1
Default value: -1
The “wrap-mode” property
GtkCellRendererText:wrap-mode
“wrap-mode” PangoWrapMode
Specifies how to break the string into multiple lines, if the cell
renderer does not have enough room to display the entire string.
This property has no effect unless the wrap-width property is set.
Owner: GtkCellRendererText
Flags: Read / Write
Default value: PANGO_WRAP_CHAR
The “wrap-width” property
GtkCellRendererText:wrap-width
“wrap-width” gint
Specifies the minimum width at which the text is wrapped. The wrap-mode property can
be used to influence at what character positions the line breaks can be placed.
Setting wrap-width to -1 turns wrapping off.
Owner: GtkCellRendererText
Flags: Read / Write
Allowed values: >= -1
Default value: -1
Signal Details
The “edited” signal
GtkCellRendererText::edited
void
user_function (GtkCellRendererText *renderer,
gchar *path,
gchar *new_text,
gpointer user_data)
This signal is emitted after renderer
has been edited.
It is the responsibility of the application to update the model
and store new_text
at the position indicated by path
.
Parameters
renderer
the object which received the signal
path
the path identifying the edited cell
new_text
the new text
user_data
user data set when the signal handler was connected.
Flags: Run Last
docs/reference/gtk/xml/gtkeventcontrollerlegacy.xml 0000664 0001750 0001750 00000015410 13617646205 023036 0 ustar mclasen mclasen
]>
GtkEventControllerLegacy
3
GTK4 Library
GtkEventControllerLegacy
Event controller for miscellaneous events
Functions
GtkEventController *
gtk_event_controller_legacy_new ()
Signals
gboolean event Run Last
Types and Values
GtkEventControllerLegacy
Object Hierarchy
GObject
╰── GtkEventController
╰── GtkEventControllerLegacy
Includes #include <gtk/gtk.h>
Description
GtkEventControllerLegacy is an event controller that gives you
direct access to the event stream. It should only be used as a
last resort if none of the other event controllers or gestures
do the job.
Functions
gtk_event_controller_legacy_new ()
gtk_event_controller_legacy_new
GtkEventController *
gtk_event_controller_legacy_new (void );
Creates a new legacy event controller.
Returns
the newly created event controller.
Signal Details
The “event” signal
GtkEventControllerLegacy::event
gboolean
user_function (GtkEventControllerLegacy *controller,
GdkEvent *event,
gpointer user_data)
Emitted for each GDK event delivered to controller
.
Parameters
controller
the object which received the signal.
event
the GdkEvent which triggered this signal
user_data
user data set when the signal handler was connected.
Returns
TRUE to stop other handlers from being invoked for the event
and the emission of this signal. FALSE to propagate the event further.
Flags: Run Last
See Also
GtkEventController
docs/reference/gtk/xml/gtkcellrenderertoggle.xml 0000664 0001750 0001750 00000054412 13617646203 022277 0 ustar mclasen mclasen
]>
GtkCellRendererToggle
3
GTK4 Library
GtkCellRendererToggle
Renders a toggle button in a cell
Functions
GtkCellRenderer *
gtk_cell_renderer_toggle_new ()
gboolean
gtk_cell_renderer_toggle_get_radio ()
void
gtk_cell_renderer_toggle_set_radio ()
gboolean
gtk_cell_renderer_toggle_get_active ()
void
gtk_cell_renderer_toggle_set_active ()
gboolean
gtk_cell_renderer_toggle_get_activatable ()
void
gtk_cell_renderer_toggle_set_activatable ()
Properties
gboolean activatableRead / Write
gboolean activeRead / Write
gboolean inconsistentRead / Write
gboolean radioRead / Write
Signals
void toggled Run Last
Types and Values
GtkCellRendererToggle
Object Hierarchy
GObject
╰── GInitiallyUnowned
╰── GtkCellRenderer
╰── GtkCellRendererToggle
Includes #include <gtk/gtk.h>
Description
GtkCellRendererToggle renders a toggle button in a cell. The
button is drawn as a radio or a checkbutton, depending on the
“radio” property.
When activated, it emits the “toggled” signal.
Functions
gtk_cell_renderer_toggle_new ()
gtk_cell_renderer_toggle_new
GtkCellRenderer *
gtk_cell_renderer_toggle_new (void );
Creates a new GtkCellRendererToggle . Adjust rendering
parameters using object properties. Object properties can be set
globally (with g_object_set() ). Also, with GtkTreeViewColumn , you
can bind a property to a value in a GtkTreeModel . For example, you
can bind the “active” property on the cell renderer to a boolean value
in the model, thus causing the check button to reflect the state of
the model.
Returns
the new cell renderer
gtk_cell_renderer_toggle_get_radio ()
gtk_cell_renderer_toggle_get_radio
gboolean
gtk_cell_renderer_toggle_get_radio (GtkCellRendererToggle *toggle );
Returns whether we’re rendering radio toggles rather than checkboxes.
Parameters
toggle
a GtkCellRendererToggle
Returns
TRUE if we’re rendering radio toggles rather than checkboxes
gtk_cell_renderer_toggle_set_radio ()
gtk_cell_renderer_toggle_set_radio
void
gtk_cell_renderer_toggle_set_radio (GtkCellRendererToggle *toggle ,
gboolean radio );
If radio
is TRUE , the cell renderer renders a radio toggle
(i.e. a toggle in a group of mutually-exclusive toggles).
If FALSE , it renders a check toggle (a standalone boolean option).
This can be set globally for the cell renderer, or changed just
before rendering each cell in the model (for GtkTreeView , you set
up a per-row setting using GtkTreeViewColumn to associate model
columns with cell renderer properties).
Parameters
toggle
a GtkCellRendererToggle
radio
TRUE to make the toggle look like a radio button
gtk_cell_renderer_toggle_get_active ()
gtk_cell_renderer_toggle_get_active
gboolean
gtk_cell_renderer_toggle_get_active (GtkCellRendererToggle *toggle );
Returns whether the cell renderer is active. See
gtk_cell_renderer_toggle_set_active() .
Parameters
toggle
a GtkCellRendererToggle
Returns
TRUE if the cell renderer is active.
gtk_cell_renderer_toggle_set_active ()
gtk_cell_renderer_toggle_set_active
void
gtk_cell_renderer_toggle_set_active (GtkCellRendererToggle *toggle ,
gboolean setting );
Activates or deactivates a cell renderer.
Parameters
toggle
a GtkCellRendererToggle .
setting
the value to set.
gtk_cell_renderer_toggle_get_activatable ()
gtk_cell_renderer_toggle_get_activatable
gboolean
gtk_cell_renderer_toggle_get_activatable
(GtkCellRendererToggle *toggle );
Returns whether the cell renderer is activatable. See
gtk_cell_renderer_toggle_set_activatable() .
Parameters
toggle
a GtkCellRendererToggle
Returns
TRUE if the cell renderer is activatable.
gtk_cell_renderer_toggle_set_activatable ()
gtk_cell_renderer_toggle_set_activatable
void
gtk_cell_renderer_toggle_set_activatable
(GtkCellRendererToggle *toggle ,
gboolean setting );
Makes the cell renderer activatable.
Parameters
toggle
a GtkCellRendererToggle .
setting
the value to set.
Property Details
The “activatable” property
GtkCellRendererToggle:activatable
“activatable” gboolean
The toggle button can be activated. Owner: GtkCellRendererToggle
Flags: Read / Write
Default value: TRUE
The “active” property
GtkCellRendererToggle:active
“active” gboolean
The toggle state of the button. Owner: GtkCellRendererToggle
Flags: Read / Write
Default value: FALSE
The “inconsistent” property
GtkCellRendererToggle:inconsistent
“inconsistent” gboolean
The inconsistent state of the button. Owner: GtkCellRendererToggle
Flags: Read / Write
Default value: FALSE
The “radio” property
GtkCellRendererToggle:radio
“radio” gboolean
Draw the toggle button as a radio button. Owner: GtkCellRendererToggle
Flags: Read / Write
Default value: FALSE
Signal Details
The “toggled” signal
GtkCellRendererToggle::toggled
void
user_function (GtkCellRendererToggle *cell_renderer,
gchar *path,
gpointer user_data)
The ::toggled signal is emitted when the cell is toggled.
It is the responsibility of the application to update the model
with the correct value to store at path
. Often this is simply the
opposite of the value currently stored at path
.
Parameters
cell_renderer
the object which received the signal
path
string representation of GtkTreePath describing the
event location
user_data
user data set when the signal handler was connected.
Flags: Run Last
docs/reference/gtk/xml/gtkeventcontrollermotion.xml 0000664 0001750 0001750 00000055350 13617646205 023106 0 ustar mclasen mclasen
]>
GtkEventControllerMotion
3
GTK4 Library
GtkEventControllerMotion
Event controller for motion events
Functions
GtkEventController *
gtk_event_controller_motion_new ()
GtkWidget *
gtk_event_controller_motion_get_pointer_origin ()
GtkWidget *
gtk_event_controller_motion_get_pointer_target ()
gboolean
gtk_event_controller_motion_contains_pointer ()
gboolean
gtk_event_controller_motion_is_pointer ()
Properties
gboolean contains-pointerRead
gboolean is-pointerRead
Signals
void enter Run First
void leave Run First
void motion Run First
Types and Values
GtkEventControllerMotion
Object Hierarchy
GObject
╰── GtkEventController
╰── GtkEventControllerMotion
Includes #include <gtk/gtk.h>
Description
GtkEventControllerMotion is an event controller meant for situations
where you need to track the position of the pointer.
Functions
gtk_event_controller_motion_new ()
gtk_event_controller_motion_new
GtkEventController *
gtk_event_controller_motion_new (void );
Creates a new event controller that will handle motion events.
Returns
a new GtkEventControllerMotion
gtk_event_controller_motion_get_pointer_origin ()
gtk_event_controller_motion_get_pointer_origin
GtkWidget *
gtk_event_controller_motion_get_pointer_origin
(GtkEventControllerMotion *controller );
Returns the widget that contained the pointer before.
This function can only be used in handlers for the
“enter” and
“leave” signals.
Parameters
controller
a GtkEventControllerMotion
Returns
the previous pointer focus.
[transfer none ]
gtk_event_controller_motion_get_pointer_target ()
gtk_event_controller_motion_get_pointer_target
GtkWidget *
gtk_event_controller_motion_get_pointer_target
(GtkEventControllerMotion *controller );
Returns the widget that will contain the pointer afterwards.
This function can only be used in handlers for the
“enter” and
“leave” signals.
Parameters
controller
a GtkEventControllerMotion
Returns
the next pointer focus.
[transfer none ]
gtk_event_controller_motion_contains_pointer ()
gtk_event_controller_motion_contains_pointer
gboolean
gtk_event_controller_motion_contains_pointer
(GtkEventControllerMotion *self );
Returns the value of the GtkEventControllerMotion:contains-pointer property.
Parameters
self
a GtkEventControllerMotion
Returns
TRUE if a pointer is within self
or one of its children
gtk_event_controller_motion_is_pointer ()
gtk_event_controller_motion_is_pointer
gboolean
gtk_event_controller_motion_is_pointer
(GtkEventControllerMotion *self );
Returns the value of the GtkEventControllerMotion:is-pointer property.
Parameters
self
a GtkEventControllerKey
Returns
TRUE if a pointer is within self
but not one of its children
Property Details
The “contains-pointer” property
GtkEventControllerMotion:contains-pointer
“contains-pointer” gboolean
Whether the pointer is in the controllers widget or a descendant.
See also “is-pointer” .
When handling crossing events, this property is updated
before “enter” or
“leave” are emitted.
Owner: GtkEventControllerMotion
Flags: Read
Default value: FALSE
The “is-pointer” property
GtkEventControllerMotion:is-pointer
“is-pointer” gboolean
Whether the pointer is in the controllers widget itself,
as opposed to in a descendent widget. See also
“contains-pointer” .
When handling crossing events, this property is updated
before “enter” or
“leave” are emitted.
Owner: GtkEventControllerMotion
Flags: Read
Default value: FALSE
Signal Details
The “enter” signal
GtkEventControllerMotion::enter
void
user_function (GtkEventControllerMotion *controller,
gdouble x,
gdouble y,
GdkCrossingMode crossing_mode,
GdkNotifyType notify_type,
gpointer user_data)
Signals that the pointer has entered the widget.
Parameters
controller
The object that received the signal
x
the x coordinate
y
the y coordinate
crossing_mode
the crossing mode of this event
notify_type
the kind of crossing event
user_data
user data set when the signal handler was connected.
Flags: Run First
The “leave” signal
GtkEventControllerMotion::leave
void
user_function (GtkEventControllerMotion *controller,
GdkCrossingMode crossing_mode,
GdkNotifyType notify_type,
gpointer user_data)
Signals that pointer has left the widget.
Parameters
controller
The object that received the signal
crossing_mode
the crossing mode of this event
notify_type
the kind of crossing event
user_data
user data set when the signal handler was connected.
Flags: Run First
The “motion” signal
GtkEventControllerMotion::motion
void
user_function (GtkEventControllerMotion *controller,
gdouble x,
gdouble y,
gpointer user_data)
Emitted when the pointer moves inside the widget.
Parameters
controller
The object that received the signal
x
the x coordinate
y
the y coordinate
user_data
user data set when the signal handler was connected.
Flags: Run First
See Also
GtkEventController
docs/reference/gtk/xml/gtkcellrendererprogress.xml 0000664 0001750 0001750 00000024322 13617646203 022657 0 ustar mclasen mclasen
]>
GtkCellRendererProgress
3
GTK4 Library
GtkCellRendererProgress
Renders numbers as progress bars
Functions
GtkCellRenderer *
gtk_cell_renderer_progress_new ()
Properties
gboolean invertedRead / Write
gint pulseRead / Write
gchar * textRead / Write
gfloat text-xalignRead / Write
gfloat text-yalignRead / Write
gint valueRead / Write
Types and Values
GtkCellRendererProgress
Object Hierarchy
GObject
╰── GInitiallyUnowned
╰── GtkCellRenderer
╰── GtkCellRendererProgress
Implemented Interfaces
GtkCellRendererProgress implements
GtkOrientable.
Includes #include <gtk/gtk.h>
Description
GtkCellRendererProgress renders a numeric value as a progress par in a cell.
Additionally, it can display a text on top of the progress bar.
The GtkCellRendererProgress cell renderer was added in GTK+ 2.6.
Functions
gtk_cell_renderer_progress_new ()
gtk_cell_renderer_progress_new
GtkCellRenderer *
gtk_cell_renderer_progress_new (void );
Creates a new GtkCellRendererProgress .
Returns
the new cell renderer
Property Details
The “inverted” property
GtkCellRendererProgress:inverted
“inverted” gboolean
Invert the direction in which the progress bar grows. Owner: GtkCellRendererProgress
Flags: Read / Write
Default value: FALSE
The “pulse” property
GtkCellRendererProgress:pulse
“pulse” gint
Setting this to a non-negative value causes the cell renderer to
enter "activity mode", where a block bounces back and forth to
indicate that some progress is made, without specifying exactly how
much.
Each increment of the property causes the block to move by a little
bit.
To indicate that the activity has not started yet, set the property
to zero. To indicate completion, set the property to G_MAXINT .
Owner: GtkCellRendererProgress
Flags: Read / Write
Allowed values: >= -1
Default value: -1
The “text” property
GtkCellRendererProgress:text
“text” gchar *
The "text" property determines the label which will be drawn
over the progress bar. Setting this property to NULL causes the default
label to be displayed. Setting this property to an empty string causes
no label to be displayed.
Owner: GtkCellRendererProgress
Flags: Read / Write
Default value: NULL
The “text-xalign” property
GtkCellRendererProgress:text-xalign
“text-xalign” gfloat
The "text-xalign" property controls the horizontal alignment of the
text in the progress bar. Valid values range from 0 (left) to 1
(right). Reserved for RTL layouts.
Owner: GtkCellRendererProgress
Flags: Read / Write
Allowed values: [0,1]
Default value: 0.5
The “text-yalign” property
GtkCellRendererProgress:text-yalign
“text-yalign” gfloat
The "text-yalign" property controls the vertical alignment of the
text in the progress bar. Valid values range from 0 (top) to 1
(bottom).
Owner: GtkCellRendererProgress
Flags: Read / Write
Allowed values: [0,1]
Default value: 0.5
The “value” property
GtkCellRendererProgress:value
“value” gint
The "value" property determines the percentage to which the
progress bar will be "filled in".
Owner: GtkCellRendererProgress
Flags: Read / Write
Allowed values: [0,100]
Default value: 0
docs/reference/gtk/xml/gtkgestureclick.xml 0000664 0001750 0001750 00000047333 13617646205 021121 0 ustar mclasen mclasen
]>
GtkGestureClick
3
GTK4 Library
GtkGestureClick
Multipress gesture
Functions
GtkGesture *
gtk_gesture_click_new ()
void
gtk_gesture_click_set_area ()
gboolean
gtk_gesture_click_get_area ()
Signals
void pressed Run Last
void released Run Last
void stopped Run Last
void unpaired-release Run Last
Types and Values
GtkGestureClick
Object Hierarchy
GObject
╰── GtkEventController
╰── GtkGesture
╰── GtkGestureSingle
╰── GtkGestureClick
Includes #include <gtk/gtk.h>
Description
GtkGestureClick is a GtkGesture implementation able to recognize
multiple clicks on a nearby zone, which can be listened for through
the “pressed” signal. Whenever time or distance
between clicks exceed the GTK+ defaults, “stopped”
is emitted, and the click counter is reset.
Callers may also restrict the area that is considered valid for a >1
touch/button press through gtk_gesture_click_set_area() , so any
click happening outside that area is considered to be a first click
of its own.
Functions
gtk_gesture_click_new ()
gtk_gesture_click_new
GtkGesture *
gtk_gesture_click_new (void );
Returns a newly created GtkGesture that recognizes single and multiple
presses.
Returns
a newly created GtkGestureClick
gtk_gesture_click_set_area ()
gtk_gesture_click_set_area
void
gtk_gesture_click_set_area (GtkGestureClick *gesture ,
const GdkRectangle *rect );
If rect
is non-NULL , the press area will be checked to be
confined within the rectangle, otherwise the button count
will be reset so the press is seen as being the first one.
If rect
is NULL , the area will be reset to an unrestricted
state.
Note: The rectangle is only used to determine whether any
non-first click falls within the expected area. This is not
akin to an input shape.
Parameters
gesture
a GtkGestureClick
rect
rectangle to receive coordinates on.
[allow-none ]
gtk_gesture_click_get_area ()
gtk_gesture_click_get_area
gboolean
gtk_gesture_click_get_area (GtkGestureClick *gesture ,
GdkRectangle *rect );
If an area was set through gtk_gesture_click_set_area() ,
this function will return TRUE and fill in rect
with the
press area. See gtk_gesture_click_set_area() for more
details on what the press area represents.
Parameters
gesture
a GtkGestureClick
rect
return location for the press area.
[out ]
Returns
TRUE if rect
was filled with the press area
Signal Details
The “pressed” signal
GtkGestureClick::pressed
void
user_function (GtkGestureClick *gesture,
gint n_press,
gdouble x,
gdouble y,
gpointer user_data)
This signal is emitted whenever a button or touch press happens.
Parameters
gesture
the object which received the signal
n_press
how many touch/button presses happened with this one
x
The X coordinate, in widget allocation coordinates
y
The Y coordinate, in widget allocation coordinates
user_data
user data set when the signal handler was connected.
Flags: Run Last
The “released” signal
GtkGestureClick::released
void
user_function (GtkGestureClick *gesture,
gint n_press,
gdouble x,
gdouble y,
gpointer user_data)
This signal is emitted when a button or touch is released. n_press
will report the number of press that is paired to this event, note
that “stopped” may have been emitted between the
press and its release, n_press
will only start over at the next press.
Parameters
gesture
the object which received the signal
n_press
number of press that is paired with this release
x
The X coordinate, in widget allocation coordinates
y
The Y coordinate, in widget allocation coordinates
user_data
user data set when the signal handler was connected.
Flags: Run Last
The “stopped” signal
GtkGestureClick::stopped
void
user_function (GtkGestureClick *gesture,
gpointer user_data)
This signal is emitted whenever any time/distance threshold has
been exceeded.
Parameters
gesture
the object which received the signal
user_data
user data set when the signal handler was connected.
Flags: Run Last
The “unpaired-release” signal
GtkGestureClick::unpaired-release
void
user_function (GtkGestureClick *gesture,
gdouble x,
gdouble y,
guint button,
GdkEventSequence *sequence,
gpointer user_data)
This signal is emitted whenever the gesture receives a release
event that had no previous corresponding press. Due to implicit
grabs, this can only happen on situations where input is grabbed
elsewhere mid-press or the pressed widget voluntarily relinquishes
its implicit grab.
Parameters
gesture
the object which received the signal
x
X coordinate of the event
y
Y coordinate of the event
button
Button being released
sequence
Sequence being released
user_data
user data set when the signal handler was connected.
Flags: Run Last
docs/reference/gtk/xml/gtkcellrendereraccel.xml 0000664 0001750 0001750 00000033310 13617646203 022057 0 ustar mclasen mclasen
]>
GtkCellRendererAccel
3
GTK4 Library
GtkCellRendererAccel
Renders a keyboard accelerator in a cell
Functions
GtkCellRenderer *
gtk_cell_renderer_accel_new ()
Properties
guint accel-keyRead / Write
GtkCellRendererAccelMode accel-modeRead / Write
GdkModifierType accel-modsRead / Write
guint keycodeRead / Write
Signals
void accel-cleared Run Last
void accel-edited Run Last
Types and Values
GtkCellRendererAccel
enum GtkCellRendererAccelMode
Object Hierarchy
GObject
╰── GInitiallyUnowned
╰── GtkCellRenderer
╰── GtkCellRendererText
╰── GtkCellRendererAccel
Includes #include <gtk/gtk.h>
Description
GtkCellRendererAccel displays a keyboard accelerator (i.e. a key
combination like Control + a ). If the cell renderer is editable,
the accelerator can be changed by simply typing the new combination.
The GtkCellRendererAccel cell renderer was added in GTK+ 2.10.
Functions
gtk_cell_renderer_accel_new ()
gtk_cell_renderer_accel_new
GtkCellRenderer *
gtk_cell_renderer_accel_new (void );
Creates a new GtkCellRendererAccel .
Returns
the new cell renderer
Property Details
The “accel-key” property
GtkCellRendererAccel:accel-key
“accel-key” guint
The keyval of the accelerator.
Owner: GtkCellRendererAccel
Flags: Read / Write
Allowed values: <= G_MAXINT
Default value: 0
The “accel-mode” property
GtkCellRendererAccel:accel-mode
“accel-mode” GtkCellRendererAccelMode
Determines if the edited accelerators are GTK+ accelerators. If
they are, consumed modifiers are suppressed, only accelerators
accepted by GTK+ are allowed, and the accelerators are rendered
in the same way as they are in menus.
Owner: GtkCellRendererAccel
Flags: Read / Write
Default value: GTK_CELL_RENDERER_ACCEL_MODE_GTK
The “accel-mods” property
GtkCellRendererAccel:accel-mods
“accel-mods” GdkModifierType
The modifier mask of the accelerator.
Owner: GtkCellRendererAccel
Flags: Read / Write
The “keycode” property
GtkCellRendererAccel:keycode
“keycode” guint
The hardware keycode of the accelerator. Note that the hardware keycode is
only relevant if the key does not have a keyval. Normally, the keyboard
configuration should assign keyvals to all keys.
Owner: GtkCellRendererAccel
Flags: Read / Write
Allowed values: <= G_MAXINT
Default value: 0
Signal Details
The “accel-cleared” signal
GtkCellRendererAccel::accel-cleared
void
user_function (GtkCellRendererAccel *accel,
gchar *path_string,
gpointer user_data)
Gets emitted when the user has removed the accelerator.
Parameters
accel
the object reveiving the signal
path_string
the path identifying the row of the edited cell
user_data
user data set when the signal handler was connected.
Flags: Run Last
The “accel-edited” signal
GtkCellRendererAccel::accel-edited
void
user_function (GtkCellRendererAccel *accel,
gchar *path_string,
guint accel_key,
GdkModifierType accel_mods,
guint hardware_keycode,
gpointer user_data)
Gets emitted when the user has selected a new accelerator.
Parameters
accel
the object reveiving the signal
path_string
the path identifying the row of the edited cell
accel_key
the new accelerator keyval
accel_mods
the new acclerator modifier mask
hardware_keycode
the keycode of the new accelerator
user_data
user data set when the signal handler was connected.
Flags: Run Last
docs/reference/gtk/xml/gtkgesturepan.xml 0000664 0001750 0001750 00000031332 13617646205 020602 0 ustar mclasen mclasen
]>
GtkGesturePan
3
GTK4 Library
GtkGesturePan
Pan gesture
Functions
GtkGesture *
gtk_gesture_pan_new ()
GtkOrientation
gtk_gesture_pan_get_orientation ()
void
gtk_gesture_pan_set_orientation ()
Properties
GtkOrientation orientationRead / Write
Signals
void pan Run Last
Types and Values
GtkGesturePan
enum GtkPanDirection
Object Hierarchy
GObject
╰── GtkEventController
╰── GtkGesture
╰── GtkGestureSingle
╰── GtkGestureDrag
╰── GtkGesturePan
Includes #include <gtk/gtk.h>
Description
GtkGesturePan is a GtkGesture implementation able to recognize
pan gestures, those are drags that are locked to happen along one
axis. The axis that a GtkGesturePan handles is defined at
construct time, and can be changed through
gtk_gesture_pan_set_orientation() .
When the gesture starts to be recognized, GtkGesturePan will
attempt to determine as early as possible whether the sequence
is moving in the expected direction, and denying the sequence if
this does not happen.
Once a panning gesture along the expected axis is recognized,
the “pan” signal will be emitted as input events
are received, containing the offset in the given axis.
Functions
gtk_gesture_pan_new ()
gtk_gesture_pan_new
GtkGesture *
gtk_gesture_pan_new (GtkOrientation orientation );
Returns a newly created GtkGesture that recognizes pan gestures.
Parameters
orientation
expected orientation
Returns
a newly created GtkGesturePan
gtk_gesture_pan_get_orientation ()
gtk_gesture_pan_get_orientation
GtkOrientation
gtk_gesture_pan_get_orientation (GtkGesturePan *gesture );
Returns the orientation of the pan gestures that this gesture
expects.
Parameters
gesture
A GtkGesturePan
Returns
the expected orientation for pan gestures
gtk_gesture_pan_set_orientation ()
gtk_gesture_pan_set_orientation
void
gtk_gesture_pan_set_orientation (GtkGesturePan *gesture ,
GtkOrientation orientation );
Sets the orientation to be expected on pan gestures.
Parameters
gesture
A GtkGesturePan
orientation
expected orientation
Property Details
The “orientation” property
GtkGesturePan:orientation
“orientation” GtkOrientation
The expected orientation of pan gestures.
Owner: GtkGesturePan
Flags: Read / Write
Default value: GTK_ORIENTATION_HORIZONTAL
Signal Details
The “pan” signal
GtkGesturePan::pan
void
user_function (GtkGesturePan *gesture,
GtkPanDirection direction,
gdouble offset,
gpointer user_data)
This signal is emitted once a panning gesture along the
expected axis is detected.
Parameters
gesture
The object which received the signal
direction
current direction of the pan gesture
offset
Offset along the gesture orientation
user_data
user data set when the signal handler was connected.
Flags: Run Last
docs/reference/gtk/xml/gtkwidgetpaintable.xml 0000664 0001750 0001750 00000021256 13617646203 021572 0 ustar mclasen mclasen
]>
GtkWidgetPaintable
3
GTK4 Library
GtkWidgetPaintable
Drawing a widget elsewhere
Functions
GdkPaintable *
gtk_widget_paintable_new ()
GtkWidget *
gtk_widget_paintable_get_widget ()
void
gtk_widget_paintable_set_widget ()
Includes #include <gtk/gtk.h>
Description
GtkWidgetPaintable is an implementation of the GdkPaintable interface
that allows displaying the contents of a GtkWidget .
GtkWidgetPaintable will also take care of the widget not being in a
state where it can be drawn (like when it isn't shown) and just draw
nothing or where it does not have a size (like when it is hidden) and
report no size in that case.
Of course, GtkWidgetPaintable allows you to monitor widgets for size
changes by emitting the “invalidate-size” signal whenever
the size of the widget changes as well as for visual changes by
emitting the “invalidate-contents” signal whenever the
widget changes.
You can of course use a GtkWidgetPaintable everywhere a
GdkPaintable is allowed, including using it on a GtkPicture (or one
of its parents) that it was set on itself via gtk_picture_set_paintable() .
The paintable will take care of recursion when this happens. If you do
this however, ensure the “can-shrink” property is set to
TRUE or you might end up with an infinitely growing widget.
Functions
gtk_widget_paintable_new ()
gtk_widget_paintable_new
GdkPaintable *
gtk_widget_paintable_new (GtkWidget *widget );
Creates a new widget paintable observing the given widget.
Parameters
widget
a GtkWidget or NULL .
[allow-none ][transfer none ]
Returns
a new GtkWidgetPaintable .
[transfer full ][type GtkWidgetPaintable]
gtk_widget_paintable_get_widget ()
gtk_widget_paintable_get_widget
GtkWidget *
gtk_widget_paintable_get_widget (GtkWidgetPaintable *self );
Returns the widget that is observed or NULL
if none.
Parameters
self
a GtkWidgetPaintable
Returns
the observed widget.
[transfer none ][nullable ]
gtk_widget_paintable_set_widget ()
gtk_widget_paintable_set_widget
void
gtk_widget_paintable_set_widget (GtkWidgetPaintable *self ,
GtkWidget *widget );
Sets the widget that should be observed.
Parameters
self
a GtkWidgetPaintable
widget
the widget to observe or NULL .
[allow-none ]
See Also
GtkWidget , GdkPaintable
docs/reference/gtk/xml/gtkfixedlayout.xml 0000664 0001750 0001750 00000022305 13617646205 020762 0 ustar mclasen mclasen
]>
GtkFixedLayout
3
GTK4 Library
GtkFixedLayout
A layout manager that allows positioning at fixed
coordinates
Functions
GtkLayoutManager *
gtk_fixed_layout_new ()
void
gtk_fixed_layout_child_set_transform ()
GskTransform *
gtk_fixed_layout_child_get_transform ()
Types and Values
GtkFixedLayout
GtkFixedLayoutChild
Object Hierarchy
GObject
├── GtkLayoutChild
│ ╰── GtkFixedLayoutChild
╰── GtkLayoutManager
╰── GtkFixedLayout
Includes #include <gtk/gtk.h>
Description
GtkFixedLayout is a layout manager which can place child widgets
at fixed positions, and with fixed sizes.
Most applications should never use this layout manager; fixed positioning
and sizing requires constant recalculations on where children need to be
positioned and sized. Other layout managers perform this kind of work
internally so that application developers don't need to do it. Specifically,
widgets positioned in a fixed layout manager will need to take into account:
Themes, which may change widget sizes.
Fonts other than the one you used to write the app will of course
change the size of widgets containing text; keep in mind that
users may use a larger font because of difficulty reading the
default, or they may be using a different OS that provides different
fonts.
Translation of text into other languages changes its size. Also,
display of non-English text will use a different font in many
cases.
In addition, GtkFixedLayout does not pay attention to text direction and
thus may produce unwanted results if your app is run under right-to-left
languages such as Hebrew or Arabic. That is: normally GTK will order
containers appropriately depending on the text direction, e.g. to put labels
to the right of the thing they label when using an RTL language;
GtkFixedLayout won't be able to do that for you.
Finally, fixed positioning makes it kind of annoying to add/remove GUI
elements, since you have to reposition all the other elements. This is a
long-term maintenance problem for your application.
Functions
gtk_fixed_layout_new ()
gtk_fixed_layout_new
GtkLayoutManager *
gtk_fixed_layout_new (void );
Creates a new GtkFixedLayout .
Returns
the newly created GtkFixedLayout
gtk_fixed_layout_child_set_transform ()
gtk_fixed_layout_child_set_transform
void
gtk_fixed_layout_child_set_transform (GtkFixedLayoutChild *child ,
GskTransform *transform );
Sets the transformation of the child of a GtkFixedLayout .
Parameters
child
a GtkFixedLayoutChild
transform
a GskTransform
gtk_fixed_layout_child_get_transform ()
gtk_fixed_layout_child_get_transform
GskTransform *
gtk_fixed_layout_child_get_transform (GtkFixedLayoutChild *child );
Retrieves the transformation of the child of a GtkFixedLayout .
Parameters
child
a GtkFixedLayoutChild
Returns
a GskTransform .
[transfer none ][nullable ]
docs/reference/gtk/xml/gtkmain.xml 0000664 0001750 0001750 00000101535 13620320500 017331 0 ustar mclasen mclasen
]>
Main loop and Events
3
GTK4 Library
Main loop and Events
Library initialization, main event loop, and events
Functions
void
gtk_disable_setlocale ()
PangoLanguage *
gtk_get_default_language ()
GtkTextDirection
gtk_get_locale_direction ()
void
gtk_init ()
gboolean
gtk_init_check ()
void
gtk_grab_add ()
GtkWidget *
gtk_grab_get_current ()
void
gtk_grab_remove ()
void
gtk_device_grab_add ()
void
gtk_device_grab_remove ()
GdkEvent *
gtk_get_current_event ()
guint32
gtk_get_current_event_time ()
gboolean
gtk_get_current_event_state ()
GdkDevice *
gtk_get_current_event_device ()
GtkWidget *
gtk_get_event_widget ()
GtkWidget *
gtk_get_event_target ()
GtkWidget *
gtk_get_event_target_with_type ()
Types and Values
#define GTK_PRIORITY_RESIZE
Includes #include <gtk/gtk.h>
Description
Before using GTK, you need to initialize it; initialization connects to the
window system display, and parses some standard command line arguments. The
gtk_init() macro initializes GTK. gtk_init() exits the application if errors
occur; to avoid this, use gtk_init_check() . gtk_init_check() allows you to
recover from a failed GTK initialization - you might start up your
application in text mode instead.
Like all GUI toolkits, GTK uses an event-driven programming model. When the
user is doing nothing, GTK sits in the “main loop” and
waits for input. If the user performs some action - say, a mouse click - then
the main loop “wakes up” and delivers an event to GTK. GTK forwards the
event to one or more widgets.
When widgets receive an event, they frequently emit one or more
“signals”. Signals notify your program that "something
interesting happened" by invoking functions you’ve connected to the signal
with g_signal_connect() . Functions connected to a signal are often termed
“callbacks”.
When your callbacks are invoked, you would typically take some action - for
example, when an Open button is clicked you might display a
GtkFileChooserDialog . After a callback finishes, GTK will return to the
main loop and await more user input.
Typical main() function for a GTK application
See GMainLoop in the GLib documentation to learn more about
main loops and their features.
Functions
gtk_disable_setlocale ()
gtk_disable_setlocale
void
gtk_disable_setlocale (void );
Prevents gtk_init() , gtk_init_check() and
gtk_parse_args() from automatically
calling setlocale (LC_ALL, "") . You would
want to use this function if you wanted to set the locale for
your program to something other than the user’s locale, or if
you wanted to set different values for different locale categories.
Most programs should not need to call this function.
gtk_get_default_language ()
gtk_get_default_language
PangoLanguage *
gtk_get_default_language (void );
Returns the PangoLanguage for the default language currently in
effect. (Note that this can change over the life of an
application.) The default language is derived from the current
locale. It determines, for example, whether GTK uses the
right-to-left or left-to-right text direction.
This function is equivalent to pango_language_get_default() .
See that function for details.
Returns
the default language as a PangoLanguage ,
must not be freed.
[transfer none ]
gtk_get_locale_direction ()
gtk_get_locale_direction
GtkTextDirection
gtk_get_locale_direction (void );
Get the direction of the current locale. This is the expected
reading direction for text and UI.
This function depends on the current locale being set with
setlocale() and will default to setting the GTK_TEXT_DIR_LTR
direction otherwise. GTK_TEXT_DIR_NONE will never be returned.
GTK sets the default text direction according to the locale
during gtk_init() , and you should normally use
gtk_widget_get_direction() or gtk_widget_get_default_direction()
to obtain the current direcion.
This function is only needed rare cases when the locale is
changed after GTK has already been initialized. In this case,
you can use it to update the default text direction as follows:
Returns
the GtkTextDirection of the current locale
gtk_init ()
gtk_init
void
gtk_init (void );
Call this function before using any other GTK functions in your GUI
applications. It will initialize everything needed to operate the
toolkit and parses some standard command line options.
If you are using GtkApplication , you don't have to call gtk_init()
or gtk_init_check() ; the “startup” handler
does it for you.
This function will terminate your program if it was unable to
initialize the windowing system for some reason. If you want
your program to fall back to a textual interface you want to
call gtk_init_check() instead.
GTK calls signal (SIGPIPE, SIG_IGN)
during initialization, to ignore SIGPIPE signals, since these are
almost never wanted in graphical applications. If you do need to
handle SIGPIPE for some reason, reset the handler after gtk_init() ,
but notice that other libraries (e.g. libdbus or gvfs) might do
similar things.
gtk_init_check ()
gtk_init_check
gboolean
gtk_init_check (void );
This function does the same work as gtk_init() with only a single
change: It does not terminate the program if the windowing system
can’t be initialized. Instead it returns FALSE on failure.
This way the application can fall back to some other means of
communication with the user - for example a curses or command line
interface.
Returns
TRUE if the windowing system has been successfully
initialized, FALSE otherwise
gtk_grab_add ()
gtk_grab_add
void
gtk_grab_add (GtkWidget *widget );
Makes widget
the current grabbed widget.
This means that interaction with other widgets in the same
application is blocked and mouse as well as keyboard events
are delivered to this widget.
If widget
is not sensitive, it is not set as the current
grabbed widget and this function does nothing.
[method ]
Parameters
widget
The widget that grabs keyboard and pointer events
gtk_grab_get_current ()
gtk_grab_get_current
GtkWidget *
gtk_grab_get_current (void );
Queries the current grab of the default window group.
Returns
The widget which currently
has the grab or NULL if no grab is active.
[transfer none ][nullable ]
gtk_grab_remove ()
gtk_grab_remove
void
gtk_grab_remove (GtkWidget *widget );
Removes the grab from the given widget.
You have to pair calls to gtk_grab_add() and gtk_grab_remove() .
If widget
does not have the grab, this function does nothing.
[method ]
Parameters
widget
The widget which gives up the grab
gtk_device_grab_add ()
gtk_device_grab_add
void
gtk_device_grab_add (GtkWidget *widget ,
GdkDevice *device ,
gboolean block_others );
Adds a GTK grab on device
, so all the events on device
and its
associated pointer or keyboard (if any) are delivered to widget
.
If the block_others
parameter is TRUE , any other devices will be
unable to interact with widget
during the grab.
Parameters
widget
a GtkWidget
device
a GdkDevice to grab on.
block_others
TRUE to prevent other devices to interact with widget
.
gtk_device_grab_remove ()
gtk_device_grab_remove
void
gtk_device_grab_remove (GtkWidget *widget ,
GdkDevice *device );
Removes a device grab from the given widget.
You have to pair calls to gtk_device_grab_add() and
gtk_device_grab_remove() .
Parameters
widget
a GtkWidget
device
a GdkDevice
gtk_get_current_event ()
gtk_get_current_event
GdkEvent *
gtk_get_current_event (void );
Obtains a reference of the event currently being processed by GTK.
For example, if you are handling a “clicked” signal,
the current event will be the GdkEventButton that triggered
the ::clicked signal.
Returns
a reference of the current event, or
NULL if there is no current event. The returned event must be
freed with g_object_unref() .
[transfer full ][nullable ]
gtk_get_current_event_time ()
gtk_get_current_event_time
guint32
gtk_get_current_event_time (void );
If there is a current event and it has a timestamp,
return that timestamp, otherwise return GDK_CURRENT_TIME .
Returns
the timestamp from the current event,
or GDK_CURRENT_TIME .
gtk_get_current_event_state ()
gtk_get_current_event_state
gboolean
gtk_get_current_event_state (GdkModifierType *state );
If there is a current event and it has a state field, place
that state field in state
and return TRUE , otherwise return
FALSE .
Parameters
state
a location to store the state of the current event.
[out ]
Returns
TRUE if there was a current event and it
had a state field
gtk_get_current_event_device ()
gtk_get_current_event_device
GdkDevice *
gtk_get_current_event_device (void );
If there is a current event and it has a device, return that
device, otherwise return NULL .
Returns
a GdkDevice , or NULL .
[transfer none ][nullable ]
gtk_get_event_widget ()
gtk_get_event_widget
GtkWidget *
gtk_get_event_widget (const GdkEvent *event );
If event
is NULL or the event was not associated with any widget,
returns NULL , otherwise returns the widget that received the event
originally.
Parameters
event
a GdkEvent
Returns
the widget that originally
received event
, or NULL .
[transfer none ][nullable ]
gtk_get_event_target ()
gtk_get_event_target
GtkWidget *
gtk_get_event_target (const GdkEvent *event );
If event
is NULL or the event was not associated with any widget,
returns NULL , otherwise returns the widget that is the deepmost
receiver of the event.
Parameters
event
a GdkEvent
Returns
the target widget, or NULL .
[transfer none ][nullable ]
gtk_get_event_target_with_type ()
gtk_get_event_target_with_type
GtkWidget *
gtk_get_event_target_with_type (GdkEvent *event ,
GType type );
If event
is NULL or the event was not associated with any widget,
returns NULL , otherwise returns first widget found from the event
target to the toplevel that matches type
.
Parameters
event
a GdkEvent
type
the type to look for
Returns
the widget in the target stack
with the given type, or NULL .
[transfer none ][nullable ]
See Also
See the GLib manual, especially GMainLoop and signal-related
functions such as g_signal_connect()
docs/reference/gtk/xml/gtkgridlayout.xml 0000664 0001750 0001750 00000140605 13617646205 020614 0 ustar mclasen mclasen
]>
GtkGridLayout
3
GTK4 Library
GtkGridLayout
Layout manager for grid-like widgets
Functions
GtkLayoutManager *
gtk_grid_layout_new ()
void
gtk_grid_layout_set_row_homogeneous ()
gboolean
gtk_grid_layout_get_row_homogeneous ()
void
gtk_grid_layout_set_row_spacing ()
guint
gtk_grid_layout_get_row_spacing ()
void
gtk_grid_layout_set_column_homogeneous ()
gboolean
gtk_grid_layout_get_column_homogeneous ()
void
gtk_grid_layout_set_column_spacing ()
guint
gtk_grid_layout_get_column_spacing ()
void
gtk_grid_layout_set_row_baseline_position ()
GtkBaselinePosition
gtk_grid_layout_get_row_baseline_position ()
void
gtk_grid_layout_set_baseline_row ()
int
gtk_grid_layout_get_baseline_row ()
void
gtk_grid_layout_child_set_top_attach ()
int
gtk_grid_layout_child_get_top_attach ()
void
gtk_grid_layout_child_set_left_attach ()
int
gtk_grid_layout_child_get_left_attach ()
void
gtk_grid_layout_child_set_column_span ()
int
gtk_grid_layout_child_get_column_span ()
void
gtk_grid_layout_child_set_row_span ()
int
gtk_grid_layout_child_get_row_span ()
Properties
gint baseline-rowRead / Write
gboolean column-homogeneousRead / Write
gint column-spacingRead / Write
gboolean row-homogeneousRead / Write
gint row-spacingRead / Write
gint column-spanRead / Write
gint left-attachRead / Write
gint row-spanRead / Write
gint top-attachRead / Write
Types and Values
GtkGridLayout
GtkGridLayoutChild
Object Hierarchy
GObject
├── GtkLayoutChild
│ ╰── GtkGridLayoutChild
╰── GtkLayoutManager
╰── GtkGridLayout
Includes #include <gtk/gtk.h>
Description
GtkGridLayout is a layout manager which arranges child widgets in
rows and columns, with arbitrary positions and horizontal/vertical
spans.
Children have an "attach point" defined by the horizontal and vertical
index of the cell they occupy; children can span multiple rows or columns.
The layout properties for setting the attach points and spans are set
using the GtkGridLayoutChild associated to each child widget.
The behaviour of GtkGrid when several children occupy the same grid cell
is undefined.
GtkGridLayout can be used like a GtkBoxLayout if all children are attached
to the same row or column; however, if you only ever need a single row or
column, you should consider using GtkBoxLayout .
Functions
gtk_grid_layout_new ()
gtk_grid_layout_new
GtkLayoutManager *
gtk_grid_layout_new (void );
Creates a new GtkGridLayout .
Returns
the newly created GtkGridLayout
gtk_grid_layout_set_row_homogeneous ()
gtk_grid_layout_set_row_homogeneous
void
gtk_grid_layout_set_row_homogeneous (GtkGridLayout *grid ,
gboolean homogeneous );
Sets whether all rows of grid
should have the same height.
Parameters
grid
a GtkGridLayout
homogeneous
TRUE to make rows homogeneous
gtk_grid_layout_get_row_homogeneous ()
gtk_grid_layout_get_row_homogeneous
gboolean
gtk_grid_layout_get_row_homogeneous (GtkGridLayout *grid );
Checks whether all rows of grid
should have the same height.
Parameters
grid
a GtkGridLayout
Returns
TRUE if the rows are homogeneous, and FALSE otherwise
gtk_grid_layout_set_row_spacing ()
gtk_grid_layout_set_row_spacing
void
gtk_grid_layout_set_row_spacing (GtkGridLayout *grid ,
guint spacing );
Sets the amount of space to insert between consecutive rows.
Parameters
grid
a GtkGridLayout
spacing
the amount of space between rows, in pixels
gtk_grid_layout_get_row_spacing ()
gtk_grid_layout_get_row_spacing
guint
gtk_grid_layout_get_row_spacing (GtkGridLayout *grid );
Retrieves the spacing set with gtk_grid_layout_set_row_spacing() .
Parameters
grid
a GtkGridLayout
Returns
the spacing between consecutive rows
gtk_grid_layout_set_column_homogeneous ()
gtk_grid_layout_set_column_homogeneous
void
gtk_grid_layout_set_column_homogeneous
(GtkGridLayout *grid ,
gboolean homogeneous );
Sets whether all columns of grid
should have the same width.
Parameters
grid
a GtkGridLayout
homogeneous
TRUE to make columns homogeneous
gtk_grid_layout_get_column_homogeneous ()
gtk_grid_layout_get_column_homogeneous
gboolean
gtk_grid_layout_get_column_homogeneous
(GtkGridLayout *grid );
Checks whether all columns of grid
should have the same width.
Parameters
grid
a GtkGridLayout
Returns
TRUE if the columns are homogeneous, and FALSE otherwise
gtk_grid_layout_set_column_spacing ()
gtk_grid_layout_set_column_spacing
void
gtk_grid_layout_set_column_spacing (GtkGridLayout *grid ,
guint spacing );
Sets the amount of space to insert between consecutive columns.
Parameters
grid
a GtkGridLayout
spacing
the amount of space between columns, in pixels
gtk_grid_layout_get_column_spacing ()
gtk_grid_layout_get_column_spacing
guint
gtk_grid_layout_get_column_spacing (GtkGridLayout *grid );
Retrieves the spacing set with gtk_grid_layout_set_column_spacing() .
Parameters
grid
a GtkGridLayout
Returns
the spacing between consecutive columns
gtk_grid_layout_set_row_baseline_position ()
gtk_grid_layout_set_row_baseline_position
void
gtk_grid_layout_set_row_baseline_position
(GtkGridLayout *grid ,
int row ,
GtkBaselinePosition pos );
Sets how the baseline should be positioned on row
of the
grid, in case that row is assigned more space than is requested.
Parameters
grid
a GtkGridLayout
row
a row index
pos
a GtkBaselinePosition
gtk_grid_layout_get_row_baseline_position ()
gtk_grid_layout_get_row_baseline_position
GtkBaselinePosition
gtk_grid_layout_get_row_baseline_position
(GtkGridLayout *grid ,
int row );
Returns the baseline position of row
as set by
gtk_grid_layout_set_row_baseline_position() , or the default value
of GTK_BASELINE_POSITION_CENTER .
Parameters
grid
a GtkGridLayout
row
a row index
Returns
the baseline position of row
gtk_grid_layout_set_baseline_row ()
gtk_grid_layout_set_baseline_row
void
gtk_grid_layout_set_baseline_row (GtkGridLayout *grid ,
int row );
Sets which row defines the global baseline for the entire grid.
Each row in the grid can have its own local baseline, but only
one of those is global, meaning it will be the baseline in the
parent of the grid
.
Parameters
grid
a GtkGridLayout
row
the row index
gtk_grid_layout_get_baseline_row ()
gtk_grid_layout_get_baseline_row
int
gtk_grid_layout_get_baseline_row (GtkGridLayout *grid );
Retrieves the row set with gtk_grid_layout_set_baseline_row() .
Parameters
grid
a GtkGridLayout
Returns
the global baseline row
gtk_grid_layout_child_set_top_attach ()
gtk_grid_layout_child_set_top_attach
void
gtk_grid_layout_child_set_top_attach (GtkGridLayoutChild *child ,
int attach );
Sets the row number to attach the top side of child
.
Parameters
child
a GtkGridLayoutChild
attach
the attach point for child
gtk_grid_layout_child_get_top_attach ()
gtk_grid_layout_child_get_top_attach
int
gtk_grid_layout_child_get_top_attach (GtkGridLayoutChild *child );
Retrieves the row number to which child
attaches its top side.
Parameters
child
a GtkGridLayoutChild
Returns
the row number
gtk_grid_layout_child_set_left_attach ()
gtk_grid_layout_child_set_left_attach
void
gtk_grid_layout_child_set_left_attach (GtkGridLayoutChild *child ,
int attach );
Sets the column number to attach the left side of child
.
Parameters
child
a GtkGridLayoutChild
attach
the attach point for child
gtk_grid_layout_child_get_left_attach ()
gtk_grid_layout_child_get_left_attach
int
gtk_grid_layout_child_get_left_attach (GtkGridLayoutChild *child );
Retrieves the column number to which child
attaches its left side.
Parameters
child
a GtkGridLayoutChild
Returns
the column number
gtk_grid_layout_child_set_column_span ()
gtk_grid_layout_child_set_column_span
void
gtk_grid_layout_child_set_column_span (GtkGridLayoutChild *child ,
int span );
Sets the number of columns child
spans to.
Parameters
child
a GtkGridLayoutChild
span
the span of child
gtk_grid_layout_child_get_column_span ()
gtk_grid_layout_child_get_column_span
int
gtk_grid_layout_child_get_column_span (GtkGridLayoutChild *child );
Retrieves the number of columns that child
spans to.
Parameters
child
a GtkGridLayoutChild
Returns
the number of columns
gtk_grid_layout_child_set_row_span ()
gtk_grid_layout_child_set_row_span
void
gtk_grid_layout_child_set_row_span (GtkGridLayoutChild *child ,
int span );
Sets the number of rows child
spans to.
Parameters
child
a GtkGridLayoutChild
span
the span of child
gtk_grid_layout_child_get_row_span ()
gtk_grid_layout_child_get_row_span
int
gtk_grid_layout_child_get_row_span (GtkGridLayoutChild *child );
Retrieves the number of rows that child
spans to.
Parameters
child
a GtkGridLayoutChild
Returns
the number of row
Property Details
The “baseline-row” property
GtkGridLayout:baseline-row
“baseline-row” gint
The row to align to the baseline, when “valign” is set
to GTK_ALIGN_BASELINE .
Owner: GtkGridLayout
Flags: Read / Write
Allowed values: >= 0
Default value: 0
The “column-homogeneous” property
GtkGridLayout:column-homogeneous
“column-homogeneous” gboolean
Whether all the columns in the grid have the same width.
Owner: GtkGridLayout
Flags: Read / Write
Default value: FALSE
The “column-spacing” property
GtkGridLayout:column-spacing
“column-spacing” gint
The amount of space between to consecutive columns.
Owner: GtkGridLayout
Flags: Read / Write
Allowed values: [0,32767]
Default value: 0
The “row-homogeneous” property
GtkGridLayout:row-homogeneous
“row-homogeneous” gboolean
Whether all the rows in the grid have the same height.
Owner: GtkGridLayout
Flags: Read / Write
Default value: FALSE
The “row-spacing” property
GtkGridLayout:row-spacing
“row-spacing” gint
The amount of space between to consecutive rows.
Owner: GtkGridLayout
Flags: Read / Write
Allowed values: [0,32767]
Default value: 0
The “column-span” property
GtkGridLayoutChild:column-span
“column-span” gint
The number of columns the child spans to.
Owner: GtkGridLayoutChild
Flags: Read / Write
Allowed values: >= 1
Default value: 1
The “left-attach” property
GtkGridLayoutChild:left-attach
“left-attach” gint
The column number to attach the left side of the child to.
Owner: GtkGridLayoutChild
Flags: Read / Write
Default value: 0
The “row-span” property
GtkGridLayoutChild:row-span
“row-span” gint
The number of rows the child spans to.
Owner: GtkGridLayoutChild
Flags: Read / Write
Allowed values: >= 1
Default value: 1
The “top-attach” property
GtkGridLayoutChild:top-attach
“top-attach” gint
The row number to attach the top side of the child to.
Owner: GtkGridLayoutChild
Flags: Read / Write
Default value: 0
See Also
GtkBoxLayout
docs/reference/gtk/xml/gtkfeatures.xml 0000664 0001750 0001750 00000033122 13617646204 020241 0 ustar mclasen mclasen
]>
Version Information
3
GTK4 Library
Version Information
Variables and functions to check the GTK+ version
Functions
guint
gtk_get_major_version ()
guint
gtk_get_minor_version ()
guint
gtk_get_micro_version ()
guint
gtk_get_binary_age ()
guint
gtk_get_interface_age ()
const gchar *
gtk_check_version ()
#define GTK_CHECK_VERSION()
Types and Values
#define GTK_MAJOR_VERSION
#define GTK_MINOR_VERSION
#define GTK_MICRO_VERSION
#define GTK_BINARY_AGE
#define GTK_INTERFACE_AGE
Includes #include <gtk/gtk.h>
Description
GTK+ provides version information, primarily useful in configure checks
for builds that have a configure script. Applications will not typically
use the features described here.
Functions
gtk_get_major_version ()
gtk_get_major_version
guint
gtk_get_major_version (void );
Returns the major version number of the GTK library.
(e.g. in GTK version 3.1.5 this is 3.)
This function is in the library, so it represents the GTK library
your code is running against. Contrast with the GTK_MAJOR_VERSION
macro, which represents the major version of the GTK headers you
have included when compiling your code.
Returns
the major version number of the GTK library
gtk_get_minor_version ()
gtk_get_minor_version
guint
gtk_get_minor_version (void );
Returns the minor version number of the GTK library.
(e.g. in GTK version 3.1.5 this is 1.)
This function is in the library, so it represents the GTK library
your code is are running against. Contrast with the
GTK_MINOR_VERSION macro, which represents the minor version of the
GTK headers you have included when compiling your code.
Returns
the minor version number of the GTK library
gtk_get_micro_version ()
gtk_get_micro_version
guint
gtk_get_micro_version (void );
Returns the micro version number of the GTK library.
(e.g. in GTK version 3.1.5 this is 5.)
This function is in the library, so it represents the GTK library
your code is are running against. Contrast with the
GTK_MICRO_VERSION macro, which represents the micro version of the
GTK headers you have included when compiling your code.
Returns
the micro version number of the GTK library
gtk_get_binary_age ()
gtk_get_binary_age
guint
gtk_get_binary_age (void );
Returns the binary age as passed to libtool
when building the GTK library the process is running against.
If libtool means nothing to you, don't
worry about it.
Returns
the binary age of the GTK library
gtk_get_interface_age ()
gtk_get_interface_age
guint
gtk_get_interface_age (void );
Returns the interface age as passed to libtool
when building the GTK library the process is running against.
If libtool means nothing to you, don't
worry about it.
Returns
the interface age of the GTK library
gtk_check_version ()
gtk_check_version
const gchar *
gtk_check_version (guint required_major ,
guint required_minor ,
guint required_micro );
Checks that the GTK library in use is compatible with the
given version. Generally you would pass in the constants
GTK_MAJOR_VERSION , GTK_MINOR_VERSION , GTK_MICRO_VERSION
as the three arguments to this function; that produces
a check that the library in use is compatible with
the version of GTK the application or module was compiled
against.
Compatibility is defined by two things: first the version
of the running library is newer than the version
required_major.required_minor
.required_micro
. Second
the running library must be binary compatible with the
version required_major.required_minor
.required_micro
(same major version.)
This function is primarily for GTK modules; the module
can call this function to check that it wasn’t loaded
into an incompatible version of GTK. However, such a
check isn’t completely reliable, since the module may be
linked against an old version of GTK and calling the
old version of gtk_check_version() , but still get loaded
into an application using a newer version of GTK.
Parameters
required_major
the required major version
required_minor
the required minor version
required_micro
the required micro version
Returns
NULL if the GTK library is compatible with the
given version, or a string describing the version mismatch.
The returned string is owned by GTK and should not be modified
or freed.
[nullable ]
GTK_CHECK_VERSION()
GTK_CHECK_VERSION
#define GTK_CHECK_VERSION(major,minor,micro)
Returns TRUE if the version of the GTK+ header files
is the same as or newer than the passed-in version.
Parameters
major
major version (e.g. 1 for version 1.2.5)
minor
minor version (e.g. 2 for version 1.2.5)
micro
micro version (e.g. 5 for version 1.2.5)
Returns
TRUE if GTK+ headers are new enough
docs/reference/gtk/xml/gtkgestureswipe.xml 0000664 0001750 0001750 00000023144 13617646205 021155 0 ustar mclasen mclasen
]>
GtkGestureSwipe
3
GTK4 Library
GtkGestureSwipe
Swipe gesture
Functions
GtkGesture *
gtk_gesture_swipe_new ()
gboolean
gtk_gesture_swipe_get_velocity ()
Signals
void swipe Run Last
Types and Values
GtkGestureSwipe
Object Hierarchy
GObject
╰── GtkEventController
╰── GtkGesture
╰── GtkGestureSingle
╰── GtkGestureSwipe
Includes #include <gtk/gtk.h>
Description
GtkGestureSwipe is a GtkGesture implementation able to recognize
swipes, after a press/move/.../move/release sequence happens, the
“swipe” signal will be emitted, providing the velocity
and directionality of the sequence at the time it was lifted.
If the velocity is desired in intermediate points,
gtk_gesture_swipe_get_velocity() can be called on eg. a
“update” handler.
All velocities are reported in pixels/sec units.
Functions
gtk_gesture_swipe_new ()
gtk_gesture_swipe_new
GtkGesture *
gtk_gesture_swipe_new (void );
Returns a newly created GtkGesture that recognizes swipes.
Returns
a newly created GtkGestureSwipe
gtk_gesture_swipe_get_velocity ()
gtk_gesture_swipe_get_velocity
gboolean
gtk_gesture_swipe_get_velocity (GtkGestureSwipe *gesture ,
gdouble *velocity_x ,
gdouble *velocity_y );
If the gesture is recognized, this function returns TRUE and fill in
velocity_x
and velocity_y
with the recorded velocity, as per the
last event(s) processed.
Parameters
gesture
a GtkGestureSwipe
velocity_x
return value for the velocity in the X axis, in pixels/sec.
[out ]
velocity_y
return value for the velocity in the Y axis, in pixels/sec.
[out ]
Returns
whether velocity could be calculated
Signal Details
The “swipe” signal
GtkGestureSwipe::swipe
void
user_function (GtkGestureSwipe *gesture,
gdouble velocity_x,
gdouble velocity_y,
gpointer user_data)
This signal is emitted when the recognized gesture is finished, velocity
and direction are a product of previously recorded events.
Parameters
gesture
object which received the signal
velocity_x
velocity in the X axis, in pixels/sec
velocity_y
velocity in the Y axis, in pixels/sec
user_data
user data set when the signal handler was connected.
Flags: Run Last
docs/reference/gtk/xml/gtkstyleprovider.xml 0000664 0001750 0001750 00000012470 13617646204 021341 0 ustar mclasen mclasen
]>
GtkStyleProvider
3
GTK4 Library
GtkStyleProvider
Interface to provide style information to GtkStyleContext
Signals
void gtk-private-changed Run Last
Types and Values
GtkStyleProvider
#define GTK_STYLE_PROVIDER_PRIORITY_FALLBACK
#define GTK_STYLE_PROVIDER_PRIORITY_THEME
#define GTK_STYLE_PROVIDER_PRIORITY_SETTINGS
#define GTK_STYLE_PROVIDER_PRIORITY_APPLICATION
#define GTK_STYLE_PROVIDER_PRIORITY_USER
Object Hierarchy
GInterface
╰── GtkStyleProvider
Prerequisites
GtkStyleProvider requires
GObject.
Known Implementations
GtkStyleProvider is implemented by
GtkCssProvider and GtkSettings.
Includes #include <gtk/gtk.h>
Description
GtkStyleProvider is an interface used to provide style information to a GtkStyleContext .
See gtk_style_context_add_provider() and gtk_style_context_add_provider_for_display() .
Functions
Signal Details
The “gtk-private-changed” signal
GtkStyleProvider::gtk-private-changed
void
user_function (GtkStyleProvider *styleprovider,
gpointer user_data)
Flags: Run Last
See Also
GtkStyleContext , GtkCssProvider
docs/reference/gtk/xml/gtkgesturerotate.xml 0000664 0001750 0001750 00000020727 13617646205 021330 0 ustar mclasen mclasen
]>
GtkGestureRotate
3
GTK4 Library
GtkGestureRotate
Rotate gesture
Functions
GtkGesture *
gtk_gesture_rotate_new ()
gdouble
gtk_gesture_rotate_get_angle_delta ()
Signals
void angle-changed Run First
Types and Values
GtkGestureRotate
Object Hierarchy
GObject
╰── GtkEventController
╰── GtkGesture
╰── GtkGestureRotate
Includes #include <gtk/gtk.h>
Description
GtkGestureRotate is a GtkGesture implementation able to recognize
2-finger rotations, whenever the angle between both handled sequences
changes, the “angle-changed” signal is emitted.
Functions
gtk_gesture_rotate_new ()
gtk_gesture_rotate_new
GtkGesture *
gtk_gesture_rotate_new (void );
Returns a newly created GtkGesture that recognizes 2-touch
rotation gestures.
Returns
a newly created GtkGestureRotate
gtk_gesture_rotate_get_angle_delta ()
gtk_gesture_rotate_get_angle_delta
gdouble
gtk_gesture_rotate_get_angle_delta (GtkGestureRotate *gesture );
If gesture
is active, this function returns the angle difference
in radians since the gesture was first recognized. If gesture
is
not active, 0 is returned.
Parameters
gesture
a GtkGestureRotate
Returns
the angle delta in radians
Signal Details
The “angle-changed” signal
GtkGestureRotate::angle-changed
void
user_function (GtkGestureRotate *gesture,
gdouble angle,
gdouble angle_delta,
gpointer user_data)
This signal is emitted when the angle between both tracked points
changes.
Parameters
gesture
the object on which the signal is emitted
angle
Current angle in radians
angle_delta
Difference with the starting angle, in radians
user_data
user data set when the signal handler was connected.
Flags: Run First
See Also
GtkGestureZoom
docs/reference/gtk/xml/gtkstylecontext.xml 0000664 0001750 0001750 00000341367 13617646204 021205 0 ustar mclasen mclasen
]>
GtkStyleContext
3
GTK4 Library
GtkStyleContext
Rendering UI elements
Functions
void
gtk_style_context_add_provider ()
void
gtk_style_context_add_provider_for_display ()
GtkStyleContext *
gtk_style_context_get_parent ()
GdkDisplay *
gtk_style_context_get_display ()
GtkStateFlags
gtk_style_context_get_state ()
void
gtk_style_context_get_color ()
void
gtk_style_context_get_border ()
void
gtk_style_context_get_padding ()
void
gtk_style_context_get_margin ()
gboolean
gtk_style_context_lookup_color ()
void
gtk_style_context_remove_provider ()
void
gtk_style_context_remove_provider_for_display ()
void
gtk_style_context_reset_widgets ()
void
gtk_style_context_restore ()
void
gtk_style_context_save ()
void
gtk_style_context_add_class ()
void
gtk_style_context_remove_class ()
gboolean
gtk_style_context_has_class ()
GList *
gtk_style_context_list_classes ()
void
gtk_style_context_set_display ()
void
gtk_style_context_set_state ()
void
gtk_style_context_set_scale ()
gint
gtk_style_context_get_scale ()
char *
gtk_style_context_to_string ()
GtkBorder *
gtk_border_new ()
GtkBorder *
gtk_border_copy ()
void
gtk_border_free ()
void
gtk_render_arrow ()
void
gtk_render_background ()
void
gtk_render_check ()
void
gtk_render_expander ()
void
gtk_render_focus ()
void
gtk_render_frame ()
void
gtk_render_handle ()
void
gtk_render_layout ()
void
gtk_render_line ()
void
gtk_render_option ()
void
gtk_render_activity ()
void
gtk_render_icon ()
void
gtk_render_insertion_cursor ()
Properties
GdkDisplay * displayRead / Write
Types and Values
enum GtkBorderStyle
#define GTK_STYLE_CLASS_ACCELERATOR
#define GTK_STYLE_CLASS_ARROW
#define GTK_STYLE_CLASS_BACKGROUND
#define GTK_STYLE_CLASS_BOTTOM
#define GTK_STYLE_CLASS_BUTTON
#define GTK_STYLE_CLASS_CALENDAR
#define GTK_STYLE_CLASS_CELL
#define GTK_STYLE_CLASS_COMBOBOX_ENTRY
#define GTK_STYLE_CLASS_CONTEXT_MENU
#define GTK_STYLE_CLASS_CHECK
#define GTK_STYLE_CLASS_CSD
#define GTK_STYLE_CLASS_CURSOR_HANDLE
#define GTK_STYLE_CLASS_DEFAULT
#define GTK_STYLE_CLASS_DESTRUCTIVE_ACTION
#define GTK_STYLE_CLASS_DIM_LABEL
#define GTK_STYLE_CLASS_DND
#define GTK_STYLE_CLASS_DOCK
#define GTK_STYLE_CLASS_ENTRY
#define GTK_STYLE_CLASS_ERROR
#define GTK_STYLE_CLASS_EXPANDER
#define GTK_STYLE_CLASS_FRAME
#define GTK_STYLE_CLASS_FLAT
#define GTK_STYLE_CLASS_HEADER
#define GTK_STYLE_CLASS_HIGHLIGHT
#define GTK_STYLE_CLASS_HORIZONTAL
#define GTK_STYLE_CLASS_IMAGE
#define GTK_STYLE_CLASS_INFO
#define GTK_STYLE_CLASS_INSERTION_CURSOR
#define GTK_STYLE_CLASS_LABEL
#define GTK_STYLE_CLASS_LEFT
#define GTK_STYLE_CLASS_LEVEL_BAR
#define GTK_STYLE_CLASS_LINKED
#define GTK_STYLE_CLASS_LIST
#define GTK_STYLE_CLASS_LIST_ROW
#define GTK_STYLE_CLASS_MARK
#define GTK_STYLE_CLASS_MENU
#define GTK_STYLE_CLASS_MENUBAR
#define GTK_STYLE_CLASS_MENUITEM
#define GTK_STYLE_CLASS_MESSAGE_DIALOG
#define GTK_STYLE_CLASS_MONOSPACE
#define GTK_STYLE_CLASS_NEEDS_ATTENTION
#define GTK_STYLE_CLASS_NOTEBOOK
#define GTK_STYLE_CLASS_OSD
#define GTK_STYLE_CLASS_OVERSHOOT
#define GTK_STYLE_CLASS_PANE_SEPARATOR
#define GTK_STYLE_CLASS_PAPER
#define GTK_STYLE_CLASS_POPUP
#define GTK_STYLE_CLASS_POPOVER
#define GTK_STYLE_CLASS_PROGRESSBAR
#define GTK_STYLE_CLASS_PULSE
#define GTK_STYLE_CLASS_QUESTION
#define GTK_STYLE_CLASS_RADIO
#define GTK_STYLE_CLASS_RAISED
#define GTK_STYLE_CLASS_READ_ONLY
#define GTK_STYLE_CLASS_RIGHT
#define GTK_STYLE_CLASS_RUBBERBAND
#define GTK_STYLE_CLASS_SCALE
#define GTK_STYLE_CLASS_SCALE_HAS_MARKS_ABOVE
#define GTK_STYLE_CLASS_SCALE_HAS_MARKS_BELOW
#define GTK_STYLE_CLASS_SCROLLBAR
#define GTK_STYLE_CLASS_SCROLLBARS_JUNCTION
#define GTK_STYLE_CLASS_SEPARATOR
#define GTK_STYLE_CLASS_SIDEBAR
#define GTK_STYLE_CLASS_SLIDER
#define GTK_STYLE_CLASS_SPINBUTTON
#define GTK_STYLE_CLASS_SPINNER
#define GTK_STYLE_CLASS_STATUSBAR
#define GTK_STYLE_CLASS_SUBTITLE
#define GTK_STYLE_CLASS_SUGGESTED_ACTION
#define GTK_STYLE_CLASS_TITLE
#define GTK_STYLE_CLASS_TITLEBAR
#define GTK_STYLE_CLASS_TOOLBAR
#define GTK_STYLE_CLASS_TOOLTIP
#define GTK_STYLE_CLASS_TOUCH_SELECTION
#define GTK_STYLE_CLASS_TOP
#define GTK_STYLE_CLASS_TROUGH
#define GTK_STYLE_CLASS_UNDERSHOOT
#define GTK_STYLE_CLASS_VERTICAL
#define GTK_STYLE_CLASS_VIEW
#define GTK_STYLE_CLASS_WARNING
#define GTK_STYLE_CLASS_WIDE
GtkStyleContext
enum GtkStyleContextPrintFlags
struct GtkBorder
Object Hierarchy
GObject
╰── GtkStyleContext
Includes #include <gtk/gtk.h>
Description
GtkStyleContext is an object that stores styling information affecting
a widget.
In order to construct the final style information, GtkStyleContext
queries information from all attached GtkStyleProviders . Style providers
can be either attached explicitly to the context through
gtk_style_context_add_provider() , or to the display through
gtk_style_context_add_provider_for_display() . The resulting style is a
combination of all providers’ information in priority order.
For GTK+ widgets, any GtkStyleContext returned by
gtk_widget_get_style_context() will already have a GdkDisplay and
RTL/LTR information set. The style context will also be updated
automatically if any of these settings change on the widget.
Style Classes Widgets can add style classes to their context, which can be used to associate
different styles by class. The documentation for individual widgets lists
which style classes it uses itself, and which style classes may be added by
applications to affect their appearance.
GTK+ defines macros for a number of style classes.
Custom styling in UI libraries and applications If you are developing a library with custom GtkWidgets that
render differently than standard components, you may need to add a
GtkStyleProvider yourself with the GTK_STYLE_PROVIDER_PRIORITY_FALLBACK
priority, either a GtkCssProvider or a custom object implementing the
GtkStyleProvider interface. This way themes may still attempt
to style your UI elements in a different way if needed so.
If you are using custom styling on an applications, you probably want then
to make your style information prevail to the theme’s, so you must use
a GtkStyleProvider with the GTK_STYLE_PROVIDER_PRIORITY_APPLICATION
priority, keep in mind that the user settings in
XDG_CONFIG_HOME/gtk-4.0/gtk.css will
still take precedence over your changes, as it uses the
GTK_STYLE_PROVIDER_PRIORITY_USER priority.
Functions
gtk_style_context_add_provider ()
gtk_style_context_add_provider
void
gtk_style_context_add_provider (GtkStyleContext *context ,
GtkStyleProvider *provider ,
guint priority );
Adds a style provider to context
, to be used in style construction.
Note that a style provider added by this function only affects
the style of the widget to which context
belongs. If you want
to affect the style of all widgets, use
gtk_style_context_add_provider_for_display() .
Note: If both priorities are the same, a GtkStyleProvider
added through this function takes precedence over another added
through gtk_style_context_add_provider_for_display() .
Parameters
context
a GtkStyleContext
provider
a GtkStyleProvider
priority
the priority of the style provider. The lower
it is, the earlier it will be used in the style
construction. Typically this will be in the range
between GTK_STYLE_PROVIDER_PRIORITY_FALLBACK and
GTK_STYLE_PROVIDER_PRIORITY_USER
gtk_style_context_add_provider_for_display ()
gtk_style_context_add_provider_for_display
void
gtk_style_context_add_provider_for_display
(GdkDisplay *display ,
GtkStyleProvider *provider ,
guint priority );
Adds a global style provider to display
, which will be used
in style construction for all GtkStyleContexts under display
.
GTK+ uses this to make styling information from GtkSettings
available.
Note: If both priorities are the same, A GtkStyleProvider
added through gtk_style_context_add_provider() takes precedence
over another added through this function.
Parameters
display
a GdkDisplay
provider
a GtkStyleProvider
priority
the priority of the style provider. The lower
it is, the earlier it will be used in the style
construction. Typically this will be in the range
between GTK_STYLE_PROVIDER_PRIORITY_FALLBACK and
GTK_STYLE_PROVIDER_PRIORITY_USER
gtk_style_context_get_parent ()
gtk_style_context_get_parent
GtkStyleContext *
gtk_style_context_get_parent (GtkStyleContext *context );
gtk_style_context_get_display ()
gtk_style_context_get_display
GdkDisplay *
gtk_style_context_get_display (GtkStyleContext *context );
Returns the GdkDisplay to which context
is attached.
Parameters
context
a GtkStyleContext
Returns
a GdkDisplay .
[transfer none ]
gtk_style_context_get_state ()
gtk_style_context_get_state
GtkStateFlags
gtk_style_context_get_state (GtkStyleContext *context );
Returns the state used for style matching.
This method should only be used to retrieve the GtkStateFlags
to pass to GtkStyleContext methods, like gtk_style_context_get_padding() .
If you need to retrieve the current state of a GtkWidget , use
gtk_widget_get_state_flags() .
Parameters
context
a GtkStyleContext
Returns
the state flags
gtk_style_context_get_color ()
gtk_style_context_get_color
void
gtk_style_context_get_color (GtkStyleContext *context ,
GdkRGBA *color );
Gets the foreground color for a given state.
See gtk_style_context_get_property() and
GTK_STYLE_PROPERTY_COLOR for details.
Parameters
context
a GtkStyleContext
color
return value for the foreground color.
[out ]
gtk_style_context_get_border ()
gtk_style_context_get_border
void
gtk_style_context_get_border (GtkStyleContext *context ,
GtkBorder *border );
Gets the border for a given state as a GtkBorder .
See gtk_style_context_get_property() and
GTK_STYLE_PROPERTY_BORDER_WIDTH for details.
Parameters
context
a GtkStyleContext
border
return value for the border settings.
[out ]
gtk_style_context_get_padding ()
gtk_style_context_get_padding
void
gtk_style_context_get_padding (GtkStyleContext *context ,
GtkBorder *padding );
Gets the padding for a given state as a GtkBorder .
See gtk_style_context_get() and GTK_STYLE_PROPERTY_PADDING
for details.
Parameters
context
a GtkStyleContext
padding
return value for the padding settings.
[out ]
gtk_style_context_get_margin ()
gtk_style_context_get_margin
void
gtk_style_context_get_margin (GtkStyleContext *context ,
GtkBorder *margin );
Gets the margin for a given state as a GtkBorder .
See gtk_style_property_get() and GTK_STYLE_PROPERTY_MARGIN
for details.
Parameters
context
a GtkStyleContext
margin
return value for the margin settings.
[out ]
gtk_style_context_lookup_color ()
gtk_style_context_lookup_color
gboolean
gtk_style_context_lookup_color (GtkStyleContext *context ,
const gchar *color_name ,
GdkRGBA *color );
Looks up and resolves a color name in the context
color map.
Parameters
context
a GtkStyleContext
color_name
color name to lookup
color
Return location for the looked up color.
[out ]
Returns
TRUE if color_name
was found and resolved, FALSE otherwise
gtk_style_context_remove_provider ()
gtk_style_context_remove_provider
void
gtk_style_context_remove_provider (GtkStyleContext *context ,
GtkStyleProvider *provider );
Removes provider
from the style providers list in context
.
Parameters
context
a GtkStyleContext
provider
a GtkStyleProvider
gtk_style_context_remove_provider_for_display ()
gtk_style_context_remove_provider_for_display
void
gtk_style_context_remove_provider_for_display
(GdkDisplay *display ,
GtkStyleProvider *provider );
Removes provider
from the global style providers list in display
.
Parameters
display
a GdkDisplay
provider
a GtkStyleProvider
gtk_style_context_reset_widgets ()
gtk_style_context_reset_widgets
void
gtk_style_context_reset_widgets (GdkDisplay *display );
This function recomputes the styles for all widgets under a particular
GdkDisplay . This is useful when some global parameter has changed that
affects the appearance of all widgets, because when a widget gets a new
style, it will both redraw and recompute any cached information about
its appearance. As an example, it is used when the color scheme changes
in the related GtkSettings object.
Parameters
display
a GdkDisplay
gtk_style_context_restore ()
gtk_style_context_restore
void
gtk_style_context_restore (GtkStyleContext *context );
Restores context
state to a previous stage.
See gtk_style_context_save() .
Parameters
context
a GtkStyleContext
gtk_style_context_save ()
gtk_style_context_save
void
gtk_style_context_save (GtkStyleContext *context );
Saves the context
state, so temporary modifications done through
gtk_style_context_add_class() , gtk_style_context_remove_class() ,
gtk_style_context_set_state() , etc. can quickly be reverted
in one go through gtk_style_context_restore() .
The matching call to gtk_style_context_restore() must be done
before GTK returns to the main loop.
Parameters
context
a GtkStyleContext
gtk_style_context_add_class ()
gtk_style_context_add_class
void
gtk_style_context_add_class (GtkStyleContext *context ,
const gchar *class_name );
Adds a style class to context
, so posterior calls to
gtk_style_context_get() or any of the gtk_render_*()
functions will make use of this new class for styling.
In the CSS file format, a GtkEntry defining a “search”
class, would be matched by:
While any widget defining a “search” class would be
matched by:
Parameters
context
a GtkStyleContext
class_name
class name to use in styling
gtk_style_context_remove_class ()
gtk_style_context_remove_class
void
gtk_style_context_remove_class (GtkStyleContext *context ,
const gchar *class_name );
Removes class_name
from context
.
Parameters
context
a GtkStyleContext
class_name
class name to remove
gtk_style_context_has_class ()
gtk_style_context_has_class
gboolean
gtk_style_context_has_class (GtkStyleContext *context ,
const gchar *class_name );
Returns TRUE if context
currently has defined the
given class name.
Parameters
context
a GtkStyleContext
class_name
a class name
Returns
TRUE if context
has class_name
defined
gtk_style_context_list_classes ()
gtk_style_context_list_classes
GList *
gtk_style_context_list_classes (GtkStyleContext *context );
Returns the list of classes currently defined in context
.
Parameters
context
a GtkStyleContext
Returns
a GList of
strings with the currently defined classes. The contents
of the list are owned by GTK+, but you must free the list
itself with g_list_free() when you are done with it.
[transfer container ][element-type utf8]
gtk_style_context_set_display ()
gtk_style_context_set_display
void
gtk_style_context_set_display (GtkStyleContext *context ,
GdkDisplay *display );
Attaches context
to the given display.
The display is used to add style information from “global” style
providers, such as the display's GtkSettings instance.
If you are using a GtkStyleContext returned from
gtk_widget_get_style_context() , you do not need to
call this yourself.
Parameters
context
a GtkStyleContext
display
a GdkDisplay
gtk_style_context_set_state ()
gtk_style_context_set_state
void
gtk_style_context_set_state (GtkStyleContext *context ,
GtkStateFlags flags );
Sets the state to be used for style matching.
Parameters
context
a GtkStyleContext
flags
state to represent
gtk_style_context_set_scale ()
gtk_style_context_set_scale
void
gtk_style_context_set_scale (GtkStyleContext *context ,
gint scale );
Sets the scale to use when getting image assets for the style.
Parameters
context
a GtkStyleContext
scale
scale
gtk_style_context_get_scale ()
gtk_style_context_get_scale
gint
gtk_style_context_get_scale (GtkStyleContext *context );
Returns the scale used for assets.
Parameters
context
a GtkStyleContext
Returns
the scale
gtk_style_context_to_string ()
gtk_style_context_to_string
char *
gtk_style_context_to_string (GtkStyleContext *context ,
GtkStyleContextPrintFlags flags );
Converts the style context into a string representation.
The string representation always includes information about
the name, state, id, visibility and style classes of the CSS
node that is backing context
. Depending on the flags, more
information may be included.
This function is intended for testing and debugging of the
CSS implementation in GTK+. There are no guarantees about
the format of the returned string, it may change.
Parameters
context
a GtkStyleContext
flags
Flags that determine what to print
Returns
a newly allocated string representing context
gtk_border_new ()
gtk_border_new
GtkBorder *
gtk_border_new (void );
Allocates a new GtkBorder and initializes its elements to zero.
Returns
a newly allocated GtkBorder .
Free with gtk_border_free() .
[transfer full ]
gtk_border_copy ()
gtk_border_copy
GtkBorder *
gtk_border_copy (const GtkBorder *border_ );
Copies a GtkBorder .
Parameters
border_
a GtkBorder
Returns
a copy of border_
.
[transfer full ]
gtk_border_free ()
gtk_border_free
void
gtk_border_free (GtkBorder *border_ );
Frees a GtkBorder .
Parameters
border_
a GtkBorder
gtk_render_arrow ()
gtk_render_arrow
void
gtk_render_arrow (GtkStyleContext *context ,
cairo_t *cr ,
gdouble angle ,
gdouble x ,
gdouble y ,
gdouble size );
Renders an arrow pointing to angle
.
Typical arrow rendering at 0, 1⁄2 π;, π; and 3⁄2 π:
Parameters
context
a GtkStyleContext
cr
a cairo_t
angle
arrow angle from 0 to 2 * G_PI , being 0 the arrow pointing to the north
x
X origin of the render area
y
Y origin of the render area
size
square side for render area
gtk_render_background ()
gtk_render_background
void
gtk_render_background (GtkStyleContext *context ,
cairo_t *cr ,
gdouble x ,
gdouble y ,
gdouble width ,
gdouble height );
Renders the background of an element.
Typical background rendering, showing the effect of
background-image , border-width and border-radius :
Parameters
context
a GtkStyleContext
cr
a cairo_t
x
X origin of the rectangle
y
Y origin of the rectangle
width
rectangle width
height
rectangle height
gtk_render_check ()
gtk_render_check
void
gtk_render_check (GtkStyleContext *context ,
cairo_t *cr ,
gdouble x ,
gdouble y ,
gdouble width ,
gdouble height );
Renders a checkmark (as in a GtkCheckButton ).
The GTK_STATE_FLAG_CHECKED state determines whether the check is
on or off, and GTK_STATE_FLAG_INCONSISTENT determines whether it
should be marked as undefined.
Typical checkmark rendering:
Parameters
context
a GtkStyleContext
cr
a cairo_t
x
X origin of the rectangle
y
Y origin of the rectangle
width
rectangle width
height
rectangle height
gtk_render_expander ()
gtk_render_expander
void
gtk_render_expander (GtkStyleContext *context ,
cairo_t *cr ,
gdouble x ,
gdouble y ,
gdouble width ,
gdouble height );
Renders an expander (as used in GtkTreeView and GtkExpander ) in the area
defined by x
, y
, width
, height
. The state GTK_STATE_FLAG_CHECKED
determines whether the expander is collapsed or expanded.
Typical expander rendering:
Parameters
context
a GtkStyleContext
cr
a cairo_t
x
X origin of the rectangle
y
Y origin of the rectangle
width
rectangle width
height
rectangle height
gtk_render_focus ()
gtk_render_focus
void
gtk_render_focus (GtkStyleContext *context ,
cairo_t *cr ,
gdouble x ,
gdouble y ,
gdouble width ,
gdouble height );
Renders a focus indicator on the rectangle determined by x
, y
, width
, height
.
Typical focus rendering:
Parameters
context
a GtkStyleContext
cr
a cairo_t
x
X origin of the rectangle
y
Y origin of the rectangle
width
rectangle width
height
rectangle height
gtk_render_frame ()
gtk_render_frame
void
gtk_render_frame (GtkStyleContext *context ,
cairo_t *cr ,
gdouble x ,
gdouble y ,
gdouble width ,
gdouble height );
Renders a frame around the rectangle defined by x
, y
, width
, height
.
Examples of frame rendering, showing the effect of border-image ,
border-color , border-width , border-radius and junctions:
Parameters
context
a GtkStyleContext
cr
a cairo_t
x
X origin of the rectangle
y
Y origin of the rectangle
width
rectangle width
height
rectangle height
gtk_render_handle ()
gtk_render_handle
void
gtk_render_handle (GtkStyleContext *context ,
cairo_t *cr ,
gdouble x ,
gdouble y ,
gdouble width ,
gdouble height );
Renders a handle (as in GtkPaned and
GtkWindow ’s resize grip), in the rectangle
determined by x
, y
, width
, height
.
Handles rendered for the paned and grip classes:
Parameters
context
a GtkStyleContext
cr
a cairo_t
x
X origin of the rectangle
y
Y origin of the rectangle
width
rectangle width
height
rectangle height
gtk_render_layout ()
gtk_render_layout
void
gtk_render_layout (GtkStyleContext *context ,
cairo_t *cr ,
gdouble x ,
gdouble y ,
PangoLayout *layout );
Renders layout
on the coordinates x
, y
Parameters
context
a GtkStyleContext
cr
a cairo_t
x
X origin
y
Y origin
layout
the PangoLayout to render
gtk_render_line ()
gtk_render_line
void
gtk_render_line (GtkStyleContext *context ,
cairo_t *cr ,
gdouble x0 ,
gdouble y0 ,
gdouble x1 ,
gdouble y1 );
Renders a line from (x0, y0) to (x1, y1).
Parameters
context
a GtkStyleContext
cr
a cairo_t
x0
X coordinate for the origin of the line
y0
Y coordinate for the origin of the line
x1
X coordinate for the end of the line
y1
Y coordinate for the end of the line
gtk_render_option ()
gtk_render_option
void
gtk_render_option (GtkStyleContext *context ,
cairo_t *cr ,
gdouble x ,
gdouble y ,
gdouble width ,
gdouble height );
Renders an option mark (as in a GtkRadioButton ), the GTK_STATE_FLAG_CHECKED
state will determine whether the option is on or off, and
GTK_STATE_FLAG_INCONSISTENT whether it should be marked as undefined.
Typical option mark rendering:
Parameters
context
a GtkStyleContext
cr
a cairo_t
x
X origin of the rectangle
y
Y origin of the rectangle
width
rectangle width
height
rectangle height
gtk_render_activity ()
gtk_render_activity
void
gtk_render_activity (GtkStyleContext *context ,
cairo_t *cr ,
gdouble x ,
gdouble y ,
gdouble width ,
gdouble height );
Renders an activity indicator (such as in GtkSpinner ).
The state GTK_STATE_FLAG_CHECKED determines whether there is
activity going on.
Parameters
context
a GtkStyleContext
cr
a cairo_t
x
X origin of the rectangle
y
Y origin of the rectangle
width
rectangle width
height
rectangle height
gtk_render_icon ()
gtk_render_icon
void
gtk_render_icon (GtkStyleContext *context ,
cairo_t *cr ,
GdkTexture *texture ,
gdouble x ,
gdouble y );
Renders the icon in texture
at the specified x
and y
coordinates.
This function will render the icon in texture
at exactly its size,
regardless of scaling factors, which may not be appropriate when
drawing on displays with high pixel densities.
Parameters
context
a GtkStyleContext
cr
a cairo_t
texture
a GdkTexture containing the icon to draw
x
X position for the texture
y
Y position for the texture
gtk_render_insertion_cursor ()
gtk_render_insertion_cursor
void
gtk_render_insertion_cursor (GtkStyleContext *context ,
cairo_t *cr ,
gdouble x ,
gdouble y ,
PangoLayout *layout ,
int index ,
PangoDirection direction );
Draws a text caret on cr
at the specified index of layout
.
Parameters
context
a GtkStyleContext
cr
a cairo_t
x
X origin
y
Y origin
layout
the PangoLayout of the text
index
the index in the PangoLayout
direction
the PangoDirection of the text
Property Details
The “display” property
GtkStyleContext:display
“display” GdkDisplay *
The associated GdkDisplay. Owner: GtkStyleContext
Flags: Read / Write
docs/reference/gtk/xml/gtkgesturezoom.xml 0000664 0001750 0001750 00000020252 13617646205 021007 0 ustar mclasen mclasen
]>
GtkGestureZoom
3
GTK4 Library
GtkGestureZoom
Zoom gesture
Functions
GtkGesture *
gtk_gesture_zoom_new ()
gdouble
gtk_gesture_zoom_get_scale_delta ()
Signals
void scale-changed Run First
Types and Values
GtkGestureZoom
Object Hierarchy
GObject
╰── GtkEventController
╰── GtkGesture
╰── GtkGestureZoom
Includes #include <gtk/gtk.h>
Description
GtkGestureZoom is a GtkGesture implementation able to recognize
pinch/zoom gestures, whenever the distance between both tracked
sequences changes, the “scale-changed” signal is
emitted to report the scale factor.
Functions
gtk_gesture_zoom_new ()
gtk_gesture_zoom_new
GtkGesture *
gtk_gesture_zoom_new (void );
Returns a newly created GtkGesture that recognizes zoom
in/out gestures (usually known as pinch/zoom).
Returns
a newly created GtkGestureZoom
gtk_gesture_zoom_get_scale_delta ()
gtk_gesture_zoom_get_scale_delta
gdouble
gtk_gesture_zoom_get_scale_delta (GtkGestureZoom *gesture );
If gesture
is active, this function returns the zooming difference
since the gesture was recognized (hence the starting point is
considered 1:1). If gesture
is not active, 1 is returned.
Parameters
gesture
a GtkGestureZoom
Returns
the scale delta
Signal Details
The “scale-changed” signal
GtkGestureZoom::scale-changed
void
user_function (GtkGestureZoom *controller,
gdouble scale,
gpointer user_data)
This signal is emitted whenever the distance between both tracked
sequences changes.
Parameters
controller
the object on which the signal is emitted
scale
Scale delta, taking the initial state as 1:1
user_data
user data set when the signal handler was connected.
Flags: Run First
See Also
GtkGestureRotate
docs/reference/gtk/xml/gtkcssprovider.xml 0000664 0001750 0001750 00000116046 13617646204 020775 0 ustar mclasen mclasen
]>
GtkCssProvider
3
GTK4 Library
GtkCssProvider
CSS-like styling for widgets
Functions
void
gtk_css_provider_load_named ()
void
gtk_css_provider_load_from_data ()
void
gtk_css_provider_load_from_file ()
void
gtk_css_provider_load_from_path ()
void
gtk_css_provider_load_from_resource ()
GtkCssProvider *
gtk_css_provider_new ()
char *
gtk_css_provider_to_string ()
GtkCssSection *
gtk_css_section_new ()
GtkCssSection *
gtk_css_section_ref ()
void
gtk_css_section_unref ()
void
gtk_css_section_print ()
char *
gtk_css_section_to_string ()
GFile *
gtk_css_section_get_file ()
GtkCssSection *
gtk_css_section_get_parent ()
const GtkCssLocation *
gtk_css_section_get_start_location ()
const GtkCssLocation *
gtk_css_section_get_end_location ()
Signals
void parsing-error Run Last
Types and Values
struct GtkCssProvider
#define GTK_CSS_PARSER_ERROR
enum GtkCssParserError
enum GtkCssParserWarning
struct GtkCssLocation
GtkCssSection
Object Hierarchy
GBoxed
╰── GtkCssSection
GObject
╰── GtkCssProvider
Implemented Interfaces
GtkCssProvider implements
GtkStyleProvider.
Includes #include <gtk/gtk.h>
Description
GtkCssProvider is an object implementing the GtkStyleProvider interface.
It is able to parse CSS-like input in order to style widgets.
An application can make GTK+ parse a specific CSS style sheet by calling
gtk_css_provider_load_from_file() or gtk_css_provider_load_from_resource()
and adding the provider with gtk_style_context_add_provider() or
gtk_style_context_add_provider_for_display() .
In addition, certain files will be read when GTK+ is initialized. First, the
file $XDG_CONFIG_HOME/gtk-4.0/gtk.css is loaded if it exists. Then, GTK+
loads the first existing file among
XDG_DATA_HOME/themes/THEME/gtk-VERSION/gtk-VARIANT.css ,
$HOME/.themes/THEME/gtk-VERSION/gtk-VARIANT.css ,
$XDG_DATA_DIRS/themes/THEME/gtk-VERSION/gtk-VARIANT.css and
DATADIR/share/themes/THEME/gtk-VERSION/gtk-VARIANT.css , where THEME is the name of
the current theme (see the “gtk-theme-name” setting),
VARIANT is the variant to load (see the “gtk-application-prefer-dark-theme” setting), DATADIR
is the prefix configured when GTK+ was compiled (unless overridden by the
GTK_DATA_PREFIX environment variable), and VERSION is the GTK+ version number.
If no file is found for the current version, GTK+ tries older versions all the
way back to 4.0.
Functions
gtk_css_provider_load_named ()
gtk_css_provider_load_named
void
gtk_css_provider_load_named (GtkCssProvider *provider ,
const char *name ,
const char *variant );
Loads a theme from the usual theme paths. The actual process of
finding the theme might change between releases, but it is
guaranteed that this function uses the same mechanism to load the
theme that GTK uses for loading its own theme.
Parameters
provider
a GtkCssProvider
name
A theme name
variant
variant to load, for example, "dark", or
NULL for the default.
[allow-none ]
gtk_css_provider_load_from_data ()
gtk_css_provider_load_from_data
void
gtk_css_provider_load_from_data (GtkCssProvider *css_provider ,
const gchar *data ,
gssize length );
Loads data
into css_provider
, and by doing so clears any previously loaded
information.
Parameters
css_provider
a GtkCssProvider
data
CSS data loaded in memory.
[array length=length][element-type guint8]
length
the length of data
in bytes, or -1 for NUL terminated strings. If
length
is not -1, the code will assume it is not NUL terminated and will
potentially do a copy.
gtk_css_provider_load_from_file ()
gtk_css_provider_load_from_file
void
gtk_css_provider_load_from_file (GtkCssProvider *css_provider ,
GFile *file );
Loads the data contained in file
into css_provider
, making it
clear any previously loaded information.
Parameters
css_provider
a GtkCssProvider
file
GFile pointing to a file to load
gtk_css_provider_load_from_path ()
gtk_css_provider_load_from_path
void
gtk_css_provider_load_from_path (GtkCssProvider *css_provider ,
const gchar *path );
Loads the data contained in path
into css_provider
, making it clear
any previously loaded information.
Parameters
css_provider
a GtkCssProvider
path
the path of a filename to load, in the GLib filename encoding
gtk_css_provider_load_from_resource ()
gtk_css_provider_load_from_resource
void
gtk_css_provider_load_from_resource (GtkCssProvider *css_provider ,
const gchar *resource_path );
Loads the data contained in the resource at resource_path
into
the GtkCssProvider , clearing any previously loaded information.
To track errors while loading CSS, connect to the
“parsing-error” signal.
Parameters
css_provider
a GtkCssProvider
resource_path
a GResource resource path
gtk_css_provider_new ()
gtk_css_provider_new
GtkCssProvider *
gtk_css_provider_new (void );
Returns a newly created GtkCssProvider .
Returns
A new GtkCssProvider
gtk_css_provider_to_string ()
gtk_css_provider_to_string
char *
gtk_css_provider_to_string (GtkCssProvider *provider );
Converts the provider
into a string representation in CSS
format.
Using gtk_css_provider_load_from_data() with the return value
from this function on a new provider created with
gtk_css_provider_new() will basically create a duplicate of
this provider
.
Parameters
provider
the provider to write to a string
Returns
a new string representing the provider
.
gtk_css_section_new ()
gtk_css_section_new
GtkCssSection *
gtk_css_section_new (GFile *file ,
const GtkCssLocation *start ,
const GtkCssLocation *end );
Creates a new GtkCssSection referring to the section
in the given file
from the start
location to the
end
location.
[constructor ]
Parameters
file
The file this section refers to.
[nullable ][transfer none ]
start
The start location
end
The end location
Returns
a new GtkCssSection
gtk_css_section_ref ()
gtk_css_section_ref
GtkCssSection *
gtk_css_section_ref (GtkCssSection *section );
Increments the reference count on section
.
Parameters
section
a GtkCssSection
Returns
section
itself.
gtk_css_section_unref ()
gtk_css_section_unref
void
gtk_css_section_unref (GtkCssSection *section );
Decrements the reference count on section
, freeing the
structure if the reference count reaches 0.
Parameters
section
a GtkCssSection
gtk_css_section_print ()
gtk_css_section_print
void
gtk_css_section_print (const GtkCssSection *section ,
GString *string );
Prints the section
into string
in a human-readable form. This
is a form like gtk.css:32:1-23 to denote line 32, characters
1 to 23 in the file gtk.css.
Parameters
section
a section
string
a GString to print to
gtk_css_section_to_string ()
gtk_css_section_to_string
char *
gtk_css_section_to_string (const GtkCssSection *section );
Prints the section into a human-readable text form using
gtk_css_section_print() .
Parameters
section
a GtkCssSection
Returns
A new string.
[transfer full ]
gtk_css_section_get_file ()
gtk_css_section_get_file
GFile *
gtk_css_section_get_file (const GtkCssSection *section );
Gets the file that section
was parsed from. If no such file exists,
for example because the CSS was loaded via
gtk_css_provider_load_from_data()
, then NULL is returned.
Parameters
section
the section
Returns
the GFile that section
was parsed from
or NULL if section
was parsed from other data.
[transfer none ]
gtk_css_section_get_parent ()
gtk_css_section_get_parent
GtkCssSection *
gtk_css_section_get_parent (const GtkCssSection *section );
Gets the parent section for the given section
. The parent section is
the section that contains this section
. A special case are sections of
type GTK_CSS_SECTION_DOCUMENT . Their parent will either be NULL
if they are the original CSS document that was loaded by
gtk_css_provider_load_from_file() or a section of type
GTK_CSS_SECTION_IMPORT if it was loaded with an import rule from
a different file.
Parameters
section
the section
Returns
the parent section or NULL if none.
[nullable ][transfer none ]
gtk_css_section_get_start_location ()
gtk_css_section_get_start_location
const GtkCssLocation *
gtk_css_section_get_start_location (const GtkCssSection *section );
Returns the location in the CSS document where this section starts.
Parameters
section
the section
Returns
The start location of
this section.
[transfer none ][not nullable ]
gtk_css_section_get_end_location ()
gtk_css_section_get_end_location
const GtkCssLocation *
gtk_css_section_get_end_location (const GtkCssSection *section );
Returns the location in the CSS document where this section ends.
Parameters
section
the section
Returns
The end location of
this section.
[transfer none ][not nullable ]
Signal Details
The “parsing-error” signal
GtkCssProvider::parsing-error
void
user_function (GtkCssProvider *provider,
GtkCssSection *section,
GError *error,
gpointer user_data)
Signals that a parsing error occurred. the path
, line
and position
describe the actual location of the error as accurately as possible.
Parsing errors are never fatal, so the parsing will resume after
the error. Errors may however cause parts of the given
data or even all of it to not be parsed at all. So it is a useful idea
to check that the parsing succeeds by connecting to this signal.
Note that this signal may be emitted at any time as the css provider
may opt to defer parsing parts or all of the input to a later time
than when a loading function was called.
Parameters
provider
the provider that had a parsing error
section
section the error happened in
error
The parsing error
user_data
user data set when the signal handler was connected.
Flags: Run Last
See Also
GtkStyleContext , GtkStyleProvider
docs/reference/gtk/xml/gtkconstraint.xml 0000664 0001750 0001750 00000127675 13617646205 020631 0 ustar mclasen mclasen
]>
GtkConstraint
3
GTK4 Library
GtkConstraint
The description of a constraint
Functions
GtkConstraint *
gtk_constraint_new ()
GtkConstraint *
gtk_constraint_new_constant ()
GtkConstraintTarget *
gtk_constraint_get_target ()
GtkConstraintAttribute
gtk_constraint_get_target_attribute ()
GtkConstraintRelation
gtk_constraint_get_relation ()
GtkConstraintTarget *
gtk_constraint_get_source ()
GtkConstraintAttribute
gtk_constraint_get_source_attribute ()
double
gtk_constraint_get_multiplier ()
double
gtk_constraint_get_constant ()
int
gtk_constraint_get_strength ()
gboolean
gtk_constraint_is_required ()
gboolean
gtk_constraint_is_attached ()
gboolean
gtk_constraint_is_constant ()
Properties
gdouble constantRead / Write / Construct Only
gdouble multiplierRead / Write / Construct Only
GtkConstraintRelation relationRead / Write / Construct Only
GtkConstraintTarget * sourceRead / Write / Construct Only
GtkConstraintAttribute source-attributeRead / Write / Construct Only
gint strengthRead / Write / Construct Only
GtkConstraintTarget * targetRead / Write / Construct Only
GtkConstraintAttribute target-attributeRead / Write / Construct Only
Types and Values
GtkConstraint
GtkConstraintTarget
enum GtkConstraintAttribute
enum GtkConstraintRelation
enum GtkConstraintStrength
Object Hierarchy
GInterface
╰── GtkConstraintTarget
GObject
╰── GtkConstraint
Prerequisites
GtkConstraintTarget requires
GObject.
Known Implementations
GtkConstraintTarget is implemented by
GtkAboutDialog, GtkAccelLabel, GtkActionBar, GtkAppChooserButton, GtkAppChooserDialog, GtkAppChooserWidget, GtkApplicationWindow, GtkAspectFrame, GtkAssistant, GtkBin, GtkBox, GtkButton, GtkCalendar, GtkCellView, GtkCheckButton, GtkColorButton, GtkColorChooserDialog, GtkColorChooserWidget, GtkComboBox, GtkComboBoxText, GtkConstraintGuide, GtkContainer, GtkDialog, GtkDragIcon, GtkDrawingArea, GtkEmojiChooser, GtkEntry, GtkExpander, GtkFileChooserButton, GtkFileChooserDialog, GtkFileChooserWidget, GtkFixed, GtkFlowBox, GtkFlowBoxChild, GtkFontButton, GtkFontChooserDialog, GtkFontChooserWidget, GtkFrame, GtkGLArea, GtkGrid, GtkHeaderBar, GtkIconView, GtkImage, GtkInfoBar, GtkLabel, GtkLevelBar, GtkLinkButton, GtkListBox, GtkListBoxRow, GtkLockButton, GtkMediaControls, GtkMenuButton, GtkMessageDialog, GtkNotebook, GtkOverlay, GtkPageSetupUnixDialog, GtkPaned, GtkPasswordEntry, GtkPicture, GtkPopover, GtkPopoverMenu, GtkPopoverMenuBar, GtkPrintUnixDialog, GtkProgressBar, GtkRadioButton, GtkRange, GtkRevealer, GtkScale, GtkScaleButton, GtkScrollbar, GtkScrolledWindow, GtkSearchBar, GtkSearchEntry, GtkSeparator, GtkShortcutLabel, GtkShortcutsGroup, GtkShortcutsSection, GtkShortcutsShortcut, GtkShortcutsWindow, GtkSpinButton, GtkSpinner, GtkStack, GtkStackSidebar, GtkStackSwitcher, GtkStatusbar, GtkSwitch, GtkText, GtkTextView, GtkToggleButton, GtkTreeView, GtkVideo, GtkViewport, GtkVolumeButton, GtkWidget and GtkWindow.
Includes #include <gtk/gtk.h>
Description
GtkConstraint describes a constraint between an attribute on a widget
and another attribute on another widget, expressed as a linear equation
like:
Each GtkConstraint is part of a system that will be solved by a
GtkConstraintLayout in order to allocate and position each child widget.
The source and target widgets, as well as their attributes, of a
GtkConstraint instance are immutable after creation.
Functions
gtk_constraint_new ()
gtk_constraint_new
GtkConstraint *
gtk_constraint_new (gpointer target ,
GtkConstraintAttribute target_attribute ,
GtkConstraintRelation relation ,
gpointer source ,
GtkConstraintAttribute source_attribute ,
double multiplier ,
double constant ,
int strength );
Creates a new GtkConstraint representing a relation between a layout
attribute on a source and a layout attribute on a target.
Parameters
target
a GtkConstraintTarget .
[nullable ][type GtkConstraintTarget]
target_attribute
the attribute of target
to be set
relation
the relation equivalence between target_attribute
and source_attribute
source
a GtkConstraintTarget .
[nullable ][type GtkConstraintTarget]
source_attribute
the attribute of source
to be read
multiplier
a multiplication factor to be applied to source_attribute
constant
a constant factor to be added to source_attribute
strength
the strength of the constraint
Returns
the newly created GtkConstraint
gtk_constraint_new_constant ()
gtk_constraint_new_constant
GtkConstraint *
gtk_constraint_new_constant (gpointer target ,
GtkConstraintAttribute target_attribute ,
GtkConstraintRelation relation ,
double constant ,
int strength );
Creates a new GtkConstraint representing a relation between a layout
attribute on a target and a constant value.
Parameters
target
a GtkConstraintTarget .
[nullable ][type GtkConstraintTarget]
target_attribute
the attribute of target
to be set
relation
the relation equivalence between target_attribute
and constant
constant
a constant factor to be set on target_attribute
strength
the strength of the constraint
Returns
the newly created GtkConstraint
gtk_constraint_get_target ()
gtk_constraint_get_target
GtkConstraintTarget *
gtk_constraint_get_target (GtkConstraint *constraint );
Retrieves the GtkConstraintTarget used as the target for constraint
.
If the “target” property is set to NULL , the constraint
will use the GtkConstraintLayout 's widget.
Parameters
constraint
a GtkConstraint
Returns
a GtkConstraintTarget .
[transfer none ][nullable ]
gtk_constraint_get_target_attribute ()
gtk_constraint_get_target_attribute
GtkConstraintAttribute
gtk_constraint_get_target_attribute (GtkConstraint *constraint );
Retrieves the attribute of the target to be set by the constraint
.
Parameters
constraint
a GtkConstraint
Returns
the target's attribute
gtk_constraint_get_relation ()
gtk_constraint_get_relation
GtkConstraintRelation
gtk_constraint_get_relation (GtkConstraint *constraint );
The order relation between the terms of the constraint
.
Parameters
constraint
a GtkConstraint
Returns
a GtkConstraintRelation value
gtk_constraint_get_source ()
gtk_constraint_get_source
GtkConstraintTarget *
gtk_constraint_get_source (GtkConstraint *constraint );
Retrieves the GtkConstraintTarget used as the source for constraint
.
If the “source” property is set to NULL , the constraint
will use the GtkConstraintLayout 's widget.
Parameters
constraint
a GtkConstraint
Returns
a GtkConstraintTarget .
[transfer none ][nullable ]
gtk_constraint_get_source_attribute ()
gtk_constraint_get_source_attribute
GtkConstraintAttribute
gtk_constraint_get_source_attribute (GtkConstraint *constraint );
Retrieves the attribute of the source to be read by the constraint
.
Parameters
constraint
a GtkConstraint
Returns
the target's attribute
gtk_constraint_get_multiplier ()
gtk_constraint_get_multiplier
double
gtk_constraint_get_multiplier (GtkConstraint *constraint );
Retrieves the multiplication factor applied to the source
attribute's value.
Parameters
constraint
a GtkConstraint
Returns
a multiplication factor
gtk_constraint_get_constant ()
gtk_constraint_get_constant
double
gtk_constraint_get_constant (GtkConstraint *constraint );
Retrieves the constant factor added to the source attributes' value.
Parameters
constraint
a GtkConstraint
Returns
a constant factor
gtk_constraint_get_strength ()
gtk_constraint_get_strength
int
gtk_constraint_get_strength (GtkConstraint *constraint );
Retrieves the strength of the constraint.
Parameters
constraint
a GtkConstraint
Returns
the strength of the constraint
gtk_constraint_is_required ()
gtk_constraint_is_required
gboolean
gtk_constraint_is_required (GtkConstraint *constraint );
Checks whether the constraint
is a required relation for solving the
constraint layout.
Parameters
constraint
a GtkConstraint
Returns
TRUE if the constraint is required
gtk_constraint_is_attached ()
gtk_constraint_is_attached
gboolean
gtk_constraint_is_attached (GtkConstraint *constraint );
Checks whether the constraint
is attached to a GtkConstraintLayout ,
and it is contributing to the layout.
Parameters
constraint
a GtkConstraint
Returns
TRUE if the constraint is attached
gtk_constraint_is_constant ()
gtk_constraint_is_constant
gboolean
gtk_constraint_is_constant (GtkConstraint *constraint );
Checks whether the constraint
describes a relation between an attribute
on the “target-widget” and a constant value.
Parameters
constraint
a GtkConstraint
Returns
TRUE if the constraint is a constant relation
Property Details
The “constant” property
GtkConstraint:constant
“constant” gdouble
The constant value to be added to the “source-attribute” .
Owner: GtkConstraint
Flags: Read / Write / Construct Only
Default value: 0
The “multiplier” property
GtkConstraint:multiplier
“multiplier” gdouble
The multiplication factor to be applied to the
“source-attribute” .
Owner: GtkConstraint
Flags: Read / Write / Construct Only
Default value: 1
The “relation” property
GtkConstraint:relation
“relation” GtkConstraintRelation
The order relation between the terms of the constraint.
Owner: GtkConstraint
Flags: Read / Write / Construct Only
Default value: GTK_CONSTRAINT_RELATION_EQ
The “source” property
GtkConstraint:source
“source” GtkConstraintTarget *
The source of the constraint.
The constraint will set the “target-attribute” of the
target using the “source-attribute” of the source.
Owner: GtkConstraint
Flags: Read / Write / Construct Only
The “source-attribute” property
GtkConstraint:source-attribute
“source-attribute” GtkConstraintAttribute
The attribute of the “source” read by the constraint.
Owner: GtkConstraint
Flags: Read / Write / Construct Only
Default value: GTK_CONSTRAINT_ATTRIBUTE_NONE
The “strength” property
GtkConstraint:strength
“strength” gint
The strength of the constraint.
The strength can be expressed either using one of the symbolic values
of the GtkConstraintStrength enumeration, or any positive integer
value.
Owner: GtkConstraint
Flags: Read / Write / Construct Only
Allowed values: [0,1001001000]
Default value: 1001001000
The “target” property
GtkConstraint:target
“target” GtkConstraintTarget *
The target of the constraint.
The constraint will set the “target-attribute” of the
target using the “source-attribute” of the source
widget.
Owner: GtkConstraint
Flags: Read / Write / Construct Only
The “target-attribute” property
GtkConstraint:target-attribute
“target-attribute” GtkConstraintAttribute
The attribute of the “target” set by the constraint.
Owner: GtkConstraint
Flags: Read / Write / Construct Only
Default value: GTK_CONSTRAINT_ATTRIBUTE_NONE
docs/reference/gtk/xml/gtkselection.xml 0000664 0001750 0001750 00000157501 13617646204 020420 0 ustar mclasen mclasen
]>
Selections
3
GTK4 Library
Selections
Functions for handling inter-process communication
via selections
Functions
void
gtk_selection_data_set ()
gboolean
gtk_selection_data_set_text ()
guchar *
gtk_selection_data_get_text ()
gboolean
gtk_selection_data_set_pixbuf ()
GdkPixbuf *
gtk_selection_data_get_pixbuf ()
gboolean
gtk_selection_data_set_texture ()
GdkTexture *
gtk_selection_data_get_texture ()
gboolean
gtk_selection_data_set_uris ()
gchar **
gtk_selection_data_get_uris ()
gboolean
gtk_selection_data_get_targets ()
gboolean
gtk_selection_data_targets_include_image ()
gboolean
gtk_selection_data_targets_include_text ()
gboolean
gtk_selection_data_targets_include_uri ()
const guchar *
gtk_selection_data_get_data ()
gint
gtk_selection_data_get_length ()
const guchar *
gtk_selection_data_get_data_with_length ()
GdkAtom
gtk_selection_data_get_data_type ()
GdkDisplay *
gtk_selection_data_get_display ()
gint
gtk_selection_data_get_format ()
GdkAtom
gtk_selection_data_get_target ()
gboolean
gtk_targets_include_image ()
gboolean
gtk_targets_include_text ()
gboolean
gtk_targets_include_uri ()
GtkSelectionData *
gtk_selection_data_copy ()
void
gtk_selection_data_free ()
Types and Values
GtkSelectionData
Includes #include <gtk/gtk.h>
Description
The selection mechanism provides the basis for different types
of communication between processes. In particular, drag and drop and
GtkClipboard work via selections. You will very seldom or
never need to use most of the functions in this section directly;
GtkClipboard provides a nicer interface to the same functionality.
Some of the datatypes defined this section are used in
the GtkClipboard and drag-and-drop API’s as well. The
GdkContentFormats object represents
lists of data types that are supported when sending or
receiving data. The GtkSelectionData object is used to
store a chunk of data along with the data type and other
associated information.
Functions
gtk_selection_data_set ()
gtk_selection_data_set
void
gtk_selection_data_set (GtkSelectionData *selection_data ,
GdkAtom type ,
gint format ,
const guchar *data ,
gint length );
Stores new data into a GtkSelectionData object. Should
only be called from a selection handler callback.
Zero-terminates the stored data.
Parameters
selection_data
a pointer to a GtkSelectionData .
type
the type of selection data
format
format (number of bits in a unit)
data
pointer to the data (will be copied).
[array length=length]
length
length of the data
gtk_selection_data_set_text ()
gtk_selection_data_set_text
gboolean
gtk_selection_data_set_text (GtkSelectionData *selection_data ,
const gchar *str ,
gint len );
Sets the contents of the selection from a UTF-8 encoded string.
The string is converted to the form determined by
selection_data->target
.
Parameters
selection_data
a GtkSelectionData
str
a UTF-8 string
len
the length of str
, or -1 if str
is nul-terminated.
Returns
TRUE if the selection was successfully set,
otherwise FALSE .
gtk_selection_data_get_text ()
gtk_selection_data_get_text
guchar *
gtk_selection_data_get_text (const GtkSelectionData *selection_data );
Gets the contents of the selection data as a UTF-8 string.
Parameters
selection_data
a GtkSelectionData
Returns
if the selection data contained a
recognized text type and it could be converted to UTF-8, a newly
allocated string containing the converted text, otherwise NULL .
If the result is non-NULL it must be freed with g_free() .
[type utf8][nullable ][transfer full ]
gtk_selection_data_set_pixbuf ()
gtk_selection_data_set_pixbuf
gboolean
gtk_selection_data_set_pixbuf (GtkSelectionData *selection_data ,
GdkPixbuf *pixbuf );
Sets the contents of the selection from a GdkPixbuf
The pixbuf is converted to the form determined by
selection_data->target
.
Parameters
selection_data
a GtkSelectionData
pixbuf
a GdkPixbuf
Returns
TRUE if the selection was successfully set,
otherwise FALSE .
gtk_selection_data_get_pixbuf ()
gtk_selection_data_get_pixbuf
GdkPixbuf *
gtk_selection_data_get_pixbuf (const GtkSelectionData *selection_data );
Gets the contents of the selection data as a GdkPixbuf .
Parameters
selection_data
a GtkSelectionData
Returns
if the selection data
contained a recognized image type and it could be converted to a
GdkPixbuf , a newly allocated pixbuf is returned, otherwise
NULL . If the result is non-NULL it must be freed with
g_object_unref() .
[nullable ][transfer full ]
gtk_selection_data_set_texture ()
gtk_selection_data_set_texture
gboolean
gtk_selection_data_set_texture (GtkSelectionData *selection_data ,
GdkTexture *texture );
Sets the contents of the selection from a GdkTexture .
The surface is converted to the form determined by
selection_data->target
.
Parameters
selection_data
a GtkSelectionData
texture
a GdkTexture
Returns
TRUE if the selection was successfully set,
otherwise FALSE .
gtk_selection_data_get_texture ()
gtk_selection_data_get_texture
GdkTexture *
gtk_selection_data_get_texture (const GtkSelectionData *selection_data );
Gets the contents of the selection data as a GdkPixbuf .
Parameters
selection_data
a GtkSelectionData
Returns
if the selection data
contained a recognized image type and it could be converted to a
GdkTexture , a newly allocated texture is returned, otherwise
NULL . If the result is non-NULL it must be freed with
g_object_unref() .
[nullable ][transfer full ]
gtk_selection_data_set_uris ()
gtk_selection_data_set_uris
gboolean
gtk_selection_data_set_uris (GtkSelectionData *selection_data ,
gchar **uris );
Sets the contents of the selection from a list of URIs.
The string is converted to the form determined by
selection_data->target
.
Parameters
selection_data
a GtkSelectionData
uris
a NULL -terminated array of
strings holding URIs.
[array zero-terminated=1]
Returns
TRUE if the selection was successfully set,
otherwise FALSE .
gtk_selection_data_get_uris ()
gtk_selection_data_get_uris
gchar **
gtk_selection_data_get_uris (const GtkSelectionData *selection_data );
Gets the contents of the selection data as array of URIs.
Parameters
selection_data
a GtkSelectionData
Returns
if
the selection data contains a list of
URIs, a newly allocated NULL -terminated string array
containing the URIs, otherwise NULL . If the result is
non-NULL it must be freed with g_strfreev() .
[array zero-terminated=1][element-type utf8][transfer full ]
gtk_selection_data_get_targets ()
gtk_selection_data_get_targets
gboolean
gtk_selection_data_get_targets (const GtkSelectionData *selection_data ,
GdkAtom **targets ,
gint *n_atoms );
Gets the contents of selection_data
as an array of targets.
This can be used to interpret the results of getting
the standard TARGETS target that is always supplied for
any selection.
Parameters
selection_data
a GtkSelectionData object
targets
location to store an array of targets. The result stored
here must be freed with g_free() .
[out ][array length=n_atoms][transfer container ]
n_atoms
location to store number of items in targets
.
Returns
TRUE if selection_data
contains a valid
array of targets, otherwise FALSE .
gtk_selection_data_targets_include_image ()
gtk_selection_data_targets_include_image
gboolean
gtk_selection_data_targets_include_image
(const GtkSelectionData *selection_data ,
gboolean writable );
Given a GtkSelectionData object holding a list of targets,
determines if any of the targets in targets
can be used to
provide a GdkPixbuf .
Parameters
selection_data
a GtkSelectionData object
writable
whether to accept only targets for which GTK+ knows
how to convert a pixbuf into the format
Returns
TRUE if selection_data
holds a list of targets,
and a suitable target for images is included, otherwise FALSE .
gtk_selection_data_targets_include_text ()
gtk_selection_data_targets_include_text
gboolean
gtk_selection_data_targets_include_text
(const GtkSelectionData *selection_data );
Given a GtkSelectionData object holding a list of targets,
determines if any of the targets in targets
can be used to
provide text.
Parameters
selection_data
a GtkSelectionData object
Returns
TRUE if selection_data
holds a list of targets,
and a suitable target for text is included, otherwise FALSE .
gtk_selection_data_targets_include_uri ()
gtk_selection_data_targets_include_uri
gboolean
gtk_selection_data_targets_include_uri
(const GtkSelectionData *selection_data );
Given a GtkSelectionData object holding a list of targets,
determines if any of the targets in targets
can be used to
provide a list or URIs.
Parameters
selection_data
a GtkSelectionData object
Returns
TRUE if selection_data
holds a list of targets,
and a suitable target for URI lists is included, otherwise FALSE .
gtk_selection_data_get_data ()
gtk_selection_data_get_data
const guchar *
gtk_selection_data_get_data (const GtkSelectionData *selection_data );
Retrieves the raw data of the selection.
[skip ]
Parameters
selection_data
a pointer to a
GtkSelectionData .
Returns
the raw data of the selection.
[array ][element-type guint8]
gtk_selection_data_get_length ()
gtk_selection_data_get_length
gint
gtk_selection_data_get_length (const GtkSelectionData *selection_data );
Retrieves the length of the raw data of the selection.
Parameters
selection_data
a pointer to a GtkSelectionData .
Returns
the length of the data of the selection.
gtk_selection_data_get_data_with_length ()
gtk_selection_data_get_data_with_length
const guchar *
gtk_selection_data_get_data_with_length
(const GtkSelectionData *selection_data ,
gint *length );
Retrieves the raw data of the selection along with its length.
[rename-to gtk_selection_data_get_data]
Parameters
selection_data
a pointer to a GtkSelectionData .
length
return location for length of the data segment.
[out ]
Returns
the raw data of the selection.
[array length=length]
gtk_selection_data_get_data_type ()
gtk_selection_data_get_data_type
GdkAtom
gtk_selection_data_get_data_type (const GtkSelectionData *selection_data );
Retrieves the data type of the selection.
Parameters
selection_data
a pointer to a GtkSelectionData .
Returns
the data type of the selection.
[transfer none ]
gtk_selection_data_get_display ()
gtk_selection_data_get_display
GdkDisplay *
gtk_selection_data_get_display (const GtkSelectionData *selection_data );
Retrieves the display of the selection.
Parameters
selection_data
a pointer to a GtkSelectionData .
Returns
the display of the selection.
[transfer none ]
gtk_selection_data_get_format ()
gtk_selection_data_get_format
gint
gtk_selection_data_get_format (const GtkSelectionData *selection_data );
Retrieves the format of the selection.
Parameters
selection_data
a pointer to a GtkSelectionData .
Returns
the format of the selection.
gtk_selection_data_get_target ()
gtk_selection_data_get_target
GdkAtom
gtk_selection_data_get_target (const GtkSelectionData *selection_data );
Retrieves the target of the selection.
Parameters
selection_data
a pointer to a GtkSelectionData .
Returns
the target of the selection.
[transfer none ]
gtk_targets_include_image ()
gtk_targets_include_image
gboolean
gtk_targets_include_image (GdkAtom *targets ,
gint n_targets ,
gboolean writable );
Determines if any of the targets in targets
can be used to
provide a GdkPixbuf .
Parameters
targets
an array of GdkAtoms .
[array length=n_targets]
n_targets
the length of targets
writable
whether to accept only targets for which GTK+ knows
how to convert a pixbuf into the format
Returns
TRUE if targets
include a suitable target for images,
otherwise FALSE .
gtk_targets_include_text ()
gtk_targets_include_text
gboolean
gtk_targets_include_text (GdkAtom *targets ,
gint n_targets );
Determines if any of the targets in targets
can be used to
provide text.
Parameters
targets
an array of GdkAtoms .
[array length=n_targets]
n_targets
the length of targets
Returns
TRUE if targets
include a suitable target for text,
otherwise FALSE .
gtk_targets_include_uri ()
gtk_targets_include_uri
gboolean
gtk_targets_include_uri (GdkAtom *targets ,
gint n_targets );
Determines if any of the targets in targets
can be used to
provide an uri list.
Parameters
targets
an array of GdkAtoms .
[array length=n_targets]
n_targets
the length of targets
Returns
TRUE if targets
include a suitable target for uri lists,
otherwise FALSE .
gtk_selection_data_copy ()
gtk_selection_data_copy
GtkSelectionData *
gtk_selection_data_copy (const GtkSelectionData *data );
Makes a copy of a GtkSelectionData and its data.
Parameters
data
a pointer to a GtkSelectionData .
Returns
a pointer to a copy of data
.
gtk_selection_data_free ()
gtk_selection_data_free
void
gtk_selection_data_free (GtkSelectionData *data );
Frees a GtkSelectionData returned from
gtk_selection_data_copy() .
Parameters
data
a pointer to a GtkSelectionData .
See Also
GtkWidget - Much of the operation of selections happens via
signals for GtkWidget . In particular, if you are using the functions
in this section, you may need to pay attention to
“selection-get” , “selection-received” and
“selection-clear-event” signals
docs/reference/gtk/xml/gtkdragsource.xml 0000664 0001750 0001750 00000110510 13617646205 020557 0 ustar mclasen mclasen
]>
GtkDragSource
3
GTK4 Library
GtkDragSource
Event controller to initiate DND operations
Functions
GtkDragSource *
gtk_drag_source_new ()
void
gtk_drag_source_set_content ()
GdkContentProvider *
gtk_drag_source_get_content ()
void
gtk_drag_source_set_actions ()
GdkDragAction
gtk_drag_source_get_actions ()
void
gtk_drag_source_set_icon ()
void
gtk_drag_source_drag_cancel ()
GdkDrag *
gtk_drag_source_get_drag ()
gboolean
gtk_drag_check_threshold ()
Properties
GdkDragAction actionsRead / Write
GdkContentProvider * contentRead / Write
Signals
void drag-begin Run Last
gboolean drag-cancel Run Last
void drag-end Run Last
GdkContentProvider * prepare Run Last
Types and Values
GtkDragSource
Object Hierarchy
GObject
╰── GtkEventController
╰── GtkGesture
╰── GtkGestureSingle
╰── GtkDragSource
Includes #include <gtk/gtk.h>
Description
GtkDragSource is an auxiliary object that is used to initiate
Drag-And-Drop operations. It can be set up with the necessary
ingredients for a DND operation ahead of time. This includes
the source for the data that is being transferred, in the form
of a GdkContentProvider , the desired action, and the icon to
use during the drag operation. After setting it up, the drag
source must be added to a widget as an event controller, using
gtk_widget_add_controller() .
Setting up the content provider and icon ahead of time only
makes sense when the data does not change. More commonly, you
will want to set them up just in time. To do so, GtkDragSource
has “prepare” and “drag-begin” signals.
The ::prepare signal is emitted before a drag is started, and
can be used to set the content provider and actions that the
drag should be started with. The ::drag-begin signal is emitted
after the GdkDrag object has been created, and can be used
to set up the drag icon.
During the DND operation, GtkDragSource emits signals that
can be used to obtain updates about the status of the operation,
but it is not normally necessary to connect to any signals,
except for one case: when the supported actions include
GDK_DRAG_MOVE , you need to listen for the
“drag-end” signal and delete the
data after it has been transferred.
Functions
gtk_drag_source_new ()
gtk_drag_source_new
GtkDragSource *
gtk_drag_source_new (void );
Creates a new GtkDragSource object.
Returns
the new GtkDragSource
gtk_drag_source_set_content ()
gtk_drag_source_set_content
void
gtk_drag_source_set_content (GtkDragSource *source ,
GdkContentProvider *content );
Sets a content provider on a GtkDragSource .
When the data is requested in the cause of a
DND operation, it will be obtained from the
content provider.
This function can be called before a drag is started,
or in a handler for the “prepare” signal.
You may consider setting the content provider back to
NULL in a “drag-end” signal handler.
Parameters
source
a GtkDragSource
content
a GtkContentProvider , or NULL .
[nullable ]
gtk_drag_source_get_content ()
gtk_drag_source_get_content
GdkContentProvider *
gtk_drag_source_get_content (GtkDragSource *source );
Gets the current content provider of a GtkDragSource .
Parameters
source
a GtkDragSource
Returns
the GtkContentProvider of source
.
[transfer none ]
gtk_drag_source_set_actions ()
gtk_drag_source_set_actions
void
gtk_drag_source_set_actions (GtkDragSource *source ,
GdkDragAction actions );
Sets the actions on the GtkDragSource .
During a DND operation, the actions are offered
to potential drop targets. If actions
include
GDK_ACTION_MOVE , you need to listen to the
“drag-end” signal and handle
delete_data
being TRUE .
This function can be called before a drag is started,
or in a handler for the “prepare” signal.
Parameters
source
a GtkDragSource
actions
the actions to offer
gtk_drag_source_get_actions ()
gtk_drag_source_get_actions
GdkDragAction
gtk_drag_source_get_actions (GtkDragSource *source );
Gets the actions that are currently set on the GtkDragSource .
Parameters
source
a GtkDragSource
Returns
the actions set on source
gtk_drag_source_set_icon ()
gtk_drag_source_set_icon
void
gtk_drag_source_set_icon (GtkDragSource *source ,
GdkPaintable *paintable ,
int hot_x ,
int hot_y );
Sets a paintable to use as icon during DND operations.
The hotspot coordinates determine the point on the icon
that gets aligned with the hotspot of the cursor.
If paintable
is NULL , a default icon is used.
This function can be called before a drag is started, or in
a “prepare” or “drag-begin” signal handler.
Parameters
source
a GtkDragSource
paintable
the GtkPaintable to use as icon, or NULL .
[nullable ]
hot_x
the hotspot X coordinate on the icon
hot_y
the hotspot Y coordinate on the icon
gtk_drag_source_drag_cancel ()
gtk_drag_source_drag_cancel
void
gtk_drag_source_drag_cancel (GtkDragSource *source );
Cancels a currently ongoing drag operation.
Parameters
source
a GtkDragSource
gtk_drag_source_get_drag ()
gtk_drag_source_get_drag
GdkDrag *
gtk_drag_source_get_drag (GtkDragSource *source );
Returns the underlying GtkDrag object for an ongoing drag.
Parameters
source
a GtkDragSource
Returns
the GdkDrag of the current drag operation, or NULL .
[nullable ][transfer none ]
gtk_drag_check_threshold ()
gtk_drag_check_threshold
gboolean
gtk_drag_check_threshold (GtkWidget *widget ,
int start_x ,
int start_y ,
int current_x ,
int current_y );
Checks to see if a mouse drag starting at (start_x
, start_y
) and ending
at (current_x
, current_y
) has passed the GTK drag threshold, and thus
should trigger the beginning of a drag-and-drop operation.
[method ]
Parameters
widget
a GtkWidget
start_x
X coordinate of start of drag
start_y
Y coordinate of start of drag
current_x
current X coordinate
current_y
current Y coordinate
Returns
TRUE if the drag threshold has been passed.
Property Details
The “actions” property
GtkDragSource:actions
“actions” GdkDragAction
The actions that are supported by drag operations from the source.
Note that you must handle the “drag-end” signal
if the actions include GDK_ACTION_MOVE .
Owner: GtkDragSource
Flags: Read / Write
Default value: GDK_ACTION_COPY
The “content” property
GtkDragSource:content
“content” GdkContentProvider *
The data that is offered by drag operations from this source,
in the form of a GdkContentProvider .
Owner: GtkDragSource
Flags: Read / Write
Signal Details
The “drag-begin” signal
GtkDragSource::drag-begin
void
user_function (GtkDragSource *source,
GdkDrag *drag,
gpointer user_data)
The ::drag-begin signal is emitted on the drag source when a drag
is started. It can be used to e.g. set a custom drag icon with
gtk_drag_source_set_icon() .
Parameters
source
the GtkDragSource
drag
the GtkDrag object
user_data
user data set when the signal handler was connected.
Flags: Run Last
The “drag-cancel” signal
GtkDragSource::drag-cancel
gboolean
user_function (GtkDragSource *source,
GdkDrag *drag,
GdkDragCancelReason reason,
gpointer user_data)
The ::drag-cancel signal is emitted on the drag source when a drag has
failed. The signal handler may handle a failed drag operation based on
the type of error. It should return TRUE if the failure has been handled
and the default "drag operation failed" animation should not be shown.
Parameters
source
the GtkDragSource
drag
the GtkDrag object
reason
information on why the drag failed
user_data
user data set when the signal handler was connected.
Returns
TRUE if the failed drag operation has been already handled
Flags: Run Last
The “drag-end” signal
GtkDragSource::drag-end
void
user_function (GtkDragSource *source,
GdkDrag *drag,
gboolean delete_data,
gpointer user_data)
The ::drag-end signal is emitted on the drag source when a drag is
finished. A typical reason to connect to this signal is to undo
things done in “prepare” or “drag-begin” .
Parameters
source
the GtkDragSource
drag
the GtkDrag object
delete_data
TRUE if the drag was performing GDK_ACTION_MOVE ,
and the data should be deleted
user_data
user data set when the signal handler was connected.
Flags: Run Last
The “prepare” signal
GtkDragSource::prepare
GdkContentProvider *
user_function (GtkDragSource *source,
gdouble x,
gdouble y,
gpointer user_data)
The ::prepare signal is emitted when a drag is about to be initiated.
It returns the * GdkContentProvider to use for the drag that is about
to start. The default handler for this signal returns the value of
the “content” property, so if you set up that property
ahead of time, you don't need to connect to this signal.
Parameters
source
the GtkDragSource
x
the X coordinate of the drag starting point
y
the Y coordinate fo the drag starting point
user_data
user data set when the signal handler was connected.
Returns
a GdkContentProvider , or NULL .
[transfer full ][nullable ]
Flags: Run Last
docs/reference/gtk/xml/gtkbindings.xml 0000664 0001750 0001750 00000111217 13617646204 020222 0 ustar mclasen mclasen
]>
Bindings
3
GTK4 Library
Bindings
Key bindings for individual widgets
Functions
GtkBindingSet *
gtk_binding_set_new ()
GtkBindingSet *
gtk_binding_set_by_class ()
GtkBindingSet *
gtk_binding_set_find ()
gboolean
gtk_bindings_activate ()
gboolean
gtk_bindings_activate_event ()
gboolean
gtk_binding_set_activate ()
void
gtk_binding_entry_add_action ()
void
gtk_binding_entry_add_action_variant ()
void
( *GtkBindingCallback) ()
void
gtk_binding_entry_add_callback ()
void
gtk_binding_entry_add_signal ()
GTokenType
gtk_binding_entry_add_signal_from_string ()
void
gtk_binding_entry_skip ()
void
gtk_binding_entry_remove ()
Types and Values
GtkBindingSet
Includes #include <gtk/gtk.h>
Description
GtkBindingSet provides a mechanism for configuring GTK+ key bindings
through CSS files. This eases key binding adjustments for application
developers as well as users and provides GTK+ users or administrators
with high key binding configurability which requires no application
or toolkit side changes.
In order for bindings to work in a custom widget implementation, the
widget’s “can-focus” and “has-focus” properties
must both be true. For example, by calling gtk_widget_set_can_focus()
in the widget’s initialisation function; and by calling
gtk_widget_grab_focus() when the widget is clicked.
Functions
gtk_binding_set_new ()
gtk_binding_set_new
GtkBindingSet *
gtk_binding_set_new (const gchar *set_name );
GTK+ maintains a global list of binding sets. Each binding set has
a unique name which needs to be specified upon creation.
[skip ]
Parameters
set_name
unique name of this binding set
Returns
new binding set.
[transfer none ]
gtk_binding_set_by_class ()
gtk_binding_set_by_class
GtkBindingSet *
gtk_binding_set_by_class (gpointer object_class );
This function returns the binding set named after the type name of
the passed in class structure. New binding sets are created on
demand by this function.
[skip ]
Parameters
object_class
a valid GObject class
Returns
the binding set corresponding to
object_class
.
[transfer none ]
gtk_binding_set_find ()
gtk_binding_set_find
GtkBindingSet *
gtk_binding_set_find (const gchar *set_name );
Find a binding set by its globally unique name.
The set_name
can either be a name used for gtk_binding_set_new()
or the type name of a class used in gtk_binding_set_by_class() .
Parameters
set_name
unique binding set name
Returns
NULL or the specified binding set.
[nullable ][transfer none ]
gtk_bindings_activate ()
gtk_bindings_activate
gboolean
gtk_bindings_activate (GObject *object ,
guint keyval ,
GdkModifierType modifiers );
Find a key binding matching keyval
and modifiers
and activate the
binding on object
.
Parameters
object
object to activate when binding found
keyval
key value of the binding
modifiers
key modifier of the binding
Returns
TRUE if a binding was found and activated
gtk_bindings_activate_event ()
gtk_bindings_activate_event
gboolean
gtk_bindings_activate_event (GObject *object ,
GdkEventKey *event );
Looks up key bindings for object
to find one matching
event
, and if one was found, activate it.
Parameters
object
a GObject (generally must be a widget)
event
a GdkEventKey
Returns
TRUE if a matching key binding was found
gtk_binding_set_activate ()
gtk_binding_set_activate
gboolean
gtk_binding_set_activate (GtkBindingSet *binding_set ,
guint keyval ,
GdkModifierType modifiers ,
GObject *object );
Find a key binding matching keyval
and modifiers
within
binding_set
and activate the binding on object
.
Parameters
binding_set
a GtkBindingSet set to activate
keyval
key value of the binding
modifiers
key modifier of the binding
object
object to activate when binding found
Returns
TRUE if a binding was found and activated
gtk_binding_entry_add_action ()
gtk_binding_entry_add_action
void
gtk_binding_entry_add_action (GtkBindingSet *binding_set ,
guint keyval ,
GdkModifierType modifiers ,
const char *action_name ,
const char *format_string ,
... );
Override or install a new key binding for keyval
with modifiers
on
binding_set
. When the binding is activated, action_name
will be
activated on the target widget, with arguments read according to
format_string
.
Parameters
binding_set
a GtkBindingSet to install an entry for
keyval
key value of binding to install
modifiers
key modifier of binding to install
action_name
signal to execute upon activation
format_string
GVariant format string for arguments or NULL
for no arguments
...
arguments, as given by format string
gtk_binding_entry_add_action_variant ()
gtk_binding_entry_add_action_variant
void
gtk_binding_entry_add_action_variant (GtkBindingSet *binding_set ,
guint keyval ,
GdkModifierType modifiers ,
const char *action_name ,
GVariant *args );
Override or install a new key binding for keyval
with modifiers
on
binding_set
. When the binding is activated, action_name
will be
activated on the target widget, with args
used as arguments.
Parameters
binding_set
a GtkBindingSet to install an entry for
keyval
key value of binding to install
modifiers
key modifier of binding to install
action_name
signal to execute upon activation
args
GVariant of the arguments or NULL if none
GtkBindingCallback ()
GtkBindingCallback
void
( *GtkBindingCallback) (GtkWidget *widget ,
GVariant *args ,
gpointer user_data );
Prototype of the callback function registered with
gtk_binding_entry_add_callback.
Parameters
widget
The object to invoke the callback on
args
The arguments or NULL if none.
[allow-none ]
user_data
The user data passed when registering the callback
gtk_binding_entry_add_callback ()
gtk_binding_entry_add_callback
void
gtk_binding_entry_add_callback (GtkBindingSet *binding_set ,
guint keyval ,
GdkModifierType modifiers ,
GtkBindingCallback callback ,
GVariant *args ,
gpointer user_data ,
GDestroyNotify user_destroy );
gtk_binding_entry_add_signal ()
gtk_binding_entry_add_signal
void
gtk_binding_entry_add_signal (GtkBindingSet *binding_set ,
guint keyval ,
GdkModifierType modifiers ,
const gchar *signal_name ,
guint n_args ,
... );
Override or install a new key binding for keyval
with modifiers
on
binding_set
. When the binding is activated, signal_name
will be
emitted on the target widget, with n_args
Varargs
used as
arguments.
Each argument to the signal must be passed as a pair of varargs: the
GType of the argument, followed by the argument value (which must
be of the given type). There must be n_args
pairs in total.
Adding a Key Binding
Parameters
binding_set
a GtkBindingSet to install an entry for
keyval
key value of binding to install
modifiers
key modifier of binding to install
signal_name
signal to execute upon activation
n_args
number of arguments to signal_name
...
arguments to signal_name
gtk_binding_entry_add_signal_from_string ()
gtk_binding_entry_add_signal_from_string
GTokenType
gtk_binding_entry_add_signal_from_string
(GtkBindingSet *binding_set ,
const gchar *signal_desc );
Parses a signal description from signal_desc
and incorporates
it into binding_set
.
Signal descriptions may either bind a key combination to
one or more signals:
Or they may also unbind a key combination:
Key combinations must be in a format that can be parsed by
gtk_accelerator_parse() .
Parameters
binding_set
a GtkBindingSet
signal_desc
a signal description
Returns
G_TOKEN_NONE if the signal was successfully parsed and added,
the expected token otherwise
gtk_binding_entry_skip ()
gtk_binding_entry_skip
void
gtk_binding_entry_skip (GtkBindingSet *binding_set ,
guint keyval ,
GdkModifierType modifiers );
Install a binding on binding_set
which causes key lookups
to be aborted, to prevent bindings from lower priority sets
to be activated.
Parameters
binding_set
a GtkBindingSet to skip an entry of
keyval
key value of binding to skip
modifiers
key modifier of binding to skip
gtk_binding_entry_remove ()
gtk_binding_entry_remove
void
gtk_binding_entry_remove (GtkBindingSet *binding_set ,
guint keyval ,
GdkModifierType modifiers );
Remove a binding previously installed via
gtk_binding_entry_add_signal() on binding_set
.
Parameters
binding_set
a GtkBindingSet to remove an entry of
keyval
key value of binding to remove
modifiers
key modifier of binding to remove
See Also
Keyboard Accelerators, Mnemonics, GtkCssProvider
docs/reference/gtk/xml/gtkdroptarget.xml 0000664 0001750 0001750 00000115172 13617646205 020605 0 ustar mclasen mclasen
]>
GtkDropTarget
3
GTK4 Library
GtkDropTarget
Event controller to receive DND drops
Functions
GtkDropTarget *
gtk_drop_target_new ()
void
gtk_drop_target_set_formats ()
GdkContentFormats *
gtk_drop_target_get_formats ()
void
gtk_drop_target_set_actions ()
GdkDragAction
gtk_drop_target_get_actions ()
GdkDrop *
gtk_drop_target_get_drop ()
const char *
gtk_drop_target_find_mimetype ()
void
gtk_drop_target_read_selection ()
GtkSelectionData *
gtk_drop_target_read_selection_finish ()
Properties
GdkDragAction actionsRead / Write
gboolean containsRead
GdkContentFormats * formatsRead / Write
Signals
gboolean accept Run Last
gboolean drag-drop Run Last
void drag-enter Run Last
void drag-leave Run Last
void drag-motion Run Last
Types and Values
GtkDropTarget
Object Hierarchy
GObject
╰── GtkEventController
╰── GtkDropTarget
Includes #include <gtk/gtk.h>
Description
GtkDropTarget is an auxiliary object that is used to receive
Drag-and-Drop operations.
To use a GtkDropTarget to receive drops on a widget, you create
a GtkDropTarget object, configure which data formats and actions
you support, connect to its signals, and then attach
it to the widget with gtk_widget_add_controller() .
During a drag operation, the first signal that a GtkDropTarget
emits is “accept” , which is meant to determine
whether the target is a possible drop site for the ongoing drag.
The default handler for the ::accept signal accepts the drag
if it finds a compatible data format an an action that is supported
on both sides.
If it is, and the widget becomes the current target, you will
receive a “drag-enter” signal, followed by
“drag-motion” signals as the pointer moves, and
finally either a “drag-leave” signal when the pointer
move off the widget, or a “drag-drop” signal when
a drop happens.
The ::drag-enter and ::drag-motion handler can call gdk_drop_status()
to update the status of the ongoing operation. The ::drag-drop handler
should initiate the data transfer and finish the operation by calling
gdk_drop_finish() .
Between the ::drag-enter and ::drag-leave signals the widget is the
current drop target, and will receive the GTK_STATE_FLAG_DROP_ACTIVE
state, which can be used to style the widget as a drop targett.
Functions
gtk_drop_target_new ()
gtk_drop_target_new
GtkDropTarget *
gtk_drop_target_new (GdkContentFormats *formats ,
GdkDragAction actions );
Creates a new GtkDropTarget object.
Parameters
formats
the supported data formats.
[nullable ]
actions
the supported actions
Returns
the new GtkDropTarget
gtk_drop_target_set_formats ()
gtk_drop_target_set_formats
void
gtk_drop_target_set_formats (GtkDropTarget *dest ,
GdkContentFormats *formats );
Sets the data formats that this drop target will accept.
Parameters
dest
a GtkDropTarget
formats
the supported data formats.
[nullable ]
gtk_drop_target_get_formats ()
gtk_drop_target_get_formats
GdkContentFormats *
gtk_drop_target_get_formats (GtkDropTarget *dest );
Gets the data formats that this drop target accepts.
Parameters
dest
a GtkDropTarget
Returns
the supported data formats
gtk_drop_target_set_actions ()
gtk_drop_target_set_actions
void
gtk_drop_target_set_actions (GtkDropTarget *dest ,
GdkDragAction actions );
Sets the actions that this drop target supports.
Parameters
dest
a GtkDropTarget
actions
the supported actions
gtk_drop_target_get_actions ()
gtk_drop_target_get_actions
GdkDragAction
gtk_drop_target_get_actions (GtkDropTarget *dest );
Gets the actions that this drop target supports.
Parameters
dest
a GtkDropTarget
Returns
the actions that this drop target supports
gtk_drop_target_get_drop ()
gtk_drop_target_get_drop
GdkDrop *
gtk_drop_target_get_drop (GtkDropTarget *dest );
Returns the underlying GtkDrop object for an ongoing drag.
Parameters
dest
a GtkDropTarget
Returns
the GtkDrop of the current drag operation, or NULL .
[nullable ][transfer none ]
gtk_drop_target_find_mimetype ()
gtk_drop_target_find_mimetype
const char *
gtk_drop_target_find_mimetype (GtkDropTarget *dest );
Returns a mimetype that is supported both by dest
and the ongoing
drag. For more detailed control, you can use gdk_drop_get_formats()
to obtain the content formats that are supported by the source.
Parameters
dest
a GtkDropTarget
Returns
a matching mimetype for the ongoing drag, or NULL .
[nullable ]
gtk_drop_target_read_selection ()
gtk_drop_target_read_selection
void
gtk_drop_target_read_selection (GtkDropTarget *dest ,
GdkAtom target ,
GCancellable *cancellable ,
GAsyncReadyCallback callback ,
gpointer user_data );
Asynchronously reads the dropped data from an ongoing
drag on a GtkDropTarget , and returns the data in a
GtkSelectionData object.
This function is meant for cases where a GtkSelectionData
object is needed, such as when using the GtkTreeModel DND
support. In most other cases, the GdkDrop async read
APIs that return in input stream or GValue are more
convenient and should be preferred.
Parameters
dest
a GtkDropTarget
target
the data format to read
cancellable
a cancellable.
[nullable ]
callback
callback to call on completion
user_data
data to pass to callback
gtk_drop_target_read_selection_finish ()
gtk_drop_target_read_selection_finish
GtkSelectionData *
gtk_drop_target_read_selection_finish (GtkDropTarget *dest ,
GAsyncResult *result ,
GError **error );
Finishes an async drop read operation, see gtk_drop_target_read_selection() .
Parameters
dest
a GtkDropTarget
result
a GAsyncResult
error
location to store error information on failure, or NULL .
[allow-none ]
Returns
the GtkSelectionData , or NULL .
[nullable ][transfer full ]
Property Details
The “actions” property
GtkDropTarget:actions
“actions” GdkDragAction
The GdkDragActions that this drop target supports
Owner: GtkDropTarget
Flags: Read / Write
The “contains” property
GtkDropTarget:contains
“contains” gboolean
Whether the drop target is currently the targed of an ongoing drag operation,
and highlighted.
Owner: GtkDropTarget
Flags: Read
Default value: FALSE
The “formats” property
GtkDropTarget:formats
“formats” GdkContentFormats *
The GdkContentFormats that determines the supported data formats
Owner: GtkDropTarget
Flags: Read / Write
Signal Details
The “accept” signal
GtkDropTarget::accept
gboolean
user_function (GtkDropTarget *droptarget,
GdkDrop *arg1,
gpointer user_data)
Flags: Run Last
The “drag-drop” signal
GtkDropTarget::drag-drop
gboolean
user_function (GtkDropTarget *dest,
GdkDrop *drop,
gint x,
gint y,
gpointer user_data)
The ::drag-drop signal is emitted on the drop site when the user drops
the data onto the widget. The signal handler must determine whether
the cursor position is in a drop zone or not. If it is not in a drop
zone, it returns FALSE and no further processing is necessary.
Otherwise, the handler returns TRUE . In this case, the handler must
ensure that gdk_drop_finish() is called to let the source know that
the drop is done. The call to gtk_drag_finish() can be done either
directly or after receiving the data.
To receive the data, use one of the read functions provides by GtkDrop
and GtkDragDest : gdk_drop_read_async() , gdk_drop_read_value_async() ,
gdk_drop_read_text_async() , gtk_drop_target_read_selection() .
You can use gtk_drop_target_get_drop() to obtain the GtkDrop object
for the ongoing operation in your signal handler. If you call one of the
read functions in your handler, GTK will ensure that the GtkDrop object
stays alive until the read is completed. If you delay obtaining the data
(e.g. to handle GDK_ACTION_ASK by showing a GtkPopover ), you need to
hold a reference on the GtkDrop .
Parameters
dest
the GtkDropTarget
drop
the GdkDrop
x
the x coordinate of the current cursor position
y
the y coordinate of the current cursor position
user_data
user data set when the signal handler was connected.
Returns
whether the cursor position is in a drop zone
Flags: Run Last
The “drag-enter” signal
GtkDropTarget::drag-enter
void
user_function (GtkDropTarget *dest,
GdkDrop *drop,
gpointer user_data)
The ::drag-enter signal is emitted on the drop site when the cursor
enters the widget. It can be used to set up custom highlighting.
Parameters
dest
the GtkDropTarget
drop
the GdkDrop
user_data
user data set when the signal handler was connected.
Flags: Run Last
The “drag-leave” signal
GtkDropTarget::drag-leave
void
user_function (GtkDropTarget *dest,
GdkDrop *drop,
gpointer user_data)
The ::drag-leave signal is emitted on the drop site when the cursor
leaves the widget. Its main purpose it to undo things done in
“drag-enter” .
Parameters
dest
the GtkDropTarget
drop
the GdkDrop
user_data
user data set when the signal handler was connected.
Flags: Run Last
The “drag-motion” signal
GtkDropTarget::drag-motion
void
user_function (GtkDropTarget *dest,
GdkDrop *drop,
gint x,
gint y,
gpointer user_data)
The ::drag motion signal is emitted while the pointer is moving
over the drop target.
Parameters
dest
the GtkDropTarget
drop
the GdkDrop
x
the x coordinate of the current cursor position
y
the y coordinate of the current cursor position
user_data
user data set when the signal handler was connected.
Flags: Run Last
docs/reference/gtk/xml/gtkenums.xml 0000664 0001750 0001750 00000007263 13617646204 017561 0 ustar mclasen mclasen
]>
Standard Enumerations
3
GTK4 Library
Standard Enumerations
Public enumerated types used throughout GTK+
Types and Values
enum GtkBaselinePosition
enum GtkDeleteType
enum GtkDirectionType
enum GtkJustification
enum GtkMovementStep
enum GtkOrientation
enum GtkPackType
enum GtkPositionType
enum GtkReliefStyle
enum GtkScrollStep
enum GtkScrollType
enum GtkSelectionMode
enum GtkShadowType
enum GtkStateFlags
enum GtkSortType
enum GtkIconSize
Includes #include <gtk/gtk.h>
Description
Functions
docs/reference/gtk/xml/gtkdragicon.xml 0000664 0001750 0001750 00000017117 13617646205 020220 0 ustar mclasen mclasen
]>
GtkDragIcon
3
GTK4 Library
GtkDragIcon
A toplevel to use as drag icon
Functions
GtkWidget *
gtk_drag_icon_new_for_drag ()
void
gtk_drag_icon_set_from_paintable ()
Types and Values
GtkDragIcon
Object Hierarchy
GObject
╰── GInitiallyUnowned
╰── GtkWidget
╰── GtkContainer
╰── GtkDragIcon
Implemented Interfaces
GtkDragIcon implements
AtkImplementorIface, GtkBuildable, GtkConstraintTarget, GtkNative and GtkRoot.
Includes #include <gtk/gtk.h>
Description
GtkDragIcon is a GtkNative implementation with the sole purpose
to serve as a drag icon during DND operations. A drag icon moves
with the pointer during a drag operation and is destroyed when
the drag ends.
To set up a drag icon and associate it with an ongoing drag operation,
use gtk_drag_icon_set_from_paintable() . It is also possible to create
a GtkDragIcon with gtk_drag_icon_new_for_drag(() and populate it
with widgets yourself.
Functions
gtk_drag_icon_new_for_drag ()
gtk_drag_icon_new_for_drag
GtkWidget *
gtk_drag_icon_new_for_drag (GdkDrag *drag );
Creates a GtkDragIcon and associates it with the drag operation.
Parameters
drag
a GtkDrag
Returns
the new GtkDragIcon
gtk_drag_icon_set_from_paintable ()
gtk_drag_icon_set_from_paintable
void
gtk_drag_icon_set_from_paintable (GdkDrag *drag ,
GdkPaintable *paintable ,
int hot_x ,
int hot_y );
Creates a GtkDragIcon that shows paintable
, and associates
it with the drag operation. The hotspot position on the paintable
is aligned with the hotspot of the cursor.
Parameters
drag
a GdkDrag
paintable
a GdkPaintable to display
hot_x
X coordinate of the hotspot
hot_y
Y coordinate of the hotspot
docs/reference/gtk/xml/gtkicontheme.xml 0000664 0001750 0001750 00000142216 13620320500 020361 0 ustar mclasen mclasen
]>
GtkIconTheme
3
GTK4 Library
GtkIconTheme
Looking up icons by name
Functions
GtkIconTheme *
gtk_icon_theme_new ()
GtkIconTheme *
gtk_icon_theme_get_for_display ()
void
gtk_icon_theme_set_display ()
void
gtk_icon_theme_set_search_path ()
void
gtk_icon_theme_get_search_path ()
void
gtk_icon_theme_append_search_path ()
void
gtk_icon_theme_prepend_search_path ()
void
gtk_icon_theme_add_resource_path ()
void
gtk_icon_theme_set_custom_theme ()
gboolean
gtk_icon_theme_has_icon ()
GtkIconPaintable *
gtk_icon_theme_lookup_icon ()
GtkIconPaintable *
gtk_icon_theme_lookup_by_gicon ()
GList *
gtk_icon_theme_list_icons ()
gint *
gtk_icon_theme_get_icon_sizes ()
GtkIconPaintable *
gtk_icon_paintable_new_for_file ()
GFile *
gtk_icon_paintable_get_file ()
const gchar *
gtk_icon_paintable_get_icon_name ()
gboolean
gtk_icon_paintable_is_symbolic ()
Signals
void changed Run Last
Types and Values
GtkIconPaintable
GtkIconTheme
enum GtkIconLookupFlags
#define GTK_ICON_THEME_ERROR
#define GTK_TYPE_ICON_THEME_ERROR
#define GTK_TYPE_ICON_LOOKUP_FLAGS
enum GtkIconThemeError
Object Hierarchy
GObject
╰── GtkIconTheme
Includes #include <gtk/gtk.h>
Description
GtkIconTheme provides a facility for looking up icons by name
and size. The main reason for using a name rather than simply
providing a filename is to allow different icons to be used
depending on what “icon theme” is selected
by the user. The operation of icon themes on Linux and Unix
follows the Icon Theme Specification
There is a fallback icon theme, named hicolor , where applications
should install their icons, but additional icon themes can be installed
as operating system vendors and users choose.
In many cases, named themes are used indirectly, via GtkImage
rather than directly, but looking up icons
directly is also simple. The GtkIconTheme object acts
as a database of all the icons in the current theme. You
can create new GtkIconTheme objects, but it’s much more
efficient to use the standard icon theme of the GtkWidget
so that the icon information is shared with other people
looking up icons.
Functions
gtk_icon_theme_new ()
gtk_icon_theme_new
GtkIconTheme *
gtk_icon_theme_new (void );
Creates a new icon theme object. Icon theme objects are used
to lookup up an icon by name in a particular icon theme.
Usually, you’ll want to use gtk_icon_theme_get_for_display()
rather than creating a new icon theme object for scratch.
Returns
the newly created GtkIconTheme object.
gtk_icon_theme_get_for_display ()
gtk_icon_theme_get_for_display
GtkIconTheme *
gtk_icon_theme_get_for_display (GdkDisplay *display );
Gets the icon theme object associated with display
; if this
function has not previously been called for the given
display, a new icon theme object will be created and
associated with the display. Icon theme objects are
fairly expensive to create, so using this function
is usually a better choice than calling than gtk_icon_theme_new()
and setting the display yourself; by using this function
a single icon theme object will be shared between users.
Parameters
display
a GdkDisplay
Returns
A unique GtkIconTheme associated with
the given display. This icon theme is associated with
the display and can be used as long as the display
is open. Do not ref or unref it.
[transfer none ]
gtk_icon_theme_set_display ()
gtk_icon_theme_set_display
void
gtk_icon_theme_set_display (GtkIconTheme *self ,
GdkDisplay *display );
Sets the display for an icon theme; the display is used
to track the user’s currently configured icon theme,
which might be different for different displays.
Parameters
self
a GtkIconTheme
display
a GdkDisplay
gtk_icon_theme_set_search_path ()
gtk_icon_theme_set_search_path
void
gtk_icon_theme_set_search_path (GtkIconTheme *self ,
const gchar *path[] ,
gint n_elements );
Sets the search path for the icon theme object. When looking
for an icon theme, GTK+ will search for a subdirectory of
one or more of the directories in path
with the same name
as the icon theme containing an index.theme file. (Themes from
multiple of the path elements are combined to allow themes to be
extended by adding icons in the user’s home directory.)
In addition if an icon found isn’t found either in the current
icon theme or the default icon theme, and an image file with
the right name is found directly in one of the elements of
path
, then that image will be used for the icon name.
(This is legacy feature, and new icons should be put
into the fallback icon theme, which is called hicolor,
rather than directly on the icon path.)
Parameters
self
a GtkIconTheme
path
array of
directories that are searched for icon themes.
[array length=n_elements][element-type filename]
n_elements
number of elements in path
.
gtk_icon_theme_get_search_path ()
gtk_icon_theme_get_search_path
void
gtk_icon_theme_get_search_path (GtkIconTheme *self ,
gchar **path[] ,
gint *n_elements );
Gets the current search path. See gtk_icon_theme_set_search_path() .
Parameters
self
a GtkIconTheme
path
location to store a list of icon theme path directories or NULL .
The stored value should be freed with g_strfreev() .
[allow-none ][array length=n_elements][element-type filename][out ]
n_elements
location to store number of elements in path
, or NULL
gtk_icon_theme_append_search_path ()
gtk_icon_theme_append_search_path
void
gtk_icon_theme_append_search_path (GtkIconTheme *self ,
const gchar *path );
Appends a directory to the search path.
See gtk_icon_theme_set_search_path() .
Parameters
self
a GtkIconTheme
path
directory name to append to the icon path.
[type filename]
gtk_icon_theme_prepend_search_path ()
gtk_icon_theme_prepend_search_path
void
gtk_icon_theme_prepend_search_path (GtkIconTheme *self ,
const gchar *path );
Prepends a directory to the search path.
See gtk_icon_theme_set_search_path() .
Parameters
self
a GtkIconTheme
path
directory name to prepend to the icon path.
[type filename]
gtk_icon_theme_add_resource_path ()
gtk_icon_theme_add_resource_path
void
gtk_icon_theme_add_resource_path (GtkIconTheme *self ,
const gchar *path );
Adds a resource path that will be looked at when looking
for icons, similar to search paths.
This function should be used to make application-specific icons
available as part of the icon theme.
The resources are considered as part of the hicolor icon theme
and must be located in subdirectories that are defined in the
hicolor icon theme, such as @path/16x16/actions/run.png .
Icons that are directly placed in the resource path instead
of a subdirectory are also considered as ultimate fallback.
Parameters
self
a GtkIconTheme
path
a resource path
gtk_icon_theme_set_custom_theme ()
gtk_icon_theme_set_custom_theme
void
gtk_icon_theme_set_custom_theme (GtkIconTheme *self ,
const gchar *theme_name );
Sets the name of the icon theme that the GtkIconTheme object uses
overriding system configuration. This function cannot be called
on the icon theme objects returned from gtk_icon_theme_get_for_display() .
Parameters
self
a GtkIconTheme
theme_name
name of icon theme to use instead of
configured theme, or NULL to unset a previously set custom theme.
[allow-none ]
gtk_icon_theme_has_icon ()
gtk_icon_theme_has_icon
gboolean
gtk_icon_theme_has_icon (GtkIconTheme *self ,
const gchar *icon_name );
Checks whether an icon theme includes an icon
for a particular name.
Parameters
self
a GtkIconTheme
icon_name
the name of an icon
Returns
TRUE if self
includes an
icon for icon_name
.
gtk_icon_theme_lookup_icon ()
gtk_icon_theme_lookup_icon
GtkIconPaintable *
gtk_icon_theme_lookup_icon (GtkIconTheme *self ,
const char *icon_name ,
const char *fallbacks[] ,
gint size ,
gint scale ,
GtkTextDirection direction ,
GtkIconLookupFlags flags );
Looks up a named icon for a desired size and window scale, returning a
GtkIcon . The icon can then be rendered by using it as a GdkPaintable ,
or you can get information such as the filename and size.
If the available icon_name
is not available and fallbacks
are provided,
they will be tried in order.
If no matching icon is found, then a paintable that renders the
"missing icon" icon is returned. If you need to do something else
for missing icons you need to use gtk_icon_theme_has_icon() .
Note that you probably want to listen for icon theme changes and
update the icon. This is usually done by overriding the
“css-changed” function.
Parameters
self
a GtkIconTheme
icon_name
the name of the icon to lookup
fallbacks
.
[nullable ][array zero-terminated=1]
size
desired icon size.
scale
the window scale this will be displayed on
direction
text direction the icon will be displayed in
flags
flags modifying the behavior of the icon lookup
Returns
a GtkIconPaintable object
containing the icon.
[transfer full ]
gtk_icon_theme_lookup_by_gicon ()
gtk_icon_theme_lookup_by_gicon
GtkIconPaintable *
gtk_icon_theme_lookup_by_gicon (GtkIconTheme *self ,
GIcon *icon ,
gint size ,
gint scale ,
GtkTextDirection direction ,
GtkIconLookupFlags flags );
Looks up a icon for a desired size and window scale, returning a
GtkIcon . The icon can then be rendered by using it as a GdkPaintable ,
or you can get information such as the filename and size.
Parameters
self
a GtkIconTheme
icon
the GIcon to look up
size
desired icon size
scale
the desired scale
direction
text direction the icon will be displayed in
flags
flags modifying the behavior of the icon lookup
Returns
a GtkIconPaintable containing
information about the icon. Unref with g_object_unref() .
[transfer full ]
gtk_icon_theme_list_icons ()
gtk_icon_theme_list_icons
GList *
gtk_icon_theme_list_icons (GtkIconTheme *self );
Lists the icons in the current icon theme.
Parameters
self
a GtkIconTheme
Returns
a GList list
holding the names of all the icons in the theme. You must
first free each element in the list with g_free() , then
free the list itself with g_list_free() .
[element-type utf8][transfer full ]
gtk_icon_theme_get_icon_sizes ()
gtk_icon_theme_get_icon_sizes
gint *
gtk_icon_theme_get_icon_sizes (GtkIconTheme *self ,
const gchar *icon_name );
Returns an array of integers describing the sizes at which
the icon is available without scaling. A size of -1 means
that the icon is available in a scalable format. The array
is zero-terminated.
Parameters
self
a GtkIconTheme
icon_name
the name of an icon
Returns
A newly
allocated array describing the sizes at which the icon is
available. The array should be freed with g_free() when it is no
longer needed.
[array zero-terminated=1][transfer full ]
gtk_icon_paintable_new_for_file ()
gtk_icon_paintable_new_for_file
GtkIconPaintable *
gtk_icon_paintable_new_for_file (GFile *file ,
gint size ,
gint scale );
Creates a GtkIconPaintable for a file with a given size and scale
GtkIcon . The icon can then be rendered by using it as a GdkPaintable .
Parameters
file
a GFile
size
desired icon size
scale
the desired scale
Returns
a GtkIconPaintable containing
for the icon. Unref with g_object_unref() .
[transfer full ]
gtk_icon_paintable_get_file ()
gtk_icon_paintable_get_file
GFile *
gtk_icon_paintable_get_file (GtkIconPaintable *self );
Gets the GFile that was used to load the icon, or NULL if the icon was
not loaded from a file.
Parameters
self
a GtkIcon
Returns
the GFile for the icon, or NULL .
Free with g_object_unref() .
[nullable ][transfer full ]
gtk_icon_paintable_get_icon_name ()
gtk_icon_paintable_get_icon_name
const gchar *
gtk_icon_paintable_get_icon_name (GtkIconPaintable *self );
Get the icon name being used for this icon.
When an icon looked up in the icon theme was not available, the
icon theme may use fallback icons - either those specified to
gtk_icon_theme_lookup() or the always-available
"image-missing". The icon chosen is returned by this function.
If the icon was created without an icon theme, this function returns NULL .
Parameters
self
a GtkIcon
Returns
the themed icon-name for the icon, or NULL
if its not a themed icon.
[nullable ][type filename]
gtk_icon_paintable_is_symbolic ()
gtk_icon_paintable_is_symbolic
gboolean
gtk_icon_paintable_is_symbolic (GtkIconPaintable *self );
Checks if the icon is symbolic or not. This currently uses only
the file name and not the file contents for determining this.
This behaviour may change in the future.
Parameters
self
a GtkIcon
Returns
TRUE if the icon is symbolic, FALSE otherwise
Signal Details
The “changed” signal
GtkIconTheme::changed
void
user_function (GtkIconTheme *self,
gpointer user_data)
Emitted when the current icon theme is switched or GTK+ detects
that a change has occurred in the contents of the current
icon theme.
Parameters
self
the icon theme
user_data
user data set when the signal handler was connected.
Flags: Run Last
docs/reference/gtk/xml/gtkpadcontroller.xml 0000664 0001750 0001750 00000041553 13617646205 021303 0 ustar mclasen mclasen
]>
GtkPadController
3
GTK4 Library
GtkPadController
Controller for drawing tablet pads
Functions
GtkPadController *
gtk_pad_controller_new ()
void
gtk_pad_controller_set_action_entries ()
void
gtk_pad_controller_set_action ()
Properties
GActionGroup * action-groupRead / Write / Construct Only
GdkDevice * padRead / Write / Construct Only
Types and Values
GtkPadController
enum GtkPadActionType
struct GtkPadActionEntry
Object Hierarchy
GObject
╰── GtkEventController
╰── GtkPadController
Includes #include <gtk/gtk.h>
Description
GtkPadController is an event controller for the pads found in drawing
tablets (The collection of buttons and tactile sensors often found around
the stylus-sensitive area).
These buttons and sensors have no implicit meaning, and by default they
perform no action, this event controller is provided to map those to
GAction objects, thus letting the application give those a more semantic
meaning.
Buttons and sensors are not constrained to triggering a single action, some
GDK_SOURCE_TABLET_PAD devices feature multiple "modes", all these input
elements have one current mode, which may determine the final action
being triggered. Pad devices often divide buttons and sensors into groups,
all elements in a group share the same current mode, but different groups
may have different modes. See gdk_device_pad_get_n_groups() and
gdk_device_pad_get_group_n_modes() .
Each of the actions that a given button/strip/ring performs for a given
mode is defined by GtkPadActionEntry , it contains an action name that
will be looked up in the given GActionGroup and activated whenever the
specified input element and mode are triggered.
A simple example of GtkPadController usage, assigning button 1 in all
modes and pad devices to an "invert-selection" action:
The actions belonging to rings/strips will be activated with a parameter
of type G_VARIANT_TYPE_DOUBLE bearing the value of the given axis, it
is required that those are made stateful and accepting this GVariantType .
Functions
gtk_pad_controller_new ()
gtk_pad_controller_new
GtkPadController *
gtk_pad_controller_new (GActionGroup *group ,
GdkDevice *pad );
Creates a new GtkPadController that will associate events from pad
to
actions. A NULL pad may be provided so the controller manages all pad devices
generically, it is discouraged to mix GtkPadController objects with NULL
and non-NULL pad
argument on the same toplevel window, as execution order
is not guaranteed.
The GtkPadController is created with no mapped actions. In order to map pad
events to actions, use gtk_pad_controller_set_action_entries() or
gtk_pad_controller_set_action() .
Be aware that pad events will only be delivered to GtkWindows , so adding a pad
controller to any other type of widget will not have an effect.
Parameters
group
GActionGroup to trigger actions from
pad
A GDK_SOURCE_TABLET_PAD device, or NULL to handle all pads.
[nullable ]
Returns
A newly created GtkPadController
gtk_pad_controller_set_action_entries ()
gtk_pad_controller_set_action_entries
void
gtk_pad_controller_set_action_entries (GtkPadController *controller ,
const GtkPadActionEntry *entries ,
gint n_entries );
This is a convenience function to add a group of action entries on
controller
. See GtkPadActionEntry and gtk_pad_controller_set_action() .
Parameters
controller
a GtkPadController
entries
the action entries to set on controller
.
[array length=n_entries]
n_entries
the number of elements in entries
gtk_pad_controller_set_action ()
gtk_pad_controller_set_action
void
gtk_pad_controller_set_action (GtkPadController *controller ,
GtkPadActionType type ,
gint index ,
gint mode ,
const gchar *label ,
const gchar *action_name );
Adds an individual action to controller
. This action will only be activated
if the given button/ring/strip number in index
is interacted while
the current mode is mode
. -1 may be used for simple cases, so the action
is triggered on all modes.
The given label
should be considered user-visible, so internationalization
rules apply. Some windowing systems may be able to use those for user
feedback.
Parameters
controller
a GtkPadController
type
the type of pad feature that will trigger this action
index
the 0-indexed button/ring/strip number that will trigger this action
mode
the mode that will trigger this action, or -1 for all modes.
label
Human readable description of this action, this string should
be deemed user-visible.
action_name
action name that will be activated in the GActionGroup
Property Details
The “action-group” property
GtkPadController:action-group
“action-group” GActionGroup *
Action group to launch actions from. Owner: GtkPadController
Flags: Read / Write / Construct Only
The “pad” property
GtkPadController:pad
“pad” GdkDevice *
Pad device to control. Owner: GtkPadController
Flags: Read / Write / Construct Only
See Also
GtkEventController , GdkDevicePad
docs/reference/gtk/xml/gtkprintoperation.xml 0000664 0001750 0001750 00000441257 13617646204 021514 0 ustar mclasen mclasen
]>
GtkPrintOperation
3
GTK4 Library
GtkPrintOperation
High-level Printing API
Functions
GtkPrintOperation *
gtk_print_operation_new ()
void
gtk_print_operation_set_allow_async ()
void
gtk_print_operation_get_error ()
void
gtk_print_operation_set_default_page_setup ()
GtkPageSetup *
gtk_print_operation_get_default_page_setup ()
void
gtk_print_operation_set_print_settings ()
GtkPrintSettings *
gtk_print_operation_get_print_settings ()
void
gtk_print_operation_set_job_name ()
void
gtk_print_operation_set_n_pages ()
gint
gtk_print_operation_get_n_pages_to_print ()
void
gtk_print_operation_set_current_page ()
void
gtk_print_operation_set_use_full_page ()
void
gtk_print_operation_set_unit ()
void
gtk_print_operation_set_export_filename ()
void
gtk_print_operation_set_show_progress ()
void
gtk_print_operation_set_track_print_status ()
void
gtk_print_operation_set_custom_tab_label ()
GtkPrintOperationResult
gtk_print_operation_run ()
void
gtk_print_operation_cancel ()
void
gtk_print_operation_draw_page_finish ()
void
gtk_print_operation_set_defer_drawing ()
GtkPrintStatus
gtk_print_operation_get_status ()
const gchar *
gtk_print_operation_get_status_string ()
gboolean
gtk_print_operation_is_finished ()
void
gtk_print_operation_set_support_selection ()
gboolean
gtk_print_operation_get_support_selection ()
void
gtk_print_operation_set_has_selection ()
gboolean
gtk_print_operation_get_has_selection ()
void
gtk_print_operation_set_embed_page_setup ()
gboolean
gtk_print_operation_get_embed_page_setup ()
GtkPageSetup *
gtk_print_run_page_setup_dialog ()
void
( *GtkPageSetupDoneFunc) ()
void
gtk_print_run_page_setup_dialog_async ()
void
gtk_print_operation_preview_end_preview ()
gboolean
gtk_print_operation_preview_is_selected ()
void
gtk_print_operation_preview_render_page ()
Properties
gboolean allow-asyncRead / Write
gint current-pageRead / Write
gchar * custom-tab-labelRead / Write
GtkPageSetup * default-page-setupRead / Write
gboolean embed-page-setupRead / Write
gchar * export-filenameRead / Write
gboolean has-selectionRead / Write
gchar * job-nameRead / Write
gint n-pagesRead / Write
gint n-pages-to-printRead
GtkPrintSettings * print-settingsRead / Write
gboolean show-progressRead / Write
GtkPrintStatus statusRead
gchar * status-stringRead
gboolean support-selectionRead / Write
gboolean track-print-statusRead / Write
GtkUnit unitRead / Write
gboolean use-full-pageRead / Write
Signals
void begin-print Run Last
GObject * create-custom-widget Run Last
void custom-widget-apply Run Last
void done Run Last
void draw-page Run Last
void end-print Run Last
gboolean paginate Run Last
gboolean preview Run Last
void request-page-setup Run Last
void status-changed Run Last
void update-custom-widget Run Last
void got-page-size Run Last
void ready Run Last
Types and Values
struct GtkPrintOperation
struct GtkPrintOperationClass
enum GtkPrintStatus
enum GtkPrintOperationAction
enum GtkPrintOperationResult
enum GtkPrintError
#define GTK_PRINT_ERROR
GtkPrintOperationPreview
Object Hierarchy
GInterface
╰── GtkPrintOperationPreview
GObject
╰── GtkPrintOperation
Prerequisites
GtkPrintOperationPreview requires
GObject.
Implemented Interfaces
GtkPrintOperation implements
GtkPrintOperationPreview.
Known Implementations
GtkPrintOperationPreview is implemented by
GtkPrintOperation.
Includes #include <gtk/gtk.h>
Description
GtkPrintOperation is the high-level, portable printing API.
It looks a bit different than other GTK+ dialogs such as the
GtkFileChooser , since some platforms don’t expose enough
infrastructure to implement a good print dialog. On such
platforms, GtkPrintOperation uses the native print dialog.
On platforms which do not provide a native print dialog, GTK+
uses its own, see GtkPrintUnixDialog .
The typical way to use the high-level printing API is to create
a GtkPrintOperation object with gtk_print_operation_new() when
the user selects to print. Then you set some properties on it,
e.g. the page size, any GtkPrintSettings from previous print
operations, the number of pages, the current page, etc.
Then you start the print operation by calling gtk_print_operation_run() .
It will then show a dialog, let the user select a printer and
options. When the user finished the dialog various signals will
be emitted on the GtkPrintOperation , the main one being
“draw-page” , which you are supposed to catch
and render the page on the provided GtkPrintContext using Cairo.
The high-level printing API
By default GtkPrintOperation uses an external application to do
print preview. To implement a custom print preview, an application
must connect to the preview signal. The functions
gtk_print_operation_preview_render_page() ,
gtk_print_operation_preview_end_preview() and
gtk_print_operation_preview_is_selected()
are useful when implementing a print preview.
Functions
gtk_print_operation_new ()
gtk_print_operation_new
GtkPrintOperation *
gtk_print_operation_new (void );
Creates a new GtkPrintOperation .
Returns
a new GtkPrintOperation
gtk_print_operation_set_allow_async ()
gtk_print_operation_set_allow_async
void
gtk_print_operation_set_allow_async (GtkPrintOperation *op ,
gboolean allow_async );
Sets whether the gtk_print_operation_run() may return
before the print operation is completed. Note that
some platforms may not allow asynchronous operation.
Parameters
op
a GtkPrintOperation
allow_async
TRUE to allow asynchronous operation
gtk_print_operation_get_error ()
gtk_print_operation_get_error
void
gtk_print_operation_get_error (GtkPrintOperation *op ,
GError **error );
Call this when the result of a print operation is
GTK_PRINT_OPERATION_RESULT_ERROR , either as returned by
gtk_print_operation_run() , or in the “done” signal
handler. The returned GError will contain more details on what went wrong.
Parameters
op
a GtkPrintOperation
error
return location for the error
gtk_print_operation_set_default_page_setup ()
gtk_print_operation_set_default_page_setup
void
gtk_print_operation_set_default_page_setup
(GtkPrintOperation *op ,
GtkPageSetup *default_page_setup );
Makes default_page_setup
the default page setup for op
.
This page setup will be used by gtk_print_operation_run() ,
but it can be overridden on a per-page basis by connecting
to the “request-page-setup” signal.
Parameters
op
a GtkPrintOperation
default_page_setup
a GtkPageSetup , or NULL .
[allow-none ]
gtk_print_operation_get_default_page_setup ()
gtk_print_operation_get_default_page_setup
GtkPageSetup *
gtk_print_operation_get_default_page_setup
(GtkPrintOperation *op );
Returns the default page setup, see
gtk_print_operation_set_default_page_setup() .
Parameters
op
a GtkPrintOperation
Returns
the default page setup.
[transfer none ]
gtk_print_operation_set_print_settings ()
gtk_print_operation_set_print_settings
void
gtk_print_operation_set_print_settings
(GtkPrintOperation *op ,
GtkPrintSettings *print_settings );
Sets the print settings for op
. This is typically used to
re-establish print settings from a previous print operation,
see gtk_print_operation_run() .
Parameters
op
a GtkPrintOperation
print_settings
GtkPrintSettings .
[allow-none ]
gtk_print_operation_get_print_settings ()
gtk_print_operation_get_print_settings
GtkPrintSettings *
gtk_print_operation_get_print_settings
(GtkPrintOperation *op );
Returns the current print settings.
Note that the return value is NULL until either
gtk_print_operation_set_print_settings() or
gtk_print_operation_run() have been called.
Parameters
op
a GtkPrintOperation
Returns
the current print settings of op
.
[transfer none ]
gtk_print_operation_set_job_name ()
gtk_print_operation_set_job_name
void
gtk_print_operation_set_job_name (GtkPrintOperation *op ,
const gchar *job_name );
Sets the name of the print job. The name is used to identify
the job (e.g. in monitoring applications like eggcups).
If you don’t set a job name, GTK+ picks a default one by
numbering successive print jobs.
Parameters
op
a GtkPrintOperation
job_name
a string that identifies the print job
gtk_print_operation_set_n_pages ()
gtk_print_operation_set_n_pages
void
gtk_print_operation_set_n_pages (GtkPrintOperation *op ,
gint n_pages );
Sets the number of pages in the document.
This must be set to a positive number
before the rendering starts. It may be set in a
“begin-print” signal hander.
Note that the page numbers passed to the
“request-page-setup”
and “draw-page” signals are 0-based, i.e. if
the user chooses to print all pages, the last ::draw-page signal
will be for page n_pages
- 1.
Parameters
op
a GtkPrintOperation
n_pages
the number of pages
gtk_print_operation_get_n_pages_to_print ()
gtk_print_operation_get_n_pages_to_print
gint
gtk_print_operation_get_n_pages_to_print
(GtkPrintOperation *op );
Returns the number of pages that will be printed.
Note that this value is set during print preparation phase
(GTK_PRINT_STATUS_PREPARING ), so this function should never be
called before the data generation phase (GTK_PRINT_STATUS_GENERATING_DATA ).
You can connect to the “status-changed” signal
and call gtk_print_operation_get_n_pages_to_print() when
print status is GTK_PRINT_STATUS_GENERATING_DATA .
This is typically used to track the progress of print operation.
Parameters
op
a GtkPrintOperation
Returns
the number of pages that will be printed
gtk_print_operation_set_current_page ()
gtk_print_operation_set_current_page
void
gtk_print_operation_set_current_page (GtkPrintOperation *op ,
gint current_page );
Sets the current page.
If this is called before gtk_print_operation_run() ,
the user will be able to select to print only the current page.
Note that this only makes sense for pre-paginated documents.
Parameters
op
a GtkPrintOperation
current_page
the current page, 0-based
gtk_print_operation_set_use_full_page ()
gtk_print_operation_set_use_full_page
void
gtk_print_operation_set_use_full_page (GtkPrintOperation *op ,
gboolean full_page );
If full_page
is TRUE , the transformation for the cairo context
obtained from GtkPrintContext puts the origin at the top left
corner of the page (which may not be the top left corner of the
sheet, depending on page orientation and the number of pages per
sheet). Otherwise, the origin is at the top left corner of the
imageable area (i.e. inside the margins).
Parameters
op
a GtkPrintOperation
full_page
TRUE to set up the GtkPrintContext for the full page
gtk_print_operation_set_unit ()
gtk_print_operation_set_unit
void
gtk_print_operation_set_unit (GtkPrintOperation *op ,
GtkUnit unit );
Sets up the transformation for the cairo context obtained from
GtkPrintContext in such a way that distances are measured in
units of unit
.
Parameters
op
a GtkPrintOperation
unit
the unit to use
gtk_print_operation_set_export_filename ()
gtk_print_operation_set_export_filename
void
gtk_print_operation_set_export_filename
(GtkPrintOperation *op ,
const gchar *filename );
Sets up the GtkPrintOperation to generate a file instead
of showing the print dialog. The indended use of this function
is for implementing “Export to PDF” actions. Currently, PDF
is the only supported format.
“Print to PDF” support is independent of this and is done
by letting the user pick the “Print to PDF” item from the list
of printers in the print dialog.
Parameters
op
a GtkPrintOperation
filename
the filename for the exported file.
[type filename]
gtk_print_operation_set_show_progress ()
gtk_print_operation_set_show_progress
void
gtk_print_operation_set_show_progress (GtkPrintOperation *op ,
gboolean show_progress );
If show_progress
is TRUE , the print operation will show a
progress dialog during the print operation.
Parameters
op
a GtkPrintOperation
show_progress
TRUE to show a progress dialog
gtk_print_operation_set_track_print_status ()
gtk_print_operation_set_track_print_status
void
gtk_print_operation_set_track_print_status
(GtkPrintOperation *op ,
gboolean track_status );
If track_status is TRUE , the print operation will try to continue report
on the status of the print job in the printer queues and printer. This
can allow your application to show things like “out of paper” issues,
and when the print job actually reaches the printer.
This function is often implemented using some form of polling, so it should
not be enabled unless needed.
Parameters
op
a GtkPrintOperation
track_status
TRUE to track status after printing
gtk_print_operation_set_custom_tab_label ()
gtk_print_operation_set_custom_tab_label
void
gtk_print_operation_set_custom_tab_label
(GtkPrintOperation *op ,
const gchar *label );
Sets the label for the tab holding custom widgets.
Parameters
op
a GtkPrintOperation
label
the label to use, or NULL to use the default label.
[allow-none ]
gtk_print_operation_run ()
gtk_print_operation_run
GtkPrintOperationResult
gtk_print_operation_run (GtkPrintOperation *op ,
GtkPrintOperationAction action ,
GtkWindow *parent ,
GError **error );
Runs the print operation, by first letting the user modify
print settings in the print dialog, and then print the document.
Normally that this function does not return until the rendering of all
pages is complete. You can connect to the
“status-changed” signal on op
to obtain some
information about the progress of the print operation.
Furthermore, it may use a recursive mainloop to show the print dialog.
If you call gtk_print_operation_set_allow_async() or set the
“allow-async” property the operation will run
asynchronously if this is supported on the platform. The
“done” signal will be emitted with the result of the
operation when the it is done (i.e. when the dialog is canceled, or when
the print succeeds or fails).
message);
g_signal_connect (error_dialog, "response",
G_CALLBACK (gtk_widget_destroy), NULL);
gtk_widget_show (error_dialog);
g_error_free (error);
}
else if (res == GTK_PRINT_OPERATION_RESULT_APPLY)
{
if (settings != NULL)
g_object_unref (settings);
settings = g_object_ref (gtk_print_operation_get_print_settings (print));
}
]]>
Note that gtk_print_operation_run() can only be called once on a
given GtkPrintOperation .
Parameters
op
a GtkPrintOperation
action
the action to start
parent
Transient parent of the dialog.
[allow-none ]
error
Return location for errors, or NULL .
[allow-none ]
Returns
the result of the print operation. A return value of
GTK_PRINT_OPERATION_RESULT_APPLY indicates that the printing was
completed successfully. In this case, it is a good idea to obtain
the used print settings with gtk_print_operation_get_print_settings()
and store them for reuse with the next print operation. A value of
GTK_PRINT_OPERATION_RESULT_IN_PROGRESS means the operation is running
asynchronously, and will emit the “done” signal when
done.
gtk_print_operation_cancel ()
gtk_print_operation_cancel
void
gtk_print_operation_cancel (GtkPrintOperation *op );
Cancels a running print operation. This function may
be called from a “begin-print” ,
“paginate” or “draw-page”
signal handler to stop the currently running print
operation.
Parameters
op
a GtkPrintOperation
gtk_print_operation_draw_page_finish ()
gtk_print_operation_draw_page_finish
void
gtk_print_operation_draw_page_finish (GtkPrintOperation *op );
Signalize that drawing of particular page is complete.
It is called after completion of page drawing (e.g. drawing in another
thread).
If gtk_print_operation_set_defer_drawing() was called before, then this function
has to be called by application. In another case it is called by the library
itself.
Parameters
op
a GtkPrintOperation
gtk_print_operation_set_defer_drawing ()
gtk_print_operation_set_defer_drawing
void
gtk_print_operation_set_defer_drawing (GtkPrintOperation *op );
Sets up the GtkPrintOperation to wait for calling of
gtk_print_operation_draw_page_finish() from application. It can
be used for drawing page in another thread.
This function must be called in the callback of “draw-page” signal.
Parameters
op
a GtkPrintOperation
gtk_print_operation_get_status ()
gtk_print_operation_get_status
GtkPrintStatus
gtk_print_operation_get_status (GtkPrintOperation *op );
Returns the status of the print operation.
Also see gtk_print_operation_get_status_string() .
Parameters
op
a GtkPrintOperation
Returns
the status of the print operation
gtk_print_operation_get_status_string ()
gtk_print_operation_get_status_string
const gchar *
gtk_print_operation_get_status_string (GtkPrintOperation *op );
Returns a string representation of the status of the
print operation. The string is translated and suitable
for displaying the print status e.g. in a GtkStatusbar .
Use gtk_print_operation_get_status() to obtain a status
value that is suitable for programmatic use.
Parameters
op
a GtkPrintOperation
Returns
a string representation of the status
of the print operation
gtk_print_operation_is_finished ()
gtk_print_operation_is_finished
gboolean
gtk_print_operation_is_finished (GtkPrintOperation *op );
A convenience function to find out if the print operation
is finished, either successfully (GTK_PRINT_STATUS_FINISHED )
or unsuccessfully (GTK_PRINT_STATUS_FINISHED_ABORTED ).
Note: when you enable print status tracking the print operation
can be in a non-finished state even after done has been called, as
the operation status then tracks the print job status on the printer.
Parameters
op
a GtkPrintOperation
Returns
TRUE , if the print operation is finished.
gtk_print_operation_set_support_selection ()
gtk_print_operation_set_support_selection
void
gtk_print_operation_set_support_selection
(GtkPrintOperation *op ,
gboolean support_selection );
Sets whether selection is supported by GtkPrintOperation .
Parameters
op
a GtkPrintOperation
support_selection
TRUE to support selection
gtk_print_operation_get_support_selection ()
gtk_print_operation_get_support_selection
gboolean
gtk_print_operation_get_support_selection
(GtkPrintOperation *op );
Gets the value of “support-selection” property.
Parameters
op
a GtkPrintOperation
Returns
whether the application supports print of selection
gtk_print_operation_set_has_selection ()
gtk_print_operation_set_has_selection
void
gtk_print_operation_set_has_selection (GtkPrintOperation *op ,
gboolean has_selection );
Sets whether there is a selection to print.
Application has to set number of pages to which the selection
will draw by gtk_print_operation_set_n_pages() in a callback of
“begin-print” .
Parameters
op
a GtkPrintOperation
has_selection
TRUE indicates that a selection exists
gtk_print_operation_get_has_selection ()
gtk_print_operation_get_has_selection
gboolean
gtk_print_operation_get_has_selection (GtkPrintOperation *op );
Gets the value of “has-selection” property.
Parameters
op
a GtkPrintOperation
Returns
whether there is a selection
gtk_print_operation_set_embed_page_setup ()
gtk_print_operation_set_embed_page_setup
void
gtk_print_operation_set_embed_page_setup
(GtkPrintOperation *op ,
gboolean embed );
Embed page size combo box and orientation combo box into page setup page.
Selected page setup is stored as default page setup in GtkPrintOperation .
Parameters
op
a GtkPrintOperation
embed
TRUE to embed page setup selection in the GtkPrintUnixDialog
gtk_print_operation_get_embed_page_setup ()
gtk_print_operation_get_embed_page_setup
gboolean
gtk_print_operation_get_embed_page_setup
(GtkPrintOperation *op );
Gets the value of “embed-page-setup” property.
Parameters
op
a GtkPrintOperation
Returns
whether page setup selection combos are embedded
gtk_print_run_page_setup_dialog ()
gtk_print_run_page_setup_dialog
GtkPageSetup *
gtk_print_run_page_setup_dialog (GtkWindow *parent ,
GtkPageSetup *page_setup ,
GtkPrintSettings *settings );
Runs a page setup dialog, letting the user modify the values from
page_setup
. If the user cancels the dialog, the returned GtkPageSetup
is identical to the passed in page_setup
, otherwise it contains the
modifications done in the dialog.
Note that this function may use a recursive mainloop to show the page
setup dialog. See gtk_print_run_page_setup_dialog_async() if this is
a problem.
Parameters
parent
transient parent.
[allow-none ]
page_setup
an existing GtkPageSetup .
[allow-none ]
settings
a GtkPrintSettings
Returns
a new GtkPageSetup .
[transfer full ]
GtkPageSetupDoneFunc ()
GtkPageSetupDoneFunc
void
( *GtkPageSetupDoneFunc) (GtkPageSetup *page_setup ,
gpointer data );
The type of function that is passed to
gtk_print_run_page_setup_dialog_async() .
This function will be called when the page setup dialog
is dismissed, and also serves as destroy notify for data
.
Parameters
page_setup
the GtkPageSetup that has been
data
user data that has been passed to
gtk_print_run_page_setup_dialog_async() .
[closure ]
gtk_print_run_page_setup_dialog_async ()
gtk_print_run_page_setup_dialog_async
void
gtk_print_run_page_setup_dialog_async (GtkWindow *parent ,
GtkPageSetup *page_setup ,
GtkPrintSettings *settings ,
GtkPageSetupDoneFunc done_cb ,
gpointer data );
Runs a page setup dialog, letting the user modify the values from page_setup
.
In contrast to gtk_print_run_page_setup_dialog() , this function returns after
showing the page setup dialog on platforms that support this, and calls done_cb
from a signal handler for the ::response signal of the dialog.
Parameters
parent
transient parent, or NULL .
[allow-none ]
page_setup
an existing GtkPageSetup , or NULL .
[allow-none ]
settings
a GtkPrintSettings
done_cb
a function to call when the user saves
the modified page setup.
[scope async ]
data
user data to pass to done_cb
gtk_print_operation_preview_end_preview ()
gtk_print_operation_preview_end_preview
void
gtk_print_operation_preview_end_preview
(GtkPrintOperationPreview *preview );
Ends a preview.
This function must be called to finish a custom print preview.
Parameters
preview
a GtkPrintOperationPreview
gtk_print_operation_preview_is_selected ()
gtk_print_operation_preview_is_selected
gboolean
gtk_print_operation_preview_is_selected
(GtkPrintOperationPreview *preview ,
gint page_nr );
Returns whether the given page is included in the set of pages that
have been selected for printing.
Parameters
preview
a GtkPrintOperationPreview
page_nr
a page number
Returns
TRUE if the page has been selected for printing
gtk_print_operation_preview_render_page ()
gtk_print_operation_preview_render_page
void
gtk_print_operation_preview_render_page
(GtkPrintOperationPreview *preview ,
gint page_nr );
Renders a page to the preview, using the print context that
was passed to the “preview” handler together
with preview
.
A custom iprint preview should use this function in its ::expose
handler to render the currently selected page.
Note that this function requires a suitable cairo context to
be associated with the print context.
Parameters
preview
a GtkPrintOperationPreview
page_nr
the page to render
Property Details
The “allow-async” property
GtkPrintOperation:allow-async
“allow-async” gboolean
Determines whether the print operation may run asynchronously or not.
Some systems don't support asynchronous printing, but those that do
will return GTK_PRINT_OPERATION_RESULT_IN_PROGRESS as the status, and
emit the “done” signal when the operation is actually
done.
The Windows port does not support asynchronous operation at all (this
is unlikely to change). On other platforms, all actions except for
GTK_PRINT_OPERATION_ACTION_EXPORT support asynchronous operation.
Owner: GtkPrintOperation
Flags: Read / Write
Default value: FALSE
The “current-page” property
GtkPrintOperation:current-page
“current-page” gint
The current page in the document.
If this is set before gtk_print_operation_run() ,
the user will be able to select to print only the current page.
Note that this only makes sense for pre-paginated documents.
Owner: GtkPrintOperation
Flags: Read / Write
Allowed values: >= -1
Default value: -1
The “custom-tab-label” property
GtkPrintOperation:custom-tab-label
“custom-tab-label” gchar *
Used as the label of the tab containing custom widgets.
Note that this property may be ignored on some platforms.
If this is NULL , GTK+ uses a default label.
Owner: GtkPrintOperation
Flags: Read / Write
Default value: NULL
The “default-page-setup” property
GtkPrintOperation:default-page-setup
“default-page-setup” GtkPageSetup *
The GtkPageSetup used by default.
This page setup will be used by gtk_print_operation_run() ,
but it can be overridden on a per-page basis by connecting
to the “request-page-setup” signal.
Owner: GtkPrintOperation
Flags: Read / Write
The “embed-page-setup” property
GtkPrintOperation:embed-page-setup
“embed-page-setup” gboolean
If TRUE , page size combo box and orientation combo box are embedded into page setup page.
Owner: GtkPrintOperation
Flags: Read / Write
Default value: FALSE
The “export-filename” property
GtkPrintOperation:export-filename
“export-filename” gchar *
The name of a file to generate instead of showing the print dialog.
Currently, PDF is the only supported format.
The intended use of this property is for implementing
“Export to PDF” actions.
“Print to PDF” support is independent of this and is done
by letting the user pick the “Print to PDF” item from the
list of printers in the print dialog.
Owner: GtkPrintOperation
Flags: Read / Write
Default value: NULL
The “has-selection” property
GtkPrintOperation:has-selection
“has-selection” gboolean
Determines whether there is a selection in your application.
This can allow your application to print the selection.
This is typically used to make a "Selection" button sensitive.
Owner: GtkPrintOperation
Flags: Read / Write
Default value: FALSE
The “job-name” property
GtkPrintOperation:job-name
“job-name” gchar *
A string used to identify the job (e.g. in monitoring
applications like eggcups).
If you don't set a job name, GTK+ picks a default one
by numbering successive print jobs.
Owner: GtkPrintOperation
Flags: Read / Write
Default value: ""
The “n-pages” property
GtkPrintOperation:n-pages
“n-pages” gint
The number of pages in the document.
This must be set to a positive number
before the rendering starts. It may be set in a
“begin-print” signal hander.
Note that the page numbers passed to the
“request-page-setup” and
“draw-page” signals are 0-based, i.e. if
the user chooses to print all pages, the last ::draw-page signal
will be for page n_pages
- 1.
Owner: GtkPrintOperation
Flags: Read / Write
Allowed values: >= -1
Default value: -1
The “n-pages-to-print” property
GtkPrintOperation:n-pages-to-print
“n-pages-to-print” gint
The number of pages that will be printed.
Note that this value is set during print preparation phase
(GTK_PRINT_STATUS_PREPARING ), so this value should never be
get before the data generation phase (GTK_PRINT_STATUS_GENERATING_DATA ).
You can connect to the “status-changed” signal
and call gtk_print_operation_get_n_pages_to_print() when
print status is GTK_PRINT_STATUS_GENERATING_DATA .
This is typically used to track the progress of print operation.
Owner: GtkPrintOperation
Flags: Read
Allowed values: >= -1
Default value: -1
The “print-settings” property
GtkPrintOperation:print-settings
“print-settings” GtkPrintSettings *
The GtkPrintSettings used for initializing the dialog.
Setting this property is typically used to re-establish
print settings from a previous print operation, see
gtk_print_operation_run() .
Owner: GtkPrintOperation
Flags: Read / Write
The “show-progress” property
GtkPrintOperation:show-progress
“show-progress” gboolean
Determines whether to show a progress dialog during the
print operation.
Owner: GtkPrintOperation
Flags: Read / Write
Default value: FALSE
The “status” property
GtkPrintOperation:status
“status” GtkPrintStatus
The status of the print operation.
Owner: GtkPrintOperation
Flags: Read
Default value: GTK_PRINT_STATUS_INITIAL
The “status-string” property
GtkPrintOperation:status-string
“status-string” gchar *
A string representation of the status of the print operation.
The string is translated and suitable for displaying the print
status e.g. in a GtkStatusbar .
See the “status” property for a status value that
is suitable for programmatic use.
Owner: GtkPrintOperation
Flags: Read
Default value: ""
The “support-selection” property
GtkPrintOperation:support-selection
“support-selection” gboolean
If TRUE , the print operation will support print of selection.
This allows the print dialog to show a "Selection" button.
Owner: GtkPrintOperation
Flags: Read / Write
Default value: FALSE
The “track-print-status” property
GtkPrintOperation:track-print-status
“track-print-status” gboolean
If TRUE , the print operation will try to continue report on
the status of the print job in the printer queues and printer.
This can allow your application to show things like “out of paper”
issues, and when the print job actually reaches the printer.
However, this is often implemented using polling, and should
not be enabled unless needed.
Owner: GtkPrintOperation
Flags: Read / Write
Default value: FALSE
The “unit” property
GtkPrintOperation:unit
“unit” GtkUnit
The transformation for the cairo context obtained from
GtkPrintContext is set up in such a way that distances
are measured in units of unit
.
Owner: GtkPrintOperation
Flags: Read / Write
Default value: GTK_UNIT_NONE
The “use-full-page” property
GtkPrintOperation:use-full-page
“use-full-page” gboolean
If TRUE , the transformation for the cairo context obtained
from GtkPrintContext puts the origin at the top left corner
of the page (which may not be the top left corner of the sheet,
depending on page orientation and the number of pages per sheet).
Otherwise, the origin is at the top left corner of the imageable
area (i.e. inside the margins).
Owner: GtkPrintOperation
Flags: Read / Write
Default value: FALSE
Signal Details
The “begin-print” signal
GtkPrintOperation::begin-print
void
user_function (GtkPrintOperation *operation,
GtkPrintContext *context,
gpointer user_data)
Emitted after the user has finished changing print settings
in the dialog, before the actual rendering starts.
A typical use for ::begin-print is to use the parameters from the
GtkPrintContext and paginate the document accordingly, and then
set the number of pages with gtk_print_operation_set_n_pages() .
Parameters
operation
the GtkPrintOperation on which the signal was emitted
context
the GtkPrintContext for the current operation
user_data
user data set when the signal handler was connected.
Flags: Run Last
The “create-custom-widget” signal
GtkPrintOperation::create-custom-widget
GObject *
user_function (GtkPrintOperation *operation,
gpointer user_data)
Emitted when displaying the print dialog. If you return a
widget in a handler for this signal it will be added to a custom
tab in the print dialog. You typically return a container widget
with multiple widgets in it.
The print dialog owns the returned widget, and its lifetime is not
controlled by the application. However, the widget is guaranteed
to stay around until the “custom-widget-apply”
signal is emitted on the operation. Then you can read out any
information you need from the widgets.
Parameters
operation
the GtkPrintOperation on which the signal was emitted
user_data
user data set when the signal handler was connected.
Returns
A custom widget that gets embedded in
the print dialog, or NULL .
[transfer none ]
Flags: Run Last
The “custom-widget-apply” signal
GtkPrintOperation::custom-widget-apply
void
user_function (GtkPrintOperation *operation,
GtkWidget *widget,
gpointer user_data)
Emitted right before “begin-print” if you added
a custom widget in the “create-custom-widget” handler.
When you get this signal you should read the information from the
custom widgets, as the widgets are not guaraneed to be around at a
later time.
Parameters
operation
the GtkPrintOperation on which the signal was emitted
widget
the custom widget added in create-custom-widget
user_data
user data set when the signal handler was connected.
Flags: Run Last
The “done” signal
GtkPrintOperation::done
void
user_function (GtkPrintOperation *operation,
GtkPrintOperationResult result,
gpointer user_data)
Emitted when the print operation run has finished doing
everything required for printing.
result
gives you information about what happened during the run.
If result
is GTK_PRINT_OPERATION_RESULT_ERROR then you can call
gtk_print_operation_get_error() for more information.
If you enabled print status tracking then
gtk_print_operation_is_finished() may still return FALSE
after “done” was emitted.
Parameters
operation
the GtkPrintOperation on which the signal was emitted
result
the result of the print operation
user_data
user data set when the signal handler was connected.
Flags: Run Last
The “draw-page” signal
GtkPrintOperation::draw-page
void
user_function (GtkPrintOperation *operation,
GtkPrintContext *context,
gint page_nr,
gpointer user_data)
Emitted for every page that is printed. The signal handler
must render the page_nr
's page onto the cairo context obtained
from context
using gtk_print_context_get_cairo_context() .
Use gtk_print_operation_set_use_full_page() and
gtk_print_operation_set_unit() before starting the print operation
to set up the transformation of the cairo context according to your
needs.
Parameters
operation
the GtkPrintOperation on which the signal was emitted
context
the GtkPrintContext for the current operation
page_nr
the number of the currently printed page (0-based)
user_data
user data set when the signal handler was connected.
Flags: Run Last
The “end-print” signal
GtkPrintOperation::end-print
void
user_function (GtkPrintOperation *operation,
GtkPrintContext *context,
gpointer user_data)
Emitted after all pages have been rendered.
A handler for this signal can clean up any resources that have
been allocated in the “begin-print” handler.
Parameters
operation
the GtkPrintOperation on which the signal was emitted
context
the GtkPrintContext for the current operation
user_data
user data set when the signal handler was connected.
Flags: Run Last
The “paginate” signal
GtkPrintOperation::paginate
gboolean
user_function (GtkPrintOperation *operation,
GtkPrintContext *context,
gpointer user_data)
Emitted after the “begin-print” signal, but before
the actual rendering starts. It keeps getting emitted until a connected
signal handler returns TRUE .
The ::paginate signal is intended to be used for paginating a document
in small chunks, to avoid blocking the user interface for a long
time. The signal handler should update the number of pages using
gtk_print_operation_set_n_pages() , and return TRUE if the document
has been completely paginated.
If you don't need to do pagination in chunks, you can simply do
it all in the ::begin-print handler, and set the number of pages
from there.
Parameters
operation
the GtkPrintOperation on which the signal was emitted
context
the GtkPrintContext for the current operation
user_data
user data set when the signal handler was connected.
Returns
TRUE if pagination is complete
Flags: Run Last
The “preview” signal
GtkPrintOperation::preview
gboolean
user_function (GtkPrintOperation *operation,
GtkPrintOperationPreview *preview,
GtkPrintContext *context,
GtkWindow *parent,
gpointer user_data)
Gets emitted when a preview is requested from the native dialog.
The default handler for this signal uses an external viewer
application to preview.
To implement a custom print preview, an application must return
TRUE from its handler for this signal. In order to use the
provided context
for the preview implementation, it must be
given a suitable cairo context with gtk_print_context_set_cairo_context() .
The custom preview implementation can use
gtk_print_operation_preview_is_selected() and
gtk_print_operation_preview_render_page() to find pages which
are selected for print and render them. The preview must be
finished by calling gtk_print_operation_preview_end_preview()
(typically in response to the user clicking a close button).
Parameters
operation
the GtkPrintOperation on which the signal was emitted
preview
the GtkPrintOperationPreview for the current operation
context
the GtkPrintContext that will be used
parent
the GtkWindow to use as window parent, or NULL .
[allow-none ]
user_data
user data set when the signal handler was connected.
Returns
TRUE if the listener wants to take over control of the preview
Flags: Run Last
The “request-page-setup” signal
GtkPrintOperation::request-page-setup
void
user_function (GtkPrintOperation *operation,
GtkPrintContext *context,
gint page_nr,
GtkPageSetup *setup,
gpointer user_data)
Emitted once for every page that is printed, to give
the application a chance to modify the page setup. Any changes
done to setup
will be in force only for printing this page.
Parameters
operation
the GtkPrintOperation on which the signal was emitted
context
the GtkPrintContext for the current operation
page_nr
the number of the currently printed page (0-based)
setup
the GtkPageSetup
user_data
user data set when the signal handler was connected.
Flags: Run Last
The “status-changed” signal
GtkPrintOperation::status-changed
void
user_function (GtkPrintOperation *operation,
gpointer user_data)
Emitted at between the various phases of the print operation.
See GtkPrintStatus for the phases that are being discriminated.
Use gtk_print_operation_get_status() to find out the current
status.
Parameters
operation
the GtkPrintOperation on which the signal was emitted
user_data
user data set when the signal handler was connected.
Flags: Run Last
The “update-custom-widget” signal
GtkPrintOperation::update-custom-widget
void
user_function (GtkPrintOperation *operation,
GtkWidget *widget,
GtkPageSetup *setup,
GtkPrintSettings *settings,
gpointer user_data)
Emitted after change of selected printer. The actual page setup and
print settings are passed to the custom widget, which can actualize
itself according to this change.
Parameters
operation
the GtkPrintOperation on which the signal was emitted
widget
the custom widget added in create-custom-widget
setup
actual page setup
settings
actual print settings
user_data
user data set when the signal handler was connected.
Flags: Run Last
The “got-page-size” signal
GtkPrintOperationPreview::got-page-size
void
user_function (GtkPrintOperationPreview *preview,
GtkPrintContext *context,
GtkPageSetup *page_setup,
gpointer user_data)
The ::got-page-size signal is emitted once for each page
that gets rendered to the preview.
A handler for this signal should update the context
according to page_setup
and set up a suitable cairo
context, using gtk_print_context_set_cairo_context() .
Parameters
preview
the object on which the signal is emitted
context
the current GtkPrintContext
page_setup
the GtkPageSetup for the current page
user_data
user data set when the signal handler was connected.
Flags: Run Last
The “ready” signal
GtkPrintOperationPreview::ready
void
user_function (GtkPrintOperationPreview *preview,
GtkPrintContext *context,
gpointer user_data)
The ::ready signal gets emitted once per preview operation,
before the first page is rendered.
A handler for this signal can be used for setup tasks.
Parameters
preview
the object on which the signal is emitted
context
the current GtkPrintContext
user_data
user data set when the signal handler was connected.
Flags: Run Last
See Also
GtkPrintContext , GtkPrintUnixDialog
docs/reference/gtk/xml/gtkgesturestylus.xml 0000664 0001750 0001750 00000046135 13617646205 021376 0 ustar mclasen mclasen
]>
GtkGestureStylus
3
GTK4 Library
GtkGestureStylus
Gesture for stylus input
Functions
GtkGesture *
gtk_gesture_stylus_new ()
gboolean
gtk_gesture_stylus_get_axis ()
gboolean
gtk_gesture_stylus_get_axes ()
gboolean
gtk_gesture_stylus_get_backlog ()
GdkDeviceTool *
gtk_gesture_stylus_get_device_tool ()
Signals
void down Run Last
void motion Run Last
void proximity Run Last
void up Run Last
Types and Values
GtkGestureStylus
Object Hierarchy
GObject
╰── GtkEventController
╰── GtkGesture
╰── GtkGestureSingle
╰── GtkGestureStylus
Includes #include <gtk/gtk.h>
Description
GtkGestureStylus is a GtkGesture implementation specific to stylus
input. The provided signals just provide the basic information
Functions
gtk_gesture_stylus_new ()
gtk_gesture_stylus_new
GtkGesture *
gtk_gesture_stylus_new (void );
Creates a new GtkGestureStylus .
Returns
a newly created stylus gesture
gtk_gesture_stylus_get_axis ()
gtk_gesture_stylus_get_axis
gboolean
gtk_gesture_stylus_get_axis (GtkGestureStylus *gesture ,
GdkAxisUse axis ,
gdouble *value );
Returns the current value for the requested axis
. This function
must be called from either the “down” ,
“motion” , “up” or “proximity”
signals.
Parameters
gesture
a GtkGestureStylus
axis
requested device axis
value
return location for the axis value.
[out ]
Returns
TRUE if there is a current value for the axis
gtk_gesture_stylus_get_axes ()
gtk_gesture_stylus_get_axes
gboolean
gtk_gesture_stylus_get_axes (GtkGestureStylus *gesture ,
GdkAxisUse axes[] ,
gdouble **values );
Returns the current values for the requested axes
. This function
must be called from either the “down” ,
“motion” , “up” or “proximity”
signals.
Parameters
gesture
a GtkGestureStylus
axes
array of requested axes, terminated with GDK_AXIS_IGNORE .
[array ]
values
return location for the axis values.
[out ][array ]
Returns
TRUE if there is a current value for the axes
gtk_gesture_stylus_get_backlog ()
gtk_gesture_stylus_get_backlog
gboolean
gtk_gesture_stylus_get_backlog (GtkGestureStylus *gesture ,
GdkTimeCoord **backlog ,
guint *n_elems );
By default, GTK+ will limit rate of input events. On stylus input where
accuracy of strokes is paramount, this function returns the accumulated
coordinate/timing state before the emission of the current
“motion” signal.
This function may only be called within a “motion”
signal handler, the state given in this signal and obtainable through
gtk_gesture_stylus_get_axis() call express the latest (most up-to-date)
state in motion history.
backlog
is provided in chronological order.
Parameters
gesture
a GtkGestureStylus
backlog
coordinates and times for the backlog events.
[out ][array length=n_elems]
n_elems
return location for the number of elements.
[out ]
Returns
TRUE if there is a backlog to unfold in the current state.
gtk_gesture_stylus_get_device_tool ()
gtk_gesture_stylus_get_device_tool
GdkDeviceTool *
gtk_gesture_stylus_get_device_tool (GtkGestureStylus *gesture );
Returns the GdkDeviceTool currently driving input through this gesture.
This function must be called from either the “down” ,
“motion” , “up” or “proximity”
signal handlers.
Parameters
gesture
a GtkGestureStylus
Returns
The current stylus tool.
[nullable ][transfer none ]
Signal Details
The “down” signal
GtkGestureStylus::down
void
user_function (GtkGestureStylus *gesturestylus,
gdouble arg1,
gdouble arg2,
gpointer user_data)
Flags: Run Last
The “motion” signal
GtkGestureStylus::motion
void
user_function (GtkGestureStylus *gesturestylus,
gdouble arg1,
gdouble arg2,
gpointer user_data)
Flags: Run Last
The “proximity” signal
GtkGestureStylus::proximity
void
user_function (GtkGestureStylus *gesturestylus,
gdouble arg1,
gdouble arg2,
gpointer user_data)
Flags: Run Last
The “up” signal
GtkGestureStylus::up
void
user_function (GtkGestureStylus *gesturestylus,
gdouble arg1,
gdouble arg2,
gpointer user_data)
Flags: Run Last
See Also
GtkGesture , GtkGestureSingle
docs/reference/gtk/xml/gtkprintunixdialog.xml 0000664 0001750 0001750 00000137734 13617646204 021661 0 ustar mclasen mclasen
]>
GtkPrintUnixDialog
3
GTK4 Library
GtkPrintUnixDialog
A print dialog
Functions
GtkWidget *
gtk_print_unix_dialog_new ()
void
gtk_print_unix_dialog_set_page_setup ()
GtkPageSetup *
gtk_print_unix_dialog_get_page_setup ()
void
gtk_print_unix_dialog_set_current_page ()
gint
gtk_print_unix_dialog_get_current_page ()
void
gtk_print_unix_dialog_set_settings ()
GtkPrintSettings *
gtk_print_unix_dialog_get_settings ()
GtkPrinter *
gtk_print_unix_dialog_get_selected_printer ()
void
gtk_print_unix_dialog_add_custom_tab ()
void
gtk_print_unix_dialog_set_support_selection ()
gboolean
gtk_print_unix_dialog_get_support_selection ()
void
gtk_print_unix_dialog_set_has_selection ()
gboolean
gtk_print_unix_dialog_get_has_selection ()
void
gtk_print_unix_dialog_set_embed_page_setup ()
gboolean
gtk_print_unix_dialog_get_embed_page_setup ()
gboolean
gtk_print_unix_dialog_get_page_setup_set ()
void
gtk_print_unix_dialog_set_manual_capabilities ()
GtkPrintCapabilities
gtk_print_unix_dialog_get_manual_capabilities ()
Properties
gint current-pageRead / Write
gboolean embed-page-setupRead / Write
gboolean has-selectionRead / Write
GtkPrintCapabilities manual-capabilitiesRead / Write
GtkPageSetup * page-setupRead / Write
GtkPrintSettings * print-settingsRead / Write
GtkPrinter * selected-printerRead
gboolean support-selectionRead / Write
Types and Values
GtkPrintUnixDialog
enum GtkPrintCapabilities
Object Hierarchy
GObject
╰── GInitiallyUnowned
╰── GtkWidget
╰── GtkContainer
╰── GtkBin
╰── GtkWindow
╰── GtkDialog
╰── GtkPrintUnixDialog
Implemented Interfaces
GtkPrintUnixDialog implements
AtkImplementorIface, GtkBuildable, GtkConstraintTarget, GtkNative and GtkRoot.
Includes #include <gtk/gtkunixprint.h>
Description
GtkPrintUnixDialog implements a print dialog for platforms
which don’t provide a native print dialog, like Unix. It can
be used very much like any other GTK+ dialog, at the cost of
the portability offered by the
high-level printing API
In order to print something with GtkPrintUnixDialog , you need
to use gtk_print_unix_dialog_get_selected_printer() to obtain
a GtkPrinter object and use it to construct a GtkPrintJob using
gtk_print_job_new() .
GtkPrintUnixDialog uses the following response values:
GTK_RESPONSE_OK : for the “Print” button
GTK_RESPONSE_APPLY : for the “Preview” button
GTK_RESPONSE_CANCEL : for the “Cancel” button
Printing support was added in GTK+ 2.10.
GtkPrintUnixDialog as GtkBuildable The GtkPrintUnixDialog implementation of the GtkBuildable interface exposes its
notebook
internal children with the name “notebook”.
An example of a GtkPrintUnixDialog UI definition fragment:
False
False
Tab label
Content on notebook tab
]]>
CSS nodes GtkPrintUnixDialog has a single CSS node with name printdialog.
Functions
gtk_print_unix_dialog_new ()
gtk_print_unix_dialog_new
GtkWidget *
gtk_print_unix_dialog_new (const gchar *title ,
GtkWindow *parent );
Creates a new GtkPrintUnixDialog .
Parameters
title
Title of the dialog, or NULL .
[allow-none ]
parent
Transient parent of the dialog, or NULL .
[allow-none ]
Returns
a new GtkPrintUnixDialog
gtk_print_unix_dialog_set_page_setup ()
gtk_print_unix_dialog_set_page_setup
void
gtk_print_unix_dialog_set_page_setup (GtkPrintUnixDialog *dialog ,
GtkPageSetup *page_setup );
Sets the page setup of the GtkPrintUnixDialog .
Parameters
dialog
a GtkPrintUnixDialog
page_setup
a GtkPageSetup
gtk_print_unix_dialog_get_page_setup ()
gtk_print_unix_dialog_get_page_setup
GtkPageSetup *
gtk_print_unix_dialog_get_page_setup (GtkPrintUnixDialog *dialog );
Gets the page setup that is used by the GtkPrintUnixDialog .
Parameters
dialog
a GtkPrintUnixDialog
Returns
the page setup of dialog
.
[transfer none ]
gtk_print_unix_dialog_set_current_page ()
gtk_print_unix_dialog_set_current_page
void
gtk_print_unix_dialog_set_current_page
(GtkPrintUnixDialog *dialog ,
gint current_page );
Sets the current page number. If current_page
is not -1, this enables
the current page choice for the range of pages to print.
Parameters
dialog
a GtkPrintUnixDialog
current_page
the current page number.
gtk_print_unix_dialog_get_current_page ()
gtk_print_unix_dialog_get_current_page
gint
gtk_print_unix_dialog_get_current_page
(GtkPrintUnixDialog *dialog );
Gets the current page of the GtkPrintUnixDialog .
Parameters
dialog
a GtkPrintUnixDialog
Returns
the current page of dialog
gtk_print_unix_dialog_set_settings ()
gtk_print_unix_dialog_set_settings
void
gtk_print_unix_dialog_set_settings (GtkPrintUnixDialog *dialog ,
GtkPrintSettings *settings );
Sets the GtkPrintSettings for the GtkPrintUnixDialog . Typically,
this is used to restore saved print settings from a previous print
operation before the print dialog is shown.
Parameters
dialog
a GtkPrintUnixDialog
settings
a GtkPrintSettings , or NULL .
[allow-none ]
gtk_print_unix_dialog_get_settings ()
gtk_print_unix_dialog_get_settings
GtkPrintSettings *
gtk_print_unix_dialog_get_settings (GtkPrintUnixDialog *dialog );
Gets a new GtkPrintSettings object that represents the
current values in the print dialog. Note that this creates a
new object, and you need to unref it
if don’t want to keep it.
Parameters
dialog
a GtkPrintUnixDialog
Returns
a new GtkPrintSettings object with the values from dialog
gtk_print_unix_dialog_get_selected_printer ()
gtk_print_unix_dialog_get_selected_printer
GtkPrinter *
gtk_print_unix_dialog_get_selected_printer
(GtkPrintUnixDialog *dialog );
Gets the currently selected printer.
Parameters
dialog
a GtkPrintUnixDialog
Returns
the currently selected printer.
[transfer none ]
gtk_print_unix_dialog_add_custom_tab ()
gtk_print_unix_dialog_add_custom_tab
void
gtk_print_unix_dialog_add_custom_tab (GtkPrintUnixDialog *dialog ,
GtkWidget *child ,
GtkWidget *tab_label );
Adds a custom tab to the print dialog.
Parameters
dialog
a GtkPrintUnixDialog
child
the widget to put in the custom tab
tab_label
the widget to use as tab label
gtk_print_unix_dialog_set_support_selection ()
gtk_print_unix_dialog_set_support_selection
void
gtk_print_unix_dialog_set_support_selection
(GtkPrintUnixDialog *dialog ,
gboolean support_selection );
Sets whether the print dialog allows user to print a selection.
Parameters
dialog
a GtkPrintUnixDialog
support_selection
TRUE to allow print selection
gtk_print_unix_dialog_get_support_selection ()
gtk_print_unix_dialog_get_support_selection
gboolean
gtk_print_unix_dialog_get_support_selection
(GtkPrintUnixDialog *dialog );
Gets the value of “support-selection” property.
Parameters
dialog
a GtkPrintUnixDialog
Returns
whether the application supports print of selection
gtk_print_unix_dialog_set_has_selection ()
gtk_print_unix_dialog_set_has_selection
void
gtk_print_unix_dialog_set_has_selection
(GtkPrintUnixDialog *dialog ,
gboolean has_selection );
Sets whether a selection exists.
Parameters
dialog
a GtkPrintUnixDialog
has_selection
TRUE indicates that a selection exists
gtk_print_unix_dialog_get_has_selection ()
gtk_print_unix_dialog_get_has_selection
gboolean
gtk_print_unix_dialog_get_has_selection
(GtkPrintUnixDialog *dialog );
Gets the value of “has-selection” property.
Parameters
dialog
a GtkPrintUnixDialog
Returns
whether there is a selection
gtk_print_unix_dialog_set_embed_page_setup ()
gtk_print_unix_dialog_set_embed_page_setup
void
gtk_print_unix_dialog_set_embed_page_setup
(GtkPrintUnixDialog *dialog ,
gboolean embed );
Embed page size combo box and orientation combo box into page setup page.
Parameters
dialog
a GtkPrintUnixDialog
embed
embed page setup selection
gtk_print_unix_dialog_get_embed_page_setup ()
gtk_print_unix_dialog_get_embed_page_setup
gboolean
gtk_print_unix_dialog_get_embed_page_setup
(GtkPrintUnixDialog *dialog );
Gets the value of “embed-page-setup” property.
Parameters
dialog
a GtkPrintUnixDialog
Returns
whether there is a selection
gtk_print_unix_dialog_get_page_setup_set ()
gtk_print_unix_dialog_get_page_setup_set
gboolean
gtk_print_unix_dialog_get_page_setup_set
(GtkPrintUnixDialog *dialog );
Gets the page setup that is used by the GtkPrintUnixDialog .
Parameters
dialog
a GtkPrintUnixDialog
Returns
whether a page setup was set by user.
gtk_print_unix_dialog_set_manual_capabilities ()
gtk_print_unix_dialog_set_manual_capabilities
void
gtk_print_unix_dialog_set_manual_capabilities
(GtkPrintUnixDialog *dialog ,
GtkPrintCapabilities capabilities );
This lets you specify the printing capabilities your application
supports. For instance, if you can handle scaling the output then
you pass GTK_PRINT_CAPABILITY_SCALE . If you don’t pass that, then
the dialog will only let you select the scale if the printing
system automatically handles scaling.
Parameters
dialog
a GtkPrintUnixDialog
capabilities
the printing capabilities of your application
gtk_print_unix_dialog_get_manual_capabilities ()
gtk_print_unix_dialog_get_manual_capabilities
GtkPrintCapabilities
gtk_print_unix_dialog_get_manual_capabilities
(GtkPrintUnixDialog *dialog );
Gets the value of “manual-capabilities” property.
Parameters
dialog
a GtkPrintUnixDialog
Returns
the printing capabilities
Property Details
The “current-page” property
GtkPrintUnixDialog:current-page
“current-page” gint
The current page in the document. Owner: GtkPrintUnixDialog
Flags: Read / Write
Allowed values: >= -1
Default value: -1
The “embed-page-setup” property
GtkPrintUnixDialog:embed-page-setup
“embed-page-setup” gboolean
TRUE if page setup combos are embedded in GtkPrintUnixDialog. Owner: GtkPrintUnixDialog
Flags: Read / Write
Default value: FALSE
The “has-selection” property
GtkPrintUnixDialog:has-selection
“has-selection” gboolean
Whether the application has a selection. Owner: GtkPrintUnixDialog
Flags: Read / Write
Default value: FALSE
The “manual-capabilities” property
GtkPrintUnixDialog:manual-capabilities
“manual-capabilities” GtkPrintCapabilities
Capabilities the application can handle. Owner: GtkPrintUnixDialog
Flags: Read / Write
The “page-setup” property
GtkPrintUnixDialog:page-setup
“page-setup” GtkPageSetup *
The GtkPageSetup to use. Owner: GtkPrintUnixDialog
Flags: Read / Write
The “print-settings” property
GtkPrintUnixDialog:print-settings
“print-settings” GtkPrintSettings *
The GtkPrintSettings used for initializing the dialog. Owner: GtkPrintUnixDialog
Flags: Read / Write
The “selected-printer” property
GtkPrintUnixDialog:selected-printer
“selected-printer” GtkPrinter *
The GtkPrinter which is selected. Owner: GtkPrintUnixDialog
Flags: Read
The “support-selection” property
GtkPrintUnixDialog:support-selection
“support-selection” gboolean
Whether the dialog supports selection. Owner: GtkPrintUnixDialog
Flags: Read / Write
Default value: FALSE
See Also
GtkPageSetupUnixDialog , GtkPrinter , GtkPrintJob
docs/reference/gtk/xml/gtkemojichooser.xml 0000664 0001750 0001750 00000016070 13617647320 021114 0 ustar mclasen mclasen
]>
GtkEmojiChooser
3
GTK4 Library
GtkEmojiChooser
A popover to choose an Emoji character
Functions
GtkWidget *
gtk_emoji_chooser_new ()
Signals
void emoji-picked Run Last
Types and Values
GtkEmojiChooser
Object Hierarchy
GObject
╰── GInitiallyUnowned
╰── GtkWidget
╰── GtkContainer
╰── GtkBin
╰── GtkPopover
╰── GtkEmojiChooser
Implemented Interfaces
GtkEmojiChooser implements
AtkImplementorIface, GtkBuildable, GtkConstraintTarget and GtkNative.
Includes #include <gtk/gtk.h>
Description
The GtkEmojiChooser popover is used by text widgets such as GtkEntry or
GtkTextView to offer users a convenient way to insert Emoji characters.
GtkEmojiChooser emits the “emoji-picked” signal when an
Emoji is selected.
Functions
gtk_emoji_chooser_new ()
gtk_emoji_chooser_new
GtkWidget *
gtk_emoji_chooser_new (void );
Creates a new GtkEmojiChooser .
Returns
a new GtkEmojiChoser
Signal Details
The “emoji-picked” signal
GtkEmojiChooser::emoji-picked
void
user_function (GtkEmojiChooser *chooser,
gchar *text,
gpointer user_data)
The ::emoji-picked signal is emitted when the user selects an
Emoji.
Parameters
chooser
the GtkEmojiChooser
text
the Unicode sequence for the picked Emoji, in UTF-8
user_data
user data set when the signal handler was connected.
Flags: Run Last
docs/reference/gtk/xml/gtkprinter.xml 0000664 0001750 0001750 00000173566 13617646204 020127 0 ustar mclasen mclasen
]>
GtkPrinter
3
GTK4 Library
GtkPrinter
Represents a printer
Functions
GtkPrinter *
gtk_printer_new ()
GtkPrintBackend *
gtk_printer_get_backend ()
const gchar *
gtk_printer_get_name ()
const gchar *
gtk_printer_get_state_message ()
const gchar *
gtk_printer_get_description ()
const gchar *
gtk_printer_get_location ()
const gchar *
gtk_printer_get_icon_name ()
gint
gtk_printer_get_job_count ()
gboolean
gtk_printer_is_active ()
gboolean
gtk_printer_is_paused ()
gboolean
gtk_printer_is_accepting_jobs ()
gboolean
gtk_printer_is_virtual ()
gboolean
gtk_printer_is_default ()
gboolean
gtk_printer_accepts_ps ()
gboolean
gtk_printer_accepts_pdf ()
GList *
gtk_printer_list_papers ()
gint
gtk_printer_compare ()
gboolean
gtk_printer_has_details ()
void
gtk_printer_request_details ()
GtkPrintCapabilities
gtk_printer_get_capabilities ()
GtkPageSetup *
gtk_printer_get_default_page_size ()
gboolean
gtk_printer_get_hard_margins ()
gboolean
gtk_printer_get_hard_margins_for_paper_size ()
gboolean
( *GtkPrinterFunc) ()
void
gtk_enumerate_printers ()
Properties
gboolean accepting-jobsRead
gboolean accepts-pdfRead / Write / Construct Only
gboolean accepts-psRead / Write / Construct Only
GtkPrintBackend * backendRead / Write / Construct Only
gchar * icon-nameRead
gboolean is-virtualRead / Write / Construct Only
gint job-countRead
gchar * locationRead
gchar * nameRead / Write / Construct Only
gboolean pausedRead
gchar * state-messageRead
Signals
void details-acquired Run Last
Types and Values
GtkPrinter
GtkPrintBackend
Object Hierarchy
GObject
├── GtkPrintBackend
╰── GtkPrinter
Includes #include <gtk/gtk.h>
Description
A GtkPrinter object represents a printer. You only need to
deal directly with printers if you use the non-portable
GtkPrintUnixDialog API.
A GtkPrinter allows to get status information about the printer,
such as its description, its location, the number of queued jobs,
etc. Most importantly, a GtkPrinter object can be used to create
a GtkPrintJob object, which lets you print to the printer.
Printing support was added in GTK+ 2.10.
Functions
gtk_printer_new ()
gtk_printer_new
GtkPrinter *
gtk_printer_new (const gchar *name ,
GtkPrintBackend *backend ,
gboolean virtual_ );
Creates a new GtkPrinter .
Parameters
name
the name of the printer
backend
a GtkPrintBackend
virtual_
whether the printer is virtual
Returns
a new GtkPrinter
gtk_printer_get_backend ()
gtk_printer_get_backend
GtkPrintBackend *
gtk_printer_get_backend (GtkPrinter *printer );
Returns the backend of the printer.
Parameters
printer
a GtkPrinter
Returns
the backend of printer
.
[transfer none ]
gtk_printer_get_name ()
gtk_printer_get_name
const gchar *
gtk_printer_get_name (GtkPrinter *printer );
Returns the name of the printer.
Parameters
printer
a GtkPrinter
Returns
the name of printer
gtk_printer_get_state_message ()
gtk_printer_get_state_message
const gchar *
gtk_printer_get_state_message (GtkPrinter *printer );
Returns the state message describing the current state
of the printer.
Parameters
printer
a GtkPrinter
Returns
the state message of printer
gtk_printer_get_description ()
gtk_printer_get_description
const gchar *
gtk_printer_get_description (GtkPrinter *printer );
Gets the description of the printer.
Parameters
printer
a GtkPrinter
Returns
the description of printer
gtk_printer_get_location ()
gtk_printer_get_location
const gchar *
gtk_printer_get_location (GtkPrinter *printer );
Returns a description of the location of the printer.
Parameters
printer
a GtkPrinter
Returns
the location of printer
gtk_printer_get_icon_name ()
gtk_printer_get_icon_name
const gchar *
gtk_printer_get_icon_name (GtkPrinter *printer );
Gets the name of the icon to use for the printer.
Parameters
printer
a GtkPrinter
Returns
the icon name for printer
gtk_printer_get_job_count ()
gtk_printer_get_job_count
gint
gtk_printer_get_job_count (GtkPrinter *printer );
Gets the number of jobs currently queued on the printer.
Parameters
printer
a GtkPrinter
Returns
the number of jobs on printer
gtk_printer_is_active ()
gtk_printer_is_active
gboolean
gtk_printer_is_active (GtkPrinter *printer );
Returns whether the printer is currently active (i.e.
accepts new jobs).
Parameters
printer
a GtkPrinter
Returns
TRUE if printer
is active
gtk_printer_is_paused ()
gtk_printer_is_paused
gboolean
gtk_printer_is_paused (GtkPrinter *printer );
Returns whether the printer is currently paused.
A paused printer still accepts jobs, but it is not
printing them.
Parameters
printer
a GtkPrinter
Returns
TRUE if printer
is paused
gtk_printer_is_accepting_jobs ()
gtk_printer_is_accepting_jobs
gboolean
gtk_printer_is_accepting_jobs (GtkPrinter *printer );
Returns whether the printer is accepting jobs
Parameters
printer
a GtkPrinter
Returns
TRUE if printer
is accepting jobs
gtk_printer_is_virtual ()
gtk_printer_is_virtual
gboolean
gtk_printer_is_virtual (GtkPrinter *printer );
Returns whether the printer is virtual (i.e. does not
represent actual printer hardware, but something like
a CUPS class).
Parameters
printer
a GtkPrinter
Returns
TRUE if printer
is virtual
gtk_printer_is_default ()
gtk_printer_is_default
gboolean
gtk_printer_is_default (GtkPrinter *printer );
Returns whether the printer is the default printer.
Parameters
printer
a GtkPrinter
Returns
TRUE if printer
is the default
gtk_printer_accepts_ps ()
gtk_printer_accepts_ps
gboolean
gtk_printer_accepts_ps (GtkPrinter *printer );
Returns whether the printer accepts input in
PostScript format.
Parameters
printer
a GtkPrinter
Returns
TRUE if printer
accepts PostScript
gtk_printer_accepts_pdf ()
gtk_printer_accepts_pdf
gboolean
gtk_printer_accepts_pdf (GtkPrinter *printer );
Returns whether the printer accepts input in
PDF format.
Parameters
printer
a GtkPrinter
Returns
TRUE if printer
accepts PDF
gtk_printer_list_papers ()
gtk_printer_list_papers
GList *
gtk_printer_list_papers (GtkPrinter *printer );
Lists all the paper sizes printer
supports.
This will return and empty list unless the printer’s details are
available, see gtk_printer_has_details() and gtk_printer_request_details() .
Parameters
printer
a GtkPrinter
Returns
a newly allocated list of newly allocated GtkPageSetup s.
[element-type GtkPageSetup][transfer full ]
gtk_printer_compare ()
gtk_printer_compare
gint
gtk_printer_compare (GtkPrinter *a ,
GtkPrinter *b );
Compares two printers.
Parameters
a
a GtkPrinter
b
another GtkPrinter
Returns
0 if the printer match, a negative value if a
< b
,
or a positive value if a
> b
gtk_printer_has_details ()
gtk_printer_has_details
gboolean
gtk_printer_has_details (GtkPrinter *printer );
Returns whether the printer details are available.
Parameters
printer
a GtkPrinter
Returns
TRUE if printer
details are available
gtk_printer_request_details ()
gtk_printer_request_details
void
gtk_printer_request_details (GtkPrinter *printer );
Requests the printer details. When the details are available,
the “details-acquired” signal will be emitted on printer
.
Parameters
printer
a GtkPrinter
gtk_printer_get_capabilities ()
gtk_printer_get_capabilities
GtkPrintCapabilities
gtk_printer_get_capabilities (GtkPrinter *printer );
Returns the printer’s capabilities.
This is useful when you’re using GtkPrintUnixDialog ’s manual-capabilities
setting and need to know which settings the printer can handle and which
you must handle yourself.
This will return 0 unless the printer’s details are available, see
gtk_printer_has_details() and gtk_printer_request_details() .
Parameters
printer
a GtkPrinter
Returns
the printer’s capabilities
gtk_printer_get_default_page_size ()
gtk_printer_get_default_page_size
GtkPageSetup *
gtk_printer_get_default_page_size (GtkPrinter *printer );
Returns default page size of printer
.
Parameters
printer
a GtkPrinter
Returns
a newly allocated GtkPageSetup with default page size of the printer.
gtk_printer_get_hard_margins ()
gtk_printer_get_hard_margins
gboolean
gtk_printer_get_hard_margins (GtkPrinter *printer ,
gdouble *top ,
gdouble *bottom ,
gdouble *left ,
gdouble *right );
Retrieve the hard margins of printer
, i.e. the margins that define
the area at the borders of the paper that the printer cannot print to.
Note: This will not succeed unless the printer’s details are available,
see gtk_printer_has_details() and gtk_printer_request_details() .
Parameters
printer
a GtkPrinter
top
a location to store the top margin in.
[out ]
bottom
a location to store the bottom margin in.
[out ]
left
a location to store the left margin in.
[out ]
right
a location to store the right margin in.
[out ]
Returns
TRUE iff the hard margins were retrieved
gtk_printer_get_hard_margins_for_paper_size ()
gtk_printer_get_hard_margins_for_paper_size
gboolean
gtk_printer_get_hard_margins_for_paper_size
(GtkPrinter *printer ,
GtkPaperSize *paper_size ,
gdouble *top ,
gdouble *bottom ,
gdouble *left ,
gdouble *right );
Retrieve the hard margins of printer
for paper_size
, i.e. the
margins that define the area at the borders of the paper that the
printer cannot print to.
Note: This will not succeed unless the printer's details are available,
see gtk_printer_has_details() and gtk_printer_request_details() .
Parameters
printer
a GtkPrinter
paper_size
a GtkPaperSize
top
a location to store the top margin in.
[out ]
bottom
a location to store the bottom margin in.
[out ]
left
a location to store the left margin in.
[out ]
right
a location to store the right margin in.
[out ]
Returns
TRUE iff the hard margins were retrieved
GtkPrinterFunc ()
GtkPrinterFunc
gboolean
( *GtkPrinterFunc) (GtkPrinter *printer ,
gpointer data );
The type of function passed to gtk_enumerate_printers() .
Note that you need to ref printer
, if you want to keep
a reference to it after the function has returned.
Parameters
printer
a GtkPrinter
data
user data passed to gtk_enumerate_printers() .
[closure ]
Returns
TRUE to stop the enumeration, FALSE to continue
gtk_enumerate_printers ()
gtk_enumerate_printers
void
gtk_enumerate_printers (GtkPrinterFunc func ,
gpointer data ,
GDestroyNotify destroy ,
gboolean wait );
Calls a function for all GtkPrinters .
If func
returns TRUE , the enumeration is stopped.
Parameters
func
a function to call for each printer
data
user data to pass to func
destroy
function to call if data
is no longer needed
wait
if TRUE , wait in a recursive mainloop until
all printers are enumerated; otherwise return early
Property Details
The “accepting-jobs” property
GtkPrinter:accepting-jobs
“accepting-jobs” gboolean
This property is TRUE if the printer is accepting jobs.
Owner: GtkPrinter
Flags: Read
Default value: TRUE
The “accepts-pdf” property
GtkPrinter:accepts-pdf
“accepts-pdf” gboolean
TRUE if this printer can accept PDF. Owner: GtkPrinter
Flags: Read / Write / Construct Only
Default value: FALSE
The “accepts-ps” property
GtkPrinter:accepts-ps
“accepts-ps” gboolean
TRUE if this printer can accept PostScript. Owner: GtkPrinter
Flags: Read / Write / Construct Only
Default value: TRUE
The “backend” property
GtkPrinter:backend
“backend” GtkPrintBackend *
Backend for the printer. Owner: GtkPrinter
Flags: Read / Write / Construct Only
The “icon-name” property
GtkPrinter:icon-name
“icon-name” gchar *
The icon name to use for the printer. Owner: GtkPrinter
Flags: Read
Default value: ""
The “is-virtual” property
GtkPrinter:is-virtual
“is-virtual” gboolean
FALSE if this represents a real hardware printer. Owner: GtkPrinter
Flags: Read / Write / Construct Only
Default value: FALSE
The “job-count” property
GtkPrinter:job-count
“job-count” gint
Number of jobs queued in the printer. Owner: GtkPrinter
Flags: Read
Allowed values: >= 0
Default value: 0
The “location” property
GtkPrinter:location
“location” gchar *
The location of the printer. Owner: GtkPrinter
Flags: Read
Default value: ""
The “name” property
GtkPrinter:name
“name” gchar *
Name of the printer. Owner: GtkPrinter
Flags: Read / Write / Construct Only
Default value: ""
The “paused” property
GtkPrinter:paused
“paused” gboolean
This property is TRUE if this printer is paused.
A paused printer still accepts jobs, but it does
not print them.
Owner: GtkPrinter
Flags: Read
Default value: FALSE
The “state-message” property
GtkPrinter:state-message
“state-message” gchar *
String giving the current state of the printer. Owner: GtkPrinter
Flags: Read
Default value: ""
Signal Details
The “details-acquired” signal
GtkPrinter::details-acquired
void
user_function (GtkPrinter *printer,
gboolean success,
gpointer user_data)
Gets emitted in response to a request for detailed information
about a printer from the print backend. The success
parameter
indicates if the information was actually obtained.
Parameters
printer
the GtkPrinter on which the signal is emitted
success
TRUE if the details were successfully acquired
user_data
user data set when the signal handler was connected.
Flags: Run Last
docs/reference/gtk/xml/gtkstacksidebar.xml 0000664 0001750 0001750 00000022674 13617646205 021075 0 ustar mclasen mclasen
]>
docs/reference/gtk/xml/gtkprintsettings.xml 0000664 0001750 0001750 00000475067 13617646204 021362 0 ustar mclasen mclasen
]>
GtkPrintSettings
3
GTK4 Library
GtkPrintSettings
Stores print settings
Functions
void
( *GtkPrintSettingsFunc) ()
GtkPrintSettings *
gtk_print_settings_new ()
GtkPrintSettings *
gtk_print_settings_copy ()
gboolean
gtk_print_settings_has_key ()
const gchar *
gtk_print_settings_get ()
void
gtk_print_settings_set ()
void
gtk_print_settings_unset ()
void
gtk_print_settings_foreach ()
gboolean
gtk_print_settings_get_bool ()
void
gtk_print_settings_set_bool ()
gdouble
gtk_print_settings_get_double ()
gdouble
gtk_print_settings_get_double_with_default ()
void
gtk_print_settings_set_double ()
gdouble
gtk_print_settings_get_length ()
void
gtk_print_settings_set_length ()
gint
gtk_print_settings_get_int ()
gint
gtk_print_settings_get_int_with_default ()
void
gtk_print_settings_set_int ()
const gchar *
gtk_print_settings_get_printer ()
void
gtk_print_settings_set_printer ()
GtkPageOrientation
gtk_print_settings_get_orientation ()
void
gtk_print_settings_set_orientation ()
GtkPaperSize *
gtk_print_settings_get_paper_size ()
void
gtk_print_settings_set_paper_size ()
gdouble
gtk_print_settings_get_paper_width ()
void
gtk_print_settings_set_paper_width ()
gdouble
gtk_print_settings_get_paper_height ()
void
gtk_print_settings_set_paper_height ()
gboolean
gtk_print_settings_get_use_color ()
void
gtk_print_settings_set_use_color ()
gboolean
gtk_print_settings_get_collate ()
void
gtk_print_settings_set_collate ()
gboolean
gtk_print_settings_get_reverse ()
void
gtk_print_settings_set_reverse ()
GtkPrintDuplex
gtk_print_settings_get_duplex ()
void
gtk_print_settings_set_duplex ()
GtkPrintQuality
gtk_print_settings_get_quality ()
void
gtk_print_settings_set_quality ()
gint
gtk_print_settings_get_n_copies ()
void
gtk_print_settings_set_n_copies ()
gint
gtk_print_settings_get_number_up ()
void
gtk_print_settings_set_number_up ()
GtkNumberUpLayout
gtk_print_settings_get_number_up_layout ()
void
gtk_print_settings_set_number_up_layout ()
gint
gtk_print_settings_get_resolution ()
void
gtk_print_settings_set_resolution ()
void
gtk_print_settings_set_resolution_xy ()
gint
gtk_print_settings_get_resolution_x ()
gint
gtk_print_settings_get_resolution_y ()
gdouble
gtk_print_settings_get_printer_lpi ()
void
gtk_print_settings_set_printer_lpi ()
gdouble
gtk_print_settings_get_scale ()
void
gtk_print_settings_set_scale ()
GtkPrintPages
gtk_print_settings_get_print_pages ()
void
gtk_print_settings_set_print_pages ()
GtkPageRange *
gtk_print_settings_get_page_ranges ()
void
gtk_print_settings_set_page_ranges ()
GtkPageSet
gtk_print_settings_get_page_set ()
void
gtk_print_settings_set_page_set ()
const gchar *
gtk_print_settings_get_default_source ()
void
gtk_print_settings_set_default_source ()
const gchar *
gtk_print_settings_get_media_type ()
void
gtk_print_settings_set_media_type ()
const gchar *
gtk_print_settings_get_dither ()
void
gtk_print_settings_set_dither ()
const gchar *
gtk_print_settings_get_finishings ()
void
gtk_print_settings_set_finishings ()
const gchar *
gtk_print_settings_get_output_bin ()
void
gtk_print_settings_set_output_bin ()
GtkPrintSettings *
gtk_print_settings_new_from_file ()
GtkPrintSettings *
gtk_print_settings_new_from_key_file ()
GtkPrintSettings *
gtk_print_settings_new_from_gvariant ()
gboolean
gtk_print_settings_load_file ()
gboolean
gtk_print_settings_load_key_file ()
gboolean
gtk_print_settings_to_file ()
void
gtk_print_settings_to_key_file ()
GVariant *
gtk_print_settings_to_gvariant ()
Types and Values
GtkPrintSettings
#define GTK_PRINT_SETTINGS_PRINTER
enum GtkPageOrientation
#define GTK_PRINT_SETTINGS_ORIENTATION
#define GTK_PRINT_SETTINGS_PAPER_FORMAT
#define GTK_PRINT_SETTINGS_PAPER_WIDTH
#define GTK_PRINT_SETTINGS_PAPER_HEIGHT
#define GTK_PRINT_SETTINGS_USE_COLOR
#define GTK_PRINT_SETTINGS_COLLATE
#define GTK_PRINT_SETTINGS_REVERSE
enum GtkPrintDuplex
#define GTK_PRINT_SETTINGS_DUPLEX
enum GtkPrintQuality
#define GTK_PRINT_SETTINGS_QUALITY
#define GTK_PRINT_SETTINGS_N_COPIES
#define GTK_PRINT_SETTINGS_NUMBER_UP
enum GtkNumberUpLayout
#define GTK_PRINT_SETTINGS_NUMBER_UP_LAYOUT
#define GTK_PRINT_SETTINGS_RESOLUTION
#define GTK_PRINT_SETTINGS_RESOLUTION_X
#define GTK_PRINT_SETTINGS_RESOLUTION_Y
#define GTK_PRINT_SETTINGS_PRINTER_LPI
#define GTK_PRINT_SETTINGS_SCALE
enum GtkPrintPages
#define GTK_PRINT_SETTINGS_PRINT_PAGES
struct GtkPageRange
#define GTK_PRINT_SETTINGS_PAGE_RANGES
enum GtkPageSet
#define GTK_PRINT_SETTINGS_PAGE_SET
#define GTK_PRINT_SETTINGS_DEFAULT_SOURCE
#define GTK_PRINT_SETTINGS_MEDIA_TYPE
#define GTK_PRINT_SETTINGS_DITHER
#define GTK_PRINT_SETTINGS_FINISHINGS
#define GTK_PRINT_SETTINGS_OUTPUT_BIN
#define GTK_PRINT_SETTINGS_OUTPUT_DIR
#define GTK_PRINT_SETTINGS_OUTPUT_BASENAME
#define GTK_PRINT_SETTINGS_OUTPUT_FILE_FORMAT
#define GTK_PRINT_SETTINGS_OUTPUT_URI
#define GTK_PRINT_SETTINGS_WIN32_DRIVER_EXTRA
#define GTK_PRINT_SETTINGS_WIN32_DRIVER_VERSION
Object Hierarchy
GObject
╰── GtkPrintSettings
Includes #include <gtk/gtk.h>
Description
A GtkPrintSettings object represents the settings of a print dialog in
a system-independent way. The main use for this object is that once
you’ve printed you can get a settings object that represents the settings
the user chose, and the next time you print you can pass that object in so
that the user doesn’t have to re-set all his settings.
Its also possible to enumerate the settings so that you can easily save
the settings for the next time your app runs, or even store them in a
document. The predefined keys try to use shared values as much as possible
so that moving such a document between systems still works.
Printing support was added in GTK+ 2.10.
Functions
GtkPrintSettingsFunc ()
GtkPrintSettingsFunc
void
( *GtkPrintSettingsFunc) (const gchar *key ,
const gchar *value ,
gpointer user_data );
gtk_print_settings_new ()
gtk_print_settings_new
GtkPrintSettings *
gtk_print_settings_new (void );
Creates a new GtkPrintSettings object.
Returns
a new GtkPrintSettings object
gtk_print_settings_copy ()
gtk_print_settings_copy
GtkPrintSettings *
gtk_print_settings_copy (GtkPrintSettings *other );
Copies a GtkPrintSettings object.
Parameters
other
a GtkPrintSettings
Returns
a newly allocated copy of other
.
[transfer full ]
gtk_print_settings_has_key ()
gtk_print_settings_has_key
gboolean
gtk_print_settings_has_key (GtkPrintSettings *settings ,
const gchar *key );
Returns TRUE , if a value is associated with key
.
Parameters
settings
a GtkPrintSettings
key
a key
Returns
TRUE , if key
has a value
gtk_print_settings_get ()
gtk_print_settings_get
const gchar *
gtk_print_settings_get (GtkPrintSettings *settings ,
const gchar *key );
Looks up the string value associated with key
.
Parameters
settings
a GtkPrintSettings
key
a key
Returns
the string value for key
gtk_print_settings_set ()
gtk_print_settings_set
void
gtk_print_settings_set (GtkPrintSettings *settings ,
const gchar *key ,
const gchar *value );
Associates value
with key
.
Parameters
settings
a GtkPrintSettings
key
a key
value
a string value, or NULL .
[allow-none ]
gtk_print_settings_unset ()
gtk_print_settings_unset
void
gtk_print_settings_unset (GtkPrintSettings *settings ,
const gchar *key );
Removes any value associated with key
.
This has the same effect as setting the value to NULL .
Parameters
settings
a GtkPrintSettings
key
a key
gtk_print_settings_foreach ()
gtk_print_settings_foreach
void
gtk_print_settings_foreach (GtkPrintSettings *settings ,
GtkPrintSettingsFunc func ,
gpointer user_data );
Calls func
for each key-value pair of settings
.
Parameters
settings
a GtkPrintSettings
func
the function to call.
[scope call ]
user_data
user data for func
.
[closure ]
gtk_print_settings_get_bool ()
gtk_print_settings_get_bool
gboolean
gtk_print_settings_get_bool (GtkPrintSettings *settings ,
const gchar *key );
Returns the boolean represented by the value
that is associated with key
.
The string “true” represents TRUE , any other
string FALSE .
Parameters
settings
a GtkPrintSettings
key
a key
Returns
TRUE , if key
maps to a true value.
gtk_print_settings_set_bool ()
gtk_print_settings_set_bool
void
gtk_print_settings_set_bool (GtkPrintSettings *settings ,
const gchar *key ,
gboolean value );
Sets key
to a boolean value.
Parameters
settings
a GtkPrintSettings
key
a key
value
a boolean
gtk_print_settings_get_double ()
gtk_print_settings_get_double
gdouble
gtk_print_settings_get_double (GtkPrintSettings *settings ,
const gchar *key );
Returns the double value associated with key
, or 0.
Parameters
settings
a GtkPrintSettings
key
a key
Returns
the double value of key
gtk_print_settings_get_double_with_default ()
gtk_print_settings_get_double_with_default
gdouble
gtk_print_settings_get_double_with_default
(GtkPrintSettings *settings ,
const gchar *key ,
gdouble def );
Returns the floating point number represented by
the value that is associated with key
, or default_val
if the value does not represent a floating point number.
Floating point numbers are parsed with g_ascii_strtod() .
Parameters
settings
a GtkPrintSettings
key
a key
def
the default value
Returns
the floating point number associated with key
gtk_print_settings_set_double ()
gtk_print_settings_set_double
void
gtk_print_settings_set_double (GtkPrintSettings *settings ,
const gchar *key ,
gdouble value );
Sets key
to a double value.
Parameters
settings
a GtkPrintSettings
key
a key
value
a double value
gtk_print_settings_get_length ()
gtk_print_settings_get_length
gdouble
gtk_print_settings_get_length (GtkPrintSettings *settings ,
const gchar *key ,
GtkUnit unit );
Returns the value associated with key
, interpreted
as a length. The returned value is converted to units
.
Parameters
settings
a GtkPrintSettings
key
a key
unit
the unit of the return value
Returns
the length value of key
, converted to unit
gtk_print_settings_set_length ()
gtk_print_settings_set_length
void
gtk_print_settings_set_length (GtkPrintSettings *settings ,
const gchar *key ,
gdouble value ,
GtkUnit unit );
Associates a length in units of unit
with key
.
Parameters
settings
a GtkPrintSettings
key
a key
value
a length
unit
the unit of length
gtk_print_settings_get_int ()
gtk_print_settings_get_int
gint
gtk_print_settings_get_int (GtkPrintSettings *settings ,
const gchar *key );
Returns the integer value of key
, or 0.
Parameters
settings
a GtkPrintSettings
key
a key
Returns
the integer value of key
gtk_print_settings_get_int_with_default ()
gtk_print_settings_get_int_with_default
gint
gtk_print_settings_get_int_with_default
(GtkPrintSettings *settings ,
const gchar *key ,
gint def );
Returns the value of key
, interpreted as
an integer, or the default value.
Parameters
settings
a GtkPrintSettings
key
a key
def
the default value
Returns
the integer value of key
gtk_print_settings_set_int ()
gtk_print_settings_set_int
void
gtk_print_settings_set_int (GtkPrintSettings *settings ,
const gchar *key ,
gint value );
Sets key
to an integer value.
Parameters
settings
a GtkPrintSettings
key
a key
value
an integer
gtk_print_settings_get_printer ()
gtk_print_settings_get_printer
const gchar *
gtk_print_settings_get_printer (GtkPrintSettings *settings );
Convenience function to obtain the value of
GTK_PRINT_SETTINGS_PRINTER .
Parameters
settings
a GtkPrintSettings
Returns
the printer name
gtk_print_settings_set_printer ()
gtk_print_settings_set_printer
void
gtk_print_settings_set_printer (GtkPrintSettings *settings ,
const gchar *printer );
Convenience function to set GTK_PRINT_SETTINGS_PRINTER
to printer
.
Parameters
settings
a GtkPrintSettings
printer
the printer name
gtk_print_settings_get_orientation ()
gtk_print_settings_get_orientation
GtkPageOrientation
gtk_print_settings_get_orientation (GtkPrintSettings *settings );
Get the value of GTK_PRINT_SETTINGS_ORIENTATION ,
converted to a GtkPageOrientation .
Parameters
settings
a GtkPrintSettings
Returns
the orientation
gtk_print_settings_set_orientation ()
gtk_print_settings_set_orientation
void
gtk_print_settings_set_orientation (GtkPrintSettings *settings ,
GtkPageOrientation orientation );
Sets the value of GTK_PRINT_SETTINGS_ORIENTATION .
Parameters
settings
a GtkPrintSettings
orientation
a page orientation
gtk_print_settings_get_paper_size ()
gtk_print_settings_get_paper_size
GtkPaperSize *
gtk_print_settings_get_paper_size (GtkPrintSettings *settings );
Gets the value of GTK_PRINT_SETTINGS_PAPER_FORMAT ,
converted to a GtkPaperSize .
Parameters
settings
a GtkPrintSettings
Returns
the paper size
gtk_print_settings_set_paper_size ()
gtk_print_settings_set_paper_size
void
gtk_print_settings_set_paper_size (GtkPrintSettings *settings ,
GtkPaperSize *paper_size );
Sets the value of GTK_PRINT_SETTINGS_PAPER_FORMAT ,
GTK_PRINT_SETTINGS_PAPER_WIDTH and
GTK_PRINT_SETTINGS_PAPER_HEIGHT .
Parameters
settings
a GtkPrintSettings
paper_size
a paper size
gtk_print_settings_get_paper_width ()
gtk_print_settings_get_paper_width
gdouble
gtk_print_settings_get_paper_width (GtkPrintSettings *settings ,
GtkUnit unit );
Gets the value of GTK_PRINT_SETTINGS_PAPER_WIDTH ,
converted to unit
.
Parameters
settings
a GtkPrintSettings
unit
the unit for the return value
Returns
the paper width, in units of unit
gtk_print_settings_set_paper_width ()
gtk_print_settings_set_paper_width
void
gtk_print_settings_set_paper_width (GtkPrintSettings *settings ,
gdouble width ,
GtkUnit unit );
Sets the value of GTK_PRINT_SETTINGS_PAPER_WIDTH .
Parameters
settings
a GtkPrintSettings
width
the paper width
unit
the units of width
gtk_print_settings_get_paper_height ()
gtk_print_settings_get_paper_height
gdouble
gtk_print_settings_get_paper_height (GtkPrintSettings *settings ,
GtkUnit unit );
Gets the value of GTK_PRINT_SETTINGS_PAPER_HEIGHT ,
converted to unit
.
Parameters
settings
a GtkPrintSettings
unit
the unit for the return value
Returns
the paper height, in units of unit
gtk_print_settings_set_paper_height ()
gtk_print_settings_set_paper_height
void
gtk_print_settings_set_paper_height (GtkPrintSettings *settings ,
gdouble height ,
GtkUnit unit );
Sets the value of GTK_PRINT_SETTINGS_PAPER_HEIGHT .
Parameters
settings
a GtkPrintSettings
height
the paper height
unit
the units of height
gtk_print_settings_get_use_color ()
gtk_print_settings_get_use_color
gboolean
gtk_print_settings_get_use_color (GtkPrintSettings *settings );
Gets the value of GTK_PRINT_SETTINGS_USE_COLOR .
Parameters
settings
a GtkPrintSettings
Returns
whether to use color
gtk_print_settings_set_use_color ()
gtk_print_settings_set_use_color
void
gtk_print_settings_set_use_color (GtkPrintSettings *settings ,
gboolean use_color );
Sets the value of GTK_PRINT_SETTINGS_USE_COLOR .
Parameters
settings
a GtkPrintSettings
use_color
whether to use color
gtk_print_settings_get_collate ()
gtk_print_settings_get_collate
gboolean
gtk_print_settings_get_collate (GtkPrintSettings *settings );
Gets the value of GTK_PRINT_SETTINGS_COLLATE .
Parameters
settings
a GtkPrintSettings
Returns
whether to collate the printed pages
gtk_print_settings_set_collate ()
gtk_print_settings_set_collate
void
gtk_print_settings_set_collate (GtkPrintSettings *settings ,
gboolean collate );
Sets the value of GTK_PRINT_SETTINGS_COLLATE .
Parameters
settings
a GtkPrintSettings
collate
whether to collate the output
gtk_print_settings_get_reverse ()
gtk_print_settings_get_reverse
gboolean
gtk_print_settings_get_reverse (GtkPrintSettings *settings );
Gets the value of GTK_PRINT_SETTINGS_REVERSE .
Parameters
settings
a GtkPrintSettings
Returns
whether to reverse the order of the printed pages
gtk_print_settings_set_reverse ()
gtk_print_settings_set_reverse
void
gtk_print_settings_set_reverse (GtkPrintSettings *settings ,
gboolean reverse );
Sets the value of GTK_PRINT_SETTINGS_REVERSE .
Parameters
settings
a GtkPrintSettings
reverse
whether to reverse the output
gtk_print_settings_get_duplex ()
gtk_print_settings_get_duplex
GtkPrintDuplex
gtk_print_settings_get_duplex (GtkPrintSettings *settings );
Gets the value of GTK_PRINT_SETTINGS_DUPLEX .
Parameters
settings
a GtkPrintSettings
Returns
whether to print the output in duplex.
gtk_print_settings_set_duplex ()
gtk_print_settings_set_duplex
void
gtk_print_settings_set_duplex (GtkPrintSettings *settings ,
GtkPrintDuplex duplex );
Sets the value of GTK_PRINT_SETTINGS_DUPLEX .
Parameters
settings
a GtkPrintSettings
duplex
a GtkPrintDuplex value
gtk_print_settings_get_quality ()
gtk_print_settings_get_quality
GtkPrintQuality
gtk_print_settings_get_quality (GtkPrintSettings *settings );
Gets the value of GTK_PRINT_SETTINGS_QUALITY .
Parameters
settings
a GtkPrintSettings
Returns
the print quality
gtk_print_settings_set_quality ()
gtk_print_settings_set_quality
void
gtk_print_settings_set_quality (GtkPrintSettings *settings ,
GtkPrintQuality quality );
Sets the value of GTK_PRINT_SETTINGS_QUALITY .
Parameters
settings
a GtkPrintSettings
quality
a GtkPrintQuality value
gtk_print_settings_get_n_copies ()
gtk_print_settings_get_n_copies
gint
gtk_print_settings_get_n_copies (GtkPrintSettings *settings );
Gets the value of GTK_PRINT_SETTINGS_N_COPIES .
Parameters
settings
a GtkPrintSettings
Returns
the number of copies to print
gtk_print_settings_set_n_copies ()
gtk_print_settings_set_n_copies
void
gtk_print_settings_set_n_copies (GtkPrintSettings *settings ,
gint num_copies );
Sets the value of GTK_PRINT_SETTINGS_N_COPIES .
Parameters
settings
a GtkPrintSettings
num_copies
the number of copies
gtk_print_settings_get_number_up ()
gtk_print_settings_get_number_up
gint
gtk_print_settings_get_number_up (GtkPrintSettings *settings );
Gets the value of GTK_PRINT_SETTINGS_NUMBER_UP .
Parameters
settings
a GtkPrintSettings
Returns
the number of pages per sheet
gtk_print_settings_set_number_up ()
gtk_print_settings_set_number_up
void
gtk_print_settings_set_number_up (GtkPrintSettings *settings ,
gint number_up );
Sets the value of GTK_PRINT_SETTINGS_NUMBER_UP .
Parameters
settings
a GtkPrintSettings
number_up
the number of pages per sheet
gtk_print_settings_get_number_up_layout ()
gtk_print_settings_get_number_up_layout
GtkNumberUpLayout
gtk_print_settings_get_number_up_layout
(GtkPrintSettings *settings );
Gets the value of GTK_PRINT_SETTINGS_NUMBER_UP_LAYOUT .
Parameters
settings
a GtkPrintSettings
Returns
layout of page in number-up mode
gtk_print_settings_set_number_up_layout ()
gtk_print_settings_set_number_up_layout
void
gtk_print_settings_set_number_up_layout
(GtkPrintSettings *settings ,
GtkNumberUpLayout number_up_layout );
Sets the value of GTK_PRINT_SETTINGS_NUMBER_UP_LAYOUT .
Parameters
settings
a GtkPrintSettings
number_up_layout
a GtkNumberUpLayout value
gtk_print_settings_get_resolution ()
gtk_print_settings_get_resolution
gint
gtk_print_settings_get_resolution (GtkPrintSettings *settings );
Gets the value of GTK_PRINT_SETTINGS_RESOLUTION .
Parameters
settings
a GtkPrintSettings
Returns
the resolution in dpi
gtk_print_settings_set_resolution ()
gtk_print_settings_set_resolution
void
gtk_print_settings_set_resolution (GtkPrintSettings *settings ,
gint resolution );
Sets the values of GTK_PRINT_SETTINGS_RESOLUTION ,
GTK_PRINT_SETTINGS_RESOLUTION_X and
GTK_PRINT_SETTINGS_RESOLUTION_Y .
Parameters
settings
a GtkPrintSettings
resolution
the resolution in dpi
gtk_print_settings_set_resolution_xy ()
gtk_print_settings_set_resolution_xy
void
gtk_print_settings_set_resolution_xy (GtkPrintSettings *settings ,
gint resolution_x ,
gint resolution_y );
Sets the values of GTK_PRINT_SETTINGS_RESOLUTION ,
GTK_PRINT_SETTINGS_RESOLUTION_X and
GTK_PRINT_SETTINGS_RESOLUTION_Y .
Parameters
settings
a GtkPrintSettings
resolution_x
the horizontal resolution in dpi
resolution_y
the vertical resolution in dpi
gtk_print_settings_get_resolution_x ()
gtk_print_settings_get_resolution_x
gint
gtk_print_settings_get_resolution_x (GtkPrintSettings *settings );
Gets the value of GTK_PRINT_SETTINGS_RESOLUTION_X .
Parameters
settings
a GtkPrintSettings
Returns
the horizontal resolution in dpi
gtk_print_settings_get_resolution_y ()
gtk_print_settings_get_resolution_y
gint
gtk_print_settings_get_resolution_y (GtkPrintSettings *settings );
Gets the value of GTK_PRINT_SETTINGS_RESOLUTION_Y .
Parameters
settings
a GtkPrintSettings
Returns
the vertical resolution in dpi
gtk_print_settings_get_printer_lpi ()
gtk_print_settings_get_printer_lpi
gdouble
gtk_print_settings_get_printer_lpi (GtkPrintSettings *settings );
Gets the value of GTK_PRINT_SETTINGS_PRINTER_LPI .
Parameters
settings
a GtkPrintSettings
Returns
the resolution in lpi (lines per inch)
gtk_print_settings_set_printer_lpi ()
gtk_print_settings_set_printer_lpi
void
gtk_print_settings_set_printer_lpi (GtkPrintSettings *settings ,
gdouble lpi );
Sets the value of GTK_PRINT_SETTINGS_PRINTER_LPI .
Parameters
settings
a GtkPrintSettings
lpi
the resolution in lpi (lines per inch)
gtk_print_settings_get_scale ()
gtk_print_settings_get_scale
gdouble
gtk_print_settings_get_scale (GtkPrintSettings *settings );
Gets the value of GTK_PRINT_SETTINGS_SCALE .
Parameters
settings
a GtkPrintSettings
Returns
the scale in percent
gtk_print_settings_set_scale ()
gtk_print_settings_set_scale
void
gtk_print_settings_set_scale (GtkPrintSettings *settings ,
gdouble scale );
Sets the value of GTK_PRINT_SETTINGS_SCALE .
Parameters
settings
a GtkPrintSettings
scale
the scale in percent
gtk_print_settings_get_print_pages ()
gtk_print_settings_get_print_pages
GtkPrintPages
gtk_print_settings_get_print_pages (GtkPrintSettings *settings );
Gets the value of GTK_PRINT_SETTINGS_PRINT_PAGES .
Parameters
settings
a GtkPrintSettings
Returns
which pages to print
gtk_print_settings_set_print_pages ()
gtk_print_settings_set_print_pages
void
gtk_print_settings_set_print_pages (GtkPrintSettings *settings ,
GtkPrintPages pages );
Sets the value of GTK_PRINT_SETTINGS_PRINT_PAGES .
Parameters
settings
a GtkPrintSettings
pages
a GtkPrintPages value
gtk_print_settings_get_page_ranges ()
gtk_print_settings_get_page_ranges
GtkPageRange *
gtk_print_settings_get_page_ranges (GtkPrintSettings *settings ,
gint *num_ranges );
Gets the value of GTK_PRINT_SETTINGS_PAGE_RANGES .
Parameters
settings
a GtkPrintSettings
num_ranges
return location for the length of the returned array.
[out ]
Returns
an array
of GtkPageRanges . Use g_free() to free the array when
it is no longer needed.
[array length=num_ranges][transfer full ]
gtk_print_settings_set_page_ranges ()
gtk_print_settings_set_page_ranges
void
gtk_print_settings_set_page_ranges (GtkPrintSettings *settings ,
GtkPageRange *page_ranges ,
gint num_ranges );
Sets the value of GTK_PRINT_SETTINGS_PAGE_RANGES .
Parameters
settings
a GtkPrintSettings
page_ranges
an array of GtkPageRanges .
[array length=num_ranges]
num_ranges
the length of page_ranges
gtk_print_settings_get_page_set ()
gtk_print_settings_get_page_set
GtkPageSet
gtk_print_settings_get_page_set (GtkPrintSettings *settings );
Gets the value of GTK_PRINT_SETTINGS_PAGE_SET .
Parameters
settings
a GtkPrintSettings
Returns
the set of pages to print
gtk_print_settings_set_page_set ()
gtk_print_settings_set_page_set
void
gtk_print_settings_set_page_set (GtkPrintSettings *settings ,
GtkPageSet page_set );
Sets the value of GTK_PRINT_SETTINGS_PAGE_SET .
Parameters
settings
a GtkPrintSettings
page_set
a GtkPageSet value
gtk_print_settings_get_default_source ()
gtk_print_settings_get_default_source
const gchar *
gtk_print_settings_get_default_source (GtkPrintSettings *settings );
Gets the value of GTK_PRINT_SETTINGS_DEFAULT_SOURCE .
Parameters
settings
a GtkPrintSettings
Returns
the default source
gtk_print_settings_set_default_source ()
gtk_print_settings_set_default_source
void
gtk_print_settings_set_default_source (GtkPrintSettings *settings ,
const gchar *default_source );
Sets the value of GTK_PRINT_SETTINGS_DEFAULT_SOURCE .
Parameters
settings
a GtkPrintSettings
default_source
the default source
gtk_print_settings_get_media_type ()
gtk_print_settings_get_media_type
const gchar *
gtk_print_settings_get_media_type (GtkPrintSettings *settings );
Gets the value of GTK_PRINT_SETTINGS_MEDIA_TYPE .
The set of media types is defined in PWG 5101.1-2002 PWG.
Parameters
settings
a GtkPrintSettings
Returns
the media type
gtk_print_settings_set_media_type ()
gtk_print_settings_set_media_type
void
gtk_print_settings_set_media_type (GtkPrintSettings *settings ,
const gchar *media_type );
Sets the value of GTK_PRINT_SETTINGS_MEDIA_TYPE .
The set of media types is defined in PWG 5101.1-2002 PWG.
Parameters
settings
a GtkPrintSettings
media_type
the media type
gtk_print_settings_get_dither ()
gtk_print_settings_get_dither
const gchar *
gtk_print_settings_get_dither (GtkPrintSettings *settings );
Gets the value of GTK_PRINT_SETTINGS_DITHER .
Parameters
settings
a GtkPrintSettings
Returns
the dithering that is used
gtk_print_settings_set_dither ()
gtk_print_settings_set_dither
void
gtk_print_settings_set_dither (GtkPrintSettings *settings ,
const gchar *dither );
Sets the value of GTK_PRINT_SETTINGS_DITHER .
Parameters
settings
a GtkPrintSettings
dither
the dithering that is used
gtk_print_settings_get_finishings ()
gtk_print_settings_get_finishings
const gchar *
gtk_print_settings_get_finishings (GtkPrintSettings *settings );
Gets the value of GTK_PRINT_SETTINGS_FINISHINGS .
Parameters
settings
a GtkPrintSettings
Returns
the finishings
gtk_print_settings_set_finishings ()
gtk_print_settings_set_finishings
void
gtk_print_settings_set_finishings (GtkPrintSettings *settings ,
const gchar *finishings );
Sets the value of GTK_PRINT_SETTINGS_FINISHINGS .
Parameters
settings
a GtkPrintSettings
finishings
the finishings
gtk_print_settings_get_output_bin ()
gtk_print_settings_get_output_bin
const gchar *
gtk_print_settings_get_output_bin (GtkPrintSettings *settings );
Gets the value of GTK_PRINT_SETTINGS_OUTPUT_BIN .
Parameters
settings
a GtkPrintSettings
Returns
the output bin
gtk_print_settings_set_output_bin ()
gtk_print_settings_set_output_bin
void
gtk_print_settings_set_output_bin (GtkPrintSettings *settings ,
const gchar *output_bin );
Sets the value of GTK_PRINT_SETTINGS_OUTPUT_BIN .
Parameters
settings
a GtkPrintSettings
output_bin
the output bin
gtk_print_settings_new_from_file ()
gtk_print_settings_new_from_file
GtkPrintSettings *
gtk_print_settings_new_from_file (const gchar *file_name ,
GError **error );
Reads the print settings from file_name
. Returns a new GtkPrintSettings
object with the restored settings, or NULL if an error occurred. If the
file could not be loaded then error is set to either a GFileError or
GKeyFileError . See gtk_print_settings_to_file() .
Parameters
file_name
the filename to read the settings from.
[type filename]
error
return location for errors, or NULL .
[allow-none ]
Returns
the restored GtkPrintSettings
gtk_print_settings_new_from_key_file ()
gtk_print_settings_new_from_key_file
GtkPrintSettings *
gtk_print_settings_new_from_key_file (GKeyFile *key_file ,
const gchar *group_name ,
GError **error );
Reads the print settings from the group group_name
in key_file
. Returns a
new GtkPrintSettings object with the restored settings, or NULL if an
error occurred. If the file could not be loaded then error is set to either
a GFileError or GKeyFileError .
Parameters
key_file
the GKeyFile to retrieve the settings from
group_name
the name of the group to use, or NULL to use
the default “Print Settings”.
[allow-none ]
error
return location for errors, or NULL .
[allow-none ]
Returns
the restored GtkPrintSettings
gtk_print_settings_new_from_gvariant ()
gtk_print_settings_new_from_gvariant
GtkPrintSettings *
gtk_print_settings_new_from_gvariant (GVariant *variant );
Deserialize print settings from an a{sv} variant in
the format produced by gtk_print_settings_to_gvariant() .
Parameters
variant
an a{sv} GVariant
Returns
a new GtkPrintSettings object.
[transfer full ]
gtk_print_settings_load_file ()
gtk_print_settings_load_file
gboolean
gtk_print_settings_load_file (GtkPrintSettings *settings ,
const gchar *file_name ,
GError **error );
Reads the print settings from file_name
. If the file could not be loaded
then error is set to either a GFileError or GKeyFileError .
See gtk_print_settings_to_file() .
Parameters
settings
a GtkPrintSettings
file_name
the filename to read the settings from.
[type filename]
error
return location for errors, or NULL .
[allow-none ]
Returns
TRUE on success
gtk_print_settings_load_key_file ()
gtk_print_settings_load_key_file
gboolean
gtk_print_settings_load_key_file (GtkPrintSettings *settings ,
GKeyFile *key_file ,
const gchar *group_name ,
GError **error );
Reads the print settings from the group group_name
in key_file
. If the
file could not be loaded then error is set to either a GFileError or
GKeyFileError .
Parameters
settings
a GtkPrintSettings
key_file
the GKeyFile to retrieve the settings from
group_name
the name of the group to use, or NULL to use the default
“Print Settings”.
[allow-none ]
error
return location for errors, or NULL .
[allow-none ]
Returns
TRUE on success
gtk_print_settings_to_file ()
gtk_print_settings_to_file
gboolean
gtk_print_settings_to_file (GtkPrintSettings *settings ,
const gchar *file_name ,
GError **error );
This function saves the print settings from settings
to file_name
. If the
file could not be loaded then error is set to either a GFileError or
GKeyFileError .
Parameters
settings
a GtkPrintSettings
file_name
the file to save to.
[type filename]
error
return location for errors, or NULL .
[allow-none ]
Returns
TRUE on success
gtk_print_settings_to_key_file ()
gtk_print_settings_to_key_file
void
gtk_print_settings_to_key_file (GtkPrintSettings *settings ,
GKeyFile *key_file ,
const gchar *group_name );
This function adds the print settings from settings
to key_file
.
Parameters
settings
a GtkPrintSettings
key_file
the GKeyFile to save the print settings to
group_name
the group to add the settings to in key_file
, or
NULL to use the default “Print Settings”.
[nullable ]
gtk_print_settings_to_gvariant ()
gtk_print_settings_to_gvariant
GVariant *
gtk_print_settings_to_gvariant (GtkPrintSettings *settings );
Serialize print settings to an a{sv} variant.
Parameters
settings
a GtkPrintSettings
Returns
a new, floating, GVariant .
[transfer none ]
docs/reference/gtk/xml/actions.xml 0000664 0001750 0001750 00000035436 13617646205 017370 0 ustar mclasen mclasen
The GTK Action Model
3
GTK Library
The GTK Action Model
How actions are used in GTK
Overview of actions in GTK
This chapter describes in detail how GTK uses actions to connect
activatable UI elements to callbacks. GTK inherits the underlying
architecture of GAction and GMenu for describing abstract actions
and menus from the GIO library.
Basics about actions
A GAction is essentially a way to tell the toolkit about a
piece of functionality in your program, and to give it a name.
Actions are purely functional. They do not contain any
presentational information.
An action has four pieces of information associated with it:
a name as an identifier (usually all-lowercase, untranslated
English string)
an enabled flag indicating if the action can be activated or
not (like the "sensitive" property on widgets)
an optional state value, for stateful actions (like a boolean
for toggles)
an optional parameter type, used when activating the action
An action supports two operations. You can activate it, which
requires passing a parameter of the correct type
And you can request to change the actions state (for stateful
actions) to a new state value of the correct type.
Here are some rules about an action:
the name is immutable (in the sense that it will never
change) and it is never NULL
the enabled flag can change
the parameter type is immutable
the parameter type is optional: it can be NULL
if the parameter type is NULL then action activation must
be done without a parameter (ie: a NULL GVariant pointer)
if the parameter type is non-NULL then the parameter must
have this type
the state can change, but it cannot change type
if the action was stateful when it was created, it will
always have a state and it will always have exactly the same
type (such as boolean or string)
if the action was stateless when it was created, it can never
have a state
you can only request state changes on stateful actions and it
is only possible to request that the state change to a value
of the same type as the existing state
An action does not have any sort of presentational information
such as a label, an icon or a way of creating a widget from it.
Action state and parameters
Most actions in your application will be stateless actions with
no parameters. These typically appear as menu items with no
special decoration. An example is "quit".
Stateful actions are used to represent an action which has a
closely-associated state of some kind. A good example is a
"fullscreen" action. For this case, you'd expect to see a
checkmark next to the menu item when the fullscreen option
is active. This is usually called a toggle action, and it has
a boolean state. By convention, toggle actions have no parameter
type for activation: activating the action always toggles the
state.
Another common case is to have an action representing a
enumeration of possible values of a given type (typically
string). This is often called a radio action and is usually
represented in the user interface with radio buttons or radio
menu items, or sometimes a combobox. A good example is
"text-justify" with possible values "left", "center", and
"right". By convention, these types of actions have a parameter
type equal to their state type, and activating them with a
particular parameter value is equivalent to changing their
state to that value.
This approach to handling radio buttons is different than many
other action systems such as GtkAction. With GAction, there is
only one action for "text-justify" and "left", "center" and
"right" are possible states on that action. There are not three
separate "justify-left", "justify-center" and "justify-right"
actions.
The final common type of action is a stateless action with a
parameter. This is typically used for actions like
"open-bookmark" where the parameter to the action would be
the identifier of the bookmark to open.
Because some types of actions cannot be invoked without a
parameter, it is often important to specify a parameter when
referring to the action from a place where it will be invoked
(such as from a radio button that sets the state to a particular
value or from a menu item that opens a specific bookmark). In
these contexts, the value used for the action parameter is
typically called the target of the action.
Even though toggle actions have a state, they do not have a
parameter. Therefore, a target value is not needed when
referring to them — they will always be toggled on activation.
Most APIs that allow using a GAction (such as GMenuModel and
GtkActionable) allow use of detailed action names. This is a
convenient way of specifying an action name and an action target
with a single string.
In the case that the action target is a string with no unusual
characters (ie: only alpha-numeric, plus '-' and '.') then you
can use a detailed action name of the form "justify::left" to
specify the justify action with a target of left.
In the case that the action target is not a string, or contains
unusual characters, you can use the more general format
"action-name(5)", where the "5" here is any valid text-format
GVariant (ie: a string that can be parsed by g_variant_parse() ).
Another example is "open-bookmark('http://gnome.org/')".
You can convert between detailed action names and split-out
action names and target values using g_action_parse_detailed_action_name()
and g_action_print_detailed_action_name() but usually you will
not need to. Most APIs will provide both ways of specifying
actions with targets.
Action scopes
Actions are always scoped to a particular object on which they
operate.
In GTK, actions are typically scoped to either an application
or a window, but any widget can have actions associated with it.
Actions scoped to windows should be the actions that
specifically impact that window. These are actions like
"fullscreen" and "close", or in the case that a window contains
a document, "save" and "print".
Actions that impact the application as a whole rather than one
specific window are scoped to the application. These are actions
like "about" and "preferences".
If a particular action is scoped to a window then it is scoped
to a specific window. Another way of saying this: if your
application has a "fullscreen" action that applies to windows
and it has three windows, then it will have three fullscreen
actions: one for each window.
Having a separate action per-window allows for each window to
have a separate state for each instance of the action as well
as being able to control the enabled state of the action on a
per-window basis.
Actions are added to their relevant scope (application,
window or widget) either using the GActionMap interface,
or by using gtk_widget_insert_action_group() . Actions that
will be the same for all instances of a widget class can
be added globally using gtk_widget_class_install_action() .
Action groups and action maps
Actions rarely occurs in isolation. It is common to have groups
of related actions, which are represented by instances of the
GActionGroup interface.
Action maps are a variant of action groups that allow to change
the name of the action as it is looked up. In GTK, the convention
is to add a prefix to the action name to indicate the scope of
the actions, such as "app." for the actions with application scope
or "win." for those with window scope.
When referring to actions on a GActionMap only the name of the
action itself is used (ie: "quit", not "app.quit"). The
"app.quit" form is only used when referring to actions from
places like a GMenu or GtkActionable widget where the scope
of the action is not already known.
GtkApplication and GtkApplicationWindow implement the GActionMap
interface, so you can just add actions directly to them. For
other widgets, use gtk_widget_insert_action_group() to add
actions to it.
If you want to insert several actions at the same time, it is
typically faster and easier to use GActionEntry.
Connecting actions to widgets
Any widget that implements the GtkActionable interface can
be connected to an action just by setting the ::action-name
property. If the action has a parameter, you will also need
to set the ::action-target property.
Widgets that implement GtkActionable include GtkSwitch, GtkButton,
and their respective subclasses.
Another way of obtaining widgets that are connected to actions
is to create a menu using a GMenu menu model. GMenu provides an
abstract way to describe typical menus: nested groups of items
where each item can have a label, and icon, and an action.
Typical uses of GMenu inside GTK are to set up an application
menu or menubar with gtk_application_set_app_menu() or
gtk_application_set_menubar() . Another, maybe more common use
is to create a popover for a menubutton, using
gtk_menu_button_set_menu_model() .
Unlike traditional menus, those created from menu models don't
have keyboard accelerators associated with menu items. Instead,
GtkApplication offers the gtk_application_set_accels_for_action()
API to associate keyboard shortcuts with actions.
Activation
When a widget with a connected action is activated, GTK finds
the action to activate by walking up the widget hierarchy,
looking for a matching action, ending up at the GtkApplication.
Built-in Actions
GTK uses actions for its own purposes in a number places. These
built-in actions can sometimes be activated by applications, and
you should avoid naming conflicts with them when creating your
own actions.
default.activate
Activates the default widget in a context
(typically a GtkWindow, GtkDialog or GtkPopover)
clipboard.cut, clipboard.copy, clipboard.paste
Clipboard operations on entries, text view
and labels, typically used in the context menu
selection.delete, selection.select-all
Selection operations on entries, text view
and labels
color.select, color.customize
Operations on colors in GtkColorChooserWidget.
These actions are unusual in that they have the non-trivial
parameter type (dddd).
docs/reference/gtk/xml/gtkpapersize.xml 0000664 0001750 0001750 00000153552 13617646204 020437 0 ustar mclasen mclasen
]>
GtkPaperSize
3
GTK4 Library
GtkPaperSize
Support for named paper sizes
Functions
GtkPaperSize *
gtk_paper_size_new ()
GtkPaperSize *
gtk_paper_size_new_from_ppd ()
GtkPaperSize *
gtk_paper_size_new_from_ipp ()
GtkPaperSize *
gtk_paper_size_new_custom ()
GtkPaperSize *
gtk_paper_size_copy ()
void
gtk_paper_size_free ()
gboolean
gtk_paper_size_is_equal ()
GList *
gtk_paper_size_get_paper_sizes ()
const gchar *
gtk_paper_size_get_name ()
const gchar *
gtk_paper_size_get_display_name ()
const gchar *
gtk_paper_size_get_ppd_name ()
gdouble
gtk_paper_size_get_width ()
gdouble
gtk_paper_size_get_height ()
gboolean
gtk_paper_size_is_ipp ()
gboolean
gtk_paper_size_is_custom ()
void
gtk_paper_size_set_size ()
gdouble
gtk_paper_size_get_default_top_margin ()
gdouble
gtk_paper_size_get_default_bottom_margin ()
gdouble
gtk_paper_size_get_default_left_margin ()
gdouble
gtk_paper_size_get_default_right_margin ()
const gchar *
gtk_paper_size_get_default ()
GtkPaperSize *
gtk_paper_size_new_from_key_file ()
GtkPaperSize *
gtk_paper_size_new_from_gvariant ()
void
gtk_paper_size_to_key_file ()
GVariant *
gtk_paper_size_to_gvariant ()
Types and Values
GtkPaperSize
enum GtkUnit
#define GTK_UNIT_PIXEL
#define GTK_PAPER_NAME_A3
#define GTK_PAPER_NAME_A4
#define GTK_PAPER_NAME_A5
#define GTK_PAPER_NAME_B5
#define GTK_PAPER_NAME_LETTER
#define GTK_PAPER_NAME_EXECUTIVE
#define GTK_PAPER_NAME_LEGAL
Object Hierarchy
GBoxed
╰── GtkPaperSize
Includes #include <gtk/gtk.h>
Description
GtkPaperSize handles paper sizes. It uses the standard called
PWG 5101.1-2002 PWG: Standard for Media Standardized Names
to name the paper sizes (and to get the data for the page sizes).
In addition to standard paper sizes, GtkPaperSize allows to
construct custom paper sizes with arbitrary dimensions.
The GtkPaperSize object stores not only the dimensions (width
and height) of a paper size and its name, it also provides
default print margins.
Printing support has been added in GTK 2.10.
Functions
gtk_paper_size_new ()
gtk_paper_size_new
GtkPaperSize *
gtk_paper_size_new (const gchar *name );
Creates a new GtkPaperSize object by parsing a
PWG 5101.1-2002
paper name.
If name
is NULL , the default paper size is returned,
see gtk_paper_size_get_default() .
Parameters
name
a paper size name, or NULL .
[allow-none ]
Returns
a new GtkPaperSize , use gtk_paper_size_free()
to free it
gtk_paper_size_new_from_ppd ()
gtk_paper_size_new_from_ppd
GtkPaperSize *
gtk_paper_size_new_from_ppd (const gchar *ppd_name ,
const gchar *ppd_display_name ,
gdouble width ,
gdouble height );
Creates a new GtkPaperSize object by using
PPD information.
If ppd_name
is not a recognized PPD paper name,
ppd_display_name
, width
and height
are used to
construct a custom GtkPaperSize object.
Parameters
ppd_name
a PPD paper name
ppd_display_name
the corresponding human-readable name
width
the paper width, in points
height
the paper height in points
Returns
a new GtkPaperSize , use gtk_paper_size_free()
to free it
gtk_paper_size_new_from_ipp ()
gtk_paper_size_new_from_ipp
GtkPaperSize *
gtk_paper_size_new_from_ipp (const gchar *ipp_name ,
gdouble width ,
gdouble height );
Creates a new GtkPaperSize object by using
IPP information.
If ipp_name
is not a recognized paper name,
width
and height
are used to
construct a custom GtkPaperSize object.
Parameters
ipp_name
an IPP paper name
width
the paper width, in points
height
the paper height in points
Returns
a new GtkPaperSize , use gtk_paper_size_free()
to free it
gtk_paper_size_new_custom ()
gtk_paper_size_new_custom
GtkPaperSize *
gtk_paper_size_new_custom (const gchar *name ,
const gchar *display_name ,
gdouble width ,
gdouble height ,
GtkUnit unit );
Creates a new GtkPaperSize object with the
given parameters.
Parameters
name
the paper name
display_name
the human-readable name
width
the paper width, in units of unit
height
the paper height, in units of unit
unit
the unit for width
and height
. not GTK_UNIT_NONE .
Returns
a new GtkPaperSize object, use gtk_paper_size_free()
to free it
gtk_paper_size_copy ()
gtk_paper_size_copy
GtkPaperSize *
gtk_paper_size_copy (GtkPaperSize *other );
Copies an existing GtkPaperSize .
Parameters
other
a GtkPaperSize
Returns
a copy of other
gtk_paper_size_free ()
gtk_paper_size_free
void
gtk_paper_size_free (GtkPaperSize *size );
Free the given GtkPaperSize object.
Parameters
size
a GtkPaperSize
gtk_paper_size_is_equal ()
gtk_paper_size_is_equal
gboolean
gtk_paper_size_is_equal (GtkPaperSize *size1 ,
GtkPaperSize *size2 );
Compares two GtkPaperSize objects.
Parameters
size1
a GtkPaperSize object
size2
another GtkPaperSize object
Returns
TRUE , if size1
and size2
represent the same paper size
gtk_paper_size_get_paper_sizes ()
gtk_paper_size_get_paper_sizes
GList *
gtk_paper_size_get_paper_sizes (gboolean include_custom );
Creates a list of known paper sizes.
Parameters
include_custom
whether to include custom paper sizes
as defined in the page setup dialog
Returns
a newly allocated list of newly
allocated GtkPaperSize objects.
[element-type GtkPaperSize][transfer full ]
gtk_paper_size_get_name ()
gtk_paper_size_get_name
const gchar *
gtk_paper_size_get_name (GtkPaperSize *size );
Gets the name of the GtkPaperSize .
Parameters
size
a GtkPaperSize object
Returns
the name of size
gtk_paper_size_get_display_name ()
gtk_paper_size_get_display_name
const gchar *
gtk_paper_size_get_display_name (GtkPaperSize *size );
Gets the human-readable name of the GtkPaperSize .
Parameters
size
a GtkPaperSize object
Returns
the human-readable name of size
gtk_paper_size_get_ppd_name ()
gtk_paper_size_get_ppd_name
const gchar *
gtk_paper_size_get_ppd_name (GtkPaperSize *size );
Gets the PPD name of the GtkPaperSize , which
may be NULL .
Parameters
size
a GtkPaperSize object
Returns
the PPD name of size
gtk_paper_size_get_width ()
gtk_paper_size_get_width
gdouble
gtk_paper_size_get_width (GtkPaperSize *size ,
GtkUnit unit );
Gets the paper width of the GtkPaperSize , in
units of unit
.
Parameters
size
a GtkPaperSize object
unit
the unit for the return value, not GTK_UNIT_NONE
Returns
the paper width
gtk_paper_size_get_height ()
gtk_paper_size_get_height
gdouble
gtk_paper_size_get_height (GtkPaperSize *size ,
GtkUnit unit );
Gets the paper height of the GtkPaperSize , in
units of unit
.
Parameters
size
a GtkPaperSize object
unit
the unit for the return value, not GTK_UNIT_NONE
Returns
the paper height
gtk_paper_size_is_ipp ()
gtk_paper_size_is_ipp
gboolean
gtk_paper_size_is_ipp (GtkPaperSize *size );
Returns TRUE if size
is an IPP standard paper size.
Parameters
size
a GtkPaperSize object
Returns
whether size
is not an IPP custom paper size.
gtk_paper_size_is_custom ()
gtk_paper_size_is_custom
gboolean
gtk_paper_size_is_custom (GtkPaperSize *size );
Returns TRUE if size
is not a standard paper size.
Parameters
size
a GtkPaperSize object
Returns
whether size
is a custom paper size.
gtk_paper_size_set_size ()
gtk_paper_size_set_size
void
gtk_paper_size_set_size (GtkPaperSize *size ,
gdouble width ,
gdouble height ,
GtkUnit unit );
Changes the dimensions of a size
to width
x height
.
Parameters
size
a custom GtkPaperSize object
width
the new width in units of unit
height
the new height in units of unit
unit
the unit for width
and height
gtk_paper_size_get_default_top_margin ()
gtk_paper_size_get_default_top_margin
gdouble
gtk_paper_size_get_default_top_margin (GtkPaperSize *size ,
GtkUnit unit );
Gets the default top margin for the GtkPaperSize .
Parameters
size
a GtkPaperSize object
unit
the unit for the return value, not GTK_UNIT_NONE
Returns
the default top margin
gtk_paper_size_get_default_bottom_margin ()
gtk_paper_size_get_default_bottom_margin
gdouble
gtk_paper_size_get_default_bottom_margin
(GtkPaperSize *size ,
GtkUnit unit );
Gets the default bottom margin for the GtkPaperSize .
Parameters
size
a GtkPaperSize object
unit
the unit for the return value, not GTK_UNIT_NONE
Returns
the default bottom margin
gtk_paper_size_get_default_left_margin ()
gtk_paper_size_get_default_left_margin
gdouble
gtk_paper_size_get_default_left_margin
(GtkPaperSize *size ,
GtkUnit unit );
Gets the default left margin for the GtkPaperSize .
Parameters
size
a GtkPaperSize object
unit
the unit for the return value, not GTK_UNIT_NONE
Returns
the default left margin
gtk_paper_size_get_default_right_margin ()
gtk_paper_size_get_default_right_margin
gdouble
gtk_paper_size_get_default_right_margin
(GtkPaperSize *size ,
GtkUnit unit );
Gets the default right margin for the GtkPaperSize .
Parameters
size
a GtkPaperSize object
unit
the unit for the return value, not GTK_UNIT_NONE
Returns
the default right margin
gtk_paper_size_get_default ()
gtk_paper_size_get_default
const gchar *
gtk_paper_size_get_default (void );
Returns the name of the default paper size, which
depends on the current locale.
Returns
the name of the default paper size. The string
is owned by GTK and should not be modified.
gtk_paper_size_new_from_key_file ()
gtk_paper_size_new_from_key_file
GtkPaperSize *
gtk_paper_size_new_from_key_file (GKeyFile *key_file ,
const gchar *group_name ,
GError **error );
Reads a paper size from the group group_name
in the key file
key_file
.
Parameters
key_file
the GKeyFile to retrieve the papersize from
group_name
the name of the group in the key file to read,
or NULL to read the first group.
[nullable ]
error
return location for an error, or NULL .
[allow-none ]
Returns
a new GtkPaperSize object with the restored
paper size, or NULL if an error occurred
gtk_paper_size_new_from_gvariant ()
gtk_paper_size_new_from_gvariant
GtkPaperSize *
gtk_paper_size_new_from_gvariant (GVariant *variant );
Deserialize a paper size from an a{sv} variant in
the format produced by gtk_paper_size_to_gvariant() .
Parameters
variant
an a{sv} GVariant
Returns
a new GtkPaperSize object.
[transfer full ]
gtk_paper_size_to_key_file ()
gtk_paper_size_to_key_file
void
gtk_paper_size_to_key_file (GtkPaperSize *size ,
GKeyFile *key_file ,
const gchar *group_name );
This function adds the paper size from size
to key_file
.
Parameters
size
a GtkPaperSize
key_file
the GKeyFile to save the paper size to
group_name
the group to add the settings to in key_file
gtk_paper_size_to_gvariant ()
gtk_paper_size_to_gvariant
GVariant *
gtk_paper_size_to_gvariant (GtkPaperSize *paper_size );
Serialize a paper size to an a{sv} variant.
Parameters
paper_size
a GtkPaperSize
Returns
a new, floating, GVariant .
[transfer none ]
See Also
GtkPageSetup
docs/reference/gtk/xml/compiling.xml 0000664 0001750 0001750 00000007361 13617646205 017705 0 ustar mclasen mclasen
Compiling GTK Applications
3
GTK Library
Compiling GTK Applications
How to compile your GTK application
Compiling GTK Applications on UNIX
To compile a GTK application, you need to tell the compiler where to
find the GTK header files and libraries. This is done with the
pkg-config utility.
The following interactive shell session demonstrates how
pkg-config is used (the actual output on
your system may be different):
$ pkg-config --cflags gtk4
-pthread -I/usr/include/gtk-4.0 -I/usr/lib64/gtk-4.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12
$ pkg-config --libs gtk4
-pthread -lgtk-4 -lgdk-4 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lgthread-2.0 -lrt -lglib-2.0
The simplest way to compile a program is to use the "backticks"
feature of the shell. If you enclose a command in backticks
(not single quotes ), then its output will be
substituted into the command line before execution. So to compile
a GTK Hello, World, you would type the following:
$ cc `pkg-config --cflags gtk4` hello.c -o hello `pkg-config --libs gtk4`
Deprecated GTK functions are annotated to make the compiler
emit warnings when they are used (e.g. with gcc, you need to use
the -Wdeprecated-declarations option). If these warnings are
problematic, they can be turned off by defining the preprocessor
symbol GDK_DISABLE_DEPRECATION_WARNINGS by using the commandline
option -DGDK_DISABLE_DEPRECATION_WARNINGS
GTK deprecation annotations are versioned; by defining the
macros GDK_VERSION_MIN_REQUIRED and GDK_VERSION_MAX_ALLOWED ,
you can specify the range of GTK versions whose API you want
to use. APIs that were deprecated before or introduced after
this range will trigger compiler warnings.
Here is how you would compile hello.c if you want to allow it
to use symbols that were not deprecated in 4.2:
$ cc `pkg-config --cflags gtk4` -DGDK_VERSION_MIN_REQIRED=GDK_VERSION_4_2 hello.c -o hello `pkg-config --libs gtk4`
And here is how you would compile hello.c if you don't want
it to use any symbols that were introduced after 4.2:
$ cc `pkg-config --cflags gtk4` -DGDK_VERSION_MAX_ALLOWED=GDK_VERSION_4_2 hello.c -o hello `pkg-config --libs gtk4`
The older deprecation mechanism of hiding deprecated interfaces
entirely from the compiler by using the preprocessor symbol
GTK_DISABLE_DEPRECATED is still used for deprecated macros,
enumeration values, etc. To detect uses of these in your code,
use the commandline option -DGTK_DISABLE_DEPRECATED .
There are similar symbols GDK_DISABLE_DEPRECATED,
GDK_PIXBUF_DISABLE_DEPRECATED and G_DISABLE_DEPRECATED for GDK, GdkPixbuf and
GLib.
docs/reference/gtk/xml/gtkpagesetup.xml 0000664 0001750 0001750 00000165043 13617646204 020430 0 ustar mclasen mclasen
]>
GtkPageSetup
3
GTK4 Library
GtkPageSetup
Stores page setup information
Functions
GtkPageSetup *
gtk_page_setup_new ()
GtkPageSetup *
gtk_page_setup_copy ()
GtkPageOrientation
gtk_page_setup_get_orientation ()
void
gtk_page_setup_set_orientation ()
GtkPaperSize *
gtk_page_setup_get_paper_size ()
void
gtk_page_setup_set_paper_size ()
gdouble
gtk_page_setup_get_top_margin ()
void
gtk_page_setup_set_top_margin ()
gdouble
gtk_page_setup_get_bottom_margin ()
void
gtk_page_setup_set_bottom_margin ()
gdouble
gtk_page_setup_get_left_margin ()
void
gtk_page_setup_set_left_margin ()
gdouble
gtk_page_setup_get_right_margin ()
void
gtk_page_setup_set_right_margin ()
void
gtk_page_setup_set_paper_size_and_default_margins ()
gdouble
gtk_page_setup_get_paper_width ()
gdouble
gtk_page_setup_get_paper_height ()
gdouble
gtk_page_setup_get_page_width ()
gdouble
gtk_page_setup_get_page_height ()
GtkPageSetup *
gtk_page_setup_new_from_file ()
GtkPageSetup *
gtk_page_setup_new_from_key_file ()
GtkPageSetup *
gtk_page_setup_new_from_gvariant ()
gboolean
gtk_page_setup_load_file ()
gboolean
gtk_page_setup_load_key_file ()
gboolean
gtk_page_setup_to_file ()
void
gtk_page_setup_to_key_file ()
GVariant *
gtk_page_setup_to_gvariant ()
Types and Values
GtkPageSetup
Object Hierarchy
GObject
╰── GtkPageSetup
Includes #include <gtk/gtk.h>
Description
A GtkPageSetup object stores the page size, orientation and margins.
The idea is that you can get one of these from the page setup dialog
and then pass it to the GtkPrintOperation when printing.
The benefit of splitting this out of the GtkPrintSettings is that
these affect the actual layout of the page, and thus need to be set
long before user prints.
Margins The margins specified in this object are the “print margins”, i.e. the
parts of the page that the printer cannot print on. These are different
from the layout margins that a word processor uses; they are typically
used to determine the minimal size for the layout
margins.
To obtain a GtkPageSetup use gtk_page_setup_new() to get the defaults,
or use gtk_print_run_page_setup_dialog() to show the page setup dialog
and receive the resulting page setup.
A page setup dialog
Printing support was added in GTK+ 2.10.
Functions
gtk_page_setup_new ()
gtk_page_setup_new
GtkPageSetup *
gtk_page_setup_new (void );
Creates a new GtkPageSetup .
Returns
a new GtkPageSetup .
gtk_page_setup_copy ()
gtk_page_setup_copy
GtkPageSetup *
gtk_page_setup_copy (GtkPageSetup *other );
Copies a GtkPageSetup .
Parameters
other
the GtkPageSetup to copy
Returns
a copy of other
.
[transfer full ]
gtk_page_setup_get_orientation ()
gtk_page_setup_get_orientation
GtkPageOrientation
gtk_page_setup_get_orientation (GtkPageSetup *setup );
Gets the page orientation of the GtkPageSetup .
Parameters
setup
a GtkPageSetup
Returns
the page orientation
gtk_page_setup_set_orientation ()
gtk_page_setup_set_orientation
void
gtk_page_setup_set_orientation (GtkPageSetup *setup ,
GtkPageOrientation orientation );
Sets the page orientation of the GtkPageSetup .
Parameters
setup
a GtkPageSetup
orientation
a GtkPageOrientation value
gtk_page_setup_get_paper_size ()
gtk_page_setup_get_paper_size
GtkPaperSize *
gtk_page_setup_get_paper_size (GtkPageSetup *setup );
Gets the paper size of the GtkPageSetup .
Parameters
setup
a GtkPageSetup
Returns
the paper size.
[transfer none ]
gtk_page_setup_set_paper_size ()
gtk_page_setup_set_paper_size
void
gtk_page_setup_set_paper_size (GtkPageSetup *setup ,
GtkPaperSize *size );
Sets the paper size of the GtkPageSetup without
changing the margins. See
gtk_page_setup_set_paper_size_and_default_margins() .
Parameters
setup
a GtkPageSetup
size
a GtkPaperSize
gtk_page_setup_get_top_margin ()
gtk_page_setup_get_top_margin
gdouble
gtk_page_setup_get_top_margin (GtkPageSetup *setup ,
GtkUnit unit );
Gets the top margin in units of unit
.
Parameters
setup
a GtkPageSetup
unit
the unit for the return value
Returns
the top margin
gtk_page_setup_set_top_margin ()
gtk_page_setup_set_top_margin
void
gtk_page_setup_set_top_margin (GtkPageSetup *setup ,
gdouble margin ,
GtkUnit unit );
Sets the top margin of the GtkPageSetup .
Parameters
setup
a GtkPageSetup
margin
the new top margin in units of unit
unit
the units for margin
gtk_page_setup_get_bottom_margin ()
gtk_page_setup_get_bottom_margin
gdouble
gtk_page_setup_get_bottom_margin (GtkPageSetup *setup ,
GtkUnit unit );
Gets the bottom margin in units of unit
.
Parameters
setup
a GtkPageSetup
unit
the unit for the return value
Returns
the bottom margin
gtk_page_setup_set_bottom_margin ()
gtk_page_setup_set_bottom_margin
void
gtk_page_setup_set_bottom_margin (GtkPageSetup *setup ,
gdouble margin ,
GtkUnit unit );
Sets the bottom margin of the GtkPageSetup .
Parameters
setup
a GtkPageSetup
margin
the new bottom margin in units of unit
unit
the units for margin
gtk_page_setup_get_left_margin ()
gtk_page_setup_get_left_margin
gdouble
gtk_page_setup_get_left_margin (GtkPageSetup *setup ,
GtkUnit unit );
Gets the left margin in units of unit
.
Parameters
setup
a GtkPageSetup
unit
the unit for the return value
Returns
the left margin
gtk_page_setup_set_left_margin ()
gtk_page_setup_set_left_margin
void
gtk_page_setup_set_left_margin (GtkPageSetup *setup ,
gdouble margin ,
GtkUnit unit );
Sets the left margin of the GtkPageSetup .
Parameters
setup
a GtkPageSetup
margin
the new left margin in units of unit
unit
the units for margin
gtk_page_setup_get_right_margin ()
gtk_page_setup_get_right_margin
gdouble
gtk_page_setup_get_right_margin (GtkPageSetup *setup ,
GtkUnit unit );
Gets the right margin in units of unit
.
Parameters
setup
a GtkPageSetup
unit
the unit for the return value
Returns
the right margin
gtk_page_setup_set_right_margin ()
gtk_page_setup_set_right_margin
void
gtk_page_setup_set_right_margin (GtkPageSetup *setup ,
gdouble margin ,
GtkUnit unit );
Sets the right margin of the GtkPageSetup .
Parameters
setup
a GtkPageSetup
margin
the new right margin in units of unit
unit
the units for margin
gtk_page_setup_set_paper_size_and_default_margins ()
gtk_page_setup_set_paper_size_and_default_margins
void
gtk_page_setup_set_paper_size_and_default_margins
(GtkPageSetup *setup ,
GtkPaperSize *size );
Sets the paper size of the GtkPageSetup and modifies
the margins according to the new paper size.
Parameters
setup
a GtkPageSetup
size
a GtkPaperSize
gtk_page_setup_get_paper_width ()
gtk_page_setup_get_paper_width
gdouble
gtk_page_setup_get_paper_width (GtkPageSetup *setup ,
GtkUnit unit );
Returns the paper width in units of unit
.
Note that this function takes orientation, but
not margins into consideration.
See gtk_page_setup_get_page_width() .
Parameters
setup
a GtkPageSetup
unit
the unit for the return value
Returns
the paper width.
gtk_page_setup_get_paper_height ()
gtk_page_setup_get_paper_height
gdouble
gtk_page_setup_get_paper_height (GtkPageSetup *setup ,
GtkUnit unit );
Returns the paper height in units of unit
.
Note that this function takes orientation, but
not margins into consideration.
See gtk_page_setup_get_page_height() .
Parameters
setup
a GtkPageSetup
unit
the unit for the return value
Returns
the paper height.
gtk_page_setup_get_page_width ()
gtk_page_setup_get_page_width
gdouble
gtk_page_setup_get_page_width (GtkPageSetup *setup ,
GtkUnit unit );
Returns the page width in units of unit
.
Note that this function takes orientation and
margins into consideration.
See gtk_page_setup_get_paper_width() .
Parameters
setup
a GtkPageSetup
unit
the unit for the return value
Returns
the page width.
gtk_page_setup_get_page_height ()
gtk_page_setup_get_page_height
gdouble
gtk_page_setup_get_page_height (GtkPageSetup *setup ,
GtkUnit unit );
Returns the page height in units of unit
.
Note that this function takes orientation and
margins into consideration.
See gtk_page_setup_get_paper_height() .
Parameters
setup
a GtkPageSetup
unit
the unit for the return value
Returns
the page height.
gtk_page_setup_new_from_file ()
gtk_page_setup_new_from_file
GtkPageSetup *
gtk_page_setup_new_from_file (const gchar *file_name ,
GError **error );
Reads the page setup from the file file_name
. Returns a
new GtkPageSetup object with the restored page setup,
or NULL if an error occurred. See gtk_page_setup_to_file() .
Parameters
file_name
the filename to read the page setup from.
[type filename]
error
return location for an error, or NULL .
[allow-none ]
Returns
the restored GtkPageSetup
gtk_page_setup_new_from_key_file ()
gtk_page_setup_new_from_key_file
GtkPageSetup *
gtk_page_setup_new_from_key_file (GKeyFile *key_file ,
const gchar *group_name ,
GError **error );
Reads the page setup from the group group_name
in the key file
key_file
. Returns a new GtkPageSetup object with the restored
page setup, or NULL if an error occurred.
Parameters
key_file
the GKeyFile to retrieve the page_setup from
group_name
the name of the group in the key_file to read, or NULL
to use the default name “Page Setup”.
[allow-none ]
error
return location for an error, or NULL .
[allow-none ]
Returns
the restored GtkPageSetup
gtk_page_setup_new_from_gvariant ()
gtk_page_setup_new_from_gvariant
GtkPageSetup *
gtk_page_setup_new_from_gvariant (GVariant *variant );
Desrialize a page setup from an a{sv} variant in
the format produced by gtk_page_setup_to_gvariant() .
Parameters
variant
an a{sv} GVariant
Returns
a new GtkPageSetup object.
[transfer full ]
gtk_page_setup_load_file ()
gtk_page_setup_load_file
gboolean
gtk_page_setup_load_file (GtkPageSetup *setup ,
const char *file_name ,
GError **error );
Reads the page setup from the file file_name
.
See gtk_page_setup_to_file() .
Parameters
setup
a GtkPageSetup
file_name
the filename to read the page setup from.
[type filename]
error
return location for an error, or NULL .
[allow-none ]
Returns
TRUE on success
gtk_page_setup_load_key_file ()
gtk_page_setup_load_key_file
gboolean
gtk_page_setup_load_key_file (GtkPageSetup *setup ,
GKeyFile *key_file ,
const gchar *group_name ,
GError **error );
Reads the page setup from the group group_name
in the key file
key_file
.
Parameters
setup
a GtkPageSetup
key_file
the GKeyFile to retrieve the page_setup from
group_name
the name of the group in the key_file to read, or NULL
to use the default name “Page Setup”.
[allow-none ]
error
return location for an error, or NULL .
[allow-none ]
Returns
TRUE on success
gtk_page_setup_to_file ()
gtk_page_setup_to_file
gboolean
gtk_page_setup_to_file (GtkPageSetup *setup ,
const char *file_name ,
GError **error );
This function saves the information from setup
to file_name
.
Parameters
setup
a GtkPageSetup
file_name
the file to save to.
[type filename]
error
return location for errors, or NULL .
[allow-none ]
Returns
TRUE on success
gtk_page_setup_to_key_file ()
gtk_page_setup_to_key_file
void
gtk_page_setup_to_key_file (GtkPageSetup *setup ,
GKeyFile *key_file ,
const gchar *group_name );
This function adds the page setup from setup
to key_file
.
Parameters
setup
a GtkPageSetup
key_file
the GKeyFile to save the page setup to
group_name
the group to add the settings to in key_file
,
or NULL to use the default name “Page Setup”.
[nullable ]
gtk_page_setup_to_gvariant ()
gtk_page_setup_to_gvariant
GVariant *
gtk_page_setup_to_gvariant (GtkPageSetup *setup );
Serialize page setup to an a{sv} variant.
Return: (transfer none): a new, floating, GVariant
Parameters
setup
a GtkPageSetup
docs/reference/gtk/xml/gtkglarea.xml 0000664 0001750 0001750 00000150245 13617646205 017665 0 ustar mclasen mclasen
]>
GtkGLArea
3
GTK4 Library
GtkGLArea
A widget for custom drawing with OpenGL
Functions
GtkWidget *
gtk_gl_area_new ()
GdkGLContext *
gtk_gl_area_get_context ()
void
gtk_gl_area_make_current ()
void
gtk_gl_area_queue_render ()
void
gtk_gl_area_attach_buffers ()
void
gtk_gl_area_set_error ()
GError *
gtk_gl_area_get_error ()
void
gtk_gl_area_set_has_depth_buffer ()
gboolean
gtk_gl_area_get_has_depth_buffer ()
void
gtk_gl_area_set_has_stencil_buffer ()
gboolean
gtk_gl_area_get_has_stencil_buffer ()
void
gtk_gl_area_set_auto_render ()
gboolean
gtk_gl_area_get_auto_render ()
void
gtk_gl_area_get_required_version ()
void
gtk_gl_area_set_required_version ()
void
gtk_gl_area_set_use_es ()
gboolean
gtk_gl_area_get_use_es ()
Properties
gboolean auto-renderRead / Write
GdkGLContext * contextRead
gboolean has-depth-bufferRead / Write
gboolean has-stencil-bufferRead / Write
gboolean use-esRead / Write
Signals
GdkGLContext * create-context Run Last
gboolean render Run Last
void resize Run Last
Types and Values
struct GtkGLArea
struct GtkGLAreaClass
Object Hierarchy
GObject
╰── GInitiallyUnowned
╰── GtkWidget
╰── GtkGLArea
Implemented Interfaces
GtkGLArea implements
AtkImplementorIface, GtkBuildable and GtkConstraintTarget.
Includes #include <gtk/gtk.h>
Description
GtkGLArea is a widget that allows drawing with OpenGL.
GtkGLArea sets up its own GdkGLContext for the window it creates, and
creates a custom GL framebuffer that the widget will do GL rendering onto.
It also ensures that this framebuffer is the default GL rendering target
when rendering.
In order to draw, you have to connect to the “render” signal,
or subclass GtkGLArea and override the GtkGLAreaClass.render()
virtual
function.
The GtkGLArea widget ensures that the GdkGLContext is associated with
the widget's drawing area, and it is kept updated when the size and
position of the drawing area changes.
Drawing with GtkGLArea The simplest way to draw using OpenGL commands in a GtkGLArea is to
create a widget instance and connect to the “render” signal:
The render() function will be called when the GtkGLArea is ready
for you to draw its content:
If you need to initialize OpenGL state, e.g. buffer objects or
shaders, you should use the “realize” signal; you
can use the “unrealize” signal to clean up. Since the
GdkGLContext creation and initialization may fail, you will
need to check for errors, using gtk_gl_area_get_error() . An example
of how to safely initialize the GL state is:
If you need to change the options for creating the GdkGLContext
you should use the “create-context” signal.
Functions
gtk_gl_area_new ()
gtk_gl_area_new
GtkWidget *
gtk_gl_area_new (void );
Creates a new GtkGLArea widget.
Returns
a new GtkGLArea
gtk_gl_area_get_context ()
gtk_gl_area_get_context
GdkGLContext *
gtk_gl_area_get_context (GtkGLArea *area );
Retrieves the GdkGLContext used by area
.
Parameters
area
a GtkGLArea
Returns
the GdkGLContext .
[transfer none ]
gtk_gl_area_make_current ()
gtk_gl_area_make_current
void
gtk_gl_area_make_current (GtkGLArea *area );
Ensures that the GdkGLContext used by area
is associated with
the GtkGLArea .
This function is automatically called before emitting the
“render” signal, and doesn't normally need to be called
by application code.
Parameters
area
a GtkGLArea
gtk_gl_area_queue_render ()
gtk_gl_area_queue_render
void
gtk_gl_area_queue_render (GtkGLArea *area );
Marks the currently rendered data (if any) as invalid, and queues
a redraw of the widget, ensuring that the “render” signal
is emitted during the draw.
This is only needed when the gtk_gl_area_set_auto_render() has
been called with a FALSE value. The default behaviour is to
emit “render” on each draw.
Parameters
area
a GtkGLArea
gtk_gl_area_attach_buffers ()
gtk_gl_area_attach_buffers
void
gtk_gl_area_attach_buffers (GtkGLArea *area );
Ensures that the area
framebuffer object is made the current draw
and read target, and that all the required buffers for the area
are created and bound to the frambuffer.
This function is automatically called before emitting the
“render” signal, and doesn't normally need to be called
by application code.
Parameters
area
a GtkGLArea
gtk_gl_area_set_error ()
gtk_gl_area_set_error
void
gtk_gl_area_set_error (GtkGLArea *area ,
const GError *error );
Sets an error on the area which will be shown instead of the
GL rendering. This is useful in the “create-context”
signal if GL context creation fails.
Parameters
area
a GtkGLArea
error
a new GError , or NULL to unset the error.
[allow-none ]
gtk_gl_area_get_error ()
gtk_gl_area_get_error
GError *
gtk_gl_area_get_error (GtkGLArea *area );
Gets the current error set on the area
.
Parameters
area
a GtkGLArea
Returns
the GError or NULL .
[nullable ][transfer none ]
gtk_gl_area_set_has_depth_buffer ()
gtk_gl_area_set_has_depth_buffer
void
gtk_gl_area_set_has_depth_buffer (GtkGLArea *area ,
gboolean has_depth_buffer );
If has_depth_buffer
is TRUE the widget will allocate and
enable a depth buffer for the target framebuffer. Otherwise
there will be none.
Parameters
area
a GtkGLArea
has_depth_buffer
TRUE to add a depth buffer
gtk_gl_area_get_has_depth_buffer ()
gtk_gl_area_get_has_depth_buffer
gboolean
gtk_gl_area_get_has_depth_buffer (GtkGLArea *area );
Returns whether the area has a depth buffer.
Parameters
area
a GtkGLArea
Returns
TRUE if the area
has a depth buffer, FALSE otherwise
gtk_gl_area_set_has_stencil_buffer ()
gtk_gl_area_set_has_stencil_buffer
void
gtk_gl_area_set_has_stencil_buffer (GtkGLArea *area ,
gboolean has_stencil_buffer );
If has_stencil_buffer
is TRUE the widget will allocate and
enable a stencil buffer for the target framebuffer. Otherwise
there will be none.
Parameters
area
a GtkGLArea
has_stencil_buffer
TRUE to add a stencil buffer
gtk_gl_area_get_has_stencil_buffer ()
gtk_gl_area_get_has_stencil_buffer
gboolean
gtk_gl_area_get_has_stencil_buffer (GtkGLArea *area );
Returns whether the area has a stencil buffer.
Parameters
area
a GtkGLArea
Returns
TRUE if the area
has a stencil buffer, FALSE otherwise
gtk_gl_area_set_auto_render ()
gtk_gl_area_set_auto_render
void
gtk_gl_area_set_auto_render (GtkGLArea *area ,
gboolean auto_render );
If auto_render
is TRUE the “render” signal will be
emitted every time the widget draws. This is the default and is
useful if drawing the widget is faster.
If auto_render
is FALSE the data from previous rendering is kept
around and will be used for drawing the widget the next time,
unless the window is resized. In order to force a rendering
gtk_gl_area_queue_render() must be called. This mode is useful when
the scene changes seldomly, but takes a long time to redraw.
Parameters
area
a GtkGLArea
auto_render
a boolean
gtk_gl_area_get_auto_render ()
gtk_gl_area_get_auto_render
gboolean
gtk_gl_area_get_auto_render (GtkGLArea *area );
Returns whether the area is in auto render mode or not.
Parameters
area
a GtkGLArea
Returns
TRUE if the area
is auto rendering, FALSE otherwise
gtk_gl_area_get_required_version ()
gtk_gl_area_get_required_version
void
gtk_gl_area_get_required_version (GtkGLArea *area ,
gint *major ,
gint *minor );
Retrieves the required version of OpenGL set
using gtk_gl_area_set_required_version() .
Parameters
area
a GtkGLArea
major
return location for the required major version.
[out ]
minor
return location for the required minor version.
[out ]
gtk_gl_area_set_required_version ()
gtk_gl_area_set_required_version
void
gtk_gl_area_set_required_version (GtkGLArea *area ,
gint major ,
gint minor );
Sets the required version of OpenGL to be used when creating the context
for the widget.
This function must be called before the area has been realized.
Parameters
area
a GtkGLArea
major
the major version
minor
the minor version
gtk_gl_area_set_use_es ()
gtk_gl_area_set_use_es
void
gtk_gl_area_set_use_es (GtkGLArea *area ,
gboolean use_es );
Sets whether the area
should create an OpenGL or an OpenGL ES context.
You should check the capabilities of the GdkGLContext before drawing
with either API.
Parameters
area
a GtkGLArea
use_es
whether to use OpenGL or OpenGL ES
gtk_gl_area_get_use_es ()
gtk_gl_area_get_use_es
gboolean
gtk_gl_area_get_use_es (GtkGLArea *area );
Retrieves the value set by gtk_gl_area_set_use_es() .
Parameters
area
a GtkGLArea
Returns
TRUE if the GtkGLArea should create an OpenGL ES context
and FALSE otherwise
Property Details
The “auto-render” property
GtkGLArea:auto-render
“auto-render” gboolean
If set to TRUE the “render” signal will be emitted every time
the widget draws. This is the default and is useful if drawing the widget
is faster.
If set to FALSE the data from previous rendering is kept around and will
be used for drawing the widget the next time, unless the window is resized.
In order to force a rendering gtk_gl_area_queue_render() must be called.
This mode is useful when the scene changes seldomly, but takes a long time
to redraw.
Owner: GtkGLArea
Flags: Read / Write
Default value: TRUE
The “context” property
GtkGLArea:context
“context” GdkGLContext *
The GdkGLContext used by the GtkGLArea widget.
The GtkGLArea widget is responsible for creating the GdkGLContext
instance. If you need to render with other kinds of buffers (stencil,
depth, etc), use render buffers.
Owner: GtkGLArea
Flags: Read
The “has-depth-buffer” property
GtkGLArea:has-depth-buffer
“has-depth-buffer” gboolean
If set to TRUE the widget will allocate and enable a depth buffer for the
target framebuffer.
Owner: GtkGLArea
Flags: Read / Write
Default value: FALSE
The “has-stencil-buffer” property
GtkGLArea:has-stencil-buffer
“has-stencil-buffer” gboolean
If set to TRUE the widget will allocate and enable a stencil buffer for the
target framebuffer.
Owner: GtkGLArea
Flags: Read / Write
Default value: FALSE
The “use-es” property
GtkGLArea:use-es
“use-es” gboolean
If set to TRUE the widget will try to create a GdkGLContext using
OpenGL ES instead of OpenGL.
See also: gdk_gl_context_set_use_es()
Owner: GtkGLArea
Flags: Read / Write
Default value: FALSE
Signal Details
The “create-context” signal
GtkGLArea::create-context
GdkGLContext *
user_function (GtkGLArea *area,
gpointer user_data)
The ::create-context signal is emitted when the widget is being
realized, and allows you to override how the GL context is
created. This is useful when you want to reuse an existing GL
context, or if you want to try creating different kinds of GL
options.
If context creation fails then the signal handler can use
gtk_gl_area_set_error() to register a more detailed error
of how the construction failed.
Parameters
area
the GtkGLArea that emitted the signal
error
location to store error information on failure.
[allow-none ]
user_data
user data set when the signal handler was connected.
Returns
a newly created GdkGLContext ;
the GtkGLArea widget will take ownership of the returned value.
[transfer full ]
Flags: Run Last
The “render” signal
GtkGLArea::render
gboolean
user_function (GtkGLArea *area,
GdkGLContext *context,
gpointer user_data)
The ::render signal is emitted every time the contents
of the GtkGLArea should be redrawn.
The context
is bound to the area
prior to emitting this function,
and the buffers are painted to the window once the emission terminates.
Parameters
area
the GtkGLArea that emitted the signal
context
the GdkGLContext used by area
user_data
user data set when the signal handler was connected.
Returns
TRUE to stop other handlers from being invoked for the event.
FALSE to propagate the event further.
Flags: Run Last
The “resize” signal
GtkGLArea::resize
void
user_function (GtkGLArea *area,
gint width,
gint height,
gpointer user_data)
The ::resize signal is emitted once when the widget is realized, and
then each time the widget is changed while realized. This is useful
in order to keep GL state up to date with the widget size, like for
instance camera properties which may depend on the width/height ratio.
The GL context for the area is guaranteed to be current when this signal
is emitted.
The default handler sets up the GL viewport.
Parameters
area
the GtkGLArea that emitted the signal
width
the width of the viewport
height
the height of the viewport
user_data
user data set when the signal handler was connected.
Flags: Run Last
docs/reference/gtk/xml/gtkprintcontext.xml 0000664 0001750 0001750 00000064733 13617646204 021200 0 ustar mclasen mclasen
]>
GtkPrintContext
3
GTK4 Library
GtkPrintContext
Encapsulates context for drawing pages
Functions
cairo_t *
gtk_print_context_get_cairo_context ()
void
gtk_print_context_set_cairo_context ()
GtkPageSetup *
gtk_print_context_get_page_setup ()
gdouble
gtk_print_context_get_width ()
gdouble
gtk_print_context_get_height ()
gdouble
gtk_print_context_get_dpi_x ()
gdouble
gtk_print_context_get_dpi_y ()
PangoFontMap *
gtk_print_context_get_pango_fontmap ()
PangoContext *
gtk_print_context_create_pango_context ()
PangoLayout *
gtk_print_context_create_pango_layout ()
gboolean
gtk_print_context_get_hard_margins ()
Types and Values
GtkPrintContext
Object Hierarchy
GObject
╰── GtkPrintContext
Includes #include <gtk/gtk.h>
Description
A GtkPrintContext encapsulates context information that is required when
drawing pages for printing, such as the cairo context and important
parameters like page size and resolution. It also lets you easily
create PangoLayout and PangoContext objects that match the font metrics
of the cairo surface.
GtkPrintContext objects gets passed to the “begin-print” ,
“end-print” , “request-page-setup” and
“draw-page” signals on the GtkPrintOperation .
Using GtkPrintContext in a “draw-page” callback
Printing support was added in GTK+ 2.10.
Functions
gtk_print_context_get_cairo_context ()
gtk_print_context_get_cairo_context
cairo_t *
gtk_print_context_get_cairo_context (GtkPrintContext *context );
Obtains the cairo context that is associated with the
GtkPrintContext .
Parameters
context
a GtkPrintContext
Returns
the cairo context of context
.
[transfer none ]
gtk_print_context_set_cairo_context ()
gtk_print_context_set_cairo_context
void
gtk_print_context_set_cairo_context (GtkPrintContext *context ,
cairo_t *cr ,
double dpi_x ,
double dpi_y );
Sets a new cairo context on a print context.
This function is intended to be used when implementing
an internal print preview, it is not needed for printing,
since GTK+ itself creates a suitable cairo context in that
case.
Parameters
context
a GtkPrintContext
cr
the cairo context
dpi_x
the horizontal resolution to use with cr
dpi_y
the vertical resolution to use with cr
gtk_print_context_get_page_setup ()
gtk_print_context_get_page_setup
GtkPageSetup *
gtk_print_context_get_page_setup (GtkPrintContext *context );
Obtains the GtkPageSetup that determines the page
dimensions of the GtkPrintContext .
Parameters
context
a GtkPrintContext
Returns
the page setup of context
.
[transfer none ]
gtk_print_context_get_width ()
gtk_print_context_get_width
gdouble
gtk_print_context_get_width (GtkPrintContext *context );
Obtains the width of the GtkPrintContext , in pixels.
Parameters
context
a GtkPrintContext
Returns
the width of context
gtk_print_context_get_height ()
gtk_print_context_get_height
gdouble
gtk_print_context_get_height (GtkPrintContext *context );
Obtains the height of the GtkPrintContext , in pixels.
Parameters
context
a GtkPrintContext
Returns
the height of context
gtk_print_context_get_dpi_x ()
gtk_print_context_get_dpi_x
gdouble
gtk_print_context_get_dpi_x (GtkPrintContext *context );
Obtains the horizontal resolution of the GtkPrintContext ,
in dots per inch.
Parameters
context
a GtkPrintContext
Returns
the horizontal resolution of context
gtk_print_context_get_dpi_y ()
gtk_print_context_get_dpi_y
gdouble
gtk_print_context_get_dpi_y (GtkPrintContext *context );
Obtains the vertical resolution of the GtkPrintContext ,
in dots per inch.
Parameters
context
a GtkPrintContext
Returns
the vertical resolution of context
gtk_print_context_get_pango_fontmap ()
gtk_print_context_get_pango_fontmap
PangoFontMap *
gtk_print_context_get_pango_fontmap (GtkPrintContext *context );
Returns a PangoFontMap that is suitable for use
with the GtkPrintContext .
Parameters
context
a GtkPrintContext
Returns
the font map of context
.
[transfer none ]
gtk_print_context_create_pango_context ()
gtk_print_context_create_pango_context
PangoContext *
gtk_print_context_create_pango_context
(GtkPrintContext *context );
Creates a new PangoContext that can be used with the
GtkPrintContext .
Parameters
context
a GtkPrintContext
Returns
a new Pango context for context
.
[transfer full ]
gtk_print_context_create_pango_layout ()
gtk_print_context_create_pango_layout
PangoLayout *
gtk_print_context_create_pango_layout (GtkPrintContext *context );
Creates a new PangoLayout that is suitable for use
with the GtkPrintContext .
Parameters
context
a GtkPrintContext
Returns
a new Pango layout for context
.
[transfer full ]
gtk_print_context_get_hard_margins ()
gtk_print_context_get_hard_margins
gboolean
gtk_print_context_get_hard_margins (GtkPrintContext *context ,
gdouble *top ,
gdouble *bottom ,
gdouble *left ,
gdouble *right );
Obtains the hardware printer margins of the GtkPrintContext , in units.
Parameters
context
a GtkPrintContext
top
top hardware printer margin.
[out ]
bottom
bottom hardware printer margin.
[out ]
left
left hardware printer margin.
[out ]
right
right hardware printer margin.
[out ]
Returns
TRUE if the hard margins were retrieved
docs/reference/gtk/xml/drawing-model.xml 0000664 0001750 0001750 00000023713 13617646205 020454 0 ustar mclasen mclasen
The GTK Drawing Model
3
GTK Library
The GTK Drawing Model
How widgets draw
Overview of the drawing model
This chapter describes the GTK drawing model in detail. If you
are interested in the procedure which GTK follows to draw its
widgets and windows, you should read this chapter; this will be
useful to know if you decide to implement your own widgets. This
chapter will also clarify the reasons behind the ways certain
things are done in GTK.
Windows and events
Applications that use a windowing system generally create
rectangular regions in the screen called surfaces
(GTK is following the Wayland terminology, other windowing systems
such as X11 may call these windows ).
Traditional windowing systems do not automatically save the
graphical content of surfaces, and instead ask applications to
provide new content whenever it is needed.
For example, if a window that is stacked below other
windows gets raised to the top, then the application has to
repaint it, so the previously obscured area can be shown.
When the windowing system asks an application to redraw
a window, it sends a frame event
(expose event in X11 terminology)
for that window.
Each GTK toplevel window or dialog is associated with a
windowing system surface. Child widgets such as buttons or
entries don't have their own surface; they use the surface
of their toplevel.
Generally, the drawing cycle begins when GTK receives
a frame event from the underlying windowing system: if the
user drags a window over another one, the windowing system will
tell the underlying surface that it needs to repaint itself. The
drawing cycle can also be initiated when a widget itself decides
that it needs to update its display. For example, when the user
types a character in an entry widget, the entry asks GTK to queue
a redraw operation for itself.
The windowing system generates frame events for surfaces. The GDK
interface to the windowing system translates such events into
emissions of the ::render signal on the affected surfaces.
The GTK toplevel window connects to that signal, and reacts appropriately.
The following sections describe how GTK decides which widgets
need to be repainted in response to such events, and how widgets
work internally in terms of the resources they use from the
windowing system.
The frame clock
All GTK applications are mainloop-driven, which means that most
of the time the app is idle inside a loop that just waits for
something to happen and then calls out to the right place when
it does. On top of this GTK has a frame clock that gives a
“pulse” to the application. This clock beats at a steady rate,
which is tied to the framerate of the output (this is synced to
the monitor via the window manager/compositor). A typical
refresh rate is 60 frames per second, so a new “pulse” happens
roughly every 16 milliseconds.
The clock has several phases:
Events
Update
Layout
Paint
The phases happens in this order and we will always run each
phase through before going back to the start.
The Events phase is a stretch of time between each redraw where
GTK processes input events from the user and other events
(like e.g. network I/O). Some events, like mouse motion are
compressed so that only a single mouse motion event per clock
cycle needs to be handled.
Once the Events phase is over, external events are paused and
the redraw loop is run. First is the Update phase, where all
animations are run to calculate the new state based on the
estimated time the next frame will be visible (available via
the frame clock). This often involves geometry changes which
drive the next phase, Layout. If there are any changes in
widget size requirements the new layout is calculated for the
widget hierarchy (i.e. sizes and positions for all widgets are
determined). Then comes the Paint phase, where we redraw the
regions of the window that need redrawing.
If nothing requires the Update/Layout/Paint phases we will
stay in the Events phase forever, as we don’t want to redraw
if nothing changes. Each phase can request further processing
in the following phases (e.g. the Update phase will cause there
to be layout work, and layout changes cause repaints).
There are multiple ways to drive the clock, at the lowest level
you can request a particular phase with
gdk_frame_clock_request_phase() which will schedule a clock beat
as needed so that it eventually reaches the requested phase.
However, in practice most things happen at higher levels:
If you are doing an animation, you can use
gtk_widget_add_tick_callback() which will cause a regular
beating of the clock with a callback in the Update phase
until you stop the tick.
If some state changes that causes the size of your widget
to change you call gtk_widget_queue_resize() which will
request a Layout phase and mark your widget as needing
relayout.
If some state changes so you need to redraw some area of
your widget you use the normal gtk_widget_queue_draw()
set of functions. These will request a Paint phase and
mark the region as needing redraw.
There are also a lot of implicit triggers of these from the
CSS layer (which does animations, resizes and repaints as needed).
The scene graph
The first step in “drawing” a window is that GTK creates
render nodes for all the widgets
in the window. The render nodes are combined into a tree
that you can think of as a scene graph
describing your window contents.
Render nodes belong to the GSK layer, and there are various kinds
of them, for the various kinds of drawing primitives you are likely
to need when translating widget content and CSS styling. Typical
examples are text nodes, gradient nodes, texture nodes or clip nodes.
In the past, all drawing in GTK happened via cairo. It is still possible
to use cairo for drawing your custom widget contents, by using a cairo
render node.
A GSK renderer takes these render nodes, transforms
them into rendering commands for the drawing API it targets, and arranges
for the resulting drawing to be associated with the right surface. GSK has
renderers for OpenGL, Vulkan and cairo.
Hierarchical drawing
During the Paint phase GTK receives a single ::render signal on the toplevel
window. The signal handler will create a snapshot object (which is a
helper for creating a scene graph) and emit a GtkWidget::snapshot() signal,
which will propagate down the widget hierarchy. This lets each widget
snapshot its content at the right place and time, correctly handling things
like partial transparencies and overlapping widgets.
To avoid excessive work when generating scene graphs, GTK caches render nodes.
Each widget keeps a reference to its render node (which in turn, will refer to
the render nodes of children, and grandchildren, and so on), and will reuse
that node during the Paint phase. Invalidating a widget (by calling
gtk_widget_queue_draw() ) discards the cached render node, forcing the widget
to regenerate it the next time it needs to handle a ::snapshot.
docs/reference/gtk/xml/gtkprintjob.xml 0000664 0001750 0001750 00000210035 13617646204 020252 0 ustar mclasen mclasen
]>
GtkPrintJob
3
GTK4 Library
GtkPrintJob
Represents a print job
Functions
void
( *GtkPrintJobCompleteFunc) ()
GtkPrintJob *
gtk_print_job_new ()
GtkPrintSettings *
gtk_print_job_get_settings ()
GtkPrinter *
gtk_print_job_get_printer ()
const gchar *
gtk_print_job_get_title ()
GtkPrintStatus
gtk_print_job_get_status ()
gboolean
gtk_print_job_set_source_file ()
gboolean
gtk_print_job_set_source_fd ()
cairo_surface_t *
gtk_print_job_get_surface ()
void
gtk_print_job_send ()
void
gtk_print_job_set_track_print_status ()
gboolean
gtk_print_job_get_track_print_status ()
GtkPrintPages
gtk_print_job_get_pages ()
void
gtk_print_job_set_pages ()
GtkPageRange *
gtk_print_job_get_page_ranges ()
void
gtk_print_job_set_page_ranges ()
GtkPageSet
gtk_print_job_get_page_set ()
void
gtk_print_job_set_page_set ()
gint
gtk_print_job_get_num_copies ()
void
gtk_print_job_set_num_copies ()
gdouble
gtk_print_job_get_scale ()
void
gtk_print_job_set_scale ()
guint
gtk_print_job_get_n_up ()
void
gtk_print_job_set_n_up ()
GtkNumberUpLayout
gtk_print_job_get_n_up_layout ()
void
gtk_print_job_set_n_up_layout ()
gboolean
gtk_print_job_get_rotate ()
void
gtk_print_job_set_rotate ()
gboolean
gtk_print_job_get_collate ()
void
gtk_print_job_set_collate ()
gboolean
gtk_print_job_get_reverse ()
void
gtk_print_job_set_reverse ()
Properties
GtkPageSetup * page-setupRead / Write / Construct Only
GtkPrinter * printerRead / Write / Construct Only
GtkPrintSettings * settingsRead / Write / Construct Only
gchar * titleRead / Write / Construct Only
gboolean track-print-statusRead / Write
Signals
void status-changed Run Last
Types and Values
GtkPrintJob
Object Hierarchy
GObject
╰── GtkPrintJob
Includes #include <gtk/gtkunixprint.h>
Description
A GtkPrintJob object represents a job that is sent to a
printer. You only need to deal directly with print jobs if
you use the non-portable GtkPrintUnixDialog API.
Use gtk_print_job_get_surface() to obtain the cairo surface
onto which the pages must be drawn. Use gtk_print_job_send()
to send the finished job to the printer. If you don’t use cairo
GtkPrintJob also supports printing of manually generated postscript,
via gtk_print_job_set_source_file() .
Functions
GtkPrintJobCompleteFunc ()
GtkPrintJobCompleteFunc
void
( *GtkPrintJobCompleteFunc) (GtkPrintJob *print_job ,
gpointer user_data ,
const GError *error );
The type of callback that is passed to gtk_print_job_send() .
It is called when the print job has been completely sent.
Parameters
print_job
the GtkPrintJob
user_data
user data that has been passed to gtk_print_job_send()
error
a GError that contains error information if the sending
of the print job failed, otherwise NULL
gtk_print_job_new ()
gtk_print_job_new
GtkPrintJob *
gtk_print_job_new (const gchar *title ,
GtkPrinter *printer ,
GtkPrintSettings *settings ,
GtkPageSetup *page_setup );
Creates a new GtkPrintJob .
Parameters
title
the job title
printer
a GtkPrinter
settings
a GtkPrintSettings
page_setup
a GtkPageSetup
Returns
a new GtkPrintJob
gtk_print_job_get_settings ()
gtk_print_job_get_settings
GtkPrintSettings *
gtk_print_job_get_settings (GtkPrintJob *job );
Gets the GtkPrintSettings of the print job.
Parameters
job
a GtkPrintJob
Returns
the settings of job
.
[transfer none ]
gtk_print_job_get_printer ()
gtk_print_job_get_printer
GtkPrinter *
gtk_print_job_get_printer (GtkPrintJob *job );
Gets the GtkPrinter of the print job.
Parameters
job
a GtkPrintJob
Returns
the printer of job
.
[transfer none ]
gtk_print_job_get_title ()
gtk_print_job_get_title
const gchar *
gtk_print_job_get_title (GtkPrintJob *job );
Gets the job title.
Parameters
job
a GtkPrintJob
Returns
the title of job
gtk_print_job_get_status ()
gtk_print_job_get_status
GtkPrintStatus
gtk_print_job_get_status (GtkPrintJob *job );
Gets the status of the print job.
Parameters
job
a GtkPrintJob
Returns
the status of job
gtk_print_job_set_source_file ()
gtk_print_job_set_source_file
gboolean
gtk_print_job_set_source_file (GtkPrintJob *job ,
const gchar *filename ,
GError **error );
Make the GtkPrintJob send an existing document to the
printing system. The file can be in any format understood
by the platforms printing system (typically PostScript,
but on many platforms PDF may work too). See
gtk_printer_accepts_pdf() and gtk_printer_accepts_ps() .
Parameters
job
a GtkPrintJob
filename
the file to be printed.
[type filename]
error
return location for errors
Returns
FALSE if an error occurred
gtk_print_job_set_source_fd ()
gtk_print_job_set_source_fd
gboolean
gtk_print_job_set_source_fd (GtkPrintJob *job ,
int fd ,
GError **error );
Make the GtkPrintJob send an existing document to the
printing system. The file can be in any format understood
by the platforms printing system (typically PostScript,
but on many platforms PDF may work too). See
gtk_printer_accepts_pdf() and gtk_printer_accepts_ps() .
This is similar to gtk_print_job_set_source_file() ,
but takes expects an open file descriptor for the file,
instead of a filename.
Parameters
job
a GtkPrintJob
fd
a file descriptor
error
return location for errors
Returns
FALSE if an error occurred
gtk_print_job_get_surface ()
gtk_print_job_get_surface
cairo_surface_t *
gtk_print_job_get_surface (GtkPrintJob *job ,
GError **error );
Gets a cairo surface onto which the pages of
the print job should be rendered.
Parameters
job
a GtkPrintJob
error
return location for errors, or NULL .
[allow-none ]
Returns
the cairo surface of job
.
[transfer none ]
gtk_print_job_send ()
gtk_print_job_send
void
gtk_print_job_send (GtkPrintJob *job ,
GtkPrintJobCompleteFunc callback ,
gpointer user_data ,
GDestroyNotify dnotify );
Sends the print job off to the printer.
Parameters
job
a GtkPrintJob
callback
function to call when the job completes or an error occurs
user_data
user data that gets passed to callback
.
[closure ]
dnotify
destroy notify for user_data
gtk_print_job_set_track_print_status ()
gtk_print_job_set_track_print_status
void
gtk_print_job_set_track_print_status (GtkPrintJob *job ,
gboolean track_status );
If track_status is TRUE , the print job will try to continue report
on the status of the print job in the printer queues and printer. This
can allow your application to show things like “out of paper” issues,
and when the print job actually reaches the printer.
This function is often implemented using some form of polling, so it should
not be enabled unless needed.
Parameters
job
a GtkPrintJob
track_status
TRUE to track status after printing
gtk_print_job_get_track_print_status ()
gtk_print_job_get_track_print_status
gboolean
gtk_print_job_get_track_print_status (GtkPrintJob *job );
Returns wheter jobs will be tracked after printing.
For details, see gtk_print_job_set_track_print_status() .
Parameters
job
a GtkPrintJob
Returns
TRUE if print job status will be reported after printing
gtk_print_job_get_pages ()
gtk_print_job_get_pages
GtkPrintPages
gtk_print_job_get_pages (GtkPrintJob *job );
Gets the GtkPrintPages setting for this job.
Parameters
job
a GtkPrintJob
Returns
the GtkPrintPages setting
gtk_print_job_set_pages ()
gtk_print_job_set_pages
void
gtk_print_job_set_pages (GtkPrintJob *job ,
GtkPrintPages pages );
Sets the GtkPrintPages setting for this job.
Parameters
job
a GtkPrintJob
pages
the GtkPrintPages setting
gtk_print_job_get_page_ranges ()
gtk_print_job_get_page_ranges
GtkPageRange *
gtk_print_job_get_page_ranges (GtkPrintJob *job ,
gint *n_ranges );
Gets the page ranges for this job.
Parameters
job
a GtkPrintJob
n_ranges
return location for the number of ranges.
[out ]
Returns
a pointer to an
array of GtkPageRange structs.
[array length=n_ranges][transfer none ]
gtk_print_job_set_page_ranges ()
gtk_print_job_set_page_ranges
void
gtk_print_job_set_page_ranges (GtkPrintJob *job ,
GtkPageRange *ranges ,
gint n_ranges );
Sets the page ranges for this job.
Parameters
job
a GtkPrintJob
ranges
pointer to an array of
GtkPageRange structs.
[array length=n_ranges][transfer full ]
n_ranges
the length of the ranges
array
gtk_print_job_get_page_set ()
gtk_print_job_get_page_set
GtkPageSet
gtk_print_job_get_page_set (GtkPrintJob *job );
Gets the GtkPageSet setting for this job.
Parameters
job
a GtkPrintJob
Returns
the GtkPageSet setting
gtk_print_job_set_page_set ()
gtk_print_job_set_page_set
void
gtk_print_job_set_page_set (GtkPrintJob *job ,
GtkPageSet page_set );
Sets the GtkPageSet setting for this job.
Parameters
job
a GtkPrintJob
page_set
a GtkPageSet setting
gtk_print_job_get_num_copies ()
gtk_print_job_get_num_copies
gint
gtk_print_job_get_num_copies (GtkPrintJob *job );
Gets the number of copies of this job.
Parameters
job
a GtkPrintJob
Returns
the number of copies
gtk_print_job_set_num_copies ()
gtk_print_job_set_num_copies
void
gtk_print_job_set_num_copies (GtkPrintJob *job ,
gint num_copies );
Sets the number of copies for this job.
Parameters
job
a GtkPrintJob
num_copies
the number of copies
gtk_print_job_get_scale ()
gtk_print_job_get_scale
gdouble
gtk_print_job_get_scale (GtkPrintJob *job );
Gets the scale for this job (where 1.0 means unscaled).
Parameters
job
a GtkPrintJob
Returns
the scale
gtk_print_job_set_scale ()
gtk_print_job_set_scale
void
gtk_print_job_set_scale (GtkPrintJob *job ,
gdouble scale );
Sets the scale for this job (where 1.0 means unscaled).
Parameters
job
a GtkPrintJob
scale
the scale
gtk_print_job_get_n_up ()
gtk_print_job_get_n_up
guint
gtk_print_job_get_n_up (GtkPrintJob *job );
Gets the n-up setting for this job.
Parameters
job
a GtkPrintJob
Returns
the n-up setting
gtk_print_job_set_n_up ()
gtk_print_job_set_n_up
void
gtk_print_job_set_n_up (GtkPrintJob *job ,
guint n_up );
Sets the n-up setting for this job.
Parameters
job
a GtkPrintJob
n_up
the n-up value
gtk_print_job_get_n_up_layout ()
gtk_print_job_get_n_up_layout
GtkNumberUpLayout
gtk_print_job_get_n_up_layout (GtkPrintJob *job );
Gets the n-up layout setting for this job.
Parameters
job
a GtkPrintJob
Returns
the n-up layout
gtk_print_job_set_n_up_layout ()
gtk_print_job_set_n_up_layout
void
gtk_print_job_set_n_up_layout (GtkPrintJob *job ,
GtkNumberUpLayout layout );
Sets the n-up layout setting for this job.
Parameters
job
a GtkPrintJob
layout
the n-up layout setting
gtk_print_job_get_rotate ()
gtk_print_job_get_rotate
gboolean
gtk_print_job_get_rotate (GtkPrintJob *job );
Gets whether the job is printed rotated.
Parameters
job
a GtkPrintJob
Returns
whether the job is printed rotated
gtk_print_job_set_rotate ()
gtk_print_job_set_rotate
void
gtk_print_job_set_rotate (GtkPrintJob *job ,
gboolean rotate );
Sets whether this job is printed rotated.
Parameters
job
a GtkPrintJob
rotate
whether to print rotated
gtk_print_job_get_collate ()
gtk_print_job_get_collate
gboolean
gtk_print_job_get_collate (GtkPrintJob *job );
Gets whether this job is printed collated.
Parameters
job
a GtkPrintJob
Returns
whether the job is printed collated
gtk_print_job_set_collate ()
gtk_print_job_set_collate
void
gtk_print_job_set_collate (GtkPrintJob *job ,
gboolean collate );
Sets whether this job is printed collated.
Parameters
job
a GtkPrintJob
collate
whether the job is printed collated
gtk_print_job_get_reverse ()
gtk_print_job_get_reverse
gboolean
gtk_print_job_get_reverse (GtkPrintJob *job );
Gets whether this job is printed reversed.
Parameters
job
a GtkPrintJob
Returns
whether the job is printed reversed.
gtk_print_job_set_reverse ()
gtk_print_job_set_reverse
void
gtk_print_job_set_reverse (GtkPrintJob *job ,
gboolean reverse );
Sets whether this job is printed reversed.
Parameters
job
a GtkPrintJob
reverse
whether the job is printed reversed
Property Details
The “page-setup” property
GtkPrintJob:page-setup
“page-setup” GtkPageSetup *
Page Setup. Owner: GtkPrintJob
Flags: Read / Write / Construct Only
The “printer” property
GtkPrintJob:printer
“printer” GtkPrinter *
Printer to print the job to. Owner: GtkPrintJob
Flags: Read / Write / Construct Only
The “settings” property
GtkPrintJob:settings
“settings” GtkPrintSettings *
Printer settings. Owner: GtkPrintJob
Flags: Read / Write / Construct Only
The “title” property
GtkPrintJob:title
“title” gchar *
Title of the print job. Owner: GtkPrintJob
Flags: Read / Write / Construct Only
Default value: NULL
The “track-print-status” property
GtkPrintJob:track-print-status
“track-print-status” gboolean
TRUE if the print job will continue to emit status-changed signals after the print data has been sent to the printer or print server. Owner: GtkPrintJob
Flags: Read / Write
Default value: FALSE
Signal Details
The “status-changed” signal
GtkPrintJob::status-changed
void
user_function (GtkPrintJob *job,
gpointer user_data)
Gets emitted when the status of a job changes. The signal handler
can use gtk_print_job_get_status() to obtain the new status.
Parameters
job
the GtkPrintJob object on which the signal was emitted
user_data
user data set when the signal handler was connected.
Flags: Run Last
docs/reference/gtk/xml/gtkeventcontrollerkey.xml 0000664 0001750 0001750 00000114033 13617646205 022363 0 ustar mclasen mclasen
]>
GtkEventControllerKey
3
GTK4 Library
GtkEventControllerKey
Event controller for key events
Functions
GtkEventController *
gtk_event_controller_key_new ()
void
gtk_event_controller_key_set_im_context ()
GtkIMContext *
gtk_event_controller_key_get_im_context ()
gboolean
gtk_event_controller_key_forward ()
guint
gtk_event_controller_key_get_group ()
GtkWidget *
gtk_event_controller_key_get_focus_origin ()
GtkWidget *
gtk_event_controller_key_get_focus_target ()
gboolean
gtk_event_controller_key_contains_focus ()
gboolean
gtk_event_controller_key_is_focus ()
Properties
gboolean contains-focusRead
gboolean is-focusRead
Signals
void focus-in Run Last
void focus-out Run Last
void im-update Run Last
gboolean key-pressed Run Last
void key-released Run Last
gboolean modifiers Run Last
Types and Values
GtkEventControllerKey
Object Hierarchy
GObject
╰── GtkEventController
╰── GtkEventControllerKey
Includes #include <gtk/gtk.h>
Description
GtkEventControllerKey is an event controller meant for situations
where you need access to key events.
Functions
gtk_event_controller_key_new ()
gtk_event_controller_key_new
GtkEventController *
gtk_event_controller_key_new (void );
Creates a new event controller that will handle key events.
Returns
a new GtkEventControllerKey
gtk_event_controller_key_set_im_context ()
gtk_event_controller_key_set_im_context
void
gtk_event_controller_key_set_im_context
(GtkEventControllerKey *controller ,
GtkIMContext *im_context );
Sets the input method context of the key controller
.
Parameters
controller
a GtkEventControllerKey
im_context
a GtkIMContext
gtk_event_controller_key_get_im_context ()
gtk_event_controller_key_get_im_context
GtkIMContext *
gtk_event_controller_key_get_im_context
(GtkEventControllerKey *controller );
Gets the input method context of the key controller
.
Parameters
controller
a GtkEventControllerKey
Returns
the GtkIMContext .
[transfer none ]
gtk_event_controller_key_forward ()
gtk_event_controller_key_forward
gboolean
gtk_event_controller_key_forward (GtkEventControllerKey *controller ,
GtkWidget *widget );
Forwards the current event of this controller
to a widget
.
This function can only be used in handlers for the
“key-pressed” ,
“key-released”
or
“modifiers”
signals.
Parameters
controller
a GtkEventControllerKey
widget
a GtkWidget
Returns
whether the widget
handled the event
gtk_event_controller_key_get_group ()
gtk_event_controller_key_get_group
guint
gtk_event_controller_key_get_group (GtkEventControllerKey *controller );
Gets the key group of the current event of this controller
.
See gdk_event_get_key_group() .
Parameters
controller
a GtkEventControllerKey
Returns
the key group
gtk_event_controller_key_get_focus_origin ()
gtk_event_controller_key_get_focus_origin
GtkWidget *
gtk_event_controller_key_get_focus_origin
(GtkEventControllerKey *controller );
Returns the widget that was holding focus before.
This function can only be used in handlers for the
“focus-in” and
“focus-out” signals.
Parameters
controller
a GtkEventControllerKey
Returns
the previous focus.
[transfer none ]
gtk_event_controller_key_get_focus_target ()
gtk_event_controller_key_get_focus_target
GtkWidget *
gtk_event_controller_key_get_focus_target
(GtkEventControllerKey *controller );
Returns the widget that will be holding focus afterwards.
This function can only be used in handlers for the
“focus-in” and
“focus-out” signals.
Parameters
controller
a GtkEventControllerKey
Returns
the next focus.
[transfer none ]
gtk_event_controller_key_contains_focus ()
gtk_event_controller_key_contains_focus
gboolean
gtk_event_controller_key_contains_focus
(GtkEventControllerKey *self );
Returns the value of the GtkEventControllerKey:contains-focus property.
Parameters
self
a GtkEventControllerKey
Returns
TRUE if focus is within self
or one of its children
gtk_event_controller_key_is_focus ()
gtk_event_controller_key_is_focus
gboolean
gtk_event_controller_key_is_focus (GtkEventControllerKey *self );
Returns the value of the GtkEventControllerKey:is-focus property.
Parameters
self
a GtkEventControllerKey
Returns
TRUE if focus is within self
but not one of its children
Property Details
The “contains-focus” property
GtkEventControllerKey:contains-focus
“contains-focus” gboolean
Whether focus is contain in the controllers widget. See
See “is-focus” for whether the focus is in the widget itself
or inside a descendent.
When handling focus events, this property is updated
before “focus-in” or
“focus-out” are emitted.
Owner: GtkEventControllerKey
Flags: Read
Default value: FALSE
The “is-focus” property
GtkEventControllerKey:is-focus
“is-focus” gboolean
Whether focus is in the controllers widget itself,
opposed to in a descendent widget. See also
“contains-focus” .
When handling focus events, this property is updated
before “focus-in” or
“focus-out” are emitted.
Owner: GtkEventControllerKey
Flags: Read
Default value: FALSE
Signal Details
The “focus-in” signal
GtkEventControllerKey::focus-in
void
user_function (GtkEventControllerKey *controller,
GdkCrossingMode mode,
GdkNotifyType detail,
gpointer user_data)
This signal is emitted whenever the widget controlled
by the controller
or one of its descendants) is given
the keyboard focus.
Parameters
controller
the object which received the signal.
mode
crossing mode indicating what caused this change
detail
detail indication where the focus is coming from
user_data
user data set when the signal handler was connected.
Flags: Run Last
The “focus-out” signal
GtkEventControllerKey::focus-out
void
user_function (GtkEventControllerKey *controller,
GdkCrossingMode mode,
GdkNotifyType detail,
gpointer user_data)
This signal is emitted whenever the widget controlled
by the controller
(or one of its descendants) loses
the keyboard focus.
Parameters
controller
the object which received the signal.
mode
crossing mode indicating what caused this change
detail
detail indication where the focus is going
user_data
user data set when the signal handler was connected.
Flags: Run Last
The “im-update” signal
GtkEventControllerKey::im-update
void
user_function (GtkEventControllerKey *controller,
gpointer user_data)
This signal is emitted whenever the input method context filters away a
keypress and prevents the controller
receiving it. See
gtk_event_controller_key_set_im_context() and
gtk_im_context_filter_keypress() .
Parameters
controller
the object which received the signal.
user_data
user data set when the signal handler was connected.
Flags: Run Last
The “key-pressed” signal
GtkEventControllerKey::key-pressed
gboolean
user_function (GtkEventControllerKey *controller,
guint keyval,
guint keycode,
GdkModifierType state,
gpointer user_data)
This signal is emitted whenever a key is pressed.
Parameters
controller
the object which received the signal.
keyval
the pressed key.
keycode
the raw code of the pressed key.
state
the bitmask, representing the state of modifier keys and pointer buttons. See GdkModifierType .
user_data
user data set when the signal handler was connected.
Returns
TRUE if the key press was handled, FALSE otherwise.
Flags: Run Last
The “key-released” signal
GtkEventControllerKey::key-released
void
user_function (GtkEventControllerKey *controller,
guint keyval,
guint keycode,
GdkModifierType state,
gpointer user_data)
This signal is emitted whenever a key is released.
Parameters
controller
the object which received the signal.
keyval
the released key.
keycode
the raw code of the released key.
state
the bitmask, representing the state of modifier keys and pointer buttons. See GdkModifierType .
user_data
user data set when the signal handler was connected.
Flags: Run Last
The “modifiers” signal
GtkEventControllerKey::modifiers
gboolean
user_function (GtkEventControllerKey *controller,
GdkModifierType keyval,
gpointer user_data)
This signal is emitted whenever the state of modifier keys and pointer
buttons change.
Parameters
controller
the object which received the signal.
keyval
the released key.
state
the bitmask, representing the new state of modifier keys and
pointer buttons. See GdkModifierType .
user_data
user data set when the signal handler was connected.
Flags: Run Last
See Also
GtkEventController
docs/reference/gtk/xml/gtkpagesetupunixdialog.xml 0000664 0001750 0001750 00000033311 13617646204 022504 0 ustar mclasen mclasen
]>
GtkPageSetupUnixDialog
3
GTK4 Library
GtkPageSetupUnixDialog
A page setup dialog
Functions
GtkWidget *
gtk_page_setup_unix_dialog_new ()
void
gtk_page_setup_unix_dialog_set_page_setup ()
GtkPageSetup *
gtk_page_setup_unix_dialog_get_page_setup ()
void
gtk_page_setup_unix_dialog_set_print_settings ()
GtkPrintSettings *
gtk_page_setup_unix_dialog_get_print_settings ()
Types and Values
GtkPageSetupUnixDialog
Object Hierarchy
GObject
╰── GInitiallyUnowned
╰── GtkWidget
╰── GtkContainer
╰── GtkBin
╰── GtkWindow
╰── GtkDialog
╰── GtkPageSetupUnixDialog
Implemented Interfaces
GtkPageSetupUnixDialog implements
AtkImplementorIface, GtkBuildable, GtkConstraintTarget, GtkNative and GtkRoot.
Includes #include <gtk/gtkunixprint.h>
Description
GtkPageSetupUnixDialog implements a page setup dialog for platforms
which don’t provide a native page setup dialog, like Unix. It can
be used very much like any other GTK+ dialog, at the cost of
the portability offered by the
high-level printing API
Printing support was added in GTK+ 2.10.
Functions
gtk_page_setup_unix_dialog_new ()
gtk_page_setup_unix_dialog_new
GtkWidget *
gtk_page_setup_unix_dialog_new (const gchar *title ,
GtkWindow *parent );
Creates a new page setup dialog.
Parameters
title
the title of the dialog, or NULL .
[allow-none ]
parent
transient parent of the dialog, or NULL .
[allow-none ]
Returns
the new GtkPageSetupUnixDialog
gtk_page_setup_unix_dialog_set_page_setup ()
gtk_page_setup_unix_dialog_set_page_setup
void
gtk_page_setup_unix_dialog_set_page_setup
(GtkPageSetupUnixDialog *dialog ,
GtkPageSetup *page_setup );
Sets the GtkPageSetup from which the page setup
dialog takes its values.
Parameters
dialog
a GtkPageSetupUnixDialog
page_setup
a GtkPageSetup
gtk_page_setup_unix_dialog_get_page_setup ()
gtk_page_setup_unix_dialog_get_page_setup
GtkPageSetup *
gtk_page_setup_unix_dialog_get_page_setup
(GtkPageSetupUnixDialog *dialog );
Gets the currently selected page setup from the dialog.
Parameters
dialog
a GtkPageSetupUnixDialog
Returns
the current page setup.
[transfer none ]
gtk_page_setup_unix_dialog_set_print_settings ()
gtk_page_setup_unix_dialog_set_print_settings
void
gtk_page_setup_unix_dialog_set_print_settings
(GtkPageSetupUnixDialog *dialog ,
GtkPrintSettings *print_settings );
Sets the GtkPrintSettings from which the page setup dialog
takes its values.
Parameters
dialog
a GtkPageSetupUnixDialog
print_settings
a GtkPrintSettings
gtk_page_setup_unix_dialog_get_print_settings ()
gtk_page_setup_unix_dialog_get_print_settings
GtkPrintSettings *
gtk_page_setup_unix_dialog_get_print_settings
(GtkPageSetupUnixDialog *dialog );
Gets the current print settings from the dialog.
Parameters
dialog
a GtkPageSetupUnixDialog
Returns
the current print settings.
[transfer none ]
docs/reference/gtk/xml/glossary.xml 0000664 0001750 0001750 00000032673 13617646205 017573 0 ustar mclasen mclasen
Glossary
allocation
The final size of a widget within its parent . For example, a widget
may request a minimum size of 20×20 pixels, but its
parent may decide to allocate 50×20 pixels for it
instead.
requisition
bin
A container that
can hold at most one child widget. The base class for bins is
GtkBin .
container
child
A container's child
is a widget contained
inside it.
column
GTK contains several widgets which display data in columns,
e.g. the GtkTreeView .
These view columns in
the tree view are represented by GtkTreeViewColumn
objects inside GTK. They should not be confused with
model columns which
are used to organize the data in tree models.
model-view widget
container
A widget that contains
other widgets; in that case, the container is the
parent of the child
widgets. Some containers don't draw anything on their own,
but rather just organize their children's geometry ; for example, GtkVBox lays out
its children vertically without painting anything on its own. Other
containers include decorative elements; for example, GtkFrame contains
the frame's child and a label in addition to the shaded frame it draws.
The base class for containers is GtkContainer .
widget
geometry
display
GDK inherited the concept of display from the X window system,
which considers a display to be the combination
of a keyboard, a pointing device and one or more
screens .
Applications open a display to show windows and interact with the user.
In GDK, a display is represented by a GdkDisplay .
Ellipsization is the process of replacing some part
of a text by an ellipsis (usually "...") to make the
text fit in a smaller space. Pango can ellipsize text
at the beginning, at the end or in the middle.
event
Events are the way in which GDK informs GTK about external events
like pointer motion, button clicks, key presses, etc.
geometry
A widget's position
and size. Within its parent, this is called the widget's
allocation .
mapping
This is the step in a widget's life cycle where it
actually shows the GdkSurfaces it created when it was
realized . When a
widget is mapped, it must turn on its
GTK_MAPPED flag.
Note that due to the asynchronous nature of the X window
system, a widget's window may not appear on the screen
immediatly after one calls gdk_surface_show() :
you must wait for the corresponding map event to be received. You can do
this with the GtkWidget::map-event
signal.
model column
A column in a tree model, holding data of a certain type.
The types which can be stored in the columns of a model
have to be specified when the model is constructed, see
e.g. gtk_list_store_new() .
view column
model-view widget
These widgets follow the well-known model-view pattern, which separates
the data (the model) to be displayed from the component which does the
actual visualization (the view). Examples of this pattern in GTK are
the GtkTreeView /GtkTreeModel and GtkTextView /GtkTextBuffer
One important advantage of this pattern is that it is possible to
display the same model in multiple views; another one that the
separation of the model allows a great deal of flexibility, as
demonstrated by e.g. GtkTreeModelSort or GtkTreeModelFilter .
no-window widget
A widget that does not have a GdkSurface of its own on which to
draw its contents, but rather shares its parent's . This can be tested with
the gtk_widget_get_has_surface() function.
parent
A widget's parent is
the container
inside which it resides.
realization
This is the step in a widget's life cycle where it
creates its own GdkSurface, or otherwise associates itself with
its parent's
GdkSurface. If the widget has its own window, then it must
also attach a style to
it. A widget becomes unrealized by destroying its associated
GdkSurface. When a widget is realized, it must turn on its
GTK_REALIZED flag.
Widgets that don't own the GdkSurface on which they draw are
called no-window widgets .
This can be tested with the gtk_widget_get_has_surface() function. Normally,
these widgets draw on their parent's GdkSurface.
Note that when a GtkWidget creates a window in its “realize”
handler, it does not actually show the window. That is, the
window's structure is just created in memory. The widget
actually shows the window when it gets mapped .
requisition
The size requisition of a widget is the minimum amount of
space it requests from its parent . Once the parent computes
the widget's final size, it gives it its size allocation .
allocation
screen
GDK inherited the concept of screen from the X window system,
which considers a screen to be a rectangular area, on which
applications may place their windows. Screens under X may have
quite dissimilar visuals .
Each screen can stretch across multiple physical monitors.
In GDK, screens are represented by GdkScreen objects.
style
A style encapsulates what GTK needs to know in order to draw
a widget. Styles can be modified with
resource files.
toplevel
A widget that does not
require a parent container.
The only toplevel widgets in GTK are GtkWindow and widgets derived from it.
container
unmap
mapping
unrealize
realization
view column
A displayed column in a tree view, represented by a
GtkTreeViewColumn object.
model column
visual
A visual describes how color information is stored in pixels.
A screen may support
multiple visuals. On modern hardware, the most common visuals
are truecolor visuals, which store a fixed number of bits
(typically 8) for the red, green and blue components of a color.
On ancient hardware, one may still meet indexed visuals, which
store color information as an index into a color map, or even
monochrome visuals.
widget
A control in a graphical user interface. Widgets can draw
themselves and process events from the mouse and keyboard.
Widget types include buttons, menus, text entry lines, and
lists. Widgets can be arranged into containers , and these take
care of assigning the geometry of the widgets: every
widget thus has a parent except those widgets which are
toplevels . The base
class for widgets is GtkWidget .
container
docs/reference/gtk/xml/gtktesting.xml 0000664 0001750 0001750 00000021020 13617646204 020072 0 ustar mclasen mclasen
]>
Testing
3
GTK4 Library
Testing
Utilities for testing GTK+ applications
Functions
void
gtk_test_init ()
const GType *
gtk_test_list_all_types ()
void
gtk_test_register_all_types ()
void
gtk_test_widget_wait_for_draw ()
Includes #include <gtk/gtk.h>
Description
Functions
gtk_test_init ()
gtk_test_init
void
gtk_test_init (int *argcp ,
char ***argvp ,
... );
This function is used to initialize a GTK+ test program.
It will in turn call g_test_init() and gtk_init() to properly
initialize the testing framework and graphical toolkit. It’ll
also set the program’s locale to “C”. This is done to make test
program environments as deterministic as possible.
Like gtk_init() and g_test_init() , any known arguments will be
processed and stripped from argc
and argv
.
Parameters
argcp
Address of the argc parameter of the
main() function. Changed if any arguments were handled.
argvp
Address of the
argv parameter of main() .
Any parameters understood by g_test_init() or gtk_init() are
stripped before return.
[inout ][array length=argcp]
...
currently unused
gtk_test_list_all_types ()
gtk_test_list_all_types
const GType *
gtk_test_list_all_types (guint *n_types );
Return the type ids that have been registered after
calling gtk_test_register_all_types() .
Parameters
n_types
location to store number of types
Returns
0-terminated array of type ids.
[array length=n_types zero-terminated=1][transfer none ]
gtk_test_register_all_types ()
gtk_test_register_all_types
void
gtk_test_register_all_types (void );
Force registration of all core Gtk+ and Gdk object types.
This allowes to refer to any of those object types via
g_type_from_name() after calling this function.
gtk_test_widget_wait_for_draw ()
gtk_test_widget_wait_for_draw
void
gtk_test_widget_wait_for_draw (GtkWidget *widget );
Enters the main loop and waits for widget
to be “drawn”. In this
context that means it waits for the frame clock of widget
to have
run a full styling, layout and drawing cycle.
This function is intended to be used for syncing with actions that
depend on widget
relayouting or on interaction with the display
server.
Parameters
widget
the widget to wait for
docs/reference/gtk/xml/input-handling.xml 0000664 0001750 0001750 00000041713 13620320501 020622 0 ustar mclasen mclasen
The GTK Input Model
3
GTK Library
The GTK Input Model
input and event handling in detail
Overview of GTK input and event handling
This chapter describes in detail how GTK handles input. If you are interested
in what happens to translate a key press or mouse motion of the users into a
change of a GTK widget, you should read this chapter. This knowledge will also
be useful if you decide to implement your own widgets.
Devices and events
The most basic input devices that every computer user has interacted with are
keyboards and mice; beyond these, GTK supports touchpads, touchscreens and
more exotic input devices such as graphics tablets. Inside GTK, every such
input device is represented by a GdkDevice object.
To simplify dealing with the variability between these input devices, GTK
has a concept of master and slave devices. The concrete physical devices that
have many different characteristics (mice may have 2 or 3 or 8 buttons,
keyboards have different layouts and may or may not have a separate number
block, etc) are represented as slave devices. Each slave device is
associated with a virtual master device. Master devices always come in
pointer/keyboard pairs - you can think of such a pair as a 'seat'.
GTK widgets generally deal with the master devices, and thus can be used
with any pointing device or keyboard.
When a user interacts with an input device (e.g. moves a mouse or presses
a key on the keyboard), GTK receives events from the windowing system.
These are typically directed at a specific surface - for pointer events,
the surface under the pointer (grabs complicate this), for keyboard events,
the surface with the keyboard focus.
GDK translates these raw windowing system events into GdkEvents .
Typical input events are:
GdkEventButton
GdkEventMotion
GdkEventCrossing
GdkEventKey
GdkEventFocus
GdkEventTouch
Additionally, GDK/GTK synthesizes other signals to let know whether
grabs (system-wide or in-app) are taking input away:
GdkEventGrabBroken
“grab-notify”
When GTK creates a GdkSurface, it connects to the ::event signal
on it, which receives all of these input events. Surfaces have
have signals and properties, e.g. to deal with window management
related events.
Event propagation
The function which initially receives input events on the GTK
side is responsible for a number of tasks.
Compress enter/leave notify events. If the event passed build an
enter/leave pair together with the next event (peeked from GDK), both
events are thrown away. This is to avoid a backlog of (de-)highlighting
widgets crossed by the pointer.
Find the widget which got the event. If the widget can’t be determined
the event is thrown away unless it belongs to a INCR transaction.
Then the event is pushed onto a stack so you can query the currently
handled event with gtk_get_current_event() .
The event is sent to a widget. If a grab is active all events for widgets
that are not in the contained in the grab widget are sent to the latter
with a few exceptions:
Deletion and destruction events are still sent to the event widget for
obvious reasons.
Events which directly relate to the visual representation of the event
widget.
Leave events are delivered to the event widget if there was an enter
event delivered to it before without the paired leave event.
Drag events are not redirected because it is unclear what the semantics
of that would be.
After finishing the delivery the event is popped from the event stack.
When a GDK backend produces an input event, it is tied to a GdkDevice and
a GdkSurface , which in turn represents a windowing system surface in the
backend. If a widget has grabbed the current input device, or all input
devices, the event is propagated to that GtkWidget . Otherwise, it is
propagated to the the GtkRoot which owns the GdkSurface receiving the event.
Grabs are implemented for each input device, and globally. A grab for a
specific input device (gtk_device_grab_add() ), is sent events in
preference to a global grab (gtk_grab_add() ). Input grabs only have effect
within the GtkWindowGroup containing the GtkWidget which registered the
event’s GdkSurface . If this GtkWidget is a child of the grab widget, the
event is propagated to the child — this is the basis for propagating
events within modal dialogs.
An event is propagated down and up the widget hierarchy in three phases
(see GtkPropagationPhase ) towards a target widget.
For key events, the top-level window gets a first shot at activating
mnemonics and accelerators. If that does not consume the events,
the target widget for event propagation is window's current focus
widget (see gtk_window_get_focus() ).
For pointer events, the target widget is determined by picking
the widget at the events coordinates (see gtk_window_pick() ).
In the first phase (the “capture” phase) the event is
delivered to each widget from the top-most (the top-level
GtkWindow or grab widget) down to the target GtkWidget .
Event
controllers that are attached with GTK_PHASE_CAPTURE
get a chance to react to the event.
After the “capture” phase, the widget that was intended to be the
destination of the event will run event controllers attached to
it with GTK_PHASE_TARGET . This is known as the “target” phase,
and only happens on that widget.
In the last phase (the “bubble” phase), the event is delivered
to each widget from the target to the top-most, and event
controllers attached with GTK_PHASE_BUBBLE are run.
Events are not delivered to a widget which is insensitive or
unmapped.
Any time during the propagation phase, a controller may indicate
that a received event was consumed and propagation should
therefore be stopped. If gestures are used, this may happen
when the gesture claims the event touch sequence (or the
pointer events) for its own. See the “gesture states” section
below to learn more about gestures and sequences.
Touch events
Touch events are emitted as events of type GDK_TOUCH_BEGIN ,
GDK_TOUCH_UPDATE or GDK_TOUCH_END , those events contain an
“event sequence” that univocally identifies the physical touch
until it is lifted from the device.
Grabs
Grabs are a method to claim all input events from a device,
they happen either implicitly on pointer and touch devices,
or explicitly. Implicit grabs happen on user interaction, when
a GdkEventButtonPress happens, all events from then on, until
after the corresponding GdkEventButtonRelease , will be reported
to the widget that got the first event. Likewise, on touch events,
every GdkEventSequence will deliver only events to the widget
that received its GDK_TOUCH_BEGIN event.
Explicit grabs happen programatically (both activation and
deactivation), and can be either system-wide (GDK grabs) or
application-wide (GTK grabs). On the windowing platforms that
support it, GDK grabs will prevent any interaction with any other
application/window/widget than the grabbing one, whereas GTK grabs
will be effective only within the application (across all its
windows), still allowing for interaction with other applications.
But one important aspect of grabs is that they may potentially
happen at any point somewhere else, even while the pointer/touch
device is already grabbed. This makes it necessary for widgets to
handle the cancellation of any ongoing interaction. Depending on
whether a GTK or GDK grab is causing this, the widget will
respectively receive a “grab-notify” signal, or a
GdkEventGrabBroken event.
On gestures, these signals are handled automatically, causing the
gesture to cancel all tracked pointer/touch events, and signal
the end of recognition.
Keyboard input
Every GtkWindow maintains a single focus location (in
the ::focus-widget property). The focus widget is the
target widget for key events sent to the window. Only
widgets which have ::can-focus set to TRUE can become
the focus. Typically these are input controls such as
entries or text fields, but e.g. buttons can take the
focus too.
Input widgets can be given the focus by clicking on them,
but focus can also be moved around with certain key
events (this is known as “keyboard navigation”). GTK
reserves the Tab key to move the focus to the next location,
and Shift-Tab to move it back to the previous one. In addition
many containers allow “directional navigation” with the
arrow keys.
Event controllers and gestures
Event controllers are standalone objects that can perform
specific actions upon received GdkEvents . These are tied
to a GtkWidget , and can be told of the event propagation
phase at which they will manage the events.
Gestures are a set of specific controllers that are prepared
to handle pointer and/or touch events, each gesture
implementation attempts to recognize specific actions out the
received events, notifying of the state/progress accordingly to
let the widget react to those. On multi-touch gestures, every
interacting touch sequence will be tracked independently.
Since gestures are “simple” units, it is not uncommon to tie
several together to perform higher level actions, grouped
gestures handle the same event sequences simultaneously, and
those sequences share a same state across all grouped
gestures. Some examples of grouping may be:
A “drag” and a “swipe” gestures may want grouping.
The former will report events as the dragging happens,
the latter will tell the swipe X/Y velocities only after
recognition has finished.
Grouping a “drag” gesture with a “pan” gesture will only
effectively allow dragging in the panning orientation, as
both gestures share state.
If “press” and “long press” are wanted simultaneously,
those would need grouping.
Gesture states
Gestures have a notion of “state” for each individual touch
sequence. When events from a touch sequence are first received,
the touch sequence will have “none” state, this means the touch
sequence is being handled by the gesture to possibly trigger
actions, but the event propagation will not be stopped.
When the gesture enters recognition, or at a later point in time,
the widget may choose to claim the touch sequences (individually
or as a group), hence stopping event propagation after the event
is run through every gesture in that widget and propagation phase.
Anytime this happens, the touch sequences are cancelled downwards
the propagation chain, to let these know that no further events
will be sent.
Alternatively, or at a later point in time, the widget may choose
to deny the touch sequences, thus letting those go through again
in event propagation. When this happens in the capture phase, and
if there are no other claiming gestures in the widget,
a GDK_TOUCH_BEGIN /GDK_BUTTON_PRESS event will be emulated and
propagated downwards, in order to preserve consistency.
Grouped gestures always share the same state for a given touch
sequence, so setting the state on one does transfer the state to
the others. They also are mutually exclusive, within a widget
there may be only one gesture group claiming a given sequence.
If another gesture group claims later that same sequence, the
first group will deny the sequence.
docs/reference/gtk/xml/filesystem.xml 0000664 0001750 0001750 00000051274 13617646204 020111 0 ustar mclasen mclasen
]>
Filesystem utilities
3
GTK4 Library
Filesystem utilities
Functions for working with GIO
Functions
GMountOperation *
gtk_mount_operation_new ()
gboolean
gtk_mount_operation_is_showing ()
void
gtk_mount_operation_set_parent ()
GtkWindow *
gtk_mount_operation_get_parent ()
void
gtk_mount_operation_set_display ()
GdkDisplay *
gtk_mount_operation_get_display ()
gboolean
gtk_show_uri_on_window ()
Properties
GdkDisplay * displayRead / Write
gboolean is-showingRead
GtkWindow * parentRead / Write
Types and Values
struct GtkMountOperation
struct GtkMountOperationClass
Object Hierarchy
GObject
╰── GMountOperation
╰── GtkMountOperation
Includes #include <gtk/gtk.h>
Description
The functions and objects described here make working with GTK+ and
GIO more convenient.
GtkMountOperation is needed when mounting volumes:
It is an implementation of GMountOperation that can be used with
GIO functions for mounting volumes such as
g_file_mount_enclosing_volume() , g_file_mount_mountable() ,
g_volume_mount() , g_mount_unmount_with_operation() and others.
When necessary, GtkMountOperation shows dialogs to ask for
passwords, questions or show processes blocking unmount.
gtk_show_uri_on_window() is a convenient way to launch applications for URIs.
Another object that is worth mentioning in this context is
GdkAppLaunchContext , which provides visual feedback when lauching
applications.
Functions
gtk_mount_operation_new ()
gtk_mount_operation_new
GMountOperation *
gtk_mount_operation_new (GtkWindow *parent );
Creates a new GtkMountOperation
Parameters
parent
transient parent of the window, or NULL .
[allow-none ]
Returns
a new GtkMountOperation
gtk_mount_operation_is_showing ()
gtk_mount_operation_is_showing
gboolean
gtk_mount_operation_is_showing (GtkMountOperation *op );
Returns whether the GtkMountOperation is currently displaying
a window.
Parameters
op
a GtkMountOperation
Returns
TRUE if op
is currently displaying a window
gtk_mount_operation_set_parent ()
gtk_mount_operation_set_parent
void
gtk_mount_operation_set_parent (GtkMountOperation *op ,
GtkWindow *parent );
Sets the transient parent for windows shown by the
GtkMountOperation .
Parameters
op
a GtkMountOperation
parent
transient parent of the window, or NULL .
[allow-none ]
gtk_mount_operation_get_parent ()
gtk_mount_operation_get_parent
GtkWindow *
gtk_mount_operation_get_parent (GtkMountOperation *op );
Gets the transient parent used by the GtkMountOperation
Parameters
op
a GtkMountOperation
Returns
the transient parent for windows shown by op
.
[transfer none ]
gtk_mount_operation_set_display ()
gtk_mount_operation_set_display
void
gtk_mount_operation_set_display (GtkMountOperation *op ,
GdkDisplay *display );
Sets the display to show windows of the GtkMountOperation on.
Parameters
op
a GtkMountOperation
display
a Gdk
gtk_mount_operation_get_display ()
gtk_mount_operation_get_display
GdkDisplay *
gtk_mount_operation_get_display (GtkMountOperation *op );
Gets the display on which windows of the GtkMountOperation
will be shown.
Parameters
op
a GtkMountOperation
Returns
the display on which windows of op
are shown.
[transfer none ]
gtk_show_uri_on_window ()
gtk_show_uri_on_window
gboolean
gtk_show_uri_on_window (GtkWindow *parent ,
const char *uri ,
guint32 timestamp ,
GError **error );
This is a convenience function for launching the default application
to show the uri. The uri must be of a form understood by GIO (i.e. you
need to install gvfs to get support for uri schemes such as http://
or ftp://, as only local files are handled by GIO itself).
Typical examples are
file:///home/gnome/pict.jpg
http://www.gnome.org
mailto:me@gnome.org
Ideally the timestamp is taken from the event triggering
the gtk_show_uri_on_window() call. If timestamp is not known you can take
GDK_CURRENT_TIME .
This is the recommended call to be used as it passes information
necessary for sandbox helpers to parent their dialogs properly.
Parameters
parent
parent window.
[allow-none ]
uri
the uri to show
timestamp
a timestamp to prevent focus stealing
error
a GError that is returned in case of errors
Returns
TRUE on success, FALSE on error
Property Details
The “display” property
GtkMountOperation:display
“display” GdkDisplay *
The display where this window will be displayed. Owner: GtkMountOperation
Flags: Read / Write
The “is-showing” property
GtkMountOperation:is-showing
“is-showing” gboolean
Are we showing a dialog. Owner: GtkMountOperation
Flags: Read
Default value: FALSE
The “parent” property
GtkMountOperation:parent
“parent” GtkWindow *
The parent window. Owner: GtkMountOperation
Flags: Read / Write
docs/reference/gtk/xml/gtkshortcutswindow.xml 0000664 0001750 0001750 00000027705 13617646205 021724 0 ustar mclasen mclasen
]>
GtkShortcutsWindow
3
GTK4 Library
GtkShortcutsWindow
Toplevel which shows help for shortcuts
Properties
gchar * section-nameRead / Write
gchar * view-nameRead / Write
Signals
void close Action
void search Action
Types and Values
struct GtkShortcutsWindow
Object Hierarchy
GObject
╰── GInitiallyUnowned
╰── GtkWidget
╰── GtkContainer
╰── GtkBin
╰── GtkWindow
╰── GtkShortcutsWindow
Implemented Interfaces
GtkShortcutsWindow implements
AtkImplementorIface, GtkBuildable, GtkConstraintTarget, GtkNative and GtkRoot.
Includes #include <gtk/gtk.h>
Description
A GtkShortcutsWindow shows brief information about the keyboard shortcuts
and gestures of an application. The shortcuts can be grouped, and you can
have multiple sections in this window, corresponding to the major modes of
your application.
Additionally, the shortcuts can be filtered by the current view, to avoid
showing information that is not relevant in the current application context.
The recommended way to construct a GtkShortcutsWindow is with GtkBuilder,
by populating a GtkShortcutsWindow with one or more GtkShortcutsSection
objects, which contain GtkShortcutsGroups that in turn contain objects of
class GtkShortcutsShortcut .
A simple example:
This example has as single section. As you can see, the shortcut groups
are arranged in columns, and spread across several pages if there are too
many to find on a single page.
The .ui file for this example can be found here .
An example with multiple views:
This example shows a GtkShortcutsWindow that has been configured to show only
the shortcuts relevant to the "stopwatch" view.
The .ui file for this example can be found here .
An example with multiple sections:
This example shows a GtkShortcutsWindow with two sections, "Editor Shortcuts"
and "Terminal Shortcuts".
The .ui file for this example can be found here .
Functions
Property Details
The “section-name” property
GtkShortcutsWindow:section-name
“section-name” gchar *
The name of the section to show.
This should be the section-name of one of the GtkShortcutsSection
objects that are in this shortcuts window.
Owner: GtkShortcutsWindow
Flags: Read / Write
Default value: "internal-search"
The “view-name” property
GtkShortcutsWindow:view-name
“view-name” gchar *
The view name by which to filter the contents.
This should correspond to the “view” property of some of
the GtkShortcutsGroup objects that are inside this shortcuts window.
Set this to NULL to show all groups.
Owner: GtkShortcutsWindow
Flags: Read / Write
Default value: NULL
Signal Details
The “close” signal
GtkShortcutsWindow::close
void
user_function (GtkShortcutsWindow *shortcutswindow,
gpointer user_data)
The ::close signal is a
keybinding signal
which gets emitted when the user uses a keybinding to close
the window.
The default binding for this signal is the Escape key.
Parameters
user_data
user data set when the signal handler was connected.
Flags: Action
The “search” signal
GtkShortcutsWindow::search
void
user_function (GtkShortcutsWindow *shortcutswindow,
gpointer user_data)
The ::search signal is a
keybinding signal
which gets emitted when the user uses a keybinding to start a search.
The default binding for this signal is Control-F.
Parameters
user_data
user data set when the signal handler was connected.
Flags: Action
docs/reference/gtk/xml/gtkorientable.xml 0000664 0001750 0001750 00000021210 13617646204 020542 0 ustar mclasen mclasen
]>
GtkOrientable
3
GTK4 Library
GtkOrientable
An interface for flippable widgets
Functions
GtkOrientation
gtk_orientable_get_orientation ()
void
gtk_orientable_set_orientation ()
Properties
GtkOrientation orientationRead / Write
Types and Values
GtkOrientable
Object Hierarchy
GInterface
╰── GtkOrientable
Prerequisites
GtkOrientable requires
GObject.
Known Implementations
GtkOrientable is implemented by
GtkBox, GtkBoxLayout, GtkCellAreaBox, GtkCellRendererProgress, GtkCellView, GtkFlowBox, GtkGrid, GtkLevelBar, GtkPaned, GtkProgressBar, GtkRange, GtkScale, GtkScaleButton, GtkScrollbar, GtkSeparator, GtkShortcutsGroup, GtkShortcutsSection, GtkSpinButton and GtkVolumeButton.
Includes #include <gtk/gtk.h>
Description
The GtkOrientable interface is implemented by all widgets that can be
oriented horizontally or vertically. GtkOrientable is more flexible in that
it allows the orientation to be changed at runtime, allowing the widgets
to “flip”.
GtkOrientable was introduced in GTK+ 2.16.
Functions
gtk_orientable_get_orientation ()
gtk_orientable_get_orientation
GtkOrientation
gtk_orientable_get_orientation (GtkOrientable *orientable );
Retrieves the orientation of the orientable
.
Parameters
orientable
a GtkOrientable
Returns
the orientation of the orientable
.
gtk_orientable_set_orientation ()
gtk_orientable_set_orientation
void
gtk_orientable_set_orientation (GtkOrientable *orientable ,
GtkOrientation orientation );
Sets the orientation of the orientable
.
Parameters
orientable
a GtkOrientable
orientation
the orientable’s new orientation.
Property Details
The “orientation” property
GtkOrientable:orientation
“orientation” GtkOrientation
The orientation of the orientable.
Owner: GtkOrientable
Flags: Read / Write
Default value: GTK_ORIENTATION_HORIZONTAL
docs/reference/gtk/xml/gtkshortcutssection.xml 0000664 0001750 0001750 00000022564 13617646205 022057 0 ustar mclasen mclasen
]>
GtkShortcutsSection
3
GTK4 Library
GtkShortcutsSection
Represents an application mode in a GtkShortcutsWindow
Properties
guint max-heightRead / Write
gchar * section-nameRead / Write
gchar * titleRead / Write
gchar * view-nameRead / Write
Signals
gboolean change-current-page Action
Types and Values
GtkShortcutsSection
Object Hierarchy
GObject
╰── GInitiallyUnowned
╰── GtkWidget
╰── GtkContainer
╰── GtkBox
╰── GtkShortcutsSection
Implemented Interfaces
GtkShortcutsSection implements
AtkImplementorIface, GtkBuildable, GtkConstraintTarget and GtkOrientable.
Includes #include <gtk/gtk.h>
Description
A GtkShortcutsSection collects all the keyboard shortcuts and gestures
for a major application mode. If your application needs multiple sections,
you should give each section a unique “section-name” and
a “title” that can be shown in the section selector of
the GtkShortcutsWindow.
The “max-height” property can be used to influence how
the groups in the section are distributed over pages and columns.
This widget is only meant to be used with GtkShortcutsWindow .
Functions
Property Details
The “max-height” property
GtkShortcutsSection:max-height
“max-height” guint
The maximum number of lines to allow per column. This property can
be used to influence how the groups in this section are distributed
across pages and columns. The default value of 15 should work in
most cases.
Owner: GtkShortcutsSection
Flags: Read / Write
Default value: 15
The “section-name” property
GtkShortcutsSection:section-name
“section-name” gchar *
A unique name to identify this section among the sections
added to the GtkShortcutsWindow. Setting the “section-name”
property to this string will make this section shown in the
GtkShortcutsWindow.
Owner: GtkShortcutsSection
Flags: Read / Write
Default value: NULL
The “title” property
GtkShortcutsSection:title
“title” gchar *
The string to show in the section selector of the GtkShortcutsWindow
for this section. If there is only one section, you don't need to
set a title, since the section selector will not be shown in this case.
Owner: GtkShortcutsSection
Flags: Read / Write
Default value: NULL
The “view-name” property
GtkShortcutsSection:view-name
“view-name” gchar *
A view name to filter the groups in this section by.
See “view” .
Applications are expected to use the “view-name”
property for this purpose.
Owner: GtkShortcutsSection
Flags: Read / Write
Default value: NULL
Signal Details
The “change-current-page” signal
GtkShortcutsSection::change-current-page
gboolean
user_function (GtkShortcutsSection *shortcutssection,
gint arg1,
gpointer user_data)
Flags: Action
docs/reference/gtk/xml/gtkapplication.xml 0000664 0001750 0001750 00000205133 13617646204 020731 0 ustar mclasen mclasen
]>
GtkApplication
3
GTK4 Library
GtkApplication
Application class
Functions
GtkApplication *
gtk_application_new ()
void
gtk_application_add_window ()
void
gtk_application_remove_window ()
GList *
gtk_application_get_windows ()
GtkWindow *
gtk_application_get_window_by_id ()
GtkWindow *
gtk_application_get_active_window ()
guint
gtk_application_inhibit ()
void
gtk_application_uninhibit ()
gboolean
gtk_application_prefers_app_menu ()
GMenuModel *
gtk_application_get_app_menu ()
void
gtk_application_set_app_menu ()
GMenuModel *
gtk_application_get_menubar ()
void
gtk_application_set_menubar ()
GMenu *
gtk_application_get_menu_by_id ()
gchar **
gtk_application_list_action_descriptions ()
gchar **
gtk_application_get_accels_for_action ()
void
gtk_application_set_accels_for_action ()
gchar **
gtk_application_get_actions_for_accel ()
Properties
GtkWindow * active-windowRead
GMenuModel * app-menuRead / Write
GMenuModel * menubarRead / Write
gboolean register-sessionRead / Write
gboolean screensaver-activeRead
Signals
void query-end Run First
void window-added Run First
void window-removed Run First
Types and Values
struct GtkApplication
struct GtkApplicationClass
enum GtkApplicationInhibitFlags
Object Hierarchy
GObject
╰── GApplication
╰── GtkApplication
Implemented Interfaces
GtkApplication implements
GActionGroup and GActionMap.
Includes #include <gtk/gtk.h>
Description
GtkApplication is a class that handles many important aspects
of a GTK+ application in a convenient fashion, without enforcing
a one-size-fits-all application model.
Currently, GtkApplication handles GTK initialization, application
uniqueness, session management, provides some basic scriptability and
desktop shell integration by exporting actions and menus and manages a
list of toplevel windows whose life-cycle is automatically tied to the
life-cycle of your application.
While GtkApplication works fine with plain GtkWindows , it is recommended
to use it together with GtkApplicationWindow .
When GDK threads are enabled, GtkApplication will acquire the GDK
lock when invoking actions that arrive from other processes. The GDK
lock is not touched for local action invocations. In order to have
actions invoked in a predictable context it is therefore recommended
that the GDK lock be held while invoking actions locally with
g_action_group_activate_action() . The same applies to actions
associated with GtkApplicationWindow and to the “activate” and
“open” GApplication methods.
Automatic resources GtkApplication will automatically load menus from the GtkBuilder
resource located at "gtk/menus.ui", relative to the application's
resource base path (see g_application_set_resource_base_path() ). The
menu with the ID "app-menu" is taken as the application's app menu
and the menu with the ID "menubar" is taken as the application's
menubar. Additional menus (most interesting submenus) can be named
and accessed via gtk_application_get_menu_by_id() which allows for
dynamic population of a part of the menu structure.
If the resources "gtk/menus-appmenu.ui" or "gtk/menus-traditional.ui" are
present then these files will be used in preference, depending on the value
of gtk_application_prefers_app_menu() . If the resource "gtk/menus-common.ui"
is present it will be loaded as well. This is useful for storing items that
are referenced from both "gtk/menus-appmenu.ui" and
"gtk/menus-traditional.ui".
It is also possible to provide the menus manually using
gtk_application_set_app_menu() and gtk_application_set_menubar() .
GtkApplication will also automatically setup an icon search path for
the default icon theme by appending "icons" to the resource base
path. This allows your application to easily store its icons as
resources. See gtk_icon_theme_add_resource_path() for more
information.
If there is a resource located at "gtk/help-overlay.ui" which
defines a GtkShortcutsWindow with ID "help_overlay" then GtkApplication
associates an instance of this shortcuts window with each
GtkApplicationWindow and sets up the keyboard accelerator Control-?
to open it. To create a menu item that displays the
shortcuts window, associate the item with the action win.show-help-overlay.
A simple application A simple example
GtkApplication optionally registers with a session manager
of the users session (if you set the “register-session”
property) and offers various functionality related to the session
life-cycle.
An application can block various ways to end the session with
the gtk_application_inhibit() function. Typical use cases for
this kind of inhibiting are long-running, uninterruptible operations,
such as burning a CD or performing a disk backup. The session
manager may not honor the inhibitor, but it can be expected to
inform the user about the negative consequences of ending the
session while inhibitors are present.
See Also HowDoI: Using GtkApplication ,
Getting Started with GTK: Basics
Functions
gtk_application_new ()
gtk_application_new
GtkApplication *
gtk_application_new (const gchar *application_id ,
GApplicationFlags flags );
Creates a new GtkApplication instance.
When using GtkApplication , it is not necessary to call gtk_init()
manually. It is called as soon as the application gets registered as
the primary instance.
Concretely, gtk_init() is called in the default handler for the
“startup” signal. Therefore, GtkApplication subclasses should
chain up in their “startup” handler before using any GTK+ API.
Note that commandline arguments are not passed to gtk_init() .
All GTK+ functionality that is available via commandline arguments
can also be achieved by setting suitable environment variables
such as G_DEBUG , so this should not be a big
problem. If you absolutely must support GTK+ commandline arguments,
you can explicitly call gtk_init() before creating the application
instance.
If non-NULL , the application ID must be valid. See
g_application_id_is_valid() .
If no application ID is given then some features (most notably application
uniqueness) will be disabled. A null application ID is only allowed with
GTK+ 3.6 or later.
Parameters
application_id
The application ID.
[allow-none ]
flags
the application flags
Returns
a new GtkApplication instance
gtk_application_add_window ()
gtk_application_add_window
void
gtk_application_add_window (GtkApplication *application ,
GtkWindow *window );
Adds a window to application
.
This call can only happen after the application
has started;
typically, you should add new application windows in response
to the emission of the “activate” signal.
This call is equivalent to setting the “application”
property of window
to application
.
Normally, the connection between the application and the window
will remain until the window is destroyed, but you can explicitly
remove it with gtk_application_remove_window() .
GTK+ will keep the application
running as long as it has
any windows.
Parameters
application
a GtkApplication
window
a GtkWindow
gtk_application_remove_window ()
gtk_application_remove_window
void
gtk_application_remove_window (GtkApplication *application ,
GtkWindow *window );
Remove a window from application
.
If window
belongs to application
then this call is equivalent to
setting the “application” property of window
to
NULL .
The application may stop running as a result of a call to this
function.
Parameters
application
a GtkApplication
window
a GtkWindow
gtk_application_get_windows ()
gtk_application_get_windows
GList *
gtk_application_get_windows (GtkApplication *application );
Gets a list of the GtkWindows associated with application
.
The list is sorted by most recently focused window, such that the first
element is the currently focused window. (Useful for choosing a parent
for a transient window.)
The list that is returned should not be modified in any way. It will
only remain valid until the next focus change or window creation or
deletion.
Parameters
application
a GtkApplication
Returns
a GList of GtkWindow .
[element-type GtkWindow][transfer none ]
gtk_application_get_window_by_id ()
gtk_application_get_window_by_id
GtkWindow *
gtk_application_get_window_by_id (GtkApplication *application ,
guint id );
Returns the GtkApplicationWindow with the given ID.
The ID of a GtkApplicationWindow can be retrieved with
gtk_application_window_get_id() .
Parameters
application
a GtkApplication
id
an identifier number
Returns
the window with ID id
, or
NULL if there is no window with this ID.
[nullable ][transfer none ]
gtk_application_get_active_window ()
gtk_application_get_active_window
GtkWindow *
gtk_application_get_active_window (GtkApplication *application );
Gets the “active” window for the application.
The active window is the one that was most recently focused (within
the application). This window may not have the focus at the moment
if another application has it — this is just the most
recently-focused window within this application.
Parameters
application
a GtkApplication
Returns
the active window, or NULL if
there isn't one.
[transfer none ][nullable ]
gtk_application_inhibit ()
gtk_application_inhibit
guint
gtk_application_inhibit (GtkApplication *application ,
GtkWindow *window ,
GtkApplicationInhibitFlags flags ,
const gchar *reason );
Inform the session manager that certain types of actions should be
inhibited. This is not guaranteed to work on all platforms and for
all types of actions.
Applications should invoke this method when they begin an operation
that should not be interrupted, such as creating a CD or DVD. The
types of actions that may be blocked are specified by the flags
parameter. When the application completes the operation it should
call gtk_application_uninhibit() to remove the inhibitor. Note that
an application can have multiple inhibitors, and all of them must
be individually removed. Inhibitors are also cleared when the
application exits.
Applications should not expect that they will always be able to block
the action. In most cases, users will be given the option to force
the action to take place.
Reasons should be short and to the point.
If window
is given, the session manager may point the user to
this window to find out more about why the action is inhibited.
Parameters
application
the GtkApplication
window
a GtkWindow , or NULL .
[allow-none ]
flags
what types of actions should be inhibited
reason
a short, human-readable string that explains
why these operations are inhibited.
[allow-none ]
Returns
A non-zero cookie that is used to uniquely identify this
request. It should be used as an argument to gtk_application_uninhibit()
in order to remove the request. If the platform does not support
inhibiting or the request failed for some reason, 0 is returned.
gtk_application_uninhibit ()
gtk_application_uninhibit
void
gtk_application_uninhibit (GtkApplication *application ,
guint cookie );
Removes an inhibitor that has been established with gtk_application_inhibit() .
Inhibitors are also cleared when the application exits.
Parameters
application
the GtkApplication
cookie
a cookie that was returned by gtk_application_inhibit()
gtk_application_list_action_descriptions ()
gtk_application_list_action_descriptions
gchar **
gtk_application_list_action_descriptions
(GtkApplication *application );
Lists the detailed action names which have associated accelerators.
See gtk_application_set_accels_for_action() .
Parameters
application
a GtkApplication
Returns
a NULL -terminated array of strings,
free with g_strfreev() when done.
[transfer full ]
gtk_application_get_accels_for_action ()
gtk_application_get_accels_for_action
gchar **
gtk_application_get_accels_for_action (GtkApplication *application ,
const gchar *detailed_action_name );
Gets the accelerators that are currently associated with
the given action.
Parameters
application
a GtkApplication
detailed_action_name
a detailed action name, specifying an action
and target to obtain accelerators for
Returns
accelerators for detailed_action_name
, as
a NULL -terminated array. Free with g_strfreev() when no longer needed.
[transfer full ]
gtk_application_set_accels_for_action ()
gtk_application_set_accels_for_action
void
gtk_application_set_accels_for_action (GtkApplication *application ,
const gchar *detailed_action_name ,
const gchar * const *accels );
Sets zero or more keyboard accelerators that will trigger the
given action. The first item in accels
will be the primary
accelerator, which may be displayed in the UI.
To remove all accelerators for an action, use an empty, zero-terminated
array for accels
.
For the detailed_action_name
, see g_action_parse_detailed_name() and
g_action_print_detailed_name() .
Parameters
application
a GtkApplication
detailed_action_name
a detailed action name, specifying an action
and target to associate accelerators with
accels
a list of accelerators in the format
understood by gtk_accelerator_parse() .
[array zero-terminated=1]
gtk_application_get_actions_for_accel ()
gtk_application_get_actions_for_accel
gchar **
gtk_application_get_actions_for_accel (GtkApplication *application ,
const gchar *accel );
Returns the list of actions (possibly empty) that accel
maps to.
Each item in the list is a detailed action name in the usual form.
This might be useful to discover if an accel already exists in
order to prevent installation of a conflicting accelerator (from
an accelerator editor or a plugin system, for example). Note that
having more than one action per accelerator may not be a bad thing
and might make sense in cases where the actions never appear in the
same context.
In case there are no actions for a given accelerator, an empty array
is returned. NULL is never returned.
It is a programmer error to pass an invalid accelerator string.
If you are unsure, check it with gtk_accelerator_parse() first.
Parameters
application
a GtkApplication
accel
an accelerator that can be parsed by gtk_accelerator_parse()
Returns
a NULL -terminated array of actions for accel
.
[transfer full ]
Property Details
The “active-window” property
GtkApplication:active-window
“active-window” GtkWindow *
The window which most recently had focus. Owner: GtkApplication
Flags: Read
The “register-session” property
GtkApplication:register-session
“register-session” gboolean
Set this property to TRUE to register with the session manager.
This will make GTK+ track the session state (such as the
“screensaver-active” property).
Owner: GtkApplication
Flags: Read / Write
Default value: FALSE
The “screensaver-active” property
GtkApplication:screensaver-active
“screensaver-active” gboolean
This property is TRUE if GTK+ believes that the screensaver is
currently active. GTK+ only tracks session state (including this)
when “register-session” is set to TRUE .
Tracking the screensaver state is supported on Linux.
Owner: GtkApplication
Flags: Read
Default value: FALSE
Since: 3.24
Signal Details
The “query-end” signal
GtkApplication::query-end
void
user_function (GtkApplication *application,
gpointer user_data)
Emitted when the session manager is about to end the session, only
if “register-session” is TRUE . Applications can
connect to this signal and call gtk_application_inhibit() with
GTK_APPLICATION_INHIBIT_LOGOUT to delay the end of the session
until state has been saved.
Parameters
application
the GtkApplication which emitted the signal
user_data
user data set when the signal handler was connected.
Flags: Run First
The “window-added” signal
GtkApplication::window-added
void
user_function (GtkApplication *application,
GtkWindow *window,
gpointer user_data)
Emitted when a GtkWindow is added to application
through
gtk_application_add_window() .
Parameters
application
the GtkApplication which emitted the signal
window
the newly-added GtkWindow
user_data
user data set when the signal handler was connected.
Flags: Run First
The “window-removed” signal
GtkApplication::window-removed
void
user_function (GtkApplication *application,
GtkWindow *window,
gpointer user_data)
Emitted when a GtkWindow is removed from application
,
either as a side-effect of being destroyed or explicitly
through gtk_application_remove_window() .
Parameters
application
the GtkApplication which emitted the signal
window
the GtkWindow that is being removed
user_data
user data set when the signal handler was connected.
Flags: Run First
docs/reference/gtk/xml/gtkshortcutsgroup.xml 0000664 0001750 0001750 00000017650 13617646205 021547 0 ustar mclasen mclasen
]>
GtkShortcutsGroup
3
GTK4 Library
GtkShortcutsGroup
Represents a group of shortcuts in a GtkShortcutsWindow
Properties
GtkSizeGroup * accel-size-groupWrite
guint heightRead
gchar * titleRead / Write
GtkSizeGroup * title-size-groupWrite
gchar * viewRead / Write
Types and Values
GtkShortcutsGroup
Object Hierarchy
GObject
╰── GInitiallyUnowned
╰── GtkWidget
╰── GtkContainer
╰── GtkBox
╰── GtkShortcutsGroup
Implemented Interfaces
GtkShortcutsGroup implements
AtkImplementorIface, GtkBuildable, GtkConstraintTarget and GtkOrientable.
Includes #include <gtk/gtk.h>
Description
A GtkShortcutsGroup represents a group of related keyboard shortcuts
or gestures. The group has a title. It may optionally be associated with
a view of the application, which can be used to show only relevant shortcuts
depending on the application context.
This widget is only meant to be used with GtkShortcutsWindow .
Functions
Property Details
The “accel-size-group” property
GtkShortcutsGroup:accel-size-group
“accel-size-group” GtkSizeGroup *
The size group for the accelerator portion of shortcuts in this group.
This is used internally by GTK+, and must not be modified by applications.
Owner: GtkShortcutsGroup
Flags: Write
The “height” property
GtkShortcutsGroup:height
“height” guint
A rough measure for the number of lines in this group.
This is used internally by GTK+, and is not useful for applications.
Owner: GtkShortcutsGroup
Flags: Read
Default value: 1
The “title” property
GtkShortcutsGroup:title
“title” gchar *
The title for this group of shortcuts.
Owner: GtkShortcutsGroup
Flags: Read / Write
Default value: ""
The “title-size-group” property
GtkShortcutsGroup:title-size-group
“title-size-group” GtkSizeGroup *
The size group for the textual portion of shortcuts in this group.
This is used internally by GTK+, and must not be modified by applications.
Owner: GtkShortcutsGroup
Flags: Write
The “view” property
GtkShortcutsGroup:view
“view” gchar *
An optional view that the shortcuts in this group are relevant for.
The group will be hidden if the “view-name” property
does not match the view of this group.
Set this to NULL to make the group always visible.
Owner: GtkShortcutsGroup
Flags: Read / Write
Default value: NULL
docs/reference/gtk/xml/gtkapplicationwindow.xml 0000664 0001750 0001750 00000057311 13617646204 022164 0 ustar mclasen mclasen
]>
GtkApplicationWindow
3
GTK4 Library
GtkApplicationWindow
GtkWindow subclass with GtkApplication support
Functions
GtkWidget *
gtk_application_window_new ()
void
gtk_application_window_set_show_menubar ()
gboolean
gtk_application_window_get_show_menubar ()
guint
gtk_application_window_get_id ()
void
gtk_application_window_set_help_overlay ()
GtkShortcutsWindow *
gtk_application_window_get_help_overlay ()
Properties
gboolean show-menubarRead / Write / Construct
Types and Values
struct GtkApplicationWindow
struct GtkApplicationWindowClass
Object Hierarchy
GObject
╰── GInitiallyUnowned
╰── GtkWidget
╰── GtkContainer
╰── GtkBin
╰── GtkWindow
╰── GtkApplicationWindow
Implemented Interfaces
GtkApplicationWindow implements
AtkImplementorIface, GtkBuildable, GtkConstraintTarget, GtkNative, GtkRoot, GActionGroup and GActionMap.
Includes #include <gtk/gtk.h>
Description
GtkApplicationWindow is a GtkWindow subclass that offers some
extra functionality for better integration with GtkApplication
features. Notably, it can handle both the application menu as well
as the menubar. See gtk_application_set_app_menu() and
gtk_application_set_menubar() .
This class implements the GActionGroup and GActionMap interfaces,
to let you add window-specific actions that will be exported by the
associated GtkApplication , together with its application-wide
actions. Window-specific actions are prefixed with the “win.”
prefix and application-wide actions are prefixed with the “app.”
prefix. Actions must be addressed with the prefixed name when
referring to them from a GMenuModel .
Note that widgets that are placed inside a GtkApplicationWindow
can also activate these actions, if they implement the
GtkActionable interface.
As with GtkApplication , the GDK lock will be acquired when
processing actions arriving from other processes and should therefore
be held when activating actions locally (if GDK threads are enabled).
The settings “gtk-shell-shows-app-menu” and
“gtk-shell-shows-menubar” tell GTK+ whether the
desktop environment is showing the application menu and menubar
models outside the application as part of the desktop shell.
For instance, on OS X, both menus will be displayed remotely;
on Windows neither will be. gnome-shell (starting with version 3.4)
will display the application menu, but not the menubar.
If the desktop environment does not display the menubar, then
GtkApplicationWindow will automatically show a menubar for it.
This behaviour can be overridden with the “show-menubar”
property. If the desktop environment does not display the application
menu, then it will automatically be included in the menubar or in the
windows client-side decorations.
A GtkApplicationWindow with a menubar "
" "
"",
-1);
GMenuModel *menubar = G_MENU_MODEL (gtk_builder_get_object (builder,
"menubar"));
gtk_application_set_menubar (GTK_APPLICATION (app), menubar);
g_object_unref (builder);
// ...
GtkWidget *window = gtk_application_window_new (app);
]]>
Handling fallback yourself A simple example
The XML format understood by GtkBuilder for GMenuModel consists
of a toplevel <menu> element, which contains one or more <item>
elements. Each <item> element contains <attribute> and <link>
elements with a mandatory name attribute. <link> elements have the
same content model as <menu> . Instead of <link name="submenu> or
<link name="section"> , you can use <submenu> or <section>
elements.
Attribute values can be translated using gettext, like other GtkBuilder
content. <attribute> elements can be marked for translation with a
translatable="yes" attribute. It is also possible to specify message
context and translator comments, using the context and comments attributes.
To make use of this, the GtkBuilder must have been given the gettext
domain to use.
The following attributes are used when constructing menu items:
"label": a user-visible string to display
"action": the prefixed name of the action to trigger
"target": the parameter to use when activating the action
"icon" and "verb-icon": names of icons that may be displayed
"submenu-action": name of an action that may be used to determine
if a submenu can be opened
"hidden-when": a string used to determine when the item will be hidden.
Possible values include "action-disabled", "action-missing", "macos-menubar".
The following attributes are used when constructing sections:
"label": a user-visible string to use as section heading
"display-hint": a string used to determine special formatting for the section.
Possible values include "horizontal-buttons", "circular-buttons" and "inline-buttons". They all indicate that section should be
displayed as a horizontal row of buttons.
"text-direction": a string used to determine the GtkTextDirection to use
when "display-hint" is set to "horizontal-buttons". Possible values
include "rtl", "ltr", and "none".
The following attributes are used when constructing submenus:
"label": a user-visible string to display
"icon": icon name to display
Functions
gtk_application_window_new ()
gtk_application_window_new
GtkWidget *
gtk_application_window_new (GtkApplication *application );
Creates a new GtkApplicationWindow .
Parameters
application
a GtkApplication
Returns
a newly created GtkApplicationWindow
gtk_application_window_get_id ()
gtk_application_window_get_id
guint
gtk_application_window_get_id (GtkApplicationWindow *window );
Returns the unique ID of the window. If the window has not yet been added to
a GtkApplication , returns 0 .
Parameters
window
a GtkApplicationWindow
Returns
the unique ID for window
, or 0 if the window
has not yet been added to a GtkApplication
gtk_application_window_set_help_overlay ()
gtk_application_window_set_help_overlay
void
gtk_application_window_set_help_overlay
(GtkApplicationWindow *window ,
GtkShortcutsWindow *help_overlay );
Associates a shortcuts window with the application window, and
sets up an action with the name win.show-help-overlay to present
it.
window
takes resposibility for destroying help_overlay
.
Parameters
window
a GtkApplicationWindow
help_overlay
a GtkShortcutsWindow .
[nullable ]
gtk_application_window_get_help_overlay ()
gtk_application_window_get_help_overlay
GtkShortcutsWindow *
gtk_application_window_get_help_overlay
(GtkApplicationWindow *window );
Gets the GtkShortcutsWindow that has been set up with
a prior call to gtk_application_window_set_help_overlay() .
Parameters
window
a GtkApplicationWindow
Returns
the help overlay associated with window
, or NULL .
[transfer none ][nullable ]
Property Details
docs/reference/gtk/xml/gtkshortcutsshortcut.xml 0000664 0001750 0001750 00000035241 13617646205 022262 0 ustar mclasen mclasen
]>
GtkShortcutsShortcut
3
GTK4 Library
GtkShortcutsShortcut
Represents a keyboard shortcut in a GtkShortcutsWindow
Properties
GtkSizeGroup * accel-size-groupWrite
gchar * acceleratorRead / Write
gchar * action-nameRead / Write
GtkTextDirection directionRead / Write
GIcon * iconRead / Write
gboolean icon-setRead / Write
GtkShortcutType shortcut-typeRead / Write
gchar * subtitleRead / Write
gboolean subtitle-setRead / Write
gchar * titleRead / Write
GtkSizeGroup * title-size-groupWrite
Types and Values
GtkShortcutsShortcut
enum GtkShortcutType
Object Hierarchy
GObject
╰── GInitiallyUnowned
╰── GtkWidget
╰── GtkShortcutsShortcut
Implemented Interfaces
GtkShortcutsShortcut implements
AtkImplementorIface, GtkBuildable and GtkConstraintTarget.
Includes #include <gtk/gtk.h>
Description
A GtkShortcutsShortcut represents a single keyboard shortcut or gesture
with a short text. This widget is only meant to be used with GtkShortcutsWindow .
Functions
Property Details
The “accel-size-group” property
GtkShortcutsShortcut:accel-size-group
“accel-size-group” GtkSizeGroup *
The size group for the accelerator portion of this shortcut.
This is used internally by GTK+, and must not be modified by applications.
Owner: GtkShortcutsShortcut
Flags: Write
The “accelerator” property
GtkShortcutsShortcut:accelerator
“accelerator” gchar *
The accelerator(s) represented by this object. This property is used
if “shortcut-type” is set to GTK_SHORTCUT_ACCELERATOR .
The syntax of this property is (an extension of) the syntax understood by
gtk_accelerator_parse() . Multiple accelerators can be specified by separating
them with a space, but keep in mind that the available width is limited.
It is also possible to specify ranges of shortcuts, using ... between the keys.
Sequences of keys can be specified using a + or & between the keys.
Examples:
A single shortcut: <ctl><alt>delete
Two alternative shortcuts: <shift>a Home
A range of shortcuts: <alt>1...<alt>9
Several keys pressed together: Control_L&Control_R
A sequence of shortcuts or keys: <ctl>c+<ctl>x
Use + instead of & when the keys may (or have to be) pressed sequentially (e.g
use t+t for 'press the t key twice').
Note that <, > and & need to be escaped as <, > and & when used
in .ui files.
Owner: GtkShortcutsShortcut
Flags: Read / Write
Default value: NULL
The “action-name” property
GtkShortcutsShortcut:action-name
“action-name” gchar *
A detailed action name. If this is set for a shortcut
of type GTK_SHORTCUT_ACCELERATOR , then GTK+ will use
the accelerators that are associated with the action
via gtk_application_set_accels_for_action() , and setting
“accelerator” is not necessary.
Owner: GtkShortcutsShortcut
Flags: Read / Write
Default value: NULL
The “direction” property
GtkShortcutsShortcut:direction
“direction” GtkTextDirection
The text direction for which this shortcut is active. If the shortcut
is used regardless of the text direction, set this property to
GTK_TEXT_DIR_NONE .
Owner: GtkShortcutsShortcut
Flags: Read / Write
Default value: GTK_TEXT_DIR_NONE
The “icon” property
GtkShortcutsShortcut:icon
“icon” GIcon *
An icon to represent the shortcut or gesture. This property is used if
“shortcut-type” is set to GTK_SHORTCUT_GESTURE .
For the other predefined gesture types, GTK+ provides an icon on its own.
Owner: GtkShortcutsShortcut
Flags: Read / Write
The “icon-set” property
GtkShortcutsShortcut:icon-set
“icon-set” gboolean
TRUE if an icon has been set.
Owner: GtkShortcutsShortcut
Flags: Read / Write
Default value: FALSE
The “shortcut-type” property
GtkShortcutsShortcut:shortcut-type
“shortcut-type” GtkShortcutType
The type of shortcut that is represented.
Owner: GtkShortcutsShortcut
Flags: Read / Write
Default value: GTK_SHORTCUT_ACCELERATOR
The “subtitle” property
GtkShortcutsShortcut:subtitle
“subtitle” gchar *
The subtitle for the shortcut or gesture.
This is typically used for gestures and should be a short, one-line
text that describes the gesture itself. For the predefined gesture
types, GTK+ provides a subtitle on its own.
Owner: GtkShortcutsShortcut
Flags: Read / Write
Default value: ""
The “subtitle-set” property
GtkShortcutsShortcut:subtitle-set
“subtitle-set” gboolean
TRUE if a subtitle has been set.
Owner: GtkShortcutsShortcut
Flags: Read / Write
Default value: FALSE
The “title” property
GtkShortcutsShortcut:title
“title” gchar *
The textual description for the shortcut or gesture represented by
this object. This should be a short string that can fit in a single line.
Owner: GtkShortcutsShortcut
Flags: Read / Write
Default value: ""
The “title-size-group” property
GtkShortcutsShortcut:title-size-group
“title-size-group” GtkSizeGroup *
The size group for the textual portion of this shortcut.
This is used internally by GTK+, and must not be modified by applications.
Owner: GtkShortcutsShortcut
Flags: Write
docs/reference/gtk/xml/gtkactionable.xml 0000664 0001750 0001750 00000051655 13617646204 020537 0 ustar mclasen mclasen
]>
GtkActionable
3
GTK4 Library
GtkActionable
An interface for widgets that can be associated
with actions
Functions
const gchar *
gtk_actionable_get_action_name ()
void
gtk_actionable_set_action_name ()
GVariant *
gtk_actionable_get_action_target_value ()
void
gtk_actionable_set_action_target_value ()
void
gtk_actionable_set_action_target ()
void
gtk_actionable_set_detailed_action_name ()
Properties
gchar * action-nameRead / Write
GVariant * action-targetRead / Write
Types and Values
GtkActionable
struct GtkActionableInterface
Object Hierarchy
GInterface
╰── GtkActionable
Prerequisites
GtkActionable requires
GtkWidget.
Known Implementations
GtkActionable is implemented by
GtkButton, GtkCheckButton, GtkLinkButton, GtkListBoxRow, GtkLockButton, GtkRadioButton, GtkScaleButton, GtkSwitch, GtkToggleButton and GtkVolumeButton.
Includes #include <gtk/gtk.h>
Description
This interface provides a convenient way of associating widgets with
actions on a GtkApplicationWindow or GtkApplication .
It primarily consists of two properties: “action-name”
and “action-target” . There are also some convenience APIs
for setting these properties.
The action will be looked up in action groups that are found among
the widgets ancestors. Most commonly, these will be the actions with
the “win.” or “app.” prefix that are associated with the GtkApplicationWindow
or GtkApplication , but other action groups that are added with
gtk_widget_insert_action_group() will be consulted as well.
Functions
gtk_actionable_get_action_name ()
gtk_actionable_get_action_name
const gchar *
gtk_actionable_get_action_name (GtkActionable *actionable );
Gets the action name for actionable
.
See gtk_actionable_set_action_name() for more information.
Parameters
actionable
a GtkActionable widget
Returns
the action name, or NULL if none is set.
[nullable ]
gtk_actionable_set_action_name ()
gtk_actionable_set_action_name
void
gtk_actionable_set_action_name (GtkActionable *actionable ,
const gchar *action_name );
Specifies the name of the action with which this widget should be
associated. If action_name
is NULL then the widget will be
unassociated from any previous action.
Usually this function is used when the widget is located (or will be
located) within the hierarchy of a GtkApplicationWindow .
Names are of the form “win.save” or “app.quit” for actions on the
containing GtkApplicationWindow or its associated GtkApplication ,
respectively. This is the same form used for actions in the GMenu
associated with the window.
Parameters
actionable
a GtkActionable widget
action_name
an action name, or NULL .
[nullable ]
gtk_actionable_get_action_target_value ()
gtk_actionable_get_action_target_value
GVariant *
gtk_actionable_get_action_target_value
(GtkActionable *actionable );
Gets the current target value of actionable
.
See gtk_actionable_set_action_target_value() for more information.
Parameters
actionable
a GtkActionable widget
Returns
the current target value.
[transfer none ]
gtk_actionable_set_action_target_value ()
gtk_actionable_set_action_target_value
void
gtk_actionable_set_action_target_value
(GtkActionable *actionable ,
GVariant *target_value );
Sets the target value of an actionable widget.
If target_value
is NULL then the target value is unset.
The target value has two purposes. First, it is used as the
parameter to activation of the action associated with the
GtkActionable widget. Second, it is used to determine if the widget
should be rendered as “active” — the widget is active if the state
is equal to the given target.
Consider the example of associating a set of buttons with a GAction
with string state in a typical “radio button” situation. Each button
will be associated with the same action, but with a different target
value for that action. Clicking on a particular button will activate
the action with the target of that button, which will typically cause
the action’s state to change to that value. Since the action’s state
is now equal to the target value of the button, the button will now
be rendered as active (and the other buttons, with different targets,
rendered inactive).
Parameters
actionable
a GtkActionable widget
target_value
a GVariant to set as the target value, or NULL .
[nullable ]
gtk_actionable_set_action_target ()
gtk_actionable_set_action_target
void
gtk_actionable_set_action_target (GtkActionable *actionable ,
const gchar *format_string ,
... );
Sets the target of an actionable widget.
This is a convenience function that calls g_variant_new() for
format_string
and uses the result to call
gtk_actionable_set_action_target_value() .
If you are setting a string-valued target and want to set the action
name at the same time, you can use
gtk_actionable_set_detailed_action_name() .
Parameters
actionable
a GtkActionable widget
format_string
a GVariant format string
...
arguments appropriate for format_string
gtk_actionable_set_detailed_action_name ()
gtk_actionable_set_detailed_action_name
void
gtk_actionable_set_detailed_action_name
(GtkActionable *actionable ,
const gchar *detailed_action_name );
Sets the action-name and associated string target value of an
actionable widget.
detailed_action_name
is a string in the format accepted by
g_action_parse_detailed_name() .
(Note that prior to version 3.22.25,
this function is only usable for actions with a simple "s" target, and
detailed_action_name
must be of the form "action::target" where
action is the action name and target is the string to use
as the target.)
Parameters
actionable
a GtkActionable widget
detailed_action_name
the detailed action name
Property Details
The “action-name” property
GtkActionable:action-name
“action-name” gchar *
The name of the associated action, like “app.quit”. Owner: GtkActionable
Flags: Read / Write
Default value: NULL
The “action-target” property
GtkActionable:action-target
“action-target” GVariant *
The parameter for action invocations. Owner: GtkActionable
Flags: Read / Write
Allowed values: GVariant<*>
Default value: NULL
docs/reference/gtk/xml/migrating-2to4.xml 0000664 0001750 0001750 00000001232 13617646205 020462 0 ustar mclasen mclasen
]>
Migrating from GTK 2.x to GTK 4
If your application is still using GTK 2, you should first convert it to
GTK 3, by following the migration guide in the GTK 3
documentation, and then follow .
docs/reference/gtk/xml/gtkgrid.xml 0000664 0001750 0001750 00000142160 13617646204 017353 0 ustar mclasen mclasen
]>
GtkGrid
3
GTK4 Library
GtkGrid
Pack widgets in rows and columns
Functions
GtkWidget *
gtk_grid_new ()
void
gtk_grid_attach ()
void
gtk_grid_attach_next_to ()
GtkWidget *
gtk_grid_get_child_at ()
void
gtk_grid_insert_row ()
void
gtk_grid_insert_column ()
void
gtk_grid_remove_row ()
void
gtk_grid_remove_column ()
void
gtk_grid_insert_next_to ()
void
gtk_grid_set_row_homogeneous ()
gboolean
gtk_grid_get_row_homogeneous ()
void
gtk_grid_set_row_spacing ()
guint
gtk_grid_get_row_spacing ()
void
gtk_grid_set_column_homogeneous ()
gboolean
gtk_grid_get_column_homogeneous ()
void
gtk_grid_set_column_spacing ()
guint
gtk_grid_get_column_spacing ()
gint
gtk_grid_get_baseline_row ()
void
gtk_grid_set_baseline_row ()
GtkBaselinePosition
gtk_grid_get_row_baseline_position ()
void
gtk_grid_set_row_baseline_position ()
Properties
gint baseline-rowRead / Write
gboolean column-homogeneousRead / Write
gint column-spacingRead / Write
gboolean row-homogeneousRead / Write
gint row-spacingRead / Write
Types and Values
struct GtkGrid
struct GtkGridClass
Object Hierarchy
GObject
╰── GInitiallyUnowned
╰── GtkWidget
╰── GtkContainer
╰── GtkGrid
Implemented Interfaces
GtkGrid implements
AtkImplementorIface, GtkBuildable, GtkConstraintTarget and GtkOrientable.
Includes #include <gtk/gtk.h>
Description
GtkGrid is a container which arranges its child widgets in
rows and columns, with arbitrary positions and horizontal/vertical spans.
Children are added using gtk_grid_attach() . They can span multiple
rows or columns. It is also possible to add a child next to an
existing child, using gtk_grid_attach_next_to() . The behaviour of
GtkGrid when several children occupy the same grid cell is undefined.
GtkGrid can be used like a GtkBox by just using gtk_container_add() ,
which will place children next to each other in the direction determined
by the “orientation” property. However, if all you want is a
single row or column, then GtkBox is the preferred widget.
CSS nodes GtkGrid uses a single CSS node with name grid.
Functions
gtk_grid_new ()
gtk_grid_new
GtkWidget *
gtk_grid_new (void );
Creates a new grid widget.
Returns
the new GtkGrid
gtk_grid_attach ()
gtk_grid_attach
void
gtk_grid_attach (GtkGrid *grid ,
GtkWidget *child ,
gint left ,
gint top ,
gint width ,
gint height );
Adds a widget to the grid.
The position of child
is determined by left
and top
. The
number of “cells” that child
will occupy is determined by
width
and height
.
Parameters
grid
a GtkGrid
child
the widget to add
left
the column number to attach the left side of child
to
top
the row number to attach the top side of child
to
width
the number of columns that child
will span
height
the number of rows that child
will span
gtk_grid_attach_next_to ()
gtk_grid_attach_next_to
void
gtk_grid_attach_next_to (GtkGrid *grid ,
GtkWidget *child ,
GtkWidget *sibling ,
GtkPositionType side ,
gint width ,
gint height );
Adds a widget to the grid.
The widget is placed next to sibling
, on the side determined by
side
. When sibling
is NULL , the widget is placed in row (for
left or right placement) or column 0 (for top or bottom placement),
at the end indicated by side
.
Attaching widgets labeled [1], [2], [3] with sibling
== NULL and
side
== GTK_POS_LEFT yields a layout of 3[1].
Parameters
grid
a GtkGrid
child
the widget to add
sibling
the child of grid
that child
will be placed
next to, or NULL to place child
at the beginning or end.
[allow-none ]
side
the side of sibling
that child
is positioned next to
width
the number of columns that child
will span
height
the number of rows that child
will span
gtk_grid_get_child_at ()
gtk_grid_get_child_at
GtkWidget *
gtk_grid_get_child_at (GtkGrid *grid ,
gint left ,
gint top );
Gets the child of grid
whose area covers the grid
cell whose upper left corner is at left
, top
.
Parameters
grid
a GtkGrid
left
the left edge of the cell
top
the top edge of the cell
Returns
the child at the given position, or NULL .
[transfer none ][nullable ]
gtk_grid_insert_row ()
gtk_grid_insert_row
void
gtk_grid_insert_row (GtkGrid *grid ,
gint position );
Inserts a row at the specified position.
Children which are attached at or below this position
are moved one row down. Children which span across this
position are grown to span the new row.
Parameters
grid
a GtkGrid
position
the position to insert the row at
gtk_grid_insert_column ()
gtk_grid_insert_column
void
gtk_grid_insert_column (GtkGrid *grid ,
gint position );
Inserts a column at the specified position.
Children which are attached at or to the right of this position
are moved one column to the right. Children which span across this
position are grown to span the new column.
Parameters
grid
a GtkGrid
position
the position to insert the column at
gtk_grid_remove_row ()
gtk_grid_remove_row
void
gtk_grid_remove_row (GtkGrid *grid ,
gint position );
Removes a row from the grid.
Children that are placed in this row are removed,
spanning children that overlap this row have their
height reduced by one, and children below the row
are moved up.
Parameters
grid
a GtkGrid
position
the position of the row to remove
gtk_grid_remove_column ()
gtk_grid_remove_column
void
gtk_grid_remove_column (GtkGrid *grid ,
gint position );
Removes a column from the grid.
Children that are placed in this column are removed,
spanning children that overlap this column have their
width reduced by one, and children after the column
are moved to the left.
Parameters
grid
a GtkGrid
position
the position of the column to remove
gtk_grid_insert_next_to ()
gtk_grid_insert_next_to
void
gtk_grid_insert_next_to (GtkGrid *grid ,
GtkWidget *sibling ,
GtkPositionType side );
Inserts a row or column at the specified position.
The new row or column is placed next to sibling
, on the side
determined by side
. If side
is GTK_POS_TOP or GTK_POS_BOTTOM ,
a row is inserted. If side
is GTK_POS_LEFT of GTK_POS_RIGHT ,
a column is inserted.
Parameters
grid
a GtkGrid
sibling
the child of grid
that the new row or column will be
placed next to
side
the side of sibling
that child
is positioned next to
gtk_grid_set_row_homogeneous ()
gtk_grid_set_row_homogeneous
void
gtk_grid_set_row_homogeneous (GtkGrid *grid ,
gboolean homogeneous );
Sets whether all rows of grid
will have the same height.
Parameters
grid
a GtkGrid
homogeneous
TRUE to make rows homogeneous
gtk_grid_get_row_homogeneous ()
gtk_grid_get_row_homogeneous
gboolean
gtk_grid_get_row_homogeneous (GtkGrid *grid );
Returns whether all rows of grid
have the same height.
Parameters
grid
a GtkGrid
Returns
whether all rows of grid
have the same height.
gtk_grid_set_row_spacing ()
gtk_grid_set_row_spacing
void
gtk_grid_set_row_spacing (GtkGrid *grid ,
guint spacing );
Sets the amount of space between rows of grid
.
Parameters
grid
a GtkGrid
spacing
the amount of space to insert between rows
gtk_grid_get_row_spacing ()
gtk_grid_get_row_spacing
guint
gtk_grid_get_row_spacing (GtkGrid *grid );
Returns the amount of space between the rows of grid
.
Parameters
grid
a GtkGrid
Returns
the row spacing of grid
gtk_grid_set_column_homogeneous ()
gtk_grid_set_column_homogeneous
void
gtk_grid_set_column_homogeneous (GtkGrid *grid ,
gboolean homogeneous );
Sets whether all columns of grid
will have the same width.
Parameters
grid
a GtkGrid
homogeneous
TRUE to make columns homogeneous
gtk_grid_get_column_homogeneous ()
gtk_grid_get_column_homogeneous
gboolean
gtk_grid_get_column_homogeneous (GtkGrid *grid );
Returns whether all columns of grid
have the same width.
Parameters
grid
a GtkGrid
Returns
whether all columns of grid
have the same width.
gtk_grid_set_column_spacing ()
gtk_grid_set_column_spacing
void
gtk_grid_set_column_spacing (GtkGrid *grid ,
guint spacing );
Sets the amount of space between columns of grid
.
Parameters
grid
a GtkGrid
spacing
the amount of space to insert between columns
gtk_grid_get_column_spacing ()
gtk_grid_get_column_spacing
guint
gtk_grid_get_column_spacing (GtkGrid *grid );
Returns the amount of space between the columns of grid
.
Parameters
grid
a GtkGrid
Returns
the column spacing of grid
gtk_grid_get_baseline_row ()
gtk_grid_get_baseline_row
gint
gtk_grid_get_baseline_row (GtkGrid *grid );
Returns which row defines the global baseline of grid
.
Parameters
grid
a GtkGrid
Returns
the row index defining the global baseline
gtk_grid_set_baseline_row ()
gtk_grid_set_baseline_row
void
gtk_grid_set_baseline_row (GtkGrid *grid ,
gint row );
Sets which row defines the global baseline for the entire grid.
Each row in the grid can have its own local baseline, but only
one of those is global, meaning it will be the baseline in the
parent of the grid
.
Parameters
grid
a GtkGrid
row
the row index
gtk_grid_get_row_baseline_position ()
gtk_grid_get_row_baseline_position
GtkBaselinePosition
gtk_grid_get_row_baseline_position (GtkGrid *grid ,
gint row );
Returns the baseline position of row
as set
by gtk_grid_set_row_baseline_position() or the default value
GTK_BASELINE_POSITION_CENTER .
Parameters
grid
a GtkGrid
row
a row index
Returns
the baseline position of row
gtk_grid_set_row_baseline_position ()
gtk_grid_set_row_baseline_position
void
gtk_grid_set_row_baseline_position (GtkGrid *grid ,
gint row ,
GtkBaselinePosition pos );
Sets how the baseline should be positioned on row
of the
grid, in case that row is assigned more space than is requested.
Parameters
grid
a GtkGrid
row
a row index
pos
a GtkBaselinePosition
Property Details
The “baseline-row” property
GtkGrid:baseline-row
“baseline-row” gint
The row to align the to the baseline when valign is GTK_ALIGN_BASELINE. Owner: GtkGrid
Flags: Read / Write
Allowed values: >= 0
Default value: 0
The “column-homogeneous” property
GtkGrid:column-homogeneous
“column-homogeneous” gboolean
If TRUE, the columns are all the same width. Owner: GtkGrid
Flags: Read / Write
Default value: FALSE
The “column-spacing” property
GtkGrid:column-spacing
“column-spacing” gint
The amount of space between two consecutive columns. Owner: GtkGrid
Flags: Read / Write
Allowed values: [0,32767]
Default value: 0
The “row-homogeneous” property
GtkGrid:row-homogeneous
“row-homogeneous” gboolean
If TRUE, the rows are all the same height. Owner: GtkGrid
Flags: Read / Write
Default value: FALSE
The “row-spacing” property
GtkGrid:row-spacing
“row-spacing” gint
The amount of space between two consecutive rows. Owner: GtkGrid
Flags: Read / Write
Allowed values: [0,32767]
Default value: 0
See Also
GtkBox
docs/reference/gtk/xml/migrating-3to4.xml 0000664 0001750 0001750 00000137114 13620320501 020452 0 ustar mclasen mclasen
]>
Migrating from GTK 3.x to GTK 4
GTK 4 is a major new version of GTK that breaks both API and ABI
compared to GTK 3.x. Thankfully, most of the changes are not hard
to adapt to and there are a number of steps that you can take to
prepare your GTK 3.x application for the switch to GTK 4. After
that, there's a number of adjustments that you may have to do
when you actually switch your application to build against GTK 4.
Preparation in GTK 3.x
The steps outlined in the following sections assume that your
application is working with GTK 3.24, which is the final stable
release of GTK 3.x. It includes all the necessary APIs and tools
to help you port your application to GTK 4. If you are using
an older version of GTK 3.x, you should first get your application
to build and work with the latest minor release in the 3.24 series.
Do not use deprecated symbols
Over the years, a number of functions, and in some cases, entire
widgets have been deprecated. These deprecations are clearly spelled
out in the API reference, with hints about the recommended replacements.
The API reference for GTK 3 also includes an
index of all deprecated symbols.
To verify that your program does not use any deprecated symbols,
you can use defines to remove deprecated symbols from the header files,
as follows:
make CFLAGS+="-DGDK_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED"
Note that some parts of our API, such as enumeration values, are
not well covered by the deprecation warnings. In most cases, using
them will require you to also use deprecated functions, which will
trigger warnings.
Enable diagnostic warnings
Deprecations of properties and signals cannot be caught at compile
time, as both properties and signals are installed and used after
types have been instantiated. In order to catch deprecations and
changes in the run time components, you should use the
G_ENABLE_DIAGNOSTIC environment variable when
running your application, e.g.:
G_ENABLE_DIAGNOSTIC=1 ./your-app
Do not use widget style properties
Style properties do not exist in GTK 4. You should stop using them in
your custom CSS and in your code.
Review your window creation flags
GTK 4 removes the GDK_WA_CURSOR flag. Instead, just use
gdk_window_set_cursor() to set a cursor on the window after
creating it.
GTK 4 also removes the GDK_WA_VISUAL flag, and always uses
an RGBA visual for windows. To prepare your code for this, use
gdk_window_set_visual (gdk_screen_get_rgba_visual() )
after creating your window.
GTK 4 also removes the GDK_WA_WMCLASS flag. If you need this
X11-specific functionality, use XSetClassHint() directly.
Stop using non-RGBA visuals
GTK 4 always uses RGBA visuals for its windows; you should make
sure that your code works with that.
At the same time, you should stop using GdkVisual APIs, this object
not longer exist in GTK 4. Most of its APIs are deprecated already
and not useful when dealing with RGBA visuals.
Stop using GtkBox:padding, GtkBox:fill and GtkBox:expand
GTK 4 removes these GtkBox child properties, so you should not use them.
You can replace GtkBox:padding using the “margin” properties
on your GtkBox child widgets.
The fill child property can be replaced by setting appropriate values
for the “halign” and “valign” properties of the child
widgets. If you previously set the fill child property to TRUE , you can
achieve the same effect by setting the halign or valign properties to
GTK_ALIGN_FILL , depending on the parent box -- halign for a horizontal
box, valign for a vertical one.
GtkBox also uses the expand child property. It can be replaced by setting
“hexpand” or “vexpand” on the child widgets. To match the
old behavior of the GtkBox 's expand child property, you need to set
“hexpand” on the child widgets of a horizontal GtkBox and
“vexpand” on the child widgets of a vertical GtkBox .
Note that there's a subtle but important difference between GtkBox 's
expand and fill child properties and the ones in GtkWidget : setting
“hexpand” or “vexpand” to TRUE will propagate up
the widget hierarchy, so a pixel-perfect port might require you to reset
the expansion flags to FALSE in a parent widget higher up the hierarchy.
Stop using the state argument of GtkStyleContext getters
The getters in the GtkStyleContext API, such as
gtk_style_context_get_property() , gtk_style_context_get() ,
or gtk_style_context_get_color() only accept the context's current
state for their state argument. You should update all callers to pass
the current state.
Stop using gdk_pixbuf_get_from_window() and gdk_cairo_set_source_surface()
These functions are not supported in GTK 4. Instead, either use backend-specific
APIs, or render your widgets using gtk_widget_render() .
Stop using GtkButton's image-related API
The functions and properties related to automatically add a GtkImage
to a GtkButton, and using a GtkSetting to control its visibility, are
not supported in GTK 4. Instead, you can just pack a GtkImage inside
a GtkButton, and control its visibility like you would for any other
widget. If you only want to add a named icon to a GtkButton, you can
use gtk_button_set_icon_name() .
Stop using GtkWidget event signals
Event controllers and GtkGestures replace event signals in GTK 4.
They have been backported to GTK 3.x so you can prepare for this change.
Set a proper application ID
In GTK 4 we want the application's GApplication
'application-id' (and therefore the D-Bus name), the desktop
file basename and Wayland's xdg-shell app_id to match. In
order to achieve this with GTK 3.x call g_set_prgname() with the same
application ID you passed to GtkApplication . Rename your
desktop files to match the application ID if needed.
The call to g_set_prgname() can be removed once you fully migrated
to GTK 4.
You should be aware that changing the application ID makes your
application appear as a new, different app to application installers.
You should consult the appstream documentation for best practices
around renaming applications.
Stop using gtk_main() and related APIs
GTK4 removes the gtk_main_ family of APIs. The recommended replacement
is GtkApplication, but you can also iterate the GLib mainloop directly,
using GMainContext APIs.
The replacement for gtk_events_pending() is g_main_context_pending() ,
the replacement for gtk_main_iteration() is g_main_context_iteration() .
Changes that need to be done at the time of the switch
This section outlines porting tasks that you need to tackle when
you get to the point that you actually build your application against
GTK 4. Making it possible to prepare for these in GTK 3 would
have been either impossible or impractical.
Convert your ui files
A number of the changes outlined below affect .ui files. The
gtk4-builder-tool simplify command can perform many of the
necessary changes automatically, when called with the --3to4
option. You should always review the resulting changes.
Stop using GdkScreen
The GdkScreen object has been removed in GTK 4. Most of its APIs already
had replacements in GTK 3 and were deprecated, a few remaining replacements
have been added to GdkDisplay.
Stop using the root window
The root window is an X11-centric concept that is no longer exposed in the
backend-neutral GDK API. gdk_surface_get_parent() will return NULL for toplevel
windows. If you need to interact with the X11 root window, you can use
gdk_x11_display_get_xrootwindow() to get its XID.
Stop using GdkVisual
This object is not useful with current GTK drawing APIs and has been removed
without replacement.
Stop using GdkDeviceManager
The GdkDeviceManager object has been removed in GTK 4. Most of its APIs already
had replacements in GTK 3 and were deprecated in favor of GdkSeat.
Adapt to GdkWindow API changes
GdkWindow has been renamed to GdkSurface.
The gdk_window_new() function has been replaced by a number of more
specialized constructors: gdk_surface_new_toplevel() , gdk_surface_new_popup() ,
gdk_surface_new_temp() , gdk_wayland_surface_new_subsurface() .
Use the appropriate ones to create your windows.
Native and foreign subwindows are no longer supported. These concepts were
complicating the code and could not be supported across backends.
gdk_window_reparent() is no longer available.
Stop accessing GdkEvent fields
Direct access to GdkEvent structs is no longer possible in GTK 4. Some
frequently-used fields already had accessors in GTK 3, and the remaining
fields have gained accessors in GTK 4.
Stop using gdk_surface_set_event_compression
Event compression is now always enabled. If you need to see the uncoalesced
motion history, use gdk_event_get_motion_history() .
Stop using gdk_pointer_warp()
Warping the pointer is disorienting and unfriendly to users.
GTK 4 does not support it. In special circumstances (such as when
implementing remote connection UIs) it can be necessary to
warp the pointer; in this case, use platform APIs such as XWarpPointer
directly.
Stop using grabs
GTK 4 no longer provides the gdk_device_grab() or gdk_seat_grab() apis.
If you need to dismiss a popup when the user clicks outside (a common
use for grabs), you can use the GdkSurface “autohide” property instead.
GtkPopover also has a “autohide” property.
Adapt to coordinate API changes
A number of coordinate APIs in GTK 3 had _double variants:
gdk_device_get_position() , gdk_device_get_surface_at_position() ,
gdk_surface_get_device_position() . These have been changed to use
doubles, and the _double variants have been removed. Update your
code accordingly.
Any APIs that deal with global (or root) coordinates have been
removed in GTK4, since not all backends support them. You should
replace your use of such APIs with surface-relative equivalents.
Examples of this are gdk_surfae_get_origin() , gdk_surface_move()
or gdk_event_get_root_coords() .
Adapt to GdkKeymap API changes
The way to get a keymap has changed slightly. gdk_keymap_get_for_display() has
been renamed to gdk_display_get_keymap() .
Adapt to event controller API changes
A few changes to the event controller and GtkGesture APIs
did not make it back to GTK3, and have to be taken into account
when moving to GTK4. One is that the
“enter” ,
“leave” ,
“focus-in” and
“focus-out” signals
have gained new arguments. Another is that GtkGestureMultiPress
has been renamed to GtkGestureClick .
Stop using GtkEventBox
GtkEventBox is no longer needed and has been removed.
All widgets receive all events.
Stop using GtkButtonBox
GtkButtonBox has been removed. Use a GtkBox instead.
Adapt to GtkBox API changes
GtkBox no longer has pack-start and -end. Pack your widgets in the
correct order, or reorder them as necessary.
Adapt to GtkHeaderBar and GtkActionBar API changes
The gtk_header_bar_set_show_close_button() function has been renamed to
the more accurate name gtk_header_bar_set_show_title_buttons() . The corresponding
getter and the property itself have also been renamed.
The ::pack-type child properties of GtkHeaderBar and GtkActionBar have
been removed. If you need to programmatically place children, use the
pack_start() and pack_end() APIs. In ui files, use the type attribute
on the child element.
gtk4-builder-tool can help with this conversion, with the --3to4 option
of the simplify command.
Adapt to GtkStack, GtkAssistant and GtkNotebook API changes
The child properties of GtkStack, GtkAssistant and GtkNotebook have been
converted into child meta objects.
Instead of gtk_container_child_set (stack, child, …), you can now use
g_object_set (gtk_stack_get_page (stack, child), …). In .ui files, the
GtkStackPage objects must be created explicitly, and take the child widget
as property. GtkNotebook and GtkAssistant are similar.
gtk4-builder-tool can help with this conversion, with the --3to4 option
of the simplify command.
Adapt to GtkStyleContext API changes
The getters in the GtkStyleContext API, such as
gtk_style_context_get_property() , gtk_style_context_get() ,
or gtk_style_context_get_color() have lost their state argument,
and always use the context's current state. Update all callers
to omit the state argument.
Adapt to GtkCssProvider API changes
In GTK 4, the various GtkCssProvider load functions have lost
their GError argument. If you want to handle CSS loading errors,
use the “parsing-error” signal instead.
gtk_css_provider_get_named() has been replaced by
gtk_css_provider_load_named() .
Stop using GtkContainer::border-width
GTK 4 has removed the “border-width” property.
Use other means to influence the spacing of your containers,
such as the CSS margin and padding properties on child widgets.
Adapt to GtkWidget's size request changes
GTK 3 used five different virtual functions in GtkWidget to
implement size requisition, namely the gtk_widget_get_preferred_width()
family of functions. To simplify widget implementations, GTK 4 uses
only one virtual function, GtkWidgetClass::measure() that widgets
have to implement.
Adapt to GtkWidget's size allocation changes
The “size-allocate” signal now takes the baseline as an
argument, so you no longer need to call gtk_widget_get_allocated_baseline()
to get it.
Switch to GtkWidget's children APIs
Instead of the GtkContainer subclass, in GTK 4, any widget can
have children, and there is new API to navigate the widget tree:
gtk_widget_get_first_child() , gtk_widget_get_last_child() ,
gtk_widget_get_next_sibling() , gtk_widget_get_prev_sibling() .
The GtkContainer API still works, but if you are implementing
your own widgets, you should consider using the new APIs.
Don't use -gtk-gradient in your CSS
GTK now supports standard CSS syntax for both linear and radial
gradients, just use those.
Don't use -gtk-icon-effect in your CSS
GTK now supports a more versatile -gtk-icon-filter instead. Replace
-gtk-icon-effect: dim; with -gtk-icon-filter: opacity(0.5); and
-gtk-icon-effect: hilight; with -gtk-icon-filter: brightness(1.2);.
Use gtk_widget_measure
gtk_widget_measure() replaces the various gtk_widget_get_preferred_ functions
for querying sizes.
Adapt to drawing model changes
This area has seen the most radical changes in the transition from GTK 3
to GTK 4. Widgets no longer use a draw() function to render their contents
to a cairo surface. Instead, they have a snapshot() function that creates
one or more GskRenderNodes to represent their content. Third-party widgets
that use a draw() function or a “draw” signal handler for custom
drawing will need to be converted to use gtk_snapshot_append_cairo() .
The auxiliary GtkSnapshot object has APIs to help with creating render
nodes.
If you are using a GtkDrawingArea for custom drawing, you need to switch
to using gtk_drawing_area_set_draw_func() to set a draw function instead
of connnecting a handler to the “draw” signal.
Stop using APIs to query GdkSurfaces
A number of APIs for querying special-purpose windows have been removed,
since these windows are no longer publically available:
gtk_tree_view_get_bin_window() , gtk_viewport_get_bin_window() ,
gtk_viewport_get_view_window() .
Widgets are now visible by default
The default value of “visible” in GTK 4 is TRUE , so you no
longer need to explicitly show all your widgets. On the flip side, you
need to hide widgets that are not meant to be visible from the start.
A convenient way to remove unnecessary property assignments like this
from ui files it run the command gtk4-builder-tool simplify --replace
on them.
The function gtk_widget_show_all() , the “no-show-all” property
and its getter and setter have been removed in GTK 4, so you should stop using them.
Adapt to changes in animated hiding and showing of widgets
Widgets that appear and disappear with an animation, such as GtkPopover,
GtkInfoBar, GtkRevealer no longer use gtk_widget_show() and gtk_widget_hide()
for this, but have gained dedicated APIs for this purpose that you should
use.
Stop passing commandline arguments to gtk_init
The gtk_init() and gtk_init_check() functions no longer accept commandline
arguments. Just call them without arguments. Other initialization functions
that were purely related to commandline argument handling, such as
gtk_parse_args() and gtk_get_option_group() , are gone. The APIs to
initialize GDK separately are also gone, but it is very unlikely
that you are affected by that.
GdkPixbuf is deemphasized
A number of GdkPixbuf-based APIs have been removed. The available replacements
are either using GIcon , or the newly introduced GdkTexture or GdkPaintable
classes instead.
If you are dealing with pixbufs, you can use gdk_texture_new_for_pixbuf()
to convert them to texture objects where needed.
GtkWidget event signals are removed
Event controllers and GtkGestures have already been introduced in GTK 3 to handle
input for many cases. In GTK 4, the traditional widget signals for handling input,
such as “motion-event” or “event” have been removed.
Invalidation handling has changed
Only gtk_widget_queue_draw() is left to mark a widget as needing redraw.
Variations like gtk_widget_queue_draw_rectangle() or gtk_widget_queue_draw_region()
are no longer available.
Stop using GtkWidget::draw
The “draw” signal has been removed. Widgets need to implement the
“snapshot” function now. Connecting draw signal handlers is no longer possible.
Window content observation has changed
Observing widget contents and widget size is now done by using the
GtkWidgetPaintable object instead of connecting to widget signals.
The gtk_window_fullscreen_on_monitor API has changed
Instead of a monitor number, gtk_window_fullscreen_on_monitor() now takes a
GdkMonitor argument.
Adapt to cursor API changes
Use the new gtk_widget_set_cursor() function to set cursors, instead of
setting the cursor on the underlying window directly. This is necessary
because most widgets don't have their own window anymore, turning any
such calls into global cursor changes.
For creating standard cursors, gdk_cursor_new_for_display() has been removed,
you have to use cursor names instead of GdkCursorType. For creating custom cursors,
use gdk_cursor_new_from_texture() . The ability to get cursor images has been removed.
Adapt to icon size API changes
Instead of the existing extensible set of symbolic icon sizes, GTK now only
supports normal and large icons with the GtkIconSize enumeration. The actual sizes
can be defined by themes via the CSS property -gtk-icon-size.
GtkImage setters like gtk_image_set_from_icon_name() no longer take a GtkIconSize
argument. You can use the separate gtk_image_set_icon_size() setter if you need
to override the icon size.
The ::stock-size property of GtkCellRendererPixbuf has been renamed to
“icon-size” .
Convert .ui files
The simplify command of gtk4-builder-tool has gained a --3to4 option, which
can help with some of the required changes in .ui files, such as converting
child properties to child meta objects.
Adapt to changes in the GtkAssistant API
The ::has-padding property is gone, and GtkAssistant no longer adds padding
to pages. You can easily do that yourself.
Adapt to changes in the API of GtkEntry, GtkSearchEntry and GtkSpinButton
The GtkEditable interface has been made more useful, and the core functionality of
GtkEntry has been broken out as a GtkText widget. GtkEntry, GtkSearchEntry,
GtkSpinButton and the new GtkPasswordEntry now use a GtkText widget internally
and implement GtkEditable. In particular, this means that it is no longer
possible to use GtkEntry API such as gtk_entry_grab_focus_without_selecting()
on a search entry.
Use GtkEditable API for editable functionality, and widget-specific APIs for
things that go beyond the common interface. For password entries, use
GtkPasswordEntry. As an example, gtk_spin_button_set_max_width_chars()
has been removed in favor of gtk_editable_set_max_width_chars() .
Adapt to changes in GtkOverlay API
The GtkOverlay::pass-through child property has been replaced by the
GtkWidget::can-pick property. Note that they have the opposite sense:
pass-through == !can-pick.
Use GtkFixed instead of GtkLayout
Since GtkScrolledWindow can deal with widgets that do not implement
the GtkScrollable interface by automatically wrapping them into a
GtkViewport, GtkLayout is redundant, and has been removed in favor
of the existing GtkFixed container widget.
Adapt to search entry changes
The way search entries are connected to global events has changed;
gtk_search_entry_handle_event() has been dropped and replaced by
gtk_search_entry_set_key_capture_widget() and
gtk_event_controller_key_forward() .
Stop using child properties
GtkContainer no longer provides facilities for defining and using
child properties. If you have custom widgets using child properties,
they will have to be converted either to layout properties provided
by a layout manager (if they are layout-related), or handled in
some other way. One possibility is to use child meta objects,
as seen with GtkAssistantPage, GtkStackPage and the like.
Stop using tabular menus
Tabular menus were rarely used and complicated the menu code,
so they have been removed. If you need complex layout in menu-like
popups, consider using a GtkPopover instead.
Stop using gtk_menu_set_display()
This function has been removed. Menus should always be
attached to a widget and get their display that way.
Stop using gtk_window_activate_default()
The handling of default widgets has been changed, and activating
the default now works by calling gtk_widget_activate_default()
on the widget that caused the activation.
If you have a custom widget that wants to override the default
handling, you can provide an implementation of the default.activate
action in your widgets' action groups.
Stop setting ::has-default and ::has-focus in .ui files
The special handling for the ::has-default and ::has-focus properties
has been removed. If you want to define the initial focus or the
the default widget in a .ui file, set the ::default-widget or
::focus-widget properties of the toplevel window.
Stop using the GtkWidget::display-changed signal
To track the current display, use the GtkWidget::root property
instead.
GtkPopover::modal has been renamed to autohide
The modal property has been renamed to autohide.
gtk-builder-tool can assist with the rename in ui files.
gtk_widget_get_surface has been removed
gtk_widget_get_surface() has been removed.
Use gtk_native_get_surface() in combination with
gtk_widget_get_native() instead.
gtk_widget_is_toplevel has been removed
gtk_widget_is_toplevel() has been removed.
Use GTK_IS_ROOT, GTK_IS_NATIVE or GTK_IS_WINDOW
instead, as appropriate.
gtk_widget_get_toplevel has been removed
gtk_widget_get_toplevel() has been removed.
Use gtk_widget_get_root() or gtk_widget_get_native()
instead, as appropriate.
GtkEntryBuffer ::deleted-text has changed
To allow signal handlers to access the deleted text before it
has been deleted “deleted-text” has changed from
G_SIGNAL_RUN_FIRST to G_SIGNAL_RUN_LAST . The default handler
removes the text from the GtkEntryBuffer .
To adapt existing code, use g_signal_connect_after() or
G_CONNECT_AFTER when using g_signal_connect_data() or
g_signal_connect_object() .
The "iconified" window state has been renamed to "minimized"
The GDK_SURFACE_STATE_ICONIFIED value of the
GdkSurfaceState enumeration is now GDK_SURFACE_STATE_MINIMIZED .
The GdkSurface functions gdk_surface_iconify()
and gdk_surface_deiconify() have been renamed to
gdk_surface_minimize() and gdk_surface_unminimize() , respectively.
The corresponding GtkWindow functions gtk_window_iconify()
and gtk_window_deiconify() have been renamed
to gtk_window_minimize() and gtk_window_unminimize() , respectively.
The behavior of the minimization and unminimization operations have
not been changed, and they still require support from the underlying
windowing system.
GtkMenu, GtkMenuBar and GtkMenuItem are gone
These widgets were heavily relying on X11-centric concepts such as
override-redirect windows and grabs, and were hard to adjust to other
windowing systems.
Menus can already be replaced using GtkPopoverMenu in GTK 3. Additionally,
GTK 4 introduces GtkPopoverMenuBar to replace menubars. These new widgets
can only be constructed from menu models, so the porting effort involves
switching to menu models and actions.
Since menus are gone, GtkMenuButton also lost its ability to show menus,
and needs to be used with popovers in GTK 4.
GtkToolbar has been removed
Toolbars were using outdated concepts such as requiring special toolitem
widgets.
Toolbars should be replaced by using a GtkBox with regular widgets instead.
Stop using custom tooltip windows
Tooltips no longer use GtkWindows in GTK 4, and it is no longer
possible to provide a custom window for tooltips. Replacing the content
of the tooltip with a custom widget is still possible, with
gtk_tooltip_set_custom() .
Switch to the new DND api
The source-side DND apis in GTK 4 have been changed to use an event controller, GtkDragSource .
Instead of calling gtk_drag_source_set() and connecting to GtkWidget signals, you create
a GtkDragSource object, attach it to the widget with gtk_widget_add_controller() , and connect
to GtkDragSource signals. Instead of calling gtk_drag_begin() on a widget to start a drag
manually, call gdk_drag_begin() .
The ::drag-data-get signal has been replaced by the “prepare” signal, which
returns a GdkContentProvider for the drag operation.
The destination-side DND apis in GTK 4 have also been changed to use and event controller,
GTkDropTarget .
Instead of calling gtk_drag_dest_set() and connecting to GtkWidget signals, you create
a GtkDropTarget object, attach it to the widget with gtk_widget_add_controller() , and
connect to GtkDropTarget signals.
The ::drag-motion signal has been renamed to “accept” , and instead of
::drag-data-received, you need to use async read methods on the GdkDrop object, such
as gdk_drop_read_value_async() or gdk_drop_read_text_async() .
docs/reference/gtk/xml/gtkswitch.xml 0000664 0001750 0001750 00000045453 13617646204 017736 0 ustar mclasen mclasen
]>
GtkSwitch
3
GTK4 Library
GtkSwitch
A “light switch” style toggle
Functions
GtkWidget *
gtk_switch_new ()
void
gtk_switch_set_active ()
gboolean
gtk_switch_get_active ()
void
gtk_switch_set_state ()
gboolean
gtk_switch_get_state ()
Properties
gboolean activeRead / Write
gboolean stateRead / Write
Signals
void activate Action
gboolean state-set Run Last
Types and Values
GtkSwitch
Object Hierarchy
GObject
╰── GInitiallyUnowned
╰── GtkWidget
╰── GtkSwitch
Implemented Interfaces
GtkSwitch implements
AtkImplementorIface, GtkBuildable, GtkConstraintTarget and GtkActionable.
Includes #include <gtk/gtk.h>
Description
GtkSwitch is a widget that has two states: on or off. The user can control
which state should be active by clicking the empty area, or by dragging the
handle.
GtkSwitch can also handle situations where the underlying state changes with
a delay. See “state-set” for details.
CSS nodes
GtkSwitch has four css nodes, the main node with the name switch and subnodes
for the slider and the on and off labels. Neither of them is using any style classes.
Functions
gtk_switch_new ()
gtk_switch_new
GtkWidget *
gtk_switch_new (void );
Creates a new GtkSwitch widget.
Returns
the newly created GtkSwitch instance
gtk_switch_set_active ()
gtk_switch_set_active
void
gtk_switch_set_active (GtkSwitch *self ,
gboolean is_active );
Changes the state of self
to the desired one.
Parameters
self
a GtkSwitch
is_active
TRUE if self
should be active, and FALSE otherwise
gtk_switch_get_active ()
gtk_switch_get_active
gboolean
gtk_switch_get_active (GtkSwitch *self );
Gets whether the GtkSwitch is in its “on” or “off” state.
Parameters
self
a GtkSwitch
Returns
TRUE if the GtkSwitch is active, and FALSE otherwise
gtk_switch_set_state ()
gtk_switch_set_state
void
gtk_switch_set_state (GtkSwitch *self ,
gboolean state );
Sets the underlying state of the GtkSwitch .
Normally, this is the same as “active” , unless the switch
is set up for delayed state changes. This function is typically
called from a “state-set” signal handler.
See “state-set” for details.
Parameters
self
a GtkSwitch
state
the new state
gtk_switch_get_state ()
gtk_switch_get_state
gboolean
gtk_switch_get_state (GtkSwitch *self );
Gets the underlying state of the GtkSwitch .
Parameters
self
a GtkSwitch
Returns
the underlying state
Property Details
The “active” property
GtkSwitch:active
“active” gboolean
Whether the GtkSwitch widget is in its on or off state.
Owner: GtkSwitch
Flags: Read / Write
Default value: FALSE
The “state” property
GtkSwitch:state
“state” gboolean
The backend state that is controlled by the switch.
See “state-set” for details.
Owner: GtkSwitch
Flags: Read / Write
Default value: FALSE
Signal Details
The “activate” signal
GtkSwitch::activate
void
user_function (GtkSwitch *widget,
gpointer user_data)
The ::activate signal on GtkSwitch is an action signal and
emitting it causes the switch to animate.
Applications should never connect to this signal, but use the
notify::active signal.
Parameters
widget
the object which received the signal.
user_data
user data set when the signal handler was connected.
Flags: Action
The “state-set” signal
GtkSwitch::state-set
gboolean
user_function (GtkSwitch *widget,
gboolean state,
gpointer user_data)
The ::state-set signal on GtkSwitch is emitted to change the underlying
state. It is emitted when the user changes the switch position. The
default handler keeps the state in sync with the “active”
property.
To implement delayed state change, applications can connect to this signal,
initiate the change of the underlying state, and call gtk_switch_set_state()
when the underlying state change is complete. The signal handler should
return TRUE to prevent the default handler from running.
Visually, the underlying state is represented by the trough color of
the switch, while the “active” property is represented by the
position of the switch.
Parameters
widget
the object on which the signal was emitted
state
the new state of the switch
user_data
user data set when the signal handler was connected.
Returns
TRUE to stop the signal emission
Flags: Run Last
See Also
GtkToggleButton
docs/reference/gtk/xml/gtkshortcutlabel.xml 0000664 0001750 0001750 00000034160 13617646205 021302 0 ustar mclasen mclasen
]>
GtkShortcutLabel
3
GTK4 Library
GtkShortcutLabel
Displays a keyboard shortcut
Functions
GtkWidget *
gtk_shortcut_label_new ()
const gchar *
gtk_shortcut_label_get_accelerator ()
const gchar *
gtk_shortcut_label_get_disabled_text ()
void
gtk_shortcut_label_set_accelerator ()
void
gtk_shortcut_label_set_disabled_text ()
Properties
gchar * acceleratorRead / Write
gchar * disabled-textRead / Write
Types and Values
GtkShortcutLabel
Object Hierarchy
GObject
╰── GInitiallyUnowned
╰── GtkWidget
╰── GtkShortcutLabel
Implemented Interfaces
GtkShortcutLabel implements
AtkImplementorIface, GtkBuildable and GtkConstraintTarget.
Includes #include <gtk/gtk.h>
Description
GtkShortcutLabel is a widget that represents a single keyboard shortcut or gesture
in the user interface.
Functions
gtk_shortcut_label_new ()
gtk_shortcut_label_new
GtkWidget *
gtk_shortcut_label_new (const gchar *accelerator );
Creates a new GtkShortcutLabel with accelerator
set.
Parameters
accelerator
the initial accelerator
Returns
a newly-allocated GtkShortcutLabel .
[transfer full ]
gtk_shortcut_label_get_accelerator ()
gtk_shortcut_label_get_accelerator
const gchar *
gtk_shortcut_label_get_accelerator (GtkShortcutLabel *self );
Retrieves the current accelerator of self
.
Parameters
self
a GtkShortcutLabel
Returns
the current accelerator.
[transfer none ][nullable ]
gtk_shortcut_label_get_disabled_text ()
gtk_shortcut_label_get_disabled_text
const gchar *
gtk_shortcut_label_get_disabled_text (GtkShortcutLabel *self );
Retrieves the text that is displayed when no accelerator is set.
Parameters
self
a GtkShortcutLabel
Returns
the current text displayed when no
accelerator is set.
[transfer none ][nullable ]
gtk_shortcut_label_set_accelerator ()
gtk_shortcut_label_set_accelerator
void
gtk_shortcut_label_set_accelerator (GtkShortcutLabel *self ,
const gchar *accelerator );
Sets the accelerator to be displayed by self
.
Parameters
self
a GtkShortcutLabel
accelerator
the new accelerator
gtk_shortcut_label_set_disabled_text ()
gtk_shortcut_label_set_disabled_text
void
gtk_shortcut_label_set_disabled_text (GtkShortcutLabel *self ,
const gchar *disabled_text );
Sets the text to be displayed by self
when no accelerator is set.
Parameters
self
a GtkShortcutLabel
disabled_text
the text to be displayed when no accelerator is set
Property Details
The “accelerator” property
GtkShortcutLabel:accelerator
“accelerator” gchar *
The accelerator that self
displays. See “accelerator”
for the accepted syntax.
Owner: GtkShortcutLabel
Flags: Read / Write
Default value: NULL
The “disabled-text” property
GtkShortcutLabel:disabled-text
“disabled-text” gchar *
The text that is displayed when no accelerator is set.
Owner: GtkShortcutLabel
Flags: Read / Write
Default value: NULL
See Also
GtkCellRendererAccel
docs/reference/gtk/xml/gtkappchooser.xml 0000664 0001750 0001750 00000025234 13617646204 020573 0 ustar mclasen mclasen
]>
GtkAppChooser
3
GTK4 Library
GtkAppChooser
Interface implemented by widgets for choosing an application
Functions
GAppInfo *
gtk_app_chooser_get_app_info ()
gchar *
gtk_app_chooser_get_content_type ()
void
gtk_app_chooser_refresh ()
Properties
gchar * content-typeRead / Write / Construct Only
Types and Values
GtkAppChooser
Object Hierarchy
GInterface
╰── GtkAppChooser
Prerequisites
GtkAppChooser requires
GtkWidget.
Known Implementations
GtkAppChooser is implemented by
GtkAppChooserButton, GtkAppChooserDialog and GtkAppChooserWidget.
Includes #include <gtk/gtk.h>
Description
GtkAppChooser is an interface that can be implemented by widgets which
allow the user to choose an application (typically for the purpose of
opening a file). The main objects that implement this interface are
GtkAppChooserWidget , GtkAppChooserDialog and GtkAppChooserButton .
Applications are represented by GIO GAppInfo objects here.
GIO has a concept of recommended and fallback applications for a
given content type. Recommended applications are those that claim
to handle the content type itself, while fallback also includes
applications that handle a more generic content type. GIO also
knows the default and last-used application for a given content
type. The GtkAppChooserWidget provides detailed control over
whether the shown list of applications should include default,
recommended or fallback applications.
To obtain the application that has been selected in a GtkAppChooser ,
use gtk_app_chooser_get_app_info() .
Functions
gtk_app_chooser_get_app_info ()
gtk_app_chooser_get_app_info
GAppInfo *
gtk_app_chooser_get_app_info (GtkAppChooser *self );
Returns the currently selected application.
Parameters
self
a GtkAppChooser
Returns
a GAppInfo for the currently selected
application, or NULL if none is selected. Free with g_object_unref() .
[nullable ][transfer full ]
gtk_app_chooser_get_content_type ()
gtk_app_chooser_get_content_type
gchar *
gtk_app_chooser_get_content_type (GtkAppChooser *self );
Returns the current value of the “content-type” property.
Parameters
self
a GtkAppChooser
Returns
the content type of self
. Free with g_free()
gtk_app_chooser_refresh ()
gtk_app_chooser_refresh
void
gtk_app_chooser_refresh (GtkAppChooser *self );
Reloads the list of applications.
Parameters
self
a GtkAppChooser
Property Details
The “content-type” property
GtkAppChooser:content-type
“content-type” gchar *
The content type of the GtkAppChooser object.
See GContentType
for more information about content types.
Owner: GtkAppChooser
Flags: Read / Write / Construct Only
Default value: NULL
See Also
GAppInfo
docs/reference/gtk/xml/gtkvideo.xml 0000664 0001750 0001750 00000077546 13617646205 017554 0 ustar mclasen mclasen
]>
GtkVideo
3
GTK4 Library
GtkVideo
A widget for displaying video
Functions
GtkWidget *
gtk_video_new ()
GtkWidget *
gtk_video_new_for_media_stream ()
GtkWidget *
gtk_video_new_for_file ()
GtkWidget *
gtk_video_new_for_filename ()
GtkWidget *
gtk_video_new_for_resource ()
GtkMediaStream *
gtk_video_get_media_stream ()
void
gtk_video_set_media_stream ()
GFile *
gtk_video_get_file ()
void
gtk_video_set_file ()
void
gtk_video_set_filename ()
void
gtk_video_set_resource ()
gboolean
gtk_video_get_autoplay ()
void
gtk_video_set_autoplay ()
gboolean
gtk_video_get_loop ()
void
gtk_video_set_loop ()
Properties
gboolean autoplayRead / Write
GFile * fileRead / Write
gboolean loopRead / Write
GtkMediaStream * media-streamRead / Write
Types and Values
GtkVideo
Object Hierarchy
GObject
╰── GInitiallyUnowned
╰── GtkWidget
╰── GtkVideo
Implemented Interfaces
GtkVideo implements
AtkImplementorIface, GtkBuildable and GtkConstraintTarget.
Includes #include <gtk/gtk.h>
Description
GtkVideo is a widget to show a GtkMediaStream .
It is commonly combined with GtkMediaControls to give the
user a way to control the playback.
Functions
gtk_video_new ()
gtk_video_new
GtkWidget *
gtk_video_new (void );
Creates a new empty GtkVideo .
Returns
a new GtkVideo
gtk_video_new_for_media_stream ()
gtk_video_new_for_media_stream
GtkWidget *
gtk_video_new_for_media_stream (GtkMediaStream *stream );
Creates a GtkVideo to play back the given stream
.
Parameters
stream
a GtkMediaStream .
[allow-none ]
Returns
a new GtkVideo
gtk_video_new_for_file ()
gtk_video_new_for_file
GtkWidget *
gtk_video_new_for_file (GFile *file );
Creates a GtkVideo to play back the given file
.
Parameters
file
a GFile .
[allow-none ]
Returns
a new GtkVideo
gtk_video_new_for_filename ()
gtk_video_new_for_filename
GtkWidget *
gtk_video_new_for_filename (const char *filename );
Creates a GtkVideo to play back the given filename
.
This is a utility function that calls gtk_video_new_for_file() ,
See that function for details.
Parameters
filename
filename to play back.
[allow-none ][type filename]
Returns
a new GtkVideo
gtk_video_new_for_resource ()
gtk_video_new_for_resource
GtkWidget *
gtk_video_new_for_resource (const char *resource_path );
Creates a GtkVideo to play back the resource at the
given resource_path
.
This is a utility function that calls gtk_video_new_for_file() ,
Parameters
resource_path
resource path to play back.
[allow-none ]
Returns
a new GtkVideo
gtk_video_get_media_stream ()
gtk_video_get_media_stream
GtkMediaStream *
gtk_video_get_media_stream (GtkVideo *self );
Gets the media stream managed by self
or NULL if none.
Parameters
self
a GtkVideo
Returns
The media stream managed by self
.
[nullable ][transfer none ]
gtk_video_set_media_stream ()
gtk_video_set_media_stream
void
gtk_video_set_media_stream (GtkVideo *self ,
GtkMediaStream *stream );
Sets the media stream to be played back. self
will take full control
of managing the media stream. If you want to manage a media stream
yourself, consider using a GtkImage for display.
If you want to display a file, consider using gtk_video_set_file()
instead.
Parameters
self
a GtkVideo
stream
The media stream to play or NULL to unset.
[allow-none ]
gtk_video_get_file ()
gtk_video_get_file
GFile *
gtk_video_get_file (GtkVideo *self );
Gets the file played by self
or NULL if not playing back
a file.
Parameters
self
a GtkVideo
Returns
The file played by self
.
[nullable ][transfer none ]
gtk_video_set_file ()
gtk_video_set_file
void
gtk_video_set_file (GtkVideo *self ,
GFile *file );
Makes self
play the given file
.
Parameters
self
a GtkVideo
file
the file to play.
[allow-none ]
gtk_video_set_filename ()
gtk_video_set_filename
void
gtk_video_set_filename (GtkVideo *self ,
const char *filename );
Makes self
play the given filename
.
This is a utility function that calls gtk_video_set_file() ,
Parameters
self
a GtkVideo
filename
the filename to play.
[allow-none ]
gtk_video_set_resource ()
gtk_video_set_resource
void
gtk_video_set_resource (GtkVideo *self ,
const char *resource_path );
Makes self
play the resource at the given resource_path
.
This is a utility function that calls gtk_video_set_file() ,
Parameters
self
a GtkVideo
resource_path
the resource to set.
[allow-none ]
gtk_video_get_autoplay ()
gtk_video_get_autoplay
gboolean
gtk_video_get_autoplay (GtkVideo *self );
Returns TRUE if videos have been set to loop via gtk_video_set_loop() .
Parameters
self
a GtkVideo
Returns
TRUE if streams should autoplay
gtk_video_set_autoplay ()
gtk_video_set_autoplay
void
gtk_video_set_autoplay (GtkVideo *self ,
gboolean autoplay );
Sets whether self
automatically starts playback when it becomes visible
or when a new file gets loaded.
Parameters
self
a GtkVideo
autoplay
whether media streams should autoplay
gtk_video_get_loop ()
gtk_video_get_loop
gboolean
gtk_video_get_loop (GtkVideo *self );
Returns TRUE if videos have been set to loop via gtk_video_set_loop() .
Parameters
self
a GtkVideo
Returns
TRUE if streams should loop
gtk_video_set_loop ()
gtk_video_set_loop
void
gtk_video_set_loop (GtkVideo *self ,
gboolean loop );
Sets whether new files loaded by self
should be set to loop.
Parameters
self
a GtkVideo
loop
whether media streams should loop
Property Details
The “autoplay” property
GtkVideo:autoplay
“autoplay” gboolean
If the video should automatically begin playing.
Owner: GtkVideo
Flags: Read / Write
Default value: FALSE
The “file” property
GtkVideo:file
“file” GFile *
The file played by this video if the video is playing a file.
Owner: GtkVideo
Flags: Read / Write
The “loop” property
GtkVideo:loop
“loop” gboolean
If new media files should be set to loop.
Owner: GtkVideo
Flags: Read / Write
Default value: FALSE
The “media-stream” property
GtkVideo:media-stream
“media-stream” GtkMediaStream *
The media-stream played
Owner: GtkVideo
Flags: Read / Write
See Also
GtkMediaControls
docs/reference/gtk/xml/gtkappchooserbutton.xml 0000664 0001750 0001750 00000077026 13617646204 022035 0 ustar mclasen mclasen
]>
GtkAppChooserButton
3
GTK4 Library
GtkAppChooserButton
A button to launch an application chooser dialog
Functions
GtkWidget *
gtk_app_chooser_button_new ()
void
gtk_app_chooser_button_append_custom_item ()
void
gtk_app_chooser_button_append_separator ()
void
gtk_app_chooser_button_set_active_custom_item ()
gboolean
gtk_app_chooser_button_get_show_default_item ()
void
gtk_app_chooser_button_set_show_default_item ()
gboolean
gtk_app_chooser_button_get_show_dialog_item ()
void
gtk_app_chooser_button_set_show_dialog_item ()
const gchar *
gtk_app_chooser_button_get_heading ()
void
gtk_app_chooser_button_set_heading ()
Properties
gchar * headingRead / Write
gboolean show-default-itemRead / Write / Construct
gboolean show-dialog-itemRead / Write / Construct
Signals
void changed Run Last
void custom-item-activated Has Details
Types and Values
GtkAppChooserButton
Object Hierarchy
GObject
╰── GInitiallyUnowned
╰── GtkWidget
╰── GtkAppChooserButton
Implemented Interfaces
GtkAppChooserButton implements
AtkImplementorIface, GtkBuildable, GtkConstraintTarget and GtkAppChooser.
Includes #include <gtk/gtk.h>
Description
The GtkAppChooserButton is a widget that lets the user select
an application. It implements the GtkAppChooser interface.
Initially, a GtkAppChooserButton selects the first application
in its list, which will either be the most-recently used application
or, if “show-default-item” is TRUE , the
default application.
The list of applications shown in a GtkAppChooserButton includes
the recommended applications for the given content type. When
“show-default-item” is set, the default application
is also included. To let the user chooser other applications,
you can set the “show-dialog-item” property,
which allows to open a full GtkAppChooserDialog .
It is possible to add custom items to the list, using
gtk_app_chooser_button_append_custom_item() . These items cause
the “custom-item-activated” signal to be
emitted when they are selected.
To track changes in the selected application, use the
“changed” signal.
Functions
gtk_app_chooser_button_new ()
gtk_app_chooser_button_new
GtkWidget *
gtk_app_chooser_button_new (const gchar *content_type );
Creates a new GtkAppChooserButton for applications
that can handle content of the given type.
Parameters
content_type
the content type to show applications for
Returns
a newly created GtkAppChooserButton
gtk_app_chooser_button_append_custom_item ()
gtk_app_chooser_button_append_custom_item
void
gtk_app_chooser_button_append_custom_item
(GtkAppChooserButton *self ,
const gchar *name ,
const gchar *label ,
GIcon *icon );
Appends a custom item to the list of applications that is shown
in the popup; the item name must be unique per-widget.
Clients can use the provided name as a detail for the
“custom-item-activated” signal, to add a
callback for the activation of a particular custom item in the list.
See also gtk_app_chooser_button_append_separator() .
Parameters
self
a GtkAppChooserButton
name
the name of the custom item
label
the label for the custom item
icon
the icon for the custom item
gtk_app_chooser_button_append_separator ()
gtk_app_chooser_button_append_separator
void
gtk_app_chooser_button_append_separator
(GtkAppChooserButton *self );
Appends a separator to the list of applications that is shown
in the popup.
Parameters
self
a GtkAppChooserButton
gtk_app_chooser_button_set_active_custom_item ()
gtk_app_chooser_button_set_active_custom_item
void
gtk_app_chooser_button_set_active_custom_item
(GtkAppChooserButton *self ,
const gchar *name );
Selects a custom item previously added with
gtk_app_chooser_button_append_custom_item() .
Use gtk_app_chooser_refresh() to bring the selection
to its initial state.
Parameters
self
a GtkAppChooserButton
name
the name of the custom item
gtk_app_chooser_button_get_show_default_item ()
gtk_app_chooser_button_get_show_default_item
gboolean
gtk_app_chooser_button_get_show_default_item
(GtkAppChooserButton *self );
Returns the current value of the “show-default-item”
property.
Parameters
self
a GtkAppChooserButton
Returns
the value of “show-default-item”
gtk_app_chooser_button_set_show_default_item ()
gtk_app_chooser_button_set_show_default_item
void
gtk_app_chooser_button_set_show_default_item
(GtkAppChooserButton *self ,
gboolean setting );
Sets whether the dropdown menu of this button should show the
default application for the given content type at top.
Parameters
self
a GtkAppChooserButton
setting
the new value for “show-default-item”
gtk_app_chooser_button_get_show_dialog_item ()
gtk_app_chooser_button_get_show_dialog_item
gboolean
gtk_app_chooser_button_get_show_dialog_item
(GtkAppChooserButton *self );
Returns the current value of the “show-dialog-item”
property.
Parameters
self
a GtkAppChooserButton
Returns
the value of “show-dialog-item”
gtk_app_chooser_button_set_show_dialog_item ()
gtk_app_chooser_button_set_show_dialog_item
void
gtk_app_chooser_button_set_show_dialog_item
(GtkAppChooserButton *self ,
gboolean setting );
Sets whether the dropdown menu of this button should show an
entry to trigger a GtkAppChooserDialog .
Parameters
self
a GtkAppChooserButton
setting
the new value for “show-dialog-item”
gtk_app_chooser_button_get_heading ()
gtk_app_chooser_button_get_heading
const gchar *
gtk_app_chooser_button_get_heading (GtkAppChooserButton *self );
Returns the text to display at the top of the dialog.
Parameters
self
a GtkAppChooserButton
Returns
the text to display at the top of the dialog,
or NULL , in which case a default text is displayed.
[nullable ]
gtk_app_chooser_button_set_heading ()
gtk_app_chooser_button_set_heading
void
gtk_app_chooser_button_set_heading (GtkAppChooserButton *self ,
const gchar *heading );
Sets the text to display at the top of the dialog.
If the heading is not set, the dialog displays a default text.
Parameters
self
a GtkAppChooserButton
heading
a string containing Pango markup
Property Details
The “heading” property
GtkAppChooserButton:heading
“heading” gchar *
The text to show at the top of the dialog that can be
opened from the button. The string may contain Pango markup.
Owner: GtkAppChooserButton
Flags: Read / Write
Default value: NULL
The “show-default-item” property
GtkAppChooserButton:show-default-item
“show-default-item” gboolean
The “show-default-item” property determines
whether the dropdown menu should show the default application
on top for the provided content type.
Owner: GtkAppChooserButton
Flags: Read / Write / Construct
Default value: FALSE
The “show-dialog-item” property
GtkAppChooserButton:show-dialog-item
“show-dialog-item” gboolean
The “show-dialog-item” property determines
whether the dropdown menu should show an item that triggers
a GtkAppChooserDialog when clicked.
Owner: GtkAppChooserButton
Flags: Read / Write / Construct
Default value: FALSE
Signal Details
The “changed” signal
GtkAppChooserButton::changed
void
user_function (GtkAppChooserButton *appchooserbutton,
gpointer user_data)
Flags: Run Last
The “custom-item-activated” signal
GtkAppChooserButton::custom-item-activated
void
user_function (GtkAppChooserButton *self,
gchar *item_name,
gpointer user_data)
Emitted when a custom item, previously added with
gtk_app_chooser_button_append_custom_item() , is activated from the
dropdown menu.
Parameters
self
the object which received the signal
item_name
the name of the activated item
user_data
user data set when the signal handler was connected.
Flags: Has Details
docs/reference/gtk/xml/gtkmediacontrols.xml 0000664 0001750 0001750 00000024131 13617646205 021267 0 ustar mclasen mclasen
]>
GtkMediaControls
3
GTK4 Library
GtkMediaControls
A widget showing controls for a media stream
Functions
GtkWidget *
gtk_media_controls_new ()
GtkMediaStream *
gtk_media_controls_get_media_stream ()
void
gtk_media_controls_set_media_stream ()
Properties
GtkMediaStream * media-streamRead / Write
Types and Values
GtkMediaControls
Object Hierarchy
GObject
╰── GInitiallyUnowned
╰── GtkWidget
╰── GtkMediaControls
Implemented Interfaces
GtkMediaControls implements
AtkImplementorIface, GtkBuildable and GtkConstraintTarget.
Includes #include <gtk/gtk.h>
Description
GtkMediaControls is a widget to show controls for a GtkMediaStream
and giving users a way to use it.
Functions
gtk_media_controls_new ()
gtk_media_controls_new
GtkWidget *
gtk_media_controls_new (GtkMediaStream *stream );
Creates a new GtkMediaControls managing the stream
passed to it.
Parameters
stream
a GtkMediaStream to
manage or NULL for none.
[allow-none ][transfer none ]
Returns
a new GtkMediaControls
gtk_media_controls_get_media_stream ()
gtk_media_controls_get_media_stream
GtkMediaStream *
gtk_media_controls_get_media_stream (GtkMediaControls *controls );
Gets the media stream managed by controls
or NULL if none.
Parameters
controls
a GtkMediaControls
Returns
The media stream managed by controls
.
[nullable ][transfer none ]
gtk_media_controls_set_media_stream ()
gtk_media_controls_set_media_stream
void
gtk_media_controls_set_media_stream (GtkMediaControls *controls ,
GtkMediaStream *stream );
Sets the stream that is controlled by controls
.
Parameters
controls
a GtkMediaControls widget
stream
a GtkMediaStream , or NULL .
[nullable ]
Property Details
The “media-stream” property
GtkMediaControls:media-stream
“media-stream” GtkMediaStream *
The media-stream managed by this object or NULL if none.
Owner: GtkMediaControls
Flags: Read / Write
See Also
GtkVideo
docs/reference/gtk/xml/gtkappchooserdialog.xml 0000664 0001750 0001750 00000042450 13617646204 021752 0 ustar mclasen mclasen
]>
GtkAppChooserDialog
3
GTK4 Library
GtkAppChooserDialog
An application chooser dialog
Functions
GtkWidget *
gtk_app_chooser_dialog_new ()
GtkWidget *
gtk_app_chooser_dialog_new_for_content_type ()
GtkWidget *
gtk_app_chooser_dialog_get_widget ()
void
gtk_app_chooser_dialog_set_heading ()
const gchar *
gtk_app_chooser_dialog_get_heading ()
Properties
GFile * gfileRead / Write / Construct Only
gchar * headingRead / Write
Types and Values
GtkAppChooserDialog
Object Hierarchy
GObject
╰── GInitiallyUnowned
╰── GtkWidget
╰── GtkContainer
╰── GtkBin
╰── GtkWindow
╰── GtkDialog
╰── GtkAppChooserDialog
Implemented Interfaces
GtkAppChooserDialog implements
AtkImplementorIface, GtkBuildable, GtkConstraintTarget, GtkNative, GtkRoot and GtkAppChooser.
Includes #include <gtk/gtk.h>
Description
GtkAppChooserDialog shows a GtkAppChooserWidget inside a GtkDialog .
Note that GtkAppChooserDialog does not have any interesting methods
of its own. Instead, you should get the embedded GtkAppChooserWidget
using gtk_app_chooser_dialog_get_widget() and call its methods if
the generic GtkAppChooser interface is not sufficient for your needs.
To set the heading that is shown above the GtkAppChooserWidget ,
use gtk_app_chooser_dialog_set_heading() .
Functions
gtk_app_chooser_dialog_new ()
gtk_app_chooser_dialog_new
GtkWidget *
gtk_app_chooser_dialog_new (GtkWindow *parent ,
GtkDialogFlags flags ,
GFile *file );
Creates a new GtkAppChooserDialog for the provided GFile ,
to allow the user to select an application for it.
Parameters
parent
a GtkWindow , or NULL .
[allow-none ]
flags
flags for this dialog
file
a GFile
Returns
a newly created GtkAppChooserDialog
gtk_app_chooser_dialog_new_for_content_type ()
gtk_app_chooser_dialog_new_for_content_type
GtkWidget *
gtk_app_chooser_dialog_new_for_content_type
(GtkWindow *parent ,
GtkDialogFlags flags ,
const gchar *content_type );
Creates a new GtkAppChooserDialog for the provided content type,
to allow the user to select an application for it.
Parameters
parent
a GtkWindow , or NULL .
[allow-none ]
flags
flags for this dialog
content_type
a content type string
Returns
a newly created GtkAppChooserDialog
gtk_app_chooser_dialog_get_widget ()
gtk_app_chooser_dialog_get_widget
GtkWidget *
gtk_app_chooser_dialog_get_widget (GtkAppChooserDialog *self );
Returns the GtkAppChooserWidget of this dialog.
Parameters
self
a GtkAppChooserDialog
Returns
the GtkAppChooserWidget of self
.
[transfer none ]
gtk_app_chooser_dialog_set_heading ()
gtk_app_chooser_dialog_set_heading
void
gtk_app_chooser_dialog_set_heading (GtkAppChooserDialog *self ,
const gchar *heading );
Sets the text to display at the top of the dialog.
If the heading is not set, the dialog displays a default text.
Parameters
self
a GtkAppChooserDialog
heading
a string containing Pango markup
gtk_app_chooser_dialog_get_heading ()
gtk_app_chooser_dialog_get_heading
const gchar *
gtk_app_chooser_dialog_get_heading (GtkAppChooserDialog *self );
Returns the text to display at the top of the dialog.
Parameters
self
a GtkAppChooserDialog
Returns
the text to display at the top of the dialog, or NULL , in which
case a default text is displayed.
[nullable ]
Property Details
The “gfile” property
GtkAppChooserDialog:gfile
“gfile” GFile *
The GFile used by the GtkAppChooserDialog .
The dialog's GtkAppChooserWidget content type will be guessed from the
file, if present.
Owner: GtkAppChooserDialog
Flags: Read / Write / Construct Only
The “heading” property
GtkAppChooserDialog:heading
“heading” gchar *
The text to show at the top of the dialog.
The string may contain Pango markup.
Owner: GtkAppChooserDialog
Flags: Read / Write
Default value: NULL
docs/reference/gtk/xml/gtkmediafile.xml 0000664 0001750 0001750 00000064674 13617646205 020363 0 ustar mclasen mclasen
]>
GtkMediaFile
3
GTK4 Library
GtkMediaFile
Open media files for use in GTK
Functions
GtkMediaStream *
gtk_media_file_new ()
GtkMediaStream *
gtk_media_file_new_for_filename ()
GtkMediaStream *
gtk_media_file_new_for_resource ()
GtkMediaStream *
gtk_media_file_new_for_file ()
GtkMediaStream *
gtk_media_file_new_for_input_stream ()
void
gtk_media_file_clear ()
void
gtk_media_file_set_filename ()
void
gtk_media_file_set_resource ()
void
gtk_media_file_set_file ()
GFile *
gtk_media_file_get_file ()
void
gtk_media_file_set_input_stream ()
GInputStream *
gtk_media_file_get_input_stream ()
Properties
GFile * fileRead / Write
GInputStream * input-streamRead / Write
Types and Values
GtkMediaFile
Object Hierarchy
GObject
╰── GtkMediaStream
╰── GtkMediaFile
Implemented Interfaces
GtkMediaFile implements
GdkPaintable.
Includes #include <gtk/gtk.h>
Description
GtkMediaFile is the implementation for media file usage with GtkMediaStream .
This provides a simple way to play back video files with GTK.
GTK+ provides a GIO extension point for GtkMediaFile implementations
to allow for external implementations using various media frameworks.
GTK+ itself includes implementations using GStreamer and ffmpeg.
Functions
gtk_media_file_new ()
gtk_media_file_new
GtkMediaStream *
gtk_media_file_new (void );
Creates a new empty media file.
Returns
a new GtkMediaFile .
[type Gtk.MediaFile]
gtk_media_file_new_for_filename ()
gtk_media_file_new_for_filename
GtkMediaStream *
gtk_media_file_new_for_filename (const char *filename );
This is a utility function that converts the given filename
to a GFile and calls gtk_media_file_new_for_file() .
Parameters
filename
filename to open
Returns
a new GtkMediaFile playing filename
.
[type Gtk.MediaFile]
gtk_media_file_new_for_resource ()
gtk_media_file_new_for_resource
GtkMediaStream *
gtk_media_file_new_for_resource (const char *resource_path );
This is a utility function that converts the given resource
to a GFile and calls gtk_media_file_new_for_file() .
Parameters
resource_path
resource path to open
Returns
a new GtkMediaFile playing resource_path
.
[type Gtk.MediaFile]
gtk_media_file_new_for_file ()
gtk_media_file_new_for_file
GtkMediaStream *
gtk_media_file_new_for_file (GFile *file );
Creates a new media file to play file
.
Parameters
file
The file to play
Returns
a new GtkMediaFile playing file
.
[type Gtk.MediaFile]
gtk_media_file_new_for_input_stream ()
gtk_media_file_new_for_input_stream
GtkMediaStream *
gtk_media_file_new_for_input_stream (GInputStream *stream );
Creates a new media file to play stream
. If you want the
resulting media to be seekable, the stream should implement
the GSeekable interface.
Parameters
stream
The stream to play
Returns
a new GtkMediaFile .
[type Gtk.MediaFile]
gtk_media_file_clear ()
gtk_media_file_clear
void
gtk_media_file_clear (GtkMediaFile *self );
Resets the media file to be empty.
Parameters
self
a GtkMediaFile
gtk_media_file_set_filename ()
gtk_media_file_set_filename
void
gtk_media_file_set_filename (GtkMediaFile *self ,
const char *filename );
This is a utility function that converts the given filename
to a GFile and calls gtk_media_file_set_file() .
Parameters
self
a GtkMediaFile
filename
name of file to play.
[allow-none ]
gtk_media_file_set_resource ()
gtk_media_file_set_resource
void
gtk_media_file_set_resource (GtkMediaFile *self ,
const char *resource_path );
This is a utility function that converts the given resource_path
to a GFile and calls gtk_media_file_set_file() .
Parameters
self
a GtkMediaFile
resource_path
path to resource to play.
[allow-none ]
gtk_media_file_set_file ()
gtk_media_file_set_file
void
gtk_media_file_set_file (GtkMediaFile *self ,
GFile *file );
If any file is still playing, stop playing it.
Then start playing the given file
.
Parameters
self
a GtkMediaFile
file
the file to play.
[allow-none ]
gtk_media_file_get_file ()
gtk_media_file_get_file
GFile *
gtk_media_file_get_file (GtkMediaFile *self );
Returns the file that self
is currently playing from.
When self
is not playing or not playing from a file,
NULL is returned.
Parameters
self
a GtkMediaFile
Returns
The currently playing file or NULL if not
playing from a file.
[nullable ][transfer none ]
gtk_media_file_set_input_stream ()
gtk_media_file_set_input_stream
void
gtk_media_file_set_input_stream (GtkMediaFile *self ,
GInputStream *stream );
If anything is still playing, stop playing it. Then start
playing the given stream
.
Full control about the stream
is assumed for the duration of
playback. The stream will not bt be closed.
Parameters
self
a GtkMediaFile
stream
the stream to play from.
[allow-none ]
gtk_media_file_get_input_stream ()
gtk_media_file_get_input_stream
GInputStream *
gtk_media_file_get_input_stream (GtkMediaFile *self );
Returns the stream that self
is currently playing from.
When self
is not playing or not playing from a stream,
NULL is returned.
Parameters
self
a GtkMediaFile
Returns
The currently playing stream or NULL if not
playing from a stream.
[nullable ][transfer none ]
Property Details
The “file” property
GtkMediaFile:file
“file” GFile *
The file being played back or NULL if not playing a file.
Owner: GtkMediaFile
Flags: Read / Write
The “input-stream” property
GtkMediaFile:input-stream
“input-stream” GInputStream *
The stream being played back or NULL if not playing a stream, like when playing a file.
Owner: GtkMediaFile
Flags: Read / Write
See Also
GtkMediaStream , GtkVideo
docs/reference/gtk/xml/gtkappchooserwidget.xml 0000664 0001750 0001750 00000121040 13617646204 021767 0 ustar mclasen mclasen
]>
GtkAppChooserWidget
3
GTK4 Library
GtkAppChooserWidget
Application chooser widget that can be embedded in other widgets
Functions
GtkWidget *
gtk_app_chooser_widget_new ()
void
gtk_app_chooser_widget_set_show_default ()
gboolean
gtk_app_chooser_widget_get_show_default ()
void
gtk_app_chooser_widget_set_show_recommended ()
gboolean
gtk_app_chooser_widget_get_show_recommended ()
void
gtk_app_chooser_widget_set_show_fallback ()
gboolean
gtk_app_chooser_widget_get_show_fallback ()
void
gtk_app_chooser_widget_set_show_other ()
gboolean
gtk_app_chooser_widget_get_show_other ()
void
gtk_app_chooser_widget_set_show_all ()
gboolean
gtk_app_chooser_widget_get_show_all ()
void
gtk_app_chooser_widget_set_default_text ()
const gchar *
gtk_app_chooser_widget_get_default_text ()
Properties
gchar * default-textRead / Write
gboolean show-allRead / Write / Construct
gboolean show-defaultRead / Write / Construct
gboolean show-fallbackRead / Write / Construct
gboolean show-otherRead / Write / Construct
gboolean show-recommendedRead / Write / Construct
Signals
void application-activated Run First
void application-selected Run First
Types and Values
GtkAppChooserWidget
Object Hierarchy
GObject
╰── GInitiallyUnowned
╰── GtkWidget
╰── GtkAppChooserWidget
Implemented Interfaces
GtkAppChooserWidget implements
AtkImplementorIface, GtkBuildable, GtkConstraintTarget and GtkAppChooser.
Includes #include <gtk/gtk.h>
Description
GtkAppChooserWidget is a widget for selecting applications.
It is the main building block for GtkAppChooserDialog . Most
applications only need to use the latter; but you can use
this widget as part of a larger widget if you have special needs.
GtkAppChooserWidget offers detailed control over what applications
are shown, using the
“show-default” ,
“show-recommended” ,
“show-fallback” ,
“show-other” and
“show-all”
properties. See the GtkAppChooser documentation for more information
about these groups of applications.
To keep track of the selected application, use the
“application-selected” and “application-activated” signals.
CSS nodes GtkAppChooserWidget has a single CSS node with name appchooser.
Functions
gtk_app_chooser_widget_new ()
gtk_app_chooser_widget_new
GtkWidget *
gtk_app_chooser_widget_new (const gchar *content_type );
Creates a new GtkAppChooserWidget for applications
that can handle content of the given type.
Parameters
content_type
the content type to show applications for
Returns
a newly created GtkAppChooserWidget
gtk_app_chooser_widget_set_show_default ()
gtk_app_chooser_widget_set_show_default
void
gtk_app_chooser_widget_set_show_default
(GtkAppChooserWidget *self ,
gboolean setting );
Sets whether the app chooser should show the default handler
for the content type in a separate section.
Parameters
self
a GtkAppChooserWidget
setting
the new value for “show-default”
gtk_app_chooser_widget_get_show_default ()
gtk_app_chooser_widget_get_show_default
gboolean
gtk_app_chooser_widget_get_show_default
(GtkAppChooserWidget *self );
Returns the current value of the “show-default”
property.
Parameters
self
a GtkAppChooserWidget
Returns
the value of “show-default”
gtk_app_chooser_widget_set_show_recommended ()
gtk_app_chooser_widget_set_show_recommended
void
gtk_app_chooser_widget_set_show_recommended
(GtkAppChooserWidget *self ,
gboolean setting );
Sets whether the app chooser should show recommended applications
for the content type in a separate section.
Parameters
self
a GtkAppChooserWidget
setting
the new value for “show-recommended”
gtk_app_chooser_widget_get_show_recommended ()
gtk_app_chooser_widget_get_show_recommended
gboolean
gtk_app_chooser_widget_get_show_recommended
(GtkAppChooserWidget *self );
Returns the current value of the “show-recommended”
property.
Parameters
self
a GtkAppChooserWidget
Returns
the value of “show-recommended”
gtk_app_chooser_widget_set_show_fallback ()
gtk_app_chooser_widget_set_show_fallback
void
gtk_app_chooser_widget_set_show_fallback
(GtkAppChooserWidget *self ,
gboolean setting );
Sets whether the app chooser should show related applications
for the content type in a separate section.
Parameters
self
a GtkAppChooserWidget
setting
the new value for “show-fallback”
gtk_app_chooser_widget_get_show_fallback ()
gtk_app_chooser_widget_get_show_fallback
gboolean
gtk_app_chooser_widget_get_show_fallback
(GtkAppChooserWidget *self );
Returns the current value of the “show-fallback”
property.
Parameters
self
a GtkAppChooserWidget
Returns
the value of “show-fallback”
gtk_app_chooser_widget_set_show_other ()
gtk_app_chooser_widget_set_show_other
void
gtk_app_chooser_widget_set_show_other (GtkAppChooserWidget *self ,
gboolean setting );
Sets whether the app chooser should show applications
which are unrelated to the content type.
Parameters
self
a GtkAppChooserWidget
setting
the new value for “show-other”
gtk_app_chooser_widget_get_show_other ()
gtk_app_chooser_widget_get_show_other
gboolean
gtk_app_chooser_widget_get_show_other (GtkAppChooserWidget *self );
Returns the current value of the “show-other”
property.
Parameters
self
a GtkAppChooserWidget
Returns
the value of “show-other”
gtk_app_chooser_widget_set_show_all ()
gtk_app_chooser_widget_set_show_all
void
gtk_app_chooser_widget_set_show_all (GtkAppChooserWidget *self ,
gboolean setting );
Sets whether the app chooser should show all applications
in a flat list.
Parameters
self
a GtkAppChooserWidget
setting
the new value for “show-all”
gtk_app_chooser_widget_get_show_all ()
gtk_app_chooser_widget_get_show_all
gboolean
gtk_app_chooser_widget_get_show_all (GtkAppChooserWidget *self );
Returns the current value of the “show-all”
property.
Parameters
self
a GtkAppChooserWidget
Returns
the value of “show-all”
gtk_app_chooser_widget_set_default_text ()
gtk_app_chooser_widget_set_default_text
void
gtk_app_chooser_widget_set_default_text
(GtkAppChooserWidget *self ,
const gchar *text );
Sets the text that is shown if there are not applications
that can handle the content type.
Parameters
self
a GtkAppChooserWidget
text
the new value for “default-text”
gtk_app_chooser_widget_get_default_text ()
gtk_app_chooser_widget_get_default_text
const gchar *
gtk_app_chooser_widget_get_default_text
(GtkAppChooserWidget *self );
Returns the text that is shown if there are not applications
that can handle the content type.
Parameters
self
a GtkAppChooserWidget
Returns
the value of “default-text”
Property Details
The “default-text” property
GtkAppChooserWidget:default-text
“default-text” gchar *
The “default-text” property determines the text
that appears in the widget when there are no applications for the
given content type.
See also gtk_app_chooser_widget_set_default_text() .
Owner: GtkAppChooserWidget
Flags: Read / Write
Default value: NULL
The “show-all” property
GtkAppChooserWidget:show-all
“show-all” gboolean
If the “show-all” property is TRUE , the app
chooser presents all applications in a single list, without
subsections for default, recommended or related applications.
Owner: GtkAppChooserWidget
Flags: Read / Write / Construct
Default value: FALSE
The “show-default” property
GtkAppChooserWidget:show-default
“show-default” gboolean
The ::show-default property determines whether the app chooser
should show the default handler for the content type in a
separate section. If FALSE , the default handler is listed
among the recommended applications.
Owner: GtkAppChooserWidget
Flags: Read / Write / Construct
Default value: FALSE
The “show-fallback” property
GtkAppChooserWidget:show-fallback
“show-fallback” gboolean
The “show-fallback” property determines whether
the app chooser should show a section for fallback applications.
If FALSE , the fallback applications are listed among the other
applications.
Owner: GtkAppChooserWidget
Flags: Read / Write / Construct
Default value: FALSE
The “show-other” property
GtkAppChooserWidget:show-other
“show-other” gboolean
The “show-other” property determines whether
the app chooser should show a section for other applications.
Owner: GtkAppChooserWidget
Flags: Read / Write / Construct
Default value: FALSE
The “show-recommended” property
GtkAppChooserWidget:show-recommended
“show-recommended” gboolean
The “show-recommended” property determines
whether the app chooser should show a section for recommended
applications. If FALSE , the recommended applications are listed
among the other applications.
Owner: GtkAppChooserWidget
Flags: Read / Write / Construct
Default value: TRUE
Signal Details
The “application-activated” signal
GtkAppChooserWidget::application-activated
void
user_function (GtkAppChooserWidget *self,
GAppInfo *application,
gpointer user_data)
Emitted when an application item is activated from the widget's list.
This usually happens when the user double clicks an item, or an item
is selected and the user presses one of the keys Space, Shift+Space,
Return or Enter.
Parameters
self
the object which received the signal
application
the activated GAppInfo
user_data
user data set when the signal handler was connected.
Flags: Run First
The “application-selected” signal
GtkAppChooserWidget::application-selected
void
user_function (GtkAppChooserWidget *self,
GAppInfo *application,
gpointer user_data)
Emitted when an application item is selected from the widget's list.
Parameters
self
the object which received the signal
application
the selected GAppInfo
user_data
user data set when the signal handler was connected.
Flags: Run First
docs/reference/gtk/xml/gtkmediastream.xml 0000664 0001750 0001750 00000222357 13617646205 020731 0 ustar mclasen mclasen
]>
GtkMediaStream
3
GTK4 Library
GtkMediaStream
Display media in GTK
Functions
gboolean
gtk_media_stream_is_prepared ()
const GError *
gtk_media_stream_get_error ()
gboolean
gtk_media_stream_has_audio ()
gboolean
gtk_media_stream_has_video ()
void
gtk_media_stream_play ()
void
gtk_media_stream_pause ()
gboolean
gtk_media_stream_get_playing ()
void
gtk_media_stream_set_playing ()
gboolean
gtk_media_stream_get_ended ()
gint64
gtk_media_stream_get_timestamp ()
gint64
gtk_media_stream_get_duration ()
gboolean
gtk_media_stream_is_seekable ()
gboolean
gtk_media_stream_is_seeking ()
void
gtk_media_stream_seek ()
gboolean
gtk_media_stream_get_loop ()
void
gtk_media_stream_set_loop ()
gboolean
gtk_media_stream_get_muted ()
void
gtk_media_stream_set_muted ()
double
gtk_media_stream_get_volume ()
void
gtk_media_stream_set_volume ()
void
gtk_media_stream_realize ()
void
gtk_media_stream_unrealize ()
void
gtk_media_stream_prepared ()
void
gtk_media_stream_unprepared ()
void
gtk_media_stream_update ()
void
gtk_media_stream_ended ()
void
gtk_media_stream_seek_success ()
void
gtk_media_stream_seek_failed ()
void
gtk_media_stream_gerror ()
void
gtk_media_stream_error ()
void
gtk_media_stream_error_valist ()
Properties
gint64 durationRead
gboolean endedRead
GError * errorRead / Write
gboolean has-audioRead / Write
gboolean has-videoRead / Write
gboolean loopRead / Write
gboolean mutedRead / Write
gboolean playingRead / Write
gboolean preparedRead / Write
gboolean seekableRead
gboolean seekingRead
gint64 timestampRead
gboolean volumeRead / Write
Types and Values
GtkMediaStream
struct GtkMediaStreamClass
Object Hierarchy
GObject
╰── GtkMediaStream
╰── GtkMediaFile
Implemented Interfaces
GtkMediaStream implements
GdkPaintable.
Includes #include <gtk/gtk.h>
Description
GtkMediaStream is the integration point for media playback inside GTK.
Apart from application-facing API for stream playback, GtkMediaStream
has a number of APIs that are only useful for implementations and should
not be used in applications:
gtk_media_stream_prepared() ,
gtk_media_stream_unprepared() ,
gtk_media_stream_update() ,
gtk_media_stream_ended() ,
gtk_media_stream_seek_success() ,
gtk_media_stream_seek_failed() ,
gtk_media_stream_gerror() ,
gtk_media_stream_error() ,
gtk_media_stream_error_valist() .
Functions
gtk_media_stream_is_prepared ()
gtk_media_stream_is_prepared
gboolean
gtk_media_stream_is_prepared (GtkMediaStream *self );
Returns whether the stream has finished initializing and existence of
audio and video is known.
Parameters
self
a GtkMediaStream
Returns
TRUE if the stream is prepared
gtk_media_stream_get_error ()
gtk_media_stream_get_error
const GError *
gtk_media_stream_get_error (GtkMediaStream *self );
If the stream is in an error state, returns the GError explaining that state.
Any type of error can be reported here depending on the implementation of the
media stream.
A media stream in an error cannot be operated on, calls like
gtk_media_stream_play() or gtk_media_stream_seek() will not have any effect.
GtkMediaStream itself does not provide a way to unset an error, but
implementations may provide options. For example, a GtkMediaFile will unset
errors when a new source is set with ie gtk_media_file_set_file() .
Parameters
self
a GtkMediaStream
Returns
NULL if not in an error state or
the GError of the stream.
[nullable ][transfer none ]
gtk_media_stream_has_audio ()
gtk_media_stream_has_audio
gboolean
gtk_media_stream_has_audio (GtkMediaStream *self );
Returns whether the stream has audio.
Parameters
self
a GtkMediaStream
Returns
TRUE if the stream has audio
gtk_media_stream_has_video ()
gtk_media_stream_has_video
gboolean
gtk_media_stream_has_video (GtkMediaStream *self );
Returns whether the stream has video.
Parameters
self
a GtkMediaStream
Returns
TRUE if the stream has video
gtk_media_stream_play ()
gtk_media_stream_play
void
gtk_media_stream_play (GtkMediaStream *self );
Starts playing the stream. If the stream
is in error or already playing, do nothing.
Parameters
self
a GtkMediaStream
gtk_media_stream_pause ()
gtk_media_stream_pause
void
gtk_media_stream_pause (GtkMediaStream *self );
Pauses playback of the stream. If the stream
is not playing, do nothing.
Parameters
self
a GtkMediaStream
gtk_media_stream_get_playing ()
gtk_media_stream_get_playing
gboolean
gtk_media_stream_get_playing (GtkMediaStream *self );
Return whether the stream is currently playing.
Parameters
self
a GtkMediaStream
Returns
TRUE if the stream is playing
gtk_media_stream_set_playing ()
gtk_media_stream_set_playing
void
gtk_media_stream_set_playing (GtkMediaStream *self ,
gboolean playing );
Starts or pauses playback of the stream.
Parameters
self
a GtkMediaStream
playing
whether to start or pause playback
gtk_media_stream_get_ended ()
gtk_media_stream_get_ended
gboolean
gtk_media_stream_get_ended (GtkMediaStream *self );
Returns whether the streams playback is finished.
Parameters
self
a GtkMediaStream
Returns
TRUE if playback is finished
gtk_media_stream_get_timestamp ()
gtk_media_stream_get_timestamp
gint64
gtk_media_stream_get_timestamp (GtkMediaStream *self );
Returns the current presentation timestamp in microseconds.
Parameters
self
a GtkMediaStream
Returns
the timestamp in microseconds
gtk_media_stream_get_duration ()
gtk_media_stream_get_duration
gint64
gtk_media_stream_get_duration (GtkMediaStream *self );
Gets the duration of the stream. If the duration is not known,
0 will be returned.
Parameters
self
a GtkMediaStream
Returns
the duration of the stream or 0 if not known.
gtk_media_stream_is_seekable ()
gtk_media_stream_is_seekable
gboolean
gtk_media_stream_is_seekable (GtkMediaStream *self );
Checks if a stream may be seekable.
This is meant to be a hint. Streams may not allow seeking even if
this function returns TRUE . However, if this function returns
FALSE , streams are guaranteed to not be seekable and user interfaces
may hide controls that allow seeking.
It is allowed to call gtk_media_stream_seek() on a non-seekable
stream, though it will not do anything.
Parameters
self
a GtkMediaStream
Returns
TRUE if the stream may support seeking
gtk_media_stream_is_seeking ()
gtk_media_stream_is_seeking
gboolean
gtk_media_stream_is_seeking (GtkMediaStream *self );
Checks if there is currently a seek operation going on.
Parameters
self
a GtkMediaStream
Returns
TRUE if a seek operation is ongoing.
gtk_media_stream_seek ()
gtk_media_stream_seek
void
gtk_media_stream_seek (GtkMediaStream *self ,
gint64 timestamp );
Start a seek operation on self
to timestamp
. If timestamp
is out of range,
it will be clamped.
Seek operations may not finish instantly. While a seek operation is
in process, the GtkMediaStream:seeking property will be set.
When calling gtk_media_stream_seek() during an ongoing seek operation,
the new seek wil override any pending seek.
Parameters
self
a GtkMediaStream
timestamp
timestamp to seek to.
gtk_media_stream_get_loop ()
gtk_media_stream_get_loop
gboolean
gtk_media_stream_get_loop (GtkMediaStream *self );
Returns whether the stream is set to loop. See
gtk_media_stream_set_loop() for details.
Parameters
self
a GtkMediaStream
Returns
TRUE if the stream should loop
gtk_media_stream_set_loop ()
gtk_media_stream_set_loop
void
gtk_media_stream_set_loop (GtkMediaStream *self ,
gboolean loop );
Sets whether the stream should loop, ie restart playback from
the beginning instead of stopping at the end.
Not all streams may support looping, in particular non-seekable
streams. Those streams will ignore the loop setting and just end.
Parameters
self
a GtkMediaStream
loop
TRUE if the stream should loop
gtk_media_stream_get_muted ()
gtk_media_stream_get_muted
gboolean
gtk_media_stream_get_muted (GtkMediaStream *self );
Returns whether the audio for the stream is muted.
See gtk_media_stream_set_muted() for details.
Parameters
self
a GtkMediaStream
Returns
TRUE if the stream is muted
gtk_media_stream_set_muted ()
gtk_media_stream_set_muted
void
gtk_media_stream_set_muted (GtkMediaStream *self ,
gboolean muted );
Sets whether the audio stream should be muted. Muting a stream will
cause no audio to be played, but it does not modify the volume.
This means that muting and then unmuting the stream will restore
the volume settings.
If the stream has no audio, calling this function will still work
but it will not have an audible effect.
Parameters
self
a GtkMediaStream
muted
TRUE if the stream should be muted
gtk_media_stream_get_volume ()
gtk_media_stream_get_volume
double
gtk_media_stream_get_volume (GtkMediaStream *self );
Returns the volume of the audio for the stream.
See gtk_media_stream_set_volume() for details.
Parameters
self
a GtkMediaStream
Returns
volume of the stream from 0.0 to 1.0
gtk_media_stream_set_volume ()
gtk_media_stream_set_volume
void
gtk_media_stream_set_volume (GtkMediaStream *self ,
double volume );
Sets the volume of the audio stream. This function call will work even if
the stream is muted.
The given volume
should range from 0.0 for silence to 1.0 for as loud as
possible. Values outside of this range will be clamped to the nearest
value.
If the stream has no audio or is muted, calling this function will still
work but it will not have an immediate audible effect. When the stream is
unmuted, the new volume setting will take effect.
Parameters
self
a GtkMediaStream
volume
New volume of the stream from 0.0 to 1.0
gtk_media_stream_realize ()
gtk_media_stream_realize
void
gtk_media_stream_realize (GtkMediaStream *self ,
GdkSurface *surface );
Called by users to attach the media stream to a GdkSurface they manage.
The stream can then access the resources of surface
for its rendering
purposes. In particular, media streams might want to create
GdkGLContexts or sync to the GdkFrameClock .
Whoever calls this function is responsible for calling
gtk_media_stream_unrealize() before either the stream or surface
get
destroyed.
Multiple calls to this function may happen from different users of the
video, even with the same surface
. Each of these calls must be followed
by its own call to gtk_media_stream_unrealize() .
It is not required to call this function to make a media stream work.
Parameters
self
a GtkMediaStream
surface
a GdkSurface
gtk_media_stream_unrealize ()
gtk_media_stream_unrealize
void
gtk_media_stream_unrealize (GtkMediaStream *self ,
GdkSurface *surface );
Undoes a previous call to gtk_media_stream_realize() and causes
the stream to release all resources it had allocated from surface
.
Parameters
self
a GtkMediaStream previously realized
surface
the GdkSurface the stream was realized with
gtk_media_stream_prepared ()
gtk_media_stream_prepared
void
gtk_media_stream_prepared (GtkMediaStream *self ,
gboolean has_audio ,
gboolean has_video ,
gboolean seekable ,
gint64 duration );
Called by GtkMediaStream implementations to advertise the stream
being ready to play and providing details about the stream.
Note that the arguments are hints. If the stream implementation
cannot determine the correct values, it is better to err on the
side of caution and return TRUE . User interfaces will use those
values to determine what controls to show.
This function may not be called again until the stream has been
reset via gtk_media_stream_unprepared() .
Parameters
self
a GtkMediaStream
has_audio
TRUE if the stream should advertise audio support
has_video
TRUE if the stream should advertise video support
seekable
TRUE if the stream should advertise seekability
duration
The duration of the stream or 0 if unknown
gtk_media_stream_unprepared ()
gtk_media_stream_unprepared
void
gtk_media_stream_unprepared (GtkMediaStream *self );
Resets a given media stream implementation. gtk_media_stream_prepared()
can now be called again.
This function will also reset any error state the stream was in.
Parameters
self
a GtkMediaStream
gtk_media_stream_update ()
gtk_media_stream_update
void
gtk_media_stream_update (GtkMediaStream *self ,
gint64 timestamp );
Media stream implementations should regularly call this function to
update the timestamp reported by the stream. It is up to
implementations to call this at the frequency they deem appropriate.
Parameters
self
a GtkMediaStream
timestamp
the new timestamp
gtk_media_stream_ended ()
gtk_media_stream_ended
void
gtk_media_stream_ended (GtkMediaStream *self );
Pauses the media stream and marks it as ended. This is a hint only, calls
to GtkMediaStream.play() may still happen.
Parameters
self
a GtkMediaStream
gtk_media_stream_seek_success ()
gtk_media_stream_seek_success
void
gtk_media_stream_seek_success (GtkMediaStream *self );
Ends a seek operation started via GtkMediaStream.seek() successfully.
This function will unset the GtkMediaStream:ended property if it was
set.
See gtk_media_stream_seek_failed() for the other way of
ending a seek.
Parameters
self
a GtkMediaStream
gtk_media_stream_seek_failed ()
gtk_media_stream_seek_failed
void
gtk_media_stream_seek_failed (GtkMediaStream *self );
Ends a seek operation started via GtkMediaStream.seek() as a failure.
This will not cause an error on the stream and will assume that
playback continues as if no seek had happened.
See gtk_media_stream_seek_success() for the other way of
ending a seek.
Parameters
self
a GtkMediaStream
gtk_media_stream_gerror ()
gtk_media_stream_gerror
void
gtk_media_stream_gerror (GtkMediaStream *self ,
GError *error );
Sets self
into an error state. This will pause the stream
(you can check for an error via gtk_media_stream_get_error() in
your GtkMediaStream.pause() implementation), abort pending seeks
and mark the stream as prepared.
if the stream is already in an error state, this call will be ignored
and the existing error will be retained.
FIXME: Or do we want to set the new error?
To unset an error, the stream must be reset via a call to
gtk_media_stream_unprepared() .
Parameters
self
a GtkMediaStream
error
the GError to set.
[transfer full ]
gtk_media_stream_error ()
gtk_media_stream_error
void
gtk_media_stream_error (GtkMediaStream *self ,
GQuark domain ,
gint code ,
const gchar *format ,
... );
Sets self
into an error state using a printf() -style format string.
This is a utility function that calls gtk_media_stream_gerror() . See
that function for details.
Parameters
self
a GtkMediaStream
domain
error domain
code
error code
format
printf()-style format for error message
...
parameters for message format
gtk_media_stream_error_valist ()
gtk_media_stream_error_valist
void
gtk_media_stream_error_valist (GtkMediaStream *self ,
GQuark domain ,
gint code ,
const gchar *format ,
va_list args );
Sets self
into an error state using a printf() -style format string.
This is a utility function that calls gtk_media_stream_gerror() . See
that function for details.
Parameters
self
a GtkMediaStream
domain
error domain
code
error code
format
printf()-style format for error message
args
va_list of parameters for the message format
Property Details
The “duration” property
GtkMediaStream:duration
“duration” gint64
The stream's duration in microseconds or 0 if unknown.
Owner: GtkMediaStream
Flags: Read
Allowed values: >= 0
Default value: 0
The “ended” property
GtkMediaStream:ended
“ended” gboolean
Set when playback has finished.
Owner: GtkMediaStream
Flags: Read
Default value: FALSE
The “error” property
GtkMediaStream:error
“error” GError *
NULL for a properly working stream or the GError that the stream is in.
Owner: GtkMediaStream
Flags: Read / Write
The “has-audio” property
GtkMediaStream:has-audio
“has-audio” gboolean
Whether the stream contains audio
Owner: GtkMediaStream
Flags: Read / Write
Default value: FALSE
The “has-video” property
GtkMediaStream:has-video
“has-video” gboolean
Whether the stream contains video
Owner: GtkMediaStream
Flags: Read / Write
Default value: FALSE
The “loop” property
GtkMediaStream:loop
“loop” gboolean
Try to restart the media from the beginning once it ended.
Owner: GtkMediaStream
Flags: Read / Write
Default value: FALSE
The “muted” property
GtkMediaStream:muted
“muted” gboolean
Whether the audio stream should be muted.
Owner: GtkMediaStream
Flags: Read / Write
Default value: FALSE
The “playing” property
GtkMediaStream:playing
“playing” gboolean
Whether the stream is currently playing.
Owner: GtkMediaStream
Flags: Read / Write
Default value: FALSE
The “prepared” property
GtkMediaStream:prepared
“prepared” gboolean
Whether the stream has finished initializing and existence of
audio and video is known.
Owner: GtkMediaStream
Flags: Read / Write
Default value: FALSE
The “seekable” property
GtkMediaStream:seekable
“seekable” gboolean
Set unless the stream is known to not support seeking.
Owner: GtkMediaStream
Flags: Read
Default value: TRUE
The “seeking” property
GtkMediaStream:seeking
“seeking” gboolean
Set while a seek is in progress.
Owner: GtkMediaStream
Flags: Read
Default value: FALSE
The “timestamp” property
GtkMediaStream:timestamp
“timestamp” gint64
The current presentation timestamp in microseconds.
Owner: GtkMediaStream
Flags: Read
Allowed values: >= 0
Default value: 0
The “volume” property
GtkMediaStream:volume
“volume” gboolean
Volume of the audio stream.
Owner: GtkMediaStream
Flags: Read / Write
Default value: TRUE
See Also
GdkPaintable
docs/reference/gtk/xml/gtklockbutton.xml 0000664 0001750 0001750 00000040267 13617646204 020617 0 ustar mclasen mclasen
]>
GtkLockButton
3
GTK4 Library
GtkLockButton
A widget to unlock or lock privileged operations
Functions
GtkWidget *
gtk_lock_button_new ()
GPermission *
gtk_lock_button_get_permission ()
void
gtk_lock_button_set_permission ()
Properties
GPermission * permissionRead / Write
gchar * text-lockRead / Write / Construct
gchar * text-unlockRead / Write / Construct
gchar * tooltip-lockRead / Write / Construct
gchar * tooltip-not-authorizedRead / Write / Construct
gchar * tooltip-unlockRead / Write / Construct
Types and Values
GtkLockButton
Object Hierarchy
GObject
╰── GInitiallyUnowned
╰── GtkWidget
╰── GtkContainer
╰── GtkBin
╰── GtkButton
╰── GtkLockButton
Implemented Interfaces
GtkLockButton implements
AtkImplementorIface, GtkBuildable, GtkConstraintTarget and GtkActionable.
Includes #include <gtk/gtk.h>
Description
GtkLockButton is a widget that can be used in control panels or
preference dialogs to allow users to obtain and revoke authorizations
needed to operate the controls. The required authorization is represented
by a GPermission object. Concrete implementations of GPermission may use
PolicyKit or some other authorization framework. To obtain a PolicyKit-based
GPermission , use polkit_permission_new() .
If the user is not currently allowed to perform the action, but can obtain
the permission, the widget looks like this:
and the user can click the button to request the permission. Depending
on the platform, this may pop up an authentication dialog or ask the user
to authenticate in some other way. Once the user has obtained the permission,
the widget changes to this:
and the permission can be dropped again by clicking the button. If the user
is not able to obtain the permission at all, the widget looks like this:
If the user has the permission and cannot drop it, the button is hidden.
The text (and tooltips) that are shown in the various cases can be adjusted
with the “text-lock” , “text-unlock” ,
“tooltip-lock” , “tooltip-unlock” and
“tooltip-not-authorized” properties.
Functions
gtk_lock_button_new ()
gtk_lock_button_new
GtkWidget *
gtk_lock_button_new (GPermission *permission );
Creates a new lock button which reflects the permission
.
Parameters
permission
a GPermission .
[allow-none ]
Returns
a new GtkLockButton
gtk_lock_button_get_permission ()
gtk_lock_button_get_permission
GPermission *
gtk_lock_button_get_permission (GtkLockButton *button );
Obtains the GPermission object that controls button
.
Parameters
button
a GtkLockButton
Returns
the GPermission of button
.
[transfer none ]
gtk_lock_button_set_permission ()
gtk_lock_button_set_permission
void
gtk_lock_button_set_permission (GtkLockButton *button ,
GPermission *permission );
Sets the GPermission object that controls button
.
Parameters
button
a GtkLockButton
permission
a GPermission object, or NULL .
[allow-none ]
Property Details
The “permission” property
GtkLockButton:permission
“permission” GPermission *
The GPermission object controlling this button. Owner: GtkLockButton
Flags: Read / Write
The “text-lock” property
GtkLockButton:text-lock
“text-lock” gchar *
The text to display when prompting the user to lock. Owner: GtkLockButton
Flags: Read / Write / Construct
Default value: "Lock"
The “text-unlock” property
GtkLockButton:text-unlock
“text-unlock” gchar *
The text to display when prompting the user to unlock. Owner: GtkLockButton
Flags: Read / Write / Construct
Default value: "Unlock"
The “tooltip-lock” property
GtkLockButton:tooltip-lock
“tooltip-lock” gchar *
The tooltip to display when prompting the user to lock. Owner: GtkLockButton
Flags: Read / Write / Construct
Default value: "Dialog is unlocked.\nClick to prevent further changes"
The “tooltip-not-authorized” property
GtkLockButton:tooltip-not-authorized
“tooltip-not-authorized” gchar *
The tooltip to display when prompting the user cannot obtain authorization. Owner: GtkLockButton
Flags: Read / Write / Construct
Default value: "System policy prevents changes.\nContact your system administrator"
The “tooltip-unlock” property
GtkLockButton:tooltip-unlock
“tooltip-unlock” gchar *
The tooltip to display when prompting the user to unlock. Owner: GtkLockButton
Flags: Read / Write / Construct
Default value: "Dialog is locked.\nClick to make changes"
docs/reference/gtk/xml/question_index.xml 0000664 0001750 0001750 00000101700 13617646205 020752 0 ustar mclasen mclasen
Common Questions
3
Common Questions
Common Questions
Find answers to common questions in the GTK manual
Questions and Answers
This is an "index" of the reference manual organized by common "How do
I..." questions. If you aren't sure which documentation to read for
the question you have, this list is a good place to start.
General
How do I get started with GTK?
The GTK website offers some
tutorials and other
documentation (most of it about GTK 2.x, but mostly still applicable).
More documentation ranging from whitepapers to online books can be found at
the GNOME developer's site .
After studying these materials you should be well prepared to come back to
this reference manual for details.
Where can I get help with GTK, submit a bug report, or make a feature request?
See the documentation on this topic.
How do I port from one GTK version to another?
See .
You may also find useful information in the documentation for
specific widgets and functions.
If you have a question not covered in the manual, feel free to
ask on the mailing lists and please file a bug report
against the documentation.
How does memory management work in GTK? Should I free data returned from functions?
See the documentation for GObject and GInitiallyUnowned . For GObject note
specifically g_object_ref() and g_object_unref() . GInitiallyUnowned is a
subclass of GObject so the same points apply, except that it has a "floating"
state (explained in its documentation).
For strings returned from functions, they will be declared "const"
if they should not be freed. Non-const strings should be
freed with g_free() . Arrays follow the same rule. If you find an
undocumented exception to the rules, please
file a bug report .
Why does my program leak memory, if I destroy a widget immediately
after creating it ?
If GtkFoo isn't a toplevel window, then
foo = gtk_foo_new ();
gtk_widget_destroy (foo);
is a memory leak, because no one assumed the initial floating
reference. If you are using a widget and you aren't immediately
packing it into a container, then you probably want standard
reference counting, not floating reference counting.
To get this, you must acquire a reference to the widget and drop the
floating reference (ref and sink
in GTK parlance) after
creating it:
foo = gtk_foo_new ();
g_object_ref_sink (foo);
When you want to get rid of the widget, you must call gtk_widget_destroy()
to break any external connections to the widget before dropping your
reference:
gtk_widget_destroy (foo);
g_object_unref (foo);
When you immediately add a widget to a container, it takes care of
assuming the initial floating reference and you don't have to worry
about reference counting at all ... just call gtk_widget_destroy()
to get rid of the widget.
How do I use GTK with threads?
This is covered in the GDK threads
documentation. See also the GThread
documentation for portable threading primitives.
How do I internationalize a GTK program?
Most people use GNU
gettext , already required in order to install GLib. On a UNIX
or Linux system with gettext installed, type info gettext
to read the documentation.
The short checklist on how to use gettext is: call bindtextdomain() so
gettext can find the files containing your translations, call textdomain()
to set the default translation domain, call bind_textdomain_codeset() to
request that all translated strings are returned in UTF-8, then call
gettext() to look up each string to be translated in the default domain.
gi18n.h provides the following shorthand macros for
convenience.
Conventionally, people define macros as follows for convenience:
#define _(x) gettext (x)
#define N_(x) x
#define C_(ctx,x) pgettext (ctx, x)
You use N_() (N stands for no-op) to mark a string for translation in
a location where a function call to gettext() is not allowed, such as
in an array initializer.
You eventually have to call gettext() on the string to actually fetch
the translation. _() both marks the string for translation and actually
translates it.
The C_() macro (C stands for context) adds an additional context to
the string that is marked for translation, which can help to disambiguate
short strings that might need different translations in different
parts of your program.
Code using these macros ends up looking like this:
#include <gi18n.h>
static const char *global_variable = N_("Translate this string");
static void
make_widgets (void)
{
GtkWidget *label1;
GtkWidget *label2;
label1 = gtk_label_new (_("Another string to translate"));
label2 = gtk_label_new (_(global_variable));
...
Libraries using gettext should use dgettext() instead of gettext() , which
allows them to specify the translation domain each time they ask for a
translation. Libraries should also avoid calling textdomain() , since
they will be specifying the domain instead of using the default.
With the convention that the macro GETTEXT_PACKAGE is
defined to hold your libraries translation domain,
gi18n-lib.h can be included to provide
the following convenience:
#define _(x) dgettext (GETTEXT_PACKAGE, x)
How do I use non-ASCII characters in GTK programs ?
GTK uses Unicode (more exactly
UTF-8) for all text. UTF-8 encodes each Unicode codepoint as a sequence of
one to six bytes and has a number of nice properties which make it a good
choice for working with Unicode text in C programs:
ASCII characters are encoded by their familiar ASCII codepoints.
ASCII characters never appear as part of any other character.
The zero byte doesn't occur as part of a character, so that UTF-8 strings
can be manipulated with the usual C library functions for handling
zero-terminated strings.
More information about Unicode and UTF-8 can be found in the
UTF-8 and Unicode
FAQ for Unix/Linux .
GLib provides functions for converting strings between UTF-8 and other
encodings, see g_locale_to_utf8() and g_convert() .
Text coming from external sources (e.g. files or user input), has to be
converted to UTF-8 before being handed over to GTK. The following example
writes the content of a IS0-8859-1 encoded text file to
stdout :
gchar *text, *utf8_text;
gsize length;
GError *error = NULL;
if (g_file_get_contents (filename, &text, &length, NULL))
{
utf8_text = g_convert (text, length, "UTF-8", "ISO-8859-1",
NULL, NULL, &error);
if (error != NULL)
{
fprintf ("Couldn't convert file %s to UTF-8\n", filename);
g_error_free (error);
}
else
g_print (utf8_text);
}
else
fprintf (stderr, "Unable to read file %s\n", filename);
For string literals in the source code, there are several alternatives for
handling non-ASCII content:
direct UTF-8
If your editor and compiler are capable of handling UTF-8 encoded sources,
it is very convenient to simply use UTF-8 for string literals, since it
allows you to edit the strings in "wysiwyg". Note that choosing this option
may reduce the portability of your code.
escaped UTF-8
Even if your toolchain can't handle UTF-8 directly, you can still encode
string literals in UTF-8 by using octal or hexadecimal escapes like
\212 or \xa8 to encode each byte.
This is portable, but modifying the escaped strings is not very convenient.
Be careful when mixing hexadecimal escapes with ordinary text;
"\xa8abcd" is a string of length 1 !
runtime conversion
If the string literals can be represented in an encoding which your
toolchain can handle (e.g. IS0-8859-1), you can write your source files
in that encoding and use g_convert() to convert the strings to UTF-8 at
runtime. Note that this has some runtime overhead, so you may want to move
the conversion out of inner loops.
Here is an example showing the three approaches using the copyright sign
© which has Unicode and ISO-8859-1 codepoint 169 and is represented
in UTF-8 by the two bytes 194, 169, or "\302\251" as
a string literal:
g_print ("direct UTF-8: ©");
g_print ("escaped UTF-8: \302\251");
text = g_convert ("runtime conversion: ©", -1, "ISO-8859-1", "UTF-8", NULL, NULL, NULL);
g_print(text);
g_free (text);
If you are using gettext() to localize your application, you need to
call bind_textdomain_codeset() to ensure that translated strings are
returned in UTF-8 encoding.
How do I use GTK with C++?
There are two ways to approach this. The GTK header files use the subset
of C that's also valid C++, so you can simply use the normal GTK API
in a C++ program. Alternatively, you can use a "C++ binding"
such as gtkmm
which provides a native C++ API.
When using GTK directly, keep in mind that only functions can be
connected to signals, not methods. So you will need to use global
functions or "static" class functions for signal connections.
Another common issue when using GTK directly is that
C++ will not implicitly convert an integer to an enumeration.
This comes up when using bitfields; in C you can write the following
code:
gdk_surface_set_events (gdk_surface,
GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK);
while in C++ you must write:
gdk_surface_set_events (gdk_surface,
(GdkEventMask) GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK);
There are very few functions that require this cast, however.
How do I use GTK with other non-C languages?
See the list of language
bindings on https://www.gtk.org .
How do I load an image or animation from a file?
To load an image file straight into a display widget, use
gtk_image_new_from_file() If the file load fails,
gtk_image_new_from_file() will display no image graphic — to detect
a failed load yourself, use gdk_pixbuf_new_from_file() directly, then
gtk_image_new_from_pixbuf() . .
To load an image for another purpose, use gdk_pixbuf_new_from_file() . To
load an animation, use gdk_pixbuf_animation_new_from_file() .
gdk_pixbuf_animation_new_from_file() can also load non-animated images, so
use it in combination with gdk_pixbuf_animation_is_static_image() to load a
file of unknown type.
To load an image or animation file asynchronously (without blocking), use
GdkPixbufLoader .
How do I draw text ?
To draw a piece of text, use a Pango layout and pango_cairo_show_layout() .
layout = gtk_widget_create_pango_layout (widget, text);
fontdesc = pango_font_description_from_string ("Luxi Mono 12");
pango_layout_set_font_description (layout, fontdesc);
pango_cairo_show_layout (cr, layout);
pango_font_description_free (fontdesc);
g_object_unref (layout);
See also the
Cairo Rendering
section of Pango manual .
How do I measure the size of a piece of text ?
To obtain the size of a piece of text, use a Pango layout and
pango_layout_get_pixel_size() , using code like the following:
layout = gtk_widget_create_pango_layout (widget, text);
fontdesc = pango_font_description_from_string ("Luxi Mono 12");
pango_layout_set_font_description (layout, fontdesc);
pango_layout_get_pixel_size (layout, &width, &height);
pango_font_description_free (fontdesc);
g_object_unref (layout);
See also the
Layout Objects
section of Pango manual .
Why are types not registered if I use their GTK_TYPE_BLAH
macro ?
The GTK_TYPE_BLAH macros are defined as calls to
gtk_blah_get_type() , and the _get_type()
functions are declared as G_GNUC_CONST which allows the compiler to optimize
the call away if it appears that the value is not being used.
GLib provides the g_type_ensure() function to work around this problem.
g_type_ensure (GTK_TYPE_BLAH);
How do I create a transparent toplevel window ?
Any toplevel window can be transparent.
It is just a matter of setting a transparent background
in the CSS style for it.
Which widget should I use...
...for lists and trees?
This question has different answers, depending on the size of the dataset
and the required formatting flexibility.
If you want to display a large amount of data in a uniform way, your
best option is a GtkTreeView widget. See tree
widget overview. A list is just a tree with no branches, so the treeview
widget is used for lists as well.
If you want to display a small amount of items, but need flexible formatting
and widgetry inside the list, then you probably want to use a GtkListBox ,
which uses regular widgets for display.
...for multi-line text display or editing?
See text widget overview — you
should use the GtkTextView widget.
If you only have a small amount of text, GtkLabel may also be appropriate
of course. It can be made selectable with gtk_label_set_selectable() . For a
single-line text entry, see GtkEntry .
...to display an image or animation?
GTK has two widgets that are dedicated to displaying images. GtkImage , for
small, fixed-size icons and GtkPicture for content images.
Both can display images in just about any format GTK understands.
You can also use GtkDrawingArea if you need to do something more complex,
such as draw text or graphics over the top of the image.
...for presenting a set of mutually-exclusive choices, where Windows
would use a combo box?
With GTK, a GtkComboBox is the recommended widget to use for this use case.
This widget looks like either a combo box or the current option menu, depending
on the current theme. If you need an editable text entry, use the
“has-entry” property.
GtkWidget
How do I change the color of a widget?
The background color of a widget is determined by the CSS style that applies
to it. To change that, you can set style classes on the widget, and provide
custom CSS to change the appearance. Such CSS can be loaded with
gtk_css_provider_load_from_file() and its variants. See gtk_style_context_add_provider() .
How do I change the font of a widget?
If you want to make the text of a label larger, you can use
gtk_label_set_markup() :
gtk_label_set_markup (label, "<big>big text</big>");
This is preferred for many apps because it's a relative size to the
user's chosen font size. See g_markup_escape_text() if you are
constructing such strings on the fly.
You can also change the font of a widget by putting
.my-widget-class {
font: Sans 30;
}
in a CSS file, loading it with gtk_css_provider_load_from_file() , and
adding the provider with gtk_style_context_add_provider_for_display() .
To associate this style information with your widget, set a style class
on its GtkStyleContext using gtk_style_context_add_class() .
The advantage of this approach is that users can then override the font
you have chosen. See the GtkStyleContext documentation for more discussion.
How do I disable/ghost/desensitize a widget?
In GTK a disabled widget is termed "insensitive."
See gtk_widget_set_sensitive() .
GtkTextView
How do I get the contents of the entire text widget as a string?
See gtk_text_buffer_get_bounds() and gtk_text_buffer_get_text()
or gtk_text_iter_get_text() .
GtkTextIter start, end;
GtkTextBuffer *buffer;
char *text;
buffer = gtk_text_view_get_buffer (GTK_TEXT_VIEW (text_view));
gtk_text_buffer_get_bounds (buffer, &start, &end);
text = gtk_text_iter_get_text (&start, &end);
/* use text */
g_free (text);
How do I make a text widget display its complete contents in a specific font?
If you use gtk_text_buffer_insert_with_tags() with appropriate tags to
select the font, the inserted text will have the desired appearance, but
text typed in by the user before or after the tagged block will appear in
the default style.
To ensure that all text has the desired appearance, use
gtk_widget_override_font() to change the default font for the widget.
How do I make a text view scroll to the end of the buffer automatically ?
A good way to keep a text buffer scrolled to the end is to place a
mark at the end of the buffer, and
give it right gravity. The gravity has the effect that text inserted
at the mark gets inserted before , keeping the mark
at the end.
To ensure that the end of the buffer remains visible, use
gtk_text_view_scroll_to_mark() to scroll to the mark after
inserting new text.
The gtk-demo application contains an example of this technique.
GtkTreeView
How do I associate some data with a row in the tree?
Remember that the GtkTreeModel columns don't necessarily have to be
displayed. So you can put non-user-visible data in your model just
like any other data, and retrieve it with gtk_tree_model_get() .
See the tree widget overview.
How do I put an image and some text in the same column?
You can pack more than one GtkCellRenderer into a single GtkTreeViewColumn
using gtk_tree_view_column_pack_start() or gtk_tree_view_column_pack_end() .
So pack both a GtkCellRendererPixbuf and a GtkCellRendererText into the
column.
I can set data easily on my GtkTreeStore /GtkListStore models using
gtk_list_store_set() and gtk_tree_store_set() , but can't read it back?
Both the GtkTreeStore and the GtkListStore implement the GtkTreeModel
interface. Consequentially, you can use any function this interface
implements. The easiest way to read a set of data back is to use
gtk_tree_model_get() .
How do I change the way that numbers are formatted by GtkTreeView ?
Use gtk_tree_view_insert_column_with_data_func()
or gtk_tree_view_column_set_cell_data_func() and do the conversion
from number to string yourself (with, say, g_strdup_printf() ).
The following example demonstrates this:
enum
{
DOUBLE_COLUMN,
N_COLUMNS
};
GtkListStore *mycolumns;
GtkTreeView *treeview;
void
my_cell_double_to_text (GtkTreeViewColumn *tree_column,
GtkCellRenderer *cell,
GtkTreeModel *tree_model,
GtkTreeIter *iter,
gpointer data)
{
GtkCellRendererText *cell_text = (GtkCellRendererText *)cell;
gdouble d;
gchar *text;
/* Get the double value from the model. */
gtk_tree_model_get (tree_model, iter, (gint)data, &d, -1);
/* Now we can format the value ourselves. */
text = g_strdup_printf ("%.2f", d);
g_object_set (cell, "text", text, NULL);
g_free (text);
}
void
set_up_new_columns (GtkTreeView *myview)
{
GtkCellRendererText *renderer;
GtkTreeViewColumn *column;
GtkListStore *mycolumns;
/* Create the data model and associate it with the given TreeView */
mycolumns = gtk_list_store_new (N_COLUMNS, G_TYPE_DOUBLE);
gtk_tree_view_set_model (myview, GTK_TREE_MODEL (mycolumns));
/* Create a GtkCellRendererText */
renderer = gtk_cell_renderer_text_new ();
/* Create a new column that has a title ("Example column"),
* uses the above created renderer that will render the double
* value into text from the associated model's rows.
*/
column = gtk_tree_view_column_new ();
gtk_tree_view_column_set_title (column, "Example column");
renderer = gtk_cell_renderer_text_new ();
gtk_tree_view_column_pack_start (column, renderer, TRUE);
/* Append the new column after the GtkTreeView's previous columns. */
gtk_tree_view_append_column (GTK_TREE_VIEW (myview), column);
/* Since we created the column by hand, we can set it up for our
* needs, e.g. set its minimum and maximum width, etc.
*/
/* Set up a custom function that will be called when the column content
* is rendered. We use the func_data pointer as an index into our
* model. This is convenient when using multi column lists.
*/
gtk_tree_view_column_set_cell_data_func (column, renderer,
my_cell_double_to_text,
(gpointer)DOUBLE_COLUMN, NULL);
}
How do I hide the expander arrows in my tree view ?
Set the expander-column property of the tree view to a hidden column.
See gtk_tree_view_set_expander_column() and gtk_tree_view_column_set_visible() .
Using cairo with GTK
How do I use cairo to draw in GTK applications ?
Use gtk_snapshot_append_cairo() in your “snapshot” signal handler
to optain a cairo context and draw with that.
Can I improve the performance of my application by using another backend
of cairo (such as GL) ?
No. Most drawing in GTK is not done via cairo anymore (but instead
by the GL or Vulkan renderers of GSK).
If you use cairo for drawing your own widgets, gtk_snapshot_append_cairo()
will choose the most appropriate surface type for you.
If you are interested in using GL for your own drawing, see GtkGLArea .
Can I use cairo to draw on a GdkPixbuf ?
No. The cairo image surface does not support the pixel format used by GdkPixbuf.
If you need to get cairo drawing into a format that can be displayed efficiently
by GTK, you may want to use an image surface and gdk_memory_texture_new() .
docs/reference/gtk/xml/gtkoverlay.xml 0000664 0001750 0001750 00000050366 13617646204 020115 0 ustar mclasen mclasen
]>
GtkOverlay
3
GTK4 Library
GtkOverlay
A container which overlays widgets on top of each other
Functions
GtkWidget *
gtk_overlay_new ()
void
gtk_overlay_add_overlay ()
gboolean
gtk_overlay_get_measure_overlay ()
void
gtk_overlay_set_measure_overlay ()
gboolean
gtk_overlay_get_clip_overlay ()
void
gtk_overlay_set_clip_overlay ()
Signals
gboolean get-child-position Run Last
Types and Values
GtkOverlay
Object Hierarchy
GObject
╰── GInitiallyUnowned
╰── GtkWidget
╰── GtkContainer
╰── GtkBin
╰── GtkOverlay
Implemented Interfaces
GtkOverlay implements
AtkImplementorIface, GtkBuildable and GtkConstraintTarget.
Includes #include <gtk/gtk.h>
Description
GtkOverlay is a container which contains a single main child, on top
of which it can place “overlay” widgets. The position of each overlay
widget is determined by its “halign” and “valign”
properties. E.g. a widget with both alignments set to GTK_ALIGN_START
will be placed at the top left corner of the GtkOverlay container,
whereas an overlay with halign set to GTK_ALIGN_CENTER and valign set
to GTK_ALIGN_END will be placed a the bottom edge of the GtkOverlay,
horizontally centered. The position can be adjusted by setting the margin
properties of the child to non-zero values.
More complicated placement of overlays is possible by connecting
to the “get-child-position” signal.
An overlay’s minimum and natural sizes are those of its main child. The sizes
of overlay children are not considered when measuring these preferred sizes.
GtkOverlay as GtkBuildable The GtkOverlay implementation of the GtkBuildable interface
supports placing a child as an overlay by specifying “overlay” as
the “type” attribute of a <child> element.
CSS nodes GtkOverlay has a single CSS node with the name “overlay”. Overlay children
whose alignments cause them to be positioned at an edge get the style classes
“.left”, “.right”, “.top”, and/or “.bottom” according to their position.
Functions
gtk_overlay_new ()
gtk_overlay_new
GtkWidget *
gtk_overlay_new (void );
Creates a new GtkOverlay .
Returns
a new GtkOverlay object.
gtk_overlay_add_overlay ()
gtk_overlay_add_overlay
void
gtk_overlay_add_overlay (GtkOverlay *overlay ,
GtkWidget *widget );
Adds widget
to overlay
.
The widget will be stacked on top of the main widget
added with gtk_container_add() .
The position at which widget
is placed is determined
from its “halign” and “valign” properties.
Parameters
overlay
a GtkOverlay
widget
a GtkWidget to be added to the container
gtk_overlay_get_measure_overlay ()
gtk_overlay_get_measure_overlay
gboolean
gtk_overlay_get_measure_overlay (GtkOverlay *overlay ,
GtkWidget *widget );
Gets whether widget
's size is included in the measurement of
overlay
.
Parameters
overlay
a GtkOverlay
widget
an overlay child of GtkOverlay
Returns
whether the widget is measured
gtk_overlay_set_measure_overlay ()
gtk_overlay_set_measure_overlay
void
gtk_overlay_set_measure_overlay (GtkOverlay *overlay ,
GtkWidget *widget ,
gboolean measure );
Sets whether widget
is included in the measured size of overlay
.
The overlay will request the size of the largest child that has
this property set to TRUE . Children who are not included may
be drawn outside of overlay
's allocation if they are too large.
Parameters
overlay
a GtkOverlay
widget
an overlay child of GtkOverlay
measure
whether the child should be measured
gtk_overlay_get_clip_overlay ()
gtk_overlay_get_clip_overlay
gboolean
gtk_overlay_get_clip_overlay (GtkOverlay *overlay ,
GtkWidget *widget );
Convenience function to get the value of the “clip-overlay”
child property for widget
.
Parameters
overlay
a GtkOverlay
widget
an overlay child of GtkOverlay
Returns
whether the widget is clipped within the parent.
gtk_overlay_set_clip_overlay ()
gtk_overlay_set_clip_overlay
void
gtk_overlay_set_clip_overlay (GtkOverlay *overlay ,
GtkWidget *widget ,
gboolean clip_overlay );
Convenience function to set the value of the “clip-overlay”
child property for widget
.
Parameters
overlay
a GtkOverlay
widget
an overlay child of GtkOverlay
clip_overlay
whether the child should be clipped
Signal Details
The “get-child-position” signal
GtkOverlay::get-child-position
gboolean
user_function (GtkOverlay *overlay,
GtkWidget *widget,
GdkRectangle *allocation,
gpointer user_data)
The ::get-child-position signal is emitted to determine
the position and size of any overlay child widgets. A
handler for this signal should fill allocation
with
the desired position and size for widget
, relative to
the 'main' child of overlay
.
The default handler for this signal uses the widget
's
halign and valign properties to determine the position
and gives the widget its natural size (except that an
alignment of GTK_ALIGN_FILL will cause the overlay to
be full-width/height). If the main child is a
GtkScrolledWindow , the overlays are placed relative
to its contents.
Parameters
overlay
the GtkOverlay
widget
the child widget to position
allocation
return
location for the allocation.
[type Gdk.Rectangle][out caller-allocates ]
user_data
user data set when the signal handler was connected.
Returns
TRUE if the allocation
has been filled
Flags: Run Last
docs/reference/gtk/xml/gtkroot.xml 0000664 0001750 0001750 00000025221 13617646205 017410 0 ustar mclasen mclasen
]>
GtkRoot
3
GTK4 Library
GtkRoot
Interface for root widgets
Functions
GdkDisplay *
gtk_root_get_display ()
GtkWidget *
gtk_root_get_focus ()
void
gtk_root_set_focus ()
Properties
GtkWidget * focus-widgetRead / Write
Types and Values
GtkRoot
Object Hierarchy
GInterface
╰── GtkRoot
Prerequisites
GtkRoot requires
GtkNative and GtkWidget.
Known Implementations
GtkRoot is implemented by
GtkAboutDialog, GtkAppChooserDialog, GtkApplicationWindow, GtkAssistant, GtkColorChooserDialog, GtkDialog, GtkDragIcon, GtkFileChooserDialog, GtkFontChooserDialog, GtkMessageDialog, GtkPageSetupUnixDialog, GtkPrintUnixDialog, GtkShortcutsWindow and GtkWindow.
Includes #include <gtk/gtk.h>
Description
GtkRoot is the interface implemented by all widgets that can act as a toplevel
widget to a hierarchy of widgets. The root widget takes care of providing the
connection to the windowing system and manages layout, drawing and event delivery
for its widget hierarchy.
The obvious example of a GtkRoot is GtkWindow .
Functions
gtk_root_get_display ()
gtk_root_get_display
GdkDisplay *
gtk_root_get_display (GtkRoot *self );
Returns the display that this GtkRoot is on.
Parameters
self
a GtkRoot
Returns
the display of root
.
[transfer none ]
gtk_root_get_focus ()
gtk_root_get_focus
GtkWidget *
gtk_root_get_focus (GtkRoot *self );
Retrieves the current focused widget within the root.
Note that this is the widget that would have the focus
if the root is active; if the root is not focused then
gtk_widget_has_focus (widget) will be FALSE for the
widget.
Parameters
self
a GtkRoot
Returns
the currently focused widget,
or NULL if there is none.
[nullable ][transfer none ]
gtk_root_set_focus ()
gtk_root_set_focus
void
gtk_root_set_focus (GtkRoot *self ,
GtkWidget *focus );
If focus
is not the current focus widget, and is focusable, sets
it as the focus widget for the root. If focus
is NULL , unsets
the focus widget for the root.
To set the focus to a particular widget in the root, it is usually
more convenient to use gtk_widget_grab_focus() instead of this function.
Parameters
self
a GtkRoot
focus
widget to be the new focus widget, or NULL
to unset the focus widget.
[allow-none ]
Property Details
The “focus-widget” property
GtkRoot:focus-widget
“focus-widget” GtkWidget *
The focus widget. Owner: GtkRoot
Flags: Read / Write
See Also
GtkWindow
docs/reference/gtk/xml/gtkcolorchooser.xml 0000664 0001750 0001750 00000063102 13617646204 021125 0 ustar mclasen mclasen
]>
GtkColorChooser
3
GTK4 Library
GtkColorChooser
Interface implemented by widgets for choosing colors
Functions
void
gtk_color_chooser_get_rgba ()
void
gtk_color_chooser_set_rgba ()
gboolean
gtk_color_chooser_get_use_alpha ()
void
gtk_color_chooser_set_use_alpha ()
void
gtk_color_chooser_add_palette ()
void
gtk_hsv_to_rgb ()
void
gtk_rgb_to_hsv ()
Properties
GdkRGBA * rgbaRead / Write
gboolean use-alphaRead / Write
Signals
void color-activated Run First
Types and Values
GtkColorChooser
Object Hierarchy
GInterface
╰── GtkColorChooser
Prerequisites
GtkColorChooser requires
GObject.
Known Implementations
GtkColorChooser is implemented by
GtkColorButton, GtkColorChooserDialog and GtkColorChooserWidget.
Includes #include <gtk/gtk.h>
Description
GtkColorChooser is an interface that is implemented by widgets
for choosing colors. Depending on the situation, colors may be
allowed to have alpha (translucency).
In GTK+, the main widgets that implement this interface are
GtkColorChooserWidget , GtkColorChooserDialog and GtkColorButton .
Functions
gtk_color_chooser_get_rgba ()
gtk_color_chooser_get_rgba
void
gtk_color_chooser_get_rgba (GtkColorChooser *chooser ,
GdkRGBA *color );
Gets the currently-selected color.
Parameters
chooser
a GtkColorChooser
color
a GdkRGBA to fill in with the current color.
[out ]
gtk_color_chooser_set_rgba ()
gtk_color_chooser_set_rgba
void
gtk_color_chooser_set_rgba (GtkColorChooser *chooser ,
const GdkRGBA *color );
Sets the color.
Parameters
chooser
a GtkColorChooser
color
the new color
gtk_color_chooser_get_use_alpha ()
gtk_color_chooser_get_use_alpha
gboolean
gtk_color_chooser_get_use_alpha (GtkColorChooser *chooser );
Returns whether the color chooser shows the alpha channel.
Parameters
chooser
a GtkColorChooser
Returns
TRUE if the color chooser uses the alpha channel,
FALSE if not
gtk_color_chooser_set_use_alpha ()
gtk_color_chooser_set_use_alpha
void
gtk_color_chooser_set_use_alpha (GtkColorChooser *chooser ,
gboolean use_alpha );
Sets whether or not the color chooser should use the alpha channel.
Parameters
chooser
a GtkColorChooser
use_alpha
TRUE if color chooser should use alpha channel, FALSE if not
gtk_color_chooser_add_palette ()
gtk_color_chooser_add_palette
void
gtk_color_chooser_add_palette (GtkColorChooser *chooser ,
GtkOrientation orientation ,
gint colors_per_line ,
gint n_colors ,
GdkRGBA *colors );
Adds a palette to the color chooser. If orientation
is horizontal,
the colors are grouped in rows, with colors_per_line
colors
in each row. If horizontal
is FALSE , the colors are grouped
in columns instead.
The default color palette of GtkColorChooserWidget has
27 colors, organized in columns of 3 colors. The default gray
palette has 9 grays in a single row.
The layout of the color chooser widget works best when the
palettes have 9-10 columns.
Calling this function for the first time has the
side effect of removing the default color and gray palettes
from the color chooser.
If colors
is NULL , removes all previously added palettes.
Parameters
chooser
a GtkColorChooser
orientation
GTK_ORIENTATION_HORIZONTAL if the palette should
be displayed in rows, GTK_ORIENTATION_VERTICAL for columns
colors_per_line
the number of colors to show in each row/column
n_colors
the total number of elements in colors
colors
the colors of the palette, or NULL .
[allow-none ][array length=n_colors]
gtk_hsv_to_rgb ()
gtk_hsv_to_rgb
void
gtk_hsv_to_rgb (float h ,
float s ,
float v ,
float *r ,
float *g ,
float *b );
Converts a color from HSV space to RGB.
Input values must be in the [0.0, 1.0] range;
output values will be in the same range.
Parameters
h
Hue
s
Saturation
v
Value
r
Return value for the red component.
[out ]
g
Return value for the green component.
[out ]
b
Return value for the blue component.
[out ]
gtk_rgb_to_hsv ()
gtk_rgb_to_hsv
void
gtk_rgb_to_hsv (float r ,
float g ,
float b ,
float *h ,
float *s ,
float *v );
Converts a color from RGB space to HSV.
Input values must be in the [0.0, 1.0] range;
output values will be in the same range.
Parameters
r
Red
g
Green
b
Blue
h
Return value for the hue component.
[out ]
s
Return value for the saturation component.
[out ]
v
Return value for the value component.
[out ]
Property Details
The “rgba” property
GtkColorChooser:rgba
“rgba” GdkRGBA *
The ::rgba property contains the currently selected color,
as a GdkRGBA struct. The property can be set to change
the current selection programmatically.
Owner: GtkColorChooser
Flags: Read / Write
The “use-alpha” property
GtkColorChooser:use-alpha
“use-alpha” gboolean
When ::use-alpha is TRUE , colors may have alpha (translucency)
information. When it is FALSE , the GdkRGBA struct obtained
via the “rgba” property will be forced to have
alpha == 1.
Implementations are expected to show alpha by rendering the color
over a non-uniform background (like a checkerboard pattern).
Owner: GtkColorChooser
Flags: Read / Write
Default value: TRUE
Signal Details
The “color-activated” signal
GtkColorChooser::color-activated
void
user_function (GtkColorChooser *chooser,
GdkRGBA *color,
gpointer user_data)
Emitted when a color is activated from the color chooser.
This usually happens when the user clicks a color swatch,
or a color is selected and the user presses one of the keys
Space, Shift+Space, Return or Enter.
Parameters
chooser
the object which received the signal
color
the color
user_data
user data set when the signal handler was connected.
Flags: Run First
See Also
GtkColorChooserDialog , GtkColorChooserWidget , GtkColorButton
docs/reference/gtk/xml/gtkgesturedrag.xml 0000664 0001750 0001750 00000042113 13617646205 020740 0 ustar mclasen mclasen
]>
GtkGestureDrag
3
GTK4 Library
GtkGestureDrag
Drag gesture
Functions
GtkGesture *
gtk_gesture_drag_new ()
gboolean
gtk_gesture_drag_get_start_point ()
gboolean
gtk_gesture_drag_get_offset ()
Signals
void drag-begin Run Last
void drag-end Run Last
void drag-update Run Last
Types and Values
GtkGestureDrag
Object Hierarchy
GObject
╰── GtkEventController
╰── GtkGesture
╰── GtkGestureSingle
╰── GtkGestureDrag
╰── GtkGesturePan
Includes #include <gtk/gtk.h>
Description
GtkGestureDrag is a GtkGesture implementation that recognizes drag
operations. The drag operation itself can be tracked throught the
“drag-begin” , “drag-update” and
“drag-end” signals, or the relevant coordinates be
extracted through gtk_gesture_drag_get_offset() and
gtk_gesture_drag_get_start_point() .
Functions
gtk_gesture_drag_new ()
gtk_gesture_drag_new
GtkGesture *
gtk_gesture_drag_new (void );
Returns a newly created GtkGesture that recognizes drags.
Returns
a newly created GtkGestureDrag
gtk_gesture_drag_get_start_point ()
gtk_gesture_drag_get_start_point
gboolean
gtk_gesture_drag_get_start_point (GtkGestureDrag *gesture ,
gdouble *x ,
gdouble *y );
If the gesture
is active, this function returns TRUE
and fills in x
and y
with the drag start coordinates,
in window-relative coordinates.
Parameters
gesture
a GtkGesture
x
X coordinate for the drag start point.
[out ][nullable ]
y
Y coordinate for the drag start point.
[out ][nullable ]
Returns
TRUE if the gesture is active
gtk_gesture_drag_get_offset ()
gtk_gesture_drag_get_offset
gboolean
gtk_gesture_drag_get_offset (GtkGestureDrag *gesture ,
gdouble *x ,
gdouble *y );
If the gesture
is active, this function returns TRUE and
fills in x
and y
with the coordinates of the current point,
as an offset to the starting drag point.
Parameters
gesture
a GtkGesture
x
X offset for the current point.
[out ][nullable ]
y
Y offset for the current point.
[out ][nullable ]
Returns
TRUE if the gesture is active
Signal Details
The “drag-begin” signal
GtkGestureDrag::drag-begin
void
user_function (GtkGestureDrag *gesture,
gdouble start_x,
gdouble start_y,
gpointer user_data)
This signal is emitted whenever dragging starts.
Parameters
gesture
the object which received the signal
start_x
X coordinate, relative to the widget allocation
start_y
Y coordinate, relative to the widget allocation
user_data
user data set when the signal handler was connected.
Flags: Run Last
The “drag-end” signal
GtkGestureDrag::drag-end
void
user_function (GtkGestureDrag *gesture,
gdouble offset_x,
gdouble offset_y,
gpointer user_data)
This signal is emitted whenever the dragging is finished.
Parameters
gesture
the object which received the signal
offset_x
X offset, relative to the start point
offset_y
Y offset, relative to the start point
user_data
user data set when the signal handler was connected.
Flags: Run Last
The “drag-update” signal
GtkGestureDrag::drag-update
void
user_function (GtkGestureDrag *gesture,
gdouble offset_x,
gdouble offset_y,
gpointer user_data)
This signal is emitted whenever the dragging point moves.
Parameters
gesture
the object which received the signal
offset_x
X offset, relative to the start point
offset_y
Y offset, relative to the start point
user_data
user data set when the signal handler was connected.
Flags: Run Last
See Also
GtkGestureSwipe
docs/reference/gtk/xml/gtkcolorchooserwidget.xml 0000664 0001750 0001750 00000025224 13617646204 022334 0 ustar mclasen mclasen
]>
GtkColorChooserWidget
3
GTK4 Library
GtkColorChooserWidget
A widget for choosing colors
Functions
GtkWidget *
gtk_color_chooser_widget_new ()
Properties
gboolean show-editorRead / Write
Actions
color.select(dddd)
color.customize(dddd)
Types and Values
GtkColorChooserWidget
Object Hierarchy
GObject
╰── GInitiallyUnowned
╰── GtkWidget
╰── GtkColorChooserWidget
Implemented Interfaces
GtkColorChooserWidget implements
AtkImplementorIface, GtkBuildable, GtkConstraintTarget and GtkColorChooser.
Includes #include <gtk/gtk.h>
Description
The GtkColorChooserWidget widget lets the user select a
color. By default, the chooser presents a predefined palette
of colors, plus a small number of settable custom colors.
It is also possible to select a different color with the
single-color editor. To enter the single-color editing mode,
use the context menu of any color of the palette, or use the
'+' button to add a new custom color.
The chooser automatically remembers the last selection, as well
as custom colors.
To change the initially selected color, use gtk_color_chooser_set_rgba() .
To get the selected color use gtk_color_chooser_get_rgba() .
The GtkColorChooserWidget is used in the GtkColorChooserDialog
to provide a dialog for selecting colors.
CSS names GtkColorChooserWidget has a single CSS node with name colorchooser.
Functions
gtk_color_chooser_widget_new ()
gtk_color_chooser_widget_new
GtkWidget *
gtk_color_chooser_widget_new (void );
Creates a new GtkColorChooserWidget .
Returns
a new GtkColorChooserWidget
Property Details
The “show-editor” property
GtkColorChooserWidget:show-editor
“show-editor” gboolean
The ::show-editor property is TRUE when the color chooser
is showing the single-color editor. It can be set to switch
the color chooser into single-color editing mode.
Owner: GtkColorChooserWidget
Flags: Read / Write
Default value: FALSE
Action Details
The “color.select” action
GtkColorChooserWidget|color.select
Emits the “color-activated” signal for
the given color.
Parameter type: (dddd)
Parameters
red
the red value, between 0 and 1
green
the green value, between 0 and 1
blue
the blue value, between 0 and 1
alpha
the alpha value, between 0 and 1
The “color.customize” action
GtkColorChooserWidget|color.customize
Activates the color editor for the given color.
Parameter type: (dddd)
Parameters
red
the red value, between 0 and 1
green
the green value, between 0 and 1
blue
the blue value, between 0 and 1
alpha
the alpha value, between 0 and 1
See Also
GtkColorChooserDialog
docs/reference/gtk/xml/gtkcolorchooserdialog.xml 0000664 0001750 0001750 00000016447 13617646205 022320 0 ustar mclasen mclasen
]>
GtkColorChooserDialog
3
GTK4 Library
GtkColorChooserDialog
A dialog for choosing colors
Functions
GtkWidget *
gtk_color_chooser_dialog_new ()
Properties
gboolean show-editorRead / Write
Types and Values
GtkColorChooserDialog
Object Hierarchy
GObject
╰── GInitiallyUnowned
╰── GtkWidget
╰── GtkContainer
╰── GtkBin
╰── GtkWindow
╰── GtkDialog
╰── GtkColorChooserDialog
Implemented Interfaces
GtkColorChooserDialog implements
AtkImplementorIface, GtkBuildable, GtkConstraintTarget, GtkNative, GtkRoot and GtkColorChooser.
Includes #include <gtk/gtk.h>
Description
The GtkColorChooserDialog widget is a dialog for choosing
a color. It implements the GtkColorChooser interface.
Functions
gtk_color_chooser_dialog_new ()
gtk_color_chooser_dialog_new
GtkWidget *
gtk_color_chooser_dialog_new (const gchar *title ,
GtkWindow *parent );
Creates a new GtkColorChooserDialog .
Parameters
title
Title of the dialog, or NULL .
[allow-none ]
parent
Transient parent of the dialog, or NULL .
[allow-none ]
Returns
a new GtkColorChooserDialog
Property Details
The “show-editor” property
GtkColorChooserDialog:show-editor
“show-editor” gboolean
Show editor. Owner: GtkColorChooserDialog
Flags: Read / Write
Default value: FALSE
See Also
GtkColorChooser , GtkDialog
docs/reference/gtk/xml/text_widget.xml 0000664 0001750 0001750 00000023120 13617646205 020242 0 ustar mclasen mclasen
Text Widget Overview
3
GTK Library
Text Widget Overview
Overview of GtkTextBuffer, GtkTextView, and friends
Conceptual Overview
GTK has an extremely powerful framework for multiline text editing. The
primary objects involved in the process are GtkTextBuffer , which represents the
text being edited, and GtkTextView , a widget which can display a GtkTextBuffer .
Each buffer can be displayed by any number of views.
One of the important things to remember about text in GTK is that it's in the
UTF-8 encoding. This means that one character can be encoded as multiple
bytes. Character counts are usually referred to as
offsets , while byte counts are called
indexes . If you confuse these two, things will work fine
with ASCII, but as soon as your buffer contains multibyte characters, bad
things will happen.
Text in a buffer can be marked with tags . A tag is an
attribute that can be applied to some range of text. For example, a tag might
be called "bold" and make the text inside the tag bold. However, the tag
concept is more general than that; tags don't have to affect appearance. They
can instead affect the behavior of mouse and key presses, "lock" a range of
text so the user can't edit it, or countless other things. A tag is
represented by a GtkTextTag object. One GtkTextTag can be applied to any
number of text ranges in any number of buffers.
Each tag is stored in a GtkTextTagTable . A tag table defines a set of
tags that can be used together. Each buffer has one tag table associated with
it; only tags from that tag table can be used with the buffer. A single tag
table can be shared between multiple buffers, however.
Tags can have names, which is convenient sometimes (for example, you can name
your tag that makes things bold "bold"), but they can also be anonymous (which
is convenient if you're creating tags on-the-fly).
Most text manipulation is accomplished with iterators ,
represented by a GtkTextIter . An iterator represents a position between two
characters in the text buffer. GtkTextIter is a struct designed to be
allocated on the stack; it's guaranteed to be copiable by value and never
contain any heap-allocated data. Iterators are not valid indefinitely;
whenever the buffer is modified in a way that affects the number of characters
in the buffer, all outstanding iterators become invalid. (Note that deleting
5 characters and then reinserting 5 still invalidates iterators, though you
end up with the same number of characters you pass through a state with a
different number).
Because of this, iterators can't be used to preserve positions across buffer
modifications. To preserve a position, the GtkTextMark object is ideal. You
can think of a mark as an invisible cursor or insertion point; it floats in
the buffer, saving a position. If the text surrounding the mark is deleted,
the mark remains in the position the text once occupied; if text is inserted
at the mark, the mark ends up either to the left or to the right of the new
text, depending on its gravity . The standard text
cursor in left-to-right languages is a mark with right gravity, because it
stays to the right of inserted text.
Like tags, marks can be either named or anonymous. There are two marks built-in
to GtkTextBuffer ; these are named "insert" and
"selection_bound" and refer to the insertion point and the
boundary of the selection which is not the insertion point, respectively. If
no text is selected, these two marks will be in the same position. You can
manipulate what is selected and where the cursor appears by moving these
marks around.
If you want to place the cursor in response to a user action, be sure to use
gtk_text_buffer_place_cursor() , which moves both at once without causing a
temporary selection (moving one then the other temporarily selects the range in
between the old and new positions).
Text buffers always contain at least one line, but may be empty (that
is, buffers can contain zero characters). The last line in the text
buffer never ends in a line separator (such as newline); the other
lines in the buffer always end in a line separator. Line separators
count as characters when computing character counts and character
offsets. Note that some Unicode line separators are represented with
multiple bytes in UTF-8, and the two-character sequence "\r\n" is also
considered a line separator.
Text buffers support undo and redo if gtk_text_buffer_set_undo_enabled()
has been set to TRUE . Use gtk_text_buffer_undo() or gtk_text_buffer_redo()
to perform the necessary action. Note that these operations are ignored if
the buffer is not editable. Developers may want some operations to not be
undoable. To do this, wrap your changes in
gtk_text_buffer_begin_irreversible_action() and
gtk_text_buffer_end_irreversible_action() .
Simple Example
The simplest usage of GtkTextView might look like this:
GtkWidget *view;
GtkTextBuffer *buffer;
view = gtk_text_view_new ();
buffer = gtk_text_view_get_buffer (GTK_TEXT_VIEW (view));
gtk_text_buffer_set_text (buffer, "Hello, this is some text", -1);
/* Now you might put the view in a container and display it on the
* screen; when the user edits the text, signals on the buffer
* will be emitted, such as "changed", "insert_text", and so on.
*/
In many cases it's also convenient to first create the buffer with
gtk_text_buffer_new() , then create a widget for that buffer with
gtk_text_view_new_with_buffer() . Or you can change the buffer the widget
displays after the widget is created with gtk_text_view_set_buffer() .
Example of Changing Text Attributes
The way to affect text attributes in GtkTextView is to
apply tags that change the attributes for a region of text.
For text features that come from the theme — such as font and
foreground color — use CSS to override their default values.
GtkWidget *view;
GtkTextBuffer *buffer;
GtkTextIter start, end;
PangoFontDescription *font_desc;
GdkRGBA rgba;
GtkTextTag *tag;
GtkCssProvider *provider;
GtkStyleContext *context;
view = gtk_text_view_new ();
buffer = gtk_text_view_get_buffer (GTK_TEXT_VIEW (view));
gtk_text_buffer_set_text (buffer, "Hello, this is some text", -1);
/* Change default font and color throughout the widget */
provider = gtk_css_provider_new ();
gtk_css_provider_load_from_data (provider,
"textview {"
" font: 15 serif;"
" color: green;"
"}",
-1);
context = gtk_widget_get_style_context (view);
gtk_style_context_add_provider (context,
GTK_STYLE_PROVIDER (provider),
GTK_STYLE_PROVIDER_PRIORITY_APPLICATION);
/* Change left margin throughout the widget */
gtk_text_view_set_left_margin (GTK_TEXT_VIEW (view), 30);
/* Use a tag to change the color for just one part of the widget */
tag = gtk_text_buffer_create_tag (buffer, "blue_foreground",
"foreground", "blue", NULL);
gtk_text_buffer_get_iter_at_offset (buffer, &start, 7);
gtk_text_buffer_get_iter_at_offset (buffer, &end, 12);
gtk_text_buffer_apply_tag (buffer, tag, &start, &end);
The gtk-demo application that comes with
GTK contains more example code for GtkTextView .
docs/reference/gtk/xml/gtkactionbar.xml 0000664 0001750 0001750 00000041712 13617646205 020372 0 ustar mclasen mclasen
]>
GtkActionBar
3
GTK4 Library
GtkActionBar
A full width bar for presenting contextual actions
Functions
GtkWidget *
gtk_action_bar_new ()
void
gtk_action_bar_pack_start ()
void
gtk_action_bar_pack_end ()
GtkWidget *
gtk_action_bar_get_center_widget ()
void
gtk_action_bar_set_center_widget ()
gboolean
gtk_action_bar_get_revealed ()
void
gtk_action_bar_set_revealed ()
Properties
gboolean revealedRead / Write
Types and Values
GtkActionBar
Object Hierarchy
GObject
╰── GInitiallyUnowned
╰── GtkWidget
╰── GtkContainer
╰── GtkActionBar
Implemented Interfaces
GtkActionBar implements
AtkImplementorIface, GtkBuildable and GtkConstraintTarget.
Includes #include <gtk/gtk.h>
Description
GtkActionBar is designed to present contextual actions. It is
expected to be displayed below the content and expand horizontally
to fill the area.
It allows placing children at the start or the end. In addition, it
contains an internal centered box which is centered with respect to
the full width of the box, even if the children at either side take
up different amounts of space.
CSS nodes GtkActionBar has a single CSS node with name actionbar.
Functions
gtk_action_bar_new ()
gtk_action_bar_new
GtkWidget *
gtk_action_bar_new (void );
Creates a new GtkActionBar widget.
Returns
a new GtkActionBar
gtk_action_bar_pack_start ()
gtk_action_bar_pack_start
void
gtk_action_bar_pack_start (GtkActionBar *action_bar ,
GtkWidget *child );
Adds child
to action_bar
, packed with reference to the
start of the action_bar
.
Parameters
action_bar
A GtkActionBar
child
the GtkWidget to be added to action_bar
gtk_action_bar_pack_end ()
gtk_action_bar_pack_end
void
gtk_action_bar_pack_end (GtkActionBar *action_bar ,
GtkWidget *child );
Adds child
to action_bar
, packed with reference to the
end of the action_bar
.
Parameters
action_bar
A GtkActionBar
child
the GtkWidget to be added to action_bar
gtk_action_bar_get_center_widget ()
gtk_action_bar_get_center_widget
GtkWidget *
gtk_action_bar_get_center_widget (GtkActionBar *action_bar );
Retrieves the center bar widget of the bar.
Parameters
action_bar
a GtkActionBar
Returns
the center GtkWidget or NULL .
[transfer none ][nullable ]
gtk_action_bar_set_center_widget ()
gtk_action_bar_set_center_widget
void
gtk_action_bar_set_center_widget (GtkActionBar *action_bar ,
GtkWidget *center_widget );
Sets the center widget for the GtkActionBar .
Parameters
action_bar
a GtkActionBar
center_widget
a widget to use for the center.
[allow-none ]
gtk_action_bar_get_revealed ()
gtk_action_bar_get_revealed
gboolean
gtk_action_bar_get_revealed (GtkActionBar *action_bar );
Gets the value of the “revealed” property.
Parameters
action_bar
a GtkActionBar
Returns
the current value of the “revealed” property.
gtk_action_bar_set_revealed ()
gtk_action_bar_set_revealed
void
gtk_action_bar_set_revealed (GtkActionBar *action_bar ,
gboolean revealed );
Sets the “revealed” property to revealed
. Changing this will
make action_bar
reveal (TRUE ) or conceal (FALSE ) itself via a sliding
transition.
Note: this does not show or hide action_bar
in the “visible” sense,
so revealing has no effect if “visible” is FALSE .
Parameters
action_bar
a GtkActionBar
revealed
The new value of the property
Property Details
The “revealed” property
GtkActionBar:revealed
“revealed” gboolean
Controls whether the action bar shows its contents or not. Owner: GtkActionBar
Flags: Read / Write
Default value: TRUE
See Also
GtkBox
docs/reference/gtk/xml/tree_widget.xml 0000664 0001750 0001750 00000033027 13617646205 020224 0 ustar mclasen mclasen
Tree and List Widget Overview
3
GTK Library
Tree and List Widget Overview
Overview of GtkTreeModel, GtkTreeView, and friends
Overview
To create a tree or list in GTK, use the GtkTreeModel interface in
conjunction with the GtkTreeView widget. This widget is
designed around a Model/View/Controller
design and consists of four major parts:
The tree view widget (GtkTreeView )
The view column (GtkTreeViewColumn )
The cell renderers (GtkCellRenderer etc.)
The model interface (GtkTreeModel )
The View is composed of the first three
objects, while the last is the Model . One
of the prime benefits of the MVC design is that multiple views
can be created of a single model. For example, a model mapping
the file system could be created for a file manager. Many views
could be created to display various parts of the file system,
but only one copy need be kept in memory.
The purpose of the cell renderers is to provide extensibility to the
widget and to allow multiple ways of rendering the same type of data.
For example, consider how to render a boolean variable. Should it
render it as a string of "True" or "False", "On" or "Off", or should
it be rendered as a checkbox?
Creating a model
GTK provides two simple models that can be used: the GtkListStore
and the GtkTreeStore . GtkListStore is used to model list widgets,
while the GtkTreeStore models trees. It is possible to develop a new
type of model, but the existing models should be satisfactory for all
but the most specialized of situations. Creating the model is quite
simple:
This creates a list store with two columns: a string column and a boolean
column. Typically the 2 is never passed directly like that; usually an
enum is created wherein the different columns are enumerated, followed by
a token that represents the total number of columns. The next example will
illustrate this, only using a tree store instead of a list store. Creating
a tree store operates almost exactly the same.
Adding data to the model is done using gtk_tree_store_set() or
gtk_list_store_set() , depending upon which sort of model was
created. To do this, a GtkTreeIter must be acquired. The iterator
points to the location where data will be added.
Once an iterator has been acquired, gtk_tree_store_set() is used to
apply data to the part of the model that the iterator points to.
Consider the following example:
Notice that the last argument is -1. This is always done because
this is a variable-argument function and it needs to know when to stop
processing arguments. It can be used to set the data in any or all
columns in a given row.
The third argument to gtk_tree_store_append() is the parent iterator. It
is used to add a row to a GtkTreeStore as a child of an existing row. This
means that the new row will only be visible when its parent is visible and
in its expanded state. Consider the following example:
Creating the view component
While there are several different models to choose from, there is
only one view widget to deal with. It works with either the list
or the tree store. Setting up a GtkTreeView is not a difficult
matter. It needs a GtkTreeModel to know where to retrieve its data
from.
Columns and cell renderers
Once the GtkTreeView widget has a model, it will need to know how
to display the model. It does this with columns and cell renderers.
Cell renderers are used to draw the data in the tree model in a
way. There are a number of cell renderers that come with GTK,
including the GtkCellRendererText , GtkCellRendererPixbuf and
the GtkCellRendererToggle .
It is relatively easy to write a custom renderer.
A GtkTreeViewColumn is the object that GtkTreeView uses to organize
the vertical columns in the tree view. It needs to know the name of
the column to label for the user, what type of cell renderer to use,
and which piece of data to retrieve from the model for a given row.
GtkCellRenderer *renderer;
GtkTreeViewColumn *column;
renderer = gtk_cell_renderer_text_new ();
column = gtk_tree_view_column_new_with_attributes ("Author",
renderer,
"text", AUTHOR_COLUMN,
NULL);
gtk_tree_view_append_column (GTK_TREE_VIEW (tree), column);
At this point, all the steps in creating a displayable tree have been
covered. The model is created, data is stored in it, a tree view is
created and columns are added to it.
Selection handling
Most applications will need to not only deal with displaying data, but
also receiving input events from users. To do this, simply get a
reference to a selection object and connect to the
“changed” signal.
Then to retrieve data for the row selected:
Simple Example
Here is a simple example of using a GtkTreeView widget in context
of the other widgets. It simply creates a simple model and view,
and puts them together. Note that the model is never populated
with data — that is left as an exercise for the reader.
More information can be found on this in the GtkTreeModel section.
enum
{
TITLE_COLUMN,
AUTHOR_COLUMN,
CHECKED_COLUMN,
N_COLUMNS
};
void
setup_tree (void)
{
GtkTreeStore *store;
GtkWidget *tree;
GtkTreeViewColumn *column;
GtkCellRenderer *renderer;
/* Create a model. We are using the store model for now, though we
* could use any other GtkTreeModel */
store = gtk_tree_store_new (N_COLUMNS,
G_TYPE_STRING,
G_TYPE_STRING,
G_TYPE_BOOLEAN);
/* custom function to fill the model with data */
populate_tree_model (store);
/* Create a view */
tree = gtk_tree_view_new_with_model (GTK_TREE_MODEL (store));
/* The view now holds a reference. We can get rid of our own
* reference */
g_object_unref (G_OBJECT (store));
/* Create a cell render and arbitrarily make it red for demonstration
* purposes */
renderer = gtk_cell_renderer_text_new ();
g_object_set (G_OBJECT (renderer),
"foreground", "red",
NULL);
/* Create a column, associating the "text" attribute of the
* cell_renderer to the first column of the model */
column = gtk_tree_view_column_new_with_attributes ("Author", renderer,
"text", AUTHOR_COLUMN,
NULL);
/* Add the column to the view. */
gtk_tree_view_append_column (GTK_TREE_VIEW (tree), column);
/* Second column.. title of the book. */
renderer = gtk_cell_renderer_text_new ();
column = gtk_tree_view_column_new_with_attributes ("Title",
renderer,
"text", TITLE_COLUMN,
NULL);
gtk_tree_view_append_column (GTK_TREE_VIEW (tree), column);
/* Last column.. whether a book is checked out. */
renderer = gtk_cell_renderer_toggle_new ();
column = gtk_tree_view_column_new_with_attributes ("Checked out",
renderer,
"active", CHECKED_COLUMN,
NULL);
gtk_tree_view_append_column (GTK_TREE_VIEW (tree), column);
/* Now we can manipulate the view just like any other GTK widget */
...
}
docs/reference/gtk/xml/gtkheaderbar.xml 0000664 0001750 0001750 00000117355 13617646205 020354 0 ustar mclasen mclasen
]>
docs/reference/gtk/xml/gtk4-doc.top 0000664 0001750 0001750 00000000000 13617646205 017321 0 ustar mclasen mclasen docs/reference/gtk/xml/gtkstack.xml 0000664 0001750 0001750 00000202612 13617646205 017533 0 ustar mclasen mclasen
]>
GtkStack
3
GTK4 Library
GtkStack
A stacking container
Functions
GtkWidget *
gtk_stack_new ()
GtkStackPage *
gtk_stack_add_named ()
GtkStackPage *
gtk_stack_add_titled ()
GtkWidget *
gtk_stack_get_child_by_name ()
GtkStackPage *
gtk_stack_get_page ()
GtkSelectionModel *
gtk_stack_get_pages ()
GtkWidget *
gtk_stack_page_get_child ()
void
gtk_stack_set_visible_child ()
GtkWidget *
gtk_stack_get_visible_child ()
void
gtk_stack_set_visible_child_name ()
const gchar *
gtk_stack_get_visible_child_name ()
void
gtk_stack_set_visible_child_full ()
void
gtk_stack_set_homogeneous ()
gboolean
gtk_stack_get_homogeneous ()
void
gtk_stack_set_hhomogeneous ()
gboolean
gtk_stack_get_hhomogeneous ()
void
gtk_stack_set_vhomogeneous ()
gboolean
gtk_stack_get_vhomogeneous ()
void
gtk_stack_set_transition_duration ()
guint
gtk_stack_get_transition_duration ()
void
gtk_stack_set_transition_type ()
GtkStackTransitionType
gtk_stack_get_transition_type ()
gboolean
gtk_stack_get_transition_running ()
gboolean
gtk_stack_get_interpolate_size ()
void
gtk_stack_set_interpolate_size ()
Properties
gboolean hhomogeneousRead / Write
gboolean homogeneousRead / Write
gboolean interpolate-sizeRead / Write
GtkSelectionModel * pagesRead
guint transition-durationRead / Write
gboolean transition-runningRead
GtkStackTransitionType transition-typeRead / Write
gboolean vhomogeneousRead / Write
GtkWidget * visible-childRead / Write
gchar * visible-child-nameRead / Write
GtkWidget * childRead / Write / Construct Only
gchar * icon-nameRead / Write
gchar * nameRead / Write / Construct Only
gboolean needs-attentionRead / Write
gchar * titleRead / Write
gboolean visibleRead / Write
Types and Values
GtkStack
GtkStackPage
enum GtkStackTransitionType
Object Hierarchy
GObject
├── GInitiallyUnowned
│ ╰── GtkWidget
│ ╰── GtkContainer
│ ╰── GtkStack
╰── GtkStackPage
Implemented Interfaces
GtkStack implements
AtkImplementorIface, GtkBuildable and GtkConstraintTarget.
Includes #include <gtk/gtk.h>
Description
The GtkStack widget is a container which only shows
one of its children at a time. In contrast to GtkNotebook,
GtkStack does not provide a means for users to change the
visible child. Instead, the GtkStackSwitcher widget can be
used with GtkStack to provide this functionality.
Transitions between pages can be animated as slides or
fades. This can be controlled with gtk_stack_set_transition_type() .
These animations respect the “gtk-enable-animations”
setting.
GtkStack maintains a GtkStackPage object for each added
child, which holds additional per-child properties. You
obtain the GtkStackPage for a child with gtk_stack_get_page() .
GtkStack as GtkBuildable To set child-specific properties in a .ui file, create GtkStackPage
objects explictly, and set the child widget as a property on it:
page1
In the beginning…
It was dark
]]>
CSS nodes GtkStack has a single CSS node named stack.
Functions
gtk_stack_new ()
gtk_stack_new
GtkWidget *
gtk_stack_new (void );
Creates a new GtkStack container.
Returns
a new GtkStack
gtk_stack_add_named ()
gtk_stack_add_named
GtkStackPage *
gtk_stack_add_named (GtkStack *stack ,
GtkWidget *child ,
const gchar *name );
Adds a child to stack
.
The child is identified by the name
.
Parameters
stack
a GtkStack
child
the widget to add
name
the name for child
Returns
the GtkStackPage for child
.
[transfer none ]
gtk_stack_add_titled ()
gtk_stack_add_titled
GtkStackPage *
gtk_stack_add_titled (GtkStack *stack ,
GtkWidget *child ,
const gchar *name ,
const gchar *title );
Adds a child to stack
.
The child is identified by the name
. The title
will be used by GtkStackSwitcher to represent
child
in a tab bar, so it should be short.
Parameters
stack
a GtkStack
child
the widget to add
name
the name for child
title
a human-readable title for child
Returns
the GtkStackPage for child
.
[transfer none ]
gtk_stack_get_child_by_name ()
gtk_stack_get_child_by_name
GtkWidget *
gtk_stack_get_child_by_name (GtkStack *stack ,
const gchar *name );
Finds the child of the GtkStack with the name given as
the argument. Returns NULL if there is no child with this
name.
Parameters
stack
a GtkStack
name
the name of the child to find
Returns
the requested child of the GtkStack .
[transfer none ][nullable ]
gtk_stack_get_page ()
gtk_stack_get_page
GtkStackPage *
gtk_stack_get_page (GtkStack *stack ,
GtkWidget *child );
Returns the GtkStackPage object for child
.
Parameters
stack
a GtkStack
child
a child of stack
Returns
the GtkStackPage for child
.
[transfer none ]
gtk_stack_get_pages ()
gtk_stack_get_pages
GtkSelectionModel *
gtk_stack_get_pages (GtkStack *stack );
Returns a GListModel that contains the pages of the stack,
and can be used to keep and up-to-date view. The model also
implements GtkSelectionModel and can be used to track and
modify the visible page..
Parameters
stack
a GtkStack
Returns
a GtkSelectionModel for the stack's children.
[transfer full ]
gtk_stack_page_get_child ()
gtk_stack_page_get_child
GtkWidget *
gtk_stack_page_get_child (GtkStackPage *page );
Returns the stack child to which page
belongs.
Parameters
page
a GtkStackPage
Returns
the child to which page
belongs.
[transfer none ]
gtk_stack_set_visible_child ()
gtk_stack_set_visible_child
void
gtk_stack_set_visible_child (GtkStack *stack ,
GtkWidget *child );
Makes child
the visible child of stack
.
If child
is different from the currently
visible child, the transition between the
two will be animated with the current
transition type of stack
.
Note that the child
widget has to be visible itself
(see gtk_widget_show() ) in order to become the visible
child of stack
.
Parameters
stack
a GtkStack
child
a child of stack
gtk_stack_get_visible_child ()
gtk_stack_get_visible_child
GtkWidget *
gtk_stack_get_visible_child (GtkStack *stack );
Gets the currently visible child of stack
, or NULL if
there are no visible children.
Parameters
stack
a GtkStack
Returns
the visible child of the GtkStack .
[transfer none ][nullable ]
gtk_stack_set_visible_child_name ()
gtk_stack_set_visible_child_name
void
gtk_stack_set_visible_child_name (GtkStack *stack ,
const gchar *name );
Makes the child with the given name visible.
If child
is different from the currently
visible child, the transition between the
two will be animated with the current
transition type of stack
.
Note that the child widget has to be visible itself
(see gtk_widget_show() ) in order to become the visible
child of stack
.
Parameters
stack
a GtkStack
name
the name of the child to make visible
gtk_stack_get_visible_child_name ()
gtk_stack_get_visible_child_name
const gchar *
gtk_stack_get_visible_child_name (GtkStack *stack );
Returns the name of the currently visible child of stack
, or
NULL if there is no visible child.
Parameters
stack
a GtkStack
Returns
the name of the visible child of the GtkStack .
[transfer none ][nullable ]
gtk_stack_set_visible_child_full ()
gtk_stack_set_visible_child_full
void
gtk_stack_set_visible_child_full (GtkStack *stack ,
const gchar *name ,
GtkStackTransitionType transition );
Makes the child with the given name visible.
Note that the child widget has to be visible itself
(see gtk_widget_show() ) in order to become the visible
child of stack
.
Parameters
stack
a GtkStack
name
the name of the child to make visible
transition
the transition type to use
gtk_stack_set_homogeneous ()
gtk_stack_set_homogeneous
void
gtk_stack_set_homogeneous (GtkStack *stack ,
gboolean homogeneous );
Sets the GtkStack to be homogeneous or not. If it
is homogeneous, the GtkStack will request the same
size for all its children. If it isn't, the stack
may change size when a different child becomes visible.
Homogeneity can be controlled separately
for horizontal and vertical size, with the
“hhomogeneous” and “vhomogeneous” .
Parameters
stack
a GtkStack
homogeneous
TRUE to make stack
homogeneous
gtk_stack_get_homogeneous ()
gtk_stack_get_homogeneous
gboolean
gtk_stack_get_homogeneous (GtkStack *stack );
Gets whether stack
is homogeneous.
See gtk_stack_set_homogeneous() .
Parameters
stack
a GtkStack
Returns
whether stack
is homogeneous.
gtk_stack_set_hhomogeneous ()
gtk_stack_set_hhomogeneous
void
gtk_stack_set_hhomogeneous (GtkStack *stack ,
gboolean hhomogeneous );
Sets the GtkStack to be horizontally homogeneous or not.
If it is homogeneous, the GtkStack will request the same
width for all its children. If it isn't, the stack
may change width when a different child becomes visible.
Parameters
stack
a GtkStack
hhomogeneous
TRUE to make stack
horizontally homogeneous
gtk_stack_get_hhomogeneous ()
gtk_stack_get_hhomogeneous
gboolean
gtk_stack_get_hhomogeneous (GtkStack *stack );
Gets whether stack
is horizontally homogeneous.
See gtk_stack_set_hhomogeneous() .
Parameters
stack
a GtkStack
Returns
whether stack
is horizontally homogeneous.
gtk_stack_set_vhomogeneous ()
gtk_stack_set_vhomogeneous
void
gtk_stack_set_vhomogeneous (GtkStack *stack ,
gboolean vhomogeneous );
Sets the GtkStack to be vertically homogeneous or not.
If it is homogeneous, the GtkStack will request the same
height for all its children. If it isn't, the stack
may change height when a different child becomes visible.
Parameters
stack
a GtkStack
vhomogeneous
TRUE to make stack
vertically homogeneous
gtk_stack_get_vhomogeneous ()
gtk_stack_get_vhomogeneous
gboolean
gtk_stack_get_vhomogeneous (GtkStack *stack );
Gets whether stack
is vertically homogeneous.
See gtk_stack_set_vhomogeneous() .
Parameters
stack
a GtkStack
Returns
whether stack
is vertically homogeneous.
gtk_stack_set_transition_duration ()
gtk_stack_set_transition_duration
void
gtk_stack_set_transition_duration (GtkStack *stack ,
guint duration );
Sets the duration that transitions between pages in stack
will take.
Parameters
stack
a GtkStack
duration
the new duration, in milliseconds
gtk_stack_get_transition_duration ()
gtk_stack_get_transition_duration
guint
gtk_stack_get_transition_duration (GtkStack *stack );
Returns the amount of time (in milliseconds) that
transitions between pages in stack
will take.
Parameters
stack
a GtkStack
Returns
the transition duration
gtk_stack_set_transition_type ()
gtk_stack_set_transition_type
void
gtk_stack_set_transition_type (GtkStack *stack ,
GtkStackTransitionType transition );
Sets the type of animation that will be used for
transitions between pages in stack
. Available
types include various kinds of fades and slides.
The transition type can be changed without problems
at runtime, so it is possible to change the animation
based on the page that is about to become current.
Parameters
stack
a GtkStack
transition
the new transition type
gtk_stack_get_transition_type ()
gtk_stack_get_transition_type
GtkStackTransitionType
gtk_stack_get_transition_type (GtkStack *stack );
Gets the type of animation that will be used
for transitions between pages in stack
.
Parameters
stack
a GtkStack
Returns
the current transition type of stack
gtk_stack_get_transition_running ()
gtk_stack_get_transition_running
gboolean
gtk_stack_get_transition_running (GtkStack *stack );
Returns whether the stack
is currently in a transition from one page to
another.
Parameters
stack
a GtkStack
Returns
TRUE if the transition is currently running, FALSE otherwise.
gtk_stack_get_interpolate_size ()
gtk_stack_get_interpolate_size
gboolean
gtk_stack_get_interpolate_size (GtkStack *stack );
Returns wether the GtkStack is set up to interpolate between
the sizes of children on page switch.
Parameters
stack
A GtkStack
Returns
TRUE if child sizes are interpolated
gtk_stack_set_interpolate_size ()
gtk_stack_set_interpolate_size
void
gtk_stack_set_interpolate_size (GtkStack *stack ,
gboolean interpolate_size );
Sets whether or not stack
will interpolate its size when
changing the visible child. If the “interpolate-size”
property is set to TRUE , stack
will interpolate its size between
the current one and the one it'll take after changing the
visible child, according to the set transition duration.
Parameters
stack
A GtkStack
interpolate_size
the new value
Property Details
The “hhomogeneous” property
GtkStack:hhomogeneous
“hhomogeneous” gboolean
TRUE if the stack allocates the same width for all children.
Owner: GtkStack
Flags: Read / Write
Default value: TRUE
The “homogeneous” property
GtkStack:homogeneous
“homogeneous” gboolean
Homogeneous sizing. Owner: GtkStack
Flags: Read / Write
Default value: TRUE
The “interpolate-size” property
GtkStack:interpolate-size
“interpolate-size” gboolean
Whether or not the size should smoothly change when changing between differently sized children. Owner: GtkStack
Flags: Read / Write
Default value: FALSE
The “pages” property
GtkStack:pages
“pages” GtkSelectionModel *
A selection model with the stacks pages. Owner: GtkStack
Flags: Read
The “transition-duration” property
GtkStack:transition-duration
“transition-duration” guint
The animation duration, in milliseconds. Owner: GtkStack
Flags: Read / Write
Default value: 200
The “transition-running” property
GtkStack:transition-running
“transition-running” gboolean
Whether or not the transition is currently running. Owner: GtkStack
Flags: Read
Default value: FALSE
The “transition-type” property
GtkStack:transition-type
“transition-type” GtkStackTransitionType
The type of animation used to transition. Owner: GtkStack
Flags: Read / Write
Default value: GTK_STACK_TRANSITION_TYPE_NONE
The “vhomogeneous” property
GtkStack:vhomogeneous
“vhomogeneous” gboolean
TRUE if the stack allocates the same height for all children.
Owner: GtkStack
Flags: Read / Write
Default value: TRUE
The “visible-child” property
GtkStack:visible-child
“visible-child” GtkWidget *
The widget currently visible in the stack. Owner: GtkStack
Flags: Read / Write
The “visible-child-name” property
GtkStack:visible-child-name
“visible-child-name” gchar *
The name of the widget currently visible in the stack. Owner: GtkStack
Flags: Read / Write
Default value: NULL
The “child” property
GtkStackPage:child
“child” GtkWidget *
The child of the page. Owner: GtkStackPage
Flags: Read / Write / Construct Only
The “icon-name” property
GtkStackPage:icon-name
“icon-name” gchar *
The icon name of the child page. Owner: GtkStackPage
Flags: Read / Write
Default value: NULL
The “name” property
GtkStackPage:name
“name” gchar *
The name of the child page. Owner: GtkStackPage
Flags: Read / Write / Construct Only
Default value: NULL
The “needs-attention” property
GtkStackPage:needs-attention
“needs-attention” gboolean
Whether this page needs attention. Owner: GtkStackPage
Flags: Read / Write
Default value: FALSE
The “title” property
GtkStackPage:title
“title” gchar *
The title of the child page. Owner: GtkStackPage
Flags: Read / Write
Default value: NULL
The “visible” property
GtkStackPage:visible
“visible” gboolean
Whether this page is visible. Owner: GtkStackPage
Flags: Read / Write
Default value: TRUE
See Also
GtkNotebook , GtkStackSwitcher
docs/reference/gtk/xml/gtknative.xml 0000664 0001750 0001750 00000025103 13617646205 017712 0 ustar mclasen mclasen
]>
GtkNative
3
GTK4 Library
GtkNative
Interface for widgets having surfaces
Functions
GtkWidget *
gtk_native_get_for_surface ()
GdkSurface *
gtk_native_get_surface ()
GskRenderer *
gtk_native_get_renderer ()
void
gtk_native_check_resize ()
Types and Values
GtkNative
Object Hierarchy
GInterface
╰── GtkNative
Prerequisites
GtkNative requires
GtkWidget.
Known Derived Interfaces
GtkNative is required by
GtkRoot.
Known Implementations
GtkNative is implemented by
GtkAboutDialog, GtkAppChooserDialog, GtkApplicationWindow, GtkAssistant, GtkColorChooserDialog, GtkDialog, GtkDragIcon, GtkEmojiChooser, GtkFileChooserDialog, GtkFontChooserDialog, GtkMessageDialog, GtkPageSetupUnixDialog, GtkPopover, GtkPopoverMenu, GtkPrintUnixDialog, GtkShortcutsWindow and GtkWindow.
Includes #include <gtk/gtk.h>
Description
GtkNative is the interface implemented by all widgets that can provide
a GdkSurface for widgets to render on.
The obvious example of a GtkNative is GtkWindow .
Functions
gtk_native_get_for_surface ()
gtk_native_get_for_surface
GtkWidget *
gtk_native_get_for_surface (GdkSurface *surface );
Finds the GtkNative associated with the surface.
Parameters
surface
a GdkSurface
Returns
the GtkNative that is associated with surface
.
[transfer none ]
gtk_native_get_surface ()
gtk_native_get_surface
GdkSurface *
gtk_native_get_surface (GtkNative *self );
Returns the surface of this GtkNative .
Parameters
self
a GtkNative
Returns
the surface of self
.
[transfer none ]
gtk_native_get_renderer ()
gtk_native_get_renderer
GskRenderer *
gtk_native_get_renderer (GtkNative *self );
Returns the renderer that is used for this GtkNative .
Parameters
self
a GtkNative
Returns
the renderer for self
.
[transfer none ]
gtk_native_check_resize ()
gtk_native_check_resize
void
gtk_native_check_resize (GtkNative *self );
Reposition and resize a GtkNative .
Widgets need to call this function on their attached
native widgets when they receive a new size allocation.
Parameters
self
a GtkNative
See Also
GtkRoot
docs/reference/gtk/xml/gtkstackswitcher.xml 0000664 0001750 0001750 00000023340 13617646205 021303 0 ustar mclasen mclasen
]>
GtkStackSwitcher
3
GTK4 Library
GtkStackSwitcher
A controller for GtkStack
Functions
GtkWidget *
gtk_stack_switcher_new ()
void
gtk_stack_switcher_set_stack ()
GtkStack *
gtk_stack_switcher_get_stack ()
Properties
GtkStack * stackRead / Write / Construct
Types and Values
GtkStackSwitcher
Object Hierarchy
GObject
╰── GInitiallyUnowned
╰── GtkWidget
╰── GtkStackSwitcher
Implemented Interfaces
GtkStackSwitcher implements
AtkImplementorIface, GtkBuildable and GtkConstraintTarget.
Includes #include <gtk/gtk.h>
Description
The GtkStackSwitcher widget acts as a controller for a
GtkStack ; it shows a row of buttons to switch between
the various pages of the associated stack widget.
All the content for the buttons comes from the child properties
of the GtkStack ; the button visibility in a GtkStackSwitcher
widget is controlled by the visibility of the child in the
GtkStack .
It is possible to associate multiple GtkStackSwitcher widgets
with the same GtkStack widget.
The GtkStackSwitcher widget was added in 3.10.
CSS nodes GtkStackSwitcher has a single CSS node named stackswitcher and
style class .stack-switcher.
When circumstances require it, GtkStackSwitcher adds the
.needs-attention style class to the widgets representing the
stack pages.
Functions
gtk_stack_switcher_new ()
gtk_stack_switcher_new
GtkWidget *
gtk_stack_switcher_new (void );
Create a new GtkStackSwitcher .
Returns
a new GtkStackSwitcher .
gtk_stack_switcher_set_stack ()
gtk_stack_switcher_set_stack
void
gtk_stack_switcher_set_stack (GtkStackSwitcher *switcher ,
GtkStack *stack );
Sets the stack to control.
Parameters
switcher
a GtkStackSwitcher
stack
a GtkStack .
[allow-none ]
gtk_stack_switcher_get_stack ()
gtk_stack_switcher_get_stack
GtkStack *
gtk_stack_switcher_get_stack (GtkStackSwitcher *switcher );
Retrieves the stack.
See gtk_stack_switcher_set_stack() .
Parameters
switcher
a GtkStackSwitcher
Returns
the stack, or NULL if
none has been set explicitly.
[nullable ][transfer none ]
Property Details
The “stack” property
GtkStackSwitcher:stack
“stack” GtkStack *
Stack. Owner: GtkStackSwitcher
Flags: Read / Write / Construct
See Also
GtkStack
docs/reference/gtk/xml/gtk4-doc.bottom 0000664 0001750 0001750 00000023734 13617646205 020046 0 ustar mclasen mclasen
docs/reference/gtk/xml/gtkrevealer.xml 0000664 0001750 0001750 00000052601 13617646205 020234 0 ustar mclasen mclasen
]>
GtkRevealer
3
GTK4 Library
GtkRevealer
Hide and show with animation
Functions
GtkWidget *
gtk_revealer_new ()
gboolean
gtk_revealer_get_reveal_child ()
void
gtk_revealer_set_reveal_child ()
gboolean
gtk_revealer_get_child_revealed ()
guint
gtk_revealer_get_transition_duration ()
void
gtk_revealer_set_transition_duration ()
GtkRevealerTransitionType
gtk_revealer_get_transition_type ()
void
gtk_revealer_set_transition_type ()
Properties
gboolean child-revealedRead
gboolean reveal-childRead / Write / Construct
guint transition-durationRead / Write / Construct
GtkRevealerTransitionType transition-typeRead / Write / Construct
Types and Values
GtkRevealer
enum GtkRevealerTransitionType
Object Hierarchy
GObject
╰── GInitiallyUnowned
╰── GtkWidget
╰── GtkContainer
╰── GtkBin
╰── GtkRevealer
Implemented Interfaces
GtkRevealer implements
AtkImplementorIface, GtkBuildable and GtkConstraintTarget.
Includes #include <gtk/gtk.h>
Description
The GtkRevealer widget is a container which animates
the transition of its child from invisible to visible.
The style of transition can be controlled with
gtk_revealer_set_transition_type() .
These animations respect the “gtk-enable-animations”
setting.
CSS nodes GtkRevealer has a single CSS node with name revealer.
When styling GtkRevealer using CSS, remember that it only hides its contents,
not itself. That means applied margin, padding and borders will be
visible even when the “reveal-child” property is set to FALSE .
The GtkRevealer widget was added in GTK+ 3.10.
Functions
gtk_revealer_new ()
gtk_revealer_new
GtkWidget *
gtk_revealer_new (void );
Creates a new GtkRevealer .
Returns
a newly created GtkRevealer
gtk_revealer_get_reveal_child ()
gtk_revealer_get_reveal_child
gboolean
gtk_revealer_get_reveal_child (GtkRevealer *revealer );
Returns whether the child is currently
revealed. See gtk_revealer_set_reveal_child() .
This function returns TRUE as soon as the transition
is to the revealed state is started. To learn whether
the child is fully revealed (ie the transition is completed),
use gtk_revealer_get_child_revealed() .
Parameters
revealer
a GtkRevealer
Returns
TRUE if the child is revealed.
gtk_revealer_set_reveal_child ()
gtk_revealer_set_reveal_child
void
gtk_revealer_set_reveal_child (GtkRevealer *revealer ,
gboolean reveal_child );
Tells the GtkRevealer to reveal or conceal its child.
The transition will be animated with the current
transition type of revealer
.
Parameters
revealer
a GtkRevealer
reveal_child
TRUE to reveal the child
gtk_revealer_get_child_revealed ()
gtk_revealer_get_child_revealed
gboolean
gtk_revealer_get_child_revealed (GtkRevealer *revealer );
Returns whether the child is fully revealed, in other words whether
the transition to the revealed state is completed.
Parameters
revealer
a GtkRevealer
Returns
TRUE if the child is fully revealed
gtk_revealer_get_transition_duration ()
gtk_revealer_get_transition_duration
guint
gtk_revealer_get_transition_duration (GtkRevealer *revealer );
Returns the amount of time (in milliseconds) that
transitions will take.
Parameters
revealer
a GtkRevealer
Returns
the transition duration
gtk_revealer_set_transition_duration ()
gtk_revealer_set_transition_duration
void
gtk_revealer_set_transition_duration (GtkRevealer *revealer ,
guint duration );
Sets the duration that transitions will take.
Parameters
revealer
a GtkRevealer
duration
the new duration, in milliseconds
gtk_revealer_get_transition_type ()
gtk_revealer_get_transition_type
GtkRevealerTransitionType
gtk_revealer_get_transition_type (GtkRevealer *revealer );
Gets the type of animation that will be used
for transitions in revealer
.
Parameters
revealer
a GtkRevealer
Returns
the current transition type of revealer
gtk_revealer_set_transition_type ()
gtk_revealer_set_transition_type
void
gtk_revealer_set_transition_type (GtkRevealer *revealer ,
GtkRevealerTransitionType transition );
Sets the type of animation that will be used for
transitions in revealer
. Available types include
various kinds of fades and slides.
Parameters
revealer
a GtkRevealer
transition
the new transition type
Property Details
The “child-revealed” property
GtkRevealer:child-revealed
“child-revealed” gboolean
Whether the child is revealed and the animation target reached. Owner: GtkRevealer
Flags: Read
Default value: FALSE
The “reveal-child” property
GtkRevealer:reveal-child
“reveal-child” gboolean
Whether the container should reveal the child. Owner: GtkRevealer
Flags: Read / Write / Construct
Default value: FALSE
The “transition-duration” property
GtkRevealer:transition-duration
“transition-duration” guint
The animation duration, in milliseconds. Owner: GtkRevealer
Flags: Read / Write / Construct
Default value: 250
The “transition-type” property
GtkRevealer:transition-type
“transition-type” GtkRevealerTransitionType
The type of animation used to transition. Owner: GtkRevealer
Flags: Read / Write / Construct
Default value: GTK_REVEALER_TRANSITION_TYPE_SLIDE_DOWN
See Also
GtkExpander
docs/reference/gtk/xml/tree_index.sgml 0000664 0001750 0001750 00000121121 13617646205 020203 0 ustar mclasen mclasen
]>
GObject
├── GInitiallyUnowned
│ ├── GtkWidget
│ │ ├── GtkContainer
│ │ │ ├── GtkBin
│ │ │ │ ├── GtkWindow
│ │ │ │ │ ├── GtkDialog
│ │ │ │ │ │ ├── GtkAboutDialog
│ │ │ │ │ │ ├── GtkAppChooserDialog
│ │ │ │ │ │ ├── GtkColorChooserDialog
│ │ │ │ │ │ ├── GtkFileChooserDialog
│ │ │ │ │ │ ├── GtkFontChooserDialog
│ │ │ │ │ │ ├── GtkMessageDialog
│ │ │ │ │ │ ├── GtkPageSetupUnixDialog
│ │ │ │ │ │ ╰── GtkPrintUnixDialog
│ │ │ │ │ ├── GtkApplicationWindow
│ │ │ │ │ ├── GtkAssistant
│ │ │ │ │ ╰── GtkShortcutsWindow
│ │ │ │ ├── GtkFrame
│ │ │ │ │ ╰── GtkAspectFrame
│ │ │ │ ├── GtkButton
│ │ │ │ │ ├── GtkToggleButton
│ │ │ │ │ │ ╰── GtkCheckButton
│ │ │ │ │ │ ╰── GtkRadioButton
│ │ │ │ │ ├── GtkLinkButton
│ │ │ │ │ ├── GtkLockButton
│ │ │ │ │ ╰── GtkScaleButton
│ │ │ │ │ ╰── GtkVolumeButton
│ │ │ │ ├── GtkComboBox
│ │ │ │ │ ╰── GtkComboBoxText
│ │ │ │ ├── GtkPopover
│ │ │ │ │ ├── GtkEmojiChooser
│ │ │ │ │ ╰── GtkPopoverMenu
│ │ │ │ ├── GtkFlowBoxChild
│ │ │ │ ├── GtkListBoxRow
│ │ │ │ ├── GtkOverlay
│ │ │ │ ├── GtkRevealer
│ │ │ │ ├── GtkScrolledWindow
│ │ │ │ ├── GtkSearchBar
│ │ │ │ ╰── GtkViewport
│ │ │ ├── GtkActionBar
│ │ │ ├── GtkBox
│ │ │ │ ├── GtkShortcutsSection
│ │ │ │ ╰── GtkShortcutsGroup
│ │ │ ├── GtkDragIcon
│ │ │ ├── GtkExpander
│ │ │ ├── GtkFixed
│ │ │ ├── GtkFlowBox
│ │ │ ├── GtkGrid
│ │ │ ├── GtkHeaderBar
│ │ │ ├── GtkIconView
│ │ │ ├── GtkInfoBar
│ │ │ ├── GtkListBox
│ │ │ ├── GtkNotebook
│ │ │ ├── GtkPaned
│ │ │ ├── GtkStack
│ │ │ ├── GtkTextView
│ │ │ ╰── GtkTreeView
│ │ ├── GtkAccelLabel
│ │ ├── GtkAppChooserButton
│ │ ├── GtkAppChooserWidget
│ │ ├── GtkCalendar
│ │ ├── GtkCellView
│ │ ├── GtkColorButton
│ │ ├── GtkColorChooserWidget
│ │ ├── GtkDrawingArea
│ │ ├── GtkEntry
│ │ ├── GtkFileChooserButton
│ │ ├── GtkFileChooserWidget
│ │ ├── GtkFontButton
│ │ ├── GtkFontChooserWidget
│ │ ├── GtkGLArea
│ │ ├── GtkImage
│ │ ├── GtkLabel
│ │ ├── GtkMediaControls
│ │ ├── GtkMenuButton
│ │ ├── GtkPasswordEntry
│ │ ├── GtkPicture
│ │ ├── GtkPopoverMenuBar
│ │ ├── GtkProgressBar
│ │ ├── GtkRange
│ │ │ ╰── GtkScale
│ │ ├── GtkScrollbar
│ │ ├── GtkSearchEntry
│ │ ├── GtkSeparator
│ │ ├── GtkShortcutLabel
│ │ ├── GtkShortcutsShortcut
│ │ ├── GtkSpinButton
│ │ ├── GtkSpinner
│ │ ├── GtkStackSidebar
│ │ ├── GtkStackSwitcher
│ │ ├── GtkStatusbar
│ │ ├── GtkSwitch
│ │ ├── GtkLevelBar
│ │ ├── GtkText
│ │ ╰── GtkVideo
│ ├── GtkAdjustment
│ ├── GtkCellArea
│ │ ╰── GtkCellAreaBox
│ ├── GtkCellRenderer
│ │ ├── GtkCellRendererText
│ │ │ ├── GtkCellRendererAccel
│ │ │ ├── GtkCellRendererCombo
│ │ │ ╰── GtkCellRendererSpin
│ │ ├── GtkCellRendererPixbuf
│ │ ├── GtkCellRendererProgress
│ │ ├── GtkCellRendererSpinner
│ │ ╰── GtkCellRendererToggle
│ ├── GtkFileFilter
│ ╰── GtkTreeViewColumn
├── GtkAccelGroup
├── GtkAccelMap
├── AtkObject
│ ╰── GtkAccessible
├── GApplication
│ ╰── GtkApplication
├── GtkAssistantPage
├── GtkLayoutManager
│ ├── GtkBinLayout
│ ├── GtkBoxLayout
│ ├── GtkConstraintLayout
│ ├── GtkFixedLayout
│ ├── GtkGridLayout
│ ╰── GtkCenterLayout
├── GtkBuilder
├── GtkCellAreaContext
├── GtkConstraint
├── GtkConstraintGuide
├── GtkCssProvider
├── GtkEventController
│ ├── GtkGesture
│ │ ├── GtkGestureSingle
│ │ │ ├── GtkDragSource
│ │ │ ├── GtkGestureClick
│ │ │ ├── GtkGestureDrag
│ │ │ │ ╰── GtkGesturePan
│ │ │ ├── GtkGestureLongPress
│ │ │ ├── GtkGestureStylus
│ │ │ ╰── GtkGestureSwipe
│ │ ├── GtkGestureRotate
│ │ ╰── GtkGestureZoom
│ ├── GtkDropTarget
│ ├── GtkEventControllerKey
│ ├── GtkEventControllerLegacy
│ ├── GtkEventControllerMotion
│ ├── GtkEventControllerScroll
│ ╰── GtkPadController
├── GtkEntryBuffer
├── GtkEntryCompletion
├── GtkFilterListModel
├── GtkFlattenListModel
├── GtkLayoutChild
│ ├── GtkGridLayoutChild
│ ├── GtkConstraintLayoutChild
│ ╰── GtkFixedLayoutChild
├── GtkIconTheme
├── GtkIMContext
│ ├── GtkIMContextSimple
│ ╰── GtkIMMulticontext
├── GtkListStore
├── GtkMapListModel
├── GtkMediaStream
│ ╰── GtkMediaFile
├── GMountOperation
│ ╰── GtkMountOperation
├── GtkNoSelection
├── GtkNotebookPage
├── GtkPageSetup
├── GtkPrinter
├── GtkPrintContext
├── GtkPrintJob
├── GtkPrintOperation
├── GtkPrintSettings
├── GtkRecentManager
├── GtkSettings
├── GtkSingleSelection
├── GtkSizeGroup
├── GtkSliceListModel
├── GdkSnapshot
│ ╰── GtkSnapshot
├── GtkSortListModel
├── GtkStackPage
├── GtkStyleContext
├── GtkTextBuffer
├── GtkTextChildAnchor
├── GtkTextMark
├── GtkTextTag
├── GtkTextTagTable
├── GtkTreeListModel
├── GtkTreeListRow
├── GtkTreeModelFilter
├── GtkTreeModelSort
├── GtkTreeSelection
├── GtkTreeStore
├── GtkWindowGroup
├── GtkTooltip
╰── GtkPrintBackend
GInterface
├── GtkBuildable
├── GtkConstraintTarget
├── GtkNative
├── GtkRoot
├── GtkActionable
├── GtkAppChooser
├── GtkOrientable
├── GtkCellLayout
├── GtkCellEditable
├── GtkColorChooser
├── GtkStyleProvider
├── GtkEditable
├── GtkFileChooser
├── GtkFontChooser
├── GtkScrollable
├── GtkTreeModel
├── GtkTreeDragSource
├── GtkTreeDragDest
├── GtkTreeSortable
├── GtkSelectionModel
╰── GtkPrintOperationPreview
GBoxed
├── GtkPaperSize
├── GtkTextIter
├── GtkTreeIter
├── GtkCssSection
╰── GtkTreePath
docs/reference/gtk/xml/gtkflowbox.xml 0000664 0001750 0001750 00000330035 13617646205 020107 0 ustar mclasen mclasen
]>
GtkFlowBox
3
GTK4 Library
GtkFlowBox
A container that allows reflowing its children
Functions
GtkWidget *
gtk_flow_box_new ()
void
gtk_flow_box_insert ()
GtkFlowBoxChild *
gtk_flow_box_get_child_at_index ()
GtkFlowBoxChild *
gtk_flow_box_get_child_at_pos ()
void
gtk_flow_box_set_hadjustment ()
void
gtk_flow_box_set_vadjustment ()
void
gtk_flow_box_set_homogeneous ()
gboolean
gtk_flow_box_get_homogeneous ()
void
gtk_flow_box_set_row_spacing ()
guint
gtk_flow_box_get_row_spacing ()
void
gtk_flow_box_set_column_spacing ()
guint
gtk_flow_box_get_column_spacing ()
void
gtk_flow_box_set_min_children_per_line ()
guint
gtk_flow_box_get_min_children_per_line ()
void
gtk_flow_box_set_max_children_per_line ()
guint
gtk_flow_box_get_max_children_per_line ()
void
gtk_flow_box_set_activate_on_single_click ()
gboolean
gtk_flow_box_get_activate_on_single_click ()
void
( *GtkFlowBoxForeachFunc) ()
void
gtk_flow_box_selected_foreach ()
GList *
gtk_flow_box_get_selected_children ()
void
gtk_flow_box_select_child ()
void
gtk_flow_box_unselect_child ()
void
gtk_flow_box_select_all ()
void
gtk_flow_box_unselect_all ()
void
gtk_flow_box_set_selection_mode ()
GtkSelectionMode
gtk_flow_box_get_selection_mode ()
gboolean
( *GtkFlowBoxFilterFunc) ()
void
gtk_flow_box_set_filter_func ()
void
gtk_flow_box_invalidate_filter ()
gint
( *GtkFlowBoxSortFunc) ()
void
gtk_flow_box_set_sort_func ()
void
gtk_flow_box_invalidate_sort ()
GtkWidget *
( *GtkFlowBoxCreateWidgetFunc) ()
void
gtk_flow_box_bind_model ()
GtkWidget *
gtk_flow_box_child_new ()
gint
gtk_flow_box_child_get_index ()
gboolean
gtk_flow_box_child_is_selected ()
void
gtk_flow_box_child_changed ()
Properties
gboolean accept-unpaired-releaseRead / Write
gboolean activate-on-single-clickRead / Write
guint column-spacingRead / Write
gboolean homogeneousRead / Write
guint max-children-per-lineRead / Write
guint min-children-per-lineRead / Write
guint row-spacingRead / Write
GtkSelectionMode selection-modeRead / Write
Signals
void activate-cursor-child Action
void child-activated Run Last
gboolean move-cursor Action
void select-all Action
void selected-children-changed Run First
void toggle-cursor-child Action
void unselect-all Action
void activate Action
Types and Values
GtkFlowBox
struct GtkFlowBoxChild
Object Hierarchy
GObject
╰── GInitiallyUnowned
╰── GtkWidget
╰── GtkContainer
├── GtkBin
│ ╰── GtkFlowBoxChild
╰── GtkFlowBox
Implemented Interfaces
GtkFlowBox implements
AtkImplementorIface, GtkBuildable, GtkConstraintTarget and GtkOrientable.
GtkFlowBoxChild implements
AtkImplementorIface, GtkBuildable and GtkConstraintTarget.
Includes #include <gtk/gtk.h>
Description
A GtkFlowBox positions child widgets in sequence according to its
orientation.
For instance, with the horizontal orientation, the widgets will be
arranged from left to right, starting a new row under the previous
row when necessary. Reducing the width in this case will require more
rows, so a larger height will be requested.
Likewise, with the vertical orientation, the widgets will be arranged
from top to bottom, starting a new column to the right when necessary.
Reducing the height will require more columns, so a larger width will
be requested.
The size request of a GtkFlowBox alone may not be what you expect; if you
need to be able to shrink it along both axes and dynamically reflow its
children, you may have to wrap it in a GtkScrolledWindow to enable that.
The children of a GtkFlowBox can be dynamically sorted and filtered.
Although a GtkFlowBox must have only GtkFlowBoxChild children,
you can add any kind of widget to it via gtk_container_add() , and
a GtkFlowBoxChild widget will automatically be inserted between
the box and the widget.
Also see GtkListBox .
GtkFlowBox was added in GTK+ 3.12.
CSS nodes
├── flowboxchild
│ ╰──
┊
╰── [rubberband]
]]>
GtkFlowBox uses a single CSS node with name flowbox. GtkFlowBoxChild
uses a single CSS node with name flowboxchild.
For rubberband selection, a subnode with name rubberband is used.
Functions
gtk_flow_box_new ()
gtk_flow_box_new
GtkWidget *
gtk_flow_box_new (void );
Creates a GtkFlowBox.
Returns
a new GtkFlowBox container
gtk_flow_box_insert ()
gtk_flow_box_insert
void
gtk_flow_box_insert (GtkFlowBox *box ,
GtkWidget *widget ,
gint position );
Inserts the widget
into box
at position
.
If a sort function is set, the widget will actually be inserted
at the calculated position and this function has the same effect
as gtk_container_add() .
If position
is -1, or larger than the total number of children
in the box
, then the widget
will be appended to the end.
Parameters
box
a GtkFlowBox
widget
the GtkWidget to add
position
the position to insert child
in
gtk_flow_box_get_child_at_index ()
gtk_flow_box_get_child_at_index
GtkFlowBoxChild *
gtk_flow_box_get_child_at_index (GtkFlowBox *box ,
gint idx );
Gets the nth child in the box
.
Parameters
box
a GtkFlowBox
idx
the position of the child
Returns
the child widget, which will
always be a GtkFlowBoxChild or NULL in case no child widget
with the given index exists.
[transfer none ][nullable ]
gtk_flow_box_get_child_at_pos ()
gtk_flow_box_get_child_at_pos
GtkFlowBoxChild *
gtk_flow_box_get_child_at_pos (GtkFlowBox *box ,
gint x ,
gint y );
Gets the child in the (x
, y
) position. Both x
and y
are
assumed to be relative to the origin of box
.
Parameters
box
a GtkFlowBox
x
the x coordinate of the child
y
the y coordinate of the child
Returns
the child widget, which will
always be a GtkFlowBoxChild or NULL in case no child widget
exists for the given x and y coordinates.
[transfer none ][nullable ]
gtk_flow_box_set_hadjustment ()
gtk_flow_box_set_hadjustment
void
gtk_flow_box_set_hadjustment (GtkFlowBox *box ,
GtkAdjustment *adjustment );
Hooks up an adjustment to focus handling in box
.
The adjustment is also used for autoscrolling during
rubberband selection. See gtk_scrolled_window_get_hadjustment()
for a typical way of obtaining the adjustment, and
gtk_flow_box_set_vadjustment() for setting the vertical
adjustment.
The adjustments have to be in pixel units and in the same
coordinate system as the allocation for immediate children
of the box.
Parameters
box
a GtkFlowBox
adjustment
an adjustment which should be adjusted
when the focus is moved among the descendents of container
gtk_flow_box_set_vadjustment ()
gtk_flow_box_set_vadjustment
void
gtk_flow_box_set_vadjustment (GtkFlowBox *box ,
GtkAdjustment *adjustment );
Hooks up an adjustment to focus handling in box
.
The adjustment is also used for autoscrolling during
rubberband selection. See gtk_scrolled_window_get_vadjustment()
for a typical way of obtaining the adjustment, and
gtk_flow_box_set_hadjustment() for setting the horizontal
adjustment.
The adjustments have to be in pixel units and in the same
coordinate system as the allocation for immediate children
of the box.
Parameters
box
a GtkFlowBox
adjustment
an adjustment which should be adjusted
when the focus is moved among the descendents of container
gtk_flow_box_set_homogeneous ()
gtk_flow_box_set_homogeneous
void
gtk_flow_box_set_homogeneous (GtkFlowBox *box ,
gboolean homogeneous );
Sets the “homogeneous” property of box
, controlling
whether or not all children of box
are given equal space
in the box.
Parameters
box
a GtkFlowBox
homogeneous
TRUE to create equal allotments,
FALSE for variable allotments
gtk_flow_box_get_homogeneous ()
gtk_flow_box_get_homogeneous
gboolean
gtk_flow_box_get_homogeneous (GtkFlowBox *box );
Returns whether the box is homogeneous (all children are the
same size). See gtk_box_set_homogeneous() .
Parameters
box
a GtkFlowBox
Returns
TRUE if the box is homogeneous.
gtk_flow_box_set_row_spacing ()
gtk_flow_box_set_row_spacing
void
gtk_flow_box_set_row_spacing (GtkFlowBox *box ,
guint spacing );
Sets the vertical space to add between children.
See the “row-spacing” property.
Parameters
box
a GtkFlowBox
spacing
the spacing to use
gtk_flow_box_get_row_spacing ()
gtk_flow_box_get_row_spacing
guint
gtk_flow_box_get_row_spacing (GtkFlowBox *box );
Gets the vertical spacing.
Parameters
box
a GtkFlowBox
Returns
the vertical spacing
gtk_flow_box_set_column_spacing ()
gtk_flow_box_set_column_spacing
void
gtk_flow_box_set_column_spacing (GtkFlowBox *box ,
guint spacing );
Sets the horizontal space to add between children.
See the “column-spacing” property.
Parameters
box
a GtkFlowBox
spacing
the spacing to use
gtk_flow_box_get_column_spacing ()
gtk_flow_box_get_column_spacing
guint
gtk_flow_box_get_column_spacing (GtkFlowBox *box );
Gets the horizontal spacing.
Parameters
box
a GtkFlowBox
Returns
the horizontal spacing
gtk_flow_box_set_min_children_per_line ()
gtk_flow_box_set_min_children_per_line
void
gtk_flow_box_set_min_children_per_line
(GtkFlowBox *box ,
guint n_children );
Sets the minimum number of children to line up
in box
’s orientation before flowing.
Parameters
box
a GtkFlowBox
n_children
the minimum number of children per line
gtk_flow_box_get_min_children_per_line ()
gtk_flow_box_get_min_children_per_line
guint
gtk_flow_box_get_min_children_per_line
(GtkFlowBox *box );
Gets the minimum number of children per line.
Parameters
box
a GtkFlowBox
Returns
the minimum number of children per line
gtk_flow_box_set_max_children_per_line ()
gtk_flow_box_set_max_children_per_line
void
gtk_flow_box_set_max_children_per_line
(GtkFlowBox *box ,
guint n_children );
Sets the maximum number of children to request and
allocate space for in box
’s orientation.
Setting the maximum number of children per line
limits the overall natural size request to be no more
than n_children
children long in the given orientation.
Parameters
box
a GtkFlowBox
n_children
the maximum number of children per line
gtk_flow_box_get_max_children_per_line ()
gtk_flow_box_get_max_children_per_line
guint
gtk_flow_box_get_max_children_per_line
(GtkFlowBox *box );
Gets the maximum number of children per line.
Parameters
box
a GtkFlowBox
Returns
the maximum number of children per line
gtk_flow_box_set_activate_on_single_click ()
gtk_flow_box_set_activate_on_single_click
void
gtk_flow_box_set_activate_on_single_click
(GtkFlowBox *box ,
gboolean single );
If single
is TRUE , children will be activated when you click
on them, otherwise you need to double-click.
Parameters
box
a GtkFlowBox
single
TRUE to emit child-activated on a single click
gtk_flow_box_get_activate_on_single_click ()
gtk_flow_box_get_activate_on_single_click
gboolean
gtk_flow_box_get_activate_on_single_click
(GtkFlowBox *box );
Returns whether children activate on single clicks.
Parameters
box
a GtkFlowBox
Returns
TRUE if children are activated on single click,
FALSE otherwise
GtkFlowBoxForeachFunc ()
GtkFlowBoxForeachFunc
void
( *GtkFlowBoxForeachFunc) (GtkFlowBox *box ,
GtkFlowBoxChild *child ,
gpointer user_data );
A function used by gtk_flow_box_selected_foreach() .
It will be called on every selected child of the box
.
Parameters
box
a GtkFlowBox
child
a GtkFlowBoxChild
user_data
user data.
[closure ]
gtk_flow_box_selected_foreach ()
gtk_flow_box_selected_foreach
void
gtk_flow_box_selected_foreach (GtkFlowBox *box ,
GtkFlowBoxForeachFunc func ,
gpointer data );
Calls a function for each selected child.
Note that the selection cannot be modified from within
this function.
Parameters
box
a GtkFlowBox
func
the function to call for each selected child.
[scope call ]
data
user data to pass to the function
gtk_flow_box_get_selected_children ()
gtk_flow_box_get_selected_children
GList *
gtk_flow_box_get_selected_children (GtkFlowBox *box );
Creates a list of all selected children.
Parameters
box
a GtkFlowBox
Returns
A GList containing the GtkWidget for each selected child.
Free with g_list_free() when done.
[element-type GtkFlowBoxChild][transfer container ]
gtk_flow_box_select_child ()
gtk_flow_box_select_child
void
gtk_flow_box_select_child (GtkFlowBox *box ,
GtkFlowBoxChild *child );
Selects a single child of box
, if the selection
mode allows it.
Parameters
box
a GtkFlowBox
child
a child of box
gtk_flow_box_unselect_child ()
gtk_flow_box_unselect_child
void
gtk_flow_box_unselect_child (GtkFlowBox *box ,
GtkFlowBoxChild *child );
Unselects a single child of box
, if the selection
mode allows it.
Parameters
box
a GtkFlowBox
child
a child of box
gtk_flow_box_select_all ()
gtk_flow_box_select_all
void
gtk_flow_box_select_all (GtkFlowBox *box );
Select all children of box
, if the selection
mode allows it.
Parameters
box
a GtkFlowBox
gtk_flow_box_unselect_all ()
gtk_flow_box_unselect_all
void
gtk_flow_box_unselect_all (GtkFlowBox *box );
Unselect all children of box
, if the selection
mode allows it.
Parameters
box
a GtkFlowBox
gtk_flow_box_set_selection_mode ()
gtk_flow_box_set_selection_mode
void
gtk_flow_box_set_selection_mode (GtkFlowBox *box ,
GtkSelectionMode mode );
Sets how selection works in box
.
See GtkSelectionMode for details.
Parameters
box
a GtkFlowBox
mode
the new selection mode
gtk_flow_box_get_selection_mode ()
gtk_flow_box_get_selection_mode
GtkSelectionMode
gtk_flow_box_get_selection_mode (GtkFlowBox *box );
Gets the selection mode of box
.
Parameters
box
a GtkFlowBox
Returns
the GtkSelectionMode
GtkFlowBoxFilterFunc ()
GtkFlowBoxFilterFunc
gboolean
( *GtkFlowBoxFilterFunc) (GtkFlowBoxChild *child ,
gpointer user_data );
A function that will be called whenrever a child changes
or is added. It lets you control if the child should be
visible or not.
Parameters
child
a GtkFlowBoxChild that may be filtered
user_data
user data.
[closure ]
Returns
TRUE if the row should be visible, FALSE otherwise
gtk_flow_box_set_filter_func ()
gtk_flow_box_set_filter_func
void
gtk_flow_box_set_filter_func (GtkFlowBox *box ,
GtkFlowBoxFilterFunc filter_func ,
gpointer user_data ,
GDestroyNotify destroy );
By setting a filter function on the box
one can decide dynamically
which of the children to show. For instance, to implement a search
function that only shows the children matching the search terms.
The filter_func
will be called for each child after the call, and
it will continue to be called each time a child changes (via
gtk_flow_box_child_changed() ) or when gtk_flow_box_invalidate_filter()
is called.
Note that using a filter function is incompatible with using a model
(see gtk_flow_box_bind_model() ).
Parameters
box
a GtkFlowBox
filter_func
callback that
lets you filter which children to show.
[allow-none ]
user_data
user data passed to filter_func
.
[closure ]
destroy
destroy notifier for user_data
gtk_flow_box_invalidate_filter ()
gtk_flow_box_invalidate_filter
void
gtk_flow_box_invalidate_filter (GtkFlowBox *box );
Updates the filtering for all children.
Call this function when the result of the filter
function on the box
is changed due ot an external
factor. For instance, this would be used if the
filter function just looked for a specific search
term, and the entry with the string has changed.
Parameters
box
a GtkFlowBox
GtkFlowBoxSortFunc ()
GtkFlowBoxSortFunc
gint
( *GtkFlowBoxSortFunc) (GtkFlowBoxChild *child1 ,
GtkFlowBoxChild *child2 ,
gpointer user_data );
A function to compare two children to determine which
should come first.
Parameters
child1
the first child
child2
the second child
user_data
user data.
[closure ]
Returns
< 0 if child1
should be before child2
, 0 if
the are equal, and > 0 otherwise
gtk_flow_box_set_sort_func ()
gtk_flow_box_set_sort_func
void
gtk_flow_box_set_sort_func (GtkFlowBox *box ,
GtkFlowBoxSortFunc sort_func ,
gpointer user_data ,
GDestroyNotify destroy );
By setting a sort function on the box
, one can dynamically
reorder the children of the box, based on the contents of
the children.
The sort_func
will be called for each child after the call,
and will continue to be called each time a child changes (via
gtk_flow_box_child_changed() ) and when gtk_flow_box_invalidate_sort()
is called.
Note that using a sort function is incompatible with using a model
(see gtk_flow_box_bind_model() ).
Parameters
box
a GtkFlowBox
sort_func
the sort function.
[allow-none ]
user_data
user data passed to sort_func
.
[closure ]
destroy
destroy notifier for user_data
gtk_flow_box_invalidate_sort ()
gtk_flow_box_invalidate_sort
void
gtk_flow_box_invalidate_sort (GtkFlowBox *box );
Updates the sorting for all children.
Call this when the result of the sort function on
box
is changed due to an external factor.
Parameters
box
a GtkFlowBox
GtkFlowBoxCreateWidgetFunc ()
GtkFlowBoxCreateWidgetFunc
GtkWidget *
( *GtkFlowBoxCreateWidgetFunc) (gpointer item ,
gpointer user_data );
Called for flow boxes that are bound to a GListModel with
gtk_flow_box_bind_model() for each item that gets added to the model.
Parameters
item
the item from the model for which to create a widget for.
[type GObject]
user_data
user data from gtk_flow_box_bind_model() .
[closure ]
Returns
a GtkWidget that represents item
.
[transfer full ]
gtk_flow_box_bind_model ()
gtk_flow_box_bind_model
void
gtk_flow_box_bind_model (GtkFlowBox *box ,
GListModel *model ,
GtkFlowBoxCreateWidgetFunc create_widget_func ,
gpointer user_data ,
GDestroyNotify user_data_free_func );
Binds model
to box
.
If box
was already bound to a model, that previous binding is
destroyed.
The contents of box
are cleared and then filled with widgets that
represent items from model
. box
is updated whenever model
changes.
If model
is NULL , box
is left empty.
It is undefined to add or remove widgets directly (for example, with
gtk_flow_box_insert() or gtk_container_add() ) while box
is bound to a
model.
Note that using a model is incompatible with the filtering and sorting
functionality in GtkFlowBox. When using a model, filtering and sorting
should be implemented by the model.
Parameters
box
a GtkFlowBox
model
the GListModel to be bound to box
.
[allow-none ]
create_widget_func
a function that creates widgets for items
user_data
user data passed to create_widget_func
.
[closure ]
user_data_free_func
function for freeing user_data
gtk_flow_box_child_new ()
gtk_flow_box_child_new
GtkWidget *
gtk_flow_box_child_new (void );
Creates a new GtkFlowBoxChild , to be used as a child
of a GtkFlowBox .
Returns
a new GtkFlowBoxChild
gtk_flow_box_child_get_index ()
gtk_flow_box_child_get_index
gint
gtk_flow_box_child_get_index (GtkFlowBoxChild *child );
Gets the current index of the child
in its GtkFlowBox container.
Parameters
child
a GtkFlowBoxChild
Returns
the index of the child
, or -1 if the child
is not
in a flow box.
gtk_flow_box_child_is_selected ()
gtk_flow_box_child_is_selected
gboolean
gtk_flow_box_child_is_selected (GtkFlowBoxChild *child );
Returns whether the child
is currently selected in its
GtkFlowBox container.
Parameters
child
a GtkFlowBoxChild
Returns
TRUE if child
is selected
gtk_flow_box_child_changed ()
gtk_flow_box_child_changed
void
gtk_flow_box_child_changed (GtkFlowBoxChild *child );
Marks child
as changed, causing any state that depends on this
to be updated. This affects sorting and filtering.
Note that calls to this method must be in sync with the data
used for the sorting and filtering functions. For instance, if
the list is mirroring some external data set, and *two* children
changed in the external data set when you call
gtk_flow_box_child_changed() on the first child, the sort function
must only read the new data for the first of the two changed
children, otherwise the resorting of the children will be wrong.
This generally means that if you don’t fully control the data
model, you have to duplicate the data that affects the sorting
and filtering functions into the widgets themselves. Another
alternative is to call gtk_flow_box_invalidate_sort() on any
model change, but that is more expensive.
Parameters
child
a GtkFlowBoxChild
Property Details
The “accept-unpaired-release” property
GtkFlowBox:accept-unpaired-release
“accept-unpaired-release” gboolean
Accept an unpaired release event. Owner: GtkFlowBox
Flags: Read / Write
Default value: FALSE
The “activate-on-single-click” property
GtkFlowBox:activate-on-single-click
“activate-on-single-click” gboolean
Determines whether children can be activated with a single
click, or require a double-click.
Owner: GtkFlowBox
Flags: Read / Write
Default value: TRUE
The “column-spacing” property
GtkFlowBox:column-spacing
“column-spacing” guint
The amount of horizontal space between two children.
Owner: GtkFlowBox
Flags: Read / Write
Default value: 0
The “homogeneous” property
GtkFlowBox:homogeneous
“homogeneous” gboolean
Determines whether all children should be allocated the
same size.
Owner: GtkFlowBox
Flags: Read / Write
Default value: FALSE
The “max-children-per-line” property
GtkFlowBox:max-children-per-line
“max-children-per-line” guint
The maximum amount of children to request space for consecutively
in the given orientation.
Owner: GtkFlowBox
Flags: Read / Write
Allowed values: >= 1
Default value: 7
The “min-children-per-line” property
GtkFlowBox:min-children-per-line
“min-children-per-line” guint
The minimum number of children to allocate consecutively
in the given orientation.
Setting the minimum children per line ensures
that a reasonably small height will be requested
for the overall minimum width of the box.
Owner: GtkFlowBox
Flags: Read / Write
Default value: 0
The “row-spacing” property
GtkFlowBox:row-spacing
“row-spacing” guint
The amount of vertical space between two children.
Owner: GtkFlowBox
Flags: Read / Write
Default value: 0
The “selection-mode” property
GtkFlowBox:selection-mode
“selection-mode” GtkSelectionMode
The selection mode used by the flow box.
Owner: GtkFlowBox
Flags: Read / Write
Default value: GTK_SELECTION_SINGLE
Signal Details
The “activate-cursor-child” signal
GtkFlowBox::activate-cursor-child
void
user_function (GtkFlowBox *box,
gpointer user_data)
The ::activate-cursor-child signal is a
keybinding signal
which gets emitted when the user activates the box
.
Parameters
box
the GtkFlowBox on which the signal is emitted
user_data
user data set when the signal handler was connected.
Flags: Action
The “child-activated” signal
GtkFlowBox::child-activated
void
user_function (GtkFlowBox *box,
GtkFlowBoxChild *child,
gpointer user_data)
The ::child-activated signal is emitted when a child has been
activated by the user.
Parameters
box
the GtkFlowBox on which the signal is emitted
child
the child that is activated
user_data
user data set when the signal handler was connected.
Flags: Run Last
The “move-cursor” signal
GtkFlowBox::move-cursor
gboolean
user_function (GtkFlowBox *box,
GtkMovementStep step,
gint count,
gpointer user_data)
The ::move-cursor signal is a
keybinding signal
which gets emitted when the user initiates a cursor movement.
Applications should not connect to it, but may emit it with
g_signal_emit_by_name() if they need to control the cursor
programmatically.
The default bindings for this signal come in two variants,
the variant with the Shift modifier extends the selection,
the variant without the Shift modifer does not.
There are too many key combinations to list them all here.
Arrow keys move by individual children
Home/End keys move to the ends of the box
PageUp/PageDown keys move vertically by pages
Parameters
box
the GtkFlowBox on which the signal is emitted
step
the granularity fo the move, as a GtkMovementStep
count
the number of step
units to move
user_data
user data set when the signal handler was connected.
Returns
TRUE to stop other handlers from being invoked for the event.
FALSE to propagate the event further.
Flags: Action
The “select-all” signal
GtkFlowBox::select-all
void
user_function (GtkFlowBox *box,
gpointer user_data)
The ::select-all signal is a
keybinding signal
which gets emitted to select all children of the box, if
the selection mode permits it.
The default bindings for this signal is Ctrl-a.
Parameters
box
the GtkFlowBox on which the signal is emitted
user_data
user data set when the signal handler was connected.
Flags: Action
The “selected-children-changed” signal
GtkFlowBox::selected-children-changed
void
user_function (GtkFlowBox *box,
gpointer user_data)
The ::selected-children-changed signal is emitted when the
set of selected children changes.
Use gtk_flow_box_selected_foreach() or
gtk_flow_box_get_selected_children() to obtain the
selected children.
Parameters
box
the GtkFlowBox on wich the signal is emitted
user_data
user data set when the signal handler was connected.
Flags: Run First
The “toggle-cursor-child” signal
GtkFlowBox::toggle-cursor-child
void
user_function (GtkFlowBox *box,
gpointer user_data)
The ::toggle-cursor-child signal is a
keybinding signal
which toggles the selection of the child that has the focus.
The default binding for this signal is Ctrl-Space.
Parameters
box
the GtkFlowBox on which the signal is emitted
user_data
user data set when the signal handler was connected.
Flags: Action
The “unselect-all” signal
GtkFlowBox::unselect-all
void
user_function (GtkFlowBox *box,
gpointer user_data)
The ::unselect-all signal is a
keybinding signal
which gets emitted to unselect all children of the box, if
the selection mode permits it.
The default bindings for this signal is Ctrl-Shift-a.
Parameters
box
the GtkFlowBox on which the signal is emitted
user_data
user data set when the signal handler was connected.
Flags: Action
The “activate” signal
GtkFlowBoxChild::activate
void
user_function (GtkFlowBoxChild *child,
gpointer user_data)
The ::activate signal is emitted when the user activates
a child widget in a GtkFlowBox , either by clicking or
double-clicking, or by using the Space or Enter key.
While this signal is used as a
keybinding signal,
it can be used by applications for their own purposes.
Parameters
child
The child on which the signal is emitted
user_data
user data set when the signal handler was connected.
Flags: Action
docs/reference/gtk/xml/object_index.sgml 0000664 0001750 0001750 00000040700 13617646205 020515 0 ustar mclasen mclasen
]>
AtkObject
GApplication
GBoxed
GInitiallyUnowned
GInterface
GMountOperation
GObject
GdkSnapshot
GtkAboutDialog
GtkAccelGroup
GtkAccelLabel
GtkAccelMap
GtkAccessible
GtkActionBar
GtkActionable
GtkAdjustment
GtkAppChooser
GtkAppChooserButton
GtkAppChooserDialog
GtkAppChooserWidget
GtkApplication
GtkApplicationWindow
GtkAspectFrame
GtkAssistant
GtkAssistantPage
GtkBin
GtkBinLayout
GtkBox
GtkBoxLayout
GtkBuildable
GtkBuilder
GtkButton
GtkCalendar
GtkCellArea
GtkCellAreaBox
GtkCellAreaContext
GtkCellEditable
GtkCellLayout
GtkCellRenderer
GtkCellRendererAccel
GtkCellRendererCombo
GtkCellRendererPixbuf
GtkCellRendererProgress
GtkCellRendererSpin
GtkCellRendererSpinner
GtkCellRendererText
GtkCellRendererToggle
GtkCellView
GtkCenterLayout
GtkCheckButton
GtkColorButton
GtkColorChooser
GtkColorChooserDialog
GtkColorChooserWidget
GtkComboBox
GtkComboBoxText
GtkConstraint
GtkConstraintGuide
GtkConstraintLayout
GtkConstraintLayoutChild
GtkConstraintTarget
GtkContainer
GtkCssProvider
GtkCssSection
GtkDialog
GtkDragIcon
GtkDragSource
GtkDrawingArea
GtkDropTarget
GtkEditable
GtkEmojiChooser
GtkEntry
GtkEntryBuffer
GtkEntryCompletion
GtkEventController
GtkEventControllerKey
GtkEventControllerLegacy
GtkEventControllerMotion
GtkEventControllerScroll
GtkExpander
GtkFileChooser
GtkFileChooserButton
GtkFileChooserDialog
GtkFileChooserWidget
GtkFileFilter
GtkFilterListModel
GtkFixed
GtkFixedLayout
GtkFixedLayoutChild
GtkFlattenListModel
GtkFlowBox
GtkFlowBoxChild
GtkFontButton
GtkFontChooser
GtkFontChooserDialog
GtkFontChooserWidget
GtkFrame
GtkGLArea
GtkGesture
GtkGestureClick
GtkGestureDrag
GtkGestureLongPress
GtkGesturePan
GtkGestureRotate
GtkGestureSingle
GtkGestureStylus
GtkGestureSwipe
GtkGestureZoom
GtkGrid
GtkGridLayout
GtkGridLayoutChild
GtkHeaderBar
GtkIMContext
GtkIMContextSimple
GtkIMMulticontext
GtkIconTheme
GtkIconView
GtkImage
GtkInfoBar
GtkLabel
GtkLayoutChild
GtkLayoutManager
GtkLevelBar
GtkLinkButton
GtkListBox
GtkListBoxRow
GtkListStore
GtkLockButton
GtkMapListModel
GtkMediaControls
GtkMediaFile
GtkMediaStream
GtkMenuButton
GtkMessageDialog
GtkMountOperation
GtkNative
GtkNoSelection
GtkNotebook
GtkNotebookPage
GtkOrientable
GtkOverlay
GtkPadController
GtkPageSetup
GtkPageSetupUnixDialog
GtkPaned
GtkPaperSize
GtkPasswordEntry
GtkPicture
GtkPopover
GtkPopoverMenu
GtkPopoverMenuBar
GtkPrintBackend
GtkPrintContext
GtkPrintJob
GtkPrintOperation
GtkPrintOperationPreview
GtkPrintSettings
GtkPrintUnixDialog
GtkPrinter
GtkProgressBar
GtkRadioButton
GtkRange
GtkRecentManager
GtkRevealer
GtkRoot
GtkScale
GtkScaleButton
GtkScrollable
GtkScrollbar
GtkScrolledWindow
GtkSearchBar
GtkSearchEntry
GtkSelectionModel
GtkSeparator
GtkSettings
GtkShortcutLabel
GtkShortcutsGroup
GtkShortcutsSection
GtkShortcutsShortcut
GtkShortcutsWindow
GtkSingleSelection
GtkSizeGroup
GtkSliceListModel
GtkSnapshot
GtkSortListModel
GtkSpinButton
GtkSpinner
GtkStack
GtkStackPage
GtkStackSidebar
GtkStackSwitcher
GtkStatusbar
GtkStyleContext
GtkStyleProvider
GtkSwitch
GtkText
GtkTextBuffer
GtkTextChildAnchor
GtkTextIter
GtkTextMark
GtkTextTag
GtkTextTagTable
GtkTextView
GtkToggleButton
GtkTooltip
GtkTreeDragDest
GtkTreeDragSource
GtkTreeIter
GtkTreeListModel
GtkTreeListRow
GtkTreeModel
GtkTreeModelFilter
GtkTreeModelSort
GtkTreePath
GtkTreeSelection
GtkTreeSortable
GtkTreeStore
GtkTreeView
GtkTreeViewColumn
GtkVideo
GtkViewport
GtkVolumeButton
GtkWidget
GtkWindow
GtkWindowGroup
docs/reference/gtk/xml/gtkpopover.xml 0000664 0001750 0001750 00000112337 13617646205 020124 0 ustar mclasen mclasen
]>
GtkPopover
3
GTK4 Library
GtkPopover
Context dependent bubbles
Functions
GtkWidget *
gtk_popover_new ()
void
gtk_popover_popup ()
void
gtk_popover_popdown ()
void
gtk_popover_set_relative_to ()
GtkWidget *
gtk_popover_get_relative_to ()
void
gtk_popover_set_pointing_to ()
gboolean
gtk_popover_get_pointing_to ()
void
gtk_popover_set_position ()
GtkPositionType
gtk_popover_get_position ()
void
gtk_popover_set_autohide ()
gboolean
gtk_popover_get_autohide ()
void
gtk_popover_set_has_arrow ()
gboolean
gtk_popover_get_has_arrow ()
void
gtk_popover_set_default_widget ()
Properties
gboolean autohideRead / Write
GtkWidget * default-widgetRead / Write
gboolean has-arrowRead / Write
GdkRectangle * pointing-toRead / Write
GtkPositionType positionRead / Write
GtkWidget * relative-toRead / Write
Signals
void activate-default Action
void closed Run Last
Types and Values
struct GtkPopover
Object Hierarchy
GObject
╰── GInitiallyUnowned
╰── GtkWidget
╰── GtkContainer
╰── GtkBin
╰── GtkPopover
├── GtkEmojiChooser
╰── GtkPopoverMenu
Implemented Interfaces
GtkPopover implements
AtkImplementorIface, GtkBuildable, GtkConstraintTarget and GtkNative.
Includes #include <gtk/gtk.h>
Description
GtkPopover is a bubble-like context window, primarily meant to
provide context-dependent information or options. Popovers are
attached to a widget, passed at construction time on gtk_popover_new() ,
or updated afterwards through gtk_popover_set_relative_to() , by
default they will point to the whole widget area, although this
behavior can be changed through gtk_popover_set_pointing_to() .
The position of a popover relative to the widget it is attached to
can also be changed through gtk_popover_set_position() .
By default, GtkPopover performs a grab, in order to ensure input events
get redirected to it while it is shown, and also so the popover is dismissed
in the expected situations (clicks outside the popover, or the Escape key
being pressed). If no such modal behavior is desired on a popover,
gtk_popover_set_autohide() may be called on it to tweak its behavior.
GtkPopover as menu replacement GtkPopover is often used to replace menus. The best was to do this
is to use the GtkPopoverMenu subclass which supports being populated
from a GMenuModel with gtk_popover_menu_new_from_model() .
horizontal-buttons
-
Cut
app.cut
edit-cut-symbolic
-
Copy
app.copy
edit-copy-symbolic
-
Paste
app.paste
edit-paste-symbolic
]]>
CSS nodes
]]>
The contents child node always gets the .background style class and
the popover itself gets the .menu style class if the popover is
menu-like (i.e. GtkPopoverMenu ).
Particular uses of GtkPopover, such as touch selection popups or magnifiers
in GtkEntry or GtkTextView get style classes like .touch-selection or .magnifier
to differentiate from plain popovers.
When styling a popover directly, the popover node should usually
not have any background.
Note that, in order to accomplish appropriate arrow visuals, GtkPopover uses
custom drawing for the arrow node. This makes it possible for the arrow to
change its shape dynamically, but it also limits the possibilities of styling
it using CSS. In particular, the arrow gets drawn over the content node's
border so they look like one shape, which means that the border-width of
the content node and the arrow node should be the same. The arrow also does
not support any border shape other than solid, no border-radius, only one
border width (border-bottom-width is used) and no box-shadow.
Functions
gtk_popover_new ()
gtk_popover_new
GtkWidget *
gtk_popover_new (GtkWidget *relative_to );
gtk_popover_popdown ()
gtk_popover_popdown
void
gtk_popover_popdown (GtkPopover *popover );
Pops popover
down.This is different than a gtk_widget_hide() call
in that it shows the popover with a transition. If you want to hide
the popover without a transition, use gtk_widget_hide() .
Parameters
popover
a GtkPopover
gtk_popover_set_relative_to ()
gtk_popover_set_relative_to
void
gtk_popover_set_relative_to (GtkPopover *popover ,
GtkWidget *relative_to );
Sets a new widget to be attached to popover
. If popover
is
visible, the position will be updated.
Note: the ownership of popovers is always given to their relative_to
widget, so if relative_to
is set to NULL on an attached popover
, it
will be detached from its previous widget, and consequently destroyed
unless extra references are kept.
Parameters
popover
a GtkPopover
relative_to
a GtkWidget .
[allow-none ]
gtk_popover_get_relative_to ()
gtk_popover_get_relative_to
GtkWidget *
gtk_popover_get_relative_to (GtkPopover *popover );
Returns the widget popover
is currently attached to
Parameters
popover
a GtkPopover
Returns
a GtkWidget .
[transfer none ]
gtk_popover_set_pointing_to ()
gtk_popover_set_pointing_to
void
gtk_popover_set_pointing_to (GtkPopover *popover ,
const GdkRectangle *rect );
Sets the rectangle that popover
will point to, in the
coordinate space of the widget popover
is attached to,
see gtk_popover_set_relative_to() .
Parameters
popover
a GtkPopover
rect
rectangle to point to
gtk_popover_get_pointing_to ()
gtk_popover_get_pointing_to
gboolean
gtk_popover_get_pointing_to (GtkPopover *popover ,
GdkRectangle *rect );
If a rectangle to point to has been set, this function will
return TRUE and fill in rect
with such rectangle, otherwise
it will return FALSE and fill in rect
with the attached
widget coordinates.
Parameters
popover
a GtkPopover
rect
location to store the rectangle.
[out ]
Returns
TRUE if a rectangle to point to was set.
gtk_popover_set_position ()
gtk_popover_set_position
void
gtk_popover_set_position (GtkPopover *popover ,
GtkPositionType position );
Sets the preferred position for popover
to appear. If the popover
is currently visible, it will be immediately updated.
This preference will be respected where possible, although
on lack of space (eg. if close to the window edges), the
GtkPopover may choose to appear on the opposite side
Parameters
popover
a GtkPopover
position
preferred popover position
gtk_popover_get_position ()
gtk_popover_get_position
GtkPositionType
gtk_popover_get_position (GtkPopover *popover );
Returns the preferred position of popover
.
Parameters
popover
a GtkPopover
Returns
The preferred position.
gtk_popover_set_autohide ()
gtk_popover_set_autohide
void
gtk_popover_set_autohide (GtkPopover *popover ,
gboolean autohide );
Sets whether popover
is modal.
A modal popover will grab the keyboard focus on it when being
displayed. Clicking outside the popover area or pressing Esc will
dismiss the popover.
Parameters
popover
a GtkPopover
autohide
TRUE to dismiss the popover on outside clicks
gtk_popover_get_autohide ()
gtk_popover_get_autohide
gboolean
gtk_popover_get_autohide (GtkPopover *popover );
Returns whether the popover is modal.
See gtk_popover_set_autohide() for the
implications of this.
Parameters
popover
a GtkPopover
Returns
TRUE if popover
is modal
gtk_popover_set_has_arrow ()
gtk_popover_set_has_arrow
void
gtk_popover_set_has_arrow (GtkPopover *popover ,
gboolean has_arrow );
Sets whether this popover should draw an arrow
pointing at the widget it is relative to.
Parameters
popover
a GtkPopover
has_arrow
TRUE to draw an arrow
gtk_popover_get_has_arrow ()
gtk_popover_get_has_arrow
gboolean
gtk_popover_get_has_arrow (GtkPopover *popover );
Gets whether this popover is showing an arrow
pointing at the widget that it is relative to.
Parameters
popover
a GtkPopover
Returns
whether the popover has an arrow
gtk_popover_set_default_widget ()
gtk_popover_set_default_widget
void
gtk_popover_set_default_widget (GtkPopover *popover ,
GtkWidget *widget );
Property Details
The “autohide” property
GtkPopover:autohide
“autohide” gboolean
Whether to dismiss the popover on outside clicks. Owner: GtkPopover
Flags: Read / Write
Default value: TRUE
The “default-widget” property
GtkPopover:default-widget
“default-widget” GtkWidget *
The default widget. Owner: GtkPopover
Flags: Read / Write
The “has-arrow” property
GtkPopover:has-arrow
“has-arrow” gboolean
Whether to draw an arrow. Owner: GtkPopover
Flags: Read / Write
Default value: TRUE
The “pointing-to” property
GtkPopover:pointing-to
“pointing-to” GdkRectangle *
Rectangle the bubble window points to. Owner: GtkPopover
Flags: Read / Write
The “position” property
GtkPopover:position
“position” GtkPositionType
Position to place the bubble window. Owner: GtkPopover
Flags: Read / Write
Default value: GTK_POS_BOTTOM
The “relative-to” property
GtkPopover:relative-to
“relative-to” GtkWidget *
Widget the bubble window points to. Owner: GtkPopover
Flags: Read / Write
Signal Details
The “activate-default” signal
GtkPopover::activate-default
void
user_function (GtkPopover *popover,
gpointer user_data)
Flags: Action
The “closed” signal
GtkPopover::closed
void
user_function (GtkPopover *popover,
gpointer user_data)
Flags: Run Last
docs/reference/gtk/xml/gtklayoutmanager.xml 0000664 0001750 0001750 00000054155 13617646205 021305 0 ustar mclasen mclasen
]>
GtkLayoutManager
3
GTK4 Library
GtkLayoutManager
Base class for layout manager
Functions
void
gtk_layout_manager_measure ()
void
gtk_layout_manager_allocate ()
GtkSizeRequestMode
gtk_layout_manager_get_request_mode ()
GtkWidget *
gtk_layout_manager_get_widget ()
GtkLayoutChild *
gtk_layout_manager_get_layout_child ()
void
gtk_layout_manager_layout_changed ()
Types and Values
GtkLayoutManager
struct GtkLayoutManagerClass
Object Hierarchy
GObject
╰── GtkLayoutManager
├── GtkBinLayout
├── GtkBoxLayout
├── GtkConstraintLayout
├── GtkFixedLayout
├── GtkGridLayout
╰── GtkCenterLayout
Includes #include <gtk/gtk.h>
Description
Layout managers are delegate classes that handle the preferred size
and the allocation of a container widget.
You typically subclass GtkLayoutManager if you want to implement a
layout policy for the children of a widget, or if you want to determine
the size of a widget depending on its contents.
Each GtkWidget can only have a GtkLayoutManager instance associated to it
at any given time; it is possible, though, to replace the layout manager
instance using gtk_widget_set_layout_manager() .
Layout properties A layout manager can expose properties for controlling the layout of
each child, by creating an object type derived from GtkLayoutChild
and installing the properties on it as normal GObject properties.
Each GtkLayoutChild instance storing the layout properties for a
specific child is created through the gtk_layout_manager_get_layout_child()
method; a GtkLayoutManager controls the creation of its GtkLayoutChild
instances by overriding the GtkLayoutManagerClass.create_layout_child()
virtual function. The typical implementation should look like:
The “layout-manager” and “child-widget” properties
on the newly created GtkLayoutChild instance are mandatory. The
GtkLayoutManager will cache the newly created GtkLayoutChild instance until
the widget is removed from its parent, or the parent removes the layout
manager.
Each GtkLayoutManager instance creating a GtkLayoutChild should use
gtk_layout_manager_get_layout_child() every time it needs to query the
layout properties; each GtkLayoutChild instance should call
gtk_layout_manager_layout_changed() every time a property is updated, in
order to queue a new size measuring and allocation.
Functions
gtk_layout_manager_measure ()
gtk_layout_manager_measure
void
gtk_layout_manager_measure (GtkLayoutManager *manager ,
GtkWidget *widget ,
GtkOrientation orientation ,
int for_size ,
int *minimum ,
int *natural ,
int *minimum_baseline ,
int *natural_baseline );
Measures the size of the widget
using manager
, for the
given orientation
and size.
See GtkWidget's geometry management section for
more details.
Parameters
manager
a GtkLayoutManager
widget
the GtkWidget using manager
orientation
the orientation to measure
for_size
Size for the opposite of orientation
; for instance, if
the orientation
is GTK_ORIENTATION_HORIZONTAL , this is the height
of the widget; if the orientation
is GTK_ORIENTATION_VERTICAL , this
is the width of the widget. This allows to measure the height for the
given width, and the width for the given height. Use -1 if the size
is not known
minimum
the minimum size for the given size and
orientation.
[out ][optional ]
natural
the natural, or preferred size for the
given size and orientation.
[out ][optional ]
minimum_baseline
the baseline position for the
minimum size.
[out ][optional ]
natural_baseline
the baseline position for the
natural size.
[out ][optional ]
gtk_layout_manager_allocate ()
gtk_layout_manager_allocate
void
gtk_layout_manager_allocate (GtkLayoutManager *manager ,
GtkWidget *widget ,
int width ,
int height ,
int baseline );
This function assigns the given width
, height
, and baseline
to
a widget
, and computes the position and sizes of the children of
the widget
using the layout management policy of manager
.
Parameters
manager
a GtkLayoutManager
widget
the GtkWidget using manager
width
the new width of the widget
height
the new height of the widget
baseline
the baseline position of the widget
, or -1
gtk_layout_manager_get_request_mode ()
gtk_layout_manager_get_request_mode
GtkSizeRequestMode
gtk_layout_manager_get_request_mode (GtkLayoutManager *manager );
Retrieves the request mode of manager
.
Parameters
manager
a GtkLayoutManager
Returns
a GtkSizeRequestMode
gtk_layout_manager_get_widget ()
gtk_layout_manager_get_widget
GtkWidget *
gtk_layout_manager_get_widget (GtkLayoutManager *manager );
Retrieves the GtkWidget using the given GtkLayoutManager .
Parameters
manager
a GtkLayoutManager
Returns
a GtkWidget .
[transfer none ][nullable ]
gtk_layout_manager_get_layout_child ()
gtk_layout_manager_get_layout_child
GtkLayoutChild *
gtk_layout_manager_get_layout_child (GtkLayoutManager *manager ,
GtkWidget *child );
Retrieves a GtkLayoutChild instance for the GtkLayoutManager , creating
one if necessary.
The child
widget must be a child of the widget using manager
.
The GtkLayoutChild instance is owned by the GtkLayoutManager , and is
guaranteed to exist as long as child
is a child of the GtkWidget using
the given GtkLayoutManager .
Parameters
manager
a GtkLayoutManager
child
a GtkWidget
Returns
a GtkLayoutChild .
[transfer none ]
gtk_layout_manager_layout_changed ()
gtk_layout_manager_layout_changed
void
gtk_layout_manager_layout_changed (GtkLayoutManager *manager );
Queues a resize on the GtkWidget using manager
, if any.
This function should be called by subclasses of GtkLayoutManager in
response to changes to their layout management policies.
Parameters
manager
a GtkLayoutManager
docs/reference/gtk/xml/gtkpopovermenu.xml 0000664 0001750 0001750 00000030254 13617646205 021006 0 ustar mclasen mclasen
]>
docs/reference/gtk/xml/gtklayoutchild.xml 0000664 0001750 0001750 00000022310 13617646205 020742 0 ustar mclasen mclasen
]>
GtkLayoutChild
3
GTK4 Library
GtkLayoutChild
An object containing layout properties
Functions
GtkLayoutManager *
gtk_layout_child_get_layout_manager ()
GtkWidget *
gtk_layout_child_get_child_widget ()
Properties
GtkWidget * child-widgetRead / Write / Construct Only
GtkLayoutManager * layout-managerRead / Write / Construct Only
Types and Values
GtkLayoutChild
struct GtkLayoutChildClass
Object Hierarchy
GObject
╰── GtkLayoutChild
├── GtkGridLayoutChild
├── GtkConstraintLayoutChild
╰── GtkFixedLayoutChild
Includes #include <gtk/gtk.h>
Description
GtkLayoutChild is the base class for objects that are meant to hold
layout properties. If a GtkLayoutManager has per-child properties,
like their packing type, or the horizontal and vertical span, or the
icon name, then the layout manager should use a GtkLayoutChild
implementation to store those properties.
A GtkLayoutChild instance is only ever valid while a widget is part
of a layout.
Functions
gtk_layout_child_get_layout_manager ()
gtk_layout_child_get_layout_manager
GtkLayoutManager *
gtk_layout_child_get_layout_manager (GtkLayoutChild *layout_child );
Retrieves the GtkLayoutManager instance that created the
given layout_child
.
Parameters
layout_child
a GtkLayoutChild
Returns
a GtkLayoutManager .
[transfer none ]
gtk_layout_child_get_child_widget ()
gtk_layout_child_get_child_widget
GtkWidget *
gtk_layout_child_get_child_widget (GtkLayoutChild *layout_child );
Retrieves the GtkWidget associated to the given layout_child
.
Parameters
layout_child
a GtkLayoutChild
Returns
a GtkWidget .
[transfer none ]
Property Details
The “child-widget” property
GtkLayoutChild:child-widget
“child-widget” GtkWidget *
The widget that is associated to the GtkLayoutChild instance.
Owner: GtkLayoutChild
Flags: Read / Write / Construct Only
The “layout-manager” property
GtkLayoutChild:layout-manager
“layout-manager” GtkLayoutManager *
The layout manager that created the GtkLayoutChild instance.
Owner: GtkLayoutChild
Flags: Read / Write / Construct Only
docs/reference/gtk/xml/gtkpopovermenubar.xml 0000664 0001750 0001750 00000025364 13617646205 021501 0 ustar mclasen mclasen
]>
docs/reference/gtk/xml/gtkboxlayout.xml 0000664 0001750 0001750 00000044664 13617646205 020467 0 ustar mclasen mclasen
]>
GtkBoxLayout
3
GTK4 Library
GtkBoxLayout
Layout manager for placing all children in a single row or column
Functions
GtkLayoutManager *
gtk_box_layout_new ()
void
gtk_box_layout_set_homogeneous ()
gboolean
gtk_box_layout_get_homogeneous ()
void
gtk_box_layout_set_spacing ()
guint
gtk_box_layout_get_spacing ()
void
gtk_box_layout_set_baseline_position ()
GtkBaselinePosition
gtk_box_layout_get_baseline_position ()
Properties
GtkBaselinePosition baseline-positionRead / Write
gboolean homogeneousRead / Write
gint spacingRead / Write
Types and Values
GtkBoxLayout
Object Hierarchy
GObject
╰── GtkLayoutManager
╰── GtkBoxLayout
Implemented Interfaces
GtkBoxLayout implements
GtkOrientable.
Includes #include <gtk/gtk.h>
Description
A GtkBoxLayout is a layout manager that arranges the children of any
widget using it into a single row or column, depending on the value
of its “orientation” property. Within the other dimension
all children all allocated the same size. The GtkBoxLayout will respect
the “halign” and “valign” properties of each child
widget.
If you want all children to be assigned the same size, you can use
the “homogeneous” property.
If you want to specify the amount of space placed between each child,
you can use the “spacing” property.
Functions
gtk_box_layout_new ()
gtk_box_layout_new
GtkLayoutManager *
gtk_box_layout_new (GtkOrientation orientation );
Creates a new box layout.
Parameters
orientation
the orientation for the new layout
Returns
a new box layout
gtk_box_layout_set_homogeneous ()
gtk_box_layout_set_homogeneous
void
gtk_box_layout_set_homogeneous (GtkBoxLayout *box_layout ,
gboolean homogeneous );
Sets whether the box layout will allocate the same
size to all children.
Parameters
box_layout
a GtkBoxLayout
homogeneous
TRUE to set the box layout as homogeneous
gtk_box_layout_get_homogeneous ()
gtk_box_layout_get_homogeneous
gboolean
gtk_box_layout_get_homogeneous (GtkBoxLayout *box_layout );
Returns whether the layout is set to be homogeneous.
Return: TRUE if the layout is homogeneous
Parameters
box_layout
a GtkBoxLayout
gtk_box_layout_set_spacing ()
gtk_box_layout_set_spacing
void
gtk_box_layout_set_spacing (GtkBoxLayout *box_layout ,
guint spacing );
Sets how much spacing to put between children.
Parameters
box_layout
a GtkBoxLayout
spacing
the spacing to apply between children
gtk_box_layout_get_spacing ()
gtk_box_layout_get_spacing
guint
gtk_box_layout_get_spacing (GtkBoxLayout *box_layout );
Returns the space that box_layout
puts between children.
Parameters
box_layout
a GtkBoxLayout
Returns
the spacing of the layout
gtk_box_layout_set_baseline_position ()
gtk_box_layout_set_baseline_position
void
gtk_box_layout_set_baseline_position (GtkBoxLayout *box_layout ,
GtkBaselinePosition position );
Sets the baseline position of a box layout.
The baseline position affects only horizontal boxes with at least one
baseline aligned child. If there is more vertical space available than
requested, and the baseline is not allocated by the parent then the
given position
is used to allocate the baseline within the extra
space available.
Parameters
box_layout
a GtkBoxLayout
position
a GtkBaselinePosition
gtk_box_layout_get_baseline_position ()
gtk_box_layout_get_baseline_position
GtkBaselinePosition
gtk_box_layout_get_baseline_position (GtkBoxLayout *box_layout );
Gets the value set by gtk_box_layout_set_baseline_position() .
Parameters
box_layout
a GtkBoxLayout
Returns
the baseline position
Property Details
The “baseline-position” property
GtkBoxLayout:baseline-position
“baseline-position” GtkBaselinePosition
The position of the allocated baseline within the extra space
allocated to each child of the widget using a box layout
manager.
This property is only relevant for horizontal layouts containing
at least one child with a baseline alignment.
Owner: GtkBoxLayout
Flags: Read / Write
Default value: GTK_BASELINE_POSITION_CENTER
The “homogeneous” property
GtkBoxLayout:homogeneous
“homogeneous” gboolean
Whether the box layout should distribute the available space
homogeneously among the children of the widget using it as a
layout manager.
Owner: GtkBoxLayout
Flags: Read / Write
Default value: FALSE
The “spacing” property
GtkBoxLayout:spacing
“spacing” gint
The space between each child of the widget using the box
layout as its layout manager.
Owner: GtkBoxLayout
Flags: Read / Write
Allowed values: >= 0
Default value: 0
docs/reference/gtk/xml/gtkeventcontroller.xml 0000664 0001750 0001750 00000045753 13617646205 021666 0 ustar mclasen mclasen
]>
GtkEventController
3
GTK4 Library
GtkEventController
Self-contained handler of series of events
Functions
GtkPropagationPhase
gtk_event_controller_get_propagation_phase ()
void
gtk_event_controller_set_propagation_phase ()
GtkPropagationLimit
gtk_event_controller_get_propagation_limit ()
void
gtk_event_controller_set_propagation_limit ()
gboolean
gtk_event_controller_handle_event ()
GtkWidget *
gtk_event_controller_get_widget ()
void
gtk_event_controller_reset ()
Properties
gchar * nameRead / Write
GtkPropagationLimit propagation-limitRead / Write
GtkPropagationPhase propagation-phaseRead / Write
GtkWidget * widgetRead
Types and Values
GtkEventController
enum GtkPropagationPhase
enum GtkPropagationLimit
Object Hierarchy
GObject
╰── GtkEventController
├── GtkGesture
├── GtkDropTarget
├── GtkEventControllerKey
├── GtkEventControllerLegacy
├── GtkEventControllerMotion
├── GtkEventControllerScroll
╰── GtkPadController
Includes #include <gtk/gtk.h>
Description
GtkEventController is a base, low-level implementation for event
controllers. Those react to a series of GdkEvents , and possibly trigger
actions as a consequence of those.
Functions
gtk_event_controller_get_propagation_phase ()
gtk_event_controller_get_propagation_phase
GtkPropagationPhase
gtk_event_controller_get_propagation_phase
(GtkEventController *controller );
Gets the propagation phase at which controller
handles events.
Parameters
controller
a GtkEventController
Returns
the propagation phase
gtk_event_controller_set_propagation_phase ()
gtk_event_controller_set_propagation_phase
void
gtk_event_controller_set_propagation_phase
(GtkEventController *controller ,
GtkPropagationPhase phase );
Sets the propagation phase at which a controller handles events.
If phase
is GTK_PHASE_NONE , no automatic event handling will be
performed, but other additional gesture maintenance will. In that phase,
the events can be managed by calling gtk_event_controller_handle_event() .
Parameters
controller
a GtkEventController
phase
a propagation phase
gtk_event_controller_get_propagation_limit ()
gtk_event_controller_get_propagation_limit
GtkPropagationLimit
gtk_event_controller_get_propagation_limit
(GtkEventController *controller );
gtk_event_controller_set_propagation_limit ()
gtk_event_controller_set_propagation_limit
void
gtk_event_controller_set_propagation_limit
(GtkEventController *controller ,
GtkPropagationLimit limit );
gtk_event_controller_handle_event ()
gtk_event_controller_handle_event
gboolean
gtk_event_controller_handle_event (GtkEventController *controller ,
const GdkEvent *event );
Feeds an event into controller
, so it can be interpreted
and the controller actions triggered.
Parameters
controller
a GtkEventController
event
a GdkEvent
Returns
TRUE if the event was potentially useful to trigger the
controller action
gtk_event_controller_get_widget ()
gtk_event_controller_get_widget
GtkWidget *
gtk_event_controller_get_widget (GtkEventController *controller );
Returns the GtkWidget this controller relates to.
Parameters
controller
a GtkEventController
Returns
a GtkWidget .
[transfer none ]
gtk_event_controller_reset ()
gtk_event_controller_reset
void
gtk_event_controller_reset (GtkEventController *controller );
Resets the controller
to a clean state. Every interaction
the controller did through gtk_event_controll_handle_event()
will be dropped at this point.
Parameters
controller
a GtkEventController
Property Details
The “name” property
GtkEventController:name
“name” gchar *
Name for this controller. Owner: GtkEventController
Flags: Read / Write
Default value: NULL
The “propagation-limit” property
GtkEventController:propagation-limit
“propagation-limit” GtkPropagationLimit
The limit for which events this controller will handle.
Owner: GtkEventController
Flags: Read / Write
Default value: GTK_LIMIT_SAME_NATIVE
The “propagation-phase” property
GtkEventController:propagation-phase
“propagation-phase” GtkPropagationPhase
The propagation phase at which this controller will handle events.
Owner: GtkEventController
Flags: Read / Write
Default value: GTK_PHASE_BUBBLE
The “widget” property
GtkEventController:widget
“widget” GtkWidget *
The widget receiving the GdkEvents that the controller will handle.
Owner: GtkEventController
Flags: Read
See Also
GtkGesture
docs/reference/gtk/xml/api-index-full.xml 0000664 0001750 0001750 00004330570 13620320501 020525 0 ustar mclasen mclasen
]>
A
GtkAboutDialog, struct in GtkAboutDialog
GtkAboutDialog::activate-link, object signal in GtkAboutDialog
GtkAboutDialog:artists, object property in GtkAboutDialog
GtkAboutDialog:authors, object property in GtkAboutDialog
GtkAboutDialog:comments, object property in GtkAboutDialog
GtkAboutDialog:copyright, object property in GtkAboutDialog
GtkAboutDialog:documenters, object property in GtkAboutDialog
GtkAboutDialog:license, object property in GtkAboutDialog
GtkAboutDialog:license-type, object property in GtkAboutDialog
GtkAboutDialog:logo, object property in GtkAboutDialog
GtkAboutDialog:logo-icon-name, object property in GtkAboutDialog
GtkAboutDialog:program-name, object property in GtkAboutDialog
GtkAboutDialog:system-information, object property in GtkAboutDialog
GtkAboutDialog:translator-credits, object property in GtkAboutDialog
GtkAboutDialog:version, object property in GtkAboutDialog
GtkAboutDialog:website, object property in GtkAboutDialog
GtkAboutDialog:website-label, object property in GtkAboutDialog
GtkAboutDialog:wrap-license, object property in GtkAboutDialog
gtk_about_dialog_add_credit_section, function in GtkAboutDialog
gtk_about_dialog_get_artists, function in GtkAboutDialog
gtk_about_dialog_get_authors, function in GtkAboutDialog
gtk_about_dialog_get_comments, function in GtkAboutDialog
gtk_about_dialog_get_copyright, function in GtkAboutDialog
gtk_about_dialog_get_documenters, function in GtkAboutDialog
gtk_about_dialog_get_license, function in GtkAboutDialog
gtk_about_dialog_get_license_type, function in GtkAboutDialog
gtk_about_dialog_get_logo, function in GtkAboutDialog
gtk_about_dialog_get_logo_icon_name, function in GtkAboutDialog
gtk_about_dialog_get_program_name, function in GtkAboutDialog
gtk_about_dialog_get_system_information, function in GtkAboutDialog
gtk_about_dialog_get_translator_credits, function in GtkAboutDialog
gtk_about_dialog_get_version, function in GtkAboutDialog
gtk_about_dialog_get_website, function in GtkAboutDialog
gtk_about_dialog_get_website_label, function in GtkAboutDialog
gtk_about_dialog_get_wrap_license, function in GtkAboutDialog
gtk_about_dialog_new, function in GtkAboutDialog
gtk_about_dialog_set_artists, function in GtkAboutDialog
gtk_about_dialog_set_authors, function in GtkAboutDialog
gtk_about_dialog_set_comments, function in GtkAboutDialog
gtk_about_dialog_set_copyright, function in GtkAboutDialog
gtk_about_dialog_set_documenters, function in GtkAboutDialog
gtk_about_dialog_set_license, function in GtkAboutDialog
gtk_about_dialog_set_license_type, function in GtkAboutDialog
gtk_about_dialog_set_logo, function in GtkAboutDialog
gtk_about_dialog_set_logo_icon_name, function in GtkAboutDialog
gtk_about_dialog_set_program_name, function in GtkAboutDialog
gtk_about_dialog_set_system_information, function in GtkAboutDialog
gtk_about_dialog_set_translator_credits, function in GtkAboutDialog
gtk_about_dialog_set_version, function in GtkAboutDialog
gtk_about_dialog_set_website, function in GtkAboutDialog
gtk_about_dialog_set_website_label, function in GtkAboutDialog
gtk_about_dialog_set_wrap_license, function in GtkAboutDialog
gtk_accelerator_get_default_mod_mask, function in Keyboard Accelerators
gtk_accelerator_get_label, function in Keyboard Accelerators
gtk_accelerator_get_label_with_keycode, function in Keyboard Accelerators
gtk_accelerator_name, function in Keyboard Accelerators
gtk_accelerator_name_with_keycode, function in Keyboard Accelerators
gtk_accelerator_parse, function in Keyboard Accelerators
gtk_accelerator_parse_with_keycode, function in Keyboard Accelerators
gtk_accelerator_set_default_mod_mask, function in Keyboard Accelerators
gtk_accelerator_valid, function in Keyboard Accelerators
GtkAccelFlags, enum in Keyboard Accelerators
GtkAccelGroup, struct in Keyboard Accelerators
GtkAccelGroup::accel-activate, object signal in Keyboard Accelerators
GtkAccelGroup::accel-changed, object signal in Keyboard Accelerators
GtkAccelGroup:is-locked, object property in Keyboard Accelerators
GtkAccelGroup:modifier-mask, object property in Keyboard Accelerators
GtkAccelGroupActivate, user_function in Keyboard Accelerators
GtkAccelGroupClass, struct in Keyboard Accelerators
GtkAccelGroupFindFunc, user_function in Keyboard Accelerators
GtkAccelKey, struct in Keyboard Accelerators
GtkAccelLabel, struct in GtkAccelLabel
GtkAccelLabel:accel-closure, object property in GtkAccelLabel
GtkAccelLabel:accel-widget, object property in GtkAccelLabel
GtkAccelLabel:label, object property in GtkAccelLabel
GtkAccelLabel:use-underline, object property in GtkAccelLabel
GtkAccelMap, struct in Accelerator Maps
GtkAccelMap::changed, object signal in Accelerator Maps
GtkAccelMapForeach, user_function in Accelerator Maps
gtk_accel_groups_activate, function in Keyboard Accelerators
gtk_accel_groups_from_object, function in Keyboard Accelerators
gtk_accel_group_activate, function in Keyboard Accelerators
gtk_accel_group_connect, function in Keyboard Accelerators
gtk_accel_group_connect_by_path, function in Keyboard Accelerators
gtk_accel_group_disconnect, function in Keyboard Accelerators
gtk_accel_group_disconnect_key, function in Keyboard Accelerators
gtk_accel_group_find, function in Keyboard Accelerators
gtk_accel_group_from_accel_closure, function in Keyboard Accelerators
gtk_accel_group_get_is_locked, function in Keyboard Accelerators
gtk_accel_group_get_modifier_mask, function in Keyboard Accelerators
gtk_accel_group_lock, function in Keyboard Accelerators
gtk_accel_group_new, function in Keyboard Accelerators
gtk_accel_group_unlock, function in Keyboard Accelerators
gtk_accel_label_get_accel, function in GtkAccelLabel
gtk_accel_label_get_accel_closure, function in GtkAccelLabel
gtk_accel_label_get_accel_widget, function in GtkAccelLabel
gtk_accel_label_get_accel_width, function in GtkAccelLabel
gtk_accel_label_get_label, function in GtkAccelLabel
gtk_accel_label_new, function in GtkAccelLabel
gtk_accel_label_refetch, function in GtkAccelLabel
gtk_accel_label_set_accel, function in GtkAccelLabel
gtk_accel_label_set_accel_closure, function in GtkAccelLabel
gtk_accel_label_set_accel_widget, function in GtkAccelLabel
gtk_accel_label_set_label, function in GtkAccelLabel
gtk_accel_map_add_entry, function in Accelerator Maps
gtk_accel_map_add_filter, function in Accelerator Maps
gtk_accel_map_change_entry, function in Accelerator Maps
gtk_accel_map_foreach, function in Accelerator Maps
gtk_accel_map_foreach_unfiltered, function in Accelerator Maps
gtk_accel_map_get, function in Accelerator Maps
gtk_accel_map_load, function in Accelerator Maps
gtk_accel_map_load_fd, function in Accelerator Maps
gtk_accel_map_load_scanner, function in Accelerator Maps
gtk_accel_map_lock_path, function in Accelerator Maps
gtk_accel_map_lookup_entry, function in Accelerator Maps
gtk_accel_map_save, function in Accelerator Maps
gtk_accel_map_save_fd, function in Accelerator Maps
gtk_accel_map_unlock_path, function in Accelerator Maps
GtkAccessible, struct in GtkAccessible
GtkAccessible:widget, object property in GtkAccessible
gtk_accessible_get_widget, function in GtkAccessible
gtk_accessible_set_widget, function in GtkAccessible
GtkActionable, struct in GtkActionable
GtkActionable:action-name, object property in GtkActionable
GtkActionable:action-target, object property in GtkActionable
GtkActionableInterface, struct in GtkActionable
gtk_actionable_get_action_name, function in GtkActionable
gtk_actionable_get_action_target_value, function in GtkActionable
gtk_actionable_set_action_name, function in GtkActionable
gtk_actionable_set_action_target, function in GtkActionable
gtk_actionable_set_action_target_value, function in GtkActionable
gtk_actionable_set_detailed_action_name, function in GtkActionable
GtkActionBar, struct in GtkActionBar
GtkActionBar:revealed, object property in GtkActionBar
gtk_action_bar_get_center_widget, function in GtkActionBar
gtk_action_bar_get_revealed, function in GtkActionBar
gtk_action_bar_new, function in GtkActionBar
gtk_action_bar_pack_end, function in GtkActionBar
gtk_action_bar_pack_start, function in GtkActionBar
gtk_action_bar_set_center_widget, function in GtkActionBar
gtk_action_bar_set_revealed, function in GtkActionBar
GtkAdjustment, struct in GtkAdjustment
GtkAdjustment::changed, object signal in GtkAdjustment
GtkAdjustment::value-changed, object signal in GtkAdjustment
GtkAdjustment:lower, object property in GtkAdjustment
GtkAdjustment:page-increment, object property in GtkAdjustment
GtkAdjustment:page-size, object property in GtkAdjustment
GtkAdjustment:step-increment, object property in GtkAdjustment
GtkAdjustment:upper, object property in GtkAdjustment
GtkAdjustment:value, object property in GtkAdjustment
gtk_adjustment_clamp_page, function in GtkAdjustment
gtk_adjustment_configure, function in GtkAdjustment
gtk_adjustment_get_lower, function in GtkAdjustment
gtk_adjustment_get_minimum_increment, function in GtkAdjustment
gtk_adjustment_get_page_increment, function in GtkAdjustment
gtk_adjustment_get_page_size, function in GtkAdjustment
gtk_adjustment_get_step_increment, function in GtkAdjustment
gtk_adjustment_get_upper, function in GtkAdjustment
gtk_adjustment_get_value, function in GtkAdjustment
gtk_adjustment_new, function in GtkAdjustment
gtk_adjustment_set_lower, function in GtkAdjustment
gtk_adjustment_set_page_increment, function in GtkAdjustment
gtk_adjustment_set_page_size, function in GtkAdjustment
gtk_adjustment_set_step_increment, function in GtkAdjustment
gtk_adjustment_set_upper, function in GtkAdjustment
gtk_adjustment_set_value, function in GtkAdjustment
GtkAlign, enum in GtkWidget
GtkAllocation, typedef in GtkWidget
GtkAppChooser, struct in GtkAppChooser
GtkAppChooser:content-type, object property in GtkAppChooser
GtkAppChooserButton, struct in GtkAppChooserButton
GtkAppChooserButton::changed, object signal in GtkAppChooserButton
GtkAppChooserButton::custom-item-activated, object signal in GtkAppChooserButton
GtkAppChooserButton:heading, object property in GtkAppChooserButton
GtkAppChooserButton:show-default-item, object property in GtkAppChooserButton
GtkAppChooserButton:show-dialog-item, object property in GtkAppChooserButton
GtkAppChooserDialog, struct in GtkAppChooserDialog
GtkAppChooserDialog:gfile, object property in GtkAppChooserDialog
GtkAppChooserDialog:heading, object property in GtkAppChooserDialog
GtkAppChooserWidget, struct in GtkAppChooserWidget
GtkAppChooserWidget::application-activated, object signal in GtkAppChooserWidget
GtkAppChooserWidget::application-selected, object signal in GtkAppChooserWidget
GtkAppChooserWidget:default-text, object property in GtkAppChooserWidget
GtkAppChooserWidget:show-all, object property in GtkAppChooserWidget
GtkAppChooserWidget:show-default, object property in GtkAppChooserWidget
GtkAppChooserWidget:show-fallback, object property in GtkAppChooserWidget
GtkAppChooserWidget:show-other, object property in GtkAppChooserWidget
GtkAppChooserWidget:show-recommended, object property in GtkAppChooserWidget
GtkApplication, struct in GtkApplication
GtkApplication::query-end, object signal in GtkApplication
GtkApplication::window-added, object signal in GtkApplication
GtkApplication::window-removed, object signal in GtkApplication
GtkApplication:active-window, object property in GtkApplication
GtkApplication:app-menu, object property in GtkApplication
GtkApplication:menubar, object property in GtkApplication
GtkApplication:register-session, object property in GtkApplication
GtkApplication:screensaver-active, object property in GtkApplication
GtkApplicationClass, struct in GtkApplication
GtkApplicationInhibitFlags, enum in GtkApplication
GtkApplicationWindow, struct in GtkApplicationWindow
GtkApplicationWindow:show-menubar, object property in GtkApplicationWindow
GtkApplicationWindowClass, struct in GtkApplicationWindow
gtk_application_add_window, function in GtkApplication
gtk_application_get_accels_for_action, function in GtkApplication
gtk_application_get_actions_for_accel, function in GtkApplication
gtk_application_get_active_window, function in GtkApplication
gtk_application_get_app_menu, function in GtkApplication
gtk_application_get_menubar, function in GtkApplication
gtk_application_get_menu_by_id, function in GtkApplication
gtk_application_get_windows, function in GtkApplication
gtk_application_get_window_by_id, function in GtkApplication
gtk_application_inhibit, function in GtkApplication
gtk_application_list_action_descriptions, function in GtkApplication
gtk_application_new, function in GtkApplication
gtk_application_prefers_app_menu, function in GtkApplication
gtk_application_remove_window, function in GtkApplication
gtk_application_set_accels_for_action, function in GtkApplication
gtk_application_set_app_menu, function in GtkApplication
gtk_application_set_menubar, function in GtkApplication
gtk_application_uninhibit, function in GtkApplication
gtk_application_window_get_help_overlay, function in GtkApplicationWindow
gtk_application_window_get_id, function in GtkApplicationWindow
gtk_application_window_get_show_menubar, function in GtkApplicationWindow
gtk_application_window_new, function in GtkApplicationWindow
gtk_application_window_set_help_overlay, function in GtkApplicationWindow
gtk_application_window_set_show_menubar, function in GtkApplicationWindow
gtk_app_chooser_button_append_custom_item, function in GtkAppChooserButton
gtk_app_chooser_button_append_separator, function in GtkAppChooserButton
gtk_app_chooser_button_get_heading, function in GtkAppChooserButton
gtk_app_chooser_button_get_show_default_item, function in GtkAppChooserButton
gtk_app_chooser_button_get_show_dialog_item, function in GtkAppChooserButton
gtk_app_chooser_button_new, function in GtkAppChooserButton
gtk_app_chooser_button_set_active_custom_item, function in GtkAppChooserButton
gtk_app_chooser_button_set_heading, function in GtkAppChooserButton
gtk_app_chooser_button_set_show_default_item, function in GtkAppChooserButton
gtk_app_chooser_button_set_show_dialog_item, function in GtkAppChooserButton
gtk_app_chooser_dialog_get_heading, function in GtkAppChooserDialog
gtk_app_chooser_dialog_get_widget, function in GtkAppChooserDialog
gtk_app_chooser_dialog_new, function in GtkAppChooserDialog
gtk_app_chooser_dialog_new_for_content_type, function in GtkAppChooserDialog
gtk_app_chooser_dialog_set_heading, function in GtkAppChooserDialog
gtk_app_chooser_get_app_info, function in GtkAppChooser
gtk_app_chooser_get_content_type, function in GtkAppChooser
gtk_app_chooser_refresh, function in GtkAppChooser
gtk_app_chooser_widget_get_default_text, function in GtkAppChooserWidget
gtk_app_chooser_widget_get_show_all, function in GtkAppChooserWidget
gtk_app_chooser_widget_get_show_default, function in GtkAppChooserWidget
gtk_app_chooser_widget_get_show_fallback, function in GtkAppChooserWidget
gtk_app_chooser_widget_get_show_other, function in GtkAppChooserWidget
gtk_app_chooser_widget_get_show_recommended, function in GtkAppChooserWidget
gtk_app_chooser_widget_new, function in GtkAppChooserWidget
gtk_app_chooser_widget_set_default_text, function in GtkAppChooserWidget
gtk_app_chooser_widget_set_show_all, function in GtkAppChooserWidget
gtk_app_chooser_widget_set_show_default, function in GtkAppChooserWidget
gtk_app_chooser_widget_set_show_fallback, function in GtkAppChooserWidget
gtk_app_chooser_widget_set_show_other, function in GtkAppChooserWidget
gtk_app_chooser_widget_set_show_recommended, function in GtkAppChooserWidget
GtkArrowType, enum in GtkMenuButton
GtkAspectFrame, struct in GtkAspectFrame
GtkAspectFrame:obey-child, object property in GtkAspectFrame
GtkAspectFrame:ratio, object property in GtkAspectFrame
GtkAspectFrame:xalign, object property in GtkAspectFrame
GtkAspectFrame:yalign, object property in GtkAspectFrame
gtk_aspect_frame_new, function in GtkAspectFrame
gtk_aspect_frame_set, function in GtkAspectFrame
GtkAssistant, struct in GtkAssistant
GtkAssistant::apply, object signal in GtkAssistant
GtkAssistant::cancel, object signal in GtkAssistant
GtkAssistant::close, object signal in GtkAssistant
GtkAssistant::escape, object signal in GtkAssistant
GtkAssistant::prepare, object signal in GtkAssistant
GtkAssistant:pages, object property in GtkAssistant
GtkAssistant:use-header-bar, object property in GtkAssistant
GtkAssistantPage, struct in GtkAssistant
GtkAssistantPage:child, object property in GtkAssistant
GtkAssistantPage:complete, object property in GtkAssistant
GtkAssistantPage:page-type, object property in GtkAssistant
GtkAssistantPage:title, object property in GtkAssistant
GtkAssistantPageFunc, user_function in GtkAssistant
GtkAssistantPageType, enum in GtkAssistant
gtk_assistant_add_action_widget, function in GtkAssistant
gtk_assistant_append_page, function in GtkAssistant
gtk_assistant_commit, function in GtkAssistant
gtk_assistant_get_current_page, function in GtkAssistant
gtk_assistant_get_nth_page, function in GtkAssistant
gtk_assistant_get_n_pages, function in GtkAssistant
gtk_assistant_get_page, function in GtkAssistant
gtk_assistant_get_pages, function in GtkAssistant
gtk_assistant_get_page_complete, function in GtkAssistant
gtk_assistant_get_page_title, function in GtkAssistant
gtk_assistant_get_page_type, function in GtkAssistant
gtk_assistant_insert_page, function in GtkAssistant
gtk_assistant_new, function in GtkAssistant
gtk_assistant_next_page, function in GtkAssistant
gtk_assistant_page_get_child, function in GtkAssistant
gtk_assistant_prepend_page, function in GtkAssistant
gtk_assistant_previous_page, function in GtkAssistant
gtk_assistant_remove_action_widget, function in GtkAssistant
gtk_assistant_remove_page, function in GtkAssistant
gtk_assistant_set_current_page, function in GtkAssistant
gtk_assistant_set_forward_page_func, function in GtkAssistant
gtk_assistant_set_page_complete, function in GtkAssistant
gtk_assistant_set_page_title, function in GtkAssistant
gtk_assistant_set_page_type, function in GtkAssistant
gtk_assistant_update_buttons_state, function in GtkAssistant
B
GtkBaselinePosition, enum in Standard Enumerations
GtkBin, struct in GtkBin
GTK_BINARY_AGE, macro in Feature Test Macros
GtkBinClass, struct in GtkBin
GtkBindingCallback, user_function in Bindings
GtkBindingSet, struct in Bindings
gtk_bindings_activate, function in Bindings
gtk_bindings_activate_event, function in Bindings
gtk_binding_entry_add_action, function in Bindings
gtk_binding_entry_add_action_variant, function in Bindings
gtk_binding_entry_add_callback, function in Bindings
gtk_binding_entry_add_signal, function in Bindings
gtk_binding_entry_add_signal_from_string, function in Bindings
gtk_binding_entry_remove, function in Bindings
gtk_binding_entry_skip, function in Bindings
gtk_binding_set_activate, function in Bindings
gtk_binding_set_by_class, function in Bindings
gtk_binding_set_find, function in Bindings
gtk_binding_set_new, function in Bindings
GtkBinLayout, struct in GtkBinLayout
gtk_bin_get_child, function in GtkBin
gtk_bin_layout_new, function in GtkBinLayout
GtkBorder, struct in GtkStyleContext
GtkBorderStyle, enum in GtkStyleContext
gtk_border_copy, function in GtkStyleContext
gtk_border_free, function in GtkStyleContext
gtk_border_new, function in GtkStyleContext
GtkBox, struct in GtkBox
GtkBox:baseline-position, object property in GtkBox
GtkBox:homogeneous, object property in GtkBox
GtkBox:spacing, object property in GtkBox
GtkBoxClass, struct in GtkBox
GtkBoxLayout, struct in GtkBoxLayout
GtkBoxLayout:baseline-position, object property in GtkBoxLayout
GtkBoxLayout:homogeneous, object property in GtkBoxLayout
GtkBoxLayout:spacing, object property in GtkBoxLayout
gtk_box_get_baseline_position, function in GtkBox
gtk_box_get_homogeneous, function in GtkBox
gtk_box_get_spacing, function in GtkBox
gtk_box_insert_child_after, function in GtkBox
gtk_box_layout_get_baseline_position, function in GtkBoxLayout
gtk_box_layout_get_homogeneous, function in GtkBoxLayout
gtk_box_layout_get_spacing, function in GtkBoxLayout
gtk_box_layout_new, function in GtkBoxLayout
gtk_box_layout_set_baseline_position, function in GtkBoxLayout
gtk_box_layout_set_homogeneous, function in GtkBoxLayout
gtk_box_layout_set_spacing, function in GtkBoxLayout
gtk_box_new, function in GtkBox
gtk_box_reorder_child_after, function in GtkBox
gtk_box_set_baseline_position, function in GtkBox
gtk_box_set_homogeneous, function in GtkBox
gtk_box_set_spacing, function in GtkBox
GtkBuildable, struct in GtkBuildable
GtkBuildableIface, struct in GtkBuildable
gtk_buildable_add_child, function in GtkBuildable
gtk_buildable_construct_child, function in GtkBuildable
gtk_buildable_custom_finished, function in GtkBuildable
gtk_buildable_custom_tag_end, function in GtkBuildable
gtk_buildable_custom_tag_start, function in GtkBuildable
gtk_buildable_get_internal_child, function in GtkBuildable
gtk_buildable_get_name, function in GtkBuildable
gtk_buildable_parser_finished, function in GtkBuildable
gtk_buildable_set_buildable_property, function in GtkBuildable
gtk_buildable_set_name, function in GtkBuildable
GtkBuilder, struct in GtkBuilder
GtkBuilder:current-object, object property in GtkBuilder
GtkBuilder:scope, object property in GtkBuilder
GtkBuilder:translation-domain, object property in GtkBuilder
GtkBuilderError, enum in GtkBuilder
gtk_builder_add_from_file, function in GtkBuilder
gtk_builder_add_from_resource, function in GtkBuilder
gtk_builder_add_from_string, function in GtkBuilder
gtk_builder_add_objects_from_file, function in GtkBuilder
gtk_builder_add_objects_from_resource, function in GtkBuilder
gtk_builder_add_objects_from_string, function in GtkBuilder
gtk_builder_create_closure, function in GtkBuilder
gtk_builder_cscope_add_callback_symbol, function in GtkBuilderScope
gtk_builder_cscope_add_callback_symbols, function in GtkBuilderScope
gtk_builder_cscope_lookup_callback_symbol, function in GtkBuilderScope
gtk_builder_cscope_new, function in GtkBuilderScope
GTK_BUILDER_ERROR, macro in GtkBuilder
gtk_builder_expose_object, function in GtkBuilder
gtk_builder_extend_with_template, function in GtkBuilder
gtk_builder_get_current_object, function in GtkBuilder
gtk_builder_get_object, function in GtkBuilder
gtk_builder_get_objects, function in GtkBuilder
gtk_builder_get_scope, function in GtkBuilder
gtk_builder_get_translation_domain, function in GtkBuilder
gtk_builder_get_type_from_name, function in GtkBuilder
gtk_builder_new, function in GtkBuilder
gtk_builder_new_from_file, function in GtkBuilder
gtk_builder_new_from_resource, function in GtkBuilder
gtk_builder_new_from_string, function in GtkBuilder
gtk_builder_set_current_object, function in GtkBuilder
gtk_builder_set_scope, function in GtkBuilder
gtk_builder_set_translation_domain, function in GtkBuilder
gtk_builder_value_from_string, function in GtkBuilder
gtk_builder_value_from_string_type, function in GtkBuilder
GTK_BUILDER_WARN_INVALID_CHILD_TYPE, macro in GtkBuilder
GtkButton, struct in GtkButton
GtkButton::activate, object signal in GtkButton
GtkButton::clicked, object signal in GtkButton
GtkButton:icon-name, object property in GtkButton
GtkButton:label, object property in GtkButton
GtkButton:relief, object property in GtkButton
GtkButton:use-underline, object property in GtkButton
GtkButtonClass, struct in GtkButton
GtkButtonsType, enum in GtkMessageDialog
gtk_button_get_icon_name, function in GtkButton
gtk_button_get_label, function in GtkButton
gtk_button_get_relief, function in GtkButton
gtk_button_get_use_underline, function in GtkButton
gtk_button_new, function in GtkButton
gtk_button_new_from_icon_name, function in GtkButton
gtk_button_new_with_label, function in GtkButton
gtk_button_new_with_mnemonic, function in GtkButton
gtk_button_set_icon_name, function in GtkButton
gtk_button_set_label, function in GtkButton
gtk_button_set_relief, function in GtkButton
gtk_button_set_use_underline, function in GtkButton
C
GtkCalendar, struct in GtkCalendar
GtkCalendar::day-selected, object signal in GtkCalendar
GtkCalendar::next-month, object signal in GtkCalendar
GtkCalendar::next-year, object signal in GtkCalendar
GtkCalendar::prev-month, object signal in GtkCalendar
GtkCalendar::prev-year, object signal in GtkCalendar
GtkCalendar:day, object property in GtkCalendar
GtkCalendar:month, object property in GtkCalendar
GtkCalendar:show-day-names, object property in GtkCalendar
GtkCalendar:show-heading, object property in GtkCalendar
GtkCalendar:show-week-numbers, object property in GtkCalendar
GtkCalendar:year, object property in GtkCalendar
gtk_calendar_clear_marks, function in GtkCalendar
gtk_calendar_get_date, function in GtkCalendar
gtk_calendar_get_day_is_marked, function in GtkCalendar
gtk_calendar_mark_day, function in GtkCalendar
gtk_calendar_new, function in GtkCalendar
gtk_calendar_select_day, function in GtkCalendar
gtk_calendar_unmark_day, function in GtkCalendar
GtkCallback, user_function in GtkWidget
GtkCellAllocCallback, user_function in GtkCellArea
GtkCellArea, struct in GtkCellArea
GtkCellArea::add-editable, object signal in GtkCellArea
GtkCellArea::apply-attributes, object signal in GtkCellArea
GtkCellArea::focus-changed, object signal in GtkCellArea
GtkCellArea::remove-editable, object signal in GtkCellArea
GtkCellArea:edit-widget, object property in GtkCellArea
GtkCellArea:edited-cell, object property in GtkCellArea
GtkCellArea:focus-cell, object property in GtkCellArea
GtkCellAreaBox, struct in GtkCellAreaBox
GtkCellAreaBox:align, object property in GtkCellAreaBox
GtkCellAreaBox:expand, object property in GtkCellAreaBox
GtkCellAreaBox:fixed-size, object property in GtkCellAreaBox
GtkCellAreaBox:pack-type, object property in GtkCellAreaBox
GtkCellAreaBox:spacing, object property in GtkCellAreaBox
GtkCellAreaClass, struct in GtkCellArea
GtkCellAreaContext, struct in GtkCellAreaContext
GtkCellAreaContext:area, object property in GtkCellAreaContext
GtkCellAreaContext:minimum-height, object property in GtkCellAreaContext
GtkCellAreaContext:minimum-width, object property in GtkCellAreaContext
GtkCellAreaContext:natural-height, object property in GtkCellAreaContext
GtkCellAreaContext:natural-width, object property in GtkCellAreaContext
GtkCellAreaContextClass, struct in GtkCellAreaContext
GtkCellCallback, user_function in GtkCellArea
GtkCellEditable, struct in GtkCellEditable
GtkCellEditable::editing-done, object signal in GtkCellEditable
GtkCellEditable::remove-widget, object signal in GtkCellEditable
GtkCellEditable:editing-canceled, object property in GtkCellEditable
GtkCellEditableIface, struct in GtkCellEditable
GtkCellLayout, struct in GtkCellLayout
GtkCellLayoutDataFunc, user_function in GtkCellLayout
GtkCellLayoutIface, struct in GtkCellLayout
GtkCellRenderer, struct in GtkCellRenderer
GtkCellRenderer::editing-canceled, object signal in GtkCellRenderer
GtkCellRenderer::editing-started, object signal in GtkCellRenderer
GtkCellRenderer:cell-background, object property in GtkCellRenderer
GtkCellRenderer:cell-background-rgba, object property in GtkCellRenderer
GtkCellRenderer:cell-background-set, object property in GtkCellRenderer
GtkCellRenderer:editing, object property in GtkCellRenderer
GtkCellRenderer:height, object property in GtkCellRenderer
GtkCellRenderer:is-expanded, object property in GtkCellRenderer
GtkCellRenderer:is-expander, object property in GtkCellRenderer
GtkCellRenderer:mode, object property in GtkCellRenderer
GtkCellRenderer:sensitive, object property in GtkCellRenderer
GtkCellRenderer:visible, object property in GtkCellRenderer
GtkCellRenderer:width, object property in GtkCellRenderer
GtkCellRenderer:xalign, object property in GtkCellRenderer
GtkCellRenderer:xpad, object property in GtkCellRenderer
GtkCellRenderer:yalign, object property in GtkCellRenderer
GtkCellRenderer:ypad, object property in GtkCellRenderer
GtkCellRendererAccel, struct in GtkCellRendererAccel
GtkCellRendererAccel::accel-cleared, object signal in GtkCellRendererAccel
GtkCellRendererAccel::accel-edited, object signal in GtkCellRendererAccel
GtkCellRendererAccel:accel-key, object property in GtkCellRendererAccel
GtkCellRendererAccel:accel-mode, object property in GtkCellRendererAccel
GtkCellRendererAccel:accel-mods, object property in GtkCellRendererAccel
GtkCellRendererAccel:keycode, object property in GtkCellRendererAccel
GtkCellRendererAccelMode, enum in GtkCellRendererAccel
GtkCellRendererClass, struct in GtkCellRenderer
GtkCellRendererCombo, struct in GtkCellRendererCombo
GtkCellRendererCombo::changed, object signal in GtkCellRendererCombo
GtkCellRendererCombo:has-entry, object property in GtkCellRendererCombo
GtkCellRendererCombo:model, object property in GtkCellRendererCombo
GtkCellRendererCombo:text-column, object property in GtkCellRendererCombo
GtkCellRendererMode, enum in GtkCellRenderer
GtkCellRendererPixbuf, struct in GtkCellRendererPixbuf
GtkCellRendererPixbuf:gicon, object property in GtkCellRendererPixbuf
GtkCellRendererPixbuf:icon-name, object property in GtkCellRendererPixbuf
GtkCellRendererPixbuf:icon-size, object property in GtkCellRendererPixbuf
GtkCellRendererPixbuf:pixbuf, object property in GtkCellRendererPixbuf
GtkCellRendererPixbuf:pixbuf-expander-closed, object property in GtkCellRendererPixbuf
GtkCellRendererPixbuf:pixbuf-expander-open, object property in GtkCellRendererPixbuf
GtkCellRendererPixbuf:texture, object property in GtkCellRendererPixbuf
GtkCellRendererProgress, struct in GtkCellRendererProgress
GtkCellRendererProgress:inverted, object property in GtkCellRendererProgress
GtkCellRendererProgress:pulse, object property in GtkCellRendererProgress
GtkCellRendererProgress:text, object property in GtkCellRendererProgress
GtkCellRendererProgress:text-xalign, object property in GtkCellRendererProgress
GtkCellRendererProgress:text-yalign, object property in GtkCellRendererProgress
GtkCellRendererProgress:value, object property in GtkCellRendererProgress
GtkCellRendererSpin, struct in GtkCellRendererSpin
GtkCellRendererSpin:adjustment, object property in GtkCellRendererSpin
GtkCellRendererSpin:climb-rate, object property in GtkCellRendererSpin
GtkCellRendererSpin:digits, object property in GtkCellRendererSpin
GtkCellRendererSpinner, struct in GtkCellRendererSpinner
GtkCellRendererSpinner:active, object property in GtkCellRendererSpinner
GtkCellRendererSpinner:pulse, object property in GtkCellRendererSpinner
GtkCellRendererSpinner:size, object property in GtkCellRendererSpinner
GtkCellRendererState, enum in GtkCellRenderer
GtkCellRendererText, struct in GtkCellRendererText
GtkCellRendererText::edited, object signal in GtkCellRendererText
GtkCellRendererText:align-set, object property in GtkCellRendererText
GtkCellRendererText:alignment, object property in GtkCellRendererText
GtkCellRendererText:attributes, object property in GtkCellRendererText
GtkCellRendererText:background, object property in GtkCellRendererText
GtkCellRendererText:background-rgba, object property in GtkCellRendererText
GtkCellRendererText:background-set, object property in GtkCellRendererText
GtkCellRendererText:editable, object property in GtkCellRendererText
GtkCellRendererText:editable-set, object property in GtkCellRendererText
GtkCellRendererText:ellipsize, object property in GtkCellRendererText
GtkCellRendererText:ellipsize-set, object property in GtkCellRendererText
GtkCellRendererText:family, object property in GtkCellRendererText
GtkCellRendererText:family-set, object property in GtkCellRendererText
GtkCellRendererText:font, object property in GtkCellRendererText
GtkCellRendererText:font-desc, object property in GtkCellRendererText
GtkCellRendererText:foreground, object property in GtkCellRendererText
GtkCellRendererText:foreground-rgba, object property in GtkCellRendererText
GtkCellRendererText:foreground-set, object property in GtkCellRendererText
GtkCellRendererText:language, object property in GtkCellRendererText
GtkCellRendererText:language-set, object property in GtkCellRendererText
GtkCellRendererText:markup, object property in GtkCellRendererText
GtkCellRendererText:max-width-chars, object property in GtkCellRendererText
GtkCellRendererText:placeholder-text, object property in GtkCellRendererText
GtkCellRendererText:rise, object property in GtkCellRendererText
GtkCellRendererText:rise-set, object property in GtkCellRendererText
GtkCellRendererText:scale, object property in GtkCellRendererText
GtkCellRendererText:scale-set, object property in GtkCellRendererText
GtkCellRendererText:single-paragraph-mode, object property in GtkCellRendererText
GtkCellRendererText:size, object property in GtkCellRendererText
GtkCellRendererText:size-points, object property in GtkCellRendererText
GtkCellRendererText:size-set, object property in GtkCellRendererText
GtkCellRendererText:stretch, object property in GtkCellRendererText
GtkCellRendererText:stretch-set, object property in GtkCellRendererText
GtkCellRendererText:strikethrough, object property in GtkCellRendererText
GtkCellRendererText:strikethrough-set, object property in GtkCellRendererText
GtkCellRendererText:style, object property in GtkCellRendererText
GtkCellRendererText:style-set, object property in GtkCellRendererText
GtkCellRendererText:text, object property in GtkCellRendererText
GtkCellRendererText:underline, object property in GtkCellRendererText
GtkCellRendererText:underline-set, object property in GtkCellRendererText
GtkCellRendererText:variant, object property in GtkCellRendererText
GtkCellRendererText:variant-set, object property in GtkCellRendererText
GtkCellRendererText:weight, object property in GtkCellRendererText
GtkCellRendererText:weight-set, object property in GtkCellRendererText
GtkCellRendererText:width-chars, object property in GtkCellRendererText
GtkCellRendererText:wrap-mode, object property in GtkCellRendererText
GtkCellRendererText:wrap-width, object property in GtkCellRendererText
GtkCellRendererToggle, struct in GtkCellRendererToggle
GtkCellRendererToggle::toggled, object signal in GtkCellRendererToggle
GtkCellRendererToggle:activatable, object property in GtkCellRendererToggle
GtkCellRendererToggle:active, object property in GtkCellRendererToggle
GtkCellRendererToggle:inconsistent, object property in GtkCellRendererToggle
GtkCellRendererToggle:radio, object property in GtkCellRendererToggle
GtkCellView, struct in GtkCellView
GtkCellView:cell-area, object property in GtkCellView
GtkCellView:cell-area-context, object property in GtkCellView
GtkCellView:draw-sensitive, object property in GtkCellView
GtkCellView:fit-model, object property in GtkCellView
GtkCellView:model, object property in GtkCellView
gtk_cell_area_activate, function in GtkCellArea
gtk_cell_area_activate_cell, function in GtkCellArea
gtk_cell_area_add, function in GtkCellArea
gtk_cell_area_add_focus_sibling, function in GtkCellArea
gtk_cell_area_add_with_properties, function in GtkCellArea
gtk_cell_area_apply_attributes, function in GtkCellArea
gtk_cell_area_attribute_connect, function in GtkCellArea
gtk_cell_area_attribute_disconnect, function in GtkCellArea
gtk_cell_area_attribute_get_column, function in GtkCellArea
gtk_cell_area_box_get_spacing, function in GtkCellAreaBox
gtk_cell_area_box_new, function in GtkCellAreaBox
gtk_cell_area_box_pack_end, function in GtkCellAreaBox
gtk_cell_area_box_pack_start, function in GtkCellAreaBox
gtk_cell_area_box_set_spacing, function in GtkCellAreaBox
gtk_cell_area_cell_get, function in GtkCellArea
gtk_cell_area_cell_get_property, function in GtkCellArea
gtk_cell_area_cell_get_valist, function in GtkCellArea
gtk_cell_area_cell_set, function in GtkCellArea
gtk_cell_area_cell_set_property, function in GtkCellArea
gtk_cell_area_cell_set_valist, function in GtkCellArea
gtk_cell_area_class_find_cell_property, function in GtkCellArea
gtk_cell_area_class_install_cell_property, function in GtkCellArea
gtk_cell_area_class_list_cell_properties, function in GtkCellArea
gtk_cell_area_context_allocate, function in GtkCellAreaContext
gtk_cell_area_context_get_allocation, function in GtkCellAreaContext
gtk_cell_area_context_get_area, function in GtkCellAreaContext
gtk_cell_area_context_get_preferred_height, function in GtkCellAreaContext
gtk_cell_area_context_get_preferred_height_for_width, function in GtkCellAreaContext
gtk_cell_area_context_get_preferred_width, function in GtkCellAreaContext
gtk_cell_area_context_get_preferred_width_for_height, function in GtkCellAreaContext
gtk_cell_area_context_push_preferred_height, function in GtkCellAreaContext
gtk_cell_area_context_push_preferred_width, function in GtkCellAreaContext
gtk_cell_area_context_reset, function in GtkCellAreaContext
gtk_cell_area_copy_context, function in GtkCellArea
gtk_cell_area_create_context, function in GtkCellArea
gtk_cell_area_event, function in GtkCellArea
gtk_cell_area_focus, function in GtkCellArea
gtk_cell_area_foreach, function in GtkCellArea
gtk_cell_area_foreach_alloc, function in GtkCellArea
gtk_cell_area_get_cell_allocation, function in GtkCellArea
gtk_cell_area_get_cell_at_position, function in GtkCellArea
gtk_cell_area_get_current_path_string, function in GtkCellArea
gtk_cell_area_get_edited_cell, function in GtkCellArea
gtk_cell_area_get_edit_widget, function in GtkCellArea
gtk_cell_area_get_focus_cell, function in GtkCellArea
gtk_cell_area_get_focus_from_sibling, function in GtkCellArea
gtk_cell_area_get_focus_siblings, function in GtkCellArea
gtk_cell_area_get_preferred_height, function in GtkCellArea
gtk_cell_area_get_preferred_height_for_width, function in GtkCellArea
gtk_cell_area_get_preferred_width, function in GtkCellArea
gtk_cell_area_get_preferred_width_for_height, function in GtkCellArea
gtk_cell_area_get_request_mode, function in GtkCellArea
gtk_cell_area_has_renderer, function in GtkCellArea
gtk_cell_area_inner_cell_area, function in GtkCellArea
gtk_cell_area_is_activatable, function in GtkCellArea
gtk_cell_area_is_focus_sibling, function in GtkCellArea
gtk_cell_area_remove, function in GtkCellArea
gtk_cell_area_remove_focus_sibling, function in GtkCellArea
gtk_cell_area_request_renderer, function in GtkCellArea
gtk_cell_area_set_focus_cell, function in GtkCellArea
gtk_cell_area_snapshot, function in GtkCellArea
gtk_cell_area_stop_editing, function in GtkCellArea
GTK_CELL_AREA_WARN_INVALID_CELL_PROPERTY_ID, macro in GtkCellArea
gtk_cell_editable_editing_done, function in GtkCellEditable
gtk_cell_editable_remove_widget, function in GtkCellEditable
gtk_cell_editable_start_editing, function in GtkCellEditable
gtk_cell_layout_add_attribute, function in GtkCellLayout
gtk_cell_layout_clear, function in GtkCellLayout
gtk_cell_layout_clear_attributes, function in GtkCellLayout
gtk_cell_layout_get_area, function in GtkCellLayout
gtk_cell_layout_get_cells, function in GtkCellLayout
gtk_cell_layout_pack_end, function in GtkCellLayout
gtk_cell_layout_pack_start, function in GtkCellLayout
gtk_cell_layout_reorder, function in GtkCellLayout
gtk_cell_layout_set_attributes, function in GtkCellLayout
gtk_cell_layout_set_cell_data_func, function in GtkCellLayout
gtk_cell_renderer_accel_new, function in GtkCellRendererAccel
gtk_cell_renderer_activate, function in GtkCellRenderer
gtk_cell_renderer_class_set_accessible_type, function in GtkCellRenderer
gtk_cell_renderer_combo_new, function in GtkCellRendererCombo
gtk_cell_renderer_get_aligned_area, function in GtkCellRenderer
gtk_cell_renderer_get_alignment, function in GtkCellRenderer
gtk_cell_renderer_get_fixed_size, function in GtkCellRenderer
gtk_cell_renderer_get_padding, function in GtkCellRenderer
gtk_cell_renderer_get_preferred_height, function in GtkCellRenderer
gtk_cell_renderer_get_preferred_height_for_width, function in GtkCellRenderer
gtk_cell_renderer_get_preferred_size, function in GtkCellRenderer
gtk_cell_renderer_get_preferred_width, function in GtkCellRenderer
gtk_cell_renderer_get_preferred_width_for_height, function in GtkCellRenderer
gtk_cell_renderer_get_request_mode, function in GtkCellRenderer
gtk_cell_renderer_get_sensitive, function in GtkCellRenderer
gtk_cell_renderer_get_state, function in GtkCellRenderer
gtk_cell_renderer_get_visible, function in GtkCellRenderer
gtk_cell_renderer_is_activatable, function in GtkCellRenderer
gtk_cell_renderer_pixbuf_new, function in GtkCellRendererPixbuf
gtk_cell_renderer_progress_new, function in GtkCellRendererProgress
gtk_cell_renderer_set_alignment, function in GtkCellRenderer
gtk_cell_renderer_set_fixed_size, function in GtkCellRenderer
gtk_cell_renderer_set_padding, function in GtkCellRenderer
gtk_cell_renderer_set_sensitive, function in GtkCellRenderer
gtk_cell_renderer_set_visible, function in GtkCellRenderer
gtk_cell_renderer_snapshot, function in GtkCellRenderer
gtk_cell_renderer_spinner_new, function in GtkCellRendererSpinner
gtk_cell_renderer_spin_new, function in GtkCellRendererSpin
gtk_cell_renderer_start_editing, function in GtkCellRenderer
gtk_cell_renderer_stop_editing, function in GtkCellRenderer
gtk_cell_renderer_text_new, function in GtkCellRendererText
gtk_cell_renderer_text_set_fixed_height_from_font, function in GtkCellRendererText
gtk_cell_renderer_toggle_get_activatable, function in GtkCellRendererToggle
gtk_cell_renderer_toggle_get_active, function in GtkCellRendererToggle
gtk_cell_renderer_toggle_get_radio, function in GtkCellRendererToggle
gtk_cell_renderer_toggle_new, function in GtkCellRendererToggle
gtk_cell_renderer_toggle_set_activatable, function in GtkCellRendererToggle
gtk_cell_renderer_toggle_set_active, function in GtkCellRendererToggle
gtk_cell_renderer_toggle_set_radio, function in GtkCellRendererToggle
gtk_cell_view_get_displayed_row, function in GtkCellView
gtk_cell_view_get_draw_sensitive, function in GtkCellView
gtk_cell_view_get_fit_model, function in GtkCellView
gtk_cell_view_get_model, function in GtkCellView
gtk_cell_view_new, function in GtkCellView
gtk_cell_view_new_with_context, function in GtkCellView
gtk_cell_view_new_with_markup, function in GtkCellView
gtk_cell_view_new_with_text, function in GtkCellView
gtk_cell_view_new_with_texture, function in GtkCellView
gtk_cell_view_set_displayed_row, function in GtkCellView
gtk_cell_view_set_draw_sensitive, function in GtkCellView
gtk_cell_view_set_fit_model, function in GtkCellView
gtk_cell_view_set_model, function in GtkCellView
GtkCenterBox, struct in GtkCenterBox
GtkCenterLayout, struct in GtkCenterLayout
gtk_center_box_get_baseline_position, function in GtkCenterBox
gtk_center_box_get_center_widget, function in GtkCenterBox
gtk_center_box_get_end_widget, function in GtkCenterBox
gtk_center_box_get_start_widget, function in GtkCenterBox
gtk_center_box_new, function in GtkCenterBox
gtk_center_box_set_baseline_position, function in GtkCenterBox
gtk_center_box_set_center_widget, function in GtkCenterBox
gtk_center_box_set_end_widget, function in GtkCenterBox
gtk_center_box_set_start_widget, function in GtkCenterBox
gtk_center_layout_get_baseline_position, function in GtkCenterLayout
gtk_center_layout_get_center_widget, function in GtkCenterLayout
gtk_center_layout_get_end_widget, function in GtkCenterLayout
gtk_center_layout_get_start_widget, function in GtkCenterLayout
gtk_center_layout_new, function in GtkCenterLayout
gtk_center_layout_set_baseline_position, function in GtkCenterLayout
gtk_center_layout_set_center_widget, function in GtkCenterLayout
gtk_center_layout_set_end_widget, function in GtkCenterLayout
gtk_center_layout_set_start_widget, function in GtkCenterLayout
GtkCheckButton, struct in GtkCheckButton
GtkCheckButton:draw-indicator, object property in GtkCheckButton
GtkCheckButton:inconsistent, object property in GtkCheckButton
gtk_check_button_get_draw_indicator, function in GtkCheckButton
gtk_check_button_get_inconsistent, function in GtkCheckButton
gtk_check_button_new, function in GtkCheckButton
gtk_check_button_new_with_label, function in GtkCheckButton
gtk_check_button_new_with_mnemonic, function in GtkCheckButton
gtk_check_button_set_draw_indicator, function in GtkCheckButton
gtk_check_button_set_inconsistent, function in GtkCheckButton
GTK_CHECK_VERSION, macro in Feature Test Macros
gtk_check_version, function in Feature Test Macros
GtkColorButton, struct in GtkColorButton
GtkColorButton::color-set, object signal in GtkColorButton
GtkColorButton:rgba, object property in GtkColorButton
GtkColorButton:show-editor, object property in GtkColorButton
GtkColorButton:title, object property in GtkColorButton
GtkColorButton:use-alpha, object property in GtkColorButton
GtkColorChooser, struct in GtkColorChooser
GtkColorChooser::color-activated, object signal in GtkColorChooser
GtkColorChooser:rgba, object property in GtkColorChooser
GtkColorChooser:use-alpha, object property in GtkColorChooser
GtkColorChooserDialog, struct in GtkColorChooserDialog
GtkColorChooserDialog:show-editor, object property in GtkColorChooserDialog
GtkColorChooserWidget, struct in GtkColorChooserWidget
GtkColorChooserWidget:show-editor, object property in GtkColorChooserWidget
GtkColorChooserWidget|color.customize, action in GtkColorChooserWidget
GtkColorChooserWidget|color.select, action in GtkColorChooserWidget
gtk_color_button_get_title, function in GtkColorButton
gtk_color_button_new, function in GtkColorButton
gtk_color_button_new_with_rgba, function in GtkColorButton
gtk_color_button_set_title, function in GtkColorButton
gtk_color_chooser_add_palette, function in GtkColorChooser
gtk_color_chooser_dialog_new, function in GtkColorChooserDialog
gtk_color_chooser_get_rgba, function in GtkColorChooser
gtk_color_chooser_get_use_alpha, function in GtkColorChooser
gtk_color_chooser_set_rgba, function in GtkColorChooser
gtk_color_chooser_set_use_alpha, function in GtkColorChooser
gtk_color_chooser_widget_new, function in GtkColorChooserWidget
GtkComboBox, struct in GtkComboBox
GtkComboBox::changed, object signal in GtkComboBox
GtkComboBox::format-entry-text, object signal in GtkComboBox
GtkComboBox::move-active, object signal in GtkComboBox
GtkComboBox::popdown, object signal in GtkComboBox
GtkComboBox::popup, object signal in GtkComboBox
GtkComboBox:active, object property in GtkComboBox
GtkComboBox:active-id, object property in GtkComboBox
GtkComboBox:button-sensitivity, object property in GtkComboBox
GtkComboBox:entry-text-column, object property in GtkComboBox
GtkComboBox:has-entry, object property in GtkComboBox
GtkComboBox:has-frame, object property in GtkComboBox
GtkComboBox:id-column, object property in GtkComboBox
GtkComboBox:model, object property in GtkComboBox
GtkComboBox:popup-fixed-width, object property in GtkComboBox
GtkComboBox:popup-shown, object property in GtkComboBox
GtkComboBoxClass, struct in GtkComboBox
GtkComboBoxText, struct in GtkComboBoxText
gtk_combo_box_get_active, function in GtkComboBox
gtk_combo_box_get_active_id, function in GtkComboBox
gtk_combo_box_get_active_iter, function in GtkComboBox
gtk_combo_box_get_button_sensitivity, function in GtkComboBox
gtk_combo_box_get_entry_text_column, function in GtkComboBox
gtk_combo_box_get_has_entry, function in GtkComboBox
gtk_combo_box_get_id_column, function in GtkComboBox
gtk_combo_box_get_model, function in GtkComboBox
gtk_combo_box_get_popup_accessible, function in GtkComboBox
gtk_combo_box_get_popup_fixed_width, function in GtkComboBox
gtk_combo_box_get_row_separator_func, function in GtkComboBox
gtk_combo_box_new, function in GtkComboBox
gtk_combo_box_new_with_entry, function in GtkComboBox
gtk_combo_box_new_with_model, function in GtkComboBox
gtk_combo_box_new_with_model_and_entry, function in GtkComboBox
gtk_combo_box_popdown, function in GtkComboBox
gtk_combo_box_set_active, function in GtkComboBox
gtk_combo_box_set_active_id, function in GtkComboBox
gtk_combo_box_set_active_iter, function in GtkComboBox
gtk_combo_box_set_button_sensitivity, function in GtkComboBox
gtk_combo_box_set_entry_text_column, function in GtkComboBox
gtk_combo_box_set_id_column, function in GtkComboBox
gtk_combo_box_set_model, function in GtkComboBox
gtk_combo_box_set_popup_fixed_width, function in GtkComboBox
gtk_combo_box_set_row_separator_func, function in GtkComboBox
gtk_combo_box_text_append, function in GtkComboBoxText
gtk_combo_box_text_append_text, function in GtkComboBoxText
gtk_combo_box_text_get_active_text, function in GtkComboBoxText
gtk_combo_box_text_insert, function in GtkComboBoxText
gtk_combo_box_text_insert_text, function in GtkComboBoxText
gtk_combo_box_text_new, function in GtkComboBoxText
gtk_combo_box_text_new_with_entry, function in GtkComboBoxText
gtk_combo_box_text_prepend, function in GtkComboBoxText
gtk_combo_box_text_prepend_text, function in GtkComboBoxText
gtk_combo_box_text_remove, function in GtkComboBoxText
gtk_combo_box_text_remove_all, function in GtkComboBoxText
GtkConstraint, struct in GtkConstraint
GtkConstraint:constant, object property in GtkConstraint
GtkConstraint:multiplier, object property in GtkConstraint
GtkConstraint:relation, object property in GtkConstraint
GtkConstraint:source, object property in GtkConstraint
GtkConstraint:source-attribute, object property in GtkConstraint
GtkConstraint:strength, object property in GtkConstraint
GtkConstraint:target, object property in GtkConstraint
GtkConstraint:target-attribute, object property in GtkConstraint
GtkConstraintAttribute, enum in GtkConstraint
GtkConstraintGuide, struct in GtkConstraintGuide
GtkConstraintGuide:max-height, object property in GtkConstraintGuide
GtkConstraintGuide:max-width, object property in GtkConstraintGuide
GtkConstraintGuide:min-height, object property in GtkConstraintGuide
GtkConstraintGuide:min-width, object property in GtkConstraintGuide
GtkConstraintGuide:name, object property in GtkConstraintGuide
GtkConstraintGuide:nat-height, object property in GtkConstraintGuide
GtkConstraintGuide:nat-width, object property in GtkConstraintGuide
GtkConstraintGuide:strength, object property in GtkConstraintGuide
GtkConstraintLayout, struct in GtkConstraintLayout
GtkConstraintLayoutChild, struct in GtkConstraintLayout
GtkConstraintRelation, enum in GtkConstraint
GtkConstraintStrength, enum in GtkConstraint
GtkConstraintTarget, struct in GtkConstraint
GtkConstraintVflParserError, enum in GtkConstraintLayout
gtk_constraint_get_constant, function in GtkConstraint
gtk_constraint_get_multiplier, function in GtkConstraint
gtk_constraint_get_relation, function in GtkConstraint
gtk_constraint_get_source, function in GtkConstraint
gtk_constraint_get_source_attribute, function in GtkConstraint
gtk_constraint_get_strength, function in GtkConstraint
gtk_constraint_get_target, function in GtkConstraint
gtk_constraint_get_target_attribute, function in GtkConstraint
gtk_constraint_guide_get_max_size, function in GtkConstraintGuide
gtk_constraint_guide_get_min_size, function in GtkConstraintGuide
gtk_constraint_guide_get_name, function in GtkConstraintGuide
gtk_constraint_guide_get_nat_size, function in GtkConstraintGuide
gtk_constraint_guide_get_strength, function in GtkConstraintGuide
gtk_constraint_guide_new, function in GtkConstraintGuide
gtk_constraint_guide_set_max_size, function in GtkConstraintGuide
gtk_constraint_guide_set_min_size, function in GtkConstraintGuide
gtk_constraint_guide_set_name, function in GtkConstraintGuide
gtk_constraint_guide_set_nat_size, function in GtkConstraintGuide
gtk_constraint_guide_set_strength, function in GtkConstraintGuide
gtk_constraint_is_attached, function in GtkConstraint
gtk_constraint_is_constant, function in GtkConstraint
gtk_constraint_is_required, function in GtkConstraint
gtk_constraint_layout_add_constraint, function in GtkConstraintLayout
gtk_constraint_layout_add_constraints_from_description, function in GtkConstraintLayout
gtk_constraint_layout_add_constraints_from_descriptionv, function in GtkConstraintLayout
gtk_constraint_layout_add_guide, function in GtkConstraintLayout
gtk_constraint_layout_new, function in GtkConstraintLayout
gtk_constraint_layout_observe_constraints, function in GtkConstraintLayout
gtk_constraint_layout_observe_guides, function in GtkConstraintLayout
gtk_constraint_layout_remove_all_constraints, function in GtkConstraintLayout
gtk_constraint_layout_remove_constraint, function in GtkConstraintLayout
gtk_constraint_layout_remove_guide, function in GtkConstraintLayout
gtk_constraint_new, function in GtkConstraint
gtk_constraint_new_constant, function in GtkConstraint
GtkContainer, struct in GtkContainer
GtkContainer::add, object signal in GtkContainer
GtkContainer::remove, object signal in GtkContainer
GtkContainerClass, struct in GtkContainer
gtk_container_add, function in GtkContainer
gtk_container_child_type, function in GtkContainer
gtk_container_forall, function in GtkContainer
gtk_container_foreach, function in GtkContainer
gtk_container_get_children, function in GtkContainer
gtk_container_get_focus_hadjustment, function in GtkContainer
gtk_container_get_focus_vadjustment, function in GtkContainer
gtk_container_remove, function in GtkContainer
gtk_container_set_focus_hadjustment, function in GtkContainer
gtk_container_set_focus_vadjustment, function in GtkContainer
GtkCornerType, enum in GtkScrolledWindow
GtkCssLocation, struct in GtkCssProvider
GtkCssParserError, enum in GtkCssProvider
GtkCssParserWarning, enum in GtkCssProvider
GtkCssProvider, struct in GtkCssProvider
GtkCssProvider::parsing-error, object signal in GtkCssProvider
GtkCssSection, struct in GtkCssProvider
GTK_CSS_PARSER_ERROR, macro in GtkCssProvider
gtk_css_provider_load_from_data, function in GtkCssProvider
gtk_css_provider_load_from_file, function in GtkCssProvider
gtk_css_provider_load_from_path, function in GtkCssProvider
gtk_css_provider_load_from_resource, function in GtkCssProvider
gtk_css_provider_load_named, function in GtkCssProvider
gtk_css_provider_new, function in GtkCssProvider
gtk_css_provider_to_string, function in GtkCssProvider
gtk_css_section_get_end_location, function in GtkCssProvider
gtk_css_section_get_file, function in GtkCssProvider
gtk_css_section_get_parent, function in GtkCssProvider
gtk_css_section_get_start_location, function in GtkCssProvider
gtk_css_section_new, function in GtkCssProvider
gtk_css_section_print, function in GtkCssProvider
gtk_css_section_ref, function in GtkCssProvider
gtk_css_section_to_string, function in GtkCssProvider
gtk_css_section_unref, function in GtkCssProvider
GtkCustomAllocateFunc, user_function in GtkCustomLayout
GtkCustomLayout, struct in GtkCustomLayout
GtkCustomMeasureFunc, user_function in GtkCustomLayout
GtkCustomRequestModeFunc, user_function in GtkCustomLayout
gtk_custom_layout_new, function in GtkCustomLayout
D
GtkDeleteType, enum in Standard Enumerations
gtk_device_grab_add, function in General
gtk_device_grab_remove, function in General
GtkDialog, struct in GtkDialog
GtkDialog::close, object signal in GtkDialog
GtkDialog::response, object signal in GtkDialog
GtkDialog:use-header-bar, object property in GtkDialog
GtkDialogClass, struct in GtkDialog
GtkDialogFlags, enum in GtkDialog
gtk_dialog_add_action_widget, function in GtkDialog
gtk_dialog_add_button, function in GtkDialog
gtk_dialog_add_buttons, function in GtkDialog
gtk_dialog_get_content_area, function in GtkDialog
gtk_dialog_get_header_bar, function in GtkDialog
gtk_dialog_get_response_for_widget, function in GtkDialog
gtk_dialog_get_widget_for_response, function in GtkDialog
gtk_dialog_new, function in GtkDialog
gtk_dialog_new_with_buttons, function in GtkDialog
gtk_dialog_response, function in GtkDialog
gtk_dialog_run, function in GtkDialog
gtk_dialog_set_default_response, function in GtkDialog
gtk_dialog_set_response_sensitive, function in GtkDialog
GtkDirectionType, enum in Standard Enumerations
gtk_disable_setlocale, function in General
gtk_distribute_natural_allocation, function in GtkWidget
GtkDragIcon, struct in GtkDragIcon
GtkDragSource, struct in GtkDragSource
GtkDragSource::drag-begin, object signal in GtkDragSource
GtkDragSource::drag-cancel, object signal in GtkDragSource
GtkDragSource::drag-end, object signal in GtkDragSource
GtkDragSource::prepare, object signal in GtkDragSource
GtkDragSource:actions, object property in GtkDragSource
GtkDragSource:content, object property in GtkDragSource
gtk_drag_check_threshold, function in GtkDragSource
gtk_drag_icon_new_for_drag, function in GtkDragIcon
gtk_drag_icon_set_from_paintable, function in GtkDragIcon
gtk_drag_source_drag_cancel, function in GtkDragSource
gtk_drag_source_get_actions, function in GtkDragSource
gtk_drag_source_get_content, function in GtkDragSource
gtk_drag_source_get_drag, function in GtkDragSource
gtk_drag_source_new, function in GtkDragSource
gtk_drag_source_set_actions, function in GtkDragSource
gtk_drag_source_set_content, function in GtkDragSource
gtk_drag_source_set_icon, function in GtkDragSource
GtkDrawingArea, struct in GtkDrawingArea
GtkDrawingArea:content-height, object property in GtkDrawingArea
GtkDrawingArea:content-width, object property in GtkDrawingArea
GtkDrawingAreaDrawFunc, user_function in GtkDrawingArea
gtk_drawing_area_get_content_height, function in GtkDrawingArea
gtk_drawing_area_get_content_width, function in GtkDrawingArea
gtk_drawing_area_new, function in GtkDrawingArea
gtk_drawing_area_set_content_height, function in GtkDrawingArea
gtk_drawing_area_set_content_width, function in GtkDrawingArea
gtk_drawing_area_set_draw_func, function in GtkDrawingArea
GtkDropTarget, struct in GtkDropTarget
GtkDropTarget::accept, object signal in GtkDropTarget
GtkDropTarget::drag-drop, object signal in GtkDropTarget
GtkDropTarget::drag-enter, object signal in GtkDropTarget
GtkDropTarget::drag-leave, object signal in GtkDropTarget
GtkDropTarget::drag-motion, object signal in GtkDropTarget
GtkDropTarget:actions, object property in GtkDropTarget
GtkDropTarget:contains, object property in GtkDropTarget
GtkDropTarget:formats, object property in GtkDropTarget
gtk_drop_target_find_mimetype, function in GtkDropTarget
gtk_drop_target_get_actions, function in GtkDropTarget
gtk_drop_target_get_drop, function in GtkDropTarget
gtk_drop_target_get_formats, function in GtkDropTarget
gtk_drop_target_new, function in GtkDropTarget
gtk_drop_target_read_selection, function in GtkDropTarget
gtk_drop_target_read_selection_finish, function in GtkDropTarget
gtk_drop_target_set_actions, function in GtkDropTarget
gtk_drop_target_set_formats, function in GtkDropTarget
E
GtkEditable, struct in GtkEditable
GtkEditable::changed, object signal in GtkEditable
GtkEditable::delete-text, object signal in GtkEditable
GtkEditable::insert-text, object signal in GtkEditable
GtkEditable:cursor-position, object property in GtkEditable
GtkEditable:editable, object property in GtkEditable
GtkEditable:enable-undo, object property in GtkEditable
GtkEditable:max-width-chars, object property in GtkEditable
GtkEditable:selection-bound, object property in GtkEditable
GtkEditable:text, object property in GtkEditable
GtkEditable:width-chars, object property in GtkEditable
GtkEditable:xalign, object property in GtkEditable
gtk_editable_delegate_get_property, function in GtkEditable
gtk_editable_delegate_set_property, function in GtkEditable
gtk_editable_delete_selection, function in GtkEditable
gtk_editable_delete_text, function in GtkEditable
gtk_editable_finish_delegate, function in GtkEditable
gtk_editable_get_alignment, function in GtkEditable
gtk_editable_get_chars, function in GtkEditable
gtk_editable_get_editable, function in GtkEditable
gtk_editable_get_enable_undo, function in GtkEditable
gtk_editable_get_max_width_chars, function in GtkEditable
gtk_editable_get_position, function in GtkEditable
gtk_editable_get_selection_bounds, function in GtkEditable
gtk_editable_get_text, function in GtkEditable
gtk_editable_get_width_chars, function in GtkEditable
gtk_editable_init_delegate, function in GtkEditable
gtk_editable_insert_text, function in GtkEditable
gtk_editable_install_properties, function in GtkEditable
gtk_editable_select_region, function in GtkEditable
gtk_editable_set_alignment, function in GtkEditable
gtk_editable_set_editable, function in GtkEditable
gtk_editable_set_enable_undo, function in GtkEditable
gtk_editable_set_max_width_chars, function in GtkEditable
gtk_editable_set_position, function in GtkEditable
gtk_editable_set_text, function in GtkEditable
gtk_editable_set_width_chars, function in GtkEditable
GtkEmojiChooser, struct in GtkEmojiChooser
GtkEmojiChooser::emoji-picked, object signal in GtkEmojiChooser
gtk_emoji_chooser_new, function in GtkEmojiChooser
GtkEntry, struct in GtkEntry
GtkEntry::activate, object signal in GtkEntry
GtkEntry::icon-press, object signal in GtkEntry
GtkEntry::icon-release, object signal in GtkEntry
GtkEntry:activates-default, object property in GtkEntry
GtkEntry:attributes, object property in GtkEntry
GtkEntry:buffer, object property in GtkEntry
GtkEntry:completion, object property in GtkEntry
GtkEntry:enable-emoji-completion, object property in GtkEntry
GtkEntry:extra-menu, object property in GtkEntry
GtkEntry:has-frame, object property in GtkEntry
GtkEntry:im-module, object property in GtkEntry
GtkEntry:input-hints, object property in GtkEntry
GtkEntry:input-purpose, object property in GtkEntry
GtkEntry:invisible-char, object property in GtkEntry
GtkEntry:invisible-char-set, object property in GtkEntry
GtkEntry:max-length, object property in GtkEntry
GtkEntry:overwrite-mode, object property in GtkEntry
GtkEntry:placeholder-text, object property in GtkEntry
GtkEntry:primary-icon-activatable, object property in GtkEntry
GtkEntry:primary-icon-gicon, object property in GtkEntry
GtkEntry:primary-icon-name, object property in GtkEntry
GtkEntry:primary-icon-paintable, object property in GtkEntry
GtkEntry:primary-icon-sensitive, object property in GtkEntry
GtkEntry:primary-icon-storage-type, object property in GtkEntry
GtkEntry:primary-icon-tooltip-markup, object property in GtkEntry
GtkEntry:primary-icon-tooltip-text, object property in GtkEntry
GtkEntry:progress-fraction, object property in GtkEntry
GtkEntry:progress-pulse-step, object property in GtkEntry
GtkEntry:scroll-offset, object property in GtkEntry
GtkEntry:secondary-icon-activatable, object property in GtkEntry
GtkEntry:secondary-icon-gicon, object property in GtkEntry
GtkEntry:secondary-icon-name, object property in GtkEntry
GtkEntry:secondary-icon-paintable, object property in GtkEntry
GtkEntry:secondary-icon-sensitive, object property in GtkEntry
GtkEntry:secondary-icon-storage-type, object property in GtkEntry
GtkEntry:secondary-icon-tooltip-markup, object property in GtkEntry
GtkEntry:secondary-icon-tooltip-text, object property in GtkEntry
GtkEntry:show-emoji-icon, object property in GtkEntry
GtkEntry:tabs, object property in GtkEntry
GtkEntry:text-length, object property in GtkEntry
GtkEntry:truncate-multiline, object property in GtkEntry
GtkEntry:visibility, object property in GtkEntry
GtkEntryBuffer, struct in GtkEntryBuffer
GtkEntryBuffer::deleted-text, object signal in GtkEntryBuffer
GtkEntryBuffer::inserted-text, object signal in GtkEntryBuffer
GtkEntryBuffer:length, object property in GtkEntryBuffer
GtkEntryBuffer:max-length, object property in GtkEntryBuffer
GtkEntryBuffer:text, object property in GtkEntryBuffer
GtkEntryClass, struct in GtkEntry
GtkEntryCompletion, struct in GtkEntryCompletion
GtkEntryCompletion::action-activated, object signal in GtkEntryCompletion
GtkEntryCompletion::cursor-on-match, object signal in GtkEntryCompletion
GtkEntryCompletion::insert-prefix, object signal in GtkEntryCompletion
GtkEntryCompletion::match-selected, object signal in GtkEntryCompletion
GtkEntryCompletion::no-matches, object signal in GtkEntryCompletion
GtkEntryCompletion:cell-area, object property in GtkEntryCompletion
GtkEntryCompletion:inline-completion, object property in GtkEntryCompletion
GtkEntryCompletion:inline-selection, object property in GtkEntryCompletion
GtkEntryCompletion:minimum-key-length, object property in GtkEntryCompletion
GtkEntryCompletion:model, object property in GtkEntryCompletion
GtkEntryCompletion:popup-completion, object property in GtkEntryCompletion
GtkEntryCompletion:popup-set-width, object property in GtkEntryCompletion
GtkEntryCompletion:popup-single-match, object property in GtkEntryCompletion
GtkEntryCompletion:text-column, object property in GtkEntryCompletion
GtkEntryCompletionMatchFunc, user_function in GtkEntryCompletion
GtkEntryIconPosition, enum in GtkEntry
gtk_entry_buffer_delete_text, function in GtkEntryBuffer
gtk_entry_buffer_emit_deleted_text, function in GtkEntryBuffer
gtk_entry_buffer_emit_inserted_text, function in GtkEntryBuffer
gtk_entry_buffer_get_bytes, function in GtkEntryBuffer
gtk_entry_buffer_get_length, function in GtkEntryBuffer
gtk_entry_buffer_get_max_length, function in GtkEntryBuffer
gtk_entry_buffer_get_text, function in GtkEntryBuffer
gtk_entry_buffer_insert_text, function in GtkEntryBuffer
gtk_entry_buffer_new, function in GtkEntryBuffer
gtk_entry_buffer_set_max_length, function in GtkEntryBuffer
gtk_entry_buffer_set_text, function in GtkEntryBuffer
gtk_entry_completion_complete, function in GtkEntryCompletion
gtk_entry_completion_compute_prefix, function in GtkEntryCompletion
gtk_entry_completion_delete_action, function in GtkEntryCompletion
gtk_entry_completion_get_completion_prefix, function in GtkEntryCompletion
gtk_entry_completion_get_entry, function in GtkEntryCompletion
gtk_entry_completion_get_inline_completion, function in GtkEntryCompletion
gtk_entry_completion_get_inline_selection, function in GtkEntryCompletion
gtk_entry_completion_get_minimum_key_length, function in GtkEntryCompletion
gtk_entry_completion_get_model, function in GtkEntryCompletion
gtk_entry_completion_get_popup_completion, function in GtkEntryCompletion
gtk_entry_completion_get_popup_set_width, function in GtkEntryCompletion
gtk_entry_completion_get_popup_single_match, function in GtkEntryCompletion
gtk_entry_completion_get_text_column, function in GtkEntryCompletion
gtk_entry_completion_insert_action_markup, function in GtkEntryCompletion
gtk_entry_completion_insert_action_text, function in GtkEntryCompletion
gtk_entry_completion_insert_prefix, function in GtkEntryCompletion
gtk_entry_completion_new, function in GtkEntryCompletion
gtk_entry_completion_new_with_area, function in GtkEntryCompletion
gtk_entry_completion_set_inline_completion, function in GtkEntryCompletion
gtk_entry_completion_set_inline_selection, function in GtkEntryCompletion
gtk_entry_completion_set_match_func, function in GtkEntryCompletion
gtk_entry_completion_set_minimum_key_length, function in GtkEntryCompletion
gtk_entry_completion_set_model, function in GtkEntryCompletion
gtk_entry_completion_set_popup_completion, function in GtkEntryCompletion
gtk_entry_completion_set_popup_set_width, function in GtkEntryCompletion
gtk_entry_completion_set_popup_single_match, function in GtkEntryCompletion
gtk_entry_completion_set_text_column, function in GtkEntryCompletion
gtk_entry_get_activates_default, function in GtkEntry
gtk_entry_get_alignment, function in GtkEntry
gtk_entry_get_attributes, function in GtkEntry
gtk_entry_get_buffer, function in GtkEntry
gtk_entry_get_completion, function in GtkEntry
gtk_entry_get_current_icon_drag_source, function in GtkEntry
gtk_entry_get_extra_menu, function in GtkEntry
gtk_entry_get_has_frame, function in GtkEntry
gtk_entry_get_icon_activatable, function in GtkEntry
gtk_entry_get_icon_area, function in GtkEntry
gtk_entry_get_icon_at_pos, function in GtkEntry
gtk_entry_get_icon_gicon, function in GtkEntry
gtk_entry_get_icon_name, function in GtkEntry
gtk_entry_get_icon_paintable, function in GtkEntry
gtk_entry_get_icon_sensitive, function in GtkEntry
gtk_entry_get_icon_storage_type, function in GtkEntry
gtk_entry_get_icon_tooltip_markup, function in GtkEntry
gtk_entry_get_icon_tooltip_text, function in GtkEntry
gtk_entry_get_input_hints, function in GtkEntry
gtk_entry_get_input_purpose, function in GtkEntry
gtk_entry_get_invisible_char, function in GtkEntry
gtk_entry_get_max_length, function in GtkEntry
gtk_entry_get_overwrite_mode, function in GtkEntry
gtk_entry_get_placeholder_text, function in GtkEntry
gtk_entry_get_progress_fraction, function in GtkEntry
gtk_entry_get_progress_pulse_step, function in GtkEntry
gtk_entry_get_tabs, function in GtkEntry
gtk_entry_get_text_length, function in GtkEntry
gtk_entry_get_visibility, function in GtkEntry
gtk_entry_grab_focus_without_selecting, function in GtkEntry
gtk_entry_new, function in GtkEntry
gtk_entry_new_with_buffer, function in GtkEntry
gtk_entry_progress_pulse, function in GtkEntry
gtk_entry_reset_im_context, function in GtkEntry
gtk_entry_set_activates_default, function in GtkEntry
gtk_entry_set_alignment, function in GtkEntry
gtk_entry_set_attributes, function in GtkEntry
gtk_entry_set_buffer, function in GtkEntry
gtk_entry_set_completion, function in GtkEntry
gtk_entry_set_extra_menu, function in GtkEntry
gtk_entry_set_has_frame, function in GtkEntry
gtk_entry_set_icon_activatable, function in GtkEntry
gtk_entry_set_icon_drag_source, function in GtkEntry
gtk_entry_set_icon_from_gicon, function in GtkEntry
gtk_entry_set_icon_from_icon_name, function in GtkEntry
gtk_entry_set_icon_from_paintable, function in GtkEntry
gtk_entry_set_icon_sensitive, function in GtkEntry
gtk_entry_set_icon_tooltip_markup, function in GtkEntry
gtk_entry_set_icon_tooltip_text, function in GtkEntry
gtk_entry_set_input_hints, function in GtkEntry
gtk_entry_set_input_purpose, function in GtkEntry
gtk_entry_set_invisible_char, function in GtkEntry
gtk_entry_set_max_length, function in GtkEntry
gtk_entry_set_overwrite_mode, function in GtkEntry
gtk_entry_set_placeholder_text, function in GtkEntry
gtk_entry_set_progress_fraction, function in GtkEntry
gtk_entry_set_progress_pulse_step, function in GtkEntry
gtk_entry_set_tabs, function in GtkEntry
gtk_entry_set_visibility, function in GtkEntry
gtk_entry_unset_invisible_char, function in GtkEntry
gtk_enumerate_printers, function in GtkPrinter
GtkEventController, struct in GtkEventController
GtkEventController:name, object property in GtkEventController
GtkEventController:propagation-limit, object property in GtkEventController
GtkEventController:propagation-phase, object property in GtkEventController
GtkEventController:widget, object property in GtkEventController
GtkEventControllerKey, struct in GtkEventControllerKey
GtkEventControllerKey::focus-in, object signal in GtkEventControllerKey
GtkEventControllerKey::focus-out, object signal in GtkEventControllerKey
GtkEventControllerKey::im-update, object signal in GtkEventControllerKey
GtkEventControllerKey::key-pressed, object signal in GtkEventControllerKey
GtkEventControllerKey::key-released, object signal in GtkEventControllerKey
GtkEventControllerKey::modifiers, object signal in GtkEventControllerKey
GtkEventControllerKey:contains-focus, object property in GtkEventControllerKey
GtkEventControllerKey:is-focus, object property in GtkEventControllerKey
GtkEventControllerLegacy, struct in GtkEventControllerLegacy
GtkEventControllerLegacy::event, object signal in GtkEventControllerLegacy
GtkEventControllerMotion, struct in GtkEventControllerMotion
GtkEventControllerMotion::enter, object signal in GtkEventControllerMotion
GtkEventControllerMotion::leave, object signal in GtkEventControllerMotion
GtkEventControllerMotion::motion, object signal in GtkEventControllerMotion
GtkEventControllerMotion:contains-pointer, object property in GtkEventControllerMotion
GtkEventControllerMotion:is-pointer, object property in GtkEventControllerMotion
GtkEventControllerScroll, struct in GtkEventControllerScroll
GtkEventControllerScroll::decelerate, object signal in GtkEventControllerScroll
GtkEventControllerScroll::scroll, object signal in GtkEventControllerScroll
GtkEventControllerScroll::scroll-begin, object signal in GtkEventControllerScroll
GtkEventControllerScroll::scroll-end, object signal in GtkEventControllerScroll
GtkEventControllerScroll:flags, object property in GtkEventControllerScroll
GtkEventControllerScrollFlags, enum in GtkEventControllerScroll
GtkEventSequenceState, enum in GtkGesture
gtk_event_controller_get_propagation_limit, function in GtkEventController
gtk_event_controller_get_propagation_phase, function in GtkEventController
gtk_event_controller_get_widget, function in GtkEventController
gtk_event_controller_handle_event, function in GtkEventController
gtk_event_controller_key_contains_focus, function in GtkEventControllerKey
gtk_event_controller_key_forward, function in GtkEventControllerKey
gtk_event_controller_key_get_focus_origin, function in GtkEventControllerKey
gtk_event_controller_key_get_focus_target, function in GtkEventControllerKey
gtk_event_controller_key_get_group, function in GtkEventControllerKey
gtk_event_controller_key_get_im_context, function in GtkEventControllerKey
gtk_event_controller_key_is_focus, function in GtkEventControllerKey
gtk_event_controller_key_new, function in GtkEventControllerKey
gtk_event_controller_key_set_im_context, function in GtkEventControllerKey
gtk_event_controller_legacy_new, function in GtkEventControllerLegacy
gtk_event_controller_motion_contains_pointer, function in GtkEventControllerMotion
gtk_event_controller_motion_get_pointer_origin, function in GtkEventControllerMotion
gtk_event_controller_motion_get_pointer_target, function in GtkEventControllerMotion
gtk_event_controller_motion_is_pointer, function in GtkEventControllerMotion
gtk_event_controller_motion_new, function in GtkEventControllerMotion
gtk_event_controller_reset, function in GtkEventController
gtk_event_controller_scroll_get_flags, function in GtkEventControllerScroll
gtk_event_controller_scroll_new, function in GtkEventControllerScroll
gtk_event_controller_scroll_set_flags, function in GtkEventControllerScroll
gtk_event_controller_set_propagation_limit, function in GtkEventController
gtk_event_controller_set_propagation_phase, function in GtkEventController
GtkExpander, struct in GtkExpander
GtkExpander::activate, object signal in GtkExpander
GtkExpander:expanded, object property in GtkExpander
GtkExpander:label, object property in GtkExpander
GtkExpander:label-widget, object property in GtkExpander
GtkExpander:resize-toplevel, object property in GtkExpander
GtkExpander:use-markup, object property in GtkExpander
GtkExpander:use-underline, object property in GtkExpander
gtk_expander_get_expanded, function in GtkExpander
gtk_expander_get_label, function in GtkExpander
gtk_expander_get_label_widget, function in GtkExpander
gtk_expander_get_resize_toplevel, function in GtkExpander
gtk_expander_get_use_markup, function in GtkExpander
gtk_expander_get_use_underline, function in GtkExpander
gtk_expander_new, function in GtkExpander
gtk_expander_new_with_mnemonic, function in GtkExpander
gtk_expander_set_expanded, function in GtkExpander
gtk_expander_set_label, function in GtkExpander
gtk_expander_set_label_widget, function in GtkExpander
gtk_expander_set_resize_toplevel, function in GtkExpander
gtk_expander_set_use_markup, function in GtkExpander
gtk_expander_set_use_underline, function in GtkExpander
F
GtkFileChooser, struct in GtkFileChooser
GtkFileChooser::confirm-overwrite, object signal in GtkFileChooser
GtkFileChooser::current-folder-changed, object signal in GtkFileChooser
GtkFileChooser::file-activated, object signal in GtkFileChooser
GtkFileChooser::selection-changed, object signal in GtkFileChooser
GtkFileChooser::update-preview, object signal in GtkFileChooser
GtkFileChooser:action, object property in GtkFileChooser
GtkFileChooser:create-folders, object property in GtkFileChooser
GtkFileChooser:do-overwrite-confirmation, object property in GtkFileChooser
GtkFileChooser:extra-widget, object property in GtkFileChooser
GtkFileChooser:filter, object property in GtkFileChooser
GtkFileChooser:local-only, object property in GtkFileChooser
GtkFileChooser:preview-widget, object property in GtkFileChooser
GtkFileChooser:preview-widget-active, object property in GtkFileChooser
GtkFileChooser:select-multiple, object property in GtkFileChooser
GtkFileChooser:show-hidden, object property in GtkFileChooser
GtkFileChooser:use-preview-label, object property in GtkFileChooser
GtkFileChooserAction, enum in GtkFileChooser
GtkFileChooserButton, struct in GtkFileChooserButton
GtkFileChooserButton::file-set, object signal in GtkFileChooserButton
GtkFileChooserButton:dialog, object property in GtkFileChooserButton
GtkFileChooserButton:title, object property in GtkFileChooserButton
GtkFileChooserButton:width-chars, object property in GtkFileChooserButton
GtkFileChooserConfirmation, enum in GtkFileChooser
GtkFileChooserDialog, struct in GtkFileChooserDialog
GtkFileChooserError, enum in GtkFileChooser
GtkFileChooserWidget, struct in GtkFileChooserWidget
GtkFileChooserWidget::desktop-folder, object signal in GtkFileChooserWidget
GtkFileChooserWidget::down-folder, object signal in GtkFileChooserWidget
GtkFileChooserWidget::home-folder, object signal in GtkFileChooserWidget
GtkFileChooserWidget::location-popup, object signal in GtkFileChooserWidget
GtkFileChooserWidget::location-popup-on-paste, object signal in GtkFileChooserWidget
GtkFileChooserWidget::location-toggle-popup, object signal in GtkFileChooserWidget
GtkFileChooserWidget::places-shortcut, object signal in GtkFileChooserWidget
GtkFileChooserWidget::quick-bookmark, object signal in GtkFileChooserWidget
GtkFileChooserWidget::recent-shortcut, object signal in GtkFileChooserWidget
GtkFileChooserWidget::search-shortcut, object signal in GtkFileChooserWidget
GtkFileChooserWidget::show-hidden, object signal in GtkFileChooserWidget
GtkFileChooserWidget::up-folder, object signal in GtkFileChooserWidget
GtkFileChooserWidget:search-mode, object property in GtkFileChooserWidget
GtkFileChooserWidget:subtitle, object property in GtkFileChooserWidget
GtkFileFilter, struct in GtkFileFilter
GtkFileFilterFlags, enum in GtkFileFilter
GtkFileFilterFunc, user_function in GtkFileFilter
GtkFileFilterInfo, struct in GtkFileFilter
gtk_file_chooser_add_choice, function in GtkFileChooser
gtk_file_chooser_add_filter, function in GtkFileChooser
gtk_file_chooser_add_shortcut_folder, function in GtkFileChooser
gtk_file_chooser_add_shortcut_folder_uri, function in GtkFileChooser
gtk_file_chooser_button_get_title, function in GtkFileChooserButton
gtk_file_chooser_button_get_width_chars, function in GtkFileChooserButton
gtk_file_chooser_button_new, function in GtkFileChooserButton
gtk_file_chooser_button_new_with_dialog, function in GtkFileChooserButton
gtk_file_chooser_button_set_title, function in GtkFileChooserButton
gtk_file_chooser_button_set_width_chars, function in GtkFileChooserButton
gtk_file_chooser_dialog_new, function in GtkFileChooserDialog
GTK_FILE_CHOOSER_ERROR, macro in GtkFileChooser
gtk_file_chooser_get_action, function in GtkFileChooser
gtk_file_chooser_get_choice, function in GtkFileChooser
gtk_file_chooser_get_create_folders, function in GtkFileChooser
gtk_file_chooser_get_current_folder, function in GtkFileChooser
gtk_file_chooser_get_current_folder_file, function in GtkFileChooser
gtk_file_chooser_get_current_folder_uri, function in GtkFileChooser
gtk_file_chooser_get_current_name, function in GtkFileChooser
gtk_file_chooser_get_do_overwrite_confirmation, function in GtkFileChooser
gtk_file_chooser_get_extra_widget, function in GtkFileChooser
gtk_file_chooser_get_file, function in GtkFileChooser
gtk_file_chooser_get_filename, function in GtkFileChooser
gtk_file_chooser_get_filenames, function in GtkFileChooser
gtk_file_chooser_get_files, function in GtkFileChooser
gtk_file_chooser_get_filter, function in GtkFileChooser
gtk_file_chooser_get_local_only, function in GtkFileChooser
gtk_file_chooser_get_preview_file, function in GtkFileChooser
gtk_file_chooser_get_preview_filename, function in GtkFileChooser
gtk_file_chooser_get_preview_uri, function in GtkFileChooser
gtk_file_chooser_get_preview_widget, function in GtkFileChooser
gtk_file_chooser_get_preview_widget_active, function in GtkFileChooser
gtk_file_chooser_get_select_multiple, function in GtkFileChooser
gtk_file_chooser_get_show_hidden, function in GtkFileChooser
gtk_file_chooser_get_uri, function in GtkFileChooser
gtk_file_chooser_get_uris, function in GtkFileChooser
gtk_file_chooser_get_use_preview_label, function in GtkFileChooser
gtk_file_chooser_list_filters, function in GtkFileChooser
gtk_file_chooser_list_shortcut_folders, function in GtkFileChooser
gtk_file_chooser_list_shortcut_folder_uris, function in GtkFileChooser
gtk_file_chooser_native_get_accept_label, function in GtkFileChooserNative
gtk_file_chooser_native_get_cancel_label, function in GtkFileChooserNative
gtk_file_chooser_native_new, function in GtkFileChooserNative
gtk_file_chooser_native_set_accept_label, function in GtkFileChooserNative
gtk_file_chooser_native_set_cancel_label, function in GtkFileChooserNative
gtk_file_chooser_remove_choice, function in GtkFileChooser
gtk_file_chooser_remove_filter, function in GtkFileChooser
gtk_file_chooser_remove_shortcut_folder, function in GtkFileChooser
gtk_file_chooser_remove_shortcut_folder_uri, function in GtkFileChooser
gtk_file_chooser_select_all, function in GtkFileChooser
gtk_file_chooser_select_file, function in GtkFileChooser
gtk_file_chooser_select_filename, function in GtkFileChooser
gtk_file_chooser_select_uri, function in GtkFileChooser
gtk_file_chooser_set_action, function in GtkFileChooser
gtk_file_chooser_set_choice, function in GtkFileChooser
gtk_file_chooser_set_create_folders, function in GtkFileChooser
gtk_file_chooser_set_current_folder, function in GtkFileChooser
gtk_file_chooser_set_current_folder_file, function in GtkFileChooser
gtk_file_chooser_set_current_folder_uri, function in GtkFileChooser
gtk_file_chooser_set_current_name, function in GtkFileChooser
gtk_file_chooser_set_do_overwrite_confirmation, function in GtkFileChooser
gtk_file_chooser_set_extra_widget, function in GtkFileChooser
gtk_file_chooser_set_file, function in GtkFileChooser
gtk_file_chooser_set_filename, function in GtkFileChooser
gtk_file_chooser_set_filter, function in GtkFileChooser
gtk_file_chooser_set_local_only, function in GtkFileChooser
gtk_file_chooser_set_preview_widget, function in GtkFileChooser
gtk_file_chooser_set_preview_widget_active, function in GtkFileChooser
gtk_file_chooser_set_select_multiple, function in GtkFileChooser
gtk_file_chooser_set_show_hidden, function in GtkFileChooser
gtk_file_chooser_set_uri, function in GtkFileChooser
gtk_file_chooser_set_use_preview_label, function in GtkFileChooser
gtk_file_chooser_unselect_all, function in GtkFileChooser
gtk_file_chooser_unselect_file, function in GtkFileChooser
gtk_file_chooser_unselect_filename, function in GtkFileChooser
gtk_file_chooser_unselect_uri, function in GtkFileChooser
gtk_file_chooser_widget_new, function in GtkFileChooserWidget
gtk_file_filter_add_custom, function in GtkFileFilter
gtk_file_filter_add_mime_type, function in GtkFileFilter
gtk_file_filter_add_pattern, function in GtkFileFilter
gtk_file_filter_add_pixbuf_formats, function in GtkFileFilter
gtk_file_filter_filter, function in GtkFileFilter
gtk_file_filter_get_name, function in GtkFileFilter
gtk_file_filter_get_needed, function in GtkFileFilter
gtk_file_filter_new, function in GtkFileFilter
gtk_file_filter_new_from_gvariant, function in GtkFileFilter
gtk_file_filter_set_name, function in GtkFileFilter
gtk_file_filter_to_gvariant, function in GtkFileFilter
GtkFilterListModel, struct in GtkFilterListModel
GtkFilterListModel:has-filter, object property in GtkFilterListModel
GtkFilterListModel:item-type, object property in GtkFilterListModel
GtkFilterListModel:model, object property in GtkFilterListModel
gtk_filter_list_model_get_model, function in GtkFilterListModel
gtk_filter_list_model_has_filter, function in GtkFilterListModel
gtk_filter_list_model_new, function in GtkFilterListModel
gtk_filter_list_model_new_for_type, function in GtkFilterListModel
gtk_filter_list_model_refilter, function in GtkFilterListModel
gtk_filter_list_model_set_filter_func, function in GtkFilterListModel
gtk_filter_list_model_set_model, function in GtkFilterListModel
GtkFixed, struct in GtkFixed
GtkFixedLayout, struct in GtkFixedLayout
GtkFixedLayoutChild, struct in GtkFixedLayout
gtk_fixed_layout_child_get_transform, function in GtkFixedLayout
gtk_fixed_layout_child_set_transform, function in GtkFixedLayout
gtk_fixed_layout_new, function in GtkFixedLayout
gtk_fixed_move, function in GtkFixed
gtk_fixed_new, function in GtkFixed
gtk_fixed_put, function in GtkFixed
GtkFlattenListModel, struct in GtkFlattenListModel
GtkFlattenListModel:item-type, object property in GtkFlattenListModel
GtkFlattenListModel:model, object property in GtkFlattenListModel
gtk_flatten_list_model_get_model, function in GtkFlattenListModel
gtk_flatten_list_model_new, function in GtkFlattenListModel
gtk_flatten_list_model_set_model, function in GtkFlattenListModel
GtkFlowBox, struct in GtkFlowBox
GtkFlowBox::activate-cursor-child, object signal in GtkFlowBox
GtkFlowBox::child-activated, object signal in GtkFlowBox
GtkFlowBox::move-cursor, object signal in GtkFlowBox
GtkFlowBox::select-all, object signal in GtkFlowBox
GtkFlowBox::selected-children-changed, object signal in GtkFlowBox
GtkFlowBox::toggle-cursor-child, object signal in GtkFlowBox
GtkFlowBox::unselect-all, object signal in GtkFlowBox
GtkFlowBox:accept-unpaired-release, object property in GtkFlowBox
GtkFlowBox:activate-on-single-click, object property in GtkFlowBox
GtkFlowBox:column-spacing, object property in GtkFlowBox
GtkFlowBox:homogeneous, object property in GtkFlowBox
GtkFlowBox:max-children-per-line, object property in GtkFlowBox
GtkFlowBox:min-children-per-line, object property in GtkFlowBox
GtkFlowBox:row-spacing, object property in GtkFlowBox
GtkFlowBox:selection-mode, object property in GtkFlowBox
GtkFlowBoxChild, struct in GtkFlowBox
GtkFlowBoxChild::activate, object signal in GtkFlowBox
GtkFlowBoxCreateWidgetFunc, user_function in GtkFlowBox
GtkFlowBoxFilterFunc, user_function in GtkFlowBox
GtkFlowBoxForeachFunc, user_function in GtkFlowBox
GtkFlowBoxSortFunc, user_function in GtkFlowBox
gtk_flow_box_bind_model, function in GtkFlowBox
gtk_flow_box_child_changed, function in GtkFlowBox
gtk_flow_box_child_get_index, function in GtkFlowBox
gtk_flow_box_child_is_selected, function in GtkFlowBox
gtk_flow_box_child_new, function in GtkFlowBox
gtk_flow_box_get_activate_on_single_click, function in GtkFlowBox
gtk_flow_box_get_child_at_index, function in GtkFlowBox
gtk_flow_box_get_child_at_pos, function in GtkFlowBox
gtk_flow_box_get_column_spacing, function in GtkFlowBox
gtk_flow_box_get_homogeneous, function in GtkFlowBox
gtk_flow_box_get_max_children_per_line, function in GtkFlowBox
gtk_flow_box_get_min_children_per_line, function in GtkFlowBox
gtk_flow_box_get_row_spacing, function in GtkFlowBox
gtk_flow_box_get_selected_children, function in GtkFlowBox
gtk_flow_box_get_selection_mode, function in GtkFlowBox
gtk_flow_box_insert, function in GtkFlowBox
gtk_flow_box_invalidate_filter, function in GtkFlowBox
gtk_flow_box_invalidate_sort, function in GtkFlowBox
gtk_flow_box_new, function in GtkFlowBox
gtk_flow_box_selected_foreach, function in GtkFlowBox
gtk_flow_box_select_all, function in GtkFlowBox
gtk_flow_box_select_child, function in GtkFlowBox
gtk_flow_box_set_activate_on_single_click, function in GtkFlowBox
gtk_flow_box_set_column_spacing, function in GtkFlowBox
gtk_flow_box_set_filter_func, function in GtkFlowBox
gtk_flow_box_set_hadjustment, function in GtkFlowBox
gtk_flow_box_set_homogeneous, function in GtkFlowBox
gtk_flow_box_set_max_children_per_line, function in GtkFlowBox
gtk_flow_box_set_min_children_per_line, function in GtkFlowBox
gtk_flow_box_set_row_spacing, function in GtkFlowBox
gtk_flow_box_set_selection_mode, function in GtkFlowBox
gtk_flow_box_set_sort_func, function in GtkFlowBox
gtk_flow_box_set_vadjustment, function in GtkFlowBox
gtk_flow_box_unselect_all, function in GtkFlowBox
gtk_flow_box_unselect_child, function in GtkFlowBox
GtkFontButton, struct in GtkFontButton
GtkFontButton::font-set, object signal in GtkFontButton
GtkFontButton:title, object property in GtkFontButton
GtkFontButton:use-font, object property in GtkFontButton
GtkFontButton:use-size, object property in GtkFontButton
GtkFontChooser, struct in GtkFontChooser
GtkFontChooser::font-activated, object signal in GtkFontChooser
GtkFontChooser:font, object property in GtkFontChooser
GtkFontChooser:font-desc, object property in GtkFontChooser
GtkFontChooser:font-features, object property in GtkFontChooser
GtkFontChooser:language, object property in GtkFontChooser
GtkFontChooser:level, object property in GtkFontChooser
GtkFontChooser:preview-text, object property in GtkFontChooser
GtkFontChooser:show-preview-entry, object property in GtkFontChooser
GtkFontChooserDialog, struct in GtkFontChooserDialog
GtkFontChooserLevel, enum in GtkFontChooser
GtkFontChooserWidget, struct in GtkFontChooserWidget
GtkFontChooserWidget:tweak-action, object property in GtkFontChooserWidget
GtkFontFilterFunc, user_function in GtkFontChooser
gtk_font_button_get_title, function in GtkFontButton
gtk_font_button_get_use_font, function in GtkFontButton
gtk_font_button_get_use_size, function in GtkFontButton
gtk_font_button_new, function in GtkFontButton
gtk_font_button_new_with_font, function in GtkFontButton
gtk_font_button_set_title, function in GtkFontButton
gtk_font_button_set_use_font, function in GtkFontButton
gtk_font_button_set_use_size, function in GtkFontButton
gtk_font_chooser_dialog_new, function in GtkFontChooserDialog
gtk_font_chooser_get_font, function in GtkFontChooser
gtk_font_chooser_get_font_desc, function in GtkFontChooser
gtk_font_chooser_get_font_face, function in GtkFontChooser
gtk_font_chooser_get_font_family, function in GtkFontChooser
gtk_font_chooser_get_font_features, function in GtkFontChooser
gtk_font_chooser_get_font_map, function in GtkFontChooser
gtk_font_chooser_get_font_size, function in GtkFontChooser
gtk_font_chooser_get_language, function in GtkFontChooser
gtk_font_chooser_get_level, function in GtkFontChooser
gtk_font_chooser_get_preview_text, function in GtkFontChooser
gtk_font_chooser_get_show_preview_entry, function in GtkFontChooser
gtk_font_chooser_set_filter_func, function in GtkFontChooser
gtk_font_chooser_set_font, function in GtkFontChooser
gtk_font_chooser_set_font_desc, function in GtkFontChooser
gtk_font_chooser_set_font_map, function in GtkFontChooser
gtk_font_chooser_set_language, function in GtkFontChooser
gtk_font_chooser_set_level, function in GtkFontChooser
gtk_font_chooser_set_preview_text, function in GtkFontChooser
gtk_font_chooser_set_show_preview_entry, function in GtkFontChooser
gtk_font_chooser_widget_new, function in GtkFontChooserWidget
GtkFrame, struct in GtkFrame
GtkFrame:label, object property in GtkFrame
GtkFrame:label-widget, object property in GtkFrame
GtkFrame:label-xalign, object property in GtkFrame
GtkFrame:shadow-type, object property in GtkFrame
GtkFrameClass, struct in GtkFrame
gtk_frame_get_label, function in GtkFrame
gtk_frame_get_label_align, function in GtkFrame
gtk_frame_get_label_widget, function in GtkFrame
gtk_frame_get_shadow_type, function in GtkFrame
gtk_frame_new, function in GtkFrame
gtk_frame_set_label, function in GtkFrame
gtk_frame_set_label_align, function in GtkFrame
gtk_frame_set_label_widget, function in GtkFrame
gtk_frame_set_shadow_type, function in GtkFrame
G
GtkGesture, struct in GtkGesture
GtkGesture::begin, object signal in GtkGesture
GtkGesture::cancel, object signal in GtkGesture
GtkGesture::end, object signal in GtkGesture
GtkGesture::sequence-state-changed, object signal in GtkGesture
GtkGesture::update, object signal in GtkGesture
GtkGesture:n-points, object property in GtkGesture
GtkGestureClick, struct in GtkGestureClick
GtkGestureClick::pressed, object signal in GtkGestureClick
GtkGestureClick::released, object signal in GtkGestureClick
GtkGestureClick::stopped, object signal in GtkGestureClick
GtkGestureClick::unpaired-release, object signal in GtkGestureClick
GtkGestureDrag, struct in GtkGestureDrag
GtkGestureDrag::drag-begin, object signal in GtkGestureDrag
GtkGestureDrag::drag-end, object signal in GtkGestureDrag
GtkGestureDrag::drag-update, object signal in GtkGestureDrag
GtkGestureLongPress, struct in GtkGestureLongPress
GtkGestureLongPress::cancelled, object signal in GtkGestureLongPress
GtkGestureLongPress::pressed, object signal in GtkGestureLongPress
GtkGestureLongPress:delay-factor, object property in GtkGestureLongPress
GtkGesturePan, struct in GtkGesturePan
GtkGesturePan::pan, object signal in GtkGesturePan
GtkGesturePan:orientation, object property in GtkGesturePan
GtkGestureRotate, struct in GtkGestureRotate
GtkGestureRotate::angle-changed, object signal in GtkGestureRotate
GtkGestureSingle, struct in GtkGestureSingle
GtkGestureSingle:button, object property in GtkGestureSingle
GtkGestureSingle:exclusive, object property in GtkGestureSingle
GtkGestureSingle:touch-only, object property in GtkGestureSingle
GtkGestureStylus, struct in GtkGestureStylus
GtkGestureStylus::down, object signal in GtkGestureStylus
GtkGestureStylus::motion, object signal in GtkGestureStylus
GtkGestureStylus::proximity, object signal in GtkGestureStylus
GtkGestureStylus::up, object signal in GtkGestureStylus
GtkGestureSwipe, struct in GtkGestureSwipe
GtkGestureSwipe::swipe, object signal in GtkGestureSwipe
GtkGestureZoom, struct in GtkGestureZoom
GtkGestureZoom::scale-changed, object signal in GtkGestureZoom
gtk_gesture_click_get_area, function in GtkGestureClick
gtk_gesture_click_new, function in GtkGestureClick
gtk_gesture_click_set_area, function in GtkGestureClick
gtk_gesture_drag_get_offset, function in GtkGestureDrag
gtk_gesture_drag_get_start_point, function in GtkGestureDrag
gtk_gesture_drag_new, function in GtkGestureDrag
gtk_gesture_get_bounding_box, function in GtkGesture
gtk_gesture_get_bounding_box_center, function in GtkGesture
gtk_gesture_get_device, function in GtkGesture
gtk_gesture_get_group, function in GtkGesture
gtk_gesture_get_last_event, function in GtkGesture
gtk_gesture_get_last_updated_sequence, function in GtkGesture
gtk_gesture_get_point, function in GtkGesture
gtk_gesture_get_sequences, function in GtkGesture
gtk_gesture_get_sequence_state, function in GtkGesture
gtk_gesture_group, function in GtkGesture
gtk_gesture_handles_sequence, function in GtkGesture
gtk_gesture_is_active, function in GtkGesture
gtk_gesture_is_grouped_with, function in GtkGesture
gtk_gesture_is_recognized, function in GtkGesture
gtk_gesture_long_press_get_delay_factor, function in GtkGestureLongPress
gtk_gesture_long_press_new, function in GtkGestureLongPress
gtk_gesture_long_press_set_delay_factor, function in GtkGestureLongPress
gtk_gesture_pan_get_orientation, function in GtkGesturePan
gtk_gesture_pan_new, function in GtkGesturePan
gtk_gesture_pan_set_orientation, function in GtkGesturePan
gtk_gesture_rotate_get_angle_delta, function in GtkGestureRotate
gtk_gesture_rotate_new, function in GtkGestureRotate
gtk_gesture_set_sequence_state, function in GtkGesture
gtk_gesture_set_state, function in GtkGesture
gtk_gesture_single_get_button, function in GtkGestureSingle
gtk_gesture_single_get_current_button, function in GtkGestureSingle
gtk_gesture_single_get_current_sequence, function in GtkGestureSingle
gtk_gesture_single_get_exclusive, function in GtkGestureSingle
gtk_gesture_single_get_touch_only, function in GtkGestureSingle
gtk_gesture_single_set_button, function in GtkGestureSingle
gtk_gesture_single_set_exclusive, function in GtkGestureSingle
gtk_gesture_single_set_touch_only, function in GtkGestureSingle
gtk_gesture_stylus_get_axes, function in GtkGestureStylus
gtk_gesture_stylus_get_axis, function in GtkGestureStylus
gtk_gesture_stylus_get_backlog, function in GtkGestureStylus
gtk_gesture_stylus_get_device_tool, function in GtkGestureStylus
gtk_gesture_stylus_new, function in GtkGestureStylus
gtk_gesture_swipe_get_velocity, function in GtkGestureSwipe
gtk_gesture_swipe_new, function in GtkGestureSwipe
gtk_gesture_ungroup, function in GtkGesture
gtk_gesture_zoom_get_scale_delta, function in GtkGestureZoom
gtk_gesture_zoom_new, function in GtkGestureZoom
gtk_get_binary_age, function in Feature Test Macros
gtk_get_current_event, function in General
gtk_get_current_event_device, function in General
gtk_get_current_event_state, function in General
gtk_get_current_event_time, function in General
gtk_get_default_language, function in General
gtk_get_event_target, function in General
gtk_get_event_target_with_type, function in General
gtk_get_event_widget, function in General
gtk_get_interface_age, function in Feature Test Macros
gtk_get_locale_direction, function in General
gtk_get_major_version, function in Feature Test Macros
gtk_get_micro_version, function in Feature Test Macros
gtk_get_minor_version, function in Feature Test Macros
GtkGLArea, struct in GtkGLArea
GtkGLArea::create-context, object signal in GtkGLArea
GtkGLArea::render, object signal in GtkGLArea
GtkGLArea::resize, object signal in GtkGLArea
GtkGLArea:auto-render, object property in GtkGLArea
GtkGLArea:context, object property in GtkGLArea
GtkGLArea:has-depth-buffer, object property in GtkGLArea
GtkGLArea:has-stencil-buffer, object property in GtkGLArea
GtkGLArea:use-es, object property in GtkGLArea
GtkGLAreaClass, struct in GtkGLArea
gtk_gl_area_attach_buffers, function in GtkGLArea
gtk_gl_area_get_auto_render, function in GtkGLArea
gtk_gl_area_get_context, function in GtkGLArea
gtk_gl_area_get_error, function in GtkGLArea
gtk_gl_area_get_has_depth_buffer, function in GtkGLArea
gtk_gl_area_get_has_stencil_buffer, function in GtkGLArea
gtk_gl_area_get_required_version, function in GtkGLArea
gtk_gl_area_get_use_es, function in GtkGLArea
gtk_gl_area_make_current, function in GtkGLArea
gtk_gl_area_new, function in GtkGLArea
gtk_gl_area_queue_render, function in GtkGLArea
gtk_gl_area_set_auto_render, function in GtkGLArea
gtk_gl_area_set_error, function in GtkGLArea
gtk_gl_area_set_has_depth_buffer, function in GtkGLArea
gtk_gl_area_set_has_stencil_buffer, function in GtkGLArea
gtk_gl_area_set_required_version, function in GtkGLArea
gtk_gl_area_set_use_es, function in GtkGLArea
gtk_grab_add, function in General
gtk_grab_get_current, function in General
gtk_grab_remove, function in General
GtkGrid, struct in GtkGrid
GtkGrid:baseline-row, object property in GtkGrid
GtkGrid:column-homogeneous, object property in GtkGrid
GtkGrid:column-spacing, object property in GtkGrid
GtkGrid:row-homogeneous, object property in GtkGrid
GtkGrid:row-spacing, object property in GtkGrid
GtkGridClass, struct in GtkGrid
GtkGridLayout, struct in GtkGridLayout
GtkGridLayout:baseline-row, object property in GtkGridLayout
GtkGridLayout:column-homogeneous, object property in GtkGridLayout
GtkGridLayout:column-spacing, object property in GtkGridLayout
GtkGridLayout:row-homogeneous, object property in GtkGridLayout
GtkGridLayout:row-spacing, object property in GtkGridLayout
GtkGridLayoutChild, struct in GtkGridLayout
GtkGridLayoutChild:column-span, object property in GtkGridLayout
GtkGridLayoutChild:left-attach, object property in GtkGridLayout
GtkGridLayoutChild:row-span, object property in GtkGridLayout
GtkGridLayoutChild:top-attach, object property in GtkGridLayout
gtk_grid_attach, function in GtkGrid
gtk_grid_attach_next_to, function in GtkGrid
gtk_grid_get_baseline_row, function in GtkGrid
gtk_grid_get_child_at, function in GtkGrid
gtk_grid_get_column_homogeneous, function in GtkGrid
gtk_grid_get_column_spacing, function in GtkGrid
gtk_grid_get_row_baseline_position, function in GtkGrid
gtk_grid_get_row_homogeneous, function in GtkGrid
gtk_grid_get_row_spacing, function in GtkGrid
gtk_grid_insert_column, function in GtkGrid
gtk_grid_insert_next_to, function in GtkGrid
gtk_grid_insert_row, function in GtkGrid
gtk_grid_layout_child_get_column_span, function in GtkGridLayout
gtk_grid_layout_child_get_left_attach, function in GtkGridLayout
gtk_grid_layout_child_get_row_span, function in GtkGridLayout
gtk_grid_layout_child_get_top_attach, function in GtkGridLayout
gtk_grid_layout_child_set_column_span, function in GtkGridLayout
gtk_grid_layout_child_set_left_attach, function in GtkGridLayout
gtk_grid_layout_child_set_row_span, function in GtkGridLayout
gtk_grid_layout_child_set_top_attach, function in GtkGridLayout
gtk_grid_layout_get_baseline_row, function in GtkGridLayout
gtk_grid_layout_get_column_homogeneous, function in GtkGridLayout
gtk_grid_layout_get_column_spacing, function in GtkGridLayout
gtk_grid_layout_get_row_baseline_position, function in GtkGridLayout
gtk_grid_layout_get_row_homogeneous, function in GtkGridLayout
gtk_grid_layout_get_row_spacing, function in GtkGridLayout
gtk_grid_layout_new, function in GtkGridLayout
gtk_grid_layout_set_baseline_row, function in GtkGridLayout
gtk_grid_layout_set_column_homogeneous, function in GtkGridLayout
gtk_grid_layout_set_column_spacing, function in GtkGridLayout
gtk_grid_layout_set_row_baseline_position, function in GtkGridLayout
gtk_grid_layout_set_row_homogeneous, function in GtkGridLayout
gtk_grid_layout_set_row_spacing, function in GtkGridLayout
gtk_grid_new, function in GtkGrid
gtk_grid_remove_column, function in GtkGrid
gtk_grid_remove_row, function in GtkGrid
gtk_grid_set_baseline_row, function in GtkGrid
gtk_grid_set_column_homogeneous, function in GtkGrid
gtk_grid_set_column_spacing, function in GtkGrid
gtk_grid_set_row_baseline_position, function in GtkGrid
gtk_grid_set_row_homogeneous, function in GtkGrid
gtk_grid_set_row_spacing, function in GtkGrid
H
GtkHeaderBar, struct in GtkHeaderBar
GtkHeaderBar:custom-title, object property in GtkHeaderBar
GtkHeaderBar:decoration-layout, object property in GtkHeaderBar
GtkHeaderBar:decoration-layout-set, object property in GtkHeaderBar
GtkHeaderBar:has-subtitle, object property in GtkHeaderBar
GtkHeaderBar:show-title-buttons, object property in GtkHeaderBar
GtkHeaderBar:subtitle, object property in GtkHeaderBar
GtkHeaderBar:title, object property in GtkHeaderBar
gtk_header_bar_get_custom_title, function in GtkHeaderBar
gtk_header_bar_get_decoration_layout, function in GtkHeaderBar
gtk_header_bar_get_has_subtitle, function in GtkHeaderBar
gtk_header_bar_get_show_title_buttons, function in GtkHeaderBar
gtk_header_bar_get_subtitle, function in GtkHeaderBar
gtk_header_bar_get_title, function in GtkHeaderBar
gtk_header_bar_new, function in GtkHeaderBar
gtk_header_bar_pack_end, function in GtkHeaderBar
gtk_header_bar_pack_start, function in GtkHeaderBar
gtk_header_bar_set_custom_title, function in GtkHeaderBar
gtk_header_bar_set_decoration_layout, function in GtkHeaderBar
gtk_header_bar_set_has_subtitle, function in GtkHeaderBar
gtk_header_bar_set_show_title_buttons, function in GtkHeaderBar
gtk_header_bar_set_subtitle, function in GtkHeaderBar
gtk_header_bar_set_title, function in GtkHeaderBar
gtk_hsv_to_rgb, function in GtkColorChooser
I
GtkIconLookupFlags, enum in GtkIconTheme
GtkIconPaintable, struct in GtkIconTheme
GtkIconSize, enum in Standard Enumerations
GtkIconTheme, struct in GtkIconTheme
GtkIconTheme::changed, object signal in GtkIconTheme
GtkIconThemeError, enum in GtkIconTheme
GtkIconView, struct in GtkIconView
GtkIconView::activate-cursor-item, object signal in GtkIconView
GtkIconView::item-activated, object signal in GtkIconView
GtkIconView::move-cursor, object signal in GtkIconView
GtkIconView::select-all, object signal in GtkIconView
GtkIconView::select-cursor-item, object signal in GtkIconView
GtkIconView::selection-changed, object signal in GtkIconView
GtkIconView::toggle-cursor-item, object signal in GtkIconView
GtkIconView::unselect-all, object signal in GtkIconView
GtkIconView:activate-on-single-click, object property in GtkIconView
GtkIconView:cell-area, object property in GtkIconView
GtkIconView:column-spacing, object property in GtkIconView
GtkIconView:columns, object property in GtkIconView
GtkIconView:item-orientation, object property in GtkIconView
GtkIconView:item-padding, object property in GtkIconView
GtkIconView:item-width, object property in GtkIconView
GtkIconView:margin, object property in GtkIconView
GtkIconView:markup-column, object property in GtkIconView
GtkIconView:model, object property in GtkIconView
GtkIconView:pixbuf-column, object property in GtkIconView
GtkIconView:reorderable, object property in GtkIconView
GtkIconView:row-spacing, object property in GtkIconView
GtkIconView:selection-mode, object property in GtkIconView
GtkIconView:spacing, object property in GtkIconView
GtkIconView:text-column, object property in GtkIconView
GtkIconView:tooltip-column, object property in GtkIconView
GtkIconViewDropPosition, enum in GtkIconView
GtkIconViewForeachFunc, user_function in GtkIconView
gtk_icon_paintable_get_file, function in GtkIconTheme
gtk_icon_paintable_get_icon_name, function in GtkIconTheme
gtk_icon_paintable_is_symbolic, function in GtkIconTheme
gtk_icon_paintable_new_for_file, function in GtkIconTheme
gtk_icon_theme_add_resource_path, function in GtkIconTheme
gtk_icon_theme_append_search_path, function in GtkIconTheme
GTK_ICON_THEME_ERROR, macro in GtkIconTheme
gtk_icon_theme_get_for_display, function in GtkIconTheme
gtk_icon_theme_get_icon_sizes, function in GtkIconTheme
gtk_icon_theme_get_search_path, function in GtkIconTheme
gtk_icon_theme_has_icon, function in GtkIconTheme
gtk_icon_theme_list_icons, function in GtkIconTheme
gtk_icon_theme_lookup_by_gicon, function in GtkIconTheme
gtk_icon_theme_lookup_icon, function in GtkIconTheme
gtk_icon_theme_new, function in GtkIconTheme
gtk_icon_theme_prepend_search_path, function in GtkIconTheme
gtk_icon_theme_set_custom_theme, function in GtkIconTheme
gtk_icon_theme_set_display, function in GtkIconTheme
gtk_icon_theme_set_search_path, function in GtkIconTheme
gtk_icon_view_create_drag_icon, function in GtkIconView
gtk_icon_view_enable_model_drag_dest, function in GtkIconView
gtk_icon_view_enable_model_drag_source, function in GtkIconView
gtk_icon_view_get_activate_on_single_click, function in GtkIconView
gtk_icon_view_get_cell_rect, function in GtkIconView
gtk_icon_view_get_columns, function in GtkIconView
gtk_icon_view_get_column_spacing, function in GtkIconView
gtk_icon_view_get_cursor, function in GtkIconView
gtk_icon_view_get_dest_item_at_pos, function in GtkIconView
gtk_icon_view_get_drag_dest_item, function in GtkIconView
gtk_icon_view_get_item_at_pos, function in GtkIconView
gtk_icon_view_get_item_column, function in GtkIconView
gtk_icon_view_get_item_orientation, function in GtkIconView
gtk_icon_view_get_item_padding, function in GtkIconView
gtk_icon_view_get_item_row, function in GtkIconView
gtk_icon_view_get_item_width, function in GtkIconView
gtk_icon_view_get_margin, function in GtkIconView
gtk_icon_view_get_markup_column, function in GtkIconView
gtk_icon_view_get_model, function in GtkIconView
gtk_icon_view_get_path_at_pos, function in GtkIconView
gtk_icon_view_get_pixbuf_column, function in GtkIconView
gtk_icon_view_get_reorderable, function in GtkIconView
gtk_icon_view_get_row_spacing, function in GtkIconView
gtk_icon_view_get_selected_items, function in GtkIconView
gtk_icon_view_get_selection_mode, function in GtkIconView
gtk_icon_view_get_spacing, function in GtkIconView
gtk_icon_view_get_text_column, function in GtkIconView
gtk_icon_view_get_tooltip_column, function in GtkIconView
gtk_icon_view_get_tooltip_context, function in GtkIconView
gtk_icon_view_get_visible_range, function in GtkIconView
gtk_icon_view_item_activated, function in GtkIconView
gtk_icon_view_new, function in GtkIconView
gtk_icon_view_new_with_area, function in GtkIconView
gtk_icon_view_new_with_model, function in GtkIconView
gtk_icon_view_path_is_selected, function in GtkIconView
gtk_icon_view_scroll_to_path, function in GtkIconView
gtk_icon_view_selected_foreach, function in GtkIconView
gtk_icon_view_select_all, function in GtkIconView
gtk_icon_view_select_path, function in GtkIconView
gtk_icon_view_set_activate_on_single_click, function in GtkIconView
gtk_icon_view_set_columns, function in GtkIconView
gtk_icon_view_set_column_spacing, function in GtkIconView
gtk_icon_view_set_cursor, function in GtkIconView
gtk_icon_view_set_drag_dest_item, function in GtkIconView
gtk_icon_view_set_item_orientation, function in GtkIconView
gtk_icon_view_set_item_padding, function in GtkIconView
gtk_icon_view_set_item_width, function in GtkIconView
gtk_icon_view_set_margin, function in GtkIconView
gtk_icon_view_set_markup_column, function in GtkIconView
gtk_icon_view_set_model, function in GtkIconView
gtk_icon_view_set_pixbuf_column, function in GtkIconView
gtk_icon_view_set_reorderable, function in GtkIconView
gtk_icon_view_set_row_spacing, function in GtkIconView
gtk_icon_view_set_selection_mode, function in GtkIconView
gtk_icon_view_set_spacing, function in GtkIconView
gtk_icon_view_set_text_column, function in GtkIconView
gtk_icon_view_set_tooltip_cell, function in GtkIconView
gtk_icon_view_set_tooltip_column, function in GtkIconView
gtk_icon_view_set_tooltip_item, function in GtkIconView
gtk_icon_view_unselect_all, function in GtkIconView
gtk_icon_view_unselect_path, function in GtkIconView
gtk_icon_view_unset_model_drag_dest, function in GtkIconView
gtk_icon_view_unset_model_drag_source, function in GtkIconView
GtkImage, struct in GtkImage
GtkImage:file, object property in GtkImage
GtkImage:gicon, object property in GtkImage
GtkImage:icon-name, object property in GtkImage
GtkImage:icon-size, object property in GtkImage
GtkImage:paintable, object property in GtkImage
GtkImage:pixel-size, object property in GtkImage
GtkImage:resource, object property in GtkImage
GtkImage:storage-type, object property in GtkImage
GtkImage:use-fallback, object property in GtkImage
GtkImageType, enum in GtkImage
gtk_image_clear, function in GtkImage
gtk_image_get_gicon, function in GtkImage
gtk_image_get_icon_name, function in GtkImage
gtk_image_get_icon_size, function in GtkImage
gtk_image_get_paintable, function in GtkImage
gtk_image_get_pixel_size, function in GtkImage
gtk_image_get_storage_type, function in GtkImage
gtk_image_new, function in GtkImage
gtk_image_new_from_file, function in GtkImage
gtk_image_new_from_gicon, function in GtkImage
gtk_image_new_from_icon_name, function in GtkImage
gtk_image_new_from_paintable, function in GtkImage
gtk_image_new_from_pixbuf, function in GtkImage
gtk_image_new_from_resource, function in GtkImage
gtk_image_set_from_file, function in GtkImage
gtk_image_set_from_gicon, function in GtkImage
gtk_image_set_from_icon_name, function in GtkImage
gtk_image_set_from_paintable, function in GtkImage
gtk_image_set_from_pixbuf, function in GtkImage
gtk_image_set_from_resource, function in GtkImage
gtk_image_set_icon_size, function in GtkImage
gtk_image_set_pixel_size, function in GtkImage
GtkIMContext, struct in GtkIMContext
GtkIMContext::commit, object signal in GtkIMContext
GtkIMContext::delete-surrounding, object signal in GtkIMContext
GtkIMContext::preedit-changed, object signal in GtkIMContext
GtkIMContext::preedit-end, object signal in GtkIMContext
GtkIMContext::preedit-start, object signal in GtkIMContext
GtkIMContext::retrieve-surrounding, object signal in GtkIMContext
GtkIMContext:input-hints, object property in GtkIMContext
GtkIMContext:input-purpose, object property in GtkIMContext
GtkIMContextClass, struct in GtkIMContext
GtkIMContextSimple, struct in GtkIMContextSimple
GtkIMMulticontext, struct in GtkIMMulticontext
gtk_im_context_delete_surrounding, function in GtkIMContext
gtk_im_context_filter_keypress, function in GtkIMContext
gtk_im_context_focus_in, function in GtkIMContext
gtk_im_context_focus_out, function in GtkIMContext
gtk_im_context_get_preedit_string, function in GtkIMContext
gtk_im_context_get_surrounding, function in GtkIMContext
gtk_im_context_reset, function in GtkIMContext
gtk_im_context_set_cursor_location, function in GtkIMContext
gtk_im_context_set_surrounding, function in GtkIMContext
gtk_im_context_set_use_preedit, function in GtkIMContext
gtk_im_context_simple_add_compose_file, function in GtkIMContextSimple
gtk_im_context_simple_add_table, function in GtkIMContextSimple
gtk_im_context_simple_new, function in GtkIMContextSimple
gtk_im_multicontext_get_context_id, function in GtkIMMulticontext
gtk_im_multicontext_new, function in GtkIMMulticontext
gtk_im_multicontext_set_context_id, function in GtkIMMulticontext
GtkInfoBar, struct in GtkInfoBar
GtkInfoBar::close, object signal in GtkInfoBar
GtkInfoBar::response, object signal in GtkInfoBar
GtkInfoBar:message-type, object property in GtkInfoBar
GtkInfoBar:revealed, object property in GtkInfoBar
GtkInfoBar:show-close-button, object property in GtkInfoBar
gtk_info_bar_add_action_widget, function in GtkInfoBar
gtk_info_bar_add_button, function in GtkInfoBar
gtk_info_bar_add_buttons, function in GtkInfoBar
gtk_info_bar_get_action_area, function in GtkInfoBar
gtk_info_bar_get_content_area, function in GtkInfoBar
gtk_info_bar_get_message_type, function in GtkInfoBar
gtk_info_bar_get_revealed, function in GtkInfoBar
gtk_info_bar_get_show_close_button, function in GtkInfoBar
gtk_info_bar_new, function in GtkInfoBar
gtk_info_bar_new_with_buttons, function in GtkInfoBar
gtk_info_bar_response, function in GtkInfoBar
gtk_info_bar_set_default_response, function in GtkInfoBar
gtk_info_bar_set_message_type, function in GtkInfoBar
gtk_info_bar_set_response_sensitive, function in GtkInfoBar
gtk_info_bar_set_revealed, function in GtkInfoBar
gtk_info_bar_set_show_close_button, function in GtkInfoBar
gtk_init, function in General
gtk_init_check, function in General
GtkInputHints, enum in GtkEntry
GtkInputPurpose, enum in GtkEntry
GTK_INPUT_ERROR, macro in GtkSpinButton
GTK_INTERFACE_AGE, macro in Feature Test Macros
GTK_INVALID_LIST_POSITION, macro in GtkSingleSelection
J
GtkJustification, enum in Standard Enumerations
L
GtkLabel, struct in GtkLabel
GtkLabel::activate-current-link, object signal in GtkLabel
GtkLabel::activate-link, object signal in GtkLabel
GtkLabel::copy-clipboard, object signal in GtkLabel
GtkLabel::move-cursor, object signal in GtkLabel
GtkLabel:attributes, object property in GtkLabel
GtkLabel:cursor-position, object property in GtkLabel
GtkLabel:ellipsize, object property in GtkLabel
GtkLabel:extra-menu, object property in GtkLabel
GtkLabel:justify, object property in GtkLabel
GtkLabel:label, object property in GtkLabel
GtkLabel:lines, object property in GtkLabel
GtkLabel:max-width-chars, object property in GtkLabel
GtkLabel:mnemonic-keyval, object property in GtkLabel
GtkLabel:mnemonic-widget, object property in GtkLabel
GtkLabel:pattern, object property in GtkLabel
GtkLabel:selectable, object property in GtkLabel
GtkLabel:selection-bound, object property in GtkLabel
GtkLabel:single-line-mode, object property in GtkLabel
GtkLabel:track-visited-links, object property in GtkLabel
GtkLabel:use-markup, object property in GtkLabel
GtkLabel:use-underline, object property in GtkLabel
GtkLabel:width-chars, object property in GtkLabel
GtkLabel:wrap, object property in GtkLabel
GtkLabel:wrap-mode, object property in GtkLabel
GtkLabel:xalign, object property in GtkLabel
GtkLabel:yalign, object property in GtkLabel
gtk_label_get_attributes, function in GtkLabel
gtk_label_get_current_uri, function in GtkLabel
gtk_label_get_ellipsize, function in GtkLabel
gtk_label_get_extra_menu, function in GtkLabel
gtk_label_get_justify, function in GtkLabel
gtk_label_get_label, function in GtkLabel
gtk_label_get_layout, function in GtkLabel
gtk_label_get_layout_offsets, function in GtkLabel
gtk_label_get_lines, function in GtkLabel
gtk_label_get_max_width_chars, function in GtkLabel
gtk_label_get_mnemonic_keyval, function in GtkLabel
gtk_label_get_mnemonic_widget, function in GtkLabel
gtk_label_get_selectable, function in GtkLabel
gtk_label_get_selection_bounds, function in GtkLabel
gtk_label_get_single_line_mode, function in GtkLabel
gtk_label_get_text, function in GtkLabel
gtk_label_get_track_visited_links, function in GtkLabel
gtk_label_get_use_markup, function in GtkLabel
gtk_label_get_use_underline, function in GtkLabel
gtk_label_get_width_chars, function in GtkLabel
gtk_label_get_wrap, function in GtkLabel
gtk_label_get_wrap_mode, function in GtkLabel
gtk_label_get_xalign, function in GtkLabel
gtk_label_get_yalign, function in GtkLabel
gtk_label_new, function in GtkLabel
gtk_label_new_with_mnemonic, function in GtkLabel
gtk_label_select_region, function in GtkLabel
gtk_label_set_attributes, function in GtkLabel
gtk_label_set_ellipsize, function in GtkLabel
gtk_label_set_extra_menu, function in GtkLabel
gtk_label_set_justify, function in GtkLabel
gtk_label_set_label, function in GtkLabel
gtk_label_set_lines, function in GtkLabel
gtk_label_set_markup, function in GtkLabel
gtk_label_set_markup_with_mnemonic, function in GtkLabel
gtk_label_set_max_width_chars, function in GtkLabel
gtk_label_set_mnemonic_widget, function in GtkLabel
gtk_label_set_pattern, function in GtkLabel
gtk_label_set_selectable, function in GtkLabel
gtk_label_set_single_line_mode, function in GtkLabel
gtk_label_set_text, function in GtkLabel
gtk_label_set_text_with_mnemonic, function in GtkLabel
gtk_label_set_track_visited_links, function in GtkLabel
gtk_label_set_use_markup, function in GtkLabel
gtk_label_set_use_underline, function in GtkLabel
gtk_label_set_width_chars, function in GtkLabel
gtk_label_set_wrap, function in GtkLabel
gtk_label_set_wrap_mode, function in GtkLabel
gtk_label_set_xalign, function in GtkLabel
gtk_label_set_yalign, function in GtkLabel
GtkLabel|clipboard.copy, action in GtkLabel
GtkLabel|clipboard.cut, action in GtkLabel
GtkLabel|clipboard.paste, action in GtkLabel
GtkLabel|link.copy, action in GtkLabel
GtkLabel|link.open, action in GtkLabel
GtkLabel|selection.delete, action in GtkLabel
GtkLabel|selection.select-all, action in GtkLabel
GtkLayoutChild, struct in GtkLayoutChild
GtkLayoutChild:child-widget, object property in GtkLayoutChild
GtkLayoutChild:layout-manager, object property in GtkLayoutChild
GtkLayoutChildClass, struct in GtkLayoutChild
GtkLayoutManager, struct in GtkLayoutManager
GtkLayoutManagerClass, struct in GtkLayoutManager
gtk_layout_child_get_child_widget, function in GtkLayoutChild
gtk_layout_child_get_layout_manager, function in GtkLayoutChild
gtk_layout_manager_allocate, function in GtkLayoutManager
gtk_layout_manager_get_layout_child, function in GtkLayoutManager
gtk_layout_manager_get_request_mode, function in GtkLayoutManager
gtk_layout_manager_get_widget, function in GtkLayoutManager
gtk_layout_manager_layout_changed, function in GtkLayoutManager
gtk_layout_manager_measure, function in GtkLayoutManager
GtkLevelBar, struct in GtkLevelBar
GtkLevelBar::offset-changed, object signal in GtkLevelBar
GtkLevelBar:inverted, object property in GtkLevelBar
GtkLevelBar:max-value, object property in GtkLevelBar
GtkLevelBar:min-value, object property in GtkLevelBar
GtkLevelBar:mode, object property in GtkLevelBar
GtkLevelBar:value, object property in GtkLevelBar
GtkLevelBarMode, enum in GtkLevelBar
gtk_level_bar_add_offset_value, function in GtkLevelBar
gtk_level_bar_get_inverted, function in GtkLevelBar
gtk_level_bar_get_max_value, function in GtkLevelBar
gtk_level_bar_get_min_value, function in GtkLevelBar
gtk_level_bar_get_mode, function in GtkLevelBar
gtk_level_bar_get_offset_value, function in GtkLevelBar
gtk_level_bar_get_value, function in GtkLevelBar
gtk_level_bar_new, function in GtkLevelBar
gtk_level_bar_new_for_interval, function in GtkLevelBar
GTK_LEVEL_BAR_OFFSET_FULL, macro in GtkLevelBar
GTK_LEVEL_BAR_OFFSET_HIGH, macro in GtkLevelBar
GTK_LEVEL_BAR_OFFSET_LOW, macro in GtkLevelBar
gtk_level_bar_remove_offset_value, function in GtkLevelBar
gtk_level_bar_set_inverted, function in GtkLevelBar
gtk_level_bar_set_max_value, function in GtkLevelBar
gtk_level_bar_set_min_value, function in GtkLevelBar
gtk_level_bar_set_mode, function in GtkLevelBar
gtk_level_bar_set_value, function in GtkLevelBar
GtkLicense, enum in GtkAboutDialog
GtkLinkButton, struct in GtkLinkButton
GtkLinkButton::activate-link, object signal in GtkLinkButton
GtkLinkButton:uri, object property in GtkLinkButton
GtkLinkButton:visited, object property in GtkLinkButton
GtkLinkButton|clipboard.copy, action in GtkLinkButton
gtk_link_button_get_uri, function in GtkLinkButton
gtk_link_button_get_visited, function in GtkLinkButton
gtk_link_button_new, function in GtkLinkButton
gtk_link_button_new_with_label, function in GtkLinkButton
gtk_link_button_set_uri, function in GtkLinkButton
gtk_link_button_set_visited, function in GtkLinkButton
GtkListBox, struct in GtkListBox
GtkListBox::activate-cursor-row, object signal in GtkListBox
GtkListBox::move-cursor, object signal in GtkListBox
GtkListBox::row-activated, object signal in GtkListBox
GtkListBox::row-selected, object signal in GtkListBox
GtkListBox::select-all, object signal in GtkListBox
GtkListBox::selected-rows-changed, object signal in GtkListBox
GtkListBox::toggle-cursor-row, object signal in GtkListBox
GtkListBox::unselect-all, object signal in GtkListBox
GtkListBox:accept-unpaired-release, object property in GtkListBox
GtkListBox:activate-on-single-click, object property in GtkListBox
GtkListBox:selection-mode, object property in GtkListBox
GtkListBox:show-separators, object property in GtkListBox
GtkListBoxCreateWidgetFunc, user_function in GtkListBox
GtkListBoxFilterFunc, user_function in GtkListBox
GtkListBoxForeachFunc, user_function in GtkListBox
GtkListBoxRow, struct in GtkListBox
GtkListBoxRow::activate, object signal in GtkListBox
GtkListBoxRow:activatable, object property in GtkListBox
GtkListBoxRow:selectable, object property in GtkListBox
GtkListBoxRowClass, struct in GtkListBox
GtkListBoxSortFunc, user_function in GtkListBox
GtkListBoxUpdateHeaderFunc, user_function in GtkListBox
GtkListStore, struct in GtkListStore
gtk_list_box_bind_model, function in GtkListBox
gtk_list_box_drag_highlight_row, function in GtkListBox
gtk_list_box_drag_unhighlight_row, function in GtkListBox
gtk_list_box_get_activate_on_single_click, function in GtkListBox
gtk_list_box_get_adjustment, function in GtkListBox
gtk_list_box_get_row_at_index, function in GtkListBox
gtk_list_box_get_row_at_y, function in GtkListBox
gtk_list_box_get_selected_row, function in GtkListBox
gtk_list_box_get_selected_rows, function in GtkListBox
gtk_list_box_get_selection_mode, function in GtkListBox
gtk_list_box_get_show_separators, function in GtkListBox
gtk_list_box_insert, function in GtkListBox
gtk_list_box_invalidate_filter, function in GtkListBox
gtk_list_box_invalidate_headers, function in GtkListBox
gtk_list_box_invalidate_sort, function in GtkListBox
gtk_list_box_new, function in GtkListBox
gtk_list_box_prepend, function in GtkListBox
gtk_list_box_row_changed, function in GtkListBox
gtk_list_box_row_get_activatable, function in GtkListBox
gtk_list_box_row_get_header, function in GtkListBox
gtk_list_box_row_get_index, function in GtkListBox
gtk_list_box_row_get_selectable, function in GtkListBox
gtk_list_box_row_is_selected, function in GtkListBox
gtk_list_box_row_new, function in GtkListBox
gtk_list_box_row_set_activatable, function in GtkListBox
gtk_list_box_row_set_header, function in GtkListBox
gtk_list_box_row_set_selectable, function in GtkListBox
gtk_list_box_selected_foreach, function in GtkListBox
gtk_list_box_select_all, function in GtkListBox
gtk_list_box_select_row, function in GtkListBox
gtk_list_box_set_activate_on_single_click, function in GtkListBox
gtk_list_box_set_adjustment, function in GtkListBox
gtk_list_box_set_filter_func, function in GtkListBox
gtk_list_box_set_header_func, function in GtkListBox
gtk_list_box_set_placeholder, function in GtkListBox
gtk_list_box_set_selection_mode, function in GtkListBox
gtk_list_box_set_show_separators, function in GtkListBox
gtk_list_box_set_sort_func, function in GtkListBox
gtk_list_box_unselect_all, function in GtkListBox
gtk_list_box_unselect_row, function in GtkListBox
gtk_list_store_append, function in GtkListStore
gtk_list_store_clear, function in GtkListStore
gtk_list_store_insert, function in GtkListStore
gtk_list_store_insert_after, function in GtkListStore
gtk_list_store_insert_before, function in GtkListStore
gtk_list_store_insert_with_values, function in GtkListStore
gtk_list_store_insert_with_valuesv, function in GtkListStore
gtk_list_store_iter_is_valid, function in GtkListStore
gtk_list_store_move_after, function in GtkListStore
gtk_list_store_move_before, function in GtkListStore
gtk_list_store_new, function in GtkListStore
gtk_list_store_newv, function in GtkListStore
gtk_list_store_prepend, function in GtkListStore
gtk_list_store_remove, function in GtkListStore
gtk_list_store_reorder, function in GtkListStore
gtk_list_store_set, function in GtkListStore
gtk_list_store_set_column_types, function in GtkListStore
gtk_list_store_set_valist, function in GtkListStore
gtk_list_store_set_value, function in GtkListStore
gtk_list_store_set_valuesv, function in GtkListStore
gtk_list_store_swap, function in GtkListStore
GtkLockButton, struct in GtkLockButton
GtkLockButton:permission, object property in GtkLockButton
GtkLockButton:text-lock, object property in GtkLockButton
GtkLockButton:text-unlock, object property in GtkLockButton
GtkLockButton:tooltip-lock, object property in GtkLockButton
GtkLockButton:tooltip-not-authorized, object property in GtkLockButton
GtkLockButton:tooltip-unlock, object property in GtkLockButton
gtk_lock_button_get_permission, function in GtkLockButton
gtk_lock_button_new, function in GtkLockButton
gtk_lock_button_set_permission, function in GtkLockButton
M
GTK_MAJOR_VERSION, macro in Feature Test Macros
GtkMapListModel, struct in GtkMapListModel
GtkMapListModel:has-map, object property in GtkMapListModel
GtkMapListModel:item-type, object property in GtkMapListModel
GtkMapListModel:model, object property in GtkMapListModel
GtkMapListModelMapFunc, user_function in GtkMapListModel
gtk_map_list_model_get_model, function in GtkMapListModel
gtk_map_list_model_has_map, function in GtkMapListModel
gtk_map_list_model_new, function in GtkMapListModel
gtk_map_list_model_set_map_func, function in GtkMapListModel
gtk_map_list_model_set_model, function in GtkMapListModel
GTK_MAX_COMPOSE_LEN, macro in GtkIMContextSimple
GtkMediaControls, struct in GtkMediaControls
GtkMediaControls:media-stream, object property in GtkMediaControls
GtkMediaFile, struct in GtkMediaFile
GtkMediaFile:file, object property in GtkMediaFile
GtkMediaFile:input-stream, object property in GtkMediaFile
GtkMediaStream, struct in GtkMediaStream
GtkMediaStream:duration, object property in GtkMediaStream
GtkMediaStream:ended, object property in GtkMediaStream
GtkMediaStream:error, object property in GtkMediaStream
GtkMediaStream:has-audio, object property in GtkMediaStream
GtkMediaStream:has-video, object property in GtkMediaStream
GtkMediaStream:loop, object property in GtkMediaStream
GtkMediaStream:muted, object property in GtkMediaStream
GtkMediaStream:playing, object property in GtkMediaStream
GtkMediaStream:prepared, object property in GtkMediaStream
GtkMediaStream:seekable, object property in GtkMediaStream
GtkMediaStream:seeking, object property in GtkMediaStream
GtkMediaStream:timestamp, object property in GtkMediaStream
GtkMediaStream:volume, object property in GtkMediaStream
GtkMediaStreamClass, struct in GtkMediaStream
gtk_media_controls_get_media_stream, function in GtkMediaControls
gtk_media_controls_new, function in GtkMediaControls
gtk_media_controls_set_media_stream, function in GtkMediaControls
gtk_media_file_clear, function in GtkMediaFile
gtk_media_file_get_file, function in GtkMediaFile
gtk_media_file_get_input_stream, function in GtkMediaFile
gtk_media_file_new, function in GtkMediaFile
gtk_media_file_new_for_file, function in GtkMediaFile
gtk_media_file_new_for_filename, function in GtkMediaFile
gtk_media_file_new_for_input_stream, function in GtkMediaFile
gtk_media_file_new_for_resource, function in GtkMediaFile
gtk_media_file_set_file, function in GtkMediaFile
gtk_media_file_set_filename, function in GtkMediaFile
gtk_media_file_set_input_stream, function in GtkMediaFile
gtk_media_file_set_resource, function in GtkMediaFile
gtk_media_stream_ended, function in GtkMediaStream
gtk_media_stream_error, function in GtkMediaStream
gtk_media_stream_error_valist, function in GtkMediaStream
gtk_media_stream_gerror, function in GtkMediaStream
gtk_media_stream_get_duration, function in GtkMediaStream
gtk_media_stream_get_ended, function in GtkMediaStream
gtk_media_stream_get_error, function in GtkMediaStream
gtk_media_stream_get_loop, function in GtkMediaStream
gtk_media_stream_get_muted, function in GtkMediaStream
gtk_media_stream_get_playing, function in GtkMediaStream
gtk_media_stream_get_timestamp, function in GtkMediaStream
gtk_media_stream_get_volume, function in GtkMediaStream
gtk_media_stream_has_audio, function in GtkMediaStream
gtk_media_stream_has_video, function in GtkMediaStream
gtk_media_stream_is_prepared, function in GtkMediaStream
gtk_media_stream_is_seekable, function in GtkMediaStream
gtk_media_stream_is_seeking, function in GtkMediaStream
gtk_media_stream_pause, function in GtkMediaStream
gtk_media_stream_play, function in GtkMediaStream
gtk_media_stream_prepared, function in GtkMediaStream
gtk_media_stream_realize, function in GtkMediaStream
gtk_media_stream_seek, function in GtkMediaStream
gtk_media_stream_seek_failed, function in GtkMediaStream
gtk_media_stream_seek_success, function in GtkMediaStream
gtk_media_stream_set_loop, function in GtkMediaStream
gtk_media_stream_set_muted, function in GtkMediaStream
gtk_media_stream_set_playing, function in GtkMediaStream
gtk_media_stream_set_volume, function in GtkMediaStream
gtk_media_stream_unprepared, function in GtkMediaStream
gtk_media_stream_unrealize, function in GtkMediaStream
gtk_media_stream_update, function in GtkMediaStream
GtkMenuButton, struct in GtkMenuButton
GtkMenuButton:align-widget, object property in GtkMenuButton
GtkMenuButton:direction, object property in GtkMenuButton
GtkMenuButton:icon-name, object property in GtkMenuButton
GtkMenuButton:label, object property in GtkMenuButton
GtkMenuButton:menu-model, object property in GtkMenuButton
GtkMenuButton:popover, object property in GtkMenuButton
GtkMenuButton:relief, object property in GtkMenuButton
GtkMenuButtonCreatePopupFunc, user_function in GtkMenuButton
gtk_menu_button_get_align_widget, function in GtkMenuButton
gtk_menu_button_get_direction, function in GtkMenuButton
gtk_menu_button_get_icon_name, function in GtkMenuButton
gtk_menu_button_get_label, function in GtkMenuButton
gtk_menu_button_get_menu_model, function in GtkMenuButton
gtk_menu_button_get_popover, function in GtkMenuButton
gtk_menu_button_get_relief, function in GtkMenuButton
gtk_menu_button_new, function in GtkMenuButton
gtk_menu_button_popdown, function in GtkMenuButton
gtk_menu_button_popup, function in GtkMenuButton
gtk_menu_button_set_align_widget, function in GtkMenuButton
gtk_menu_button_set_create_popup_func, function in GtkMenuButton
gtk_menu_button_set_direction, function in GtkMenuButton
gtk_menu_button_set_icon_name, function in GtkMenuButton
gtk_menu_button_set_label, function in GtkMenuButton
gtk_menu_button_set_menu_model, function in GtkMenuButton
gtk_menu_button_set_popover, function in GtkMenuButton
gtk_menu_button_set_relief, function in GtkMenuButton
GtkMessageDialog, struct in GtkMessageDialog
GtkMessageDialog:buttons, object property in GtkMessageDialog
GtkMessageDialog:message-area, object property in GtkMessageDialog
GtkMessageDialog:message-type, object property in GtkMessageDialog
GtkMessageDialog:secondary-text, object property in GtkMessageDialog
GtkMessageDialog:secondary-use-markup, object property in GtkMessageDialog
GtkMessageDialog:text, object property in GtkMessageDialog
GtkMessageDialog:use-markup, object property in GtkMessageDialog
GtkMessageType, enum in GtkMessageDialog
gtk_message_dialog_format_secondary_markup, function in GtkMessageDialog
gtk_message_dialog_format_secondary_text, function in GtkMessageDialog
gtk_message_dialog_get_message_area, function in GtkMessageDialog
gtk_message_dialog_new, function in GtkMessageDialog
gtk_message_dialog_new_with_markup, function in GtkMessageDialog
gtk_message_dialog_set_markup, function in GtkMessageDialog
GTK_MICRO_VERSION, macro in Feature Test Macros
GTK_MINOR_VERSION, macro in Feature Test Macros
GtkMountOperation, struct in Filesystem utilities
GtkMountOperation:display, object property in Filesystem utilities
GtkMountOperation:is-showing, object property in Filesystem utilities
GtkMountOperation:parent, object property in Filesystem utilities
GtkMountOperationClass, struct in Filesystem utilities
gtk_mount_operation_get_display, function in Filesystem utilities
gtk_mount_operation_get_parent, function in Filesystem utilities
gtk_mount_operation_is_showing, function in Filesystem utilities
gtk_mount_operation_new, function in Filesystem utilities
gtk_mount_operation_set_display, function in Filesystem utilities
gtk_mount_operation_set_parent, function in Filesystem utilities
GtkMovementStep, enum in Standard Enumerations
N
GtkNative, struct in GtkNative
GtkNativeDialogClass, struct in GtkNativeDialog
gtk_native_check_resize, function in GtkNative
gtk_native_dialog_destroy, function in GtkNativeDialog
gtk_native_dialog_get_modal, function in GtkNativeDialog
gtk_native_dialog_get_title, function in GtkNativeDialog
gtk_native_dialog_get_transient_for, function in GtkNativeDialog
gtk_native_dialog_get_visible, function in GtkNativeDialog
gtk_native_dialog_hide, function in GtkNativeDialog
gtk_native_dialog_run, function in GtkNativeDialog
gtk_native_dialog_set_modal, function in GtkNativeDialog
gtk_native_dialog_set_title, function in GtkNativeDialog
gtk_native_dialog_set_transient_for, function in GtkNativeDialog
gtk_native_dialog_show, function in GtkNativeDialog
gtk_native_get_for_surface, function in GtkNative
gtk_native_get_renderer, function in GtkNative
gtk_native_get_surface, function in GtkNative
GtkNoSelection, struct in GtkNoSelection
GtkNoSelection:model, object property in GtkNoSelection
GtkNotebook, struct in GtkNotebook
GtkNotebook::change-current-page, object signal in GtkNotebook
GtkNotebook::create-window, object signal in GtkNotebook
GtkNotebook::focus-tab, object signal in GtkNotebook
GtkNotebook::move-focus-out, object signal in GtkNotebook
GtkNotebook::page-added, object signal in GtkNotebook
GtkNotebook::page-removed, object signal in GtkNotebook
GtkNotebook::page-reordered, object signal in GtkNotebook
GtkNotebook::reorder-tab, object signal in GtkNotebook
GtkNotebook::select-page, object signal in GtkNotebook
GtkNotebook::switch-page, object signal in GtkNotebook
GtkNotebook:enable-popup, object property in GtkNotebook
GtkNotebook:group-name, object property in GtkNotebook
GtkNotebook:page, object property in GtkNotebook
GtkNotebook:pages, object property in GtkNotebook
GtkNotebook:scrollable, object property in GtkNotebook
GtkNotebook:show-border, object property in GtkNotebook
GtkNotebook:show-tabs, object property in GtkNotebook
GtkNotebook:tab-pos, object property in GtkNotebook
GtkNotebookPage, struct in GtkNotebook
GtkNotebookPage:child, object property in GtkNotebook
GtkNotebookPage:detachable, object property in GtkNotebook
GtkNotebookPage:menu, object property in GtkNotebook
GtkNotebookPage:menu-label, object property in GtkNotebook
GtkNotebookPage:position, object property in GtkNotebook
GtkNotebookPage:reorderable, object property in GtkNotebook
GtkNotebookPage:tab, object property in GtkNotebook
GtkNotebookPage:tab-expand, object property in GtkNotebook
GtkNotebookPage:tab-fill, object property in GtkNotebook
GtkNotebookPage:tab-label, object property in GtkNotebook
gtk_notebook_append_page, function in GtkNotebook
gtk_notebook_append_page_menu, function in GtkNotebook
gtk_notebook_detach_tab, function in GtkNotebook
gtk_notebook_get_action_widget, function in GtkNotebook
gtk_notebook_get_current_page, function in GtkNotebook
gtk_notebook_get_group_name, function in GtkNotebook
gtk_notebook_get_menu_label, function in GtkNotebook
gtk_notebook_get_menu_label_text, function in GtkNotebook
gtk_notebook_get_nth_page, function in GtkNotebook
gtk_notebook_get_n_pages, function in GtkNotebook
gtk_notebook_get_page, function in GtkNotebook
gtk_notebook_get_pages, function in GtkNotebook
gtk_notebook_get_scrollable, function in GtkNotebook
gtk_notebook_get_show_border, function in GtkNotebook
gtk_notebook_get_show_tabs, function in GtkNotebook
gtk_notebook_get_tab_detachable, function in GtkNotebook
gtk_notebook_get_tab_label, function in GtkNotebook
gtk_notebook_get_tab_label_text, function in GtkNotebook
gtk_notebook_get_tab_pos, function in GtkNotebook
gtk_notebook_get_tab_reorderable, function in GtkNotebook
gtk_notebook_insert_page, function in GtkNotebook
gtk_notebook_insert_page_menu, function in GtkNotebook
gtk_notebook_new, function in GtkNotebook
gtk_notebook_next_page, function in GtkNotebook
gtk_notebook_page_get_child, function in GtkNotebook
gtk_notebook_page_num, function in GtkNotebook
gtk_notebook_popup_disable, function in GtkNotebook
gtk_notebook_popup_enable, function in GtkNotebook
gtk_notebook_prepend_page, function in GtkNotebook
gtk_notebook_prepend_page_menu, function in GtkNotebook
gtk_notebook_prev_page, function in GtkNotebook
gtk_notebook_remove_page, function in GtkNotebook
gtk_notebook_reorder_child, function in GtkNotebook
gtk_notebook_set_action_widget, function in GtkNotebook
gtk_notebook_set_current_page, function in GtkNotebook
gtk_notebook_set_group_name, function in GtkNotebook
gtk_notebook_set_menu_label, function in GtkNotebook
gtk_notebook_set_menu_label_text, function in GtkNotebook
gtk_notebook_set_scrollable, function in GtkNotebook
gtk_notebook_set_show_border, function in GtkNotebook
gtk_notebook_set_show_tabs, function in GtkNotebook
gtk_notebook_set_tab_detachable, function in GtkNotebook
gtk_notebook_set_tab_label, function in GtkNotebook
gtk_notebook_set_tab_label_text, function in GtkNotebook
gtk_notebook_set_tab_pos, function in GtkNotebook
gtk_notebook_set_tab_reorderable, function in GtkNotebook
gtk_no_selection_get_model, function in GtkNoSelection
gtk_no_selection_new, function in GtkNoSelection
GtkNumberUpLayout, enum in GtkPrintSettings
O
GtkOrientable, struct in Orientable
GtkOrientable:orientation, object property in Orientable
gtk_orientable_get_orientation, function in Orientable
gtk_orientable_set_orientation, function in Orientable
GtkOrientation, enum in Standard Enumerations
GtkOverlay, struct in GtkOverlay
GtkOverlay::get-child-position, object signal in GtkOverlay
gtk_overlay_add_overlay, function in GtkOverlay
gtk_overlay_get_clip_overlay, function in GtkOverlay
gtk_overlay_get_measure_overlay, function in GtkOverlay
gtk_overlay_new, function in GtkOverlay
gtk_overlay_set_clip_overlay, function in GtkOverlay
gtk_overlay_set_measure_overlay, function in GtkOverlay
P
GtkPackType, enum in Standard Enumerations
GtkPadActionEntry, struct in GtkPadController
GtkPadActionType, enum in GtkPadController
GtkPadController, struct in GtkPadController
GtkPadController:action-group, object property in GtkPadController
GtkPadController:pad, object property in GtkPadController
gtk_pad_controller_new, function in GtkPadController
gtk_pad_controller_set_action, function in GtkPadController
gtk_pad_controller_set_action_entries, function in GtkPadController
GtkPageOrientation, enum in GtkPrintSettings
GtkPageRange, struct in GtkPrintSettings
GtkPageSet, enum in GtkPrintSettings
GtkPageSetup, struct in GtkPageSetup
GtkPageSetupDoneFunc, user_function in High-level Printing API
GtkPageSetupUnixDialog, struct in GtkPageSetupUnixDialog
gtk_page_setup_copy, function in GtkPageSetup
gtk_page_setup_get_bottom_margin, function in GtkPageSetup
gtk_page_setup_get_left_margin, function in GtkPageSetup
gtk_page_setup_get_orientation, function in GtkPageSetup
gtk_page_setup_get_page_height, function in GtkPageSetup
gtk_page_setup_get_page_width, function in GtkPageSetup
gtk_page_setup_get_paper_height, function in GtkPageSetup
gtk_page_setup_get_paper_size, function in GtkPageSetup
gtk_page_setup_get_paper_width, function in GtkPageSetup
gtk_page_setup_get_right_margin, function in GtkPageSetup
gtk_page_setup_get_top_margin, function in GtkPageSetup
gtk_page_setup_load_file, function in GtkPageSetup
gtk_page_setup_load_key_file, function in GtkPageSetup
gtk_page_setup_new, function in GtkPageSetup
gtk_page_setup_new_from_file, function in GtkPageSetup
gtk_page_setup_new_from_gvariant, function in GtkPageSetup
gtk_page_setup_new_from_key_file, function in GtkPageSetup
gtk_page_setup_set_bottom_margin, function in GtkPageSetup
gtk_page_setup_set_left_margin, function in GtkPageSetup
gtk_page_setup_set_orientation, function in GtkPageSetup
gtk_page_setup_set_paper_size, function in GtkPageSetup
gtk_page_setup_set_paper_size_and_default_margins, function in GtkPageSetup
gtk_page_setup_set_right_margin, function in GtkPageSetup
gtk_page_setup_set_top_margin, function in GtkPageSetup
gtk_page_setup_to_file, function in GtkPageSetup
gtk_page_setup_to_gvariant, function in GtkPageSetup
gtk_page_setup_to_key_file, function in GtkPageSetup
gtk_page_setup_unix_dialog_get_page_setup, function in GtkPageSetupUnixDialog
gtk_page_setup_unix_dialog_get_print_settings, function in GtkPageSetupUnixDialog
gtk_page_setup_unix_dialog_new, function in GtkPageSetupUnixDialog
gtk_page_setup_unix_dialog_set_page_setup, function in GtkPageSetupUnixDialog
gtk_page_setup_unix_dialog_set_print_settings, function in GtkPageSetupUnixDialog
GtkPanDirection, enum in GtkGesturePan
GtkPaned, struct in GtkPaned
GtkPaned::accept-position, object signal in GtkPaned
GtkPaned::cancel-position, object signal in GtkPaned
GtkPaned::cycle-child-focus, object signal in GtkPaned
GtkPaned::cycle-handle-focus, object signal in GtkPaned
GtkPaned::move-handle, object signal in GtkPaned
GtkPaned::toggle-handle-focus, object signal in GtkPaned
GtkPaned:max-position, object property in GtkPaned
GtkPaned:min-position, object property in GtkPaned
GtkPaned:position, object property in GtkPaned
GtkPaned:position-set, object property in GtkPaned
GtkPaned:resize-child1, object property in GtkPaned
GtkPaned:resize-child2, object property in GtkPaned
GtkPaned:shrink-child1, object property in GtkPaned
GtkPaned:shrink-child2, object property in GtkPaned
GtkPaned:wide-handle, object property in GtkPaned
gtk_paned_add1, function in GtkPaned
gtk_paned_add2, function in GtkPaned
gtk_paned_get_child1, function in GtkPaned
gtk_paned_get_child2, function in GtkPaned
gtk_paned_get_position, function in GtkPaned
gtk_paned_get_wide_handle, function in GtkPaned
gtk_paned_new, function in GtkPaned
gtk_paned_pack1, function in GtkPaned
gtk_paned_pack2, function in GtkPaned
gtk_paned_set_position, function in GtkPaned
gtk_paned_set_wide_handle, function in GtkPaned
GtkPaperSize, struct in GtkPaperSize
GTK_PAPER_NAME_A3, macro in GtkPaperSize
GTK_PAPER_NAME_A4, macro in GtkPaperSize
GTK_PAPER_NAME_A5, macro in GtkPaperSize
GTK_PAPER_NAME_B5, macro in GtkPaperSize
GTK_PAPER_NAME_EXECUTIVE, macro in GtkPaperSize
GTK_PAPER_NAME_LEGAL, macro in GtkPaperSize
GTK_PAPER_NAME_LETTER, macro in GtkPaperSize
gtk_paper_size_copy, function in GtkPaperSize
gtk_paper_size_free, function in GtkPaperSize
gtk_paper_size_get_default, function in GtkPaperSize
gtk_paper_size_get_default_bottom_margin, function in GtkPaperSize
gtk_paper_size_get_default_left_margin, function in GtkPaperSize
gtk_paper_size_get_default_right_margin, function in GtkPaperSize
gtk_paper_size_get_default_top_margin, function in GtkPaperSize
gtk_paper_size_get_display_name, function in GtkPaperSize
gtk_paper_size_get_height, function in GtkPaperSize
gtk_paper_size_get_name, function in GtkPaperSize
gtk_paper_size_get_paper_sizes, function in GtkPaperSize
gtk_paper_size_get_ppd_name, function in GtkPaperSize
gtk_paper_size_get_width, function in GtkPaperSize
gtk_paper_size_is_custom, function in GtkPaperSize
gtk_paper_size_is_equal, function in GtkPaperSize
gtk_paper_size_is_ipp, function in GtkPaperSize
gtk_paper_size_new, function in GtkPaperSize
gtk_paper_size_new_custom, function in GtkPaperSize
gtk_paper_size_new_from_gvariant, function in GtkPaperSize
gtk_paper_size_new_from_ipp, function in GtkPaperSize
gtk_paper_size_new_from_key_file, function in GtkPaperSize
gtk_paper_size_new_from_ppd, function in GtkPaperSize
gtk_paper_size_set_size, function in GtkPaperSize
gtk_paper_size_to_gvariant, function in GtkPaperSize
gtk_paper_size_to_key_file, function in GtkPaperSize
GtkPasswordEntry, struct in GtkPasswordEntry
GtkPasswordEntry:activates-default, object property in GtkPasswordEntry
GtkPasswordEntry:extra-menu, object property in GtkPasswordEntry
GtkPasswordEntry:placeholder-text, object property in GtkPasswordEntry
GtkPasswordEntry:show-peek-icon, object property in GtkPasswordEntry
gtk_password_entry_get_extra_menu, function in GtkPasswordEntry
gtk_password_entry_get_show_peek_icon, function in GtkPasswordEntry
gtk_password_entry_new, function in GtkPasswordEntry
gtk_password_entry_set_extra_menu, function in GtkPasswordEntry
gtk_password_entry_set_show_peek_icon, function in GtkPasswordEntry
GtkPickFlags, enum in GtkWidget
GtkPicture, struct in GtkPicture
GtkPicture:alternative-text, object property in GtkPicture
GtkPicture:can-shrink, object property in GtkPicture
GtkPicture:file, object property in GtkPicture
GtkPicture:keep-aspect-ratio, object property in GtkPicture
GtkPicture:paintable, object property in GtkPicture
gtk_picture_get_alternative_text, function in GtkPicture
gtk_picture_get_can_shrink, function in GtkPicture
gtk_picture_get_file, function in GtkPicture
gtk_picture_get_keep_aspect_ratio, function in GtkPicture
gtk_picture_get_paintable, function in GtkPicture
gtk_picture_new, function in GtkPicture
gtk_picture_new_for_file, function in GtkPicture
gtk_picture_new_for_filename, function in GtkPicture
gtk_picture_new_for_paintable, function in GtkPicture
gtk_picture_new_for_pixbuf, function in GtkPicture
gtk_picture_new_for_resource, function in GtkPicture
gtk_picture_set_alternative_text, function in GtkPicture
gtk_picture_set_can_shrink, function in GtkPicture
gtk_picture_set_file, function in GtkPicture
gtk_picture_set_filename, function in GtkPicture
gtk_picture_set_keep_aspect_ratio, function in GtkPicture
gtk_picture_set_paintable, function in GtkPicture
gtk_picture_set_pixbuf, function in GtkPicture
gtk_picture_set_resource, function in GtkPicture
GtkPolicyType, enum in GtkScrolledWindow
GtkPopover, struct in GtkPopover
GtkPopover::activate-default, object signal in GtkPopover
GtkPopover::closed, object signal in GtkPopover
GtkPopover:autohide, object property in GtkPopover
GtkPopover:default-widget, object property in GtkPopover
GtkPopover:has-arrow, object property in GtkPopover
GtkPopover:pointing-to, object property in GtkPopover
GtkPopover:position, object property in GtkPopover
GtkPopover:relative-to, object property in GtkPopover
GtkPopoverMenu, struct in GtkPopoverMenu
GtkPopoverMenu:menu-model, object property in GtkPopoverMenu
GtkPopoverMenu:visible-submenu, object property in GtkPopoverMenu
GtkPopoverMenuBar, struct in GtkPopoverMenuBar
GtkPopoverMenuBar:menu-model, object property in GtkPopoverMenuBar
gtk_popover_get_autohide, function in GtkPopover
gtk_popover_get_has_arrow, function in GtkPopover
gtk_popover_get_pointing_to, function in GtkPopover
gtk_popover_get_position, function in GtkPopover
gtk_popover_get_relative_to, function in GtkPopover
gtk_popover_menu_bar_get_menu_model, function in GtkPopoverMenuBar
gtk_popover_menu_bar_new_from_model, function in GtkPopoverMenuBar
gtk_popover_menu_bar_set_menu_model, function in GtkPopoverMenuBar
gtk_popover_menu_get_menu_model, function in GtkPopoverMenu
gtk_popover_menu_new_from_model, function in GtkPopoverMenu
gtk_popover_menu_set_menu_model, function in GtkPopoverMenu
gtk_popover_new, function in GtkPopover
gtk_popover_popdown, function in GtkPopover
gtk_popover_popup, function in GtkPopover
gtk_popover_set_autohide, function in GtkPopover
gtk_popover_set_default_widget, function in GtkPopover
gtk_popover_set_has_arrow, function in GtkPopover
gtk_popover_set_pointing_to, function in GtkPopover
gtk_popover_set_position, function in GtkPopover
gtk_popover_set_relative_to, function in GtkPopover
GtkPositionType, enum in Standard Enumerations
GtkPrintBackend, struct in GtkPrinter
GtkPrintCapabilities, enum in GtkPrintUnixDialog
GtkPrintContext, struct in GtkPrintContext
GtkPrintDuplex, enum in GtkPrintSettings
GtkPrinter, struct in GtkPrinter
GtkPrinter::details-acquired, object signal in GtkPrinter
GtkPrinter:accepting-jobs, object property in GtkPrinter
GtkPrinter:accepts-pdf, object property in GtkPrinter
GtkPrinter:accepts-ps, object property in GtkPrinter
GtkPrinter:backend, object property in GtkPrinter
GtkPrinter:icon-name, object property in GtkPrinter
GtkPrinter:is-virtual, object property in GtkPrinter
GtkPrinter:job-count, object property in GtkPrinter
GtkPrinter:location, object property in GtkPrinter
GtkPrinter:name, object property in GtkPrinter
GtkPrinter:paused, object property in GtkPrinter
GtkPrinter:state-message, object property in GtkPrinter
GtkPrinterFunc, user_function in GtkPrinter
GtkPrintError, enum in High-level Printing API
gtk_printer_accepts_pdf, function in GtkPrinter
gtk_printer_accepts_ps, function in GtkPrinter
gtk_printer_compare, function in GtkPrinter
gtk_printer_get_backend, function in GtkPrinter
gtk_printer_get_capabilities, function in GtkPrinter
gtk_printer_get_default_page_size, function in GtkPrinter
gtk_printer_get_description, function in GtkPrinter
gtk_printer_get_hard_margins, function in GtkPrinter
gtk_printer_get_hard_margins_for_paper_size, function in GtkPrinter
gtk_printer_get_icon_name, function in GtkPrinter
gtk_printer_get_job_count, function in GtkPrinter
gtk_printer_get_location, function in GtkPrinter
gtk_printer_get_name, function in GtkPrinter
gtk_printer_get_state_message, function in GtkPrinter
gtk_printer_has_details, function in GtkPrinter
gtk_printer_is_accepting_jobs, function in GtkPrinter
gtk_printer_is_active, function in GtkPrinter
gtk_printer_is_default, function in GtkPrinter
gtk_printer_is_paused, function in GtkPrinter
gtk_printer_is_virtual, function in GtkPrinter
gtk_printer_list_papers, function in GtkPrinter
gtk_printer_new, function in GtkPrinter
gtk_printer_request_details, function in GtkPrinter
GtkPrintJob, struct in GtkPrintJob
GtkPrintJob::status-changed, object signal in GtkPrintJob
GtkPrintJob:page-setup, object property in GtkPrintJob
GtkPrintJob:printer, object property in GtkPrintJob
GtkPrintJob:settings, object property in GtkPrintJob
GtkPrintJob:title, object property in GtkPrintJob
GtkPrintJob:track-print-status, object property in GtkPrintJob
GtkPrintJobCompleteFunc, user_function in GtkPrintJob
GtkPrintOperation, struct in High-level Printing API
GtkPrintOperation::begin-print, object signal in High-level Printing API
GtkPrintOperation::create-custom-widget, object signal in High-level Printing API
GtkPrintOperation::custom-widget-apply, object signal in High-level Printing API
GtkPrintOperation::done, object signal in High-level Printing API
GtkPrintOperation::draw-page, object signal in High-level Printing API
GtkPrintOperation::end-print, object signal in High-level Printing API
GtkPrintOperation::paginate, object signal in High-level Printing API
GtkPrintOperation::preview, object signal in High-level Printing API
GtkPrintOperation::request-page-setup, object signal in High-level Printing API
GtkPrintOperation::status-changed, object signal in High-level Printing API
GtkPrintOperation::update-custom-widget, object signal in High-level Printing API
GtkPrintOperation:allow-async, object property in High-level Printing API
GtkPrintOperation:current-page, object property in High-level Printing API
GtkPrintOperation:custom-tab-label, object property in High-level Printing API
GtkPrintOperation:default-page-setup, object property in High-level Printing API
GtkPrintOperation:embed-page-setup, object property in High-level Printing API
GtkPrintOperation:export-filename, object property in High-level Printing API
GtkPrintOperation:has-selection, object property in High-level Printing API
GtkPrintOperation:job-name, object property in High-level Printing API
GtkPrintOperation:n-pages, object property in High-level Printing API
GtkPrintOperation:n-pages-to-print, object property in High-level Printing API
GtkPrintOperation:print-settings, object property in High-level Printing API
GtkPrintOperation:show-progress, object property in High-level Printing API
GtkPrintOperation:status, object property in High-level Printing API
GtkPrintOperation:status-string, object property in High-level Printing API
GtkPrintOperation:support-selection, object property in High-level Printing API
GtkPrintOperation:track-print-status, object property in High-level Printing API
GtkPrintOperation:unit, object property in High-level Printing API
GtkPrintOperation:use-full-page, object property in High-level Printing API
GtkPrintOperationAction, enum in High-level Printing API
GtkPrintOperationClass, struct in High-level Printing API
GtkPrintOperationPreview, struct in High-level Printing API
GtkPrintOperationPreview::got-page-size, object signal in High-level Printing API
GtkPrintOperationPreview::ready, object signal in High-level Printing API
GtkPrintOperationResult, enum in High-level Printing API
GtkPrintPages, enum in GtkPrintSettings
GtkPrintQuality, enum in GtkPrintSettings
GtkPrintSettings, struct in GtkPrintSettings
GtkPrintSettingsFunc, user_function in GtkPrintSettings
GtkPrintStatus, enum in High-level Printing API
GtkPrintUnixDialog, struct in GtkPrintUnixDialog
GtkPrintUnixDialog:current-page, object property in GtkPrintUnixDialog
GtkPrintUnixDialog:embed-page-setup, object property in GtkPrintUnixDialog
GtkPrintUnixDialog:has-selection, object property in GtkPrintUnixDialog
GtkPrintUnixDialog:manual-capabilities, object property in GtkPrintUnixDialog
GtkPrintUnixDialog:page-setup, object property in GtkPrintUnixDialog
GtkPrintUnixDialog:print-settings, object property in GtkPrintUnixDialog
GtkPrintUnixDialog:selected-printer, object property in GtkPrintUnixDialog
GtkPrintUnixDialog:support-selection, object property in GtkPrintUnixDialog
gtk_print_context_create_pango_context, function in GtkPrintContext
gtk_print_context_create_pango_layout, function in GtkPrintContext
gtk_print_context_get_cairo_context, function in GtkPrintContext
gtk_print_context_get_dpi_x, function in GtkPrintContext
gtk_print_context_get_dpi_y, function in GtkPrintContext
gtk_print_context_get_hard_margins, function in GtkPrintContext
gtk_print_context_get_height, function in GtkPrintContext
gtk_print_context_get_page_setup, function in GtkPrintContext
gtk_print_context_get_pango_fontmap, function in GtkPrintContext
gtk_print_context_get_width, function in GtkPrintContext
gtk_print_context_set_cairo_context, function in GtkPrintContext
GTK_PRINT_ERROR, macro in High-level Printing API
gtk_print_job_get_collate, function in GtkPrintJob
gtk_print_job_get_num_copies, function in GtkPrintJob
gtk_print_job_get_n_up, function in GtkPrintJob
gtk_print_job_get_n_up_layout, function in GtkPrintJob
gtk_print_job_get_pages, function in GtkPrintJob
gtk_print_job_get_page_ranges, function in GtkPrintJob
gtk_print_job_get_page_set, function in GtkPrintJob
gtk_print_job_get_printer, function in GtkPrintJob
gtk_print_job_get_reverse, function in GtkPrintJob
gtk_print_job_get_rotate, function in GtkPrintJob
gtk_print_job_get_scale, function in GtkPrintJob
gtk_print_job_get_settings, function in GtkPrintJob
gtk_print_job_get_status, function in GtkPrintJob
gtk_print_job_get_surface, function in GtkPrintJob
gtk_print_job_get_title, function in GtkPrintJob
gtk_print_job_get_track_print_status, function in GtkPrintJob
gtk_print_job_new, function in GtkPrintJob
gtk_print_job_send, function in GtkPrintJob
gtk_print_job_set_collate, function in GtkPrintJob
gtk_print_job_set_num_copies, function in GtkPrintJob
gtk_print_job_set_n_up, function in GtkPrintJob
gtk_print_job_set_n_up_layout, function in GtkPrintJob
gtk_print_job_set_pages, function in GtkPrintJob
gtk_print_job_set_page_ranges, function in GtkPrintJob
gtk_print_job_set_page_set, function in GtkPrintJob
gtk_print_job_set_reverse, function in GtkPrintJob
gtk_print_job_set_rotate, function in GtkPrintJob
gtk_print_job_set_scale, function in GtkPrintJob
gtk_print_job_set_source_fd, function in GtkPrintJob
gtk_print_job_set_source_file, function in GtkPrintJob
gtk_print_job_set_track_print_status, function in GtkPrintJob
gtk_print_operation_cancel, function in High-level Printing API
gtk_print_operation_draw_page_finish, function in High-level Printing API
gtk_print_operation_get_default_page_setup, function in High-level Printing API
gtk_print_operation_get_embed_page_setup, function in High-level Printing API
gtk_print_operation_get_error, function in High-level Printing API
gtk_print_operation_get_has_selection, function in High-level Printing API
gtk_print_operation_get_n_pages_to_print, function in High-level Printing API
gtk_print_operation_get_print_settings, function in High-level Printing API
gtk_print_operation_get_status, function in High-level Printing API
gtk_print_operation_get_status_string, function in High-level Printing API
gtk_print_operation_get_support_selection, function in High-level Printing API
gtk_print_operation_is_finished, function in High-level Printing API
gtk_print_operation_new, function in High-level Printing API
gtk_print_operation_preview_end_preview, function in High-level Printing API
gtk_print_operation_preview_is_selected, function in High-level Printing API
gtk_print_operation_preview_render_page, function in High-level Printing API
gtk_print_operation_run, function in High-level Printing API
gtk_print_operation_set_allow_async, function in High-level Printing API
gtk_print_operation_set_current_page, function in High-level Printing API
gtk_print_operation_set_custom_tab_label, function in High-level Printing API
gtk_print_operation_set_default_page_setup, function in High-level Printing API
gtk_print_operation_set_defer_drawing, function in High-level Printing API
gtk_print_operation_set_embed_page_setup, function in High-level Printing API
gtk_print_operation_set_export_filename, function in High-level Printing API
gtk_print_operation_set_has_selection, function in High-level Printing API
gtk_print_operation_set_job_name, function in High-level Printing API
gtk_print_operation_set_n_pages, function in High-level Printing API
gtk_print_operation_set_print_settings, function in High-level Printing API
gtk_print_operation_set_show_progress, function in High-level Printing API
gtk_print_operation_set_support_selection, function in High-level Printing API
gtk_print_operation_set_track_print_status, function in High-level Printing API
gtk_print_operation_set_unit, function in High-level Printing API
gtk_print_operation_set_use_full_page, function in High-level Printing API
gtk_print_run_page_setup_dialog, function in High-level Printing API
gtk_print_run_page_setup_dialog_async, function in High-level Printing API
GTK_PRINT_SETTINGS_COLLATE, macro in GtkPrintSettings
gtk_print_settings_copy, function in GtkPrintSettings
GTK_PRINT_SETTINGS_DEFAULT_SOURCE, macro in GtkPrintSettings
GTK_PRINT_SETTINGS_DITHER, macro in GtkPrintSettings
GTK_PRINT_SETTINGS_DUPLEX, macro in GtkPrintSettings
GTK_PRINT_SETTINGS_FINISHINGS, macro in GtkPrintSettings
gtk_print_settings_foreach, function in GtkPrintSettings
gtk_print_settings_get, function in GtkPrintSettings
gtk_print_settings_get_bool, function in GtkPrintSettings
gtk_print_settings_get_collate, function in GtkPrintSettings
gtk_print_settings_get_default_source, function in GtkPrintSettings
gtk_print_settings_get_dither, function in GtkPrintSettings
gtk_print_settings_get_double, function in GtkPrintSettings
gtk_print_settings_get_double_with_default, function in GtkPrintSettings
gtk_print_settings_get_duplex, function in GtkPrintSettings
gtk_print_settings_get_finishings, function in GtkPrintSettings
gtk_print_settings_get_int, function in GtkPrintSettings
gtk_print_settings_get_int_with_default, function in GtkPrintSettings
gtk_print_settings_get_length, function in GtkPrintSettings
gtk_print_settings_get_media_type, function in GtkPrintSettings
gtk_print_settings_get_number_up, function in GtkPrintSettings
gtk_print_settings_get_number_up_layout, function in GtkPrintSettings
gtk_print_settings_get_n_copies, function in GtkPrintSettings
gtk_print_settings_get_orientation, function in GtkPrintSettings
gtk_print_settings_get_output_bin, function in GtkPrintSettings
gtk_print_settings_get_page_ranges, function in GtkPrintSettings
gtk_print_settings_get_page_set, function in GtkPrintSettings
gtk_print_settings_get_paper_height, function in GtkPrintSettings
gtk_print_settings_get_paper_size, function in GtkPrintSettings
gtk_print_settings_get_paper_width, function in GtkPrintSettings
gtk_print_settings_get_printer, function in GtkPrintSettings
gtk_print_settings_get_printer_lpi, function in GtkPrintSettings
gtk_print_settings_get_print_pages, function in GtkPrintSettings
gtk_print_settings_get_quality, function in GtkPrintSettings
gtk_print_settings_get_resolution, function in GtkPrintSettings
gtk_print_settings_get_resolution_x, function in GtkPrintSettings
gtk_print_settings_get_resolution_y, function in GtkPrintSettings
gtk_print_settings_get_reverse, function in GtkPrintSettings
gtk_print_settings_get_scale, function in GtkPrintSettings
gtk_print_settings_get_use_color, function in GtkPrintSettings
gtk_print_settings_has_key, function in GtkPrintSettings
gtk_print_settings_load_file, function in GtkPrintSettings
gtk_print_settings_load_key_file, function in GtkPrintSettings
GTK_PRINT_SETTINGS_MEDIA_TYPE, macro in GtkPrintSettings
gtk_print_settings_new, function in GtkPrintSettings
gtk_print_settings_new_from_file, function in GtkPrintSettings
gtk_print_settings_new_from_gvariant, function in GtkPrintSettings
gtk_print_settings_new_from_key_file, function in GtkPrintSettings
GTK_PRINT_SETTINGS_NUMBER_UP, macro in GtkPrintSettings
GTK_PRINT_SETTINGS_NUMBER_UP_LAYOUT, macro in GtkPrintSettings
GTK_PRINT_SETTINGS_N_COPIES, macro in GtkPrintSettings
GTK_PRINT_SETTINGS_ORIENTATION, macro in GtkPrintSettings
GTK_PRINT_SETTINGS_OUTPUT_BASENAME, macro in GtkPrintSettings
GTK_PRINT_SETTINGS_OUTPUT_BIN, macro in GtkPrintSettings
GTK_PRINT_SETTINGS_OUTPUT_DIR, macro in GtkPrintSettings
GTK_PRINT_SETTINGS_OUTPUT_FILE_FORMAT, macro in GtkPrintSettings
GTK_PRINT_SETTINGS_OUTPUT_URI, macro in GtkPrintSettings
GTK_PRINT_SETTINGS_PAGE_RANGES, macro in GtkPrintSettings
GTK_PRINT_SETTINGS_PAGE_SET, macro in GtkPrintSettings
GTK_PRINT_SETTINGS_PAPER_FORMAT, macro in GtkPrintSettings
GTK_PRINT_SETTINGS_PAPER_HEIGHT, macro in GtkPrintSettings
GTK_PRINT_SETTINGS_PAPER_WIDTH, macro in GtkPrintSettings
GTK_PRINT_SETTINGS_PRINTER, macro in GtkPrintSettings
GTK_PRINT_SETTINGS_PRINTER_LPI, macro in GtkPrintSettings
GTK_PRINT_SETTINGS_PRINT_PAGES, macro in GtkPrintSettings
GTK_PRINT_SETTINGS_QUALITY, macro in GtkPrintSettings
GTK_PRINT_SETTINGS_RESOLUTION, macro in GtkPrintSettings
GTK_PRINT_SETTINGS_RESOLUTION_X, macro in GtkPrintSettings
GTK_PRINT_SETTINGS_RESOLUTION_Y, macro in GtkPrintSettings
GTK_PRINT_SETTINGS_REVERSE, macro in GtkPrintSettings
GTK_PRINT_SETTINGS_SCALE, macro in GtkPrintSettings
gtk_print_settings_set, function in GtkPrintSettings
gtk_print_settings_set_bool, function in GtkPrintSettings
gtk_print_settings_set_collate, function in GtkPrintSettings
gtk_print_settings_set_default_source, function in GtkPrintSettings
gtk_print_settings_set_dither, function in GtkPrintSettings
gtk_print_settings_set_double, function in GtkPrintSettings
gtk_print_settings_set_duplex, function in GtkPrintSettings
gtk_print_settings_set_finishings, function in GtkPrintSettings
gtk_print_settings_set_int, function in GtkPrintSettings
gtk_print_settings_set_length, function in GtkPrintSettings
gtk_print_settings_set_media_type, function in GtkPrintSettings
gtk_print_settings_set_number_up, function in GtkPrintSettings
gtk_print_settings_set_number_up_layout, function in GtkPrintSettings
gtk_print_settings_set_n_copies, function in GtkPrintSettings
gtk_print_settings_set_orientation, function in GtkPrintSettings
gtk_print_settings_set_output_bin, function in GtkPrintSettings
gtk_print_settings_set_page_ranges, function in GtkPrintSettings
gtk_print_settings_set_page_set, function in GtkPrintSettings
gtk_print_settings_set_paper_height, function in GtkPrintSettings
gtk_print_settings_set_paper_size, function in GtkPrintSettings
gtk_print_settings_set_paper_width, function in GtkPrintSettings
gtk_print_settings_set_printer, function in GtkPrintSettings
gtk_print_settings_set_printer_lpi, function in GtkPrintSettings
gtk_print_settings_set_print_pages, function in GtkPrintSettings
gtk_print_settings_set_quality, function in GtkPrintSettings
gtk_print_settings_set_resolution, function in GtkPrintSettings
gtk_print_settings_set_resolution_xy, function in GtkPrintSettings
gtk_print_settings_set_reverse, function in GtkPrintSettings
gtk_print_settings_set_scale, function in GtkPrintSettings
gtk_print_settings_set_use_color, function in GtkPrintSettings
gtk_print_settings_to_file, function in GtkPrintSettings
gtk_print_settings_to_gvariant, function in GtkPrintSettings
gtk_print_settings_to_key_file, function in GtkPrintSettings
gtk_print_settings_unset, function in GtkPrintSettings
GTK_PRINT_SETTINGS_USE_COLOR, macro in GtkPrintSettings
GTK_PRINT_SETTINGS_WIN32_DRIVER_EXTRA, macro in GtkPrintSettings
GTK_PRINT_SETTINGS_WIN32_DRIVER_VERSION, macro in GtkPrintSettings
gtk_print_unix_dialog_add_custom_tab, function in GtkPrintUnixDialog
gtk_print_unix_dialog_get_current_page, function in GtkPrintUnixDialog
gtk_print_unix_dialog_get_embed_page_setup, function in GtkPrintUnixDialog
gtk_print_unix_dialog_get_has_selection, function in GtkPrintUnixDialog
gtk_print_unix_dialog_get_manual_capabilities, function in GtkPrintUnixDialog
gtk_print_unix_dialog_get_page_setup, function in GtkPrintUnixDialog
gtk_print_unix_dialog_get_page_setup_set, function in GtkPrintUnixDialog
gtk_print_unix_dialog_get_selected_printer, function in GtkPrintUnixDialog
gtk_print_unix_dialog_get_settings, function in GtkPrintUnixDialog
gtk_print_unix_dialog_get_support_selection, function in GtkPrintUnixDialog
gtk_print_unix_dialog_new, function in GtkPrintUnixDialog
gtk_print_unix_dialog_set_current_page, function in GtkPrintUnixDialog
gtk_print_unix_dialog_set_embed_page_setup, function in GtkPrintUnixDialog
gtk_print_unix_dialog_set_has_selection, function in GtkPrintUnixDialog
gtk_print_unix_dialog_set_manual_capabilities, function in GtkPrintUnixDialog
gtk_print_unix_dialog_set_page_setup, function in GtkPrintUnixDialog
gtk_print_unix_dialog_set_settings, function in GtkPrintUnixDialog
gtk_print_unix_dialog_set_support_selection, function in GtkPrintUnixDialog
GTK_PRIORITY_RESIZE, macro in General
GtkProgressBar, struct in GtkProgressBar
GtkProgressBar:ellipsize, object property in GtkProgressBar
GtkProgressBar:fraction, object property in GtkProgressBar
GtkProgressBar:inverted, object property in GtkProgressBar
GtkProgressBar:pulse-step, object property in GtkProgressBar
GtkProgressBar:show-text, object property in GtkProgressBar
GtkProgressBar:text, object property in GtkProgressBar
gtk_progress_bar_get_ellipsize, function in GtkProgressBar
gtk_progress_bar_get_fraction, function in GtkProgressBar
gtk_progress_bar_get_inverted, function in GtkProgressBar
gtk_progress_bar_get_pulse_step, function in GtkProgressBar
gtk_progress_bar_get_show_text, function in GtkProgressBar
gtk_progress_bar_get_text, function in GtkProgressBar
gtk_progress_bar_new, function in GtkProgressBar
gtk_progress_bar_pulse, function in GtkProgressBar
gtk_progress_bar_set_ellipsize, function in GtkProgressBar
gtk_progress_bar_set_fraction, function in GtkProgressBar
gtk_progress_bar_set_inverted, function in GtkProgressBar
gtk_progress_bar_set_pulse_step, function in GtkProgressBar
gtk_progress_bar_set_show_text, function in GtkProgressBar
gtk_progress_bar_set_text, function in GtkProgressBar
GtkPropagationLimit, enum in GtkEventController
GtkPropagationPhase, enum in GtkEventController
R
GtkRadioButton, struct in GtkRadioButton
GtkRadioButton::group-changed, object signal in GtkRadioButton
GtkRadioButton:group, object property in GtkRadioButton
gtk_radio_button_get_group, function in GtkRadioButton
gtk_radio_button_join_group, function in GtkRadioButton
gtk_radio_button_new, function in GtkRadioButton
gtk_radio_button_new_from_widget, function in GtkRadioButton
gtk_radio_button_new_with_label, function in GtkRadioButton
gtk_radio_button_new_with_label_from_widget, function in GtkRadioButton
gtk_radio_button_new_with_mnemonic, function in GtkRadioButton
gtk_radio_button_new_with_mnemonic_from_widget, function in GtkRadioButton
gtk_radio_button_set_group, function in GtkRadioButton
GtkRange, struct in GtkRange
GtkRange::adjust-bounds, object signal in GtkRange
GtkRange::change-value, object signal in GtkRange
GtkRange::move-slider, object signal in GtkRange
GtkRange::value-changed, object signal in GtkRange
GtkRange:adjustment, object property in GtkRange
GtkRange:fill-level, object property in GtkRange
GtkRange:inverted, object property in GtkRange
GtkRange:restrict-to-fill-level, object property in GtkRange
GtkRange:round-digits, object property in GtkRange
GtkRange:show-fill-level, object property in GtkRange
gtk_range_get_adjustment, function in GtkRange
gtk_range_get_fill_level, function in GtkRange
gtk_range_get_flippable, function in GtkRange
gtk_range_get_inverted, function in GtkRange
gtk_range_get_range_rect, function in GtkRange
gtk_range_get_restrict_to_fill_level, function in GtkRange
gtk_range_get_round_digits, function in GtkRange
gtk_range_get_show_fill_level, function in GtkRange
gtk_range_get_slider_range, function in GtkRange
gtk_range_get_slider_size_fixed, function in GtkRange
gtk_range_get_value, function in GtkRange
gtk_range_set_adjustment, function in GtkRange
gtk_range_set_fill_level, function in GtkRange
gtk_range_set_flippable, function in GtkRange
gtk_range_set_increments, function in GtkRange
gtk_range_set_inverted, function in GtkRange
gtk_range_set_range, function in GtkRange
gtk_range_set_restrict_to_fill_level, function in GtkRange
gtk_range_set_round_digits, function in GtkRange
gtk_range_set_show_fill_level, function in GtkRange
gtk_range_set_slider_size_fixed, function in GtkRange
gtk_range_set_value, function in GtkRange
GtkRecentData, struct in GtkRecentManager
GtkRecentInfo, struct in GtkRecentManager
GtkRecentManager, struct in GtkRecentManager
GtkRecentManager::changed, object signal in GtkRecentManager
GtkRecentManager:filename, object property in GtkRecentManager
GtkRecentManager:size, object property in GtkRecentManager
GtkRecentManagerError, enum in GtkRecentManager
gtk_recent_info_create_app_info, function in GtkRecentManager
gtk_recent_info_exists, function in GtkRecentManager
gtk_recent_info_get_added, function in GtkRecentManager
gtk_recent_info_get_age, function in GtkRecentManager
gtk_recent_info_get_applications, function in GtkRecentManager
gtk_recent_info_get_application_info, function in GtkRecentManager
gtk_recent_info_get_description, function in GtkRecentManager
gtk_recent_info_get_display_name, function in GtkRecentManager
gtk_recent_info_get_gicon, function in GtkRecentManager
gtk_recent_info_get_groups, function in GtkRecentManager
gtk_recent_info_get_mime_type, function in GtkRecentManager
gtk_recent_info_get_modified, function in GtkRecentManager
gtk_recent_info_get_private_hint, function in GtkRecentManager
gtk_recent_info_get_short_name, function in GtkRecentManager
gtk_recent_info_get_uri, function in GtkRecentManager
gtk_recent_info_get_uri_display, function in GtkRecentManager
gtk_recent_info_get_visited, function in GtkRecentManager
gtk_recent_info_has_application, function in GtkRecentManager
gtk_recent_info_has_group, function in GtkRecentManager
gtk_recent_info_is_local, function in GtkRecentManager
gtk_recent_info_last_application, function in GtkRecentManager
gtk_recent_info_match, function in GtkRecentManager
gtk_recent_info_ref, function in GtkRecentManager
gtk_recent_info_unref, function in GtkRecentManager
gtk_recent_manager_add_full, function in GtkRecentManager
gtk_recent_manager_add_item, function in GtkRecentManager
GTK_RECENT_MANAGER_ERROR, macro in GtkRecentManager
gtk_recent_manager_get_default, function in GtkRecentManager
gtk_recent_manager_get_items, function in GtkRecentManager
gtk_recent_manager_has_item, function in GtkRecentManager
gtk_recent_manager_lookup_item, function in GtkRecentManager
gtk_recent_manager_move_item, function in GtkRecentManager
gtk_recent_manager_new, function in GtkRecentManager
gtk_recent_manager_purge_items, function in GtkRecentManager
gtk_recent_manager_remove_item, function in GtkRecentManager
GtkReliefStyle, enum in Standard Enumerations
gtk_render_activity, function in GtkStyleContext
gtk_render_arrow, function in GtkStyleContext
gtk_render_background, function in GtkStyleContext
gtk_render_check, function in GtkStyleContext
gtk_render_expander, function in GtkStyleContext
gtk_render_focus, function in GtkStyleContext
gtk_render_frame, function in GtkStyleContext
gtk_render_handle, function in GtkStyleContext
gtk_render_icon, function in GtkStyleContext
gtk_render_insertion_cursor, function in GtkStyleContext
gtk_render_layout, function in GtkStyleContext
gtk_render_line, function in GtkStyleContext
gtk_render_option, function in GtkStyleContext
GtkRequestedSize, struct in GtkWidget
GtkRequisition, struct in GtkWidget
gtk_requisition_copy, function in GtkWidget
gtk_requisition_free, function in GtkWidget
gtk_requisition_new, function in GtkWidget
GtkResponseType, enum in GtkDialog
GtkRevealer, struct in GtkRevealer
GtkRevealer:child-revealed, object property in GtkRevealer
GtkRevealer:reveal-child, object property in GtkRevealer
GtkRevealer:transition-duration, object property in GtkRevealer
GtkRevealer:transition-type, object property in GtkRevealer
GtkRevealerTransitionType, enum in GtkRevealer
gtk_revealer_get_child_revealed, function in GtkRevealer
gtk_revealer_get_reveal_child, function in GtkRevealer
gtk_revealer_get_transition_duration, function in GtkRevealer
gtk_revealer_get_transition_type, function in GtkRevealer
gtk_revealer_new, function in GtkRevealer
gtk_revealer_set_reveal_child, function in GtkRevealer
gtk_revealer_set_transition_duration, function in GtkRevealer
gtk_revealer_set_transition_type, function in GtkRevealer
gtk_rgb_to_hsv, function in GtkColorChooser
GtkRoot, struct in GtkRoot
GtkRoot:focus-widget, object property in GtkRoot
gtk_root_get_display, function in GtkRoot
gtk_root_get_focus, function in GtkRoot
gtk_root_set_focus, function in GtkRoot
S
GtkScale, struct in GtkScale
GtkScale:digits, object property in GtkScale
GtkScale:draw-value, object property in GtkScale
GtkScale:has-origin, object property in GtkScale
GtkScale:value-pos, object property in GtkScale
GtkScaleButton, struct in GtkScaleButton
GtkScaleButton::popdown, object signal in GtkScaleButton
GtkScaleButton::popup, object signal in GtkScaleButton
GtkScaleButton::value-changed, object signal in GtkScaleButton
GtkScaleButton:adjustment, object property in GtkScaleButton
GtkScaleButton:icons, object property in GtkScaleButton
GtkScaleButton:value, object property in GtkScaleButton
gtk_scale_add_mark, function in GtkScale
gtk_scale_button_get_adjustment, function in GtkScaleButton
gtk_scale_button_get_minus_button, function in GtkScaleButton
gtk_scale_button_get_plus_button, function in GtkScaleButton
gtk_scale_button_get_popup, function in GtkScaleButton
gtk_scale_button_get_value, function in GtkScaleButton
gtk_scale_button_new, function in GtkScaleButton
gtk_scale_button_set_adjustment, function in GtkScaleButton
gtk_scale_button_set_icons, function in GtkScaleButton
gtk_scale_button_set_value, function in GtkScaleButton
gtk_scale_clear_marks, function in GtkScale
gtk_scale_get_digits, function in GtkScale
gtk_scale_get_draw_value, function in GtkScale
gtk_scale_get_has_origin, function in GtkScale
gtk_scale_get_layout, function in GtkScale
gtk_scale_get_layout_offsets, function in GtkScale
gtk_scale_get_value_pos, function in GtkScale
gtk_scale_new, function in GtkScale
gtk_scale_new_with_range, function in GtkScale
gtk_scale_set_digits, function in GtkScale
gtk_scale_set_draw_value, function in GtkScale
gtk_scale_set_has_origin, function in GtkScale
gtk_scale_set_value_pos, function in GtkScale
GtkScrollable, struct in GtkScrollable
GtkScrollable:hadjustment, object property in GtkScrollable
GtkScrollable:hscroll-policy, object property in GtkScrollable
GtkScrollable:vadjustment, object property in GtkScrollable
GtkScrollable:vscroll-policy, object property in GtkScrollable
GtkScrollablePolicy, enum in GtkScrollable
gtk_scrollable_get_border, function in GtkScrollable
gtk_scrollable_get_hadjustment, function in GtkScrollable
gtk_scrollable_get_hscroll_policy, function in GtkScrollable
gtk_scrollable_get_vadjustment, function in GtkScrollable
gtk_scrollable_get_vscroll_policy, function in GtkScrollable
gtk_scrollable_set_hadjustment, function in GtkScrollable
gtk_scrollable_set_hscroll_policy, function in GtkScrollable
gtk_scrollable_set_vadjustment, function in GtkScrollable
gtk_scrollable_set_vscroll_policy, function in GtkScrollable
GtkScrollbar, struct in GtkScrollbar
GtkScrollbar:adjustment, object property in GtkScrollbar
gtk_scrollbar_get_adjustment, function in GtkScrollbar
gtk_scrollbar_new, function in GtkScrollbar
gtk_scrollbar_set_adjustment, function in GtkScrollbar
GtkScrolledWindow, struct in GtkScrolledWindow
GtkScrolledWindow::edge-overshot, object signal in GtkScrolledWindow
GtkScrolledWindow::edge-reached, object signal in GtkScrolledWindow
GtkScrolledWindow::move-focus-out, object signal in GtkScrolledWindow
GtkScrolledWindow::scroll-child, object signal in GtkScrolledWindow
GtkScrolledWindow:hadjustment, object property in GtkScrolledWindow
GtkScrolledWindow:hscrollbar-policy, object property in GtkScrolledWindow
GtkScrolledWindow:kinetic-scrolling, object property in GtkScrolledWindow
GtkScrolledWindow:max-content-height, object property in GtkScrolledWindow
GtkScrolledWindow:max-content-width, object property in GtkScrolledWindow
GtkScrolledWindow:min-content-height, object property in GtkScrolledWindow
GtkScrolledWindow:min-content-width, object property in GtkScrolledWindow
GtkScrolledWindow:overlay-scrolling, object property in GtkScrolledWindow
GtkScrolledWindow:propagate-natural-height, object property in GtkScrolledWindow
GtkScrolledWindow:propagate-natural-width, object property in GtkScrolledWindow
GtkScrolledWindow:shadow-type, object property in GtkScrolledWindow
GtkScrolledWindow:vadjustment, object property in GtkScrolledWindow
GtkScrolledWindow:vscrollbar-policy, object property in GtkScrolledWindow
GtkScrolledWindow:window-placement, object property in GtkScrolledWindow
gtk_scrolled_window_get_capture_button_press, function in GtkScrolledWindow
gtk_scrolled_window_get_hadjustment, function in GtkScrolledWindow
gtk_scrolled_window_get_hscrollbar, function in GtkScrolledWindow
gtk_scrolled_window_get_kinetic_scrolling, function in GtkScrolledWindow
gtk_scrolled_window_get_max_content_height, function in GtkScrolledWindow
gtk_scrolled_window_get_max_content_width, function in GtkScrolledWindow
gtk_scrolled_window_get_min_content_height, function in GtkScrolledWindow
gtk_scrolled_window_get_min_content_width, function in GtkScrolledWindow
gtk_scrolled_window_get_overlay_scrolling, function in GtkScrolledWindow
gtk_scrolled_window_get_placement, function in GtkScrolledWindow
gtk_scrolled_window_get_policy, function in GtkScrolledWindow
gtk_scrolled_window_get_propagate_natural_height, function in GtkScrolledWindow
gtk_scrolled_window_get_propagate_natural_width, function in GtkScrolledWindow
gtk_scrolled_window_get_shadow_type, function in GtkScrolledWindow
gtk_scrolled_window_get_vadjustment, function in GtkScrolledWindow
gtk_scrolled_window_get_vscrollbar, function in GtkScrolledWindow
gtk_scrolled_window_new, function in GtkScrolledWindow
gtk_scrolled_window_set_capture_button_press, function in GtkScrolledWindow
gtk_scrolled_window_set_hadjustment, function in GtkScrolledWindow
gtk_scrolled_window_set_kinetic_scrolling, function in GtkScrolledWindow
gtk_scrolled_window_set_max_content_height, function in GtkScrolledWindow
gtk_scrolled_window_set_max_content_width, function in GtkScrolledWindow
gtk_scrolled_window_set_min_content_height, function in GtkScrolledWindow
gtk_scrolled_window_set_min_content_width, function in GtkScrolledWindow
gtk_scrolled_window_set_overlay_scrolling, function in GtkScrolledWindow
gtk_scrolled_window_set_placement, function in GtkScrolledWindow
gtk_scrolled_window_set_policy, function in GtkScrolledWindow
gtk_scrolled_window_set_propagate_natural_height, function in GtkScrolledWindow
gtk_scrolled_window_set_propagate_natural_width, function in GtkScrolledWindow
gtk_scrolled_window_set_shadow_type, function in GtkScrolledWindow
gtk_scrolled_window_set_vadjustment, function in GtkScrolledWindow
gtk_scrolled_window_unset_placement, function in GtkScrolledWindow
GtkScrollStep, enum in Standard Enumerations
GtkScrollType, enum in Standard Enumerations
GtkSearchBar, struct in GtkSearchBar
GtkSearchBar:search-mode-enabled, object property in GtkSearchBar
GtkSearchBar:show-close-button, object property in GtkSearchBar
GtkSearchEntry, struct in GtkSearchEntry
GtkSearchEntry::activate, object signal in GtkSearchEntry
GtkSearchEntry::next-match, object signal in GtkSearchEntry
GtkSearchEntry::previous-match, object signal in GtkSearchEntry
GtkSearchEntry::search-changed, object signal in GtkSearchEntry
GtkSearchEntry::search-started, object signal in GtkSearchEntry
GtkSearchEntry::stop-search, object signal in GtkSearchEntry
GtkSearchEntry:activates-default, object property in GtkSearchEntry
GtkSearchEntry:placeholder-text, object property in GtkSearchEntry
gtk_search_bar_connect_entry, function in GtkSearchBar
gtk_search_bar_get_key_capture_widget, function in GtkSearchBar
gtk_search_bar_get_search_mode, function in GtkSearchBar
gtk_search_bar_get_show_close_button, function in GtkSearchBar
gtk_search_bar_new, function in GtkSearchBar
gtk_search_bar_set_key_capture_widget, function in GtkSearchBar
gtk_search_bar_set_search_mode, function in GtkSearchBar
gtk_search_bar_set_show_close_button, function in GtkSearchBar
gtk_search_entry_get_key_capture_widget, function in GtkSearchEntry
gtk_search_entry_new, function in GtkSearchEntry
gtk_search_entry_set_key_capture_widget, function in GtkSearchEntry
GtkSelectionData, struct in Selections
GtkSelectionMode, enum in Standard Enumerations
GtkSelectionModel, struct in GtkSelectionModel
GtkSelectionModel::selection-changed, object signal in GtkSelectionModel
gtk_selection_data_copy, function in Selections
gtk_selection_data_free, function in Selections
gtk_selection_data_get_data, function in Selections
gtk_selection_data_get_data_type, function in Selections
gtk_selection_data_get_data_with_length, function in Selections
gtk_selection_data_get_display, function in Selections
gtk_selection_data_get_format, function in Selections
gtk_selection_data_get_length, function in Selections
gtk_selection_data_get_pixbuf, function in Selections
gtk_selection_data_get_target, function in Selections
gtk_selection_data_get_targets, function in Selections
gtk_selection_data_get_text, function in Selections
gtk_selection_data_get_texture, function in Selections
gtk_selection_data_get_uris, function in Selections
gtk_selection_data_set, function in Selections
gtk_selection_data_set_pixbuf, function in Selections
gtk_selection_data_set_text, function in Selections
gtk_selection_data_set_texture, function in Selections
gtk_selection_data_set_uris, function in Selections
gtk_selection_data_targets_include_image, function in Selections
gtk_selection_data_targets_include_text, function in Selections
gtk_selection_data_targets_include_uri, function in Selections
gtk_selection_model_is_selected, function in GtkSelectionModel
gtk_selection_model_query_range, function in GtkSelectionModel
gtk_selection_model_selection_changed, function in GtkSelectionModel
gtk_selection_model_select_all, function in GtkSelectionModel
gtk_selection_model_select_item, function in GtkSelectionModel
gtk_selection_model_select_range, function in GtkSelectionModel
gtk_selection_model_unselect_all, function in GtkSelectionModel
gtk_selection_model_unselect_item, function in GtkSelectionModel
gtk_selection_model_unselect_range, function in GtkSelectionModel
GtkSensitivityType, enum in GtkComboBox
GtkSeparator, struct in GtkSeparator
gtk_separator_new, function in GtkSeparator
GtkSettings, struct in GtkSettings
GtkSettings:gtk-alternative-button-order, object property in GtkSettings
GtkSettings:gtk-alternative-sort-arrows, object property in GtkSettings
GtkSettings:gtk-application-prefer-dark-theme, object property in GtkSettings
GtkSettings:gtk-cursor-blink, object property in GtkSettings
GtkSettings:gtk-cursor-blink-time, object property in GtkSettings
GtkSettings:gtk-cursor-blink-timeout, object property in GtkSettings
GtkSettings:gtk-cursor-theme-name, object property in GtkSettings
GtkSettings:gtk-cursor-theme-size, object property in GtkSettings
GtkSettings:gtk-decoration-layout, object property in GtkSettings
GtkSettings:gtk-dialogs-use-header, object property in GtkSettings
GtkSettings:gtk-dnd-drag-threshold, object property in GtkSettings
GtkSettings:gtk-double-click-distance, object property in GtkSettings
GtkSettings:gtk-double-click-time, object property in GtkSettings
GtkSettings:gtk-enable-accels, object property in GtkSettings
GtkSettings:gtk-enable-animations, object property in GtkSettings
GtkSettings:gtk-enable-event-sounds, object property in GtkSettings
GtkSettings:gtk-enable-input-feedback-sounds, object property in GtkSettings
GtkSettings:gtk-enable-primary-paste, object property in GtkSettings
GtkSettings:gtk-entry-password-hint-timeout, object property in GtkSettings
GtkSettings:gtk-entry-select-on-focus, object property in GtkSettings
GtkSettings:gtk-error-bell, object property in GtkSettings
GtkSettings:gtk-font-name, object property in GtkSettings
GtkSettings:gtk-fontconfig-timestamp, object property in GtkSettings
GtkSettings:gtk-icon-theme-name, object property in GtkSettings
GtkSettings:gtk-im-module, object property in GtkSettings
GtkSettings:gtk-keynav-use-caret, object property in GtkSettings
GtkSettings:gtk-label-select-on-focus, object property in GtkSettings
GtkSettings:gtk-long-press-time, object property in GtkSettings
GtkSettings:gtk-overlay-scrolling, object property in GtkSettings
GtkSettings:gtk-primary-button-warps-slider, object property in GtkSettings
GtkSettings:gtk-print-backends, object property in GtkSettings
GtkSettings:gtk-print-preview-command, object property in GtkSettings
GtkSettings:gtk-recent-files-enabled, object property in GtkSettings
GtkSettings:gtk-recent-files-max-age, object property in GtkSettings
GtkSettings:gtk-shell-shows-app-menu, object property in GtkSettings
GtkSettings:gtk-shell-shows-desktop, object property in GtkSettings
GtkSettings:gtk-shell-shows-menubar, object property in GtkSettings
GtkSettings:gtk-sound-theme-name, object property in GtkSettings
GtkSettings:gtk-split-cursor, object property in GtkSettings
GtkSettings:gtk-theme-name, object property in GtkSettings
GtkSettings:gtk-titlebar-double-click, object property in GtkSettings
GtkSettings:gtk-titlebar-middle-click, object property in GtkSettings
GtkSettings:gtk-titlebar-right-click, object property in GtkSettings
GtkSettings:gtk-xft-antialias, object property in GtkSettings
GtkSettings:gtk-xft-dpi, object property in GtkSettings
GtkSettings:gtk-xft-hinting, object property in GtkSettings
GtkSettings:gtk-xft-hintstyle, object property in GtkSettings
GtkSettings:gtk-xft-rgba, object property in GtkSettings
GtkSettingsValue, struct in GtkSettings
gtk_settings_get_default, function in GtkSettings
gtk_settings_get_for_display, function in GtkSettings
gtk_settings_reset_property, function in GtkSettings
GtkShadowType, enum in Standard Enumerations
GtkShortcutLabel, struct in GtkShortcutLabel
GtkShortcutLabel:accelerator, object property in GtkShortcutLabel
GtkShortcutLabel:disabled-text, object property in GtkShortcutLabel
GtkShortcutsGroup, struct in GtkShortcutsGroup
GtkShortcutsGroup:accel-size-group, object property in GtkShortcutsGroup
GtkShortcutsGroup:height, object property in GtkShortcutsGroup
GtkShortcutsGroup:title, object property in GtkShortcutsGroup
GtkShortcutsGroup:title-size-group, object property in GtkShortcutsGroup
GtkShortcutsGroup:view, object property in GtkShortcutsGroup
GtkShortcutsSection, struct in GtkShortcutsSection
GtkShortcutsSection::change-current-page, object signal in GtkShortcutsSection
GtkShortcutsSection:max-height, object property in GtkShortcutsSection
GtkShortcutsSection:section-name, object property in GtkShortcutsSection
GtkShortcutsSection:title, object property in GtkShortcutsSection
GtkShortcutsSection:view-name, object property in GtkShortcutsSection
GtkShortcutsShortcut, struct in GtkShortcutsShortcut
GtkShortcutsShortcut:accel-size-group, object property in GtkShortcutsShortcut
GtkShortcutsShortcut:accelerator, object property in GtkShortcutsShortcut
GtkShortcutsShortcut:action-name, object property in GtkShortcutsShortcut
GtkShortcutsShortcut:direction, object property in GtkShortcutsShortcut
GtkShortcutsShortcut:icon, object property in GtkShortcutsShortcut
GtkShortcutsShortcut:icon-set, object property in GtkShortcutsShortcut
GtkShortcutsShortcut:shortcut-type, object property in GtkShortcutsShortcut
GtkShortcutsShortcut:subtitle, object property in GtkShortcutsShortcut
GtkShortcutsShortcut:subtitle-set, object property in GtkShortcutsShortcut
GtkShortcutsShortcut:title, object property in GtkShortcutsShortcut
GtkShortcutsShortcut:title-size-group, object property in GtkShortcutsShortcut
GtkShortcutsWindow, struct in GtkShortcutsWindow
GtkShortcutsWindow::close, object signal in GtkShortcutsWindow
GtkShortcutsWindow::search, object signal in GtkShortcutsWindow
GtkShortcutsWindow:section-name, object property in GtkShortcutsWindow
GtkShortcutsWindow:view-name, object property in GtkShortcutsWindow
GtkShortcutType, enum in GtkShortcutsShortcut
gtk_shortcut_label_get_accelerator, function in GtkShortcutLabel
gtk_shortcut_label_get_disabled_text, function in GtkShortcutLabel
gtk_shortcut_label_new, function in GtkShortcutLabel
gtk_shortcut_label_set_accelerator, function in GtkShortcutLabel
gtk_shortcut_label_set_disabled_text, function in GtkShortcutLabel
gtk_show_about_dialog, function in GtkAboutDialog
gtk_show_uri_on_window, function in Filesystem utilities
GtkSingleSelection, struct in GtkSingleSelection
GtkSingleSelection:autoselect, object property in GtkSingleSelection
GtkSingleSelection:can-unselect, object property in GtkSingleSelection
GtkSingleSelection:model, object property in GtkSingleSelection
GtkSingleSelection:selected, object property in GtkSingleSelection
GtkSingleSelection:selected-item, object property in GtkSingleSelection
gtk_single_selection_get_autoselect, function in GtkSingleSelection
gtk_single_selection_get_can_unselect, function in GtkSingleSelection
gtk_single_selection_get_model, function in GtkSingleSelection
gtk_single_selection_get_selected, function in GtkSingleSelection
gtk_single_selection_get_selected_item, function in GtkSingleSelection
gtk_single_selection_new, function in GtkSingleSelection
gtk_single_selection_set_autoselect, function in GtkSingleSelection
gtk_single_selection_set_can_unselect, function in GtkSingleSelection
gtk_single_selection_set_selected, function in GtkSingleSelection
GtkSizeGroup, struct in GtkSizeGroup
GtkSizeGroup:mode, object property in GtkSizeGroup
GtkSizeGroupMode, enum in GtkSizeGroup
GtkSizeRequestMode, enum in GtkWidget
gtk_size_group_add_widget, function in GtkSizeGroup
gtk_size_group_get_mode, function in GtkSizeGroup
gtk_size_group_get_widgets, function in GtkSizeGroup
gtk_size_group_new, function in GtkSizeGroup
gtk_size_group_remove_widget, function in GtkSizeGroup
gtk_size_group_set_mode, function in GtkSizeGroup
GtkSliceListModel, struct in GtkSliceListModel
GtkSliceListModel:item-type, object property in GtkSliceListModel
GtkSliceListModel:model, object property in GtkSliceListModel
GtkSliceListModel:offset, object property in GtkSliceListModel
GtkSliceListModel:size, object property in GtkSliceListModel
gtk_slice_list_model_get_model, function in GtkSliceListModel
gtk_slice_list_model_get_offset, function in GtkSliceListModel
gtk_slice_list_model_get_size, function in GtkSliceListModel
gtk_slice_list_model_new, function in GtkSliceListModel
gtk_slice_list_model_new_for_type, function in GtkSliceListModel
gtk_slice_list_model_set_model, function in GtkSliceListModel
gtk_slice_list_model_set_offset, function in GtkSliceListModel
gtk_slice_list_model_set_size, function in GtkSliceListModel
GtkSnapshot, typedef in GtkSnapshot
gtk_snapshot_append_border, function in GtkSnapshot
gtk_snapshot_append_cairo, function in GtkSnapshot
gtk_snapshot_append_color, function in GtkSnapshot
gtk_snapshot_append_inset_shadow, function in GtkSnapshot
gtk_snapshot_append_layout, function in GtkSnapshot
gtk_snapshot_append_linear_gradient, function in GtkSnapshot
gtk_snapshot_append_node, function in GtkSnapshot
gtk_snapshot_append_outset_shadow, function in GtkSnapshot
gtk_snapshot_append_repeating_linear_gradient, function in GtkSnapshot
gtk_snapshot_append_texture, function in GtkSnapshot
gtk_snapshot_free_to_node, function in GtkSnapshot
gtk_snapshot_free_to_paintable, function in GtkSnapshot
gtk_snapshot_new, function in GtkSnapshot
gtk_snapshot_perspective, function in GtkSnapshot
gtk_snapshot_pop, function in GtkSnapshot
gtk_snapshot_push_blend, function in GtkSnapshot
gtk_snapshot_push_blur, function in GtkSnapshot
gtk_snapshot_push_clip, function in GtkSnapshot
gtk_snapshot_push_color_matrix, function in GtkSnapshot
gtk_snapshot_push_cross_fade, function in GtkSnapshot
gtk_snapshot_push_debug, function in GtkSnapshot
gtk_snapshot_push_opacity, function in GtkSnapshot
gtk_snapshot_push_repeat, function in GtkSnapshot
gtk_snapshot_push_rounded_clip, function in GtkSnapshot
gtk_snapshot_push_shadow, function in GtkSnapshot
gtk_snapshot_render_background, function in GtkSnapshot
gtk_snapshot_render_focus, function in GtkSnapshot
gtk_snapshot_render_frame, function in GtkSnapshot
gtk_snapshot_render_insertion_cursor, function in GtkSnapshot
gtk_snapshot_render_layout, function in GtkSnapshot
gtk_snapshot_restore, function in GtkSnapshot
gtk_snapshot_rotate, function in GtkSnapshot
gtk_snapshot_rotate_3d, function in GtkSnapshot
gtk_snapshot_save, function in GtkSnapshot
gtk_snapshot_scale, function in GtkSnapshot
gtk_snapshot_scale_3d, function in GtkSnapshot
gtk_snapshot_to_node, function in GtkSnapshot
gtk_snapshot_to_paintable, function in GtkSnapshot
gtk_snapshot_transform, function in GtkSnapshot
gtk_snapshot_transform_matrix, function in GtkSnapshot
gtk_snapshot_translate, function in GtkSnapshot
gtk_snapshot_translate_3d, function in GtkSnapshot
GtkSortListModel, struct in GtkSortListModel
GtkSortListModel:has-sort, object property in GtkSortListModel
GtkSortListModel:item-type, object property in GtkSortListModel
GtkSortListModel:model, object property in GtkSortListModel
GtkSortType, enum in Standard Enumerations
gtk_sort_list_model_get_model, function in GtkSortListModel
gtk_sort_list_model_has_sort, function in GtkSortListModel
gtk_sort_list_model_new, function in GtkSortListModel
gtk_sort_list_model_new_for_type, function in GtkSortListModel
gtk_sort_list_model_resort, function in GtkSortListModel
gtk_sort_list_model_set_model, function in GtkSortListModel
gtk_sort_list_model_set_sort_func, function in GtkSortListModel
GtkSpinButton, struct in GtkSpinButton
GtkSpinButton::change-value, object signal in GtkSpinButton
GtkSpinButton::input, object signal in GtkSpinButton
GtkSpinButton::output, object signal in GtkSpinButton
GtkSpinButton::value-changed, object signal in GtkSpinButton
GtkSpinButton::wrapped, object signal in GtkSpinButton
GtkSpinButton:adjustment, object property in GtkSpinButton
GtkSpinButton:climb-rate, object property in GtkSpinButton
GtkSpinButton:digits, object property in GtkSpinButton
GtkSpinButton:numeric, object property in GtkSpinButton
GtkSpinButton:snap-to-ticks, object property in GtkSpinButton
GtkSpinButton:update-policy, object property in GtkSpinButton
GtkSpinButton:value, object property in GtkSpinButton
GtkSpinButton:wrap, object property in GtkSpinButton
GtkSpinButtonUpdatePolicy, enum in GtkSpinButton
GtkSpinner, struct in GtkSpinner
GtkSpinner:active, object property in GtkSpinner
gtk_spinner_new, function in GtkSpinner
gtk_spinner_start, function in GtkSpinner
gtk_spinner_stop, function in GtkSpinner
GtkSpinType, enum in GtkSpinButton
gtk_spin_button_configure, function in GtkSpinButton
gtk_spin_button_get_adjustment, function in GtkSpinButton
gtk_spin_button_get_digits, function in GtkSpinButton
gtk_spin_button_get_increments, function in GtkSpinButton
gtk_spin_button_get_numeric, function in GtkSpinButton
gtk_spin_button_get_range, function in GtkSpinButton
gtk_spin_button_get_snap_to_ticks, function in GtkSpinButton
gtk_spin_button_get_update_policy, function in GtkSpinButton
gtk_spin_button_get_value, function in GtkSpinButton
gtk_spin_button_get_value_as_int, function in GtkSpinButton
gtk_spin_button_get_wrap, function in GtkSpinButton
gtk_spin_button_new, function in GtkSpinButton
gtk_spin_button_new_with_range, function in GtkSpinButton
gtk_spin_button_set_adjustment, function in GtkSpinButton
gtk_spin_button_set_digits, function in GtkSpinButton
gtk_spin_button_set_increments, function in GtkSpinButton
gtk_spin_button_set_numeric, function in GtkSpinButton
gtk_spin_button_set_range, function in GtkSpinButton
gtk_spin_button_set_snap_to_ticks, function in GtkSpinButton
gtk_spin_button_set_update_policy, function in GtkSpinButton
gtk_spin_button_set_value, function in GtkSpinButton
gtk_spin_button_set_wrap, function in GtkSpinButton
gtk_spin_button_spin, function in GtkSpinButton
gtk_spin_button_update, function in GtkSpinButton
GtkStack, struct in GtkStack
GtkStack:hhomogeneous, object property in GtkStack
GtkStack:homogeneous, object property in GtkStack
GtkStack:interpolate-size, object property in GtkStack
GtkStack:pages, object property in GtkStack
GtkStack:transition-duration, object property in GtkStack
GtkStack:transition-running, object property in GtkStack
GtkStack:transition-type, object property in GtkStack
GtkStack:vhomogeneous, object property in GtkStack
GtkStack:visible-child, object property in GtkStack
GtkStack:visible-child-name, object property in GtkStack
GtkStackPage, struct in GtkStack
GtkStackPage:child, object property in GtkStack
GtkStackPage:icon-name, object property in GtkStack
GtkStackPage:name, object property in GtkStack
GtkStackPage:needs-attention, object property in GtkStack
GtkStackPage:title, object property in GtkStack
GtkStackPage:visible, object property in GtkStack
GtkStackSidebar, struct in GtkStackSidebar
GtkStackSidebar:stack, object property in GtkStackSidebar
GtkStackSwitcher, struct in GtkStackSwitcher
GtkStackSwitcher:stack, object property in GtkStackSwitcher
GtkStackTransitionType, enum in GtkStack
gtk_stack_add_named, function in GtkStack
gtk_stack_add_titled, function in GtkStack
gtk_stack_get_child_by_name, function in GtkStack
gtk_stack_get_hhomogeneous, function in GtkStack
gtk_stack_get_homogeneous, function in GtkStack
gtk_stack_get_interpolate_size, function in GtkStack
gtk_stack_get_page, function in GtkStack
gtk_stack_get_pages, function in GtkStack
gtk_stack_get_transition_duration, function in GtkStack
gtk_stack_get_transition_running, function in GtkStack
gtk_stack_get_transition_type, function in GtkStack
gtk_stack_get_vhomogeneous, function in GtkStack
gtk_stack_get_visible_child, function in GtkStack
gtk_stack_get_visible_child_name, function in GtkStack
gtk_stack_new, function in GtkStack
gtk_stack_page_get_child, function in GtkStack
gtk_stack_set_hhomogeneous, function in GtkStack
gtk_stack_set_homogeneous, function in GtkStack
gtk_stack_set_interpolate_size, function in GtkStack
gtk_stack_set_transition_duration, function in GtkStack
gtk_stack_set_transition_type, function in GtkStack
gtk_stack_set_vhomogeneous, function in GtkStack
gtk_stack_set_visible_child, function in GtkStack
gtk_stack_set_visible_child_full, function in GtkStack
gtk_stack_set_visible_child_name, function in GtkStack
gtk_stack_sidebar_get_stack, function in GtkStackSidebar
gtk_stack_sidebar_new, function in GtkStackSidebar
gtk_stack_sidebar_set_stack, function in GtkStackSidebar
gtk_stack_switcher_get_stack, function in GtkStackSwitcher
gtk_stack_switcher_new, function in GtkStackSwitcher
gtk_stack_switcher_set_stack, function in GtkStackSwitcher
GtkStateFlags, enum in Standard Enumerations
GtkStatusbar, struct in GtkStatusbar
GtkStatusbar::text-popped, object signal in GtkStatusbar
GtkStatusbar::text-pushed, object signal in GtkStatusbar
gtk_statusbar_get_context_id, function in GtkStatusbar
gtk_statusbar_get_message_area, function in GtkStatusbar
gtk_statusbar_new, function in GtkStatusbar
gtk_statusbar_pop, function in GtkStatusbar
gtk_statusbar_push, function in GtkStatusbar
gtk_statusbar_remove, function in GtkStatusbar
gtk_statusbar_remove_all, function in GtkStatusbar
GtkStyleContext, struct in GtkStyleContext
GtkStyleContext:display, object property in GtkStyleContext
GtkStyleContextPrintFlags, enum in GtkStyleContext
GtkStyleProvider, struct in GtkStyleProvider
GtkStyleProvider::gtk-private-changed, object signal in GtkStyleProvider
GTK_STYLE_CLASS_ACCELERATOR, macro in GtkStyleContext
GTK_STYLE_CLASS_ARROW, macro in GtkStyleContext
GTK_STYLE_CLASS_BACKGROUND, macro in GtkStyleContext
GTK_STYLE_CLASS_BOTTOM, macro in GtkStyleContext
GTK_STYLE_CLASS_BUTTON, macro in GtkStyleContext
GTK_STYLE_CLASS_CALENDAR, macro in GtkStyleContext
GTK_STYLE_CLASS_CELL, macro in GtkStyleContext
GTK_STYLE_CLASS_CHECK, macro in GtkStyleContext
GTK_STYLE_CLASS_COMBOBOX_ENTRY, macro in GtkStyleContext
GTK_STYLE_CLASS_CONTEXT_MENU, macro in GtkStyleContext
GTK_STYLE_CLASS_CSD, macro in GtkStyleContext
GTK_STYLE_CLASS_CURSOR_HANDLE, macro in GtkStyleContext
GTK_STYLE_CLASS_DEFAULT, macro in GtkStyleContext
GTK_STYLE_CLASS_DESTRUCTIVE_ACTION, macro in GtkStyleContext
GTK_STYLE_CLASS_DIM_LABEL, macro in GtkStyleContext
GTK_STYLE_CLASS_DND, macro in GtkStyleContext
GTK_STYLE_CLASS_DOCK, macro in GtkStyleContext
GTK_STYLE_CLASS_ENTRY, macro in GtkStyleContext
GTK_STYLE_CLASS_ERROR, macro in GtkStyleContext
GTK_STYLE_CLASS_EXPANDER, macro in GtkStyleContext
GTK_STYLE_CLASS_FLAT, macro in GtkStyleContext
GTK_STYLE_CLASS_FRAME, macro in GtkStyleContext
GTK_STYLE_CLASS_HEADER, macro in GtkStyleContext
GTK_STYLE_CLASS_HIGHLIGHT, macro in GtkStyleContext
GTK_STYLE_CLASS_HORIZONTAL, macro in GtkStyleContext
GTK_STYLE_CLASS_IMAGE, macro in GtkStyleContext
GTK_STYLE_CLASS_INFO, macro in GtkStyleContext
GTK_STYLE_CLASS_INSERTION_CURSOR, macro in GtkStyleContext
GTK_STYLE_CLASS_LABEL, macro in GtkStyleContext
GTK_STYLE_CLASS_LEFT, macro in GtkStyleContext
GTK_STYLE_CLASS_LEVEL_BAR, macro in GtkStyleContext
GTK_STYLE_CLASS_LINKED, macro in GtkStyleContext
GTK_STYLE_CLASS_LIST, macro in GtkStyleContext
GTK_STYLE_CLASS_LIST_ROW, macro in GtkStyleContext
GTK_STYLE_CLASS_MARK, macro in GtkStyleContext
GTK_STYLE_CLASS_MENU, macro in GtkStyleContext
GTK_STYLE_CLASS_MENUBAR, macro in GtkStyleContext
GTK_STYLE_CLASS_MENUITEM, macro in GtkStyleContext
GTK_STYLE_CLASS_MESSAGE_DIALOG, macro in GtkStyleContext
GTK_STYLE_CLASS_MONOSPACE, macro in GtkStyleContext
GTK_STYLE_CLASS_NEEDS_ATTENTION, macro in GtkStyleContext
GTK_STYLE_CLASS_NOTEBOOK, macro in GtkStyleContext
GTK_STYLE_CLASS_OSD, macro in GtkStyleContext
GTK_STYLE_CLASS_OVERSHOOT, macro in GtkStyleContext
GTK_STYLE_CLASS_PANE_SEPARATOR, macro in GtkStyleContext
GTK_STYLE_CLASS_PAPER, macro in GtkStyleContext
GTK_STYLE_CLASS_POPOVER, macro in GtkStyleContext
GTK_STYLE_CLASS_POPUP, macro in GtkStyleContext
GTK_STYLE_CLASS_PROGRESSBAR, macro in GtkStyleContext
GTK_STYLE_CLASS_PULSE, macro in GtkStyleContext
GTK_STYLE_CLASS_QUESTION, macro in GtkStyleContext
GTK_STYLE_CLASS_RADIO, macro in GtkStyleContext
GTK_STYLE_CLASS_RAISED, macro in GtkStyleContext
GTK_STYLE_CLASS_READ_ONLY, macro in GtkStyleContext
GTK_STYLE_CLASS_RIGHT, macro in GtkStyleContext
GTK_STYLE_CLASS_RUBBERBAND, macro in GtkStyleContext
GTK_STYLE_CLASS_SCALE, macro in GtkStyleContext
GTK_STYLE_CLASS_SCALE_HAS_MARKS_ABOVE, macro in GtkStyleContext
GTK_STYLE_CLASS_SCALE_HAS_MARKS_BELOW, macro in GtkStyleContext
GTK_STYLE_CLASS_SCROLLBAR, macro in GtkStyleContext
GTK_STYLE_CLASS_SCROLLBARS_JUNCTION, macro in GtkStyleContext
GTK_STYLE_CLASS_SEPARATOR, macro in GtkStyleContext
GTK_STYLE_CLASS_SIDEBAR, macro in GtkStyleContext
GTK_STYLE_CLASS_SLIDER, macro in GtkStyleContext
GTK_STYLE_CLASS_SPINBUTTON, macro in GtkStyleContext
GTK_STYLE_CLASS_SPINNER, macro in GtkStyleContext
GTK_STYLE_CLASS_STATUSBAR, macro in GtkStyleContext
GTK_STYLE_CLASS_SUBTITLE, macro in GtkStyleContext
GTK_STYLE_CLASS_SUGGESTED_ACTION, macro in GtkStyleContext
GTK_STYLE_CLASS_TITLE, macro in GtkStyleContext
GTK_STYLE_CLASS_TITLEBAR, macro in GtkStyleContext
GTK_STYLE_CLASS_TOOLBAR, macro in GtkStyleContext
GTK_STYLE_CLASS_TOOLTIP, macro in GtkStyleContext
GTK_STYLE_CLASS_TOP, macro in GtkStyleContext
GTK_STYLE_CLASS_TOUCH_SELECTION, macro in GtkStyleContext
GTK_STYLE_CLASS_TROUGH, macro in GtkStyleContext
GTK_STYLE_CLASS_UNDERSHOOT, macro in GtkStyleContext
GTK_STYLE_CLASS_VERTICAL, macro in GtkStyleContext
GTK_STYLE_CLASS_VIEW, macro in GtkStyleContext
GTK_STYLE_CLASS_WARNING, macro in GtkStyleContext
GTK_STYLE_CLASS_WIDE, macro in GtkStyleContext
gtk_style_context_add_class, function in GtkStyleContext
gtk_style_context_add_provider, function in GtkStyleContext
gtk_style_context_add_provider_for_display, function in GtkStyleContext
gtk_style_context_get_border, function in GtkStyleContext
gtk_style_context_get_color, function in GtkStyleContext
gtk_style_context_get_display, function in GtkStyleContext
gtk_style_context_get_margin, function in GtkStyleContext
gtk_style_context_get_padding, function in GtkStyleContext
gtk_style_context_get_parent, function in GtkStyleContext
gtk_style_context_get_scale, function in GtkStyleContext
gtk_style_context_get_state, function in GtkStyleContext
gtk_style_context_has_class, function in GtkStyleContext
gtk_style_context_list_classes, function in GtkStyleContext
gtk_style_context_lookup_color, function in GtkStyleContext
gtk_style_context_remove_class, function in GtkStyleContext
gtk_style_context_remove_provider, function in GtkStyleContext
gtk_style_context_remove_provider_for_display, function in GtkStyleContext
gtk_style_context_reset_widgets, function in GtkStyleContext
gtk_style_context_restore, function in GtkStyleContext
gtk_style_context_save, function in GtkStyleContext
gtk_style_context_set_display, function in GtkStyleContext
gtk_style_context_set_scale, function in GtkStyleContext
gtk_style_context_set_state, function in GtkStyleContext
gtk_style_context_to_string, function in GtkStyleContext
GTK_STYLE_PROVIDER_PRIORITY_APPLICATION, macro in GtkStyleProvider
GTK_STYLE_PROVIDER_PRIORITY_FALLBACK, macro in GtkStyleProvider
GTK_STYLE_PROVIDER_PRIORITY_SETTINGS, macro in GtkStyleProvider
GTK_STYLE_PROVIDER_PRIORITY_THEME, macro in GtkStyleProvider
GTK_STYLE_PROVIDER_PRIORITY_USER, macro in GtkStyleProvider
GtkSwitch, struct in GtkSwitch
GtkSwitch::activate, object signal in GtkSwitch
GtkSwitch::state-set, object signal in GtkSwitch
GtkSwitch:active, object property in GtkSwitch
GtkSwitch:state, object property in GtkSwitch
gtk_switch_get_active, function in GtkSwitch
gtk_switch_get_state, function in GtkSwitch
gtk_switch_new, function in GtkSwitch
gtk_switch_set_active, function in GtkSwitch
gtk_switch_set_state, function in GtkSwitch
T
gtk_targets_include_image, function in Selections
gtk_targets_include_text, function in Selections
gtk_targets_include_uri, function in Selections
gtk_test_init, function in Testing
gtk_test_list_all_types, function in Testing
gtk_test_register_all_types, function in Testing
gtk_test_widget_wait_for_draw, function in Testing
GtkText, struct in GtkText
GtkText::activate, object signal in GtkText
GtkText::backspace, object signal in GtkText
GtkText::copy-clipboard, object signal in GtkText
GtkText::cut-clipboard, object signal in GtkText
GtkText::delete-from-cursor, object signal in GtkText
GtkText::insert-at-cursor, object signal in GtkText
GtkText::insert-emoji, object signal in GtkText
GtkText::move-cursor, object signal in GtkText
GtkText::paste-clipboard, object signal in GtkText
GtkText::preedit-changed, object signal in GtkText
GtkText::toggle-overwrite, object signal in GtkText
GtkText:activates-default, object property in GtkText
GtkText:attributes, object property in GtkText
GtkText:buffer, object property in GtkText
GtkText:enable-emoji-completion, object property in GtkText
GtkText:extra-menu, object property in GtkText
GtkText:im-module, object property in GtkText
GtkText:input-hints, object property in GtkText
GtkText:input-purpose, object property in GtkText
GtkText:invisible-char, object property in GtkText
GtkText:invisible-char-set, object property in GtkText
GtkText:max-length, object property in GtkText
GtkText:overwrite-mode, object property in GtkText
GtkText:placeholder-text, object property in GtkText
GtkText:propagate-text-width, object property in GtkText
GtkText:scroll-offset, object property in GtkText
GtkText:tabs, object property in GtkText
GtkText:truncate-multiline, object property in GtkText
GtkText:visibility, object property in GtkText
GtkTextBuffer, struct in GtkTextBuffer
GtkTextBuffer::apply-tag, object signal in GtkTextBuffer
GtkTextBuffer::begin-user-action, object signal in GtkTextBuffer
GtkTextBuffer::changed, object signal in GtkTextBuffer
GtkTextBuffer::delete-range, object signal in GtkTextBuffer
GtkTextBuffer::end-user-action, object signal in GtkTextBuffer
GtkTextBuffer::insert-child-anchor, object signal in GtkTextBuffer
GtkTextBuffer::insert-paintable, object signal in GtkTextBuffer
GtkTextBuffer::insert-text, object signal in GtkTextBuffer
GtkTextBuffer::mark-deleted, object signal in GtkTextBuffer
GtkTextBuffer::mark-set, object signal in GtkTextBuffer
GtkTextBuffer::modified-changed, object signal in GtkTextBuffer
GtkTextBuffer::paste-done, object signal in GtkTextBuffer
GtkTextBuffer::redo, object signal in GtkTextBuffer
GtkTextBuffer::remove-tag, object signal in GtkTextBuffer
GtkTextBuffer::undo, object signal in GtkTextBuffer
GtkTextBuffer:can-redo, object property in GtkTextBuffer
GtkTextBuffer:can-undo, object property in GtkTextBuffer
GtkTextBuffer:copy-target-list, object property in GtkTextBuffer
GtkTextBuffer:cursor-position, object property in GtkTextBuffer
GtkTextBuffer:enable-undo, object property in GtkTextBuffer
GtkTextBuffer:has-selection, object property in GtkTextBuffer
GtkTextBuffer:paste-target-list, object property in GtkTextBuffer
GtkTextBuffer:tag-table, object property in GtkTextBuffer
GtkTextBuffer:text, object property in GtkTextBuffer
GtkTextBufferClass, struct in GtkTextBuffer
GtkTextCharPredicate, user_function in GtkTextIter
GtkTextChildAnchor, struct in GtkTextView
GtkTextClass, struct in GtkText
GtkTextDirection, enum in GtkWidget
GtkTextExtendSelection, enum in GtkTextView
GtkTextIter, struct in GtkTextIter
GtkTextMark, struct in GtkTextMark
GtkTextMark:left-gravity, object property in GtkTextMark
GtkTextMark:name, object property in GtkTextMark
GtkTextSearchFlags, enum in GtkTextIter
GtkTextTag, struct in GtkTextTag
GtkTextTag:accumulative-margin, object property in GtkTextTag
GtkTextTag:background, object property in GtkTextTag
GtkTextTag:background-full-height, object property in GtkTextTag
GtkTextTag:background-full-height-set, object property in GtkTextTag
GtkTextTag:background-rgba, object property in GtkTextTag
GtkTextTag:background-set, object property in GtkTextTag
GtkTextTag:direction, object property in GtkTextTag
GtkTextTag:editable, object property in GtkTextTag
GtkTextTag:editable-set, object property in GtkTextTag
GtkTextTag:fallback, object property in GtkTextTag
GtkTextTag:fallback-set, object property in GtkTextTag
GtkTextTag:family, object property in GtkTextTag
GtkTextTag:family-set, object property in GtkTextTag
GtkTextTag:font, object property in GtkTextTag
GtkTextTag:font-desc, object property in GtkTextTag
GtkTextTag:font-features, object property in GtkTextTag
GtkTextTag:font-features-set, object property in GtkTextTag
GtkTextTag:foreground, object property in GtkTextTag
GtkTextTag:foreground-rgba, object property in GtkTextTag
GtkTextTag:foreground-set, object property in GtkTextTag
GtkTextTag:indent, object property in GtkTextTag
GtkTextTag:indent-set, object property in GtkTextTag
GtkTextTag:invisible, object property in GtkTextTag
GtkTextTag:invisible-set, object property in GtkTextTag
GtkTextTag:justification, object property in GtkTextTag
GtkTextTag:justification-set, object property in GtkTextTag
GtkTextTag:language, object property in GtkTextTag
GtkTextTag:language-set, object property in GtkTextTag
GtkTextTag:left-margin, object property in GtkTextTag
GtkTextTag:left-margin-set, object property in GtkTextTag
GtkTextTag:letter-spacing, object property in GtkTextTag
GtkTextTag:letter-spacing-set, object property in GtkTextTag
GtkTextTag:name, object property in GtkTextTag
GtkTextTag:paragraph-background, object property in GtkTextTag
GtkTextTag:paragraph-background-rgba, object property in GtkTextTag
GtkTextTag:paragraph-background-set, object property in GtkTextTag
GtkTextTag:pixels-above-lines, object property in GtkTextTag
GtkTextTag:pixels-above-lines-set, object property in GtkTextTag
GtkTextTag:pixels-below-lines, object property in GtkTextTag
GtkTextTag:pixels-below-lines-set, object property in GtkTextTag
GtkTextTag:pixels-inside-wrap, object property in GtkTextTag
GtkTextTag:pixels-inside-wrap-set, object property in GtkTextTag
GtkTextTag:right-margin, object property in GtkTextTag
GtkTextTag:right-margin-set, object property in GtkTextTag
GtkTextTag:rise, object property in GtkTextTag
GtkTextTag:rise-set, object property in GtkTextTag
GtkTextTag:scale, object property in GtkTextTag
GtkTextTag:scale-set, object property in GtkTextTag
GtkTextTag:size, object property in GtkTextTag
GtkTextTag:size-points, object property in GtkTextTag
GtkTextTag:size-set, object property in GtkTextTag
GtkTextTag:stretch, object property in GtkTextTag
GtkTextTag:stretch-set, object property in GtkTextTag
GtkTextTag:strikethrough, object property in GtkTextTag
GtkTextTag:strikethrough-rgba, object property in GtkTextTag
GtkTextTag:strikethrough-rgba-set, object property in GtkTextTag
GtkTextTag:strikethrough-set, object property in GtkTextTag
GtkTextTag:style, object property in GtkTextTag
GtkTextTag:style-set, object property in GtkTextTag
GtkTextTag:tabs, object property in GtkTextTag
GtkTextTag:tabs-set, object property in GtkTextTag
GtkTextTag:underline, object property in GtkTextTag
GtkTextTag:underline-rgba, object property in GtkTextTag
GtkTextTag:underline-rgba-set, object property in GtkTextTag
GtkTextTag:underline-set, object property in GtkTextTag
GtkTextTag:variant, object property in GtkTextTag
GtkTextTag:variant-set, object property in GtkTextTag
GtkTextTag:weight, object property in GtkTextTag
GtkTextTag:weight-set, object property in GtkTextTag
GtkTextTag:wrap-mode, object property in GtkTextTag
GtkTextTag:wrap-mode-set, object property in GtkTextTag
GtkTextTagTable, struct in GtkTextTagTable
GtkTextTagTable::tag-added, object signal in GtkTextTagTable
GtkTextTagTable::tag-changed, object signal in GtkTextTagTable
GtkTextTagTable::tag-removed, object signal in GtkTextTagTable
GtkTextTagTableForeach, user_function in GtkTextTagTable
GtkTextView, struct in GtkTextView
GtkTextView::backspace, object signal in GtkTextView
GtkTextView::copy-clipboard, object signal in GtkTextView
GtkTextView::cut-clipboard, object signal in GtkTextView
GtkTextView::delete-from-cursor, object signal in GtkTextView
GtkTextView::extend-selection, object signal in GtkTextView
GtkTextView::insert-at-cursor, object signal in GtkTextView
GtkTextView::insert-emoji, object signal in GtkTextView
GtkTextView::move-cursor, object signal in GtkTextView
GtkTextView::move-viewport, object signal in GtkTextView
GtkTextView::paste-clipboard, object signal in GtkTextView
GtkTextView::preedit-changed, object signal in GtkTextView
GtkTextView::select-all, object signal in GtkTextView
GtkTextView::set-anchor, object signal in GtkTextView
GtkTextView::toggle-cursor-visible, object signal in GtkTextView
GtkTextView::toggle-overwrite, object signal in GtkTextView
GtkTextView:accepts-tab, object property in GtkTextView
GtkTextView:bottom-margin, object property in GtkTextView
GtkTextView:buffer, object property in GtkTextView
GtkTextView:cursor-visible, object property in GtkTextView
GtkTextView:editable, object property in GtkTextView
GtkTextView:extra-menu, object property in GtkTextView
GtkTextView:im-module, object property in GtkTextView
GtkTextView:indent, object property in GtkTextView
GtkTextView:input-hints, object property in GtkTextView
GtkTextView:input-purpose, object property in GtkTextView
GtkTextView:justification, object property in GtkTextView
GtkTextView:left-margin, object property in GtkTextView
GtkTextView:monospace, object property in GtkTextView
GtkTextView:overwrite, object property in GtkTextView
GtkTextView:pixels-above-lines, object property in GtkTextView
GtkTextView:pixels-below-lines, object property in GtkTextView
GtkTextView:pixels-inside-wrap, object property in GtkTextView
GtkTextView:right-margin, object property in GtkTextView
GtkTextView:tabs, object property in GtkTextView
GtkTextView:top-margin, object property in GtkTextView
GtkTextView:wrap-mode, object property in GtkTextView
GtkTextViewClass, struct in GtkTextView
GtkTextViewLayer, enum in GtkTextView
GtkTextView|clipboard.copy, action in GtkTextView
GtkTextView|clipboard.cut, action in GtkTextView
GtkTextView|clipboard.paste, action in GtkTextView
GtkTextView|misc.insert-emoji, action in GtkTextView
GtkTextView|selection.delete, action in GtkTextView
GtkTextView|selection.select-all, action in GtkTextView
GtkTextView|text.redo, action in GtkTextView
GtkTextView|text.undo, action in GtkTextView
GtkTextWindowType, enum in GtkTextView
gtk_text_buffer_add_mark, function in GtkTextBuffer
gtk_text_buffer_add_selection_clipboard, function in GtkTextBuffer
gtk_text_buffer_apply_tag, function in GtkTextBuffer
gtk_text_buffer_apply_tag_by_name, function in GtkTextBuffer
gtk_text_buffer_backspace, function in GtkTextBuffer
gtk_text_buffer_begin_irreversible_action, function in GtkTextBuffer
gtk_text_buffer_begin_user_action, function in GtkTextBuffer
gtk_text_buffer_copy_clipboard, function in GtkTextBuffer
gtk_text_buffer_create_child_anchor, function in GtkTextBuffer
gtk_text_buffer_create_mark, function in GtkTextBuffer
gtk_text_buffer_create_tag, function in GtkTextBuffer
gtk_text_buffer_cut_clipboard, function in GtkTextBuffer
gtk_text_buffer_delete, function in GtkTextBuffer
gtk_text_buffer_delete_interactive, function in GtkTextBuffer
gtk_text_buffer_delete_mark, function in GtkTextBuffer
gtk_text_buffer_delete_mark_by_name, function in GtkTextBuffer
gtk_text_buffer_delete_selection, function in GtkTextBuffer
gtk_text_buffer_end_irreversible_action, function in GtkTextBuffer
gtk_text_buffer_end_user_action, function in GtkTextBuffer
gtk_text_buffer_get_bounds, function in GtkTextBuffer
gtk_text_buffer_get_can_redo, function in GtkTextBuffer
gtk_text_buffer_get_can_undo, function in GtkTextBuffer
gtk_text_buffer_get_char_count, function in GtkTextBuffer
gtk_text_buffer_get_enable_undo, function in GtkTextBuffer
gtk_text_buffer_get_end_iter, function in GtkTextBuffer
gtk_text_buffer_get_has_selection, function in GtkTextBuffer
gtk_text_buffer_get_insert, function in GtkTextBuffer
gtk_text_buffer_get_iter_at_child_anchor, function in GtkTextBuffer
gtk_text_buffer_get_iter_at_line, function in GtkTextBuffer
gtk_text_buffer_get_iter_at_line_index, function in GtkTextBuffer
gtk_text_buffer_get_iter_at_line_offset, function in GtkTextBuffer
gtk_text_buffer_get_iter_at_mark, function in GtkTextBuffer
gtk_text_buffer_get_iter_at_offset, function in GtkTextBuffer
gtk_text_buffer_get_line_count, function in GtkTextBuffer
gtk_text_buffer_get_mark, function in GtkTextBuffer
gtk_text_buffer_get_max_undo_levels, function in GtkTextBuffer
gtk_text_buffer_get_modified, function in GtkTextBuffer
gtk_text_buffer_get_selection_bound, function in GtkTextBuffer
gtk_text_buffer_get_selection_bounds, function in GtkTextBuffer
gtk_text_buffer_get_slice, function in GtkTextBuffer
gtk_text_buffer_get_start_iter, function in GtkTextBuffer
gtk_text_buffer_get_tag_table, function in GtkTextBuffer
gtk_text_buffer_get_text, function in GtkTextBuffer
gtk_text_buffer_insert, function in GtkTextBuffer
gtk_text_buffer_insert_at_cursor, function in GtkTextBuffer
gtk_text_buffer_insert_child_anchor, function in GtkTextBuffer
gtk_text_buffer_insert_interactive, function in GtkTextBuffer
gtk_text_buffer_insert_interactive_at_cursor, function in GtkTextBuffer
gtk_text_buffer_insert_markup, function in GtkTextBuffer
gtk_text_buffer_insert_range, function in GtkTextBuffer
gtk_text_buffer_insert_range_interactive, function in GtkTextBuffer
gtk_text_buffer_insert_with_tags, function in GtkTextBuffer
gtk_text_buffer_insert_with_tags_by_name, function in GtkTextBuffer
gtk_text_buffer_move_mark, function in GtkTextBuffer
gtk_text_buffer_move_mark_by_name, function in GtkTextBuffer
gtk_text_buffer_new, function in GtkTextBuffer
gtk_text_buffer_paste_clipboard, function in GtkTextBuffer
gtk_text_buffer_place_cursor, function in GtkTextBuffer
gtk_text_buffer_redo, function in GtkTextBuffer
gtk_text_buffer_remove_all_tags, function in GtkTextBuffer
gtk_text_buffer_remove_selection_clipboard, function in GtkTextBuffer
gtk_text_buffer_remove_tag, function in GtkTextBuffer
gtk_text_buffer_remove_tag_by_name, function in GtkTextBuffer
gtk_text_buffer_select_range, function in GtkTextBuffer
gtk_text_buffer_set_enable_undo, function in GtkTextBuffer
gtk_text_buffer_set_max_undo_levels, function in GtkTextBuffer
gtk_text_buffer_set_modified, function in GtkTextBuffer
gtk_text_buffer_set_text, function in GtkTextBuffer
gtk_text_buffer_undo, function in GtkTextBuffer
gtk_text_child_anchor_get_deleted, function in GtkTextView
gtk_text_child_anchor_get_widgets, function in GtkTextView
gtk_text_child_anchor_new, function in GtkTextView
gtk_text_get_activates_default, function in GtkText
gtk_text_get_attributes, function in GtkText
gtk_text_get_buffer, function in GtkText
gtk_text_get_extra_menu, function in GtkText
gtk_text_get_input_hints, function in GtkText
gtk_text_get_input_purpose, function in GtkText
gtk_text_get_invisible_char, function in GtkText
gtk_text_get_max_length, function in GtkText
gtk_text_get_overwrite_mode, function in GtkText
gtk_text_get_placeholder_text, function in GtkText
gtk_text_get_tabs, function in GtkText
gtk_text_get_text_length, function in GtkText
gtk_text_get_visibility, function in GtkText
gtk_text_grab_focus_without_selecting, function in GtkText
gtk_text_iter_assign, function in GtkTextIter
gtk_text_iter_backward_char, function in GtkTextIter
gtk_text_iter_backward_chars, function in GtkTextIter
gtk_text_iter_backward_cursor_position, function in GtkTextIter
gtk_text_iter_backward_cursor_positions, function in GtkTextIter
gtk_text_iter_backward_find_char, function in GtkTextIter
gtk_text_iter_backward_line, function in GtkTextIter
gtk_text_iter_backward_lines, function in GtkTextIter
gtk_text_iter_backward_search, function in GtkTextIter
gtk_text_iter_backward_sentence_start, function in GtkTextIter
gtk_text_iter_backward_sentence_starts, function in GtkTextIter
gtk_text_iter_backward_to_tag_toggle, function in GtkTextIter
gtk_text_iter_backward_visible_cursor_position, function in GtkTextIter
gtk_text_iter_backward_visible_cursor_positions, function in GtkTextIter
gtk_text_iter_backward_visible_line, function in GtkTextIter
gtk_text_iter_backward_visible_lines, function in GtkTextIter
gtk_text_iter_backward_visible_word_start, function in GtkTextIter
gtk_text_iter_backward_visible_word_starts, function in GtkTextIter
gtk_text_iter_backward_word_start, function in GtkTextIter
gtk_text_iter_backward_word_starts, function in GtkTextIter
gtk_text_iter_can_insert, function in GtkTextIter
gtk_text_iter_compare, function in GtkTextIter
gtk_text_iter_copy, function in GtkTextIter
gtk_text_iter_editable, function in GtkTextIter
gtk_text_iter_ends_line, function in GtkTextIter
gtk_text_iter_ends_sentence, function in GtkTextIter
gtk_text_iter_ends_tag, function in GtkTextIter
gtk_text_iter_ends_word, function in GtkTextIter
gtk_text_iter_equal, function in GtkTextIter
gtk_text_iter_forward_char, function in GtkTextIter
gtk_text_iter_forward_chars, function in GtkTextIter
gtk_text_iter_forward_cursor_position, function in GtkTextIter
gtk_text_iter_forward_cursor_positions, function in GtkTextIter
gtk_text_iter_forward_find_char, function in GtkTextIter
gtk_text_iter_forward_line, function in GtkTextIter
gtk_text_iter_forward_lines, function in GtkTextIter
gtk_text_iter_forward_search, function in GtkTextIter
gtk_text_iter_forward_sentence_end, function in GtkTextIter
gtk_text_iter_forward_sentence_ends, function in GtkTextIter
gtk_text_iter_forward_to_end, function in GtkTextIter
gtk_text_iter_forward_to_line_end, function in GtkTextIter
gtk_text_iter_forward_to_tag_toggle, function in GtkTextIter
gtk_text_iter_forward_visible_cursor_position, function in GtkTextIter
gtk_text_iter_forward_visible_cursor_positions, function in GtkTextIter
gtk_text_iter_forward_visible_line, function in GtkTextIter
gtk_text_iter_forward_visible_lines, function in GtkTextIter
gtk_text_iter_forward_visible_word_end, function in GtkTextIter
gtk_text_iter_forward_visible_word_ends, function in GtkTextIter
gtk_text_iter_forward_word_end, function in GtkTextIter
gtk_text_iter_forward_word_ends, function in GtkTextIter
gtk_text_iter_free, function in GtkTextIter
gtk_text_iter_get_buffer, function in GtkTextIter
gtk_text_iter_get_bytes_in_line, function in GtkTextIter
gtk_text_iter_get_char, function in GtkTextIter
gtk_text_iter_get_chars_in_line, function in GtkTextIter
gtk_text_iter_get_child_anchor, function in GtkTextIter
gtk_text_iter_get_language, function in GtkTextIter
gtk_text_iter_get_line, function in GtkTextIter
gtk_text_iter_get_line_index, function in GtkTextIter
gtk_text_iter_get_line_offset, function in GtkTextIter
gtk_text_iter_get_marks, function in GtkTextIter
gtk_text_iter_get_offset, function in GtkTextIter
gtk_text_iter_get_slice, function in GtkTextIter
gtk_text_iter_get_tags, function in GtkTextIter
gtk_text_iter_get_text, function in GtkTextIter
gtk_text_iter_get_toggled_tags, function in GtkTextIter
gtk_text_iter_get_visible_line_index, function in GtkTextIter
gtk_text_iter_get_visible_line_offset, function in GtkTextIter
gtk_text_iter_get_visible_slice, function in GtkTextIter
gtk_text_iter_get_visible_text, function in GtkTextIter
gtk_text_iter_has_tag, function in GtkTextIter
gtk_text_iter_inside_sentence, function in GtkTextIter
gtk_text_iter_inside_word, function in GtkTextIter
gtk_text_iter_in_range, function in GtkTextIter
gtk_text_iter_is_cursor_position, function in GtkTextIter
gtk_text_iter_is_end, function in GtkTextIter
gtk_text_iter_is_start, function in GtkTextIter
gtk_text_iter_order, function in GtkTextIter
gtk_text_iter_set_line, function in GtkTextIter
gtk_text_iter_set_line_index, function in GtkTextIter
gtk_text_iter_set_line_offset, function in GtkTextIter
gtk_text_iter_set_offset, function in GtkTextIter
gtk_text_iter_set_visible_line_index, function in GtkTextIter
gtk_text_iter_set_visible_line_offset, function in GtkTextIter
gtk_text_iter_starts_line, function in GtkTextIter
gtk_text_iter_starts_sentence, function in GtkTextIter
gtk_text_iter_starts_tag, function in GtkTextIter
gtk_text_iter_starts_word, function in GtkTextIter
gtk_text_iter_toggles_tag, function in GtkTextIter
gtk_text_mark_get_buffer, function in GtkTextMark
gtk_text_mark_get_deleted, function in GtkTextMark
gtk_text_mark_get_left_gravity, function in GtkTextMark
gtk_text_mark_get_name, function in GtkTextMark
gtk_text_mark_get_visible, function in GtkTextMark
gtk_text_mark_new, function in GtkTextMark
gtk_text_mark_set_visible, function in GtkTextMark
gtk_text_new, function in GtkText
gtk_text_new_with_buffer, function in GtkText
gtk_text_set_activates_default, function in GtkText
gtk_text_set_attributes, function in GtkText
gtk_text_set_buffer, function in GtkText
gtk_text_set_extra_menu, function in GtkText
gtk_text_set_input_hints, function in GtkText
gtk_text_set_input_purpose, function in GtkText
gtk_text_set_invisible_char, function in GtkText
gtk_text_set_max_length, function in GtkText
gtk_text_set_overwrite_mode, function in GtkText
gtk_text_set_placeholder_text, function in GtkText
gtk_text_set_tabs, function in GtkText
gtk_text_set_visibility, function in GtkText
gtk_text_tag_changed, function in GtkTextTag
gtk_text_tag_get_priority, function in GtkTextTag
gtk_text_tag_new, function in GtkTextTag
gtk_text_tag_set_priority, function in GtkTextTag
gtk_text_tag_table_add, function in GtkTextTagTable
gtk_text_tag_table_foreach, function in GtkTextTagTable
gtk_text_tag_table_get_size, function in GtkTextTagTable
gtk_text_tag_table_lookup, function in GtkTextTagTable
gtk_text_tag_table_new, function in GtkTextTagTable
gtk_text_tag_table_remove, function in GtkTextTagTable
gtk_text_unset_invisible_char, function in GtkText
gtk_text_view_add_child_at_anchor, function in GtkTextView
gtk_text_view_add_overlay, function in GtkTextView
gtk_text_view_backward_display_line, function in GtkTextView
gtk_text_view_backward_display_line_start, function in GtkTextView
gtk_text_view_buffer_to_window_coords, function in GtkTextView
gtk_text_view_forward_display_line, function in GtkTextView
gtk_text_view_forward_display_line_end, function in GtkTextView
gtk_text_view_get_accepts_tab, function in GtkTextView
gtk_text_view_get_bottom_margin, function in GtkTextView
gtk_text_view_get_buffer, function in GtkTextView
gtk_text_view_get_cursor_locations, function in GtkTextView
gtk_text_view_get_cursor_visible, function in GtkTextView
gtk_text_view_get_editable, function in GtkTextView
gtk_text_view_get_extra_menu, function in GtkTextView
gtk_text_view_get_gutter, function in GtkTextView
gtk_text_view_get_indent, function in GtkTextView
gtk_text_view_get_input_hints, function in GtkTextView
gtk_text_view_get_input_purpose, function in GtkTextView
gtk_text_view_get_iter_at_location, function in GtkTextView
gtk_text_view_get_iter_at_position, function in GtkTextView
gtk_text_view_get_iter_location, function in GtkTextView
gtk_text_view_get_justification, function in GtkTextView
gtk_text_view_get_left_margin, function in GtkTextView
gtk_text_view_get_line_at_y, function in GtkTextView
gtk_text_view_get_line_yrange, function in GtkTextView
gtk_text_view_get_monospace, function in GtkTextView
gtk_text_view_get_overwrite, function in GtkTextView
gtk_text_view_get_pixels_above_lines, function in GtkTextView
gtk_text_view_get_pixels_below_lines, function in GtkTextView
gtk_text_view_get_pixels_inside_wrap, function in GtkTextView
gtk_text_view_get_right_margin, function in GtkTextView
gtk_text_view_get_tabs, function in GtkTextView
gtk_text_view_get_top_margin, function in GtkTextView
gtk_text_view_get_visible_rect, function in GtkTextView
gtk_text_view_get_wrap_mode, function in GtkTextView
gtk_text_view_im_context_filter_keypress, function in GtkTextView
gtk_text_view_move_mark_onscreen, function in GtkTextView
gtk_text_view_move_overlay, function in GtkTextView
gtk_text_view_move_visually, function in GtkTextView
gtk_text_view_new, function in GtkTextView
gtk_text_view_new_with_buffer, function in GtkTextView
gtk_text_view_place_cursor_onscreen, function in GtkTextView
GTK_TEXT_VIEW_PRIORITY_VALIDATE, macro in GtkTextView
gtk_text_view_reset_cursor_blink, function in GtkTextView
gtk_text_view_reset_im_context, function in GtkTextView
gtk_text_view_scroll_mark_onscreen, function in GtkTextView
gtk_text_view_scroll_to_iter, function in GtkTextView
gtk_text_view_scroll_to_mark, function in GtkTextView
gtk_text_view_set_accepts_tab, function in GtkTextView
gtk_text_view_set_bottom_margin, function in GtkTextView
gtk_text_view_set_buffer, function in GtkTextView
gtk_text_view_set_cursor_visible, function in GtkTextView
gtk_text_view_set_editable, function in GtkTextView
gtk_text_view_set_extra_menu, function in GtkTextView
gtk_text_view_set_gutter, function in GtkTextView
gtk_text_view_set_indent, function in GtkTextView
gtk_text_view_set_input_hints, function in GtkTextView
gtk_text_view_set_input_purpose, function in GtkTextView
gtk_text_view_set_justification, function in GtkTextView
gtk_text_view_set_left_margin, function in GtkTextView
gtk_text_view_set_monospace, function in GtkTextView
gtk_text_view_set_overwrite, function in GtkTextView
gtk_text_view_set_pixels_above_lines, function in GtkTextView
gtk_text_view_set_pixels_below_lines, function in GtkTextView
gtk_text_view_set_pixels_inside_wrap, function in GtkTextView
gtk_text_view_set_right_margin, function in GtkTextView
gtk_text_view_set_tabs, function in GtkTextView
gtk_text_view_set_top_margin, function in GtkTextView
gtk_text_view_set_wrap_mode, function in GtkTextView
gtk_text_view_starts_display_line, function in GtkTextView
gtk_text_view_window_to_buffer_coords, function in GtkTextView
GtkText|clipboard.copy, action in GtkText
GtkText|clipboard.cut, action in GtkText
GtkText|clipboard.paste, action in GtkText
GtkText|misc.insert-emoji, action in GtkText
GtkText|misc.toggle-visibility, action in GtkText
GtkText|selection.delete, action in GtkText
GtkText|selection.select-all, action in GtkText
GtkText|text.redo, action in GtkText
GtkText|text.undo, action in GtkText
GtkTickCallback, user_function in GtkWidget
GtkToggleButton, struct in GtkToggleButton
GtkToggleButton::toggled, object signal in GtkToggleButton
GtkToggleButton:active, object property in GtkToggleButton
gtk_toggle_button_get_active, function in GtkToggleButton
gtk_toggle_button_new, function in GtkToggleButton
gtk_toggle_button_new_with_label, function in GtkToggleButton
gtk_toggle_button_new_with_mnemonic, function in GtkToggleButton
gtk_toggle_button_set_active, function in GtkToggleButton
gtk_toggle_button_toggled, function in GtkToggleButton
GtkTooltip, struct in GtkTooltip
gtk_tooltip_set_custom, function in GtkTooltip
gtk_tooltip_set_icon, function in GtkTooltip
gtk_tooltip_set_icon_from_gicon, function in GtkTooltip
gtk_tooltip_set_icon_from_icon_name, function in GtkTooltip
gtk_tooltip_set_markup, function in GtkTooltip
gtk_tooltip_set_text, function in GtkTooltip
gtk_tooltip_set_tip_area, function in GtkTooltip
GtkTreeCellDataFunc, user_function in GtkTreeViewColumn
GtkTreeDragDest, struct in GtkTreeView drag-and-drop
GtkTreeDragDestIface, struct in GtkTreeView drag-and-drop
GtkTreeDragSource, struct in GtkTreeView drag-and-drop
GtkTreeDragSourceIface, struct in GtkTreeView drag-and-drop
GtkTreeIter, struct in GtkTreeModel
GtkTreeIterCompareFunc, user_function in GtkTreeSortable
GtkTreeListModel, struct in GtkTreeListModel
GtkTreeListModel:autoexpand, object property in GtkTreeListModel
GtkTreeListModel:model, object property in GtkTreeListModel
GtkTreeListModel:passthrough, object property in GtkTreeListModel
GtkTreeListModelCreateModelFunc, user_function in GtkTreeListModel
GtkTreeListRow, struct in GtkTreeListModel
GtkTreeListRow:children, object property in GtkTreeListModel
GtkTreeListRow:depth, object property in GtkTreeListModel
GtkTreeListRow:expandable, object property in GtkTreeListModel
GtkTreeListRow:expanded, object property in GtkTreeListModel
GtkTreeListRow:item, object property in GtkTreeListModel
GtkTreeModel, struct in GtkTreeModel
GtkTreeModel::row-changed, object signal in GtkTreeModel
GtkTreeModel::row-deleted, object signal in GtkTreeModel
GtkTreeModel::row-has-child-toggled, object signal in GtkTreeModel
GtkTreeModel::row-inserted, object signal in GtkTreeModel
GtkTreeModel::rows-reordered, object signal in GtkTreeModel
GtkTreeModelFilter, struct in GtkTreeModelFilter
GtkTreeModelFilter:child-model, object property in GtkTreeModelFilter
GtkTreeModelFilter:virtual-root, object property in GtkTreeModelFilter
GtkTreeModelFilterModifyFunc, user_function in GtkTreeModelFilter
GtkTreeModelFilterVisibleFunc, user_function in GtkTreeModelFilter
GtkTreeModelFlags, enum in GtkTreeModel
GtkTreeModelForeachFunc, user_function in GtkTreeModel
GtkTreeModelIface, struct in GtkTreeModel
GtkTreeModelSort, struct in GtkTreeModelSort
GtkTreeModelSort:model, object property in GtkTreeModelSort
GtkTreePath, struct in GtkTreeModel
GtkTreeRowReference, struct in GtkTreeModel
GtkTreeSelection, struct in GtkTreeSelection
GtkTreeSelection::changed, object signal in GtkTreeSelection
GtkTreeSelection:mode, object property in GtkTreeSelection
GtkTreeSelectionForeachFunc, user_function in GtkTreeSelection
GtkTreeSelectionFunc, user_function in GtkTreeSelection
GtkTreeSortable, struct in GtkTreeSortable
GtkTreeSortable::sort-column-changed, object signal in GtkTreeSortable
GtkTreeSortableIface, struct in GtkTreeSortable
GtkTreeStore, struct in GtkTreeStore
GtkTreeView, struct in GtkTreeView
GtkTreeView::columns-changed, object signal in GtkTreeView
GtkTreeView::cursor-changed, object signal in GtkTreeView
GtkTreeView::expand-collapse-cursor-row, object signal in GtkTreeView
GtkTreeView::move-cursor, object signal in GtkTreeView
GtkTreeView::row-activated, object signal in GtkTreeView
GtkTreeView::row-collapsed, object signal in GtkTreeView
GtkTreeView::row-expanded, object signal in GtkTreeView
GtkTreeView::select-all, object signal in GtkTreeView
GtkTreeView::select-cursor-parent, object signal in GtkTreeView
GtkTreeView::select-cursor-row, object signal in GtkTreeView
GtkTreeView::start-interactive-search, object signal in GtkTreeView
GtkTreeView::test-collapse-row, object signal in GtkTreeView
GtkTreeView::test-expand-row, object signal in GtkTreeView
GtkTreeView::toggle-cursor-row, object signal in GtkTreeView
GtkTreeView::unselect-all, object signal in GtkTreeView
GtkTreeView:activate-on-single-click, object property in GtkTreeView
GtkTreeView:enable-grid-lines, object property in GtkTreeView
GtkTreeView:enable-search, object property in GtkTreeView
GtkTreeView:enable-tree-lines, object property in GtkTreeView
GtkTreeView:expander-column, object property in GtkTreeView
GtkTreeView:fixed-height-mode, object property in GtkTreeView
GtkTreeView:headers-clickable, object property in GtkTreeView
GtkTreeView:headers-visible, object property in GtkTreeView
GtkTreeView:hover-expand, object property in GtkTreeView
GtkTreeView:hover-selection, object property in GtkTreeView
GtkTreeView:level-indentation, object property in GtkTreeView
GtkTreeView:model, object property in GtkTreeView
GtkTreeView:reorderable, object property in GtkTreeView
GtkTreeView:rubber-banding, object property in GtkTreeView
GtkTreeView:search-column, object property in GtkTreeView
GtkTreeView:show-expanders, object property in GtkTreeView
GtkTreeView:tooltip-column, object property in GtkTreeView
GtkTreeViewColumn, struct in GtkTreeViewColumn
GtkTreeViewColumn::clicked, object signal in GtkTreeViewColumn
GtkTreeViewColumn:alignment, object property in GtkTreeViewColumn
GtkTreeViewColumn:cell-area, object property in GtkTreeViewColumn
GtkTreeViewColumn:clickable, object property in GtkTreeViewColumn
GtkTreeViewColumn:expand, object property in GtkTreeViewColumn
GtkTreeViewColumn:fixed-width, object property in GtkTreeViewColumn
GtkTreeViewColumn:max-width, object property in GtkTreeViewColumn
GtkTreeViewColumn:min-width, object property in GtkTreeViewColumn
GtkTreeViewColumn:reorderable, object property in GtkTreeViewColumn
GtkTreeViewColumn:resizable, object property in GtkTreeViewColumn
GtkTreeViewColumn:sizing, object property in GtkTreeViewColumn
GtkTreeViewColumn:sort-column-id, object property in GtkTreeViewColumn
GtkTreeViewColumn:sort-indicator, object property in GtkTreeViewColumn
GtkTreeViewColumn:sort-order, object property in GtkTreeViewColumn
GtkTreeViewColumn:spacing, object property in GtkTreeViewColumn
GtkTreeViewColumn:title, object property in GtkTreeViewColumn
GtkTreeViewColumn:visible, object property in GtkTreeViewColumn
GtkTreeViewColumn:widget, object property in GtkTreeViewColumn
GtkTreeViewColumn:width, object property in GtkTreeViewColumn
GtkTreeViewColumn:x-offset, object property in GtkTreeViewColumn
GtkTreeViewColumnDropFunc, user_function in GtkTreeView
GtkTreeViewColumnSizing, enum in GtkTreeViewColumn
GtkTreeViewDropPosition, enum in GtkTreeView
GtkTreeViewGridLines, enum in GtkTreeView
GtkTreeViewMappingFunc, user_function in GtkTreeView
GtkTreeViewRowSeparatorFunc, user_function in GtkTreeView
GtkTreeViewSearchEqualFunc, user_function in GtkTreeView
gtk_tree_drag_dest_drag_data_received, function in GtkTreeView drag-and-drop
gtk_tree_drag_dest_row_drop_possible, function in GtkTreeView drag-and-drop
gtk_tree_drag_source_drag_data_delete, function in GtkTreeView drag-and-drop
gtk_tree_drag_source_drag_data_get, function in GtkTreeView drag-and-drop
gtk_tree_drag_source_row_draggable, function in GtkTreeView drag-and-drop
gtk_tree_get_row_drag_data, function in GtkTreeView drag-and-drop
gtk_tree_iter_copy, function in GtkTreeModel
gtk_tree_iter_free, function in GtkTreeModel
gtk_tree_list_model_get_autoexpand, function in GtkTreeListModel
gtk_tree_list_model_get_child_row, function in GtkTreeListModel
gtk_tree_list_model_get_model, function in GtkTreeListModel
gtk_tree_list_model_get_passthrough, function in GtkTreeListModel
gtk_tree_list_model_get_row, function in GtkTreeListModel
gtk_tree_list_model_new, function in GtkTreeListModel
gtk_tree_list_model_set_autoexpand, function in GtkTreeListModel
gtk_tree_list_row_get_children, function in GtkTreeListRow
gtk_tree_list_row_get_child_row, function in GtkTreeListRow
gtk_tree_list_row_get_depth, function in GtkTreeListRow
gtk_tree_list_row_get_expanded, function in GtkTreeListRow
gtk_tree_list_row_get_item, function in GtkTreeListRow
gtk_tree_list_row_get_parent, function in GtkTreeListRow
gtk_tree_list_row_get_position, function in GtkTreeListRow
gtk_tree_list_row_is_expandable, function in GtkTreeListRow
gtk_tree_list_row_set_expanded, function in GtkTreeListRow
gtk_tree_model_filter_clear_cache, function in GtkTreeModelFilter
gtk_tree_model_filter_convert_child_iter_to_iter, function in GtkTreeModelFilter
gtk_tree_model_filter_convert_child_path_to_path, function in GtkTreeModelFilter
gtk_tree_model_filter_convert_iter_to_child_iter, function in GtkTreeModelFilter
gtk_tree_model_filter_convert_path_to_child_path, function in GtkTreeModelFilter
gtk_tree_model_filter_get_model, function in GtkTreeModelFilter
gtk_tree_model_filter_new, function in GtkTreeModelFilter
gtk_tree_model_filter_refilter, function in GtkTreeModelFilter
gtk_tree_model_filter_set_modify_func, function in GtkTreeModelFilter
gtk_tree_model_filter_set_visible_column, function in GtkTreeModelFilter
gtk_tree_model_filter_set_visible_func, function in GtkTreeModelFilter
gtk_tree_model_foreach, function in GtkTreeModel
gtk_tree_model_get, function in GtkTreeModel
gtk_tree_model_get_column_type, function in GtkTreeModel
gtk_tree_model_get_flags, function in GtkTreeModel
gtk_tree_model_get_iter, function in GtkTreeModel
gtk_tree_model_get_iter_first, function in GtkTreeModel
gtk_tree_model_get_iter_from_string, function in GtkTreeModel
gtk_tree_model_get_n_columns, function in GtkTreeModel
gtk_tree_model_get_path, function in GtkTreeModel
gtk_tree_model_get_string_from_iter, function in GtkTreeModel
gtk_tree_model_get_valist, function in GtkTreeModel
gtk_tree_model_get_value, function in GtkTreeModel
gtk_tree_model_iter_children, function in GtkTreeModel
gtk_tree_model_iter_has_child, function in GtkTreeModel
gtk_tree_model_iter_next, function in GtkTreeModel
gtk_tree_model_iter_nth_child, function in GtkTreeModel
gtk_tree_model_iter_n_children, function in GtkTreeModel
gtk_tree_model_iter_parent, function in GtkTreeModel
gtk_tree_model_iter_previous, function in GtkTreeModel
gtk_tree_model_ref_node, function in GtkTreeModel
gtk_tree_model_rows_reordered, function in GtkTreeModel
gtk_tree_model_rows_reordered_with_length, function in GtkTreeModel
gtk_tree_model_row_changed, function in GtkTreeModel
gtk_tree_model_row_deleted, function in GtkTreeModel
gtk_tree_model_row_has_child_toggled, function in GtkTreeModel
gtk_tree_model_row_inserted, function in GtkTreeModel
gtk_tree_model_sort_clear_cache, function in GtkTreeModelSort
gtk_tree_model_sort_convert_child_iter_to_iter, function in GtkTreeModelSort
gtk_tree_model_sort_convert_child_path_to_path, function in GtkTreeModelSort
gtk_tree_model_sort_convert_iter_to_child_iter, function in GtkTreeModelSort
gtk_tree_model_sort_convert_path_to_child_path, function in GtkTreeModelSort
gtk_tree_model_sort_get_model, function in GtkTreeModelSort
gtk_tree_model_sort_iter_is_valid, function in GtkTreeModelSort
gtk_tree_model_sort_new_with_model, function in GtkTreeModelSort
gtk_tree_model_sort_reset_default_sort_func, function in GtkTreeModelSort
gtk_tree_model_unref_node, function in GtkTreeModel
gtk_tree_path_append_index, function in GtkTreeModel
gtk_tree_path_compare, function in GtkTreeModel
gtk_tree_path_copy, function in GtkTreeModel
gtk_tree_path_down, function in GtkTreeModel
gtk_tree_path_free, function in GtkTreeModel
gtk_tree_path_get_depth, function in GtkTreeModel
gtk_tree_path_get_indices, function in GtkTreeModel
gtk_tree_path_get_indices_with_depth, function in GtkTreeModel
gtk_tree_path_is_ancestor, function in GtkTreeModel
gtk_tree_path_is_descendant, function in GtkTreeModel
gtk_tree_path_new, function in GtkTreeModel
gtk_tree_path_new_first, function in GtkTreeModel
gtk_tree_path_new_from_indices, function in GtkTreeModel
gtk_tree_path_new_from_indicesv, function in GtkTreeModel
gtk_tree_path_new_from_string, function in GtkTreeModel
gtk_tree_path_next, function in GtkTreeModel
gtk_tree_path_prepend_index, function in GtkTreeModel
gtk_tree_path_prev, function in GtkTreeModel
gtk_tree_path_to_string, function in GtkTreeModel
gtk_tree_path_up, function in GtkTreeModel
gtk_tree_row_reference_copy, function in GtkTreeModel
gtk_tree_row_reference_deleted, function in GtkTreeModel
gtk_tree_row_reference_free, function in GtkTreeModel
gtk_tree_row_reference_get_model, function in GtkTreeModel
gtk_tree_row_reference_get_path, function in GtkTreeModel
gtk_tree_row_reference_inserted, function in GtkTreeModel
gtk_tree_row_reference_new, function in GtkTreeModel
gtk_tree_row_reference_new_proxy, function in GtkTreeModel
gtk_tree_row_reference_reordered, function in GtkTreeModel
gtk_tree_row_reference_valid, function in GtkTreeModel
gtk_tree_selection_count_selected_rows, function in GtkTreeSelection
gtk_tree_selection_get_mode, function in GtkTreeSelection
gtk_tree_selection_get_selected, function in GtkTreeSelection
gtk_tree_selection_get_selected_rows, function in GtkTreeSelection
gtk_tree_selection_get_select_function, function in GtkTreeSelection
gtk_tree_selection_get_tree_view, function in GtkTreeSelection
gtk_tree_selection_get_user_data, function in GtkTreeSelection
gtk_tree_selection_iter_is_selected, function in GtkTreeSelection
gtk_tree_selection_path_is_selected, function in GtkTreeSelection
gtk_tree_selection_selected_foreach, function in GtkTreeSelection
gtk_tree_selection_select_all, function in GtkTreeSelection
gtk_tree_selection_select_iter, function in GtkTreeSelection
gtk_tree_selection_select_path, function in GtkTreeSelection
gtk_tree_selection_select_range, function in GtkTreeSelection
gtk_tree_selection_set_mode, function in GtkTreeSelection
gtk_tree_selection_set_select_function, function in GtkTreeSelection
gtk_tree_selection_unselect_all, function in GtkTreeSelection
gtk_tree_selection_unselect_iter, function in GtkTreeSelection
gtk_tree_selection_unselect_path, function in GtkTreeSelection
gtk_tree_selection_unselect_range, function in GtkTreeSelection
gtk_tree_set_row_drag_data, function in GtkTreeView drag-and-drop
GTK_TREE_SORTABLE_DEFAULT_SORT_COLUMN_ID, macro in GtkTreeSortable
gtk_tree_sortable_get_sort_column_id, function in GtkTreeSortable
gtk_tree_sortable_has_default_sort_func, function in GtkTreeSortable
gtk_tree_sortable_set_default_sort_func, function in GtkTreeSortable
gtk_tree_sortable_set_sort_column_id, function in GtkTreeSortable
gtk_tree_sortable_set_sort_func, function in GtkTreeSortable
gtk_tree_sortable_sort_column_changed, function in GtkTreeSortable
GTK_TREE_SORTABLE_UNSORTED_SORT_COLUMN_ID, macro in GtkTreeSortable
gtk_tree_store_append, function in GtkTreeStore
gtk_tree_store_clear, function in GtkTreeStore
gtk_tree_store_insert, function in GtkTreeStore
gtk_tree_store_insert_after, function in GtkTreeStore
gtk_tree_store_insert_before, function in GtkTreeStore
gtk_tree_store_insert_with_values, function in GtkTreeStore
gtk_tree_store_insert_with_valuesv, function in GtkTreeStore
gtk_tree_store_is_ancestor, function in GtkTreeStore
gtk_tree_store_iter_depth, function in GtkTreeStore
gtk_tree_store_iter_is_valid, function in GtkTreeStore
gtk_tree_store_move_after, function in GtkTreeStore
gtk_tree_store_move_before, function in GtkTreeStore
gtk_tree_store_new, function in GtkTreeStore
gtk_tree_store_newv, function in GtkTreeStore
gtk_tree_store_prepend, function in GtkTreeStore
gtk_tree_store_remove, function in GtkTreeStore
gtk_tree_store_reorder, function in GtkTreeStore
gtk_tree_store_set, function in GtkTreeStore
gtk_tree_store_set_column_types, function in GtkTreeStore
gtk_tree_store_set_valist, function in GtkTreeStore
gtk_tree_store_set_value, function in GtkTreeStore
gtk_tree_store_set_valuesv, function in GtkTreeStore
gtk_tree_store_swap, function in GtkTreeStore
gtk_tree_view_append_column, function in GtkTreeView
gtk_tree_view_collapse_all, function in GtkTreeView
gtk_tree_view_collapse_row, function in GtkTreeView
gtk_tree_view_columns_autosize, function in GtkTreeView
gtk_tree_view_column_add_attribute, function in GtkTreeViewColumn
gtk_tree_view_column_cell_get_position, function in GtkTreeViewColumn
gtk_tree_view_column_cell_get_size, function in GtkTreeViewColumn
gtk_tree_view_column_cell_is_visible, function in GtkTreeViewColumn
gtk_tree_view_column_cell_set_cell_data, function in GtkTreeViewColumn
gtk_tree_view_column_clear, function in GtkTreeViewColumn
gtk_tree_view_column_clear_attributes, function in GtkTreeViewColumn
gtk_tree_view_column_clicked, function in GtkTreeViewColumn
gtk_tree_view_column_focus_cell, function in GtkTreeViewColumn
gtk_tree_view_column_get_alignment, function in GtkTreeViewColumn
gtk_tree_view_column_get_button, function in GtkTreeViewColumn
gtk_tree_view_column_get_clickable, function in GtkTreeViewColumn
gtk_tree_view_column_get_expand, function in GtkTreeViewColumn
gtk_tree_view_column_get_fixed_width, function in GtkTreeViewColumn
gtk_tree_view_column_get_max_width, function in GtkTreeViewColumn
gtk_tree_view_column_get_min_width, function in GtkTreeViewColumn
gtk_tree_view_column_get_reorderable, function in GtkTreeViewColumn
gtk_tree_view_column_get_resizable, function in GtkTreeViewColumn
gtk_tree_view_column_get_sizing, function in GtkTreeViewColumn
gtk_tree_view_column_get_sort_column_id, function in GtkTreeViewColumn
gtk_tree_view_column_get_sort_indicator, function in GtkTreeViewColumn
gtk_tree_view_column_get_sort_order, function in GtkTreeViewColumn
gtk_tree_view_column_get_spacing, function in GtkTreeViewColumn
gtk_tree_view_column_get_title, function in GtkTreeViewColumn
gtk_tree_view_column_get_tree_view, function in GtkTreeViewColumn
gtk_tree_view_column_get_visible, function in GtkTreeViewColumn
gtk_tree_view_column_get_widget, function in GtkTreeViewColumn
gtk_tree_view_column_get_width, function in GtkTreeViewColumn
gtk_tree_view_column_get_x_offset, function in GtkTreeViewColumn
gtk_tree_view_column_new, function in GtkTreeViewColumn
gtk_tree_view_column_new_with_area, function in GtkTreeViewColumn
gtk_tree_view_column_new_with_attributes, function in GtkTreeViewColumn
gtk_tree_view_column_pack_end, function in GtkTreeViewColumn
gtk_tree_view_column_pack_start, function in GtkTreeViewColumn
gtk_tree_view_column_queue_resize, function in GtkTreeViewColumn
gtk_tree_view_column_set_alignment, function in GtkTreeViewColumn
gtk_tree_view_column_set_attributes, function in GtkTreeViewColumn
gtk_tree_view_column_set_cell_data_func, function in GtkTreeViewColumn
gtk_tree_view_column_set_clickable, function in GtkTreeViewColumn
gtk_tree_view_column_set_expand, function in GtkTreeViewColumn
gtk_tree_view_column_set_fixed_width, function in GtkTreeViewColumn
gtk_tree_view_column_set_max_width, function in GtkTreeViewColumn
gtk_tree_view_column_set_min_width, function in GtkTreeViewColumn
gtk_tree_view_column_set_reorderable, function in GtkTreeViewColumn
gtk_tree_view_column_set_resizable, function in GtkTreeViewColumn
gtk_tree_view_column_set_sizing, function in GtkTreeViewColumn
gtk_tree_view_column_set_sort_column_id, function in GtkTreeViewColumn
gtk_tree_view_column_set_sort_indicator, function in GtkTreeViewColumn
gtk_tree_view_column_set_sort_order, function in GtkTreeViewColumn
gtk_tree_view_column_set_spacing, function in GtkTreeViewColumn
gtk_tree_view_column_set_title, function in GtkTreeViewColumn
gtk_tree_view_column_set_visible, function in GtkTreeViewColumn
gtk_tree_view_column_set_widget, function in GtkTreeViewColumn
gtk_tree_view_convert_bin_window_to_tree_coords, function in GtkTreeView
gtk_tree_view_convert_bin_window_to_widget_coords, function in GtkTreeView
gtk_tree_view_convert_tree_to_bin_window_coords, function in GtkTreeView
gtk_tree_view_convert_tree_to_widget_coords, function in GtkTreeView
gtk_tree_view_convert_widget_to_bin_window_coords, function in GtkTreeView
gtk_tree_view_convert_widget_to_tree_coords, function in GtkTreeView
gtk_tree_view_create_row_drag_icon, function in GtkTreeView
gtk_tree_view_enable_model_drag_dest, function in GtkTreeView
gtk_tree_view_enable_model_drag_source, function in GtkTreeView
gtk_tree_view_expand_all, function in GtkTreeView
gtk_tree_view_expand_row, function in GtkTreeView
gtk_tree_view_expand_to_path, function in GtkTreeView
gtk_tree_view_get_activate_on_single_click, function in GtkTreeView
gtk_tree_view_get_background_area, function in GtkTreeView
gtk_tree_view_get_cell_area, function in GtkTreeView
gtk_tree_view_get_column, function in GtkTreeView
gtk_tree_view_get_columns, function in GtkTreeView
gtk_tree_view_get_cursor, function in GtkTreeView
gtk_tree_view_get_dest_row_at_pos, function in GtkTreeView
gtk_tree_view_get_drag_dest_row, function in GtkTreeView
gtk_tree_view_get_enable_search, function in GtkTreeView
gtk_tree_view_get_enable_tree_lines, function in GtkTreeView
gtk_tree_view_get_expander_column, function in GtkTreeView
gtk_tree_view_get_fixed_height_mode, function in GtkTreeView
gtk_tree_view_get_grid_lines, function in GtkTreeView
gtk_tree_view_get_headers_clickable, function in GtkTreeView
gtk_tree_view_get_headers_visible, function in GtkTreeView
gtk_tree_view_get_hover_expand, function in GtkTreeView
gtk_tree_view_get_hover_selection, function in GtkTreeView
gtk_tree_view_get_level_indentation, function in GtkTreeView
gtk_tree_view_get_model, function in GtkTreeView
gtk_tree_view_get_n_columns, function in GtkTreeView
gtk_tree_view_get_path_at_pos, function in GtkTreeView
gtk_tree_view_get_reorderable, function in GtkTreeView
gtk_tree_view_get_row_separator_func, function in GtkTreeView
gtk_tree_view_get_rubber_banding, function in GtkTreeView
gtk_tree_view_get_search_column, function in GtkTreeView
gtk_tree_view_get_search_entry, function in GtkTreeView
gtk_tree_view_get_search_equal_func, function in GtkTreeView
gtk_tree_view_get_selection, function in GtkTreeView
gtk_tree_view_get_show_expanders, function in GtkTreeView
gtk_tree_view_get_tooltip_column, function in GtkTreeView
gtk_tree_view_get_tooltip_context, function in GtkTreeView
gtk_tree_view_get_visible_range, function in GtkTreeView
gtk_tree_view_get_visible_rect, function in GtkTreeView
gtk_tree_view_insert_column, function in GtkTreeView
gtk_tree_view_insert_column_with_attributes, function in GtkTreeView
gtk_tree_view_insert_column_with_data_func, function in GtkTreeView
gtk_tree_view_is_blank_at_pos, function in GtkTreeView
gtk_tree_view_is_rubber_banding_active, function in GtkTreeView
gtk_tree_view_map_expanded_rows, function in GtkTreeView
gtk_tree_view_move_column_after, function in GtkTreeView
gtk_tree_view_new, function in GtkTreeView
gtk_tree_view_new_with_model, function in GtkTreeView
gtk_tree_view_remove_column, function in GtkTreeView
gtk_tree_view_row_activated, function in GtkTreeView
gtk_tree_view_row_expanded, function in GtkTreeView
gtk_tree_view_scroll_to_cell, function in GtkTreeView
gtk_tree_view_scroll_to_point, function in GtkTreeView
gtk_tree_view_set_activate_on_single_click, function in GtkTreeView
gtk_tree_view_set_column_drag_function, function in GtkTreeView
gtk_tree_view_set_cursor, function in GtkTreeView
gtk_tree_view_set_cursor_on_cell, function in GtkTreeView
gtk_tree_view_set_drag_dest_row, function in GtkTreeView
gtk_tree_view_set_enable_search, function in GtkTreeView
gtk_tree_view_set_enable_tree_lines, function in GtkTreeView
gtk_tree_view_set_expander_column, function in GtkTreeView
gtk_tree_view_set_fixed_height_mode, function in GtkTreeView
gtk_tree_view_set_grid_lines, function in GtkTreeView
gtk_tree_view_set_headers_clickable, function in GtkTreeView
gtk_tree_view_set_headers_visible, function in GtkTreeView
gtk_tree_view_set_hover_expand, function in GtkTreeView
gtk_tree_view_set_hover_selection, function in GtkTreeView
gtk_tree_view_set_level_indentation, function in GtkTreeView
gtk_tree_view_set_model, function in GtkTreeView
gtk_tree_view_set_reorderable, function in GtkTreeView
gtk_tree_view_set_row_separator_func, function in GtkTreeView
gtk_tree_view_set_rubber_banding, function in GtkTreeView
gtk_tree_view_set_search_column, function in GtkTreeView
gtk_tree_view_set_search_entry, function in GtkTreeView
gtk_tree_view_set_search_equal_func, function in GtkTreeView
gtk_tree_view_set_show_expanders, function in GtkTreeView
gtk_tree_view_set_tooltip_cell, function in GtkTreeView
gtk_tree_view_set_tooltip_column, function in GtkTreeView
gtk_tree_view_set_tooltip_row, function in GtkTreeView
gtk_tree_view_unset_rows_drag_dest, function in GtkTreeView
gtk_tree_view_unset_rows_drag_source, function in GtkTreeView
GTK_TYPE_ICON_LOOKUP_FLAGS, macro in GtkIconTheme
GTK_TYPE_ICON_THEME_ERROR, macro in GtkIconTheme
GTK_TYPE_NATIVE_DIALOG, macro in GtkNativeDialog
U
GtkUnit, enum in GtkPaperSize
GTK_UNIT_PIXEL, macro in GtkPaperSize
V
GtkVideo, struct in GtkVideo
GtkVideo:autoplay, object property in GtkVideo
GtkVideo:file, object property in GtkVideo
GtkVideo:loop, object property in GtkVideo
GtkVideo:media-stream, object property in GtkVideo
gtk_video_get_autoplay, function in GtkVideo
gtk_video_get_file, function in GtkVideo
gtk_video_get_loop, function in GtkVideo
gtk_video_get_media_stream, function in GtkVideo
gtk_video_new, function in GtkVideo
gtk_video_new_for_file, function in GtkVideo
gtk_video_new_for_filename, function in GtkVideo
gtk_video_new_for_media_stream, function in GtkVideo
gtk_video_new_for_resource, function in GtkVideo
gtk_video_set_autoplay, function in GtkVideo
gtk_video_set_file, function in GtkVideo
gtk_video_set_filename, function in GtkVideo
gtk_video_set_loop, function in GtkVideo
gtk_video_set_media_stream, function in GtkVideo
gtk_video_set_resource, function in GtkVideo
GtkViewport, struct in GtkViewport
GtkViewport:shadow-type, object property in GtkViewport
gtk_viewport_get_shadow_type, function in GtkViewport
gtk_viewport_new, function in GtkViewport
gtk_viewport_set_shadow_type, function in GtkViewport
GtkVolumeButton, struct in GtkVolumeButton
GtkVolumeButton:use-symbolic, object property in GtkVolumeButton
gtk_volume_button_new, function in GtkVolumeButton
W
GtkWidget, struct in GtkWidget
GtkWidget::accel-closures-changed, object signal in GtkWidget
GtkWidget::can-activate-accel, object signal in GtkWidget
GtkWidget::destroy, object signal in GtkWidget
GtkWidget::direction-changed, object signal in GtkWidget
GtkWidget::grab-notify, object signal in GtkWidget
GtkWidget::hide, object signal in GtkWidget
GtkWidget::keynav-failed, object signal in GtkWidget
GtkWidget::map, object signal in GtkWidget
GtkWidget::mnemonic-activate, object signal in GtkWidget
GtkWidget::move-focus, object signal in GtkWidget
GtkWidget::popup-menu, object signal in GtkWidget
GtkWidget::query-tooltip, object signal in GtkWidget
GtkWidget::realize, object signal in GtkWidget
GtkWidget::show, object signal in GtkWidget
GtkWidget::size-allocate, object signal in GtkWidget
GtkWidget::state-flags-changed, object signal in GtkWidget
GtkWidget::unmap, object signal in GtkWidget
GtkWidget::unrealize, object signal in GtkWidget
GtkWidget:can-focus, object property in GtkWidget
GtkWidget:can-target, object property in GtkWidget
GtkWidget:css-name, object property in GtkWidget
GtkWidget:cursor, object property in GtkWidget
GtkWidget:expand, object property in GtkWidget
GtkWidget:focus-on-click, object property in GtkWidget
GtkWidget:halign, object property in GtkWidget
GtkWidget:has-default, object property in GtkWidget
GtkWidget:has-focus, object property in GtkWidget
GtkWidget:has-tooltip, object property in GtkWidget
GtkWidget:height-request, object property in GtkWidget
GtkWidget:hexpand, object property in GtkWidget
GtkWidget:hexpand-set, object property in GtkWidget
GtkWidget:is-focus, object property in GtkWidget
GtkWidget:layout-manager, object property in GtkWidget
GtkWidget:margin, object property in GtkWidget
GtkWidget:margin-bottom, object property in GtkWidget
GtkWidget:margin-end, object property in GtkWidget
GtkWidget:margin-start, object property in GtkWidget
GtkWidget:margin-top, object property in GtkWidget
GtkWidget:name, object property in GtkWidget
GtkWidget:opacity, object property in GtkWidget
GtkWidget:overflow, object property in GtkWidget
GtkWidget:parent, object property in GtkWidget
GtkWidget:receives-default, object property in GtkWidget
GtkWidget:root, object property in GtkWidget
GtkWidget:scale-factor, object property in GtkWidget
GtkWidget:sensitive, object property in GtkWidget
GtkWidget:tooltip-markup, object property in GtkWidget
GtkWidget:tooltip-text, object property in GtkWidget
GtkWidget:valign, object property in GtkWidget
GtkWidget:vexpand, object property in GtkWidget
GtkWidget:vexpand-set, object property in GtkWidget
GtkWidget:visible, object property in GtkWidget
GtkWidget:width-request, object property in GtkWidget
GtkWidgetActionActivateFunc, user_function in GtkWidget
GtkWidgetClass, struct in GtkWidget
gtk_widget_action_set_enabled, function in GtkWidget
gtk_widget_activate, function in GtkWidget
gtk_widget_activate_action, function in GtkWidget
gtk_widget_activate_action_variant, function in GtkWidget
gtk_widget_activate_default, function in GtkWidget
gtk_widget_add_accelerator, function in GtkWidget
gtk_widget_add_controller, function in GtkWidget
gtk_widget_add_css_class, function in GtkWidget
gtk_widget_add_mnemonic_label, function in GtkWidget
gtk_widget_add_tick_callback, function in GtkWidget
gtk_widget_allocate, function in GtkWidget
gtk_widget_can_activate_accel, function in GtkWidget
gtk_widget_child_focus, function in GtkWidget
gtk_widget_class_bind_template_callback, macro in GtkWidget
gtk_widget_class_bind_template_callback_full, function in GtkWidget
gtk_widget_class_bind_template_child, macro in GtkWidget
gtk_widget_class_bind_template_child_full, function in GtkWidget
gtk_widget_class_bind_template_child_internal, macro in GtkWidget
gtk_widget_class_bind_template_child_internal_private, macro in GtkWidget
gtk_widget_class_bind_template_child_private, macro in GtkWidget
gtk_widget_class_get_css_name, function in GtkWidget
gtk_widget_class_install_action, function in GtkWidget
gtk_widget_class_install_property_action, function in GtkWidget
gtk_widget_class_query_action, function in GtkWidget
gtk_widget_class_set_accessible_role, function in GtkWidget
gtk_widget_class_set_accessible_type, function in GtkWidget
gtk_widget_class_set_css_name, function in GtkWidget
gtk_widget_class_set_template, function in GtkWidget
gtk_widget_class_set_template_from_resource, function in GtkWidget
gtk_widget_class_set_template_scope, function in GtkWidget
gtk_widget_compute_bounds, function in GtkWidget
gtk_widget_compute_expand, function in GtkWidget
gtk_widget_compute_point, function in GtkWidget
gtk_widget_compute_transform, function in GtkWidget
gtk_widget_contains, function in GtkWidget
gtk_widget_create_pango_context, function in GtkWidget
gtk_widget_create_pango_layout, function in GtkWidget
gtk_widget_destroy, function in GtkWidget
gtk_widget_destroyed, function in GtkWidget
gtk_widget_device_is_shadowed, function in GtkWidget
gtk_widget_error_bell, function in GtkWidget
gtk_widget_event, function in GtkWidget
gtk_widget_get_accessible, function in GtkWidget
gtk_widget_get_allocated_baseline, function in GtkWidget
gtk_widget_get_allocated_height, function in GtkWidget
gtk_widget_get_allocated_width, function in GtkWidget
gtk_widget_get_allocation, function in GtkWidget
gtk_widget_get_ancestor, function in GtkWidget
gtk_widget_get_can_focus, function in GtkWidget
gtk_widget_get_can_target, function in GtkWidget
gtk_widget_get_child_visible, function in GtkWidget
gtk_widget_get_clipboard, function in GtkWidget
gtk_widget_get_cursor, function in GtkWidget
gtk_widget_get_default_direction, function in GtkWidget
gtk_widget_get_direction, function in GtkWidget
gtk_widget_get_display, function in GtkWidget
gtk_widget_get_first_child, function in GtkWidget
gtk_widget_get_focus_on_click, function in GtkWidget
gtk_widget_get_font_map, function in GtkWidget
gtk_widget_get_font_options, function in GtkWidget
gtk_widget_get_frame_clock, function in GtkWidget
gtk_widget_get_halign, function in GtkWidget
gtk_widget_get_has_tooltip, function in GtkWidget
gtk_widget_get_height, function in GtkWidget
gtk_widget_get_hexpand, function in GtkWidget
gtk_widget_get_hexpand_set, function in GtkWidget
gtk_widget_get_last_child, function in GtkWidget
gtk_widget_get_layout_manager, function in GtkWidget
gtk_widget_get_mapped, function in GtkWidget
gtk_widget_get_margin_bottom, function in GtkWidget
gtk_widget_get_margin_end, function in GtkWidget
gtk_widget_get_margin_start, function in GtkWidget
gtk_widget_get_margin_top, function in GtkWidget
gtk_widget_get_modifier_mask, function in GtkWidget
gtk_widget_get_name, function in GtkWidget
gtk_widget_get_native, function in GtkWidget
gtk_widget_get_next_sibling, function in GtkWidget
gtk_widget_get_opacity, function in GtkWidget
gtk_widget_get_overflow, function in GtkWidget
gtk_widget_get_pango_context, function in GtkWidget
gtk_widget_get_parent, function in GtkWidget
gtk_widget_get_preferred_size, function in GtkWidget
gtk_widget_get_prev_sibling, function in GtkWidget
gtk_widget_get_primary_clipboard, function in GtkWidget
gtk_widget_get_realized, function in GtkWidget
gtk_widget_get_receives_default, function in GtkWidget
gtk_widget_get_request_mode, function in GtkWidget
gtk_widget_get_root, function in GtkWidget
gtk_widget_get_scale_factor, function in GtkWidget
gtk_widget_get_sensitive, function in GtkWidget
gtk_widget_get_settings, function in GtkWidget
gtk_widget_get_size_request, function in GtkWidget
gtk_widget_get_state_flags, function in GtkWidget
gtk_widget_get_style_context, function in GtkWidget
gtk_widget_get_support_multidevice, function in GtkWidget
gtk_widget_get_template_child, function in GtkWidget
gtk_widget_get_tooltip_markup, function in GtkWidget
gtk_widget_get_tooltip_text, function in GtkWidget
gtk_widget_get_valign, function in GtkWidget
gtk_widget_get_vexpand, function in GtkWidget
gtk_widget_get_vexpand_set, function in GtkWidget
gtk_widget_get_visible, function in GtkWidget
gtk_widget_get_width, function in GtkWidget
gtk_widget_grab_focus, function in GtkWidget
gtk_widget_has_css_class, function in GtkWidget
gtk_widget_has_default, function in GtkWidget
gtk_widget_has_focus, function in GtkWidget
gtk_widget_has_grab, function in GtkWidget
gtk_widget_has_visible_focus, function in GtkWidget
gtk_widget_hide, function in GtkWidget
gtk_widget_init_template, function in GtkWidget
gtk_widget_input_shape_combine_region, function in GtkWidget
gtk_widget_insert_action_group, function in GtkWidget
gtk_widget_insert_after, function in GtkWidget
gtk_widget_insert_before, function in GtkWidget
gtk_widget_in_destruction, function in GtkWidget
gtk_widget_is_ancestor, function in GtkWidget
gtk_widget_is_drawable, function in GtkWidget
gtk_widget_is_focus, function in GtkWidget
gtk_widget_is_sensitive, function in GtkWidget
gtk_widget_is_visible, function in GtkWidget
gtk_widget_keynav_failed, function in GtkWidget
gtk_widget_list_accel_closures, function in GtkWidget
gtk_widget_list_mnemonic_labels, function in GtkWidget
gtk_widget_map, function in GtkWidget
gtk_widget_measure, function in GtkWidget
gtk_widget_mnemonic_activate, function in GtkWidget
gtk_widget_new, function in GtkWidget
gtk_widget_observe_children, function in GtkWidget
gtk_widget_observe_controllers, function in GtkWidget
gtk_widget_paintable_get_widget, function in GtkWidgetPaintable
gtk_widget_paintable_new, function in GtkWidgetPaintable
gtk_widget_paintable_set_widget, function in GtkWidgetPaintable
gtk_widget_pick, function in GtkWidget
gtk_widget_queue_allocate, function in GtkWidget
gtk_widget_queue_draw, function in GtkWidget
gtk_widget_queue_resize, function in GtkWidget
gtk_widget_realize, function in GtkWidget
gtk_widget_remove_accelerator, function in GtkWidget
gtk_widget_remove_controller, function in GtkWidget
gtk_widget_remove_css_class, function in GtkWidget
gtk_widget_remove_mnemonic_label, function in GtkWidget
gtk_widget_remove_tick_callback, function in GtkWidget
gtk_widget_reset_style, function in GtkWidget
gtk_widget_set_accel_path, function in GtkWidget
gtk_widget_set_can_focus, function in GtkWidget
gtk_widget_set_can_target, function in GtkWidget
gtk_widget_set_child_visible, function in GtkWidget
gtk_widget_set_cursor, function in GtkWidget
gtk_widget_set_cursor_from_name, function in GtkWidget
gtk_widget_set_default_direction, function in GtkWidget
gtk_widget_set_direction, function in GtkWidget
gtk_widget_set_focus_child, function in GtkWidget
gtk_widget_set_focus_on_click, function in GtkWidget
gtk_widget_set_font_map, function in GtkWidget
gtk_widget_set_font_options, function in GtkWidget
gtk_widget_set_halign, function in GtkWidget
gtk_widget_set_has_tooltip, function in GtkWidget
gtk_widget_set_hexpand, function in GtkWidget
gtk_widget_set_hexpand_set, function in GtkWidget
gtk_widget_set_layout_manager, function in GtkWidget
gtk_widget_set_margin_bottom, function in GtkWidget
gtk_widget_set_margin_end, function in GtkWidget
gtk_widget_set_margin_start, function in GtkWidget
gtk_widget_set_margin_top, function in GtkWidget
gtk_widget_set_name, function in GtkWidget
gtk_widget_set_opacity, function in GtkWidget
gtk_widget_set_overflow, function in GtkWidget
gtk_widget_set_parent, function in GtkWidget
gtk_widget_set_receives_default, function in GtkWidget
gtk_widget_set_sensitive, function in GtkWidget
gtk_widget_set_size_request, function in GtkWidget
gtk_widget_set_state_flags, function in GtkWidget
gtk_widget_set_support_multidevice, function in GtkWidget
gtk_widget_set_tooltip_markup, function in GtkWidget
gtk_widget_set_tooltip_text, function in GtkWidget
gtk_widget_set_valign, function in GtkWidget
gtk_widget_set_vexpand, function in GtkWidget
gtk_widget_set_vexpand_set, function in GtkWidget
gtk_widget_set_visible, function in GtkWidget
gtk_widget_should_layout, function in GtkWidget
gtk_widget_show, function in GtkWidget
gtk_widget_size_allocate, function in GtkWidget
gtk_widget_snapshot_child, function in GtkWidget
gtk_widget_translate_coordinates, function in GtkWidget
gtk_widget_trigger_tooltip_query, function in GtkWidget
gtk_widget_unmap, function in GtkWidget
gtk_widget_unparent, function in GtkWidget
gtk_widget_unrealize, function in GtkWidget
gtk_widget_unset_state_flags, function in GtkWidget
GtkWindow, struct in GtkWindow
GtkWindow::activate-default, object signal in GtkWindow
GtkWindow::activate-focus, object signal in GtkWindow
GtkWindow::close-request, object signal in GtkWindow
GtkWindow::enable-debugging, object signal in GtkWindow
GtkWindow::keys-changed, object signal in GtkWindow
GtkWindow:accept-focus, object property in GtkWindow
GtkWindow:application, object property in GtkWindow
GtkWindow:attached-to, object property in GtkWindow
GtkWindow:decorated, object property in GtkWindow
GtkWindow:default-height, object property in GtkWindow
GtkWindow:default-widget, object property in GtkWindow
GtkWindow:default-width, object property in GtkWindow
GtkWindow:deletable, object property in GtkWindow
GtkWindow:destroy-with-parent, object property in GtkWindow
GtkWindow:display, object property in GtkWindow
GtkWindow:focus-on-map, object property in GtkWindow
GtkWindow:focus-visible, object property in GtkWindow
GtkWindow:hide-on-close, object property in GtkWindow
GtkWindow:icon-name, object property in GtkWindow
GtkWindow:is-active, object property in GtkWindow
GtkWindow:is-maximized, object property in GtkWindow
GtkWindow:mnemonics-visible, object property in GtkWindow
GtkWindow:modal, object property in GtkWindow
GtkWindow:resizable, object property in GtkWindow
GtkWindow:startup-id, object property in GtkWindow
GtkWindow:title, object property in GtkWindow
GtkWindow:transient-for, object property in GtkWindow
GtkWindow:type, object property in GtkWindow
GtkWindow:type-hint, object property in GtkWindow
GtkWindowClass, struct in GtkWindow
GtkWindowGroup, struct in GtkWindowGroup
GtkWindowType, enum in GtkWindow
gtk_window_activate_key, function in GtkWindow
gtk_window_add_accel_group, function in GtkWindow
gtk_window_add_mnemonic, function in GtkWindow
gtk_window_begin_move_drag, function in GtkWindow
gtk_window_begin_resize_drag, function in GtkWindow
gtk_window_close, function in GtkWindow
gtk_window_fullscreen, function in GtkWindow
gtk_window_fullscreen_on_monitor, function in GtkWindow
gtk_window_get_accept_focus, function in GtkWindow
gtk_window_get_application, function in GtkWindow
gtk_window_get_attached_to, function in GtkWindow
gtk_window_get_decorated, function in GtkWindow
gtk_window_get_default_icon_name, function in GtkWindow
gtk_window_get_default_size, function in GtkWindow
gtk_window_get_default_widget, function in GtkWindow
gtk_window_get_deletable, function in GtkWindow
gtk_window_get_destroy_with_parent, function in GtkWindow
gtk_window_get_focus, function in GtkWindow
gtk_window_get_focus_on_map, function in GtkWindow
gtk_window_get_focus_visible, function in GtkWindow
gtk_window_get_group, function in GtkWindow
gtk_window_get_hide_on_close, function in GtkWindow
gtk_window_get_icon_name, function in GtkWindow
gtk_window_get_mnemonics_visible, function in GtkWindow
gtk_window_get_mnemonic_modifier, function in GtkWindow
gtk_window_get_modal, function in GtkWindow
gtk_window_get_resizable, function in GtkWindow
gtk_window_get_size, function in GtkWindow
gtk_window_get_title, function in GtkWindow
gtk_window_get_titlebar, function in GtkWindow
gtk_window_get_toplevels, function in GtkWindow
gtk_window_get_transient_for, function in GtkWindow
gtk_window_get_type_hint, function in GtkWindow
gtk_window_get_window_type, function in GtkWindow
gtk_window_group_add_window, function in GtkWindowGroup
gtk_window_group_get_current_device_grab, function in GtkWindowGroup
gtk_window_group_get_current_grab, function in GtkWindowGroup
gtk_window_group_list_windows, function in GtkWindowGroup
gtk_window_group_new, function in GtkWindowGroup
gtk_window_group_remove_window, function in GtkWindowGroup
gtk_window_has_group, function in GtkWindow
gtk_window_is_active, function in GtkWindow
gtk_window_is_maximized, function in GtkWindow
gtk_window_list_toplevels, function in GtkWindow
gtk_window_maximize, function in GtkWindow
gtk_window_minimize, function in GtkWindow
gtk_window_mnemonic_activate, function in GtkWindow
gtk_window_new, function in GtkWindow
gtk_window_present, function in GtkWindow
gtk_window_present_with_time, function in GtkWindow
gtk_window_propagate_key_event, function in GtkWindow
gtk_window_remove_accel_group, function in GtkWindow
gtk_window_remove_mnemonic, function in GtkWindow
gtk_window_resize, function in GtkWindow
gtk_window_set_accept_focus, function in GtkWindow
gtk_window_set_application, function in GtkWindow
gtk_window_set_attached_to, function in GtkWindow
gtk_window_set_auto_startup_notification, function in GtkWindow
gtk_window_set_decorated, function in GtkWindow
gtk_window_set_default_icon_name, function in GtkWindow
gtk_window_set_default_size, function in GtkWindow
gtk_window_set_default_widget, function in GtkWindow
gtk_window_set_deletable, function in GtkWindow
gtk_window_set_destroy_with_parent, function in GtkWindow
gtk_window_set_display, function in GtkWindow
gtk_window_set_focus, function in GtkWindow
gtk_window_set_focus_on_map, function in GtkWindow
gtk_window_set_focus_visible, function in GtkWindow
gtk_window_set_has_user_ref_count, function in GtkWindow
gtk_window_set_hide_on_close, function in GtkWindow
gtk_window_set_icon_name, function in GtkWindow
gtk_window_set_interactive_debugging, function in GtkWindow
gtk_window_set_keep_above, function in GtkWindow
gtk_window_set_keep_below, function in GtkWindow
gtk_window_set_mnemonics_visible, function in GtkWindow
gtk_window_set_mnemonic_modifier, function in GtkWindow
gtk_window_set_modal, function in GtkWindow
gtk_window_set_resizable, function in GtkWindow
gtk_window_set_startup_id, function in GtkWindow
gtk_window_set_title, function in GtkWindow
gtk_window_set_titlebar, function in GtkWindow
gtk_window_set_transient_for, function in GtkWindow
gtk_window_set_type_hint, function in GtkWindow
gtk_window_stick, function in GtkWindow
gtk_window_unfullscreen, function in GtkWindow
gtk_window_unmaximize, function in GtkWindow
gtk_window_unminimize, function in GtkWindow
gtk_window_unstick, function in GtkWindow
GtkWindow|default.activate, action in GtkWindow
GtkWrapMode, enum in GtkTextView
docs/reference/gtk/xml/gtkgesture.xml 0000664 0001750 0001750 00000176756 13617646205 020127 0 ustar mclasen mclasen
]>
GtkGesture
3
GTK4 Library
GtkGesture
Base class for gestures
Functions
GdkDevice *
gtk_gesture_get_device ()
gboolean
gtk_gesture_is_active ()
gboolean
gtk_gesture_is_recognized ()
GtkEventSequenceState
gtk_gesture_get_sequence_state ()
gboolean
gtk_gesture_set_sequence_state ()
gboolean
gtk_gesture_set_state ()
GList *
gtk_gesture_get_sequences ()
gboolean
gtk_gesture_handles_sequence ()
GdkEventSequence *
gtk_gesture_get_last_updated_sequence ()
const GdkEvent *
gtk_gesture_get_last_event ()
gboolean
gtk_gesture_get_point ()
gboolean
gtk_gesture_get_bounding_box ()
gboolean
gtk_gesture_get_bounding_box_center ()
void
gtk_gesture_group ()
void
gtk_gesture_ungroup ()
GList *
gtk_gesture_get_group ()
gboolean
gtk_gesture_is_grouped_with ()
Properties
guint n-pointsRead / Write / Construct Only
Signals
void begin Run Last
void cancel Run Last
void end Run Last
void sequence-state-changed Run Last
void update Run Last
Types and Values
GtkGesture
enum GtkEventSequenceState
Object Hierarchy
GObject
╰── GtkEventController
╰── GtkGesture
├── GtkGestureSingle
├── GtkGestureRotate
╰── GtkGestureZoom
Includes #include <gtk/gtk.h>
Description
GtkGesture is the base object for gesture recognition, although this
object is quite generalized to serve as a base for multi-touch gestures,
it is suitable to implement single-touch and pointer-based gestures (using
the special NULL GdkEventSequence value for these).
The number of touches that a GtkGesture need to be recognized is controlled
by the “n-points” property, if a gesture is keeping track of less
or more than that number of sequences, it won't check wether the gesture
is recognized.
As soon as the gesture has the expected number of touches, the gesture will
run the “check” signal regularly on input events until the gesture
is recognized, the criteria to consider a gesture as "recognized" is left to
GtkGesture subclasses.
A recognized gesture will then emit the following signals:
“begin” when the gesture is recognized.
A number of “update” , whenever an input event is processed.
“end” when the gesture is no longer recognized.
Event propagation In order to receive events, a gesture needs to either set a propagation phase
through gtk_event_controller_set_propagation_phase() , or feed those manually
through gtk_event_controller_handle_event() .
In the capture phase, events are propagated from the toplevel down to the
target widget, and gestures that are attached to containers above the widget
get a chance to interact with the event before it reaches the target.
After the capture phase, GTK+ emits the traditional “event” signal.
Gestures with the GTK_PHASE_TARGET phase are fed events from the default
“event” handlers.
In the bubble phase, events are propagated up from the target widget to the
toplevel, and gestures that are attached to containers above the widget get
a chance to interact with events that have not been handled yet.
States of a sequence Whenever input interaction happens, a single event may trigger a cascade of
GtkGestures , both across the parents of the widget receiving the event and
in parallel within an individual widget. It is a responsibility of the
widgets using those gestures to set the state of touch sequences accordingly
in order to enable cooperation of gestures around the GdkEventSequences
triggering those.
Within a widget, gestures can be grouped through gtk_gesture_group() ,
grouped gestures synchronize the state of sequences, so calling
gtk_gesture_set_sequence_state() on one will effectively propagate
the state throughout the group.
By default, all sequences start out in the GTK_EVENT_SEQUENCE_NONE state,
sequences in this state trigger the gesture event handler, but event
propagation will continue unstopped by gestures.
If a sequence enters into the GTK_EVENT_SEQUENCE_DENIED state, the gesture
group will effectively ignore the sequence, letting events go unstopped
through the gesture, but the "slot" will still remain occupied while
the touch is active.
If a sequence enters in the GTK_EVENT_SEQUENCE_CLAIMED state, the gesture
group will grab all interaction on the sequence, by:
Setting the same sequence to GTK_EVENT_SEQUENCE_DENIED on every other gesture
group within the widget, and every gesture on parent widgets in the propagation
chain.
calling “cancel” on every gesture in widgets underneath in the
propagation chain.
Stopping event propagation after the gesture group handles the event.
Note: if a sequence is set early to GTK_EVENT_SEQUENCE_CLAIMED on
GDK_TOUCH_BEGIN /GDK_BUTTON_PRESS (so those events are captured before
reaching the event widget, this implies GTK_PHASE_CAPTURE ), one similar
event will emulated if the sequence changes to GTK_EVENT_SEQUENCE_DENIED .
This way event coherence is preserved before event propagation is unstopped
again.
Sequence states can't be changed freely, see gtk_gesture_set_sequence_state()
to know about the possible lifetimes of a GdkEventSequence .
Touchpad gestures On the platforms that support it, GtkGesture will handle transparently
touchpad gesture events. The only precautions users of GtkGesture should do
to enable this support are:
Enabling GDK_TOUCHPAD_GESTURE_MASK on their GdkSurfaces
If the gesture has GTK_PHASE_NONE , ensuring events of type
GDK_TOUCHPAD_SWIPE and GDK_TOUCHPAD_PINCH are handled by the GtkGesture
Functions
gtk_gesture_get_device ()
gtk_gesture_get_device
GdkDevice *
gtk_gesture_get_device (GtkGesture *gesture );
Returns the master GdkDevice that is currently operating
on gesture
, or NULL if the gesture is not being interacted.
Parameters
gesture
a GtkGesture
Returns
a GdkDevice , or NULL .
[nullable ][transfer none ]
gtk_gesture_is_active ()
gtk_gesture_is_active
gboolean
gtk_gesture_is_active (GtkGesture *gesture );
Returns TRUE if the gesture is currently active.
A gesture is active meanwhile there are touch sequences
interacting with it.
Parameters
gesture
a GtkGesture
Returns
TRUE if gesture is active
gtk_gesture_is_recognized ()
gtk_gesture_is_recognized
gboolean
gtk_gesture_is_recognized (GtkGesture *gesture );
Returns TRUE if the gesture is currently recognized.
A gesture is recognized if there are as many interacting
touch sequences as required by gesture
, and “check”
returned TRUE for the sequences being currently interpreted.
Parameters
gesture
a GtkGesture
Returns
TRUE if gesture is recognized
gtk_gesture_get_sequence_state ()
gtk_gesture_get_sequence_state
GtkEventSequenceState
gtk_gesture_get_sequence_state (GtkGesture *gesture ,
GdkEventSequence *sequence );
Returns the sequence
state, as seen by gesture
.
Parameters
gesture
a GtkGesture
sequence
a GdkEventSequence
Returns
The sequence state in gesture
gtk_gesture_set_sequence_state ()
gtk_gesture_set_sequence_state
gboolean
gtk_gesture_set_sequence_state (GtkGesture *gesture ,
GdkEventSequence *sequence ,
GtkEventSequenceState state );
Sets the state of sequence
in gesture
. Sequences start
in state GTK_EVENT_SEQUENCE_NONE , and whenever they change
state, they can never go back to that state. Likewise,
sequences in state GTK_EVENT_SEQUENCE_DENIED cannot turn
back to a not denied state. With these rules, the lifetime
of an event sequence is constrained to the next four:
None
None → Denied
None → Claimed
None → Claimed → Denied
Note: Due to event handling ordering, it may be unsafe to
set the state on another gesture within a “begin”
signal handler, as the callback might be executed before
the other gesture knows about the sequence. A safe way to
perform this could be:
If both gestures are in the same group, just set the state on
the gesture emitting the event, the sequence will be already
be initialized to the group's global state when the second
gesture processes the event.
Parameters
gesture
a GtkGesture
sequence
a GdkEventSequence
state
the sequence state
Returns
TRUE if sequence
is handled by gesture
,
and the state is changed successfully
gtk_gesture_set_state ()
gtk_gesture_set_state
gboolean
gtk_gesture_set_state (GtkGesture *gesture ,
GtkEventSequenceState state );
Sets the state of all sequences that gesture
is currently
interacting with. See gtk_gesture_set_sequence_state()
for more details on sequence states.
Parameters
gesture
a GtkGesture
state
the sequence state
Returns
TRUE if the state of at least one sequence
was changed successfully
gtk_gesture_get_sequences ()
gtk_gesture_get_sequences
GList *
gtk_gesture_get_sequences (GtkGesture *gesture );
Returns the list of GdkEventSequences currently being interpreted
by gesture
.
Parameters
gesture
a GtkGesture
Returns
A list
of GdkEventSequences , the list elements are owned by GTK+
and must not be freed or modified, the list itself must be deleted
through g_list_free() .
[transfer container ][element-type GdkEventSequence]
gtk_gesture_handles_sequence ()
gtk_gesture_handles_sequence
gboolean
gtk_gesture_handles_sequence (GtkGesture *gesture ,
GdkEventSequence *sequence );
Returns TRUE if gesture
is currently handling events corresponding to
sequence
.
Parameters
gesture
a GtkGesture
sequence
a GdkEventSequence or NULL .
[nullable ]
Returns
TRUE if gesture
is handling sequence
, FALSE otherwise
gtk_gesture_get_last_updated_sequence ()
gtk_gesture_get_last_updated_sequence
GdkEventSequence *
gtk_gesture_get_last_updated_sequence (GtkGesture *gesture );
Returns the GdkEventSequence that was last updated on gesture
.
Parameters
gesture
a GtkGesture
Returns
The last updated sequence.
[transfer none ][nullable ]
gtk_gesture_get_last_event ()
gtk_gesture_get_last_event
const GdkEvent *
gtk_gesture_get_last_event (GtkGesture *gesture ,
GdkEventSequence *sequence );
Returns the last event that was processed for sequence
.
Note that the returned pointer is only valid as long as the sequence
is still interpreted by the gesture
. If in doubt, you should make
a copy of the event.
Parameters
gesture
a GtkGesture
sequence
a GdkEventSequence .
[nullable ]
Returns
The last event from sequence
.
[transfer none ][nullable ]
gtk_gesture_get_point ()
gtk_gesture_get_point
gboolean
gtk_gesture_get_point (GtkGesture *gesture ,
GdkEventSequence *sequence ,
gdouble *x ,
gdouble *y );
If sequence
is currently being interpreted by gesture
, this
function returns TRUE and fills in x
and y
with the last coordinates
stored for that event sequence. The coordinates are always relative to the
widget allocation.
Parameters
gesture
a GtkGesture
sequence
a GdkEventSequence , or NULL for pointer events.
[allow-none ]
x
return location for X axis of the sequence coordinates.
[out ][allow-none ]
y
return location for Y axis of the sequence coordinates.
[out ][allow-none ]
Returns
TRUE if sequence
is currently interpreted
gtk_gesture_get_bounding_box ()
gtk_gesture_get_bounding_box
gboolean
gtk_gesture_get_bounding_box (GtkGesture *gesture ,
GdkRectangle *rect );
If there are touch sequences being currently handled by gesture
,
this function returns TRUE and fills in rect
with the bounding
box containing all active touches. Otherwise, FALSE will be
returned.
Note: This function will yield unexpected results on touchpad
gestures. Since there is no correlation between physical and
pixel distances, these will look as if constrained in an
infinitely small area, rect
width and height will thus be 0
regardless of the number of touchpoints.
Parameters
gesture
a GtkGesture
rect
bounding box containing all active touches.
[out ]
Returns
TRUE if there are active touches, FALSE otherwise
gtk_gesture_get_bounding_box_center ()
gtk_gesture_get_bounding_box_center
gboolean
gtk_gesture_get_bounding_box_center (GtkGesture *gesture ,
gdouble *x ,
gdouble *y );
If there are touch sequences being currently handled by gesture
,
this function returns TRUE and fills in x
and y
with the center
of the bounding box containing all active touches. Otherwise, FALSE
will be returned.
Parameters
gesture
a GtkGesture
x
X coordinate for the bounding box center.
[out ]
y
Y coordinate for the bounding box center.
[out ]
Returns
FALSE if no active touches are present, TRUE otherwise
gtk_gesture_group ()
gtk_gesture_group
void
gtk_gesture_group (GtkGesture *group_gesture ,
GtkGesture *gesture );
Adds gesture
to the same group than group_gesture
. Gestures
are by default isolated in their own groups.
Both gestures must have been added to the same widget before they
can be grouped.
When gestures are grouped, the state of GdkEventSequences
is kept in sync for all of those, so calling gtk_gesture_set_sequence_state() ,
on one will transfer the same value to the others.
Groups also perform an "implicit grabbing" of sequences, if a
GdkEventSequence state is set to GTK_EVENT_SEQUENCE_CLAIMED on one group,
every other gesture group attached to the same GtkWidget will switch the
state for that sequence to GTK_EVENT_SEQUENCE_DENIED .
Parameters
gesture
a GtkGesture
group_gesture
GtkGesture to group gesture
with
gtk_gesture_ungroup ()
gtk_gesture_ungroup
void
gtk_gesture_ungroup (GtkGesture *gesture );
Separates gesture
into an isolated group.
Parameters
gesture
a GtkGesture
gtk_gesture_get_group ()
gtk_gesture_get_group
GList *
gtk_gesture_get_group (GtkGesture *gesture );
Returns all gestures in the group of gesture
Parameters
gesture
a GtkGesture
Returns
The list
of GtkGestures , free with g_list_free() .
[element-type GtkGesture][transfer container ]
gtk_gesture_is_grouped_with ()
gtk_gesture_is_grouped_with
gboolean
gtk_gesture_is_grouped_with (GtkGesture *gesture ,
GtkGesture *other );
Returns TRUE if both gestures pertain to the same group.
Parameters
gesture
a GtkGesture
other
another GtkGesture
Returns
whether the gestures are grouped
Property Details
The “n-points” property
GtkGesture:n-points
“n-points” guint
The number of touch points that trigger recognition on this gesture,
Owner: GtkGesture
Flags: Read / Write / Construct Only
Allowed values: >= 1
Default value: 1
Signal Details
The “begin” signal
GtkGesture::begin
void
user_function (GtkGesture *gesture,
GdkEventSequence *sequence,
gpointer user_data)
This signal is emitted when the gesture is recognized. This means the
number of touch sequences matches “n-points” , and the “check”
handler(s) returned TRUE .
Note: These conditions may also happen when an extra touch (eg. a third touch
on a 2-touches gesture) is lifted, in that situation sequence
won't pertain
to the current set of active touches, so don't rely on this being true.
Parameters
gesture
the object which received the signal
sequence
the GdkEventSequence that made the gesture to be recognized
user_data
user data set when the signal handler was connected.
Flags: Run Last
The “cancel” signal
GtkGesture::cancel
void
user_function (GtkGesture *gesture,
GdkEventSequence *sequence,
gpointer user_data)
This signal is emitted whenever a sequence is cancelled. This usually
happens on active touches when gtk_event_controller_reset() is called
on gesture
(manually, due to grabs...), or the individual sequence
was claimed by parent widgets' controllers (see gtk_gesture_set_sequence_state() ).
gesture
must forget everything about sequence
as a reaction to this signal.
Parameters
gesture
the object which received the signal
sequence
the GdkEventSequence that was cancelled
user_data
user data set when the signal handler was connected.
Flags: Run Last
The “end” signal
GtkGesture::end
void
user_function (GtkGesture *gesture,
GdkEventSequence *sequence,
gpointer user_data)
This signal is emitted when gesture
either stopped recognizing the event
sequences as something to be handled (the “check” handler returned
FALSE ), or the number of touch sequences became higher or lower than
“n-points” .
Note: sequence
might not pertain to the group of sequences that were
previously triggering recognition on gesture
(ie. a just pressed touch
sequence that exceeds “n-points” ). This situation may be detected
by checking through gtk_gesture_handles_sequence() .
Parameters
gesture
the object which received the signal
sequence
the GdkEventSequence that made gesture recognition to finish
user_data
user data set when the signal handler was connected.
Flags: Run Last
The “sequence-state-changed” signal
GtkGesture::sequence-state-changed
void
user_function (GtkGesture *gesture,
GdkEventSequence *sequence,
GtkEventSequenceState state,
gpointer user_data)
This signal is emitted whenever a sequence state changes. See
gtk_gesture_set_sequence_state() to know more about the expectable
sequence lifetimes.
Parameters
gesture
the object which received the signal
sequence
the GdkEventSequence that was cancelled
state
the new sequence state
user_data
user data set when the signal handler was connected.
Flags: Run Last
The “update” signal
GtkGesture::update
void
user_function (GtkGesture *gesture,
GdkEventSequence *sequence,
gpointer user_data)
This signal is emitted whenever an event is handled while the gesture is
recognized. sequence
is guaranteed to pertain to the set of active touches.
Parameters
gesture
the object which received the signal
sequence
the GdkEventSequence that was updated
user_data
user data set when the signal handler was connected.
Flags: Run Last
See Also
GtkEventController , GtkGestureSingle
docs/reference/gtk/xml/gtkcustomlayout.xml 0000664 0001750 0001750 00000032230 13617646205 021173 0 ustar mclasen mclasen
]>
GtkCustomLayout
3
GTK4 Library
GtkCustomLayout
A convenience layout manager
Functions
GtkSizeRequestMode
( *GtkCustomRequestModeFunc) ()
void
( *GtkCustomMeasureFunc) ()
void
( *GtkCustomAllocateFunc) ()
GtkLayoutManager *
gtk_custom_layout_new ()
Types and Values
GtkCustomLayout
Includes #include <gtk/gtk.h>
Description
GtkCustomLayout is a convenience type meant to be used as a transition
mechanism between GtkContainers implementing a layout policy, and
GtkLayoutManager classes.
A GtkCustomLayout uses closures matching to the old GtkWidget virtual
functions for size negotiation, as a convenience API to ease the porting
towards the corresponding GtkLayoutManager virtual functions.
Functions
GtkCustomRequestModeFunc ()
GtkCustomRequestModeFunc
GtkSizeRequestMode
( *GtkCustomRequestModeFunc) (GtkWidget *widget );
Queries a widget for its preferred size request mode.
Parameters
widget
the widget to be queried
Returns
the size request mode
GtkCustomMeasureFunc ()
GtkCustomMeasureFunc
void
( *GtkCustomMeasureFunc) (GtkWidget *widget ,
GtkOrientation orientation ,
int for_size ,
int *minimum ,
int *natural ,
int *minimum_baseline ,
int *natural_baseline );
A function to be used by GtkCustomLayout to measure a widget.
Parameters
widget
the widget to be measured
orientation
the direction to be measured
for_size
the size to be measured for
minimum
the measured minimum size of the widget.
[out ]
natural
the measured natural size of the widget.
[out ]
minimum_baseline
the measured minimum baseline of the widget.
[out ]
natural_baseline
the measured natural baseline of the widget.
[out ]
GtkCustomAllocateFunc ()
GtkCustomAllocateFunc
void
( *GtkCustomAllocateFunc) (GtkWidget *widget ,
int width ,
int height ,
int baseline );
A function to be used by GtkCustomLayout to allocate a widget.
Parameters
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
gtk_custom_layout_new ()
gtk_custom_layout_new
GtkLayoutManager *
gtk_custom_layout_new (GtkCustomRequestModeFunc request_mode ,
GtkCustomMeasureFunc measure ,
GtkCustomAllocateFunc allocate );
Creates a new legacy layout manager.
Legacy layout managers map to the old GtkWidget size negotiation
virtual functions, and are meant to be used during the transition
from layout containers to layout manager delegates.
Parameters
request_mode
a function to retrieve
the GtkSizeRequestMode of the widget using the layout; the
default request mode is GTK_SIZE_REQUEST_CONSTANT_SIZE .
[nullable ]
measure
a function to measure the widget using the layout manager
allocate
a function to allocate the children of the widget using
the layout manager
Returns
the newly created GtkCustomLayout .
[transfer full ]
docs/reference/gtk/xml/gtkgesturesingle.xml 0000664 0001750 0001750 00000054076 13617646205 021317 0 ustar mclasen mclasen
]>
GtkGestureSingle
3
GTK4 Library
GtkGestureSingle
Base class for mouse/single-touch gestures
Functions
gboolean
gtk_gesture_single_get_exclusive ()
void
gtk_gesture_single_set_exclusive ()
gboolean
gtk_gesture_single_get_touch_only ()
void
gtk_gesture_single_set_touch_only ()
guint
gtk_gesture_single_get_button ()
void
gtk_gesture_single_set_button ()
guint
gtk_gesture_single_get_current_button ()
GdkEventSequence *
gtk_gesture_single_get_current_sequence ()
Properties
guint buttonRead / Write
gboolean exclusiveRead / Write
gboolean touch-onlyRead / Write
Types and Values
GtkGestureSingle
Object Hierarchy
GObject
╰── GtkEventController
╰── GtkGesture
╰── GtkGestureSingle
├── GtkDragSource
├── GtkGestureClick
├── GtkGestureDrag
├── GtkGestureLongPress
├── GtkGestureStylus
╰── GtkGestureSwipe
Includes #include <gtk/gtk.h>
Description
GtkGestureSingle is a subclass of GtkGesture , optimized (although
not restricted) for dealing with mouse and single-touch gestures. Under
interaction, these gestures stick to the first interacting sequence, which
is accessible through gtk_gesture_single_get_current_sequence() while the
gesture is being interacted with.
By default gestures react to both GDK_BUTTON_PRIMARY and touch
events, gtk_gesture_single_set_touch_only() can be used to change the
touch behavior. Callers may also specify a different mouse button number
to interact with through gtk_gesture_single_set_button() , or react to any
mouse button by setting 0. While the gesture is active, the button being
currently pressed can be known through gtk_gesture_single_get_current_button() .
Functions
gtk_gesture_single_get_exclusive ()
gtk_gesture_single_get_exclusive
gboolean
gtk_gesture_single_get_exclusive (GtkGestureSingle *gesture );
Gets whether a gesture is exclusive. For more information, see
gtk_gesture_single_set_exclusive() .
Parameters
gesture
a GtkGestureSingle
Returns
Whether the gesture is exclusive
gtk_gesture_single_set_exclusive ()
gtk_gesture_single_set_exclusive
void
gtk_gesture_single_set_exclusive (GtkGestureSingle *gesture ,
gboolean exclusive );
Sets whether gesture
is exclusive. An exclusive gesture will
only handle pointer and "pointer emulated" touch events, so at
any given time, there is only one sequence able to interact with
those.
Parameters
gesture
a GtkGestureSingle
exclusive
TRUE to make gesture
exclusive
gtk_gesture_single_get_touch_only ()
gtk_gesture_single_get_touch_only
gboolean
gtk_gesture_single_get_touch_only (GtkGestureSingle *gesture );
Returns TRUE if the gesture is only triggered by touch events.
Parameters
gesture
a GtkGestureSingle
Returns
TRUE if the gesture only handles touch events
gtk_gesture_single_set_touch_only ()
gtk_gesture_single_set_touch_only
void
gtk_gesture_single_set_touch_only (GtkGestureSingle *gesture ,
gboolean touch_only );
If touch_only
is TRUE , gesture
will only handle events of type
GDK_TOUCH_BEGIN , GDK_TOUCH_UPDATE or GDK_TOUCH_END . If FALSE ,
mouse events will be handled too.
Parameters
gesture
a GtkGestureSingle
touch_only
whether gesture
handles only touch events
gtk_gesture_single_get_button ()
gtk_gesture_single_get_button
guint
gtk_gesture_single_get_button (GtkGestureSingle *gesture );
Returns the button number gesture
listens for, or 0 if gesture
reacts to any button press.
Parameters
gesture
a GtkGestureSingle
Returns
The button number, or 0 for any button
gtk_gesture_single_set_button ()
gtk_gesture_single_set_button
void
gtk_gesture_single_set_button (GtkGestureSingle *gesture ,
guint button );
Sets the button number gesture
listens to. If non-0, every
button press from a different button number will be ignored.
Touch events implicitly match with button 1.
Parameters
gesture
a GtkGestureSingle
button
button number to listen to, or 0 for any button
gtk_gesture_single_get_current_button ()
gtk_gesture_single_get_current_button
guint
gtk_gesture_single_get_current_button (GtkGestureSingle *gesture );
Returns the button number currently interacting with gesture
, or 0 if there
is none.
Parameters
gesture
a GtkGestureSingle
Returns
The current button number
gtk_gesture_single_get_current_sequence ()
gtk_gesture_single_get_current_sequence
GdkEventSequence *
gtk_gesture_single_get_current_sequence
(GtkGestureSingle *gesture );
Returns the event sequence currently interacting with gesture
.
This is only meaningful if gtk_gesture_is_active() returns TRUE .
Parameters
gesture
a GtkGestureSingle
Returns
the current sequence.
[nullable ]
Property Details
The “button” property
GtkGestureSingle:button
“button” guint
Mouse button number to listen to, or 0 to listen for any button.
Owner: GtkGestureSingle
Flags: Read / Write
Default value: 1
The “exclusive” property
GtkGestureSingle:exclusive
“exclusive” gboolean
Whether the gesture is exclusive. Exclusive gestures only listen to pointer
and pointer emulated events.
Owner: GtkGestureSingle
Flags: Read / Write
Default value: FALSE
The “touch-only” property
GtkGestureSingle:touch-only
“touch-only” gboolean
Whether the gesture handles only touch events.
Owner: GtkGestureSingle
Flags: Read / Write
Default value: FALSE
docs/reference/gtk/xml/gtkbinlayout.xml 0000664 0001750 0001750 00000007263 13617646205 020441 0 ustar mclasen mclasen
]>
GtkBinLayout
3
GTK4 Library
GtkBinLayout
A layout manager for bin-like widgets
Functions
GtkLayoutManager *
gtk_bin_layout_new ()
Types and Values
GtkBinLayout
Object Hierarchy
GObject
╰── GtkLayoutManager
╰── GtkBinLayout
Includes #include <gtk/gtk.h>
Description
GtkBinLayout is a GtkLayoutManager subclass useful for create "bins" of
widgets. GtkBinLayout will stack each child of a widget on top of each
other, using the “hexpand” , “vexpand” , “halign” ,
and “valign” properties of each child to determine where they
should be positioned.
Functions
gtk_bin_layout_new ()
gtk_bin_layout_new
GtkLayoutManager *
gtk_bin_layout_new (void );
Creates a new GtkBinLayout instance.
Returns
the newly created GtkBinLayout
docs/reference/gtk/xml/gtkconstraintlayout.xml 0000664 0001750 0001750 00000115535 13617646205 022057 0 ustar mclasen mclasen
]>
GtkConstraintLayout
3
GTK4 Library
GtkConstraintLayout
A layout manager using constraints
Functions
GtkLayoutManager *
gtk_constraint_layout_new ()
void
gtk_constraint_layout_add_constraint ()
void
gtk_constraint_layout_remove_constraint ()
void
gtk_constraint_layout_remove_all_constraints ()
void
gtk_constraint_layout_add_guide ()
void
gtk_constraint_layout_remove_guide ()
GList *
gtk_constraint_layout_add_constraints_from_description ()
GList *
gtk_constraint_layout_add_constraints_from_descriptionv ()
GListModel *
gtk_constraint_layout_observe_constraints ()
GListModel *
gtk_constraint_layout_observe_guides ()
Types and Values
GtkConstraintLayout
GtkConstraintLayoutChild
enum GtkConstraintVflParserError
Object Hierarchy
GObject
├── GtkLayoutChild
│ ╰── GtkConstraintLayoutChild
╰── GtkLayoutManager
╰── GtkConstraintLayout
Implemented Interfaces
GtkConstraintLayout implements
GtkBuildable.
Includes #include <gtk/gtk.h>
Description
GtkConstraintLayout is a layout manager that uses relations between
widget attributes, expressed via GtkConstraint instances, to measure
and allocate widgets.
How do constraints work Constraints are objects defining the relationship between attributes
of a widget; you can read the description of the GtkConstraint
class to have a more in depth definition.
By taking multiple constraints and applying them to the children of
a widget using GtkConstraintLayout , it's possible to describe complex
layout policies; each constraint applied to a child or to the parent
widgets contributes to the full description of the layout, in terms of
parameters for resolving the value of each attribute.
It is important to note that a layout is defined by the totality of
constraints; removing a child, or a constraint, from an existing layout
without changing the remaining constraints may result in an unstable
or unsolvable layout.
Constraints have an implicit "reading order"; you should start describing
each edge of each child, as well as their relationship with the parent
container, from the top left (or top right, in RTL languages), horizontally
first, and then vertically.
A constraint-based layout with too few constraints can become "unstable",
that is: have more than one solution. The behavior of an unstable layout
is undefined.
A constraint-based layout with conflicting constraints may be unsolvable,
and lead to an unstable layout. You can use the “strength”
property of GtkConstraint to "nudge" the layout towards a solution.
GtkConstraintLayout as GtkBuildable GtkConstraintLayout implements the GtkBuildable interface and has a
custom "constraints" element which allows describing constraints in a
GtkBuilder UI file.
An example of a UI definition fragment specifying a constraint:
]]>
The definition above will add two constraints to the GtkConstraintLayout:
a required constraint between the leading edge of "button" and
the leading edge of the widget using the constraint layout, plus
12 pixels
a strong, constant constraint making the width of "button" greater
than, or equal to 250 pixels
The "target" and "target-attribute" attributes are required.
The "source" and "source-attribute" attributes of the "constraint"
element are optional; if they are not specified, the constraint is
assumed to be a constant.
The "relation" attribute is optional; if not specified, the constraint
is assumed to be an equality.
The "strength" attribute is optional; if not specified, the constraint
is assumed to be required.
The "source" and "target" attributes can be set to "super" to indicate
that the constraint target is the widget using the GtkConstraintLayout.
Additionally, the "constraints" element can also contain a description
of the GtkConstraintGuides used by the layout:
]]>
The "guide" element has the following optional attributes:
"min-width", "nat-width", and "max-width", describe the minimum,
natural, and maximum width of the guide, respectively
"min-height", "nat-height", and "max-height", describe the minimum,
natural, and maximum height of the guide, respectively
"strength" describes the strength of the constraint on the natural
size of the guide; if not specified, the constraint is assumed to
have a medium strength
"name" describes a name for the guide, useful when debugging
Using the Visual Format Language Complex constraints can be described using a compact syntax called VFL,
or *Visual Format Language*.
The Visual Format Language describes all the constraints on a row or
column, typically starting from the leading edge towards the trailing
one. Each element of the layout is composed by "views", which identify
a GtkConstraintTarget .
For instance:
Describes a constraint that binds the trailing edge of "button" to the
leading edge of "textField", leaving a default space between the two.
Using VFL is also possible to specify predicates that describe constraints
on attributes like width and height:
=50)]
// Width of button1 must be equal to width of button2
[button1(==button2)]
]]>
The default orientation for a VFL description is horizontal, unless
otherwise specified:
=150)]
// vertical orientation, default attribute: height
V:[button1(==button2)]
]]>
It's also possible to specify multiple predicates, as well as their
strength:
=150@required, ==250@medium)]
]]>
Finally, it's also possible to use simple arithmetic operators:
Functions
gtk_constraint_layout_new ()
gtk_constraint_layout_new
GtkLayoutManager *
gtk_constraint_layout_new (void );
Creates a new GtkConstraintLayout layout manager.
Returns
the newly created GtkConstraintLayout
gtk_constraint_layout_add_constraint ()
gtk_constraint_layout_add_constraint
void
gtk_constraint_layout_add_constraint (GtkConstraintLayout *layout ,
GtkConstraint *constraint );
Adds a GtkConstraint to the layout manager.
The “source” and “target”
properties of constraint
can be:
set to NULL to indicate that the constraint refers to the
widget using layout
set to the GtkWidget using layout
set to a child of the GtkWidget using layout
set to a guide that is part of layout
The layout
acquires the ownership of constraint
after calling
this function.
Parameters
layout
a GtkConstraintLayout
constraint
a GtkConstraint .
[transfer full ]
gtk_constraint_layout_remove_constraint ()
gtk_constraint_layout_remove_constraint
void
gtk_constraint_layout_remove_constraint
(GtkConstraintLayout *layout ,
GtkConstraint *constraint );
Removes constraint
from the layout manager,
so that it no longer influences the layout.
Parameters
layout
a GtkConstraintLayout
constraint
a GtkConstraint
gtk_constraint_layout_remove_all_constraints ()
gtk_constraint_layout_remove_all_constraints
void
gtk_constraint_layout_remove_all_constraints
(GtkConstraintLayout *layout );
Removes all constraints from the layout manager.
Parameters
layout
a GtkConstraintLayout
gtk_constraint_layout_add_guide ()
gtk_constraint_layout_add_guide
void
gtk_constraint_layout_add_guide (GtkConstraintLayout *layout ,
GtkConstraintGuide *guide );
Adds a guide to layout
. A guide can be used as
the source or target of constraints, like a widget,
but it is not visible.
The layout
acquires the ownership of guide
after calling
this function.
Parameters
layout
a GtkConstraintLayout
guide
a GtkConstraintGuide object.
[transfer full ]
gtk_constraint_layout_remove_guide ()
gtk_constraint_layout_remove_guide
void
gtk_constraint_layout_remove_guide (GtkConstraintLayout *layout ,
GtkConstraintGuide *guide );
Removes guide
from the layout manager,
so that it no longer influences the layout.
Parameters
layout
a GtkConstraintManager
guide
a GtkConstraintGuide object
gtk_constraint_layout_add_constraints_from_description ()
gtk_constraint_layout_add_constraints_from_description
GList *
gtk_constraint_layout_add_constraints_from_description
(GtkConstraintLayout *layout ,
const char * const lines[] ,
gsize n_lines ,
int hspacing ,
int vspacing ,
GError **error ,
const char *first_view ,
... );
Creates a list of constraints they formal description using a compact
description syntax called VFL, or "Visual Format Language".
This function is a convenience wrapper around
gtk_constraint_layout_add_constraints_from_descriptionv() , using
variadic arguments to populate the view/target map.
Parameters
layout
a GtkConstraintLayout
lines
an array of Visual Format Language lines
defining a set of constraints.
[array length=n_lines]
n_lines
the number of lines
hspacing
default horizontal spacing value, or -1 for the fallback value
vspacing
default vertical spacing value, or -1 for the fallback value
error
return location for a GError
first_view
the name of a view in the VFL description, followed by the
GtkConstraintTarget to which it maps
...
a NULL -terminated list of view names and GtkConstraintTargets
Returns
the list of
GtkConstraints that were added to the layout.
[transfer container ][element-type GtkConstraint]
gtk_constraint_layout_add_constraints_from_descriptionv ()
gtk_constraint_layout_add_constraints_from_descriptionv
GList *
gtk_constraint_layout_add_constraints_from_descriptionv
(GtkConstraintLayout *layout ,
const char * const lines[] ,
gsize n_lines ,
int hspacing ,
int vspacing ,
GHashTable *views ,
GError **error );
Creates a list of constraints from a formal description using a compact
description syntax called VFL, or "Visual Format Language".
The Visual Format Language is based on Apple's AutoLayout VFL .
The views
dictionary is used to match GtkConstraintTargets to the symbolic
view name inside the VFL.
The VFL grammar is:
= ()?
()?
()*
()?
= 'H' | 'V'
= '|'
= '' | '-' '-' | '-'
= |
= |
= '(' (',' )* ')'
= ()? ()? ('@' )?
= '==' | '<=' | '>='
= | | ('.' )?
= | 'required' | 'strong' | 'medium' | 'weak'
=
= ()? ()?
= [ '*' | '/' ]
= [ '+' | '-' ]
= [A-Za-z_]([A-Za-z0-9_]*) // A C identifier
= [A-Za-z_]([A-Za-z0-9_]*) // A C identifier
= 'top' | 'bottom' | 'left' | 'right' | 'width' | 'height' |
'start' | 'end' | 'centerX' | 'centerY' | 'baseline'
// A positive real number parseable by g_ascii_strtod()
// A real number parseable by g_ascii_strtod()
]]>
**Note**: The VFL grammar used by GTK is slightly different than the one
defined by Apple, as it can use symbolic values for the constraint's
strength instead of numeric values; additionally, GTK allows adding
simple arithmetic operations inside predicates.
Examples of VFL descriptions are:
=50)]
// Connection to super view
|-50-[purpleBox]-50-|
// Vertical layout
V:[topField]-10-[bottomField]
// Flush views
[maroonView][blueView]
// Priority
[button(100@strong)]
// Equal widths
[button1(==button2)]
// Multiple predicates
[flexibleButton(>=70,<=100)]
// A complete line of layout
|-[find]-[findNext]-[findField(>=20)]-|
// Operators
[button1(button2 / 3 + 50)]
// Named attributes
[button1(==button2.height)]
]]>
[rename-to gtk_constraint_layout_add_constraints_from_description]
Parameters
layout
a GtkConstraintLayout
lines
an array of Visual Format Language lines
defining a set of constraints.
[array length=n_lines]
n_lines
the number of lines
hspacing
default horizontal spacing value, or -1 for the fallback value
vspacing
default vertical spacing value, or -1 for the fallback value
views
a dictionary of [ name, target ]
pairs; the name keys map to the view names in the VFL lines, while
the target values map to children of the widget using a GtkConstraintLayout , or guides.
[element-type utf8 Gtk.ConstraintTarget]
error
return location for a GError
Returns
the list of
GtkConstraints that were added to the layout.
[transfer container ][element-type GtkConstraint]
gtk_constraint_layout_observe_constraints ()
gtk_constraint_layout_observe_constraints
GListModel *
gtk_constraint_layout_observe_constraints
(GtkConstraintLayout *layout );
Returns a GListModel to track the constraints that are
part of layout
.
Calling this function will enable extra internal bookkeeping
to track constraints and emit signals on the returned listmodel.
It may slow down operations a lot.
Applications should try hard to avoid calling this function
because of the slowdowns.
Parameters
layout
a GtkConstraintLayout
Returns
a GListModel tracking layout
's
constraints.
[transfer full ]
gtk_constraint_layout_observe_guides ()
gtk_constraint_layout_observe_guides
GListModel *
gtk_constraint_layout_observe_guides (GtkConstraintLayout *layout );
Returns a GListModel to track the guides that are
part of layout
.
Calling this function will enable extra internal bookkeeping
to track guides and emit signals on the returned listmodel.
It may slow down operations a lot.
Applications should try hard to avoid calling this function
because of the slowdowns.
Parameters
layout
a GtkConstraintLayout
Returns
a GListModel tracking layout
's
guides.
[transfer full ]
docs/reference/gtk/xml/gtkconstraintguide.xml 0000664 0001750 0001750 00000100007 13617646205 021623 0 ustar mclasen mclasen
]>
GtkConstraintGuide
3
GTK4 Library
GtkConstraintGuide
An invisible constraint target
Functions
GtkConstraintGuide *
gtk_constraint_guide_new ()
void
gtk_constraint_guide_set_name ()
const char *
gtk_constraint_guide_get_name ()
void
gtk_constraint_guide_set_strength ()
GtkConstraintStrength
gtk_constraint_guide_get_strength ()
void
gtk_constraint_guide_set_min_size ()
void
gtk_constraint_guide_get_min_size ()
void
gtk_constraint_guide_set_nat_size ()
void
gtk_constraint_guide_get_nat_size ()
void
gtk_constraint_guide_set_max_size ()
void
gtk_constraint_guide_get_max_size ()
Properties
gint max-heightRead / Write
gint max-widthRead / Write
gint min-heightRead / Write
gint min-widthRead / Write
gchar * nameRead / Write
gint nat-heightRead / Write
gint nat-widthRead / Write
GtkConstraintStrength strengthRead / Write
Types and Values
GtkConstraintGuide
Object Hierarchy
GObject
╰── GtkConstraintGuide
Implemented Interfaces
GtkConstraintGuide implements
GtkConstraintTarget.
Includes #include <gtk/gtk.h>
Description
A GtkConstraintGuide is an invisible layout element that can be
used by widgets inside a GtkConstraintLayout as a source or a target
of a GtkConstraint . Guides can be used like guidelines or as
flexible space.
Unlike a GtkWidget , a GtkConstraintGuide will not be drawn.
Functions
gtk_constraint_guide_new ()
gtk_constraint_guide_new
GtkConstraintGuide *
gtk_constraint_guide_new (void );
Creates a new GtkConstraintGuide object.
Return: a new GtkConstraintGuide object.
gtk_constraint_guide_set_name ()
gtk_constraint_guide_set_name
void
gtk_constraint_guide_set_name (GtkConstraintGuide *guide ,
const char *name );
Sets a name for the given GtkConstraintGuide .
The name is useful for debugging purposes.
Parameters
guide
a GtkConstraintGuide
name
a name for the guide
.
[nullable ]
gtk_constraint_guide_get_name ()
gtk_constraint_guide_get_name
const char *
gtk_constraint_guide_get_name (GtkConstraintGuide *guide );
Retrieves the name set using gtk_constraint_guide_set_name() .
Parameters
guide
a GtkConstraintGuide
Returns
the name of the guide.
[transfer none ][nullable ]
gtk_constraint_guide_set_strength ()
gtk_constraint_guide_set_strength
void
gtk_constraint_guide_set_strength (GtkConstraintGuide *guide ,
GtkConstraintStrength strength );
Sets the strength of the constraint on the natural size of the
given GtkConstraintGuide .
Parameters
guide
a GtkConstraintGuide
strength
the strength of the constraint
gtk_constraint_guide_get_strength ()
gtk_constraint_guide_get_strength
GtkConstraintStrength
gtk_constraint_guide_get_strength (GtkConstraintGuide *guide );
Retrieves the strength set using gtk_constraint_guide_set_strength() .
Parameters
guide
a GtkConstraintGuide
Returns
the strength of the constraint on the natural size
gtk_constraint_guide_set_min_size ()
gtk_constraint_guide_set_min_size
void
gtk_constraint_guide_set_min_size (GtkConstraintGuide *guide ,
int width ,
int height );
Sets the minimum size of guide
.
If guide
is attached to a GtkConstraintLayout ,
the constraints will be updated to reflect the new size.
Parameters
guide
a GtkConstraintGuide object
width
the new minimum width, or -1 to not change it
height
the new minimum height, or -1 to not change it
gtk_constraint_guide_get_min_size ()
gtk_constraint_guide_get_min_size
void
gtk_constraint_guide_get_min_size (GtkConstraintGuide *guide ,
int *width ,
int *height );
Gets the minimum size of guide
.
Parameters
guide
a GtkContraintGuide object
width
return location for the minimum width,
or NULL .
[allow-none ]
height
return location for the minimum height,
or NULL .
[allow-none ]
gtk_constraint_guide_set_nat_size ()
gtk_constraint_guide_set_nat_size
void
gtk_constraint_guide_set_nat_size (GtkConstraintGuide *guide ,
int width ,
int height );
Sets the natural size of guide
.
If guide
is attached to a GtkConstraintLayout ,
the constraints will be updated to reflect the new size.
Parameters
guide
a GtkConstraintGuide object
width
the new natural width, or -1 to not change it
height
the new natural height, or -1 to not change it
gtk_constraint_guide_get_nat_size ()
gtk_constraint_guide_get_nat_size
void
gtk_constraint_guide_get_nat_size (GtkConstraintGuide *guide ,
int *width ,
int *height );
Gets the natural size of guide
.
Parameters
guide
a GtkContraintGuide object
width
return location for the natural width,
or NULL .
[allow-none ]
height
return location for the natural height,
or NULL .
[allow-none ]
gtk_constraint_guide_set_max_size ()
gtk_constraint_guide_set_max_size
void
gtk_constraint_guide_set_max_size (GtkConstraintGuide *guide ,
int width ,
int height );
Sets the maximum size of guide
.
If guide
is attached to a GtkConstraintLayout ,
the constraints will be updated to reflect the new size.
Parameters
guide
a GtkConstraintGuide object
width
the new maximum width, or -1 to not change it
height
the new maximum height, or -1 to not change it
gtk_constraint_guide_get_max_size ()
gtk_constraint_guide_get_max_size
void
gtk_constraint_guide_get_max_size (GtkConstraintGuide *guide ,
int *width ,
int *height );
Gets the maximum size of guide
.
Parameters
guide
a GtkContraintGuide object
width
return location for the maximum width,
or NULL .
[allow-none ]
height
return location for the maximum height,
or NULL .
[allow-none ]
Property Details
The “max-height” property
GtkConstraintGuide:max-height
“max-height” gint
The maximum height of the guide.
Owner: GtkConstraintGuide
Flags: Read / Write
Allowed values: >= 0
Default value: 2147483647
The “max-width” property
GtkConstraintGuide:max-width
“max-width” gint
The maximum width of the guide.
Owner: GtkConstraintGuide
Flags: Read / Write
Allowed values: >= 0
Default value: 2147483647
The “min-height” property
GtkConstraintGuide:min-height
“min-height” gint
The minimum height of the guide.
Owner: GtkConstraintGuide
Flags: Read / Write
Allowed values: >= 0
Default value: 0
The “min-width” property
GtkConstraintGuide:min-width
“min-width” gint
The minimum width of the guide.
Owner: GtkConstraintGuide
Flags: Read / Write
Allowed values: >= 0
Default value: 0
The “name” property
GtkConstraintGuide:name
“name” gchar *
A name that identifies the GtkConstraintGuide , for debugging.
Owner: GtkConstraintGuide
Flags: Read / Write
Default value: NULL
The “nat-height” property
GtkConstraintGuide:nat-height
“nat-height” gint
The preferred, or natural, height of the guide.
Owner: GtkConstraintGuide
Flags: Read / Write
Allowed values: >= 0
Default value: 0
The “nat-width” property
GtkConstraintGuide:nat-width
“nat-width” gint
The preferred, or natural, width of the guide.
Owner: GtkConstraintGuide
Flags: Read / Write
Allowed values: >= 0
Default value: 0
The “strength” property
GtkConstraintGuide:strength
“strength” GtkConstraintStrength
The GtkConstraintStrength to be used for the constraint on
the natural size of the guide.
Owner: GtkConstraintGuide
Flags: Read / Write
Default value: GTK_CONSTRAINT_STRENGTH_MEDIUM
docs/reference/gtk/xml/api-index-deprecated.xml 0000664 0001750 0001750 00000000610 13617646206 021667 0 ustar mclasen mclasen
]>
docs/reference/gtk/xml/api-index-3.24.xml 0000664 0001750 0001750 00000001254 13617646206 020162 0 ustar mclasen mclasen
]>
A
GtkApplication:screensaver-active, object property in GtkApplication
docs/reference/gtk/xml/annotation-glossary.xml 0000664 0001750 0001750 00000013420 13617646206 021731 0 ustar mclasen mclasen
]>
Annotation Glossary
A
allow-none
NULL is OK, both for passing and for returning.
array
Parameter points to an array of items.
C
closure
This parameter is a 'user_data', for callbacks; many bindings can pass NULL here.
constructor
This symbol is a constructor, not a static method.
E
element-type
Generics and defining elements of containers and arrays.
I
in
Parameter for input. Default is transfer none .
inout
Parameter for input and for returning results. Default is transfer full .
M
method
This is a method
N
not nullable
NULL must not be passed as the value in, out, in-out; or as a return value.
nullable
NULL may be passed as the value in, out, in-out; or as a return value.
O
optional
NULL may be passed instead of a pointer to a location.
out
Parameter for returning results. Default is transfer full .
out caller-allocates
Out parameter, where caller must allocate storage.
R
rename-to
Rename the original symbol's name to SYMBOL.
S
scope async
The callback is valid until first called.
scope call
The callback is valid only during the call to the method.
skip
Exposed in C code, not necessarily available in other languages.
T
transfer container
Free data container after the code is done.
transfer full
Free data after the code is done.
transfer none
Don't free data after the code is done.
type
Override the parsed C type with given type.
V
virtual
This is the invoker for a virtual method.
docs/reference/gtk/sgml.stamp 0000664 0001750 0001750 00000000011 13620320501 016351 0 ustar mclasen mclasen timestamp docs/reference/gtk/html.stamp 0000664 0001750 0001750 00000000011 13620320636 016364 0 ustar mclasen mclasen timestamp docs/reference/gtk/gtk4.interfaces 0000664 0001750 0001750 00000026217 13617647312 017321 0 ustar mclasen mclasen GtkWidget AtkImplementorIface GtkBuildable GtkConstraintTarget
GtkContainer AtkImplementorIface GtkBuildable GtkConstraintTarget
GtkBin AtkImplementorIface GtkBuildable GtkConstraintTarget
GtkWindow AtkImplementorIface GtkBuildable GtkConstraintTarget GtkNative GtkRoot
GtkDialog AtkImplementorIface GtkBuildable GtkConstraintTarget GtkNative GtkRoot
GtkAboutDialog AtkImplementorIface GtkBuildable GtkConstraintTarget GtkNative GtkRoot
GtkAppChooserDialog AtkImplementorIface GtkBuildable GtkConstraintTarget GtkNative GtkRoot GtkAppChooser
GtkColorChooserDialog AtkImplementorIface GtkBuildable GtkConstraintTarget GtkNative GtkRoot GtkColorChooser
GtkFileChooserDialog AtkImplementorIface GtkBuildable GtkConstraintTarget GtkNative GtkRoot GtkFileChooser
GtkFontChooserDialog AtkImplementorIface GtkBuildable GtkConstraintTarget GtkNative GtkRoot GtkFontChooser
GtkMessageDialog AtkImplementorIface GtkBuildable GtkConstraintTarget GtkNative GtkRoot
GtkPageSetupUnixDialog AtkImplementorIface GtkBuildable GtkConstraintTarget GtkNative GtkRoot
GtkPrintUnixDialog AtkImplementorIface GtkBuildable GtkConstraintTarget GtkNative GtkRoot
GtkApplicationWindow AtkImplementorIface GtkBuildable GtkConstraintTarget GtkNative GtkRoot GActionGroup GActionMap
GtkAssistant AtkImplementorIface GtkBuildable GtkConstraintTarget GtkNative GtkRoot
GtkShortcutsWindow AtkImplementorIface GtkBuildable GtkConstraintTarget GtkNative GtkRoot
GtkFrame AtkImplementorIface GtkBuildable GtkConstraintTarget
GtkAspectFrame AtkImplementorIface GtkBuildable GtkConstraintTarget
GtkButton AtkImplementorIface GtkBuildable GtkConstraintTarget GtkActionable
GtkToggleButton AtkImplementorIface GtkBuildable GtkConstraintTarget GtkActionable
GtkCheckButton AtkImplementorIface GtkBuildable GtkConstraintTarget GtkActionable
GtkRadioButton AtkImplementorIface GtkBuildable GtkConstraintTarget GtkActionable
GtkLinkButton AtkImplementorIface GtkBuildable GtkConstraintTarget GtkActionable
GtkLockButton AtkImplementorIface GtkBuildable GtkConstraintTarget GtkActionable
GtkScaleButton AtkImplementorIface GtkBuildable GtkConstraintTarget GtkActionable GtkOrientable
GtkVolumeButton AtkImplementorIface GtkBuildable GtkConstraintTarget GtkActionable GtkOrientable
GtkComboBox AtkImplementorIface GtkBuildable GtkConstraintTarget GtkCellLayout GtkCellEditable
GtkComboBoxText AtkImplementorIface GtkBuildable GtkConstraintTarget GtkCellLayout GtkCellEditable
GtkPopover AtkImplementorIface GtkBuildable GtkConstraintTarget GtkNative
GtkEmojiChooser AtkImplementorIface GtkBuildable GtkConstraintTarget GtkNative
GtkPopoverMenu AtkImplementorIface GtkBuildable GtkConstraintTarget GtkNative
GtkFlowBoxChild AtkImplementorIface GtkBuildable GtkConstraintTarget
GtkListBoxRow AtkImplementorIface GtkBuildable GtkConstraintTarget GtkActionable
GtkOverlay AtkImplementorIface GtkBuildable GtkConstraintTarget
GtkRevealer AtkImplementorIface GtkBuildable GtkConstraintTarget
GtkScrolledWindow AtkImplementorIface GtkBuildable GtkConstraintTarget
GtkSearchBar AtkImplementorIface GtkBuildable GtkConstraintTarget
GtkViewport AtkImplementorIface GtkBuildable GtkConstraintTarget GtkScrollable
GtkActionBar AtkImplementorIface GtkBuildable GtkConstraintTarget
GtkBox AtkImplementorIface GtkBuildable GtkConstraintTarget GtkOrientable
GtkShortcutsSection AtkImplementorIface GtkBuildable GtkConstraintTarget GtkOrientable
GtkShortcutsGroup AtkImplementorIface GtkBuildable GtkConstraintTarget GtkOrientable
GtkDragIcon AtkImplementorIface GtkBuildable GtkConstraintTarget GtkNative GtkRoot
GtkExpander AtkImplementorIface GtkBuildable GtkConstraintTarget
GtkFixed AtkImplementorIface GtkBuildable GtkConstraintTarget
GtkFlowBox AtkImplementorIface GtkBuildable GtkConstraintTarget GtkOrientable
GtkGrid AtkImplementorIface GtkBuildable GtkConstraintTarget GtkOrientable
GtkHeaderBar AtkImplementorIface GtkBuildable GtkConstraintTarget
GtkIconView AtkImplementorIface GtkBuildable GtkConstraintTarget GtkCellLayout GtkScrollable
GtkInfoBar AtkImplementorIface GtkBuildable GtkConstraintTarget
GtkListBox AtkImplementorIface GtkBuildable GtkConstraintTarget
GtkNotebook AtkImplementorIface GtkBuildable GtkConstraintTarget
GtkPaned AtkImplementorIface GtkBuildable GtkConstraintTarget GtkOrientable
GtkStack AtkImplementorIface GtkBuildable GtkConstraintTarget
GtkTextView AtkImplementorIface GtkBuildable GtkConstraintTarget GtkScrollable
GtkTreeView AtkImplementorIface GtkBuildable GtkConstraintTarget GtkScrollable
GtkAccelLabel AtkImplementorIface GtkBuildable GtkConstraintTarget
GtkAppChooserButton AtkImplementorIface GtkBuildable GtkConstraintTarget GtkAppChooser
GtkAppChooserWidget AtkImplementorIface GtkBuildable GtkConstraintTarget GtkAppChooser
GtkCalendar AtkImplementorIface GtkBuildable GtkConstraintTarget
GtkCellView AtkImplementorIface GtkBuildable GtkConstraintTarget GtkCellLayout GtkOrientable
GtkColorButton AtkImplementorIface GtkBuildable GtkConstraintTarget GtkColorChooser
GtkColorChooserWidget AtkImplementorIface GtkBuildable GtkConstraintTarget GtkColorChooser
GtkDrawingArea AtkImplementorIface GtkBuildable GtkConstraintTarget
GtkEntry AtkImplementorIface GtkBuildable GtkConstraintTarget GtkEditable GtkCellEditable
GtkFileChooserButton AtkImplementorIface GtkBuildable GtkConstraintTarget GtkFileChooser
GtkFileChooserWidget AtkImplementorIface GtkBuildable GtkConstraintTarget GtkFileChooser GtkFileChooserEmbed
GtkFontButton AtkImplementorIface GtkBuildable GtkConstraintTarget GtkFontChooser
GtkFontChooserWidget AtkImplementorIface GtkBuildable GtkConstraintTarget GtkFontChooser
GtkGLArea AtkImplementorIface GtkBuildable GtkConstraintTarget
GtkImage AtkImplementorIface GtkBuildable GtkConstraintTarget
GtkLabel AtkImplementorIface GtkBuildable GtkConstraintTarget
GtkMediaControls AtkImplementorIface GtkBuildable GtkConstraintTarget
GtkMenuButton AtkImplementorIface GtkBuildable GtkConstraintTarget
GtkPasswordEntry AtkImplementorIface GtkBuildable GtkConstraintTarget GtkEditable
GtkPicture AtkImplementorIface GtkBuildable GtkConstraintTarget
GtkPopoverMenuBar AtkImplementorIface GtkBuildable GtkConstraintTarget
GtkProgressBar AtkImplementorIface GtkBuildable GtkConstraintTarget GtkOrientable
GtkRange AtkImplementorIface GtkBuildable GtkConstraintTarget GtkOrientable
GtkScale AtkImplementorIface GtkBuildable GtkConstraintTarget GtkOrientable
GtkScrollbar AtkImplementorIface GtkBuildable GtkConstraintTarget GtkOrientable
GtkSearchEntry AtkImplementorIface GtkBuildable GtkConstraintTarget GtkEditable
GtkSeparator AtkImplementorIface GtkBuildable GtkConstraintTarget GtkOrientable
GtkShortcutLabel AtkImplementorIface GtkBuildable GtkConstraintTarget
GtkShortcutsShortcut AtkImplementorIface GtkBuildable GtkConstraintTarget
GtkSpinButton AtkImplementorIface GtkBuildable GtkConstraintTarget GtkOrientable GtkEditable GtkCellEditable
GtkSpinner AtkImplementorIface GtkBuildable GtkConstraintTarget
GtkStackSidebar AtkImplementorIface GtkBuildable GtkConstraintTarget
GtkStackSwitcher AtkImplementorIface GtkBuildable GtkConstraintTarget
GtkStatusbar AtkImplementorIface GtkBuildable GtkConstraintTarget
GtkSwitch AtkImplementorIface GtkBuildable GtkConstraintTarget GtkActionable
GtkLevelBar AtkImplementorIface GtkBuildable GtkConstraintTarget GtkOrientable
GtkText AtkImplementorIface GtkBuildable GtkConstraintTarget GtkEditable
GtkVideo AtkImplementorIface GtkBuildable GtkConstraintTarget
GtkCellArea GtkCellLayout GtkBuildable
GtkCellAreaBox GtkCellLayout GtkBuildable GtkOrientable
GtkCellRendererProgress GtkOrientable
GtkFileFilter GtkBuildable
GtkTreeViewColumn GtkCellLayout GtkBuildable
GtkWidgetAccessible AtkComponent
GtkContainerAccessible AtkComponent
GtkWindowAccessible AtkComponent AtkWindow
GtkAssistantAccessible AtkComponent AtkWindow
GtkFrameAccessible AtkComponent
GtkButtonAccessible AtkComponent AtkAction AtkImage
GtkToggleButtonAccessible AtkComponent AtkAction AtkImage
GtkRadioButtonAccessible AtkComponent AtkAction AtkImage
GtkLinkButtonAccessible AtkComponent AtkAction AtkImage AtkHyperlinkImpl
GtkLockButtonAccessible AtkComponent AtkAction AtkImage
GtkScaleButtonAccessible AtkComponent AtkAction AtkImage AtkValue
GtkComboBoxAccessible AtkComponent AtkAction AtkSelection
GtkExpanderAccessible AtkComponent AtkAction
GtkFlowBoxAccessible AtkComponent AtkSelection
GtkIconViewAccessible AtkComponent AtkSelection
GtkListBoxAccessible AtkComponent AtkSelection
GtkListBoxRowAccessible AtkComponent
GtkNotebookAccessible AtkComponent AtkSelection
GtkPanedAccessible AtkComponent AtkValue
GtkScrolledWindowAccessible AtkComponent
GtkStackAccessible AtkComponent
GtkTextViewAccessible AtkComponent AtkEditableText AtkText
GtkTreeViewAccessible AtkComponent AtkTable AtkSelection GtkCellAccessibleParent
GtkCompositeAccessible AtkComponent
GtkEntryAccessible AtkComponent AtkEditableText AtkText AtkAction
GtkImageAccessible AtkComponent AtkImage
GtkLabelAccessible AtkComponent AtkText AtkHypertext
GtkMenuButtonAccessible AtkComponent
GtkPictureAccessible AtkComponent AtkImage
GtkProgressBarAccessible AtkComponent AtkValue
GtkRangeAccessible AtkComponent AtkValue
GtkScaleAccessible AtkComponent AtkValue
GtkSpinButtonAccessible AtkComponent AtkValue
GtkSpinnerAccessible AtkComponent AtkImage
GtkStatusbarAccessible AtkComponent
GtkSwitchAccessible AtkComponent AtkAction
GtkLevelBarAccessible AtkComponent AtkValue
GtkTextAccessible AtkComponent AtkEditableText AtkText AtkAction
GtkCellAccessible AtkAction AtkComponent AtkTableCell
GtkRendererCellAccessible AtkAction AtkComponent AtkTableCell
GtkTextCellAccessible AtkAction AtkComponent AtkTableCell AtkText
GtkImageCellAccessible AtkAction AtkComponent AtkTableCell AtkImage
GtkBooleanCellAccessible AtkAction AtkComponent AtkTableCell
GApplication GActionGroup GActionMap
GtkApplication GActionGroup GActionMap
GtkBoxLayout GtkOrientable
GtkConstraintLayout GtkBuildable
GtkBuilderCScope GtkBuilderScope
GtkConstraintGuide GtkConstraintTarget
GtkCssProvider GtkStyleProvider
GtkEntryCompletion GtkCellLayout GtkBuildable
GtkFilterListModel GListModel
GtkFlattenListModel GListModel
GtkListStore GtkTreeModel GtkTreeDragSource GtkTreeDragDest GtkTreeSortable GtkBuildable
GtkMapListModel GListModel
GtkMediaStream GdkPaintable
GtkMediaFile GdkPaintable
GtkNoSelection GListModel GtkSelectionModel
GtkPrintOperation GtkPrintOperationPreview
GtkSettings GtkStyleProvider
GtkSingleSelection GListModel GtkSelectionModel
GtkSizeGroup GtkBuildable
GtkSliceListModel GListModel
GtkSortListModel GListModel
GtkTextTagTable GtkBuildable
GtkTreeListModel GListModel
GtkTreeModelFilter GtkTreeModel GtkTreeDragSource
GtkTreeModelSort GtkTreeModel GtkTreeSortable GtkTreeDragSource
GtkTreeStore GtkTreeModel GtkTreeDragSource GtkTreeDragDest GtkTreeSortable GtkBuildable
GListStore GListModel
GdkPixbuf GIcon GLoadableIcon
GdkTexture GdkPaintable
GThemedIcon GIcon
GMemoryInputStream GSeekable GPollableInputStream
GBufferedInputStream GSeekable
GDataInputStream GSeekable
GSocketInputStream GPollableInputStream GFileDescriptorBased
GTask GAsyncResult
GDBusConnection GInitable GAsyncInitable
GDBusProxy GDBusInterface GInitable GAsyncInitable
GSocketAddress GSocketConnectable
GUnixSocketAddress GSocketConnectable
GInetSocketAddress GSocketConnectable
GProxyAddress GSocketConnectable
GSocket GInitable GDatagramBased
GDataOutputStream GSeekable
GSocketOutputStream GPollableOutputStream GFileDescriptorBased
docs/reference/gtk/gtk4.prerequisites 0000664 0001750 0001750 00000001777 13617647312 020106 0 ustar mclasen mclasen GtkBuildable GObject
GtkConstraintTarget GObject
GtkNative GtkWidget
GtkRoot GtkNative GtkWidget
GtkActionable GtkWidget
GtkAppChooser GtkWidget
GActionGroup GObject
GActionMap GObject
GtkOrientable GObject
GtkBuilderScope GObject
GtkCellLayout GObject
GtkCellEditable GtkWidget
GtkColorChooser GObject
GtkStyleProvider GObject
GtkEditable GtkWidget
GtkFileChooser GObject
GtkFileChooserEmbed GtkWidget
GListModel GObject
GtkFontChooser GObject
GtkScrollable GObject
GtkTreeModel GObject
GtkTreeSortable GtkTreeModel GObject
GdkPaintable GObject
GtkSelectionModel GListModel GObject
GtkPrintOperationPreview GObject
AtkWindow AtkObject
GFile GObject
GAppInfo GObject
AtkTableCell AtkObject
GIcon GObject
GLoadableIcon GIcon GObject
GAction GObject
GAsyncResult GObject
GSeekable GObject
GPollableInputStream GInputStream
GInitable GObject
GAsyncInitable GObject
GDBusInterface GObject
GSocketConnectable GObject
GDatagramBased GObject
GProxyResolver GObject
GFileDescriptorBased GObject
GPollableOutputStream GOutputStream
docs/reference/gtk/gtk4-decl-list.txt 0000664 0001750 0001750 00000630453 13620320471 017662 0 ustar mclasen mclasen
action-editor
gtk_inspector_action_editor_new
gtk_inspector_action_editor_update
GtkInspectorActionEditorPrivate
GTK_INSPECTOR_ACTION_EDITOR_CLASS
GTK_INSPECTOR_ACTION_EDITOR_GET_CLASS
GTK_INSPECTOR_IS_ACTION_EDITOR
GTK_INSPECTOR_IS_ACTION_EDITOR_CLASS
GTK_TYPE_INSPECTOR_ACTION_EDITOR
gtk_inspector_action_editor_get_type
actions
gtk_inspector_actions_set_object
GtkInspectorActionsPrivate
GTK_INSPECTOR_ACTIONS_CLASS
GTK_INSPECTOR_ACTIONS_GET_CLASS
GTK_INSPECTOR_IS_ACTIONS
GTK_INSPECTOR_IS_ACTIONS_CLASS
GTK_TYPE_INSPECTOR_ACTIONS
gtk_inspector_actions_get_type
baselineoverlay
GTK_TYPE_BASELINE_OVERLAY
gtk_baseline_overlay_new
GtkBaselineOverlay
cellrenderergraph
GtkCellRendererGraph
gtk_cell_renderer_graph_new
GTK_CELL_RENDERER_GRAPH
GTK_CELL_RENDERER_GRAPH_CLASS
GTK_CELL_RENDERER_GRAPH_GET_CLASS
GTK_IS_CELL_RENDERER_GRAPH
GTK_IS_CELL_RENDERER_GRAPH_CLASS
GTK_TYPE_CELL_RENDERER_GRAPH
GtkCellRendererGraph
GtkCellRendererGraphClass
GtkCellRendererGraphPrivate
gtk_cell_renderer_graph_get_type
controllers
gtk_inspector_controllers_set_object
GTK_INSPECTOR_CONTROLLERS
GTK_INSPECTOR_CONTROLLERS_CLASS
GTK_INSPECTOR_CONTROLLERS_GET_CLASS
GTK_INSPECTOR_IS_GESTURES
GTK_INSPECTOR_IS_GESTURES_CLASS
GTK_TYPE_INSPECTOR_CONTROLLERS
GtkInspectorControllersPrivate
gtk_inspector_controllers_get_type
css-editor
gtk_inspector_css_editor_set_display
GtkInspectorCssEditorPrivate
GTK_INSPECTOR_CSS_EDITOR_CLASS
GTK_INSPECTOR_CSS_EDITOR_GET_CLASS
GTK_INSPECTOR_IS_CSS_EDITOR
GTK_INSPECTOR_IS_CSS_EDITOR_CLASS
GTK_TYPE_INSPECTOR_CSS_EDITOR
gtk_inspector_css_editor_get_type
css-node-tree
gtk_inspector_css_node_tree_set_object
gtk_inspector_css_node_tree_get_node
gtk_inspector_css_node_tree_set_display
GtkInspectorCssNodeTreePrivate
GTK_INSPECTOR_CSS_NODE_TREE_CLASS
GTK_INSPECTOR_CSS_NODE_TREE_GET_CLASS
GTK_INSPECTOR_IS_CSS_NODE_TREE
GTK_INSPECTOR_IS_CSS_NODE_TREE_CLASS
GTK_TYPE_INSPECTOR_CSS_NODE_TREE
gtk_inspector_css_node_tree_get_type
data-list
gtk_inspector_data_list_set_object
GtkInspectorDataListPrivate
GTK_INSPECTOR_DATA_LIST_CLASS
GTK_INSPECTOR_DATA_LIST_GET_CLASS
GTK_INSPECTOR_IS_DATA_LIST
GTK_INSPECTOR_IS_DATA_LIST_CLASS
GTK_TYPE_INSPECTOR_DATA_LIST
gtk_inspector_data_list_get_type
focusoverlay
GTK_TYPE_FOCUS_OVERLAY
gtk_focus_overlay_new
gtk_focus_overlay_set_color
GtkFocusOverlay
fpsoverlay
GTK_TYPE_FPS_OVERLAY
gtk_fps_overlay_new
GtkFpsOverlay
general
gtk_inspector_general_set_display
GtkInspectorGeneralPrivate
GTK_INSPECTOR_GENERAL_CLASS
GTK_INSPECTOR_GENERAL_GET_CLASS
GTK_INSPECTOR_IS_GENERAL
GTK_INSPECTOR_IS_GENERAL_CLASS
GTK_TYPE_INSPECTOR_GENERAL
gtk_inspector_general_get_type
graphdata
GtkGraphData
gtk_graph_data_new
gtk_graph_data_get_n_values
gtk_graph_data_get_value
gtk_graph_data_get_minimum
gtk_graph_data_get_maximum
gtk_graph_data_prepend_value
GTK_GRAPH_DATA
GTK_GRAPH_DATA_CLASS
GTK_GRAPH_DATA_GET_CLASS
GTK_IS_GRAPH_DATA
GTK_IS_GRAPH_DATA_CLASS
GTK_TYPE_GRAPH_DATA
GtkGraphData
GtkGraphDataClass
GtkGraphDataPrivate
gtk_graph_data_get_type
gsettings-mapping
g_settings_set_mapping
g_settings_get_mapping
g_settings_mapping_is_compatible
gskpango
GskPangoRenderer
GskPangoRendererState
GskPangoShapeHandler
gsk_pango_renderer_set_state
gsk_pango_renderer_set_shape_handler
gsk_pango_renderer_acquire
gsk_pango_renderer_release
GSK_IS_PANGO_RENDERER
GSK_IS_PANGO_RENDERER_CLASS
GSK_PANGO_RENDERER
GSK_PANGO_RENDERER_CLASS
GSK_PANGO_RENDERER_GET_CLASS
GSK_TYPE_PANGO_RENDERER
GskPangoRenderer
GskPangoRendererClass
gsk_pango_renderer_get_type
gtkaboutdialog
GtkLicense
gtk_about_dialog_new
gtk_show_about_dialog
gtk_about_dialog_get_program_name
gtk_about_dialog_set_program_name
gtk_about_dialog_get_version
gtk_about_dialog_set_version
gtk_about_dialog_get_copyright
gtk_about_dialog_set_copyright
gtk_about_dialog_get_comments
gtk_about_dialog_set_comments
gtk_about_dialog_get_license
gtk_about_dialog_set_license
gtk_about_dialog_set_license_type
gtk_about_dialog_get_license_type
gtk_about_dialog_get_wrap_license
gtk_about_dialog_set_wrap_license
gtk_about_dialog_get_system_information
gtk_about_dialog_set_system_information
gtk_about_dialog_get_website
gtk_about_dialog_set_website
gtk_about_dialog_get_website_label
gtk_about_dialog_set_website_label
gtk_about_dialog_get_authors
gtk_about_dialog_set_authors
gtk_about_dialog_get_documenters
gtk_about_dialog_set_documenters
gtk_about_dialog_get_artists
gtk_about_dialog_set_artists
gtk_about_dialog_get_translator_credits
gtk_about_dialog_set_translator_credits
gtk_about_dialog_get_logo
gtk_about_dialog_set_logo
gtk_about_dialog_get_logo_icon_name
gtk_about_dialog_set_logo_icon_name
gtk_about_dialog_add_credit_section
GTK_ABOUT_DIALOG
GTK_IS_ABOUT_DIALOG
GTK_TYPE_ABOUT_DIALOG
GtkAboutDialog
gtk_about_dialog_get_type
gtkaccelgroup
GtkAccelGroup
GtkAccelFlags
GtkAccelGroupActivate
GtkAccelGroupFindFunc
GtkAccelGroup
GtkAccelGroupClass
GtkAccelKey
gtk_accel_group_new
gtk_accel_group_get_is_locked
gtk_accel_group_get_modifier_mask
gtk_accel_group_lock
gtk_accel_group_unlock
gtk_accel_group_connect
gtk_accel_group_connect_by_path
gtk_accel_group_disconnect
gtk_accel_group_disconnect_key
gtk_accel_group_activate
gtk_accel_groups_activate
gtk_accel_groups_from_object
gtk_accel_group_find
gtk_accel_group_from_accel_closure
gtk_accelerator_valid
gtk_accelerator_parse
gtk_accelerator_parse_with_keycode
gtk_accelerator_name
gtk_accelerator_name_with_keycode
gtk_accelerator_get_label
gtk_accelerator_get_label_with_keycode
gtk_accelerator_set_default_mod_mask
gtk_accelerator_get_default_mod_mask
gtk_accel_group_query
GtkAccelGroupEntry
GTK_ACCEL_GROUP
GTK_ACCEL_GROUP_CLASS
GTK_ACCEL_GROUP_GET_CLASS
GTK_IS_ACCEL_GROUP
GTK_IS_ACCEL_GROUP_CLASS
GTK_TYPE_ACCEL_GROUP
GtkAccelGroupPrivate
gtk_accel_group_get_type
gtkaccellabel
gtk_accel_label_new
gtk_accel_label_get_accel_widget
gtk_accel_label_get_accel_width
gtk_accel_label_set_accel_widget
gtk_accel_label_set_accel_closure
gtk_accel_label_get_accel_closure
gtk_accel_label_refetch
gtk_accel_label_set_accel
gtk_accel_label_get_accel
gtk_accel_label_set_label
gtk_accel_label_get_label
gtk_accel_label_set_use_underline
gtk_accel_label_get_use_underline
GTK_ACCEL_LABEL
GTK_IS_ACCEL_LABEL
GTK_TYPE_ACCEL_LABEL
GtkAccelLabel
gtk_accel_label_get_type
gtkaccellabelprivate
GtkAccelLabel
GTK_ACCEL_LABEL_GET_CLASS
GtkAccelLabelClass
gtkaccelmap
GtkAccelMap
GtkAccelMapForeach
gtk_accel_map_add_entry
gtk_accel_map_lookup_entry
gtk_accel_map_change_entry
gtk_accel_map_load
gtk_accel_map_save
gtk_accel_map_foreach
gtk_accel_map_load_fd
gtk_accel_map_load_scanner
gtk_accel_map_save_fd
gtk_accel_map_lock_path
gtk_accel_map_unlock_path
gtk_accel_map_add_filter
gtk_accel_map_foreach_unfiltered
gtk_accel_map_get
GTK_ACCEL_MAP
GTK_ACCEL_MAP_CLASS
GTK_ACCEL_MAP_GET_CLASS
GTK_IS_ACCEL_MAP
GTK_IS_ACCEL_MAP_CLASS
GTK_TYPE_ACCEL_MAP
GtkAccelMap
GtkAccelMapClass
gtk_accel_map_get_type
gtkaccessible
GtkAccessible
gtk_accessible_set_widget
gtk_accessible_get_widget
GTK_ACCESSIBLE
GTK_ACCESSIBLE_CLASS
GTK_ACCESSIBLE_GET_CLASS
GTK_IS_ACCESSIBLE
GTK_IS_ACCESSIBLE_CLASS
GTK_TYPE_ACCESSIBLE
GtkAccessible
GtkAccessibleClass
GtkAccessiblePrivate
gtk_accessible_get_type
gtkactionable
GtkActionable
gtk_actionable_get_action_name
gtk_actionable_set_action_name
gtk_actionable_get_action_target_value
gtk_actionable_set_action_target_value
gtk_actionable_set_action_target
gtk_actionable_set_detailed_action_name
GTK_ACTIONABLE
GTK_ACTIONABLE_GET_IFACE
GTK_IS_ACTIONABLE
GTK_TYPE_ACTIONABLE
GtkActionable
GtkActionableInterface
gtk_actionable_get_type
gtkactionbar
gtk_action_bar_new
gtk_action_bar_get_center_widget
gtk_action_bar_set_center_widget
gtk_action_bar_pack_start
gtk_action_bar_pack_end
gtk_action_bar_set_revealed
gtk_action_bar_get_revealed
GTK_ACTION_BAR
GTK_IS_ACTION_BAR
GTK_TYPE_ACTION_BAR
GtkActionBar
gtk_action_bar_get_type
gtkactionobservableprivate
GtkActionObservable
gtk_action_observable_register_observer
gtk_action_observable_unregister_observer
GTK_ACTION_OBSERVABLE
GTK_ACTION_OBSERVABLE_GET_IFACE
GTK_IS_ACTION_OBSERVABLE
GTK_TYPE_ACTION_OBSERVABLE
GtkActionObservableInterface
gtk_action_observable_get_type
gtkactionobserverprivate
GtkActionObserver
gtk_action_observer_action_added
gtk_action_observer_action_enabled_changed
gtk_action_observer_action_state_changed
gtk_action_observer_action_removed
gtk_action_observer_primary_accel_changed
GtkActionObservable
GTK_ACTION_OBSERVER
GTK_ACTION_OBSERVER_GET_IFACE
GTK_IS_ACTION_OBSERVER
GTK_TYPE_ACTION_OBSERVER
GtkActionObserver
GtkActionObserverInterface
gtk_action_observer_get_type
gtkadjustment
GtkAdjustment
GtkAdjustment
gtk_adjustment_new
gtk_adjustment_clamp_page
gtk_adjustment_get_value
gtk_adjustment_set_value
gtk_adjustment_get_lower
gtk_adjustment_set_lower
gtk_adjustment_get_upper
gtk_adjustment_set_upper
gtk_adjustment_get_step_increment
gtk_adjustment_set_step_increment
gtk_adjustment_get_page_increment
gtk_adjustment_set_page_increment
gtk_adjustment_get_page_size
gtk_adjustment_set_page_size
gtk_adjustment_configure
gtk_adjustment_get_minimum_increment
GTK_ADJUSTMENT
GTK_ADJUSTMENT_CLASS
GTK_ADJUSTMENT_GET_CLASS
GTK_IS_ADJUSTMENT
GTK_IS_ADJUSTMENT_CLASS
GTK_TYPE_ADJUSTMENT
GtkAdjustmentClass
gtk_adjustment_get_type
gtkappchooser
gtk_app_chooser_get_app_info
gtk_app_chooser_get_content_type
gtk_app_chooser_refresh
GTK_APP_CHOOSER
GTK_IS_APP_CHOOSER
GTK_TYPE_APP_CHOOSER
GtkAppChooser
gtk_app_chooser_get_type
gtkappchooserbutton
gtk_app_chooser_button_new
gtk_app_chooser_button_append_separator
gtk_app_chooser_button_append_custom_item
gtk_app_chooser_button_set_active_custom_item
gtk_app_chooser_button_set_show_dialog_item
gtk_app_chooser_button_get_show_dialog_item
gtk_app_chooser_button_set_heading
gtk_app_chooser_button_get_heading
gtk_app_chooser_button_set_show_default_item
gtk_app_chooser_button_get_show_default_item
GTK_APP_CHOOSER_BUTTON
GTK_IS_APP_CHOOSER_BUTTON
GTK_TYPE_APP_CHOOSER_BUTTON
GtkAppChooserButton
gtk_app_chooser_button_get_type
gtkappchooserdialog
gtk_app_chooser_dialog_new
gtk_app_chooser_dialog_new_for_content_type
gtk_app_chooser_dialog_get_widget
gtk_app_chooser_dialog_set_heading
gtk_app_chooser_dialog_get_heading
GTK_APP_CHOOSER_DIALOG
GTK_IS_APP_CHOOSER_DIALOG
GTK_TYPE_APP_CHOOSER_DIALOG
GtkAppChooserDialog
gtk_app_chooser_dialog_get_type
gtkappchooserwidget
gtk_app_chooser_widget_new
gtk_app_chooser_widget_set_show_default
gtk_app_chooser_widget_get_show_default
gtk_app_chooser_widget_set_show_recommended
gtk_app_chooser_widget_get_show_recommended
gtk_app_chooser_widget_set_show_fallback
gtk_app_chooser_widget_get_show_fallback
gtk_app_chooser_widget_set_show_other
gtk_app_chooser_widget_get_show_other
gtk_app_chooser_widget_set_show_all
gtk_app_chooser_widget_get_show_all
gtk_app_chooser_widget_set_default_text
gtk_app_chooser_widget_get_default_text
GTK_APP_CHOOSER_WIDGET
GTK_IS_APP_CHOOSER_WIDGET
GTK_TYPE_APP_CHOOSER_WIDGET
GtkAppChooserWidget
gtk_app_chooser_widget_get_type
gtkapplication
GtkApplication
GtkApplicationClass
gtk_application_new
gtk_application_add_window
gtk_application_remove_window
gtk_application_get_windows
gtk_application_get_app_menu
gtk_application_set_app_menu
gtk_application_get_menubar
gtk_application_set_menubar
GtkApplicationInhibitFlags
gtk_application_inhibit
gtk_application_uninhibit
gtk_application_get_window_by_id
gtk_application_get_active_window
gtk_application_list_action_descriptions
gtk_application_get_accels_for_action
gtk_application_get_actions_for_accel
gtk_application_set_accels_for_action
gtk_application_prefers_app_menu
gtk_application_get_menu_by_id
GTK_APPLICATION
GTK_APPLICATION_CLASS
GTK_APPLICATION_GET_CLASS
GTK_IS_APPLICATION
GTK_IS_APPLICATION_CLASS
GTK_TYPE_APPLICATION
GtkApplication
gtk_application_get_type
gtkapplicationwindow
GtkApplicationWindow
GtkApplicationWindowClass
gtk_application_window_new
gtk_application_window_set_show_menubar
gtk_application_window_get_show_menubar
gtk_application_window_get_id
gtk_application_window_set_help_overlay
gtk_application_window_get_help_overlay
GTK_APPLICATION_WINDOW
GTK_APPLICATION_WINDOW_CLASS
GTK_APPLICATION_WINDOW_GET_CLASS
GTK_IS_APPLICATION_WINDOW
GTK_IS_APPLICATION_WINDOW_CLASS
GTK_TYPE_APPLICATION_WINDOW
GtkApplicationWindow
gtk_application_window_get_type
gtkaspectframe
gtk_aspect_frame_new
gtk_aspect_frame_set
GTK_ASPECT_FRAME
GTK_IS_ASPECT_FRAME
GTK_TYPE_ASPECT_FRAME
GtkAspectFrame
gtk_aspect_frame_get_type
gtkassistant
GtkAssistantPageType
GtkAssistantPageFunc
gtk_assistant_new
gtk_assistant_next_page
gtk_assistant_previous_page
gtk_assistant_get_current_page
gtk_assistant_set_current_page
gtk_assistant_get_n_pages
gtk_assistant_get_nth_page
gtk_assistant_prepend_page
gtk_assistant_append_page
gtk_assistant_insert_page
gtk_assistant_remove_page
gtk_assistant_set_forward_page_func
gtk_assistant_set_page_type
gtk_assistant_get_page_type
gtk_assistant_set_page_title
gtk_assistant_get_page_title
gtk_assistant_set_page_complete
gtk_assistant_get_page_complete
gtk_assistant_add_action_widget
gtk_assistant_remove_action_widget
gtk_assistant_update_buttons_state
gtk_assistant_commit
gtk_assistant_get_page
gtk_assistant_page_get_child
gtk_assistant_get_pages
GTK_ASSISTANT
GTK_ASSISTANT_PAGE
GTK_IS_ASSISTANT
GTK_IS_ASSISTANT_PAGE
GTK_TYPE_ASSISTANT
GTK_TYPE_ASSISTANT_PAGE
GtkAssistant
GtkAssistantPage
gtk_assistant_get_type
gtk_assistant_page_get_type
gtkbin
GtkBin
GtkBinClass
gtk_bin_get_child
GTK_BIN
GTK_BIN_CLASS
GTK_BIN_GET_CLASS
GTK_IS_BIN
GTK_IS_BIN_CLASS
GTK_TYPE_BIN
GtkBin
gtk_bin_get_type
gtkbindings
GtkBindingCallback
gtk_binding_set_new
gtk_binding_set_by_class
gtk_binding_set_find
gtk_bindings_activate
gtk_bindings_activate_event
gtk_binding_set_activate
gtk_binding_entry_skip
gtk_binding_entry_add_signal
gtk_binding_entry_add_signal_from_string
gtk_binding_entry_add_action_variant
gtk_binding_entry_add_action
gtk_binding_entry_add_callback
gtk_binding_entry_remove
GtkBindingSet
gtkbinlayout
GTK_TYPE_BIN_LAYOUT
gtk_bin_layout_new
GtkBinLayout
gtkbookmarksmanagerprivate
GtkBookmarksChangedFunc
gtkbooleancellaccessible
GtkBooleanCellAccessible
GTK_BOOLEAN_CELL_ACCESSIBLE
GTK_BOOLEAN_CELL_ACCESSIBLE_CLASS
GTK_BOOLEAN_CELL_ACCESSIBLE_GET_CLASS
GTK_IS_BOOLEAN_CELL_ACCESSIBLE
GTK_IS_BOOLEAN_CELL_ACCESSIBLE_CLASS
GTK_TYPE_BOOLEAN_CELL_ACCESSIBLE
GtkBooleanCellAccessible
GtkBooleanCellAccessibleClass
GtkBooleanCellAccessiblePrivate
gtk_boolean_cell_accessible_get_type
gtkborder
GtkBorder
gtk_border_new
gtk_border_copy
gtk_border_free
GTK_TYPE_BORDER
gtk_border_get_type
gtkbox
GtkBox
GtkBoxClass
gtk_box_new
gtk_box_set_homogeneous
gtk_box_get_homogeneous
gtk_box_set_spacing
gtk_box_get_spacing
gtk_box_set_baseline_position
gtk_box_get_baseline_position
gtk_box_insert_child_after
gtk_box_reorder_child_after
GTK_BOX
GTK_BOX_CLASS
GTK_BOX_GET_CLASS
GTK_IS_BOX
GTK_IS_BOX_CLASS
GTK_TYPE_BOX
GtkBox
gtk_box_get_type
gtkboxlayout
GTK_TYPE_BOX_LAYOUT
gtk_box_layout_new
gtk_box_layout_set_homogeneous
gtk_box_layout_get_homogeneous
gtk_box_layout_set_spacing
gtk_box_layout_get_spacing
gtk_box_layout_set_baseline_position
gtk_box_layout_get_baseline_position
GtkBoxLayout
gtkbuildable
GtkBuildable
GtkBuildableParser
GtkBuildableIface
gtk_buildable_set_name
gtk_buildable_get_name
gtk_buildable_add_child
gtk_buildable_set_buildable_property
gtk_buildable_construct_child
gtk_buildable_custom_tag_start
gtk_buildable_custom_tag_end
gtk_buildable_custom_finished
gtk_buildable_parser_finished
gtk_buildable_get_internal_child
gtk_buildable_parse_context_push
gtk_buildable_parse_context_pop
gtk_buildable_parse_context_get_element
gtk_buildable_parse_context_get_element_stack
gtk_buildable_parse_context_get_position
GtkBuildableParseContext
GTK_BUILDABLE
GTK_BUILDABLE_CLASS
GTK_BUILDABLE_GET_IFACE
GTK_IS_BUILDABLE
GTK_TYPE_BUILDABLE
GtkBuildable
gtk_buildable_get_type
gtkbuilder
GtkBuilder
GTK_BUILDER_ERROR
GtkBuilderError
gtk_builder_error_quark
gtk_builder_new
gtk_builder_add_from_file
gtk_builder_add_from_resource
gtk_builder_add_from_string
gtk_builder_add_objects_from_file
gtk_builder_add_objects_from_resource
gtk_builder_add_objects_from_string
gtk_builder_get_object
gtk_builder_get_objects
gtk_builder_expose_object
gtk_builder_get_current_object
gtk_builder_set_current_object
gtk_builder_set_translation_domain
gtk_builder_get_translation_domain
gtk_builder_get_scope
gtk_builder_set_scope
gtk_builder_get_type_from_name
gtk_builder_value_from_string
gtk_builder_value_from_string_type
gtk_builder_new_from_file
gtk_builder_new_from_resource
gtk_builder_new_from_string
gtk_builder_create_closure
GTK_BUILDER_WARN_INVALID_CHILD_TYPE
gtk_builder_extend_with_template
GTK_BUILDER
GTK_BUILDER_CLASS
GTK_BUILDER_GET_CLASS
GTK_IS_BUILDER
GTK_IS_BUILDER_CLASS
GTK_TYPE_BUILDER
GtkBuilderClass
gtk_builder_get_type
gtkbuilderscope
GtkBuilderCScope
GTK_TYPE_BUILDER_SCOPE
GtkBuilderClosureFlags
GtkBuilderScopeInterface
GtkBuilderCScopeClass
GTK_TYPE_BUILDER_CSCOPE
gtk_builder_cscope_new
gtk_builder_cscope_add_callback_symbol
gtk_builder_cscope_add_callback_symbols
gtk_builder_cscope_lookup_callback_symbol
GtkBuilderCScope
GtkBuilderScope
gtkbuilderscopeprivate
gtk_builder_scope_get_type_from_name
gtk_builder_scope_get_type_from_function
gtk_builder_scope_create_closure
gtkbuiltiniconprivate
GTK_TYPE_BUILTIN_ICON
gtk_builtin_icon_new
gtk_builtin_icon_set_css_name
GtkBuiltinIcon
gtkbutton
GtkButton
GtkButtonClass
gtk_button_new
gtk_button_new_with_label
gtk_button_new_from_icon_name
gtk_button_new_with_mnemonic
gtk_button_set_relief
gtk_button_get_relief
gtk_button_set_label
gtk_button_get_label
gtk_button_set_use_underline
gtk_button_get_use_underline
gtk_button_set_icon_name
gtk_button_get_icon_name
GTK_BUTTON
GTK_BUTTON_CLASS
GTK_BUTTON_GET_CLASS
GTK_IS_BUTTON
GTK_IS_BUTTON_CLASS
GTK_TYPE_BUTTON
GtkButton
GtkButtonPrivate
gtk_button_get_type
gtkbuttonaccessible
GtkButtonAccessible
GTK_BUTTON_ACCESSIBLE
GTK_BUTTON_ACCESSIBLE_CLASS
GTK_BUTTON_ACCESSIBLE_GET_CLASS
GTK_IS_BUTTON_ACCESSIBLE
GTK_IS_BUTTON_ACCESSIBLE_CLASS
GTK_TYPE_BUTTON_ACCESSIBLE
GtkButtonAccessible
GtkButtonAccessibleClass
GtkButtonAccessiblePrivate
gtk_button_accessible_get_type
gtkcalendar
gtk_calendar_new
gtk_calendar_select_day
gtk_calendar_mark_day
gtk_calendar_unmark_day
gtk_calendar_clear_marks
gtk_calendar_set_show_week_numbers
gtk_calendar_get_show_week_numbers
gtk_calendar_set_show_heading
gtk_calendar_get_show_heading
gtk_calendar_set_show_day_names
gtk_calendar_get_show_day_names
gtk_calendar_get_date
gtk_calendar_get_day_is_marked
GTK_CALENDAR
GTK_IS_CALENDAR
GTK_TYPE_CALENDAR
GtkCalendar
gtk_calendar_get_type
gtkcellaccessible
GtkCellAccessible
GTK_CELL_ACCESSIBLE
GTK_CELL_ACCESSIBLE_CLASS
GTK_CELL_ACCESSIBLE_GET_CLASS
GTK_IS_CELL_ACCESSIBLE
GTK_IS_CELL_ACCESSIBLE_CLASS
GTK_TYPE_CELL_ACCESSIBLE
GtkCellAccessible
GtkCellAccessibleClass
GtkCellAccessiblePrivate
gtk_cell_accessible_get_type
gtkcellaccessibleparent
GtkCellAccessibleParent
gtk_cell_accessible_parent_get_cell_extents
gtk_cell_accessible_parent_get_cell_area
gtk_cell_accessible_parent_grab_focus
gtk_cell_accessible_parent_get_child_index
gtk_cell_accessible_parent_get_renderer_state
gtk_cell_accessible_parent_expand_collapse
gtk_cell_accessible_parent_activate
gtk_cell_accessible_parent_edit
gtk_cell_accessible_parent_update_relationset
gtk_cell_accessible_parent_get_cell_position
gtk_cell_accessible_parent_get_column_header_cells
gtk_cell_accessible_parent_get_row_header_cells
GTK_CELL_ACCESSIBLE_PARENT
GTK_CELL_ACCESSIBLE_PARENT_GET_IFACE
GTK_IS_CELL_ACCESSIBLE_PARENT
GTK_TYPE_CELL_ACCESSIBLE_PARENT
GtkCellAccessibleParent
GtkCellAccessibleParentIface
gtk_cell_accessible_parent_get_type
gtkcellarea
GtkCellArea
GTK_CELL_AREA_WARN_INVALID_CELL_PROPERTY_ID
GtkCellCallback
GtkCellAllocCallback
GtkCellAreaClass
gtk_cell_area_add
gtk_cell_area_remove
gtk_cell_area_has_renderer
gtk_cell_area_foreach
gtk_cell_area_foreach_alloc
gtk_cell_area_event
gtk_cell_area_snapshot
gtk_cell_area_get_cell_allocation
gtk_cell_area_get_cell_at_position
gtk_cell_area_create_context
gtk_cell_area_copy_context
gtk_cell_area_get_request_mode
gtk_cell_area_get_preferred_width
gtk_cell_area_get_preferred_height_for_width
gtk_cell_area_get_preferred_height
gtk_cell_area_get_preferred_width_for_height
gtk_cell_area_get_current_path_string
gtk_cell_area_apply_attributes
gtk_cell_area_attribute_connect
gtk_cell_area_attribute_disconnect
gtk_cell_area_attribute_get_column
gtk_cell_area_class_install_cell_property
gtk_cell_area_class_find_cell_property
gtk_cell_area_class_list_cell_properties
gtk_cell_area_add_with_properties
gtk_cell_area_cell_set
gtk_cell_area_cell_get
gtk_cell_area_cell_set_valist
gtk_cell_area_cell_get_valist
gtk_cell_area_cell_set_property
gtk_cell_area_cell_get_property
gtk_cell_area_is_activatable
gtk_cell_area_activate
gtk_cell_area_focus
gtk_cell_area_set_focus_cell
gtk_cell_area_get_focus_cell
gtk_cell_area_add_focus_sibling
gtk_cell_area_remove_focus_sibling
gtk_cell_area_is_focus_sibling
gtk_cell_area_get_focus_siblings
gtk_cell_area_get_focus_from_sibling
gtk_cell_area_get_edited_cell
gtk_cell_area_get_edit_widget
gtk_cell_area_activate_cell
gtk_cell_area_stop_editing
gtk_cell_area_inner_cell_area
gtk_cell_area_request_renderer
GtkCellAreaContext
GTK_CELL_AREA
GTK_CELL_AREA_CLASS
GTK_CELL_AREA_GET_CLASS
GTK_IS_CELL_AREA
GTK_IS_CELL_AREA_CLASS
GTK_TYPE_CELL_AREA
GtkCellArea
gtk_cell_area_get_type
gtkcellareabox
gtk_cell_area_box_new
gtk_cell_area_box_pack_start
gtk_cell_area_box_pack_end
gtk_cell_area_box_get_spacing
gtk_cell_area_box_set_spacing
GTK_CELL_AREA_BOX
GTK_IS_CELL_AREA_BOX
GTK_TYPE_CELL_AREA_BOX
GtkCellAreaBox
gtk_cell_area_box_get_type
gtkcellareacontext
GtkCellAreaContext
GtkCellAreaContextClass
gtk_cell_area_context_get_area
gtk_cell_area_context_allocate
gtk_cell_area_context_reset
gtk_cell_area_context_get_preferred_width
gtk_cell_area_context_get_preferred_height
gtk_cell_area_context_get_preferred_height_for_width
gtk_cell_area_context_get_preferred_width_for_height
gtk_cell_area_context_get_allocation
gtk_cell_area_context_push_preferred_width
gtk_cell_area_context_push_preferred_height
GTK_CELL_AREA_CONTEXT
GTK_CELL_AREA_CONTEXT_CLASS
GTK_CELL_AREA_CONTEXT_GET_CLASS
GTK_IS_CELL_AREA_CONTEXT
GTK_IS_CELL_AREA_CONTEXT_CLASS
GTK_TYPE_CELL_AREA_CONTEXT
GtkCellAreaContext
GtkCellAreaContextPrivate
gtk_cell_area_context_get_type
gtkcelleditable
GtkCellEditable
GtkCellEditableIface
gtk_cell_editable_start_editing
gtk_cell_editable_editing_done
gtk_cell_editable_remove_widget
GTK_CELL_EDITABLE
GTK_CELL_EDITABLE_CLASS
GTK_CELL_EDITABLE_GET_IFACE
GTK_IS_CELL_EDITABLE
GTK_TYPE_CELL_EDITABLE
GtkCellEditable
gtk_cell_editable_get_type
gtkcelllayout
GtkCellLayout
GtkCellLayoutDataFunc
GtkCellLayoutIface
gtk_cell_layout_pack_start
gtk_cell_layout_pack_end
gtk_cell_layout_get_cells
gtk_cell_layout_clear
gtk_cell_layout_set_attributes
gtk_cell_layout_add_attribute
gtk_cell_layout_set_cell_data_func
gtk_cell_layout_clear_attributes
gtk_cell_layout_reorder
gtk_cell_layout_get_area
GTK_CELL_LAYOUT
GTK_CELL_LAYOUT_GET_IFACE
GTK_IS_CELL_LAYOUT
GTK_TYPE_CELL_LAYOUT
GtkCellLayout
gtk_cell_layout_get_type
gtkcellrenderer
GtkCellRenderer
GtkCellRendererState
GtkCellRendererMode
GtkCellRendererClass
gtk_cell_renderer_get_request_mode
gtk_cell_renderer_get_preferred_width
gtk_cell_renderer_get_preferred_height_for_width
gtk_cell_renderer_get_preferred_height
gtk_cell_renderer_get_preferred_width_for_height
gtk_cell_renderer_get_preferred_size
gtk_cell_renderer_get_aligned_area
gtk_cell_renderer_snapshot
gtk_cell_renderer_activate
gtk_cell_renderer_start_editing
gtk_cell_renderer_set_fixed_size
gtk_cell_renderer_get_fixed_size
gtk_cell_renderer_set_alignment
gtk_cell_renderer_get_alignment
gtk_cell_renderer_set_padding
gtk_cell_renderer_get_padding
gtk_cell_renderer_set_visible
gtk_cell_renderer_get_visible
gtk_cell_renderer_set_sensitive
gtk_cell_renderer_get_sensitive
gtk_cell_renderer_is_activatable
gtk_cell_renderer_set_is_expander
gtk_cell_renderer_get_is_expander
gtk_cell_renderer_set_is_expanded
gtk_cell_renderer_get_is_expanded
gtk_cell_renderer_stop_editing
gtk_cell_renderer_get_state
gtk_cell_renderer_class_set_accessible_type
GtkCellRendererClassPrivate
GTK_CELL_RENDERER
GTK_CELL_RENDERER_CLASS
GTK_CELL_RENDERER_GET_CLASS
GTK_IS_CELL_RENDERER
GTK_IS_CELL_RENDERER_CLASS
GTK_TYPE_CELL_RENDERER
GtkCellRenderer
GtkCellRendererPrivate
gtk_cell_renderer_get_type
gtkcellrendereraccel
GtkCellRendererAccelMode
gtk_cell_renderer_accel_new
GTK_CELL_RENDERER_ACCEL
GTK_IS_CELL_RENDERER_ACCEL
GTK_TYPE_CELL_RENDERER_ACCEL
GtkCellRendererAccel
gtk_cell_renderer_accel_get_type
gtkcellrenderercombo
gtk_cell_renderer_combo_new
GTK_CELL_RENDERER_COMBO
GTK_IS_CELL_RENDERER_COMBO
GTK_TYPE_CELL_RENDERER_COMBO
GtkCellRendererCombo
gtk_cell_renderer_combo_get_type
gtkcellrendererpixbuf
gtk_cell_renderer_pixbuf_new
GTK_CELL_RENDERER_PIXBUF
GTK_IS_CELL_RENDERER_PIXBUF
GTK_TYPE_CELL_RENDERER_PIXBUF
GtkCellRendererPixbuf
gtk_cell_renderer_pixbuf_get_type
gtkcellrendererprogress
gtk_cell_renderer_progress_new
GTK_CELL_RENDERER_PROGRESS
GTK_IS_CELL_RENDERER_PROGRESS
GTK_TYPE_CELL_RENDERER_PROGRESS
GtkCellRendererProgress
gtk_cell_renderer_progress_get_type
gtkcellrendererspin
gtk_cell_renderer_spin_new
GTK_CELL_RENDERER_SPIN
GTK_IS_CELL_RENDERER_SPIN
GTK_TYPE_CELL_RENDERER_SPIN
GtkCellRendererSpin
gtk_cell_renderer_spin_get_type
gtkcellrendererspinner
gtk_cell_renderer_spinner_new
GTK_CELL_RENDERER_SPINNER
GTK_IS_CELL_RENDERER_SPINNER
GTK_TYPE_CELL_RENDERER_SPINNER
GtkCellRendererSpinner
gtk_cell_renderer_spinner_get_type
gtkcellrenderertext
GtkCellRendererText
gtk_cell_renderer_text_new
gtk_cell_renderer_text_set_fixed_height_from_font
GTK_CELL_RENDERER_TEXT
GTK_CELL_RENDERER_TEXT_CLASS
GTK_CELL_RENDERER_TEXT_GET_CLASS
GTK_IS_CELL_RENDERER_TEXT
GTK_IS_CELL_RENDERER_TEXT_CLASS
GTK_TYPE_CELL_RENDERER_TEXT
GtkCellRendererText
GtkCellRendererTextClass
gtk_cell_renderer_text_get_type
gtkcellrenderertoggle
gtk_cell_renderer_toggle_new
gtk_cell_renderer_toggle_get_radio
gtk_cell_renderer_toggle_set_radio
gtk_cell_renderer_toggle_get_active
gtk_cell_renderer_toggle_set_active
gtk_cell_renderer_toggle_get_activatable
gtk_cell_renderer_toggle_set_activatable
GTK_CELL_RENDERER_TOGGLE
GTK_IS_CELL_RENDERER_TOGGLE
GTK_TYPE_CELL_RENDERER_TOGGLE
GtkCellRendererToggle
gtk_cell_renderer_toggle_get_type
gtkcellview
gtk_cell_view_new
gtk_cell_view_new_with_context
gtk_cell_view_new_with_text
gtk_cell_view_new_with_markup
gtk_cell_view_new_with_texture
gtk_cell_view_set_model
gtk_cell_view_get_model
gtk_cell_view_set_displayed_row
gtk_cell_view_get_displayed_row
gtk_cell_view_get_draw_sensitive
gtk_cell_view_set_draw_sensitive
gtk_cell_view_get_fit_model
gtk_cell_view_set_fit_model
GTK_CELL_VIEW
GTK_IS_CELL_VIEW
GTK_TYPE_CELL_VIEW
GtkCellView
gtk_cell_view_get_type
gtkcenterbox
GtkCenterBox
gtk_center_box_new
gtk_center_box_set_start_widget
gtk_center_box_set_center_widget
gtk_center_box_set_end_widget
gtk_center_box_get_start_widget
gtk_center_box_get_center_widget
gtk_center_box_get_end_widget
gtk_center_box_set_baseline_position
gtk_center_box_get_baseline_position
GTK_CENTER_BOX
GTK_CENTER_BOX_CLASS
GTK_CENTER_BOX_GET_CLASS
GTK_IS_CENTER_BOX
GTK_IS_CENTER_BOX_CLASS
GTK_TYPE_CENTER_BOX
GtkCenterBox
GtkCenterBoxClass
gtk_center_box_get_type
gtkcenterlayout
GTK_TYPE_CENTER_LAYOUT
gtk_center_layout_new
gtk_center_layout_set_orientation
gtk_center_layout_get_orientation
gtk_center_layout_set_baseline_position
gtk_center_layout_get_baseline_position
gtk_center_layout_set_start_widget
gtk_center_layout_get_start_widget
gtk_center_layout_set_center_widget
gtk_center_layout_get_center_widget
gtk_center_layout_set_end_widget
gtk_center_layout_get_end_widget
GtkCenterLayout
gtkcheckbutton
GtkCheckButton
gtk_check_button_new
gtk_check_button_new_with_label
gtk_check_button_new_with_mnemonic
gtk_check_button_set_draw_indicator
gtk_check_button_get_draw_indicator
gtk_check_button_set_inconsistent
gtk_check_button_get_inconsistent
GTK_CHECK_BUTTON
GTK_CHECK_BUTTON_CLASS
GTK_CHECK_BUTTON_GET_CLASS
GTK_IS_CHECK_BUTTON
GTK_IS_CHECK_BUTTON_CLASS
GTK_TYPE_CHECK_BUTTON
GtkCheckButton
GtkCheckButtonClass
gtk_check_button_get_type
gtkcolorbutton
gtk_color_button_new
gtk_color_button_new_with_rgba
gtk_color_button_set_title
gtk_color_button_get_title
GTK_COLOR_BUTTON
GTK_IS_COLOR_BUTTON
GTK_TYPE_COLOR_BUTTON
GtkColorButton
gtk_color_button_get_type
gtkcolorchooser
GtkColorChooser
gtk_color_chooser_get_rgba
gtk_color_chooser_set_rgba
gtk_color_chooser_get_use_alpha
gtk_color_chooser_set_use_alpha
gtk_color_chooser_add_palette
GTK_COLOR_CHOOSER
GTK_COLOR_CHOOSER_GET_IFACE
GTK_IS_COLOR_CHOOSER
GTK_TYPE_COLOR_CHOOSER
GtkColorChooser
GtkColorChooserInterface
gtk_color_chooser_get_type
gtkcolorchooserdialog
gtk_color_chooser_dialog_new
GTK_COLOR_CHOOSER_DIALOG
GTK_IS_COLOR_CHOOSER_DIALOG
GTK_TYPE_COLOR_CHOOSER_DIALOG
GtkColorChooserDialog
gtk_color_chooser_dialog_get_type
gtkcolorchooserwidget
gtk_color_chooser_widget_new
GTK_COLOR_CHOOSER_WIDGET
GTK_IS_COLOR_CHOOSER_WIDGET
GTK_TYPE_COLOR_CHOOSER_WIDGET
GtkColorChooserWidget
gtk_color_chooser_widget_get_type
gtkcolorpickerkwinprivate
GTK_TYPE_COLOR_PICKER_KWIN
gtk_color_picker_kwin_new
GtkColorPickerKwin
gtkcolorpickerportalprivate
GTK_TYPE_COLOR_PICKER_PORTAL
gtk_color_picker_portal_new
GtkColorPickerPortal
gtkcolorpickerprivate
GtkColorPicker
gtk_color_picker_new
gtk_color_picker_pick
gtk_color_picker_pick_finish
GTK_COLOR_PICKER
GTK_COLOR_PICKER_GET_INTERFACE
GTK_IS_COLOR_PICKER
GTK_TYPE_COLOR_PICKER
GtkColorPicker
GtkColorPickerInterface
gtk_color_picker_get_type
gtkcolorpickershellprivate
GTK_TYPE_COLOR_PICKER_SHELL
gtk_color_picker_shell_new
GtkColorPickerShell
gtkcolorswatchaccessibleprivate
GtkColorSwatchAccessible
GTK_COLOR_SWATCH_ACCESSIBLE
GTK_COLOR_SWATCH_ACCESSIBLE_CLASS
GTK_COLOR_SWATCH_ACCESSIBLE_GET_CLASS
GTK_IS_COLOR_SWATCH_ACCESSIBLE
GTK_IS_COLOR_SWATCH_ACCESSIBLE_CLASS
GTK_TYPE_COLOR_SWATCH_ACCESSIBLE
GtkColorSwatchAccessible
GtkColorSwatchAccessibleClass
GtkColorSwatchAccessiblePrivate
gtkcolorutils
gtk_hsv_to_rgb
gtk_rgb_to_hsv
gtkcombobox
GtkComboBox
GtkComboBoxClass
gtk_combo_box_new
gtk_combo_box_new_with_entry
gtk_combo_box_new_with_model
gtk_combo_box_new_with_model_and_entry
gtk_combo_box_get_active
gtk_combo_box_set_active
gtk_combo_box_get_active_iter
gtk_combo_box_set_active_iter
gtk_combo_box_set_model
gtk_combo_box_get_model
gtk_combo_box_get_row_separator_func
gtk_combo_box_set_row_separator_func
gtk_combo_box_set_button_sensitivity
gtk_combo_box_get_button_sensitivity
gtk_combo_box_get_has_entry
gtk_combo_box_set_entry_text_column
gtk_combo_box_get_entry_text_column
gtk_combo_box_set_popup_fixed_width
gtk_combo_box_get_popup_fixed_width
gtk_combo_box_popup
gtk_combo_box_popup_for_device
gtk_combo_box_popdown
gtk_combo_box_get_popup_accessible
gtk_combo_box_get_id_column
gtk_combo_box_set_id_column
gtk_combo_box_get_active_id
gtk_combo_box_set_active_id
GTK_COMBO_BOX
GTK_COMBO_BOX_CLASS
GTK_COMBO_BOX_GET_CLASS
GTK_IS_COMBO_BOX
GTK_IS_COMBO_BOX_CLASS
GTK_TYPE_COMBO_BOX
GtkComboBox
gtk_combo_box_get_type
gtkcomboboxaccessible
GtkComboBoxAccessible
GTK_COMBO_BOX_ACCESSIBLE
GTK_COMBO_BOX_ACCESSIBLE_CLASS
GTK_COMBO_BOX_ACCESSIBLE_GET_CLASS
GTK_IS_COMBO_BOX_ACCESSIBLE
GTK_IS_COMBO_BOX_ACCESSIBLE_CLASS
GTK_TYPE_COMBO_BOX_ACCESSIBLE
GtkComboBoxAccessible
GtkComboBoxAccessibleClass
GtkComboBoxAccessiblePrivate
gtk_combo_box_accessible_get_type
gtkcomboboxtext
gtk_combo_box_text_new
gtk_combo_box_text_new_with_entry
gtk_combo_box_text_append_text
gtk_combo_box_text_insert_text
gtk_combo_box_text_prepend_text
gtk_combo_box_text_remove
gtk_combo_box_text_remove_all
gtk_combo_box_text_get_active_text
gtk_combo_box_text_insert
gtk_combo_box_text_append
gtk_combo_box_text_prepend
GTK_COMBO_BOX_TEXT
GTK_IS_COMBO_BOX_TEXT
GTK_TYPE_COMBO_BOX_TEXT
GtkComboBoxText
gtk_combo_box_text_get_type
gtkcomposetable
GtkComposeTable
GtkComposeTableCompact
gtk_compose_table_new_with_file
gtk_compose_table_list_add_array
gtk_compose_table_list_add_file
gtkcompositeaccessible
GtkCompositeAccessible
GTK_COMPOSITE_ACCESSIBLE
GTK_COMPOSITE_ACCESSIBLE_CLASS
GTK_COMPOSITE_ACCESSIBLE_GET_CLASS
GTK_IS_COMPOSITE_ACCESSIBLE
GTK_IS_COMPOSITE_ACCESSIBLE_CLASS
GTK_TYPE_COMPOSITE_ACCESSIBLE
GtkCompositeAccessible
GtkCompositeAccessibleClass
gtk_composite_accessible_get_type
gtkcompositeaccessibleprivate
gtkconstraint
GTK_TYPE_CONSTRAINT_TARGET
GTK_TYPE_CONSTRAINT
gtk_constraint_new
gtk_constraint_new_constant
gtk_constraint_get_target
gtk_constraint_get_target_attribute
gtk_constraint_get_source
gtk_constraint_get_source_attribute
gtk_constraint_get_relation
gtk_constraint_get_multiplier
gtk_constraint_get_constant
gtk_constraint_get_strength
gtk_constraint_is_required
gtk_constraint_is_attached
gtk_constraint_is_constant
GtkConstraint
GtkConstraintTarget
GtkConstraintTargetInterface
gtkconstraintguide
GTK_TYPE_CONSTRAINT_GUIDE
gtk_constraint_guide_new
gtk_constraint_guide_set_min_size
gtk_constraint_guide_get_min_size
gtk_constraint_guide_set_nat_size
gtk_constraint_guide_get_nat_size
gtk_constraint_guide_set_max_size
gtk_constraint_guide_get_max_size
gtk_constraint_guide_get_strength
gtk_constraint_guide_set_strength
gtk_constraint_guide_set_name
gtk_constraint_guide_get_name
GtkConstraintGuide
gtkconstraintlayout
GTK_TYPE_CONSTRAINT_LAYOUT
GTK_TYPE_CONSTRAINT_LAYOUT_CHILD
GTK_CONSTRAINT_VFL_PARSER_ERROR
gtk_constraint_vfl_parser_error_quark
gtk_constraint_layout_new
gtk_constraint_layout_add_constraint
gtk_constraint_layout_remove_constraint
gtk_constraint_layout_add_guide
gtk_constraint_layout_remove_guide
gtk_constraint_layout_remove_all_constraints
gtk_constraint_layout_add_constraints_from_description
gtk_constraint_layout_add_constraints_from_descriptionv
gtk_constraint_layout_observe_constraints
gtk_constraint_layout_observe_guides
GtkConstraintLayout
GtkConstraintLayoutChild
gtkcontainer
GtkContainer
GtkContainerClass
gtk_container_add
gtk_container_remove
gtk_container_foreach
gtk_container_get_children
gtk_container_set_focus_vadjustment
gtk_container_get_focus_vadjustment
gtk_container_set_focus_hadjustment
gtk_container_get_focus_hadjustment
gtk_container_child_type
gtk_container_forall
GTK_CONTAINER
GTK_CONTAINER_CLASS
GTK_CONTAINER_GET_CLASS
GTK_IS_CONTAINER
GTK_IS_CONTAINER_CLASS
GTK_TYPE_CONTAINER
GtkContainer
GtkContainerPrivate
gtk_container_get_type
gtkcontaineraccessible
GtkContainerAccessible
GTK_CONTAINER_ACCESSIBLE
GTK_CONTAINER_ACCESSIBLE_CLASS
GTK_CONTAINER_ACCESSIBLE_GET_CLASS
GTK_IS_CONTAINER_ACCESSIBLE
GTK_IS_CONTAINER_ACCESSIBLE_CLASS
GTK_TYPE_CONTAINER_ACCESSIBLE
GtkContainerAccessible
GtkContainerAccessibleClass
GtkContainerAccessiblePrivate
gtk_container_accessible_get_type
gtkcontaineraccessibleprivate
gtkcontainercellaccessible
GtkContainerCellAccessible
gtk_container_cell_accessible_new
gtk_container_cell_accessible_add_child
gtk_container_cell_accessible_remove_child
gtk_container_cell_accessible_get_children
GTK_CONTAINER_CELL_ACCESSIBLE
GTK_CONTAINER_CELL_ACCESSIBLE_CLASS
GTK_CONTAINER_CELL_ACCESSIBLE_GET_CLASS
GTK_IS_CONTAINER_CELL_ACCESSIBLE
GTK_IS_CONTAINER_CELL_ACCESSIBLE_CLASS
GTK_TYPE_CONTAINER_CELL_ACCESSIBLE
GtkContainerCellAccessible
GtkContainerCellAccessibleClass
GtkContainerCellAccessiblePrivate
gtk_container_cell_accessible_get_type
gtkcountingbloomfilterprivate
GTK_COUNTING_BLOOM_FILTER_BITS
GTK_COUNTING_BLOOM_FILTER_SIZE
GtkCountingBloomFilter
gtk_counting_bloom_filter_add
gtk_counting_bloom_filter_remove
gtk_counting_bloom_filter_may_contain
gtkcssboxesimplprivate
gtk_css_boxes_init
gtk_css_boxes_init_content_box
gtk_css_boxes_init_border_box
gtk_css_boxes_rect_grow
gtk_css_boxes_rect_shrink
gtk_css_boxes_compute_padding_rect
gtk_css_boxes_compute_border_rect
gtk_css_boxes_compute_content_rect
gtk_css_boxes_compute_margin_rect
gtk_css_boxes_compute_outline_rect
gtk_css_boxes_get_margin_rect
gtk_css_boxes_get_border_rect
gtk_css_boxes_get_padding_rect
gtk_css_boxes_get_content_rect
gtk_css_boxes_get_outline_rect
gtk_css_boxes_clamp_border_radius
gtk_css_boxes_apply_border_radius
gtk_css_boxes_shrink_border_radius
gtk_css_boxes_shrink_corners
gtk_css_boxes_compute_border_box
gtk_css_boxes_compute_padding_box
gtk_css_boxes_compute_content_box
gtk_css_boxes_compute_outline_box
gtk_css_boxes_get_box
gtk_css_boxes_get_border_box
gtk_css_boxes_get_padding_box
gtk_css_boxes_get_content_box
gtk_css_boxes_get_outline_box
gtkcssdataurlprivate
gtk_css_data_url_parse
gtkcssenums
GtkCssParserError
GtkCssParserWarning
gtkcssenumtypes
GTK_TYPE_CSS_PARSER_ERROR
GTK_TYPE_CSS_PARSER_WARNING
gtkcsserror
GTK_CSS_PARSER_ERROR
gtk_css_parser_error_quark
GTK_CSS_PARSER_WARNING
gtk_css_parser_warning_quark
gtkcsslocation
GtkCssLocation
gtkcsslocationprivate
gtk_css_location_init
gtk_css_location_advance
gtk_css_location_advance_newline
gtkcssprovider
GtkCssProvider
gtk_css_provider_new
gtk_css_provider_to_string
gtk_css_provider_load_from_data
gtk_css_provider_load_from_file
gtk_css_provider_load_from_path
gtk_css_provider_load_from_resource
gtk_css_provider_load_named
GTK_CSS_PROVIDER
GTK_IS_CSS_PROVIDER
GTK_TYPE_CSS_PROVIDER
GtkCssProvider
GtkCssProviderClass
GtkCssProviderPrivate
gtk_css_provider_get_type
gtkcsssection
gtk_css_section_new
gtk_css_section_ref
gtk_css_section_unref
gtk_css_section_print
gtk_css_section_to_string
gtk_css_section_get_parent
gtk_css_section_get_file
gtk_css_section_get_start_location
gtk_css_section_get_end_location
GtkCssSection
GTK_TYPE_CSS_SECTION
gtk_css_section_get_type
gtkcsstokenizerprivate
GtkCssTokenType
GtkCssStringToken
GtkCssDelimToken
GtkCssNumberToken
GtkCssDimensionToken
GtkCssToken
gtk_css_token_clear
gtk_css_token_is_finite
gtk_css_token_is_preserved
gtk_css_token_is
gtk_css_token_is_ident
gtk_css_token_is_function
gtk_css_token_is_delim
gtk_css_token_print
gtk_css_token_to_string
gtk_css_tokenizer_new
gtk_css_tokenizer_ref
gtk_css_tokenizer_unref
gtk_css_tokenizer_get_location
gtk_css_tokenizer_read_token
GtkCssTokenizer
gtkcustomlayout
GTK_TYPE_CUSTOM_LAYOUT
GtkCustomRequestModeFunc
GtkCustomMeasureFunc
GtkCustomAllocateFunc
gtk_custom_layout_new
GtkCustomLayout
gtkcustompaperunixdialog
GtkCustomPaperUnixDialog
GtkCustomPaperUnixDialogClass
GTK_CUSTOM_PAPER_UNIX_DIALOG
GTK_CUSTOM_PAPER_UNIX_DIALOG_CLASS
GTK_CUSTOM_PAPER_UNIX_DIALOG_GET_CLASS
GTK_IS_CUSTOM_PAPER_UNIX_DIALOG
GTK_IS_CUSTOM_PAPER_UNIX_DIALOG_CLASS
GTK_TYPE_CUSTOM_PAPER_UNIX_DIALOG
GtkCustomPaperUnixDialog
GtkCustomPaperUnixDialogPrivate
gtk_custom_paper_unix_dialog_get_type
gtkdbusgenerated
_GtkMountOperationHandlerSkeleton
_GtkMountOperationHandlerIface
_GtkMountOperationHandlerProxy
_GtkMountOperationHandlerProxyClass
_GtkMountOperationHandlerSkeleton
_GtkMountOperationHandlerSkeletonClass
_GtkMountOperationHandler
_GtkMountOperationHandlerProxyPrivate
_GtkMountOperationHandlerSkeletonPrivate
gtkdebug
GtkDebugFlag
GTK_DEBUG_CHECK
GTK_NOTE
gtk_get_debug_flags
gtk_set_debug_flags
gtkdialog
GtkDialog
GtkDialogFlags
GtkResponseType
GtkDialog
GtkDialogClass
gtk_dialog_new
gtk_dialog_new_with_buttons
gtk_dialog_add_action_widget
gtk_dialog_add_button
gtk_dialog_add_buttons
gtk_dialog_set_response_sensitive
gtk_dialog_set_default_response
gtk_dialog_get_widget_for_response
gtk_dialog_get_response_for_widget
gtk_dialog_response
gtk_dialog_run
gtk_dialog_get_content_area
gtk_dialog_get_header_bar
GTK_DIALOG
GTK_DIALOG_CLASS
GTK_DIALOG_GET_CLASS
GTK_IS_DIALOG
GTK_IS_DIALOG_CLASS
GTK_TYPE_DIALOG
gtk_dialog_get_type
gtkdragdest
GtkDropTarget
gtk_drop_target_new
gtk_drop_target_set_formats
gtk_drop_target_get_formats
gtk_drop_target_set_actions
gtk_drop_target_get_actions
gtk_drop_target_get_drop
gtk_drop_target_find_mimetype
gtk_drop_target_read_selection
gtk_drop_target_read_selection_finish
gtk_drop_target_deny_drop
GTK_DROP_TARGET
GTK_DROP_TARGET_CLASS
GTK_DROP_TARGET_GET_CLASS
GTK_IS_DROP_TARGET
GTK_IS_DROP_TARGET_CLASS
GTK_TYPE_DROP_TARGET
GtkDropTarget
GtkDropTargetClass
gtk_drop_target_get_type
gtkdragdestprivate
gtk_drag_dest_handle_event
gtkdragicon
GTK_TYPE_DRAG_ICON
gtk_drag_icon_new_for_drag
gtk_drag_icon_set_from_paintable
GtkDragIcon
gtkdragiconprivate
gtk_drag_icon_new
gtk_drag_icon_set_surface
gtk_drag_icon_set_widget
gtkdragsource
GtkDragSource
gtk_drag_source_new
gtk_drag_source_set_content
gtk_drag_source_get_content
gtk_drag_source_set_actions
gtk_drag_source_get_actions
gtk_drag_source_set_icon
gtk_drag_source_drag_cancel
gtk_drag_source_get_drag
gtk_drag_check_threshold
GTK_DRAG_SOURCE
GTK_DRAG_SOURCE_CLASS
GTK_DRAG_SOURCE_GET_CLASS
GTK_IS_DRAG_SOURCE
GTK_IS_DRAG_SOURCE_CLASS
GTK_TYPE_DRAG_SOURCE
GtkDragSource
GtkDragSourceClass
gtk_drag_source_get_type
gtkdrawingarea
GtkDrawingArea
GtkDrawingAreaDrawFunc
gtk_drawing_area_new
gtk_drawing_area_set_content_width
gtk_drawing_area_get_content_width
gtk_drawing_area_set_content_height
gtk_drawing_area_get_content_height
gtk_drawing_area_set_draw_func
GTK_DRAWING_AREA
GTK_DRAWING_AREA_CLASS
GTK_DRAWING_AREA_GET_CLASS
GTK_IS_DRAWING_AREA
GTK_IS_DRAWING_AREA_CLASS
GTK_TYPE_DRAWING_AREA
GtkDrawingArea
GtkDrawingAreaClass
gtk_drawing_area_get_type
gtkeditable
GtkEditable
gtk_editable_get_text
gtk_editable_set_text
gtk_editable_get_chars
gtk_editable_insert_text
gtk_editable_delete_text
gtk_editable_get_selection_bounds
gtk_editable_delete_selection
gtk_editable_select_region
gtk_editable_set_position
gtk_editable_get_position
gtk_editable_get_editable
gtk_editable_set_editable
gtk_editable_get_alignment
gtk_editable_set_alignment
gtk_editable_get_width_chars
gtk_editable_set_width_chars
gtk_editable_get_max_width_chars
gtk_editable_set_max_width_chars
gtk_editable_get_enable_undo
gtk_editable_set_enable_undo
GtkEditableProperties
gtk_editable_install_properties
gtk_editable_init_delegate
gtk_editable_finish_delegate
gtk_editable_delegate_set_property
gtk_editable_delegate_get_property
GTK_EDITABLE
GTK_EDITABLE_GET_IFACE
GTK_IS_EDITABLE
GTK_TYPE_EDITABLE
GtkEditable
GtkEditableInterface
gtk_editable_get_type
gtkemojichooser
GtkEmojiChooser
gtk_emoji_chooser_new
GTK_EMOJI_CHOOSER
GTK_EMOJI_CHOOSER_CLASS
GTK_EMOJI_CHOOSER_GET_CLASS
GTK_IS_EMOJI_CHOOSER
GTK_IS_EMOJI_CHOOSER_CLASS
GTK_TYPE_EMOJI_CHOOSER
GtkEmojiChooser
GtkEmojiChooserClass
gtk_emoji_chooser_get_type
gtkemojicompletion
GtkEmojiCompletion
gtk_emoji_completion_new
GTK_EMOJI_COMPLETION
GTK_EMOJI_COMPLETION_CLASS
GTK_EMOJI_COMPLETION_GET_CLASS
GTK_IS_EMOJI_COMPLETION
GTK_IS_EMOJI_COMPLETION_CLASS
GTK_TYPE_EMOJI_COMPLETION
GtkEmojiCompletion
GtkEmojiCompletionClass
gtk_emoji_completion_get_type
gtkentry
GtkEntry
GtkEntryIconPosition
GtkEntryClass
gtk_entry_new
gtk_entry_new_with_buffer
gtk_entry_get_buffer
gtk_entry_set_buffer
gtk_entry_set_visibility
gtk_entry_get_visibility
gtk_entry_set_invisible_char
gtk_entry_get_invisible_char
gtk_entry_unset_invisible_char
gtk_entry_set_has_frame
gtk_entry_get_has_frame
gtk_entry_set_overwrite_mode
gtk_entry_get_overwrite_mode
gtk_entry_set_max_length
gtk_entry_get_max_length
gtk_entry_get_text_length
gtk_entry_set_activates_default
gtk_entry_get_activates_default
gtk_entry_set_alignment
gtk_entry_get_alignment
gtk_entry_set_completion
gtk_entry_get_completion
gtk_entry_set_progress_fraction
gtk_entry_get_progress_fraction
gtk_entry_set_progress_pulse_step
gtk_entry_get_progress_pulse_step
gtk_entry_progress_pulse
gtk_entry_get_placeholder_text
gtk_entry_set_placeholder_text
gtk_entry_set_icon_from_paintable
gtk_entry_set_icon_from_icon_name
gtk_entry_set_icon_from_gicon
gtk_entry_get_icon_storage_type
gtk_entry_get_icon_paintable
gtk_entry_get_icon_name
gtk_entry_get_icon_gicon
gtk_entry_set_icon_activatable
gtk_entry_get_icon_activatable
gtk_entry_set_icon_sensitive
gtk_entry_get_icon_sensitive
gtk_entry_get_icon_at_pos
gtk_entry_set_icon_tooltip_text
gtk_entry_get_icon_tooltip_text
gtk_entry_set_icon_tooltip_markup
gtk_entry_get_icon_tooltip_markup
gtk_entry_set_icon_drag_source
gtk_entry_get_current_icon_drag_source
gtk_entry_get_icon_area
gtk_entry_reset_im_context
gtk_entry_set_input_purpose
gtk_entry_get_input_purpose
gtk_entry_set_input_hints
gtk_entry_get_input_hints
gtk_entry_set_attributes
gtk_entry_get_attributes
gtk_entry_set_tabs
gtk_entry_get_tabs
gtk_entry_grab_focus_without_selecting
gtk_entry_set_extra_menu
gtk_entry_get_extra_menu
GTK_ENTRY
GTK_ENTRY_CLASS
GTK_ENTRY_GET_CLASS
GTK_IS_ENTRY
GTK_IS_ENTRY_CLASS
GTK_TYPE_ENTRY
GtkEntry
gtk_entry_get_type
gtkentryaccessible
GtkEntryAccessible
GTK_ENTRY_ACCESSIBLE
GTK_ENTRY_ACCESSIBLE_CLASS
GTK_ENTRY_ACCESSIBLE_GET_CLASS
GTK_IS_ENTRY_ACCESSIBLE
GTK_IS_ENTRY_ACCESSIBLE_CLASS
GTK_TYPE_ENTRY_ACCESSIBLE
GtkEntryAccessible
GtkEntryAccessibleClass
GtkEntryAccessiblePrivate
gtk_entry_accessible_get_type
gtk_entry_icon_accessible_get_type
gtkentrybuffer
GtkEntryBuffer
GTK_ENTRY_BUFFER_MAX_SIZE
gtk_entry_buffer_new
gtk_entry_buffer_get_bytes
gtk_entry_buffer_get_length
gtk_entry_buffer_get_text
gtk_entry_buffer_set_text
gtk_entry_buffer_set_max_length
gtk_entry_buffer_get_max_length
gtk_entry_buffer_insert_text
gtk_entry_buffer_delete_text
gtk_entry_buffer_emit_inserted_text
gtk_entry_buffer_emit_deleted_text
GTK_ENTRY_BUFFER
GTK_ENTRY_BUFFER_CLASS
GTK_ENTRY_BUFFER_GET_CLASS
GTK_IS_ENTRY_BUFFER
GTK_IS_ENTRY_BUFFER_CLASS
GTK_TYPE_ENTRY_BUFFER
GtkEntryBuffer
GtkEntryBufferClass
gtk_entry_buffer_get_type
gtkentrycompletion
GtkEntryCompletionMatchFunc
gtk_entry_completion_new
gtk_entry_completion_new_with_area
gtk_entry_completion_get_entry
gtk_entry_completion_set_model
gtk_entry_completion_get_model
gtk_entry_completion_set_match_func
gtk_entry_completion_set_minimum_key_length
gtk_entry_completion_get_minimum_key_length
gtk_entry_completion_compute_prefix
gtk_entry_completion_complete
gtk_entry_completion_insert_prefix
gtk_entry_completion_insert_action_text
gtk_entry_completion_insert_action_markup
gtk_entry_completion_delete_action
gtk_entry_completion_set_inline_completion
gtk_entry_completion_get_inline_completion
gtk_entry_completion_set_inline_selection
gtk_entry_completion_get_inline_selection
gtk_entry_completion_set_popup_completion
gtk_entry_completion_get_popup_completion
gtk_entry_completion_set_popup_set_width
gtk_entry_completion_get_popup_set_width
gtk_entry_completion_set_popup_single_match
gtk_entry_completion_get_popup_single_match
gtk_entry_completion_get_completion_prefix
gtk_entry_completion_set_text_column
gtk_entry_completion_get_text_column
GTK_ENTRY_COMPLETION
GTK_IS_ENTRY_COMPLETION
GTK_TYPE_ENTRY_COMPLETION
GtkEntryCompletion
gtk_entry_completion_get_type
gtkenums
GtkAlign
GtkArrowType
GtkBaselinePosition
GtkDeleteType
GtkDirectionType
GtkIconSize
GtkSensitivityType
GtkTextDirection
GtkJustification
GtkMenuDirectionType
GtkMessageType
GtkMovementStep
GtkScrollStep
GtkOrientation
GtkOverflow
GtkPackType
GtkPositionType
GtkReliefStyle
GtkScrollType
GtkSelectionMode
GtkShadowType
GtkWrapMode
GtkSortType
GtkPrintPages
GtkPageSet
GtkNumberUpLayout
GtkPageOrientation
GtkPrintQuality
GtkPrintDuplex
GtkUnit
GTK_UNIT_PIXEL
GtkTreeViewGridLines
GtkSizeGroupMode
GtkSizeRequestMode
GtkScrollablePolicy
GtkStateFlags
GtkBorderStyle
GtkLevelBarMode
GtkInputPurpose
GtkInputHints
GtkPropagationPhase
GtkPropagationLimit
GtkEventSequenceState
GtkPanDirection
GtkPopoverConstraint
GtkPlacesOpenFlags
GtkPickFlags
GtkConstraintRelation
GtkConstraintStrength
GtkConstraintAttribute
GtkConstraintVflParserError
gtkeventcontroller
GtkEventController
gtk_event_controller_get_widget
gtk_event_controller_handle_event
gtk_event_controller_reset
gtk_event_controller_get_propagation_phase
gtk_event_controller_set_propagation_phase
gtk_event_controller_get_propagation_limit
gtk_event_controller_set_propagation_limit
gtk_event_controller_get_name
gtk_event_controller_set_name
GTK_EVENT_CONTROLLER
GTK_EVENT_CONTROLLER_CLASS
GTK_EVENT_CONTROLLER_GET_CLASS
GTK_IS_EVENT_CONTROLLER
GTK_IS_EVENT_CONTROLLER_CLASS
GTK_TYPE_EVENT_CONTROLLER
GtkEventControllerClass
gtk_event_controller_get_type
gtkeventcontrollerkey
GtkEventControllerKey
gtk_event_controller_key_new
gtk_event_controller_key_set_im_context
gtk_event_controller_key_get_im_context
gtk_event_controller_key_forward
gtk_event_controller_key_get_group
gtk_event_controller_key_get_focus_origin
gtk_event_controller_key_get_focus_target
gtk_event_controller_key_contains_focus
gtk_event_controller_key_is_focus
GTK_EVENT_CONTROLLER_KEY
GTK_EVENT_CONTROLLER_KEY_CLASS
GTK_EVENT_CONTROLLER_KEY_GET_CLASS
GTK_IS_EVENT_CONTROLLER_KEY
GTK_IS_EVENT_CONTROLLER_KEY_CLASS
GTK_TYPE_EVENT_CONTROLLER_KEY
GtkEventControllerKey
GtkEventControllerKeyClass
gtk_event_controller_key_get_type
gtkeventcontrollerlegacy
GtkEventControllerLegacy
gtk_event_controller_legacy_new
GTK_EVENT_CONTROLLER_LEGACY
GTK_EVENT_CONTROLLER_LEGACY_CLASS
GTK_EVENT_CONTROLLER_LEGACY_GET_CLASS
GTK_IS_EVENT_CONTROLLER_LEGACY
GTK_IS_EVENT_CONTROLLER_LEGACY_CLASS
GTK_TYPE_EVENT_CONTROLLER_LEGACY
GtkEventControllerLegacy
GtkEventControllerLegacyClass
gtk_event_controller_legacy_get_type
gtkeventcontrollermotion
GtkEventControllerMotion
gtk_event_controller_motion_new
gtk_event_controller_motion_get_pointer_origin
gtk_event_controller_motion_get_pointer_target
gtk_event_controller_motion_contains_pointer
gtk_event_controller_motion_is_pointer
GTK_EVENT_CONTROLLER_MOTION
GTK_EVENT_CONTROLLER_MOTION_CLASS
GTK_EVENT_CONTROLLER_MOTION_GET_CLASS
GTK_IS_EVENT_CONTROLLER_MOTION
GTK_IS_EVENT_CONTROLLER_MOTION_CLASS
GTK_TYPE_EVENT_CONTROLLER_MOTION
GtkEventControllerMotion
GtkEventControllerMotionClass
gtk_event_controller_motion_get_type
gtkeventcontrollerscroll
GtkEventControllerScroll
GtkEventControllerScrollFlags
gtk_event_controller_scroll_new
gtk_event_controller_scroll_set_flags
gtk_event_controller_scroll_get_flags
GTK_EVENT_CONTROLLER_SCROLL
GTK_EVENT_CONTROLLER_SCROLL_CLASS
GTK_EVENT_CONTROLLER_SCROLL_GET_CLASS
GTK_IS_EVENT_CONTROLLER_SCROLL
GTK_IS_EVENT_CONTROLLER_SCROLL_CLASS
GTK_TYPE_EVENT_CONTROLLER_SCROLL
GtkEventControllerScroll
GtkEventControllerScrollClass
gtk_event_controller_scroll_get_type
gtkexpander
gtk_expander_new
gtk_expander_new_with_mnemonic
gtk_expander_set_expanded
gtk_expander_get_expanded
gtk_expander_set_label
gtk_expander_get_label
gtk_expander_set_use_underline
gtk_expander_get_use_underline
gtk_expander_set_use_markup
gtk_expander_get_use_markup
gtk_expander_set_label_widget
gtk_expander_get_label_widget
gtk_expander_set_resize_toplevel
gtk_expander_get_resize_toplevel
GTK_EXPANDER
GTK_IS_EXPANDER
GTK_TYPE_EXPANDER
GtkExpander
gtk_expander_get_type
gtkexpanderaccessible
GtkExpanderAccessible
GTK_EXPANDER_ACCESSIBLE
GTK_EXPANDER_ACCESSIBLE_CLASS
GTK_EXPANDER_ACCESSIBLE_GET_CLASS
GTK_IS_EXPANDER_ACCESSIBLE
GTK_IS_EXPANDER_ACCESSIBLE_CLASS
GTK_TYPE_EXPANDER_ACCESSIBLE
GtkExpanderAccessible
GtkExpanderAccessibleClass
GtkExpanderAccessiblePrivate
gtk_expander_accessible_get_type
gtkfilechooser
GtkFileChooserAction
GtkFileChooserConfirmation
GTK_FILE_CHOOSER_ERROR
GtkFileChooserError
gtk_file_chooser_error_quark
gtk_file_chooser_set_action
gtk_file_chooser_get_action
gtk_file_chooser_set_local_only
gtk_file_chooser_get_local_only
gtk_file_chooser_set_select_multiple
gtk_file_chooser_get_select_multiple
gtk_file_chooser_set_show_hidden
gtk_file_chooser_get_show_hidden
gtk_file_chooser_set_do_overwrite_confirmation
gtk_file_chooser_get_do_overwrite_confirmation
gtk_file_chooser_set_create_folders
gtk_file_chooser_get_create_folders
gtk_file_chooser_set_current_name
gtk_file_chooser_get_current_name
gtk_file_chooser_get_filename
gtk_file_chooser_set_filename
gtk_file_chooser_select_filename
gtk_file_chooser_unselect_filename
gtk_file_chooser_select_all
gtk_file_chooser_unselect_all
gtk_file_chooser_get_filenames
gtk_file_chooser_set_current_folder
gtk_file_chooser_get_current_folder
gtk_file_chooser_get_uri
gtk_file_chooser_set_uri
gtk_file_chooser_select_uri
gtk_file_chooser_unselect_uri
gtk_file_chooser_get_uris
gtk_file_chooser_set_current_folder_uri
gtk_file_chooser_get_current_folder_uri
gtk_file_chooser_get_file
gtk_file_chooser_set_file
gtk_file_chooser_select_file
gtk_file_chooser_unselect_file
gtk_file_chooser_get_files
gtk_file_chooser_set_current_folder_file
gtk_file_chooser_get_current_folder_file
gtk_file_chooser_set_preview_widget
gtk_file_chooser_get_preview_widget
gtk_file_chooser_set_preview_widget_active
gtk_file_chooser_get_preview_widget_active
gtk_file_chooser_set_use_preview_label
gtk_file_chooser_get_use_preview_label
gtk_file_chooser_get_preview_filename
gtk_file_chooser_get_preview_uri
gtk_file_chooser_get_preview_file
gtk_file_chooser_set_extra_widget
gtk_file_chooser_get_extra_widget
gtk_file_chooser_add_filter
gtk_file_chooser_remove_filter
gtk_file_chooser_list_filters
gtk_file_chooser_set_filter
gtk_file_chooser_get_filter
gtk_file_chooser_add_shortcut_folder
gtk_file_chooser_remove_shortcut_folder
gtk_file_chooser_list_shortcut_folders
gtk_file_chooser_add_shortcut_folder_uri
gtk_file_chooser_remove_shortcut_folder_uri
gtk_file_chooser_list_shortcut_folder_uris
gtk_file_chooser_add_choice
gtk_file_chooser_remove_choice
gtk_file_chooser_set_choice
gtk_file_chooser_get_choice
GTK_FILE_CHOOSER
GTK_IS_FILE_CHOOSER
GTK_TYPE_FILE_CHOOSER
GtkFileChooser
gtk_file_chooser_get_type
gtkfilechooserbutton
gtk_file_chooser_button_new
gtk_file_chooser_button_new_with_dialog
gtk_file_chooser_button_get_title
gtk_file_chooser_button_set_title
gtk_file_chooser_button_get_width_chars
gtk_file_chooser_button_set_width_chars
GTK_FILE_CHOOSER_BUTTON
GTK_IS_FILE_CHOOSER_BUTTON
GTK_TYPE_FILE_CHOOSER_BUTTON
GtkFileChooserButton
gtk_file_chooser_button_get_type
gtkfilechooserdialog
gtk_file_chooser_dialog_new
GTK_FILE_CHOOSER_DIALOG
GTK_IS_FILE_CHOOSER_DIALOG
GTK_TYPE_FILE_CHOOSER_DIALOG
GtkFileChooserDialog
gtk_file_chooser_dialog_get_type
gtkfilechooserembed
GtkFileChooserEmbed
GTK_FILE_CHOOSER_EMBED
GTK_FILE_CHOOSER_EMBED_GET_IFACE
GTK_IS_FILE_CHOOSER_EMBED
GTK_TYPE_FILE_CHOOSER_EMBED
GtkFileChooserEmbed
GtkFileChooserEmbedIface
gtkfilechooserentry
GTK_FILE_CHOOSER_ENTRY
GTK_IS_FILE_CHOOSER_ENTRY
GTK_TYPE_FILE_CHOOSER_ENTRY
GtkFileChooserEntry
gtkfilechoosernative
GTK_TYPE_FILE_CHOOSER_NATIVE
gtk_file_chooser_native_new
gtk_file_chooser_native_get_accept_label
gtk_file_chooser_native_set_accept_label
gtk_file_chooser_native_get_cancel_label
gtk_file_chooser_native_set_cancel_label
GtkFileChooserNative
gtkfilechooserutils
GTK_FILE_CHOOSER_DELEGATE_QUARK
GtkFileChooserProp
gtkfilechooserwidget
gtk_file_chooser_widget_new
GTK_FILE_CHOOSER_WIDGET
GTK_IS_FILE_CHOOSER_WIDGET
GTK_TYPE_FILE_CHOOSER_WIDGET
GtkFileChooserWidget
gtk_file_chooser_widget_get_type
gtkfilefilter
GtkFileFilterFlags
GtkFileFilterFunc
GtkFileFilterInfo
gtk_file_filter_new
gtk_file_filter_set_name
gtk_file_filter_get_name
gtk_file_filter_add_mime_type
gtk_file_filter_add_pattern
gtk_file_filter_add_pixbuf_formats
gtk_file_filter_add_custom
gtk_file_filter_get_needed
gtk_file_filter_filter
gtk_file_filter_to_gvariant
gtk_file_filter_new_from_gvariant
GTK_FILE_FILTER
GTK_IS_FILE_FILTER
GTK_TYPE_FILE_FILTER
GtkFileFilter
gtk_file_filter_get_type
gtkfilesystem
GtkFileSystem
GtkFileSystemVolume
GtkFileSystemGetInfoCallback
GtkFileSystemVolumeMountCallback
GTK_FILE_SYSTEM
GTK_FILE_SYSTEM_CLASS
GTK_FILE_SYSTEM_GET_CLASS
GTK_IS_FILE_SYSTEM
GTK_IS_FILE_SYSTEM_CLASS
GTK_TYPE_FILE_SYSTEM
GtkFileSystem
GtkFileSystemClass
GtkFileSystemPrivate
gtkfilesystemmodel
GtkFileSystemModelGetValue
GTK_FILE_SYSTEM_MODEL
GTK_IS_FILE_SYSTEM_MODEL
GTK_TYPE_FILE_SYSTEM_MODEL
GtkFileSystemModel
gtkfilterlistmodel
GTK_TYPE_FILTER_LIST_MODEL
GtkFilterListModelFilterFunc
gtk_filter_list_model_new
gtk_filter_list_model_new_for_type
gtk_filter_list_model_set_filter_func
gtk_filter_list_model_set_model
gtk_filter_list_model_get_model
gtk_filter_list_model_has_filter
gtk_filter_list_model_refilter
GtkFilterListModel
gtkfixed
GtkFixed
gtk_fixed_new
gtk_fixed_put
gtk_fixed_move
gtk_fixed_get_child_position
gtk_fixed_set_child_transform
gtk_fixed_get_child_transform
GTK_FIXED
GTK_FIXED_CLASS
GTK_FIXED_GET_CLASS
GTK_IS_FIXED
GTK_IS_FIXED_CLASS
GTK_TYPE_FIXED
GtkFixed
GtkFixedClass
gtk_fixed_get_type
gtkfixedlayout
GTK_TYPE_FIXED_LAYOUT
GTK_TYPE_FIXED_LAYOUT_CHILD
gtk_fixed_layout_new
gtk_fixed_layout_child_set_transform
gtk_fixed_layout_child_get_transform
GtkFixedLayout
GtkFixedLayoutChild
gtkflattenlistmodel
GTK_TYPE_FLATTEN_LIST_MODEL
gtk_flatten_list_model_new
gtk_flatten_list_model_set_model
gtk_flatten_list_model_get_model
GtkFlattenListModel
gtkflowbox
GtkFlowBoxChild
GtkFlowBoxCreateWidgetFunc
gtk_flow_box_child_new
gtk_flow_box_child_get_index
gtk_flow_box_child_is_selected
gtk_flow_box_child_changed
gtk_flow_box_new
gtk_flow_box_bind_model
gtk_flow_box_set_homogeneous
gtk_flow_box_get_homogeneous
gtk_flow_box_set_row_spacing
gtk_flow_box_get_row_spacing
gtk_flow_box_set_column_spacing
gtk_flow_box_get_column_spacing
gtk_flow_box_set_min_children_per_line
gtk_flow_box_get_min_children_per_line
gtk_flow_box_set_max_children_per_line
gtk_flow_box_get_max_children_per_line
gtk_flow_box_set_activate_on_single_click
gtk_flow_box_get_activate_on_single_click
gtk_flow_box_insert
gtk_flow_box_get_child_at_index
gtk_flow_box_get_child_at_pos
GtkFlowBoxForeachFunc
gtk_flow_box_selected_foreach
gtk_flow_box_get_selected_children
gtk_flow_box_select_child
gtk_flow_box_unselect_child
gtk_flow_box_select_all
gtk_flow_box_unselect_all
gtk_flow_box_set_selection_mode
gtk_flow_box_get_selection_mode
gtk_flow_box_set_hadjustment
gtk_flow_box_set_vadjustment
GtkFlowBoxFilterFunc
gtk_flow_box_set_filter_func
gtk_flow_box_invalidate_filter
GtkFlowBoxSortFunc
gtk_flow_box_set_sort_func
gtk_flow_box_invalidate_sort
GTK_FLOW_BOX
GTK_FLOW_BOX_CHILD
GTK_FLOW_BOX_CHILD_CLASS
GTK_FLOW_BOX_CHILD_GET_CLASS
GTK_IS_FLOW_BOX
GTK_IS_FLOW_BOX_CHILD
GTK_IS_FLOW_BOX_CHILD_CLASS
GTK_TYPE_FLOW_BOX
GTK_TYPE_FLOW_BOX_CHILD
GtkFlowBox
GtkFlowBoxChild
GtkFlowBoxChildClass
gtk_flow_box_child_get_type
gtk_flow_box_get_type
gtkflowboxaccessible
GtkFlowBoxAccessible
GTK_FLOW_BOX_ACCESSIBLE
GTK_FLOW_BOX_ACCESSIBLE_CLASS
GTK_FLOW_BOX_ACCESSIBLE_GET_CLASS
GTK_IS_FLOW_BOX_ACCESSIBLE
GTK_IS_FLOW_BOX_ACCESSIBLE_CLASS
GTK_TYPE_FLOW_BOX_ACCESSIBLE
GtkFlowBoxAccessible
GtkFlowBoxAccessibleClass
GtkFlowBoxAccessiblePrivate
gtk_flow_box_accessible_get_type
gtkflowboxaccessibleprivate
gtkflowboxchildaccessible
GtkFlowBoxChildAccessible
GTK_FLOW_BOX_CHILD_ACCESSIBLE
GTK_FLOW_BOX_CHILD_ACCESSIBLE_CLASS
GTK_FLOW_BOX_CHILD_ACCESSIBLE_GET_CLASS
GTK_IS_FLOW_BOX_CHILD_ACCESSIBLE
GTK_IS_FLOW_BOX_CHILD_ACCESSIBLE_CLASS
GTK_TYPE_FLOW_BOX_CHILD_ACCESSIBLE
GtkFlowBoxChildAccessible
GtkFlowBoxChildAccessibleClass
gtk_flow_box_child_accessible_get_type
gtkfontbutton
gtk_font_button_new
gtk_font_button_new_with_font
gtk_font_button_get_title
gtk_font_button_set_title
gtk_font_button_get_use_font
gtk_font_button_set_use_font
gtk_font_button_get_use_size
gtk_font_button_set_use_size
GTK_FONT_BUTTON
GTK_IS_FONT_BUTTON
GTK_TYPE_FONT_BUTTON
GtkFontButton
gtk_font_button_get_type
gtkfontchooser
GtkFontChooser
GtkFontFilterFunc
GtkFontChooserLevel
gtk_font_chooser_get_font_family
gtk_font_chooser_get_font_face
gtk_font_chooser_get_font_size
gtk_font_chooser_get_font_desc
gtk_font_chooser_set_font_desc
gtk_font_chooser_get_font
gtk_font_chooser_set_font
gtk_font_chooser_get_preview_text
gtk_font_chooser_set_preview_text
gtk_font_chooser_get_show_preview_entry
gtk_font_chooser_set_show_preview_entry
gtk_font_chooser_set_filter_func
gtk_font_chooser_set_font_map
gtk_font_chooser_get_font_map
gtk_font_chooser_set_level
gtk_font_chooser_get_level
gtk_font_chooser_get_font_features
gtk_font_chooser_get_language
gtk_font_chooser_set_language
GTK_FONT_CHOOSER
GTK_FONT_CHOOSER_GET_IFACE
GTK_IS_FONT_CHOOSER
GTK_TYPE_FONT_CHOOSER
GtkFontChooser
GtkFontChooserIface
gtk_font_chooser_get_type
gtkfontchooserdialog
gtk_font_chooser_dialog_new
GTK_FONT_CHOOSER_DIALOG
GTK_IS_FONT_CHOOSER_DIALOG
GTK_TYPE_FONT_CHOOSER_DIALOG
GtkFontChooserDialog
gtk_font_chooser_dialog_get_type
gtkfontchooserutils
GTK_FONT_CHOOSER_DELEGATE_QUARK
GtkFontChooserProp
gtkfontchooserwidget
gtk_font_chooser_widget_new
GTK_FONT_CHOOSER_WIDGET
GTK_IS_FONT_CHOOSER_WIDGET
GTK_TYPE_FONT_CHOOSER_WIDGET
GtkFontChooserWidget
gtk_font_chooser_widget_get_type
gtkframe
GtkFrame
GtkFrameClass
gtk_frame_new
gtk_frame_set_label
gtk_frame_get_label
gtk_frame_set_label_widget
gtk_frame_get_label_widget
gtk_frame_set_label_align
gtk_frame_get_label_align
gtk_frame_set_shadow_type
gtk_frame_get_shadow_type
GTK_FRAME
GTK_FRAME_CLASS
GTK_FRAME_GET_CLASS
GTK_IS_FRAME
GTK_IS_FRAME_CLASS
GTK_TYPE_FRAME
GtkFrame
gtk_frame_get_type
gtkframeaccessible
GtkFrameAccessible
GTK_FRAME_ACCESSIBLE
GTK_FRAME_ACCESSIBLE_CLASS
GTK_FRAME_ACCESSIBLE_GET_CLASS
GTK_IS_FRAME_ACCESSIBLE
GTK_IS_FRAME_ACCESSIBLE_CLASS
GTK_TYPE_FRAME_ACCESSIBLE
GtkFrameAccessible
GtkFrameAccessibleClass
GtkFrameAccessiblePrivate
gtk_frame_accessible_get_type
gtkgesture
GtkGesture
gtk_gesture_get_device
gtk_gesture_set_state
gtk_gesture_get_sequence_state
gtk_gesture_set_sequence_state
gtk_gesture_get_sequences
gtk_gesture_get_last_updated_sequence
gtk_gesture_handles_sequence
gtk_gesture_get_last_event
gtk_gesture_get_point
gtk_gesture_get_bounding_box
gtk_gesture_get_bounding_box_center
gtk_gesture_is_active
gtk_gesture_is_recognized
gtk_gesture_group
gtk_gesture_ungroup
gtk_gesture_get_group
gtk_gesture_is_grouped_with
GTK_GESTURE
GTK_GESTURE_CLASS
GTK_GESTURE_GET_CLASS
GTK_IS_GESTURE
GTK_IS_GESTURE_CLASS
GTK_TYPE_GESTURE
GtkGestureClass
gtk_gesture_get_type
gtkgestureclick
GtkGestureClick
gtk_gesture_click_new
gtk_gesture_click_set_area
gtk_gesture_click_get_area
GTK_GESTURE_CLICK
GTK_GESTURE_CLICK_CLASS
GTK_GESTURE_CLICK_GET_CLASS
GTK_IS_GESTURE_CLICK
GTK_IS_GESTURE_CLICK_CLASS
GTK_TYPE_GESTURE_CLICK
GtkGestureClick
GtkGestureClickClass
gtk_gesture_click_get_type
gtkgestureclickprivate
GtkGestureClick
GtkGestureClick
GtkGestureClickClass
gtkgesturedrag
GtkGestureDrag
gtk_gesture_drag_new
gtk_gesture_drag_get_start_point
gtk_gesture_drag_get_offset
GTK_GESTURE_DRAG
GTK_GESTURE_DRAG_CLASS
GTK_GESTURE_DRAG_GET_CLASS
GTK_IS_GESTURE_DRAG
GTK_IS_GESTURE_DRAG_CLASS
GTK_TYPE_GESTURE_DRAG
GtkGestureDrag
GtkGestureDragClass
gtk_gesture_drag_get_type
gtkgesturelongpress
GtkGestureLongPress
gtk_gesture_long_press_new
gtk_gesture_long_press_set_delay_factor
gtk_gesture_long_press_get_delay_factor
GTK_GESTURE_LONG_PRESS
GTK_GESTURE_LONG_PRESS_CLASS
GTK_GESTURE_LONG_PRESS_GET_CLASS
GTK_IS_GESTURE_LONG_PRESS
GTK_IS_GESTURE_LONG_PRESS_CLASS
GTK_TYPE_GESTURE_LONG_PRESS
GtkGestureLongPress
GtkGestureLongPressClass
gtk_gesture_long_press_get_type
gtkgesturepan
GtkGesturePan
gtk_gesture_pan_new
gtk_gesture_pan_get_orientation
gtk_gesture_pan_set_orientation
GTK_GESTURE_PAN
GTK_GESTURE_PAN_CLASS
GTK_GESTURE_PAN_GET_CLASS
GTK_IS_GESTURE_PAN
GTK_IS_GESTURE_PAN_CLASS
GTK_TYPE_GESTURE_PAN
GtkGesturePan
GtkGesturePanClass
gtk_gesture_pan_get_type
gtkgesturerotate
GtkGestureRotate
gtk_gesture_rotate_new
gtk_gesture_rotate_get_angle_delta
GTK_GESTURE_ROTATE
GTK_GESTURE_ROTATE_CLASS
GTK_GESTURE_ROTATE_GET_CLASS
GTK_IS_GESTURE_ROTATE
GTK_IS_GESTURE_ROTATE_CLASS
GTK_TYPE_GESTURE_ROTATE
GtkGestureRotate
GtkGestureRotateClass
gtk_gesture_rotate_get_type
gtkgesturesingle
GtkGestureSingle
gtk_gesture_single_get_touch_only
gtk_gesture_single_set_touch_only
gtk_gesture_single_get_exclusive
gtk_gesture_single_set_exclusive
gtk_gesture_single_get_button
gtk_gesture_single_set_button
gtk_gesture_single_get_current_button
gtk_gesture_single_get_current_sequence
GTK_GESTURE_SINGLE
GTK_GESTURE_SINGLE_CLASS
GTK_GESTURE_SINGLE_GET_CLASS
GTK_IS_GESTURE_SINGLE
GTK_IS_GESTURE_SINGLE_CLASS
GTK_TYPE_GESTURE_SINGLE
GtkGestureSingle
GtkGestureSingleClass
gtk_gesture_single_get_type
gtkgesturestylus
GtkGestureStylus
gtk_gesture_stylus_new
gtk_gesture_stylus_get_axis
gtk_gesture_stylus_get_axes
gtk_gesture_stylus_get_backlog
gtk_gesture_stylus_get_device_tool
GTK_GESTURE_STYLUS
GTK_GESTURE_STYLUS_CLASS
GTK_GESTURE_STYLUS_GET_CLASS
GTK_IS_GESTURE_STYLUS
GTK_IS_GESTURE_STYLUS_CLASS
GTK_TYPE_GESTURE_STYLUS
GtkGestureStylus
GtkGestureStylusClass
gtk_gesture_stylus_get_type
gtkgestureswipe
GtkGestureSwipe
gtk_gesture_swipe_new
gtk_gesture_swipe_get_velocity
GTK_GESTURE_SWIPE
GTK_GESTURE_SWIPE_CLASS
GTK_GESTURE_SWIPE_GET_CLASS
GTK_IS_GESTURE_SWIPE
GTK_IS_GESTURE_SWIPE_CLASS
GTK_TYPE_GESTURE_SWIPE
GtkGestureSwipe
GtkGestureSwipeClass
gtk_gesture_swipe_get_type
gtkgesturezoom
GtkGestureZoom
gtk_gesture_zoom_new
gtk_gesture_zoom_get_scale_delta
GTK_GESTURE_ZOOM
GTK_GESTURE_ZOOM_CLASS
GTK_GESTURE_ZOOM_GET_CLASS
GTK_IS_GESTURE_ZOOM
GTK_IS_GESTURE_ZOOM_CLASS
GTK_TYPE_GESTURE_ZOOM
GtkGestureZoom
GtkGestureZoomClass
gtk_gesture_zoom_get_type
gtkglarea
GtkGLArea
GtkGLArea
GtkGLAreaClass
gtk_gl_area_new
gtk_gl_area_set_use_es
gtk_gl_area_get_use_es
gtk_gl_area_set_required_version
gtk_gl_area_get_required_version
gtk_gl_area_get_has_depth_buffer
gtk_gl_area_set_has_depth_buffer
gtk_gl_area_get_has_stencil_buffer
gtk_gl_area_set_has_stencil_buffer
gtk_gl_area_get_auto_render
gtk_gl_area_set_auto_render
gtk_gl_area_queue_render
gtk_gl_area_get_context
gtk_gl_area_make_current
gtk_gl_area_attach_buffers
gtk_gl_area_set_error
gtk_gl_area_get_error
GTK_GL_AREA
GTK_GL_AREA_CLASS
GTK_GL_AREA_GET_CLASS
GTK_IS_GL_AREA
GTK_IS_GL_AREA_CLASS
GTK_TYPE_GL_AREA
gtk_gl_area_get_type
gtkgrid
GtkGrid
GtkGridClass
gtk_grid_new
gtk_grid_attach
gtk_grid_attach_next_to
gtk_grid_get_child_at
gtk_grid_insert_row
gtk_grid_insert_column
gtk_grid_remove_row
gtk_grid_remove_column
gtk_grid_insert_next_to
gtk_grid_set_row_homogeneous
gtk_grid_get_row_homogeneous
gtk_grid_set_row_spacing
gtk_grid_get_row_spacing
gtk_grid_set_column_homogeneous
gtk_grid_get_column_homogeneous
gtk_grid_set_column_spacing
gtk_grid_get_column_spacing
gtk_grid_set_row_baseline_position
gtk_grid_get_row_baseline_position
gtk_grid_set_baseline_row
gtk_grid_get_baseline_row
gtk_grid_query_child
GTK_GRID
GTK_GRID_CLASS
GTK_GRID_GET_CLASS
GTK_IS_GRID
GTK_IS_GRID_CLASS
GTK_TYPE_GRID
GtkGrid
gtk_grid_get_type
gtkgridlayout
GTK_TYPE_GRID_LAYOUT
GTK_TYPE_GRID_LAYOUT_CHILD
gtk_grid_layout_new
gtk_grid_layout_set_row_homogeneous
gtk_grid_layout_get_row_homogeneous
gtk_grid_layout_set_row_spacing
gtk_grid_layout_get_row_spacing
gtk_grid_layout_set_column_homogeneous
gtk_grid_layout_get_column_homogeneous
gtk_grid_layout_set_column_spacing
gtk_grid_layout_get_column_spacing
gtk_grid_layout_set_row_baseline_position
gtk_grid_layout_get_row_baseline_position
gtk_grid_layout_set_baseline_row
gtk_grid_layout_get_baseline_row
gtk_grid_layout_child_set_top_attach
gtk_grid_layout_child_get_top_attach
gtk_grid_layout_child_set_left_attach
gtk_grid_layout_child_get_left_attach
gtk_grid_layout_child_set_column_span
gtk_grid_layout_child_get_column_span
gtk_grid_layout_child_set_row_span
gtk_grid_layout_child_get_row_span
GtkGridLayout
GtkGridLayoutChild
gtkheaderbar
gtk_header_bar_new
gtk_header_bar_set_title
gtk_header_bar_get_title
gtk_header_bar_set_subtitle
gtk_header_bar_get_subtitle
gtk_header_bar_set_custom_title
gtk_header_bar_get_custom_title
gtk_header_bar_pack_start
gtk_header_bar_pack_end
gtk_header_bar_get_show_title_buttons
gtk_header_bar_set_show_title_buttons
gtk_header_bar_set_has_subtitle
gtk_header_bar_get_has_subtitle
gtk_header_bar_set_decoration_layout
gtk_header_bar_get_decoration_layout
GTK_HEADER_BAR
GTK_IS_HEADER_BAR
GTK_TYPE_HEADER_BAR
GtkHeaderBar
gtk_header_bar_get_type
gtkicontheme
GtkIconLookupFlags
GTK_ICON_THEME_ERROR
GtkIconThemeError
gtk_icon_theme_error_quark
gtk_icon_theme_new
gtk_icon_theme_get_for_display
gtk_icon_theme_set_display
gtk_icon_theme_set_search_path
gtk_icon_theme_get_search_path
gtk_icon_theme_append_search_path
gtk_icon_theme_prepend_search_path
gtk_icon_theme_add_resource_path
gtk_icon_theme_set_custom_theme
gtk_icon_theme_has_icon
gtk_icon_theme_get_icon_sizes
gtk_icon_theme_lookup_icon
gtk_icon_theme_lookup_by_gicon
gtk_icon_paintable_new_for_file
gtk_icon_theme_list_icons
gtk_icon_paintable_get_file
gtk_icon_paintable_get_icon_name
gtk_icon_paintable_is_symbolic
GTK_ICON_PAINTABLE
GTK_ICON_THEME
GTK_IS_ICON_PAINTABLE
GTK_IS_ICON_THEME
GTK_TYPE_ICON_PAINTABLE
GTK_TYPE_ICON_THEME
GtkIconPaintable
GtkIconTheme
gtk_icon_paintable_get_type
gtk_icon_theme_get_type
gtkiconview
GtkIconViewForeachFunc
GtkIconViewDropPosition
gtk_icon_view_new
gtk_icon_view_new_with_area
gtk_icon_view_new_with_model
gtk_icon_view_set_model
gtk_icon_view_get_model
gtk_icon_view_set_text_column
gtk_icon_view_get_text_column
gtk_icon_view_set_markup_column
gtk_icon_view_get_markup_column
gtk_icon_view_set_pixbuf_column
gtk_icon_view_get_pixbuf_column
gtk_icon_view_set_item_orientation
gtk_icon_view_get_item_orientation
gtk_icon_view_set_columns
gtk_icon_view_get_columns
gtk_icon_view_set_item_width
gtk_icon_view_get_item_width
gtk_icon_view_set_spacing
gtk_icon_view_get_spacing
gtk_icon_view_set_row_spacing
gtk_icon_view_get_row_spacing
gtk_icon_view_set_column_spacing
gtk_icon_view_get_column_spacing
gtk_icon_view_set_margin
gtk_icon_view_get_margin
gtk_icon_view_set_item_padding
gtk_icon_view_get_item_padding
gtk_icon_view_get_path_at_pos
gtk_icon_view_get_item_at_pos
gtk_icon_view_get_visible_range
gtk_icon_view_set_activate_on_single_click
gtk_icon_view_get_activate_on_single_click
gtk_icon_view_selected_foreach
gtk_icon_view_set_selection_mode
gtk_icon_view_get_selection_mode
gtk_icon_view_select_path
gtk_icon_view_unselect_path
gtk_icon_view_path_is_selected
gtk_icon_view_get_item_row
gtk_icon_view_get_item_column
gtk_icon_view_get_selected_items
gtk_icon_view_select_all
gtk_icon_view_unselect_all
gtk_icon_view_item_activated
gtk_icon_view_set_cursor
gtk_icon_view_get_cursor
gtk_icon_view_scroll_to_path
gtk_icon_view_enable_model_drag_source
gtk_icon_view_enable_model_drag_dest
gtk_icon_view_unset_model_drag_source
gtk_icon_view_unset_model_drag_dest
gtk_icon_view_set_reorderable
gtk_icon_view_get_reorderable
gtk_icon_view_set_drag_dest_item
gtk_icon_view_get_drag_dest_item
gtk_icon_view_get_dest_item_at_pos
gtk_icon_view_create_drag_icon
gtk_icon_view_get_cell_rect
gtk_icon_view_set_tooltip_item
gtk_icon_view_set_tooltip_cell
gtk_icon_view_get_tooltip_context
gtk_icon_view_set_tooltip_column
gtk_icon_view_get_tooltip_column
GTK_ICON_VIEW
GTK_IS_ICON_VIEW
GTK_TYPE_ICON_VIEW
GtkIconView
gtk_icon_view_get_type
gtkiconviewaccessible
GtkIconViewAccessible
GTK_ICON_VIEW_ACCESSIBLE
GTK_ICON_VIEW_ACCESSIBLE_CLASS
GTK_ICON_VIEW_ACCESSIBLE_GET_CLASS
GTK_IS_ICON_VIEW_ACCESSIBLE
GTK_IS_ICON_VIEW_ACCESSIBLE_CLASS
GTK_TYPE_ICON_VIEW_ACCESSIBLE
GtkIconViewAccessible
GtkIconViewAccessibleClass
GtkIconViewAccessiblePrivate
gtk_icon_view_accessible_get_type
gtkiconviewaccessibleprivate
gtkimage
GtkImageType
gtk_image_new
gtk_image_new_from_file
gtk_image_new_from_resource
gtk_image_new_from_pixbuf
gtk_image_new_from_paintable
gtk_image_new_from_icon_name
gtk_image_new_from_gicon
gtk_image_clear
gtk_image_set_from_file
gtk_image_set_from_resource
gtk_image_set_from_pixbuf
gtk_image_set_from_paintable
gtk_image_set_from_icon_name
gtk_image_set_from_gicon
gtk_image_set_pixel_size
gtk_image_set_icon_size
gtk_image_get_storage_type
gtk_image_get_paintable
gtk_image_get_icon_name
gtk_image_get_gicon
gtk_image_get_pixel_size
gtk_image_get_icon_size
GTK_IMAGE
GTK_IS_IMAGE
GTK_TYPE_IMAGE
GtkImage
gtk_image_get_type
gtkimageaccessible
GtkImageAccessible
GTK_IMAGE_ACCESSIBLE
GTK_IMAGE_ACCESSIBLE_CLASS
GTK_IMAGE_ACCESSIBLE_GET_CLASS
GTK_IS_IMAGE_ACCESSIBLE
GTK_IS_IMAGE_ACCESSIBLE_CLASS
GTK_TYPE_IMAGE_ACCESSIBLE
GtkImageAccessible
GtkImageAccessibleClass
GtkImageAccessiblePrivate
gtk_image_accessible_get_type
gtkimagecellaccessible
GtkImageCellAccessible
GTK_IMAGE_CELL_ACCESSIBLE
GTK_IMAGE_CELL_ACCESSIBLE_CLASS
GTK_IMAGE_CELL_ACCESSIBLE_GET_CLASS
GTK_IS_IMAGE_CELL_ACCESSIBLE
GTK_IS_IMAGE_CELL_ACCESSIBLE_CLASS
GTK_TYPE_IMAGE_CELL_ACCESSIBLE
GtkImageCellAccessible
GtkImageCellAccessibleClass
GtkImageCellAccessiblePrivate
gtk_image_cell_accessible_get_type
gtkimcontext
GtkIMContext
gtk_im_context_set_client_widget
gtk_im_context_get_preedit_string
gtk_im_context_filter_keypress
gtk_im_context_focus_in
gtk_im_context_focus_out
gtk_im_context_reset
gtk_im_context_set_cursor_location
gtk_im_context_set_use_preedit
gtk_im_context_set_surrounding
gtk_im_context_get_surrounding
gtk_im_context_delete_surrounding
GTK_IM_CONTEXT
GTK_IM_CONTEXT_CLASS
GTK_IM_CONTEXT_GET_CLASS
GTK_IS_IM_CONTEXT
GTK_IS_IM_CONTEXT_CLASS
GTK_TYPE_IM_CONTEXT
GtkIMContext
GtkIMContextClass
gtk_im_context_get_type
gtkimcontextbroadway
gtk_im_context_broadway_get_type
gtkimcontextime
GtkIMContextIME
gtk_im_context_ime_register_type
gtk_im_context_ime_new
GTK_IM_CONTEXT_IME
GTK_IM_CONTEXT_IME_CLASS
GTK_IM_CONTEXT_IME_GET_CLASS
GTK_IS_IM_CONTEXT_IME
GTK_IS_IM_CONTEXT_IME_CLASS
GTK_TYPE_IM_CONTEXT_IME
GtkIMContextIME
GtkIMContextIMEClass
GtkIMContextIMEPrivate
gtk_im_context_ime_get_type
gtkimcontextquartz
gtk_im_context_quartz_get_type
gtkimcontextsimple
GtkIMContextSimple
GTK_MAX_COMPOSE_LEN
gtk_im_context_simple_new
gtk_im_context_simple_add_table
gtk_im_context_simple_add_compose_file
GTK_IM_CONTEXT_SIMPLE
GTK_IM_CONTEXT_SIMPLE_CLASS
GTK_IM_CONTEXT_SIMPLE_GET_CLASS
GTK_IS_IM_CONTEXT_SIMPLE
GTK_IS_IM_CONTEXT_SIMPLE_CLASS
GTK_TYPE_IM_CONTEXT_SIMPLE
GtkIMContextSimple
GtkIMContextSimpleClass
GtkIMContextSimplePrivate
gtk_im_context_simple_get_type
gtkimcontextwayland
gtk_im_context_wayland_get_type
gtkimmodule
gtk_im_modules_init
GTK_IM_MODULE_EXTENSION_POINT_NAME
gtkimmulticontext
GtkIMMulticontext
gtk_im_multicontext_new
gtk_im_multicontext_get_context_id
gtk_im_multicontext_set_context_id
GTK_IM_MULTICONTEXT
GTK_IM_MULTICONTEXT_CLASS
GTK_IM_MULTICONTEXT_GET_CLASS
GTK_IS_IM_MULTICONTEXT
GTK_IS_IM_MULTICONTEXT_CLASS
GTK_TYPE_IM_MULTICONTEXT
GtkIMMulticontext
GtkIMMulticontextClass
GtkIMMulticontextPrivate
gtk_im_multicontext_get_type
gtkinfobar
gtk_info_bar_new
gtk_info_bar_new_with_buttons
gtk_info_bar_get_action_area
gtk_info_bar_get_content_area
gtk_info_bar_add_action_widget
gtk_info_bar_add_button
gtk_info_bar_add_buttons
gtk_info_bar_set_response_sensitive
gtk_info_bar_set_default_response
gtk_info_bar_response
gtk_info_bar_set_message_type
gtk_info_bar_get_message_type
gtk_info_bar_set_show_close_button
gtk_info_bar_get_show_close_button
gtk_info_bar_set_revealed
gtk_info_bar_get_revealed
GTK_INFO_BAR
GTK_IS_INFO_BAR
GTK_TYPE_INFO_BAR
GtkInfoBar
gtk_info_bar_get_type
gtkistringprivate
istring_is_inline
istring_str
istring_clear
istring_set
istring_empty
istring_ends_with_space
istring_starts_with_space
istring_contains_unichar
istring_only_contains_space
istring_contains_space
istring_prepend
istring_append
gtklabel
gtk_label_new
gtk_label_new_with_mnemonic
gtk_label_set_text
gtk_label_get_text
gtk_label_set_attributes
gtk_label_get_attributes
gtk_label_set_label
gtk_label_get_label
gtk_label_set_markup
gtk_label_set_use_markup
gtk_label_get_use_markup
gtk_label_set_use_underline
gtk_label_get_use_underline
gtk_label_set_markup_with_mnemonic
gtk_label_get_mnemonic_keyval
gtk_label_set_mnemonic_widget
gtk_label_get_mnemonic_widget
gtk_label_set_text_with_mnemonic
gtk_label_set_justify
gtk_label_get_justify
gtk_label_set_ellipsize
gtk_label_get_ellipsize
gtk_label_set_width_chars
gtk_label_get_width_chars
gtk_label_set_max_width_chars
gtk_label_get_max_width_chars
gtk_label_set_lines
gtk_label_get_lines
gtk_label_set_pattern
gtk_label_set_wrap
gtk_label_get_wrap
gtk_label_set_wrap_mode
gtk_label_get_wrap_mode
gtk_label_set_selectable
gtk_label_get_selectable
gtk_label_select_region
gtk_label_get_selection_bounds
gtk_label_get_layout
gtk_label_get_layout_offsets
gtk_label_set_single_line_mode
gtk_label_get_single_line_mode
gtk_label_get_current_uri
gtk_label_set_track_visited_links
gtk_label_get_track_visited_links
gtk_label_set_xalign
gtk_label_get_xalign
gtk_label_set_yalign
gtk_label_get_yalign
gtk_label_set_extra_menu
gtk_label_get_extra_menu
GTK_IS_LABEL
GTK_LABEL
GTK_TYPE_LABEL
GtkLabel
gtk_label_get_type
gtklabelaccessible
GtkLabelAccessible
GTK_IS_LABEL_ACCESSIBLE
GTK_IS_LABEL_ACCESSIBLE_CLASS
GTK_LABEL_ACCESSIBLE
GTK_LABEL_ACCESSIBLE_CLASS
GTK_LABEL_ACCESSIBLE_GET_CLASS
GTK_TYPE_LABEL_ACCESSIBLE
GtkLabelAccessible
GtkLabelAccessibleClass
GtkLabelAccessiblePrivate
gtk_label_accessible_get_type
gtklabelaccessibleprivate
gtklayoutchild
GtkLayoutChild
GTK_TYPE_LAYOUT_CHILD
GtkLayoutChildClass
gtk_layout_child_get_layout_manager
gtk_layout_child_get_child_widget
GtkLayoutChild
gtklayoutmanager
GtkLayoutManager
GTK_TYPE_LAYOUT_MANAGER
GtkLayoutManagerClass
gtk_layout_manager_measure
gtk_layout_manager_allocate
gtk_layout_manager_get_request_mode
gtk_layout_manager_get_widget
gtk_layout_manager_layout_changed
gtk_layout_manager_get_layout_child
GtkLayoutManager
gtklayoutmanagerprivate
gtk_layout_manager_set_widget
gtk_layout_manager_remove_layout_child
gtk_layout_manager_set_root
gtklevelbar
GTK_LEVEL_BAR_OFFSET_LOW
GTK_LEVEL_BAR_OFFSET_HIGH
GTK_LEVEL_BAR_OFFSET_FULL
gtk_level_bar_new
gtk_level_bar_new_for_interval
gtk_level_bar_set_mode
gtk_level_bar_get_mode
gtk_level_bar_set_value
gtk_level_bar_get_value
gtk_level_bar_set_min_value
gtk_level_bar_get_min_value
gtk_level_bar_set_max_value
gtk_level_bar_get_max_value
gtk_level_bar_set_inverted
gtk_level_bar_get_inverted
gtk_level_bar_add_offset_value
gtk_level_bar_remove_offset_value
gtk_level_bar_get_offset_value
GTK_IS_LEVEL_BAR
GTK_LEVEL_BAR
GTK_TYPE_LEVEL_BAR
GtkLevelBar
gtk_level_bar_get_type
gtklevelbaraccessible
GtkLevelBarAccessible
GTK_IS_LEVEL_BAR_ACCESSIBLE
GTK_IS_LEVEL_BAR_ACCESSIBLE_CLASS
GTK_LEVEL_BAR_ACCESSIBLE
GTK_LEVEL_BAR_ACCESSIBLE_CLASS
GTK_LEVEL_BAR_ACCESSIBLE_GET_CLASS
GTK_TYPE_LEVEL_BAR_ACCESSIBLE
GtkLevelBarAccessible
GtkLevelBarAccessibleClass
GtkLevelBarAccessiblePrivate
gtk_level_bar_accessible_get_type
gtklinkbutton
gtk_link_button_new
gtk_link_button_new_with_label
gtk_link_button_get_uri
gtk_link_button_set_uri
gtk_link_button_get_visited
gtk_link_button_set_visited
GTK_IS_LINK_BUTTON
GTK_LINK_BUTTON
GTK_TYPE_LINK_BUTTON
GtkLinkButton
gtk_link_button_get_type
gtklinkbuttonaccessible
GtkLinkButtonAccessible
GTK_IS_LINK_BUTTON_ACCESSIBLE
GTK_IS_LINK_BUTTON_ACCESSIBLE_CLASS
GTK_LINK_BUTTON_ACCESSIBLE
GTK_LINK_BUTTON_ACCESSIBLE_CLASS
GTK_LINK_BUTTON_ACCESSIBLE_GET_CLASS
GTK_TYPE_LINK_BUTTON_ACCESSIBLE
GtkLinkButtonAccessible
GtkLinkButtonAccessibleClass
GtkLinkButtonAccessiblePrivate
gtk_link_button_accessible_get_type
gtklistbox
GtkListBoxRow
GtkListBoxRowClass
GtkListBoxFilterFunc
GtkListBoxSortFunc
GtkListBoxUpdateHeaderFunc
GtkListBoxCreateWidgetFunc
gtk_list_box_row_new
gtk_list_box_row_get_header
gtk_list_box_row_set_header
gtk_list_box_row_get_index
gtk_list_box_row_changed
gtk_list_box_row_is_selected
gtk_list_box_row_set_selectable
gtk_list_box_row_get_selectable
gtk_list_box_row_set_activatable
gtk_list_box_row_get_activatable
gtk_list_box_prepend
gtk_list_box_insert
gtk_list_box_get_selected_row
gtk_list_box_get_row_at_index
gtk_list_box_get_row_at_y
gtk_list_box_select_row
gtk_list_box_set_placeholder
gtk_list_box_set_adjustment
gtk_list_box_get_adjustment
GtkListBoxForeachFunc
gtk_list_box_selected_foreach
gtk_list_box_get_selected_rows
gtk_list_box_unselect_row
gtk_list_box_select_all
gtk_list_box_unselect_all
gtk_list_box_set_selection_mode
gtk_list_box_get_selection_mode
gtk_list_box_set_filter_func
gtk_list_box_set_header_func
gtk_list_box_invalidate_filter
gtk_list_box_invalidate_sort
gtk_list_box_invalidate_headers
gtk_list_box_set_sort_func
gtk_list_box_set_activate_on_single_click
gtk_list_box_get_activate_on_single_click
gtk_list_box_drag_unhighlight_row
gtk_list_box_drag_highlight_row
gtk_list_box_new
gtk_list_box_bind_model
gtk_list_box_set_show_separators
gtk_list_box_get_show_separators
GTK_IS_LIST_BOX
GTK_IS_LIST_BOX_ROW
GTK_IS_LIST_BOX_ROW_CLASS
GTK_LIST_BOX
GTK_LIST_BOX_ROW
GTK_LIST_BOX_ROW_CLASS
GTK_LIST_BOX_ROW_GET_CLASS
GTK_TYPE_LIST_BOX
GTK_TYPE_LIST_BOX_ROW
GtkListBox
GtkListBoxRow
gtk_list_box_get_type
gtk_list_box_row_get_type
gtklistboxaccessible
GtkListBoxAccessible
GTK_IS_LIST_BOX_ACCESSIBLE
GTK_IS_LIST_BOX_ACCESSIBLE_CLASS
GTK_LIST_BOX_ACCESSIBLE
GTK_LIST_BOX_ACCESSIBLE_CLASS
GTK_LIST_BOX_ACCESSIBLE_GET_CLASS
GTK_TYPE_LIST_BOX_ACCESSIBLE
GtkListBoxAccessible
GtkListBoxAccessibleClass
GtkListBoxAccessiblePrivate
gtk_list_box_accessible_get_type
gtklistboxaccessibleprivate
gtklistboxrowaccessible
GtkListBoxRowAccessible
GTK_IS_LIST_BOX_ROW_ACCESSIBLE
GTK_IS_LIST_BOX_ROW_ACCESSIBLE_CLASS
GTK_LIST_BOX_ROW_ACCESSIBLE
GTK_LIST_BOX_ROW_ACCESSIBLE_CLASS
GTK_LIST_BOX_ROW_ACCESSIBLE_GET_CLASS
GTK_TYPE_LIST_BOX_ROW_ACCESSIBLE
GtkListBoxRowAccessible
GtkListBoxRowAccessibleClass
gtk_list_box_row_accessible_get_type
gtklistlistmodelprivate
GtkListListModel
gtk_list_list_model_new
gtk_list_list_model_new_with_size
gtk_list_list_model_item_added
gtk_list_list_model_item_added_at
gtk_list_list_model_item_removed
gtk_list_list_model_item_removed_at
gtk_list_list_model_clear
GTK_IS_LIST_LIST_MODEL
GTK_IS_LIST_LIST_MODEL_CLASS
GTK_LIST_LIST_MODEL
GTK_LIST_LIST_MODEL_CLASS
GTK_LIST_LIST_MODEL_GET_CLASS
GTK_TYPE_LIST_LIST_MODEL
GtkListListModel
GtkListListModelClass
gtk_list_list_model_get_type
gtkliststore
GtkListStore
gtk_list_store_new
gtk_list_store_newv
gtk_list_store_set_column_types
gtk_list_store_set_value
gtk_list_store_set
gtk_list_store_set_valuesv
gtk_list_store_set_valist
gtk_list_store_remove
gtk_list_store_insert
gtk_list_store_insert_before
gtk_list_store_insert_after
gtk_list_store_insert_with_values
gtk_list_store_insert_with_valuesv
gtk_list_store_prepend
gtk_list_store_append
gtk_list_store_clear
gtk_list_store_iter_is_valid
gtk_list_store_reorder
gtk_list_store_swap
gtk_list_store_move_after
gtk_list_store_move_before
GTK_IS_LIST_STORE
GTK_IS_LIST_STORE_CLASS
GTK_LIST_STORE
GTK_LIST_STORE_CLASS
GTK_LIST_STORE_GET_CLASS
GTK_TYPE_LIST_STORE
GtkListStore
GtkListStoreClass
GtkListStorePrivate
gtk_list_store_get_type
gtklockbutton
gtk_lock_button_new
gtk_lock_button_get_permission
gtk_lock_button_set_permission
GTK_IS_LOCK_BUTTON
GTK_LOCK_BUTTON
GTK_TYPE_LOCK_BUTTON
GtkLockButton
gtk_lock_button_get_type
gtklockbuttonaccessible
GtkLockButtonAccessible
GTK_IS_LOCK_BUTTON_ACCESSIBLE
GTK_IS_LOCK_BUTTON_ACCESSIBLE_CLASS
GTK_LOCK_BUTTON_ACCESSIBLE
GTK_LOCK_BUTTON_ACCESSIBLE_CLASS
GTK_LOCK_BUTTON_ACCESSIBLE_GET_CLASS
GTK_TYPE_LOCK_BUTTON_ACCESSIBLE
GtkLockButtonAccessible
GtkLockButtonAccessibleClass
GtkLockButtonAccessiblePrivate
gtk_lock_button_accessible_get_type
gtklockbuttonaccessibleprivate
gtkmain
GTK_PRIORITY_RESIZE
gtk_get_major_version
gtk_get_minor_version
gtk_get_micro_version
gtk_get_binary_age
gtk_get_interface_age
gtk_check_version
gtk_init
gtk_init_check
gtk_is_initialized
gtk_init_abi_check
gtk_init_check_abi_check
gtk_disable_setlocale
gtk_get_default_language
gtk_get_locale_direction
gtk_grab_add
gtk_grab_get_current
gtk_grab_remove
gtk_device_grab_add
gtk_device_grab_remove
gtk_get_current_event
gtk_get_current_event_time
gtk_get_current_event_state
gtk_get_current_event_device
gtk_get_event_widget
gtk_get_event_target
gtk_get_event_target_with_type
gtkmaplistmodel
GTK_TYPE_MAP_LIST_MODEL
GtkMapListModelMapFunc
gtk_map_list_model_new
gtk_map_list_model_set_map_func
gtk_map_list_model_set_model
gtk_map_list_model_get_model
gtk_map_list_model_has_map
GtkMapListModel
gtkmediacontrols
GTK_TYPE_MEDIA_CONTROLS
gtk_media_controls_new
gtk_media_controls_get_media_stream
gtk_media_controls_set_media_stream
GtkMediaControls
gtkmediafile
GtkMediaFile
GTK_MEDIA_FILE_EXTENSION_POINT_NAME
GTK_TYPE_MEDIA_FILE
GtkMediaFileClass
gtk_media_file_new
gtk_media_file_new_for_filename
gtk_media_file_new_for_resource
gtk_media_file_new_for_file
gtk_media_file_new_for_input_stream
gtk_media_file_clear
gtk_media_file_set_filename
gtk_media_file_set_resource
gtk_media_file_set_file
gtk_media_file_get_file
gtk_media_file_set_input_stream
gtk_media_file_get_input_stream
GtkMediaFile
gtkmediastream
GtkMediaStream
GTK_TYPE_MEDIA_STREAM
GtkMediaStreamClass
gtk_media_stream_is_prepared
gtk_media_stream_get_error
gtk_media_stream_has_audio
gtk_media_stream_has_video
gtk_media_stream_play
gtk_media_stream_pause
gtk_media_stream_get_playing
gtk_media_stream_set_playing
gtk_media_stream_get_ended
gtk_media_stream_get_timestamp
gtk_media_stream_get_duration
gtk_media_stream_is_seekable
gtk_media_stream_is_seeking
gtk_media_stream_seek
gtk_media_stream_get_loop
gtk_media_stream_set_loop
gtk_media_stream_get_muted
gtk_media_stream_set_muted
gtk_media_stream_get_volume
gtk_media_stream_set_volume
gtk_media_stream_realize
gtk_media_stream_unrealize
gtk_media_stream_prepared
gtk_media_stream_unprepared
gtk_media_stream_update
gtk_media_stream_ended
gtk_media_stream_seek_success
gtk_media_stream_seek_failed
gtk_media_stream_gerror
gtk_media_stream_error
gtk_media_stream_error_valist
GtkMediaStream
gtkmenubutton
GtkMenuButtonCreatePopupFunc
gtk_menu_button_new
gtk_menu_button_set_popover
gtk_menu_button_get_popover
gtk_menu_button_set_direction
gtk_menu_button_get_direction
gtk_menu_button_set_menu_model
gtk_menu_button_get_menu_model
gtk_menu_button_set_align_widget
gtk_menu_button_get_align_widget
gtk_menu_button_set_icon_name
gtk_menu_button_get_icon_name
gtk_menu_button_set_label
gtk_menu_button_get_label
gtk_menu_button_set_relief
gtk_menu_button_get_relief
gtk_menu_button_popup
gtk_menu_button_popdown
gtk_menu_button_set_create_popup_func
GTK_IS_MENU_BUTTON
GTK_MENU_BUTTON
GTK_TYPE_MENU_BUTTON
GtkMenuButton
gtk_menu_button_get_type
gtkmenubuttonaccessible
GtkMenuButtonAccessible
GTK_IS_MENU_BUTTON_ACCESSIBLE
GTK_IS_MENU_BUTTON_ACCESSIBLE_CLASS
GTK_MENU_BUTTON_ACCESSIBLE
GTK_MENU_BUTTON_ACCESSIBLE_CLASS
GTK_MENU_BUTTON_ACCESSIBLE_GET_CLASS
GTK_TYPE_MENU_BUTTON_ACCESSIBLE
GtkMenuButtonAccessible
GtkMenuButtonAccessibleClass
GtkMenuButtonAccessiblePrivate
gtk_menu_button_accessible_get_type
gtkmenusectionboxprivate
gtk_menu_section_box_new_toplevel
GTK_IS_MENU_SECTION_BOX
GTK_IS_MENU_SECTION_BOX_CLASS
GTK_MENU_SECTION_BOX
GTK_MENU_SECTION_BOX_CLASS
GTK_MENU_SECTION_BOX_GET_CLASS
GTK_TYPE_MENU_SECTION_BOX
GtkMenuSectionBox
gtk_menu_section_box_get_type
gtkmenutrackeritemprivate
gtk_menu_tracker_item_get_special
gtk_menu_tracker_item_get_display_hint
gtk_menu_tracker_item_get_text_direction
gtk_menu_tracker_item_get_is_separator
gtk_menu_tracker_item_get_has_link
gtk_menu_tracker_item_get_label
gtk_menu_tracker_item_get_icon
gtk_menu_tracker_item_get_verb_icon
gtk_menu_tracker_item_get_sensitive
gtk_menu_tracker_item_get_role
gtk_menu_tracker_item_get_toggled
gtk_menu_tracker_item_get_accel
gtk_menu_tracker_item_may_disappear
gtk_menu_tracker_item_get_is_visible
gtk_menu_tracker_item_get_should_request_show
gtk_menu_tracker_item_activated
gtk_menu_tracker_item_request_submenu_shown
gtk_menu_tracker_item_get_submenu_shown
GTK_IS_MENU_TRACKER_ITEM
GTK_MENU_TRACKER_ITEM
GTK_TYPE_MENU_TRACKER_ITEM
GTK_TYPE_MENU_TRACKER_ITEM_ROLE
GtkMenuTrackerItem
GtkMenuTrackerItemRole
gtk_menu_tracker_item_get_type
gtk_menu_tracker_item_role_get_type
gtkmenutrackerprivate
GtkMenuTrackerInsertFunc
GtkMenuTrackerRemoveFunc
gtk_menu_tracker_new
gtk_menu_tracker_new_for_item_link
gtk_menu_tracker_free
GtkMenuTracker
gtkmessagedialog
GtkMessageDialog
GtkButtonsType
gtk_message_dialog_new
gtk_message_dialog_new_with_markup
gtk_message_dialog_set_markup
gtk_message_dialog_format_secondary_text
gtk_message_dialog_format_secondary_markup
gtk_message_dialog_get_message_area
GTK_IS_MESSAGE_DIALOG
GTK_MESSAGE_DIALOG
GTK_TYPE_MESSAGE_DIALOG
GtkMessageDialog
GtkMessageDialogClass
gtk_message_dialog_get_type
gtkmnemonichash
GtkMnemonicHash
GtkMnemonicHashForeach
gtkmodelbuttonprivate
GtkButtonRole
gtk_model_button_new
GTK_IS_MODEL_BUTTON
GTK_MODEL_BUTTON
GTK_TYPE_BUTTON_ROLE
GTK_TYPE_MODEL_BUTTON
GtkModelButton
gtk_button_role_get_type
gtk_model_button_get_type
gtkmountoperation
GtkMountOperation
GtkMountOperation
GtkMountOperationClass
gtk_mount_operation_new
gtk_mount_operation_is_showing
gtk_mount_operation_set_parent
gtk_mount_operation_get_parent
gtk_mount_operation_set_display
gtk_mount_operation_get_display
GTK_IS_MOUNT_OPERATION
GTK_IS_MOUNT_OPERATION_CLASS
GTK_MOUNT_OPERATION
GTK_MOUNT_OPERATION_CLASS
GTK_MOUNT_OPERATION_GET_CLASS
GTK_TYPE_MOUNT_OPERATION
GtkMountOperationPrivate
gtk_mount_operation_get_type
gtknative
GtkNative
GTK_TYPE_NATIVE
GtkNativeInterface
gtk_native_get_for_surface
gtk_native_check_resize
gtk_native_get_surface
gtk_native_get_renderer
GtkNative
gtknativedialog
GtkNativeDialog
GTK_TYPE_NATIVE_DIALOG
GtkNativeDialogClass
gtk_native_dialog_show
gtk_native_dialog_hide
gtk_native_dialog_destroy
gtk_native_dialog_get_visible
gtk_native_dialog_set_modal
gtk_native_dialog_get_modal
gtk_native_dialog_set_title
gtk_native_dialog_get_title
gtk_native_dialog_set_transient_for
gtk_native_dialog_get_transient_for
gtk_native_dialog_run
GtkNativeDialog
gtknativeprivate
gtk_native_get_surface_transform
gtknoselection
GTK_TYPE_NO_SELECTION
gtk_no_selection_new
gtk_no_selection_get_model
GtkNoSelection
gtknotebook
GtkNotebookTab
gtk_notebook_new
gtk_notebook_append_page
gtk_notebook_append_page_menu
gtk_notebook_prepend_page
gtk_notebook_prepend_page_menu
gtk_notebook_insert_page
gtk_notebook_insert_page_menu
gtk_notebook_remove_page
gtk_notebook_set_group_name
gtk_notebook_get_group_name
gtk_notebook_get_current_page
gtk_notebook_get_nth_page
gtk_notebook_get_n_pages
gtk_notebook_page_num
gtk_notebook_set_current_page
gtk_notebook_next_page
gtk_notebook_prev_page
gtk_notebook_set_show_border
gtk_notebook_get_show_border
gtk_notebook_set_show_tabs
gtk_notebook_get_show_tabs
gtk_notebook_set_tab_pos
gtk_notebook_get_tab_pos
gtk_notebook_set_scrollable
gtk_notebook_get_scrollable
gtk_notebook_popup_enable
gtk_notebook_popup_disable
gtk_notebook_get_tab_label
gtk_notebook_set_tab_label
gtk_notebook_set_tab_label_text
gtk_notebook_get_tab_label_text
gtk_notebook_get_menu_label
gtk_notebook_set_menu_label
gtk_notebook_set_menu_label_text
gtk_notebook_get_menu_label_text
gtk_notebook_reorder_child
gtk_notebook_get_tab_reorderable
gtk_notebook_set_tab_reorderable
gtk_notebook_get_tab_detachable
gtk_notebook_set_tab_detachable
gtk_notebook_detach_tab
gtk_notebook_get_action_widget
gtk_notebook_set_action_widget
gtk_notebook_get_page
gtk_notebook_page_get_child
gtk_notebook_get_pages
GTK_IS_NOTEBOOK
GTK_IS_NOTEBOOK_PAGE
GTK_NOTEBOOK
GTK_NOTEBOOK_PAGE
GTK_TYPE_NOTEBOOK
GTK_TYPE_NOTEBOOK_PAGE
GtkNotebook
GtkNotebookPage
gtk_notebook_get_type
gtk_notebook_page_get_type
gtknotebookaccessible
GtkNotebookAccessible
GTK_IS_NOTEBOOK_ACCESSIBLE
GTK_IS_NOTEBOOK_ACCESSIBLE_CLASS
GTK_NOTEBOOK_ACCESSIBLE
GTK_NOTEBOOK_ACCESSIBLE_CLASS
GTK_NOTEBOOK_ACCESSIBLE_GET_CLASS
GTK_TYPE_NOTEBOOK_ACCESSIBLE
GtkNotebookAccessible
GtkNotebookAccessibleClass
GtkNotebookAccessiblePrivate
gtk_notebook_accessible_get_type
gtknotebookpageaccessible
GtkNotebookPageAccessible
gtk_notebook_page_accessible_new
gtk_notebook_page_accessible_invalidate
GTK_IS_NOTEBOOK_PAGE_ACCESSIBLE
GTK_IS_NOTEBOOK_PAGE_ACCESSIBLE_CLASS
GTK_NOTEBOOK_PAGE_ACCESSIBLE
GTK_NOTEBOOK_PAGE_ACCESSIBLE_CLASS
GTK_NOTEBOOK_PAGE_ACCESSIBLE_GET_CLASS
GTK_TYPE_NOTEBOOK_PAGE_ACCESSIBLE
GtkNotebookPageAccessible
GtkNotebookPageAccessibleClass
GtkNotebookPageAccessiblePrivate
gtk_notebook_page_accessible_get_type
gtkorientable
GtkOrientable
gtk_orientable_set_orientation
gtk_orientable_get_orientation
GTK_IS_ORIENTABLE
GTK_IS_ORIENTABLE_CLASS
GTK_ORIENTABLE
GTK_ORIENTABLE_CLASS
GTK_ORIENTABLE_GET_IFACE
GTK_TYPE_ORIENTABLE
GtkOrientable
GtkOrientableIface
gtk_orientable_get_type
gtkoverlay
gtk_overlay_new
gtk_overlay_add_overlay
gtk_overlay_get_measure_overlay
gtk_overlay_set_measure_overlay
gtk_overlay_get_clip_overlay
gtk_overlay_set_clip_overlay
GTK_IS_OVERLAY
GTK_OVERLAY
GTK_TYPE_OVERLAY
GtkOverlay
gtk_overlay_get_type
gtkoverlaylayoutprivate
GTK_TYPE_OVERLAY_LAYOUT
GTK_TYPE_OVERLAY_LAYOUT_CHILD
gtk_overlay_layout_new
gtk_overlay_layout_child_set_measure
gtk_overlay_layout_child_get_measure
gtk_overlay_layout_child_set_clip_overlay
gtk_overlay_layout_child_get_clip_overlay
GtkOverlayLayout
GtkOverlayLayoutChild
gtkpadcontroller
GtkPadController
GtkPadActionType
GtkPadActionEntry
gtk_pad_controller_new
gtk_pad_controller_set_action_entries
gtk_pad_controller_set_action
GTK_IS_PAD_CONTROLLER
GTK_IS_PAD_CONTROLLER_CLASS
GTK_PAD_CONTROLLER
GTK_PAD_CONTROLLER_CLASS
GTK_PAD_CONTROLLER_GET_CLASS
GTK_TYPE_PAD_CONTROLLER
GtkPadController
GtkPadControllerClass
gtk_pad_controller_get_type
gtkpagesetup
gtk_page_setup_new
gtk_page_setup_copy
gtk_page_setup_get_orientation
gtk_page_setup_set_orientation
gtk_page_setup_get_paper_size
gtk_page_setup_set_paper_size
gtk_page_setup_get_top_margin
gtk_page_setup_set_top_margin
gtk_page_setup_get_bottom_margin
gtk_page_setup_set_bottom_margin
gtk_page_setup_get_left_margin
gtk_page_setup_set_left_margin
gtk_page_setup_get_right_margin
gtk_page_setup_set_right_margin
gtk_page_setup_set_paper_size_and_default_margins
gtk_page_setup_get_paper_width
gtk_page_setup_get_paper_height
gtk_page_setup_get_page_width
gtk_page_setup_get_page_height
gtk_page_setup_new_from_file
gtk_page_setup_load_file
gtk_page_setup_to_file
gtk_page_setup_new_from_key_file
gtk_page_setup_load_key_file
gtk_page_setup_to_key_file
gtk_page_setup_to_gvariant
gtk_page_setup_new_from_gvariant
GTK_IS_PAGE_SETUP
GTK_PAGE_SETUP
GTK_TYPE_PAGE_SETUP
GtkPageSetup
gtk_page_setup_get_type
gtkpagesetupunixdialog
gtk_page_setup_unix_dialog_new
gtk_page_setup_unix_dialog_set_page_setup
gtk_page_setup_unix_dialog_get_page_setup
gtk_page_setup_unix_dialog_set_print_settings
gtk_page_setup_unix_dialog_get_print_settings
GTK_IS_PAGE_SETUP_UNIX_DIALOG
GTK_PAGE_SETUP_UNIX_DIALOG
GTK_TYPE_PAGE_SETUP_UNIX_DIALOG
GtkPageSetupUnixDialog
gtk_page_setup_unix_dialog_get_type
gtkpaned
gtk_paned_new
gtk_paned_add1
gtk_paned_add2
gtk_paned_pack1
gtk_paned_pack2
gtk_paned_get_position
gtk_paned_set_position
gtk_paned_get_child1
gtk_paned_get_child2
gtk_paned_set_wide_handle
gtk_paned_get_wide_handle
GTK_IS_PANED
GTK_PANED
GTK_TYPE_PANED
GtkPaned
gtk_paned_get_type
gtkpanedaccessible
GtkPanedAccessible
GTK_IS_PANED_ACCESSIBLE
GTK_IS_PANED_ACCESSIBLE_CLASS
GTK_PANED_ACCESSIBLE
GTK_PANED_ACCESSIBLE_CLASS
GTK_PANED_ACCESSIBLE_GET_CLASS
GTK_TYPE_PANED_ACCESSIBLE
GtkPanedAccessible
GtkPanedAccessibleClass
GtkPanedAccessiblePrivate
gtk_paned_accessible_get_type
gtkpapersize
GTK_PAPER_NAME_A3
GTK_PAPER_NAME_A4
GTK_PAPER_NAME_A5
GTK_PAPER_NAME_B5
GTK_PAPER_NAME_LETTER
GTK_PAPER_NAME_EXECUTIVE
GTK_PAPER_NAME_LEGAL
gtk_paper_size_new
gtk_paper_size_new_from_ppd
gtk_paper_size_new_from_ipp
gtk_paper_size_new_custom
gtk_paper_size_copy
gtk_paper_size_free
gtk_paper_size_is_equal
gtk_paper_size_get_paper_sizes
gtk_paper_size_get_name
gtk_paper_size_get_display_name
gtk_paper_size_get_ppd_name
gtk_paper_size_get_width
gtk_paper_size_get_height
gtk_paper_size_is_custom
gtk_paper_size_is_ipp
gtk_paper_size_set_size
gtk_paper_size_get_default_top_margin
gtk_paper_size_get_default_bottom_margin
gtk_paper_size_get_default_left_margin
gtk_paper_size_get_default_right_margin
gtk_paper_size_get_default
gtk_paper_size_new_from_key_file
gtk_paper_size_to_key_file
gtk_paper_size_new_from_gvariant
gtk_paper_size_to_gvariant
GTK_TYPE_PAPER_SIZE
GtkPaperSize
gtk_paper_size_get_type
gtkpasswordentry
GtkPasswordEntry
gtk_password_entry_new
gtk_password_entry_set_show_peek_icon
gtk_password_entry_get_show_peek_icon
gtk_password_entry_set_extra_menu
gtk_password_entry_get_extra_menu
GTK_IS_PASSWORD_ENTRY
GTK_PASSWORD_ENTRY
GTK_TYPE_PASSWORD_ENTRY
GtkPasswordEntry
GtkPasswordEntryClass
gtk_password_entry_get_type
gtkpathbar
GtkPathBar
GTK_IS_PATH_BAR
GTK_IS_PATH_BAR_CLASS
GTK_PATH_BAR
GTK_PATH_BAR_CLASS
GTK_PATH_BAR_GET_CLASS
GTK_TYPE_PATH_BAR
GtkPathBar
GtkPathBarClass
gtk_path_bar_get_type
gtkpicture
GTK_TYPE_PICTURE
gtk_picture_new
gtk_picture_new_for_paintable
gtk_picture_new_for_pixbuf
gtk_picture_new_for_file
gtk_picture_new_for_filename
gtk_picture_new_for_resource
gtk_picture_set_paintable
gtk_picture_get_paintable
gtk_picture_set_file
gtk_picture_get_file
gtk_picture_set_filename
gtk_picture_set_resource
gtk_picture_set_pixbuf
gtk_picture_set_keep_aspect_ratio
gtk_picture_get_keep_aspect_ratio
gtk_picture_set_can_shrink
gtk_picture_get_can_shrink
gtk_picture_set_alternative_text
gtk_picture_get_alternative_text
GtkPicture
gtkpictureaccessibleprivate
GTK_TYPE_PICTURE_ACCESSIBLE
GtkPictureAccessible
gtkpopover
GtkPopover
gtk_popover_new
gtk_popover_set_relative_to
gtk_popover_get_relative_to
gtk_popover_set_pointing_to
gtk_popover_get_pointing_to
gtk_popover_set_position
gtk_popover_get_position
gtk_popover_set_autohide
gtk_popover_get_autohide
gtk_popover_set_has_arrow
gtk_popover_get_has_arrow
gtk_popover_popup
gtk_popover_popdown
gtk_popover_set_default_widget
GTK_IS_POPOVER
GTK_IS_POPOVER_CLASS
GTK_POPOVER
GTK_POPOVER_CLASS
GTK_POPOVER_GET_CLASS
GTK_TYPE_POPOVER
GtkPopover
GtkPopoverClass
gtk_popover_get_type
gtkpopoveraccessible
GtkPopoverAccessible
GTK_IS_POPOVER_ACCESSIBLE
GTK_IS_POPOVER_ACCESSIBLE_CLASS
GTK_POPOVER_ACCESSIBLE
GTK_POPOVER_ACCESSIBLE_CLASS
GTK_POPOVER_ACCESSIBLE_GET_CLASS
GTK_TYPE_POPOVER_ACCESSIBLE
GtkPopoverAccessible
GtkPopoverAccessibleClass
gtk_popover_accessible_get_type
gtkpopovermenu
gtk_popover_menu_new_from_model
GtkPopoverMenuFlags
gtk_popover_menu_new_from_model_full
gtk_popover_menu_set_menu_model
gtk_popover_menu_get_menu_model
GTK_IS_POPOVER_MENU
GTK_POPOVER_MENU
GTK_TYPE_POPOVER_MENU
GtkPopoverMenu
gtk_popover_menu_get_type
gtkpopovermenubar
gtk_popover_menu_bar_new_from_model
gtk_popover_menu_bar_set_menu_model
gtk_popover_menu_bar_get_menu_model
GTK_IS_POPOVER_MENU_BAR
GTK_POPOVER_MENU_BAR
GTK_TYPE_POPOVER_MENU_BAR
GtkPopoverMenuBar
gtk_popover_menu_bar_get_type
gtkpopovermenubarprivate
gtk_popover_menu_bar_select_first
gtk_popover_menu_bar_get_viewable_menu_bars
gtkpopovermenuprivate
gtk_popover_menu_get_active_item
gtk_popover_menu_set_active_item
gtk_popover_menu_get_open_submenu
gtk_popover_menu_set_open_submenu
gtk_popover_menu_get_parent_menu
gtk_popover_menu_set_parent_menu
gtk_popover_menu_new
gtk_popover_menu_add_submenu
gtk_popover_menu_open_submenu
gtkprint-win32
START_PAGE_GENERAL
PD_RESULT_CANCEL
PD_RESULT_PRINT
PD_RESULT_APPLY
PD_NOCURRENTPAGE
PD_CURRENTPAGE
GtkPrintWin32Devnames
gtk_print_win32_devnames_free
gtk_print_win32_devnames_from_win32
gtk_print_win32_devnames_from_printer_name
gtk_print_win32_devnames_to_win32
gtk_print_win32_devnames_to_win32_from_printer_name
gtkprintbackendprivate
GtkPrintBackend
GTK_PRINT_BACKEND_ERROR
GtkPrintBackendError
gtk_print_backend_error_quark
GtkPrintBackendStatus
GTK_PRINT_BACKEND_EXTENSION_POINT_NAME
gtk_print_backend_get_printer_list
gtk_print_backend_printer_list_is_done
gtk_print_backend_find_printer
gtk_print_backend_print_stream
gtk_print_backend_load_modules
gtk_print_backend_destroy
gtk_print_backend_set_password
gtk_print_backend_add_printer
gtk_print_backend_remove_printer
gtk_print_backend_set_list_done
gtk_printer_is_new
gtk_printer_set_accepts_pdf
gtk_printer_set_accepts_ps
gtk_printer_set_is_new
gtk_printer_set_is_active
gtk_printer_set_is_paused
gtk_printer_set_is_accepting_jobs
gtk_printer_set_has_details
gtk_printer_set_is_default
gtk_printer_set_icon_name
gtk_printer_set_job_count
gtk_printer_set_location
gtk_printer_set_description
gtk_printer_set_state_message
gtk_print_backends_init
GTK_IS_PRINT_BACKEND
GTK_IS_PRINT_BACKEND_CLASS
GTK_PRINT_BACKEND
GTK_PRINT_BACKEND_CLASS
GTK_PRINT_BACKEND_GET_CLASS
GTK_TYPE_PRINT_BACKEND
GtkPrintBackend
GtkPrintBackendClass
GtkPrintBackendPrivate
gtk_print_backend_get_type
gtkprintcontext
gtk_print_context_get_cairo_context
gtk_print_context_get_page_setup
gtk_print_context_get_width
gtk_print_context_get_height
gtk_print_context_get_dpi_x
gtk_print_context_get_dpi_y
gtk_print_context_get_hard_margins
gtk_print_context_get_pango_fontmap
gtk_print_context_create_pango_context
gtk_print_context_create_pango_layout
gtk_print_context_set_cairo_context
GTK_IS_PRINT_CONTEXT
GTK_PRINT_CONTEXT
GTK_TYPE_PRINT_CONTEXT
GtkPrintContext
gtk_print_context_get_type
gtkprinter
GtkPrintCapabilities
gtk_printer_new
gtk_printer_get_backend
gtk_printer_get_name
gtk_printer_get_state_message
gtk_printer_get_description
gtk_printer_get_location
gtk_printer_get_icon_name
gtk_printer_get_job_count
gtk_printer_is_active
gtk_printer_is_paused
gtk_printer_is_accepting_jobs
gtk_printer_is_virtual
gtk_printer_is_default
gtk_printer_accepts_pdf
gtk_printer_accepts_ps
gtk_printer_list_papers
gtk_printer_get_default_page_size
gtk_printer_compare
gtk_printer_has_details
gtk_printer_request_details
gtk_printer_get_capabilities
gtk_printer_get_hard_margins
gtk_printer_get_hard_margins_for_paper_size
GtkPrinterFunc
gtk_enumerate_printers
GtkPrintBackend
GTK_IS_PRINTER
GTK_PRINTER
GTK_TYPE_PRINTER
GTK_TYPE_PRINT_CAPABILITIES
GtkPrinter
gtk_print_capabilities_get_type
gtk_printer_get_type
gtkprinteroption
GtkPrinterOption
GTK_PRINTER_OPTION_GROUP_IMAGE_QUALITY
GTK_PRINTER_OPTION_GROUP_FINISHING
GtkPrinterOptionType
gtk_printer_option_new
gtk_printer_option_set
gtk_printer_option_set_has_conflict
gtk_printer_option_clear_has_conflict
gtk_printer_option_set_boolean
gtk_printer_option_allocate_choices
gtk_printer_option_choices_from_array
gtk_printer_option_has_choice
gtk_printer_option_set_activates_default
gtk_printer_option_get_activates_default
GTK_IS_PRINTER_OPTION
GTK_PRINTER_OPTION
GTK_TYPE_PRINTER_OPTION
GtkPrinterOption
GtkPrinterOptionClass
gtk_printer_option_get_type
gtkprinteroptionset
GtkPrinterOptionSet
GtkPrinterOptionSetFunc
gtk_printer_option_set_new
gtk_printer_option_set_add
gtk_printer_option_set_remove
gtk_printer_option_set_lookup
gtk_printer_option_set_foreach
gtk_printer_option_set_clear_conflicts
gtk_printer_option_set_get_groups
gtk_printer_option_set_foreach_in_group
GTK_IS_PRINTER_OPTION_SET
GTK_PRINTER_OPTION_SET
GTK_TYPE_PRINTER_OPTION_SET
GtkPrinterOptionSet
GtkPrinterOptionSetClass
gtk_printer_option_set_get_type
gtkprinteroptionwidget
GtkPrinterOptionWidget
gtk_printer_option_widget_new
gtk_printer_option_widget_set_source
gtk_printer_option_widget_has_external_label
gtk_printer_option_widget_get_external_label
gtk_printer_option_widget_get_value
GTK_IS_PRINTER_OPTION_WIDGET
GTK_IS_PRINTER_OPTION_WIDGET_CLASS
GTK_PRINTER_OPTION_WIDGET
GTK_PRINTER_OPTION_WIDGET_CLASS
GTK_PRINTER_OPTION_WIDGET_GET_CLASS
GTK_TYPE_PRINTER_OPTION_WIDGET
GtkPrinterOptionWidget
GtkPrinterOptionWidgetClass
GtkPrinterOptionWidgetPrivate
gtk_printer_option_widget_get_type
gtkprintjob
GtkPrintJobCompleteFunc
gtk_print_job_new
gtk_print_job_get_settings
gtk_print_job_get_printer
gtk_print_job_get_title
gtk_print_job_get_status
gtk_print_job_set_source_file
gtk_print_job_set_source_fd
gtk_print_job_get_surface
gtk_print_job_set_track_print_status
gtk_print_job_get_track_print_status
gtk_print_job_send
gtk_print_job_get_pages
gtk_print_job_set_pages
gtk_print_job_get_page_ranges
gtk_print_job_set_page_ranges
gtk_print_job_get_page_set
gtk_print_job_set_page_set
gtk_print_job_get_num_copies
gtk_print_job_set_num_copies
gtk_print_job_get_scale
gtk_print_job_set_scale
gtk_print_job_get_n_up
gtk_print_job_set_n_up
gtk_print_job_get_n_up_layout
gtk_print_job_set_n_up_layout
gtk_print_job_get_rotate
gtk_print_job_set_rotate
gtk_print_job_get_collate
gtk_print_job_set_collate
gtk_print_job_get_reverse
gtk_print_job_set_reverse
GTK_IS_PRINT_JOB
GTK_PRINT_JOB
GTK_TYPE_PRINT_JOB
GtkPrintJob
gtk_print_job_get_type
gtkprintoperation
GtkPrintOperation
GtkPrintStatus
GtkPrintOperationResult
GtkPrintOperationAction
GtkPrintOperationClass
GTK_PRINT_ERROR
GtkPrintError
gtk_print_error_quark
gtk_print_operation_new
gtk_print_operation_set_default_page_setup
gtk_print_operation_get_default_page_setup
gtk_print_operation_set_print_settings
gtk_print_operation_get_print_settings
gtk_print_operation_set_job_name
gtk_print_operation_set_n_pages
gtk_print_operation_set_current_page
gtk_print_operation_set_use_full_page
gtk_print_operation_set_unit
gtk_print_operation_set_export_filename
gtk_print_operation_set_track_print_status
gtk_print_operation_set_show_progress
gtk_print_operation_set_allow_async
gtk_print_operation_set_custom_tab_label
gtk_print_operation_run
gtk_print_operation_get_error
gtk_print_operation_get_status
gtk_print_operation_get_status_string
gtk_print_operation_is_finished
gtk_print_operation_cancel
gtk_print_operation_draw_page_finish
gtk_print_operation_set_defer_drawing
gtk_print_operation_set_support_selection
gtk_print_operation_get_support_selection
gtk_print_operation_set_has_selection
gtk_print_operation_get_has_selection
gtk_print_operation_set_embed_page_setup
gtk_print_operation_get_embed_page_setup
gtk_print_operation_get_n_pages_to_print
gtk_print_run_page_setup_dialog
GtkPageSetupDoneFunc
gtk_print_run_page_setup_dialog_async
GTK_IS_PRINT_OPERATION
GTK_IS_PRINT_OPERATION_CLASS
GTK_PRINT_OPERATION
GTK_PRINT_OPERATION_CLASS
GTK_PRINT_OPERATION_GET_CLASS
GTK_TYPE_PRINT_OPERATION
GtkPrintOperation
GtkPrintOperationPrivate
gtk_print_operation_get_type
gtkprintoperation-portal
gtk_print_operation_portal_run_dialog
gtk_print_operation_portal_run_dialog_async
gtk_print_operation_portal_launch_preview
gtkprintoperationpreview
GtkPrintOperationPreview
gtk_print_operation_preview_render_page
gtk_print_operation_preview_end_preview
gtk_print_operation_preview_is_selected
GTK_IS_PRINT_OPERATION_PREVIEW
GTK_PRINT_OPERATION_PREVIEW
GTK_PRINT_OPERATION_PREVIEW_GET_IFACE
GTK_TYPE_PRINT_OPERATION_PREVIEW
GtkPrintOperationPreview
GtkPrintOperationPreviewIface
gtk_print_operation_preview_get_type
gtkprintsettings
GtkPrintSettingsFunc
GtkPageRange
gtk_print_settings_new
gtk_print_settings_copy
gtk_print_settings_new_from_file
gtk_print_settings_load_file
gtk_print_settings_to_file
gtk_print_settings_new_from_key_file
gtk_print_settings_load_key_file
gtk_print_settings_to_key_file
gtk_print_settings_has_key
gtk_print_settings_get
gtk_print_settings_set
gtk_print_settings_unset
gtk_print_settings_foreach
gtk_print_settings_get_bool
gtk_print_settings_set_bool
gtk_print_settings_get_double
gtk_print_settings_get_double_with_default
gtk_print_settings_set_double
gtk_print_settings_get_length
gtk_print_settings_set_length
gtk_print_settings_get_int
gtk_print_settings_get_int_with_default
gtk_print_settings_set_int
GTK_PRINT_SETTINGS_PRINTER
GTK_PRINT_SETTINGS_ORIENTATION
GTK_PRINT_SETTINGS_PAPER_FORMAT
GTK_PRINT_SETTINGS_PAPER_WIDTH
GTK_PRINT_SETTINGS_PAPER_HEIGHT
GTK_PRINT_SETTINGS_N_COPIES
GTK_PRINT_SETTINGS_DEFAULT_SOURCE
GTK_PRINT_SETTINGS_QUALITY
GTK_PRINT_SETTINGS_RESOLUTION
GTK_PRINT_SETTINGS_USE_COLOR
GTK_PRINT_SETTINGS_DUPLEX
GTK_PRINT_SETTINGS_COLLATE
GTK_PRINT_SETTINGS_REVERSE
GTK_PRINT_SETTINGS_MEDIA_TYPE
GTK_PRINT_SETTINGS_DITHER
GTK_PRINT_SETTINGS_SCALE
GTK_PRINT_SETTINGS_PRINT_PAGES
GTK_PRINT_SETTINGS_PAGE_RANGES
GTK_PRINT_SETTINGS_PAGE_SET
GTK_PRINT_SETTINGS_FINISHINGS
GTK_PRINT_SETTINGS_NUMBER_UP
GTK_PRINT_SETTINGS_NUMBER_UP_LAYOUT
GTK_PRINT_SETTINGS_OUTPUT_BIN
GTK_PRINT_SETTINGS_RESOLUTION_X
GTK_PRINT_SETTINGS_RESOLUTION_Y
GTK_PRINT_SETTINGS_PRINTER_LPI
GTK_PRINT_SETTINGS_OUTPUT_DIR
GTK_PRINT_SETTINGS_OUTPUT_BASENAME
GTK_PRINT_SETTINGS_OUTPUT_FILE_FORMAT
GTK_PRINT_SETTINGS_OUTPUT_URI
GTK_PRINT_SETTINGS_WIN32_DRIVER_VERSION
GTK_PRINT_SETTINGS_WIN32_DRIVER_EXTRA
gtk_print_settings_get_printer
gtk_print_settings_set_printer
gtk_print_settings_get_orientation
gtk_print_settings_set_orientation
gtk_print_settings_get_paper_size
gtk_print_settings_set_paper_size
gtk_print_settings_get_paper_width
gtk_print_settings_set_paper_width
gtk_print_settings_get_paper_height
gtk_print_settings_set_paper_height
gtk_print_settings_get_use_color
gtk_print_settings_set_use_color
gtk_print_settings_get_collate
gtk_print_settings_set_collate
gtk_print_settings_get_reverse
gtk_print_settings_set_reverse
gtk_print_settings_get_duplex
gtk_print_settings_set_duplex
gtk_print_settings_get_quality
gtk_print_settings_set_quality
gtk_print_settings_get_n_copies
gtk_print_settings_set_n_copies
gtk_print_settings_get_number_up
gtk_print_settings_set_number_up
gtk_print_settings_get_number_up_layout
gtk_print_settings_set_number_up_layout
gtk_print_settings_get_resolution
gtk_print_settings_set_resolution
gtk_print_settings_get_resolution_x
gtk_print_settings_get_resolution_y
gtk_print_settings_set_resolution_xy
gtk_print_settings_get_printer_lpi
gtk_print_settings_set_printer_lpi
gtk_print_settings_get_scale
gtk_print_settings_set_scale
gtk_print_settings_get_print_pages
gtk_print_settings_set_print_pages
gtk_print_settings_get_page_ranges
gtk_print_settings_set_page_ranges
gtk_print_settings_get_page_set
gtk_print_settings_set_page_set
gtk_print_settings_get_default_source
gtk_print_settings_set_default_source
gtk_print_settings_get_media_type
gtk_print_settings_set_media_type
gtk_print_settings_get_dither
gtk_print_settings_set_dither
gtk_print_settings_get_finishings
gtk_print_settings_set_finishings
gtk_print_settings_get_output_bin
gtk_print_settings_set_output_bin
gtk_print_settings_to_gvariant
gtk_print_settings_new_from_gvariant
GTK_IS_PRINT_SETTINGS
GTK_PRINT_SETTINGS
GTK_TYPE_PRINT_SETTINGS
GtkPrintSettings
gtk_print_settings_get_type
gtkprintunixdialog
gtk_print_unix_dialog_new
gtk_print_unix_dialog_set_page_setup
gtk_print_unix_dialog_get_page_setup
gtk_print_unix_dialog_set_current_page
gtk_print_unix_dialog_get_current_page
gtk_print_unix_dialog_set_settings
gtk_print_unix_dialog_get_settings
gtk_print_unix_dialog_get_selected_printer
gtk_print_unix_dialog_add_custom_tab
gtk_print_unix_dialog_set_manual_capabilities
gtk_print_unix_dialog_get_manual_capabilities
gtk_print_unix_dialog_set_support_selection
gtk_print_unix_dialog_get_support_selection
gtk_print_unix_dialog_set_has_selection
gtk_print_unix_dialog_get_has_selection
gtk_print_unix_dialog_set_embed_page_setup
gtk_print_unix_dialog_get_embed_page_setup
gtk_print_unix_dialog_get_page_setup_set
GTK_IS_PRINT_UNIX_DIALOG
GTK_PRINT_UNIX_DIALOG
GTK_TYPE_PRINT_UNIX_DIALOG
GtkPrintUnixDialog
gtk_print_unix_dialog_get_type
gtkprintutils
MM_PER_INCH
POINTS_PER_INCH
gtkprivatetypebuiltins
GTK_TYPE_CSS_AFFECTS
GTK_TYPE_TEXT_HANDLE_POSITION
GTK_TYPE_TEXT_HANDLE_MODE
gtkprogressbar
gtk_progress_bar_new
gtk_progress_bar_pulse
gtk_progress_bar_set_text
gtk_progress_bar_set_fraction
gtk_progress_bar_set_pulse_step
gtk_progress_bar_set_inverted
gtk_progress_bar_get_text
gtk_progress_bar_get_fraction
gtk_progress_bar_get_pulse_step
gtk_progress_bar_get_inverted
gtk_progress_bar_set_ellipsize
gtk_progress_bar_get_ellipsize
gtk_progress_bar_set_show_text
gtk_progress_bar_get_show_text
GTK_IS_PROGRESS_BAR
GTK_PROGRESS_BAR
GTK_TYPE_PROGRESS_BAR
GtkProgressBar
gtk_progress_bar_get_type
gtkprogressbaraccessible
GtkProgressBarAccessible
GTK_IS_PROGRESS_BAR_ACCESSIBLE
GTK_IS_PROGRESS_BAR_ACCESSIBLE_CLASS
GTK_PROGRESS_BAR_ACCESSIBLE
GTK_PROGRESS_BAR_ACCESSIBLE_CLASS
GTK_PROGRESS_BAR_ACCESSIBLE_GET_CLASS
GTK_TYPE_PROGRESS_BAR_ACCESSIBLE
GtkProgressBarAccessible
GtkProgressBarAccessibleClass
GtkProgressBarAccessiblePrivate
gtk_progress_bar_accessible_get_type
gtkpropertylookuplistmodelprivate
GtkPropertyLookupListModel
gtk_property_lookup_list_model_new
gtk_property_lookup_list_model_set_object
gtk_property_lookup_list_model_get_object
GTK_IS_PROPERTY_LOOKUP_LIST_MODEL
GTK_IS_PROPERTY_LOOKUP_LIST_MODEL_CLASS
GTK_PROPERTY_LOOKUP_LIST_MODEL
GTK_PROPERTY_LOOKUP_LIST_MODEL_CLASS
GTK_PROPERTY_LOOKUP_LIST_MODEL_GET_CLASS
GTK_TYPE_PROPERTY_LOOKUP_LIST_MODEL
GtkPropertyLookupListModel
GtkPropertyLookupListModelClass
gtk_property_lookup_list_model_get_type
gtkquery
GtkQuery
gtk_query_new
gtk_query_get_text
gtk_query_set_text
gtk_query_get_location
gtk_query_set_location
gtk_query_matches_string
GTK_IS_QUERY
GTK_IS_QUERY_CLASS
GTK_QUERY
GTK_QUERY_CLASS
GTK_QUERY_GET_CLASS
GTK_TYPE_QUERY
GtkQuery
GtkQueryClass
GtkQueryPrivate
gtk_query_get_type
gtkradiobutton
gtk_radio_button_new
gtk_radio_button_new_from_widget
gtk_radio_button_new_with_label
gtk_radio_button_new_with_label_from_widget
gtk_radio_button_new_with_mnemonic
gtk_radio_button_new_with_mnemonic_from_widget
gtk_radio_button_get_group
gtk_radio_button_set_group
gtk_radio_button_join_group
GTK_IS_RADIO_BUTTON
GTK_RADIO_BUTTON
GTK_TYPE_RADIO_BUTTON
GtkRadioButton
gtk_radio_button_get_type
gtkradiobuttonaccessible
GtkRadioButtonAccessible
GTK_IS_RADIO_BUTTON_ACCESSIBLE
GTK_IS_RADIO_BUTTON_ACCESSIBLE_CLASS
GTK_RADIO_BUTTON_ACCESSIBLE
GTK_RADIO_BUTTON_ACCESSIBLE_CLASS
GTK_RADIO_BUTTON_ACCESSIBLE_GET_CLASS
GTK_TYPE_RADIO_BUTTON_ACCESSIBLE
GtkRadioButtonAccessible
GtkRadioButtonAccessibleClass
GtkRadioButtonAccessiblePrivate
gtk_radio_button_accessible_get_type
gtkrange
GtkRange
gtk_range_set_adjustment
gtk_range_get_adjustment
gtk_range_set_inverted
gtk_range_get_inverted
gtk_range_set_flippable
gtk_range_get_flippable
gtk_range_set_slider_size_fixed
gtk_range_get_slider_size_fixed
gtk_range_get_range_rect
gtk_range_get_slider_range
gtk_range_set_increments
gtk_range_set_range
gtk_range_set_value
gtk_range_get_value
gtk_range_set_show_fill_level
gtk_range_get_show_fill_level
gtk_range_set_restrict_to_fill_level
gtk_range_get_restrict_to_fill_level
gtk_range_set_fill_level
gtk_range_get_fill_level
gtk_range_set_round_digits
gtk_range_get_round_digits
GTK_IS_RANGE
GTK_IS_RANGE_CLASS
GTK_RANGE
GTK_RANGE_CLASS
GTK_RANGE_GET_CLASS
GTK_TYPE_RANGE
GtkRange
GtkRangeClass
gtk_range_get_type
gtkrangeaccessible
GtkRangeAccessible
GTK_IS_RANGE_ACCESSIBLE
GTK_IS_RANGE_ACCESSIBLE_CLASS
GTK_RANGE_ACCESSIBLE
GTK_RANGE_ACCESSIBLE_CLASS
GTK_RANGE_ACCESSIBLE_GET_CLASS
GTK_TYPE_RANGE_ACCESSIBLE
GtkRangeAccessible
GtkRangeAccessibleClass
GtkRangeAccessiblePrivate
gtk_range_accessible_get_type
gtkrecentmanager
GtkRecentManager
GtkRecentData
GtkRecentManager
GtkRecentManagerClass
GtkRecentManagerError
GTK_RECENT_MANAGER_ERROR
gtk_recent_manager_error_quark
gtk_recent_manager_new
gtk_recent_manager_get_default
gtk_recent_manager_add_item
gtk_recent_manager_add_full
gtk_recent_manager_remove_item
gtk_recent_manager_lookup_item
gtk_recent_manager_has_item
gtk_recent_manager_move_item
gtk_recent_manager_get_items
gtk_recent_manager_purge_items
gtk_recent_info_ref
gtk_recent_info_unref
gtk_recent_info_get_uri
gtk_recent_info_get_display_name
gtk_recent_info_get_description
gtk_recent_info_get_mime_type
gtk_recent_info_get_added
gtk_recent_info_get_modified
gtk_recent_info_get_visited
gtk_recent_info_get_private_hint
gtk_recent_info_get_application_info
gtk_recent_info_create_app_info
gtk_recent_info_get_applications
gtk_recent_info_last_application
gtk_recent_info_has_application
gtk_recent_info_get_groups
gtk_recent_info_has_group
gtk_recent_info_get_gicon
gtk_recent_info_get_short_name
gtk_recent_info_get_uri_display
gtk_recent_info_get_age
gtk_recent_info_is_local
gtk_recent_info_exists
gtk_recent_info_match
GTK_IS_RECENT_MANAGER
GTK_IS_RECENT_MANAGER_CLASS
GTK_RECENT_MANAGER
GTK_RECENT_MANAGER_CLASS
GTK_RECENT_MANAGER_GET_CLASS
GTK_TYPE_RECENT_INFO
GTK_TYPE_RECENT_MANAGER
GtkRecentInfo
GtkRecentManagerPrivate
gtk_recent_info_get_type
gtk_recent_manager_get_type
gtkrender
gtk_render_check
gtk_render_option
gtk_render_arrow
gtk_render_background
gtk_render_frame
gtk_render_expander
gtk_render_focus
gtk_render_layout
gtk_render_line
gtk_render_slider
gtk_render_handle
gtk_render_activity
gtk_render_icon
gtkrenderercellaccessible
GtkRendererCellAccessible
gtk_renderer_cell_accessible_new
GTK_IS_RENDERER_CELL_ACCESSIBLE
GTK_IS_RENDERER_CELL_ACCESSIBLE_CLASS
GTK_RENDERER_CELL_ACCESSIBLE
GTK_RENDERER_CELL_ACCESSIBLE_CLASS
GTK_RENDERER_CELL_ACCESSIBLE_GET_CLASS
GTK_TYPE_RENDERER_CELL_ACCESSIBLE
GtkRendererCellAccessible
GtkRendererCellAccessibleClass
GtkRendererCellAccessiblePrivate
gtk_renderer_cell_accessible_get_type
gtkrevealer
GtkRevealerTransitionType
gtk_revealer_new
gtk_revealer_get_reveal_child
gtk_revealer_set_reveal_child
gtk_revealer_get_child_revealed
gtk_revealer_get_transition_duration
gtk_revealer_set_transition_duration
gtk_revealer_set_transition_type
gtk_revealer_get_transition_type
GTK_IS_REVEALER
GTK_REVEALER
GTK_TYPE_REVEALER
GtkRevealer
gtk_revealer_get_type
gtkroot
GTK_TYPE_ROOT
gtk_root_get_display
gtk_root_set_focus
gtk_root_get_focus
GtkRoot
GtkRootInterface
gtkrootprivate
GtkRoot
GtkRootInterface
gtk_root_get_constraint_solver
GtkRootProperties
gtk_root_install_properties
gtkscale
GtkScale
GtkScaleFormatValueFunc
gtk_scale_new
gtk_scale_new_with_range
gtk_scale_set_digits
gtk_scale_get_digits
gtk_scale_set_draw_value
gtk_scale_get_draw_value
gtk_scale_set_has_origin
gtk_scale_get_has_origin
gtk_scale_set_value_pos
gtk_scale_get_value_pos
gtk_scale_get_layout
gtk_scale_get_layout_offsets
gtk_scale_add_mark
gtk_scale_clear_marks
gtk_scale_set_format_value_func
GTK_IS_SCALE
GTK_IS_SCALE_CLASS
GTK_SCALE
GTK_SCALE_CLASS
GTK_SCALE_GET_CLASS
GTK_TYPE_SCALE
GtkScale
GtkScaleClass
gtk_scale_get_type
gtkscaleaccessible
GtkScaleAccessible
GTK_IS_SCALE_ACCESSIBLE
GTK_IS_SCALE_ACCESSIBLE_CLASS
GTK_SCALE_ACCESSIBLE
GTK_SCALE_ACCESSIBLE_CLASS
GTK_SCALE_ACCESSIBLE_GET_CLASS
GTK_TYPE_SCALE_ACCESSIBLE
GtkScaleAccessible
GtkScaleAccessibleClass
GtkScaleAccessiblePrivate
gtk_scale_accessible_get_type
gtkscalebutton
GtkScaleButton
gtk_scale_button_new
gtk_scale_button_set_icons
gtk_scale_button_get_value
gtk_scale_button_set_value
gtk_scale_button_get_adjustment
gtk_scale_button_set_adjustment
gtk_scale_button_get_plus_button
gtk_scale_button_get_minus_button
gtk_scale_button_get_popup
GTK_IS_SCALE_BUTTON
GTK_IS_SCALE_BUTTON_CLASS
GTK_SCALE_BUTTON
GTK_SCALE_BUTTON_CLASS
GTK_SCALE_BUTTON_GET_CLASS
GTK_TYPE_SCALE_BUTTON
GtkScaleButton
GtkScaleButtonClass
gtk_scale_button_get_type
gtkscalebuttonaccessible
GtkScaleButtonAccessible
GTK_IS_SCALE_BUTTON_ACCESSIBLE
GTK_IS_SCALE_BUTTON_ACCESSIBLE_CLASS
GTK_SCALE_BUTTON_ACCESSIBLE
GTK_SCALE_BUTTON_ACCESSIBLE_CLASS
GTK_SCALE_BUTTON_ACCESSIBLE_GET_CLASS
GTK_TYPE_SCALE_BUTTON_ACCESSIBLE
GtkScaleButtonAccessible
GtkScaleButtonAccessibleClass
GtkScaleButtonAccessiblePrivate
gtk_scale_button_accessible_get_type
gtkscrollable
GtkScrollable
gtk_scrollable_get_hadjustment
gtk_scrollable_set_hadjustment
gtk_scrollable_get_vadjustment
gtk_scrollable_set_vadjustment
gtk_scrollable_get_hscroll_policy
gtk_scrollable_set_hscroll_policy
gtk_scrollable_get_vscroll_policy
gtk_scrollable_set_vscroll_policy
gtk_scrollable_get_border
GTK_IS_SCROLLABLE
GTK_SCROLLABLE
GTK_SCROLLABLE_GET_IFACE
GTK_TYPE_SCROLLABLE
GtkScrollable
GtkScrollableInterface
gtk_scrollable_get_type
gtkscrollbar
gtk_scrollbar_new
gtk_scrollbar_set_adjustment
gtk_scrollbar_get_adjustment
GTK_IS_SCROLLBAR
GTK_SCROLLBAR
GTK_TYPE_SCROLLBAR
GtkScrollbar
gtk_scrollbar_get_type
gtkscrolledwindow
GtkCornerType
GtkPolicyType
gtk_scrolled_window_new
gtk_scrolled_window_set_hadjustment
gtk_scrolled_window_set_vadjustment
gtk_scrolled_window_get_hadjustment
gtk_scrolled_window_get_vadjustment
gtk_scrolled_window_get_hscrollbar
gtk_scrolled_window_get_vscrollbar
gtk_scrolled_window_set_policy
gtk_scrolled_window_get_policy
gtk_scrolled_window_set_placement
gtk_scrolled_window_unset_placement
gtk_scrolled_window_get_placement
gtk_scrolled_window_set_shadow_type
gtk_scrolled_window_get_shadow_type
gtk_scrolled_window_get_min_content_width
gtk_scrolled_window_set_min_content_width
gtk_scrolled_window_get_min_content_height
gtk_scrolled_window_set_min_content_height
gtk_scrolled_window_set_kinetic_scrolling
gtk_scrolled_window_get_kinetic_scrolling
gtk_scrolled_window_set_capture_button_press
gtk_scrolled_window_get_capture_button_press
gtk_scrolled_window_set_overlay_scrolling
gtk_scrolled_window_get_overlay_scrolling
gtk_scrolled_window_set_max_content_width
gtk_scrolled_window_get_max_content_width
gtk_scrolled_window_set_max_content_height
gtk_scrolled_window_get_max_content_height
gtk_scrolled_window_set_propagate_natural_width
gtk_scrolled_window_get_propagate_natural_width
gtk_scrolled_window_set_propagate_natural_height
gtk_scrolled_window_get_propagate_natural_height
GTK_IS_SCROLLED_WINDOW
GTK_SCROLLED_WINDOW
GTK_TYPE_SCROLLED_WINDOW
GtkScrolledWindow
gtk_scrolled_window_get_type
gtkscrolledwindowaccessible
GtkScrolledWindowAccessible
GTK_IS_SCROLLED_WINDOW_ACCESSIBLE
GTK_IS_SCROLLED_WINDOW_ACCESSIBLE_CLASS
GTK_SCROLLED_WINDOW_ACCESSIBLE
GTK_SCROLLED_WINDOW_ACCESSIBLE_CLASS
GTK_SCROLLED_WINDOW_ACCESSIBLE_GET_CLASS
GTK_TYPE_SCROLLED_WINDOW_ACCESSIBLE
GtkScrolledWindowAccessible
GtkScrolledWindowAccessibleClass
GtkScrolledWindowAccessiblePrivate
gtk_scrolled_window_accessible_get_type
gtksearchbar
gtk_search_bar_new
gtk_search_bar_connect_entry
gtk_search_bar_get_search_mode
gtk_search_bar_set_search_mode
gtk_search_bar_get_show_close_button
gtk_search_bar_set_show_close_button
gtk_search_bar_set_key_capture_widget
gtk_search_bar_get_key_capture_widget
GTK_IS_SEARCH_BAR
GTK_SEARCH_BAR
GTK_TYPE_SEARCH_BAR
GtkSearchBar
gtk_search_bar_get_type
gtksearchengine
GtkSearchEngine
GtkSearchHit
GTK_IS_SEARCH_ENGINE
GTK_IS_SEARCH_ENGINE_CLASS
GTK_SEARCH_ENGINE
GTK_SEARCH_ENGINE_CLASS
GTK_SEARCH_ENGINE_GET_CLASS
GTK_TYPE_SEARCH_ENGINE
GtkSearchEngine
GtkSearchEngineClass
GtkSearchEnginePrivate
gtksearchenginemodel
GtkSearchEngineModel
GTK_IS_SEARCH_ENGINE_MODEL
GTK_IS_SEARCH_ENGINE_MODEL_CLASS
GTK_SEARCH_ENGINE_MODEL
GTK_SEARCH_ENGINE_MODEL_CLASS
GTK_SEARCH_ENGINE_MODEL_GET_CLASS
GTK_TYPE_SEARCH_ENGINE_MODEL
GtkSearchEngineModel
GtkSearchEngineModelClass
gtksearchenginequartz
GtkSearchEngineQuartz
GTK_IS_SEARCH_ENGINE_QUARTZ
GTK_IS_SEARCH_ENGINE_QUARTZ_CLASS
GTK_SEARCH_ENGINE_QUARTZ
GTK_SEARCH_ENGINE_QUARTZ_CLASS
GTK_SEARCH_ENGINE_QUARTZ_GET_CLASS
GTK_TYPE_SEARCH_ENGINE_QUARTZ
GtkSearchEngineQuartz
GtkSearchEngineQuartzClass
GtkSearchEngineQuartzPrivate
gtksearchenginetracker
GtkSearchEngineTracker
GTK_IS_SEARCH_ENGINE_TRACKER
GTK_IS_SEARCH_ENGINE_TRACKER_CLASS
GTK_SEARCH_ENGINE_TRACKER
GTK_SEARCH_ENGINE_TRACKER_CLASS
GTK_SEARCH_ENGINE_TRACKER_GET_CLASS
GTK_TYPE_SEARCH_ENGINE_TRACKER
GtkSearchEngineTracker
GtkSearchEngineTrackerClass
gtksearchentry
gtk_search_entry_new
gtk_search_entry_set_key_capture_widget
gtk_search_entry_get_key_capture_widget
GTK_IS_SEARCH_ENTRY
GTK_SEARCH_ENTRY
GTK_TYPE_SEARCH_ENTRY
GtkSearchEntry
gtk_search_entry_get_type
gtkselection
gtk_selection_data_get_target
gtk_selection_data_get_data_type
gtk_selection_data_get_format
gtk_selection_data_get_data
gtk_selection_data_get_length
gtk_selection_data_get_data_with_length
gtk_selection_data_get_display
gtk_selection_data_set
gtk_selection_data_set_text
gtk_selection_data_get_text
gtk_selection_data_set_pixbuf
gtk_selection_data_get_pixbuf
gtk_selection_data_set_texture
gtk_selection_data_get_texture
gtk_selection_data_set_uris
gtk_selection_data_get_uris
gtk_selection_data_get_targets
gtk_selection_data_targets_include_text
gtk_selection_data_targets_include_image
gtk_selection_data_targets_include_uri
gtk_targets_include_text
gtk_targets_include_image
gtk_targets_include_uri
gtk_selection_data_copy
gtk_selection_data_free
GTK_TYPE_SELECTION_DATA
gtk_selection_data_get_type
gtkselectionmodel
GtkSelectionModel
GTK_TYPE_SELECTION_MODEL
GtkSelectionModelInterface
gtk_selection_model_is_selected
gtk_selection_model_select_item
gtk_selection_model_unselect_item
gtk_selection_model_select_range
gtk_selection_model_unselect_range
gtk_selection_model_select_all
gtk_selection_model_unselect_all
gtk_selection_model_query_range
gtk_selection_model_selection_changed
GtkSelectionModel
gtkseparator
gtk_separator_new
GTK_IS_SEPARATOR
GTK_SEPARATOR
GTK_TYPE_SEPARATOR
GtkSeparator
gtk_separator_get_type
gtksettings
GtkSettingsValue
gtk_settings_get_default
gtk_settings_get_for_display
gtk_settings_reset_property
GTK_IS_SETTINGS
GTK_SETTINGS
GTK_TYPE_SETTINGS
GtkSettings
gtk_settings_get_type
gtkshortcutlabel
GtkShortcutLabel
gtk_shortcut_label_new
gtk_shortcut_label_get_accelerator
gtk_shortcut_label_set_accelerator
gtk_shortcut_label_get_disabled_text
gtk_shortcut_label_set_disabled_text
GTK_IS_SHORTCUT_LABEL
GTK_SHORTCUT_LABEL
GTK_TYPE_SHORTCUT_LABEL
GtkShortcutLabel
GtkShortcutLabelClass
gtk_shortcut_label_get_type
gtkshortcutsgroup
GtkShortcutsGroup
GTK_IS_SHORTCUTS_GROUP
GTK_SHORTCUTS_GROUP
GTK_TYPE_SHORTCUTS_GROUP
GtkShortcutsGroup
GtkShortcutsGroupClass
gtk_shortcuts_group_get_type
gtkshortcutssection
GtkShortcutsSection
GTK_IS_SHORTCUTS_SECTION
GTK_SHORTCUTS_SECTION
GTK_TYPE_SHORTCUTS_SECTION
GtkShortcutsSection
GtkShortcutsSectionClass
gtk_shortcuts_section_get_type
gtkshortcutsshortcut
GtkShortcutsShortcut
GtkShortcutType
GTK_IS_SHORTCUTS_SHORTCUT
GTK_SHORTCUTS_SHORTCUT
GTK_TYPE_SHORTCUTS_SHORTCUT
GtkShortcutsShortcut
GtkShortcutsShortcutClass
gtk_shortcuts_shortcut_get_type
gtkshortcutswindow
GtkShortcutsWindow
GTK_IS_SHORTCUTS_WINDOW
GTK_SHORTCUTS_WINDOW
GTK_TYPE_SHORTCUTS_WINDOW
GtkShortcutsWindow
GtkShortcutsWindowClass
gtk_shortcuts_window_get_type
gtkshow
gtk_show_uri_on_window
gtksingleselection
GTK_TYPE_SINGLE_SELECTION
gtk_single_selection_new
gtk_single_selection_get_model
gtk_single_selection_get_selected
gtk_single_selection_set_selected
gtk_single_selection_get_selected_item
gtk_single_selection_get_autoselect
gtk_single_selection_set_autoselect
gtk_single_selection_get_can_unselect
gtk_single_selection_set_can_unselect
GtkSingleSelection
gtksizegroup
gtk_size_group_new
gtk_size_group_set_mode
gtk_size_group_get_mode
gtk_size_group_add_widget
gtk_size_group_remove_widget
gtk_size_group_get_widgets
GTK_IS_SIZE_GROUP
GTK_SIZE_GROUP
GTK_TYPE_SIZE_GROUP
GtkSizeGroup
gtk_size_group_get_type
gtksizerequest
GtkRequestedSize
gtk_distribute_natural_allocation
gtkslicelistmodel
GTK_TYPE_SLICE_LIST_MODEL
gtk_slice_list_model_new
gtk_slice_list_model_new_for_type
gtk_slice_list_model_set_model
gtk_slice_list_model_get_model
gtk_slice_list_model_set_offset
gtk_slice_list_model_get_offset
gtk_slice_list_model_set_size
gtk_slice_list_model_get_size
GtkSliceListModel
gtksnapshot
GtkSnapshot
gtk_snapshot_new
gtk_snapshot_free_to_node
gtk_snapshot_free_to_paintable
gtk_snapshot_to_node
gtk_snapshot_to_paintable
gtk_snapshot_push_debug
gtk_snapshot_push_opacity
gtk_snapshot_push_blur
gtk_snapshot_push_color_matrix
gtk_snapshot_push_repeat
gtk_snapshot_push_clip
gtk_snapshot_push_rounded_clip
gtk_snapshot_push_shadow
gtk_snapshot_push_blend
gtk_snapshot_push_cross_fade
gtk_snapshot_pop
gtk_snapshot_save
gtk_snapshot_restore
gtk_snapshot_transform
gtk_snapshot_transform_matrix
gtk_snapshot_translate
gtk_snapshot_translate_3d
gtk_snapshot_rotate
gtk_snapshot_rotate_3d
gtk_snapshot_scale
gtk_snapshot_scale_3d
gtk_snapshot_perspective
gtk_snapshot_append_node
gtk_snapshot_append_cairo
gtk_snapshot_append_texture
gtk_snapshot_append_color
gtk_snapshot_append_linear_gradient
gtk_snapshot_append_repeating_linear_gradient
gtk_snapshot_append_border
gtk_snapshot_append_inset_shadow
gtk_snapshot_append_outset_shadow
gtk_snapshot_append_layout
gtk_snapshot_render_background
gtk_snapshot_render_frame
gtk_snapshot_render_focus
gtk_snapshot_render_layout
gtk_snapshot_render_insertion_cursor
GTK_IS_SNAPSHOT
GTK_SNAPSHOT
GTK_TYPE_SNAPSHOT
GtkSnapshotClass
gtk_snapshot_get_type
gtksortlistmodel
GTK_TYPE_SORT_LIST_MODEL
gtk_sort_list_model_new
gtk_sort_list_model_new_for_type
gtk_sort_list_model_set_sort_func
gtk_sort_list_model_has_sort
gtk_sort_list_model_set_model
gtk_sort_list_model_get_model
gtk_sort_list_model_resort
GtkSortListModel
gtkspinbutton
GTK_INPUT_ERROR
GtkSpinButtonUpdatePolicy
GtkSpinType
gtk_spin_button_configure
gtk_spin_button_new
gtk_spin_button_new_with_range
gtk_spin_button_set_adjustment
gtk_spin_button_get_adjustment
gtk_spin_button_set_digits
gtk_spin_button_get_digits
gtk_spin_button_set_increments
gtk_spin_button_get_increments
gtk_spin_button_set_range
gtk_spin_button_get_range
gtk_spin_button_get_value
gtk_spin_button_get_value_as_int
gtk_spin_button_set_value
gtk_spin_button_set_update_policy
gtk_spin_button_get_update_policy
gtk_spin_button_set_numeric
gtk_spin_button_get_numeric
gtk_spin_button_spin
gtk_spin_button_set_wrap
gtk_spin_button_get_wrap
gtk_spin_button_set_snap_to_ticks
gtk_spin_button_get_snap_to_ticks
gtk_spin_button_update
GTK_IS_SPIN_BUTTON
GTK_SPIN_BUTTON
GTK_TYPE_SPIN_BUTTON
GtkSpinButton
gtk_spin_button_get_type
gtkspinbuttonaccessible
GtkSpinButtonAccessible
GTK_IS_SPIN_BUTTON_ACCESSIBLE
GTK_IS_SPIN_BUTTON_ACCESSIBLE_CLASS
GTK_SPIN_BUTTON_ACCESSIBLE
GTK_SPIN_BUTTON_ACCESSIBLE_CLASS
GTK_SPIN_BUTTON_ACCESSIBLE_GET_CLASS
GTK_TYPE_SPIN_BUTTON_ACCESSIBLE
GtkSpinButtonAccessible
GtkSpinButtonAccessibleClass
GtkSpinButtonAccessiblePrivate
gtk_spin_button_accessible_get_type
gtkspinner
gtk_spinner_new
gtk_spinner_start
gtk_spinner_stop
GTK_IS_SPINNER
GTK_SPINNER
GTK_TYPE_SPINNER
GtkSpinner
gtk_spinner_get_type
gtkspinneraccessible
GtkSpinnerAccessible
GTK_IS_SPINNER_ACCESSIBLE
GTK_IS_SPINNER_ACCESSIBLE_CLASS
GTK_SPINNER_ACCESSIBLE
GTK_SPINNER_ACCESSIBLE_CLASS
GTK_SPINNER_ACCESSIBLE_GET_CLASS
GTK_TYPE_SPINNER_ACCESSIBLE
GtkSpinnerAccessible
GtkSpinnerAccessibleClass
GtkSpinnerAccessiblePrivate
gtk_spinner_accessible_get_type
gtkstack
GtkStackTransitionType
gtk_stack_new
gtk_stack_add_named
gtk_stack_add_titled
gtk_stack_get_page
gtk_stack_page_get_child
gtk_stack_get_child_by_name
gtk_stack_set_visible_child
gtk_stack_get_visible_child
gtk_stack_set_visible_child_name
gtk_stack_get_visible_child_name
gtk_stack_set_visible_child_full
gtk_stack_set_homogeneous
gtk_stack_get_homogeneous
gtk_stack_set_hhomogeneous
gtk_stack_get_hhomogeneous
gtk_stack_set_vhomogeneous
gtk_stack_get_vhomogeneous
gtk_stack_set_transition_duration
gtk_stack_get_transition_duration
gtk_stack_set_transition_type
gtk_stack_get_transition_type
gtk_stack_get_transition_running
gtk_stack_set_interpolate_size
gtk_stack_get_interpolate_size
gtk_stack_get_pages
GTK_IS_STACK
GTK_IS_STACK_PAGE
GTK_STACK
GTK_STACK_PAGE
GTK_TYPE_STACK
GTK_TYPE_STACK_PAGE
GtkStack
GtkStackPage
gtk_stack_get_type
gtk_stack_page_get_type
gtkstackaccessible
GtkStackAccessible
GTK_IS_STACK_ACCESSIBLE
GTK_IS_STACK_ACCESSIBLE_CLASS
GTK_STACK_ACCESSIBLE
GTK_STACK_ACCESSIBLE_CLASS
GTK_STACK_ACCESSIBLE_GET_CLASS
GTK_TYPE_STACK_ACCESSIBLE
GtkStackAccessible
GtkStackAccessibleClass
gtk_stack_accessible_get_type
gtkstackaccessibleprivate
gtk_stack_accessible_update_visible_child
gtkstacksidebar
gtk_stack_sidebar_new
gtk_stack_sidebar_set_stack
gtk_stack_sidebar_get_stack
GTK_IS_STACK_SIDEBAR
GTK_STACK_SIDEBAR
GTK_TYPE_STACK_SIDEBAR
GtkStackSidebar
gtk_stack_sidebar_get_type
gtkstackswitcher
gtk_stack_switcher_new
gtk_stack_switcher_set_stack
gtk_stack_switcher_get_stack
GTK_IS_STACK_SWITCHER
GTK_STACK_SWITCHER
GTK_TYPE_STACK_SWITCHER
GtkStackSwitcher
gtk_stack_switcher_get_type
gtkstatusbar
gtk_statusbar_new
gtk_statusbar_get_context_id
gtk_statusbar_push
gtk_statusbar_pop
gtk_statusbar_remove
gtk_statusbar_remove_all
gtk_statusbar_get_message_area
GTK_IS_STATUSBAR
GTK_STATUSBAR
GTK_TYPE_STATUSBAR
GtkStatusbar
gtk_statusbar_get_type
gtkstatusbaraccessible
GtkStatusbarAccessible
GTK_IS_STATUSBAR_ACCESSIBLE
GTK_IS_STATUSBAR_ACCESSIBLE_CLASS
GTK_STATUSBAR_ACCESSIBLE
GTK_STATUSBAR_ACCESSIBLE_CLASS
GTK_STATUSBAR_ACCESSIBLE_GET_CLASS
GTK_TYPE_STATUSBAR_ACCESSIBLE
GtkStatusbarAccessible
GtkStatusbarAccessibleClass
GtkStatusbarAccessiblePrivate
gtk_statusbar_accessible_get_type
gtkstylecontext
GtkStyleContext
GTK_STYLE_CLASS_CELL
GTK_STYLE_CLASS_DIM_LABEL
GTK_STYLE_CLASS_ENTRY
GTK_STYLE_CLASS_LABEL
GTK_STYLE_CLASS_COMBOBOX_ENTRY
GTK_STYLE_CLASS_BUTTON
GTK_STYLE_CLASS_LIST
GTK_STYLE_CLASS_LIST_ROW
GTK_STYLE_CLASS_CALENDAR
GTK_STYLE_CLASS_SLIDER
GTK_STYLE_CLASS_BACKGROUND
GTK_STYLE_CLASS_RUBBERBAND
GTK_STYLE_CLASS_CSD
GTK_STYLE_CLASS_TOOLTIP
GTK_STYLE_CLASS_MENU
GTK_STYLE_CLASS_CONTEXT_MENU
GTK_STYLE_CLASS_TOUCH_SELECTION
GTK_STYLE_CLASS_MENUBAR
GTK_STYLE_CLASS_MENUITEM
GTK_STYLE_CLASS_TOOLBAR
GTK_STYLE_CLASS_STATUSBAR
GTK_STYLE_CLASS_RADIO
GTK_STYLE_CLASS_CHECK
GTK_STYLE_CLASS_DEFAULT
GTK_STYLE_CLASS_TROUGH
GTK_STYLE_CLASS_SCROLLBAR
GTK_STYLE_CLASS_SCROLLBARS_JUNCTION
GTK_STYLE_CLASS_SCALE
GTK_STYLE_CLASS_SCALE_HAS_MARKS_ABOVE
GTK_STYLE_CLASS_SCALE_HAS_MARKS_BELOW
GTK_STYLE_CLASS_HEADER
GTK_STYLE_CLASS_ACCELERATOR
GTK_STYLE_CLASS_RAISED
GTK_STYLE_CLASS_LINKED
GTK_STYLE_CLASS_DOCK
GTK_STYLE_CLASS_PROGRESSBAR
GTK_STYLE_CLASS_SPINNER
GTK_STYLE_CLASS_MARK
GTK_STYLE_CLASS_EXPANDER
GTK_STYLE_CLASS_SPINBUTTON
GTK_STYLE_CLASS_NOTEBOOK
GTK_STYLE_CLASS_VIEW
GTK_STYLE_CLASS_SIDEBAR
GTK_STYLE_CLASS_IMAGE
GTK_STYLE_CLASS_HIGHLIGHT
GTK_STYLE_CLASS_FRAME
GTK_STYLE_CLASS_DND
GTK_STYLE_CLASS_PANE_SEPARATOR
GTK_STYLE_CLASS_SEPARATOR
GTK_STYLE_CLASS_INFO
GTK_STYLE_CLASS_WARNING
GTK_STYLE_CLASS_QUESTION
GTK_STYLE_CLASS_ERROR
GTK_STYLE_CLASS_HORIZONTAL
GTK_STYLE_CLASS_VERTICAL
GTK_STYLE_CLASS_TOP
GTK_STYLE_CLASS_BOTTOM
GTK_STYLE_CLASS_LEFT
GTK_STYLE_CLASS_RIGHT
GTK_STYLE_CLASS_PULSE
GTK_STYLE_CLASS_ARROW
GTK_STYLE_CLASS_OSD
GTK_STYLE_CLASS_LEVEL_BAR
GTK_STYLE_CLASS_CURSOR_HANDLE
GTK_STYLE_CLASS_INSERTION_CURSOR
GTK_STYLE_CLASS_TITLEBAR
GTK_STYLE_CLASS_TITLE
GTK_STYLE_CLASS_SUBTITLE
GTK_STYLE_CLASS_NEEDS_ATTENTION
GTK_STYLE_CLASS_SUGGESTED_ACTION
GTK_STYLE_CLASS_DESTRUCTIVE_ACTION
GTK_STYLE_CLASS_POPOVER
GTK_STYLE_CLASS_POPUP
GTK_STYLE_CLASS_MESSAGE_DIALOG
GTK_STYLE_CLASS_FLAT
GTK_STYLE_CLASS_READ_ONLY
GTK_STYLE_CLASS_OVERSHOOT
GTK_STYLE_CLASS_UNDERSHOOT
GTK_STYLE_CLASS_PAPER
GTK_STYLE_CLASS_MONOSPACE
GTK_STYLE_CLASS_WIDE
gtk_style_context_add_provider_for_display
gtk_style_context_remove_provider_for_display
gtk_style_context_add_provider
gtk_style_context_remove_provider
gtk_style_context_save
gtk_style_context_restore
gtk_style_context_set_state
gtk_style_context_get_state
gtk_style_context_set_scale
gtk_style_context_get_scale
gtk_style_context_get_parent
gtk_style_context_list_classes
gtk_style_context_add_class
gtk_style_context_remove_class
gtk_style_context_has_class
gtk_style_context_set_display
gtk_style_context_get_display
gtk_style_context_lookup_color
gtk_style_context_get_color
gtk_style_context_get_border
gtk_style_context_get_padding
gtk_style_context_get_margin
gtk_style_context_reset_widgets
gtk_render_insertion_cursor
GtkStyleContextPrintFlags
gtk_style_context_to_string
GTK_IS_STYLE_CONTEXT
GTK_IS_STYLE_CONTEXT_CLASS
GTK_STYLE_CONTEXT
GTK_STYLE_CONTEXT_CLASS
GTK_STYLE_CONTEXT_GET_CLASS
GTK_TYPE_STYLE_CONTEXT
GtkStyleContext
GtkStyleContextClass
gtk_style_context_get_type
gtkstyleprovider
GTK_STYLE_PROVIDER_PRIORITY_FALLBACK
GTK_STYLE_PROVIDER_PRIORITY_THEME
GTK_STYLE_PROVIDER_PRIORITY_SETTINGS
GTK_STYLE_PROVIDER_PRIORITY_APPLICATION
GTK_STYLE_PROVIDER_PRIORITY_USER
GTK_IS_STYLE_PROVIDER
GTK_STYLE_PROVIDER
GTK_TYPE_STYLE_PROVIDER
GtkStyleProvider
gtk_style_provider_get_type
gtkswitch
gtk_switch_new
gtk_switch_set_active
gtk_switch_get_active
gtk_switch_set_state
gtk_switch_get_state
GTK_IS_SWITCH
GTK_SWITCH
GTK_TYPE_SWITCH
GtkSwitch
gtk_switch_get_type
gtkswitchaccessible
GtkSwitchAccessible
GTK_IS_SWITCH_ACCESSIBLE
GTK_IS_SWITCH_ACCESSIBLE_CLASS
GTK_SWITCH_ACCESSIBLE
GTK_SWITCH_ACCESSIBLE_CLASS
GTK_SWITCH_ACCESSIBLE_GET_CLASS
GTK_TYPE_SWITCH_ACCESSIBLE
GtkSwitchAccessible
GtkSwitchAccessibleClass
GtkSwitchAccessiblePrivate
gtk_switch_accessible_get_type
gtktestutils
gtk_test_init
gtk_test_register_all_types
gtk_test_list_all_types
gtk_test_widget_wait_for_draw
gtktext
gtk_text_new
gtk_text_new_with_buffer
gtk_text_get_buffer
gtk_text_set_buffer
gtk_text_set_visibility
gtk_text_get_visibility
gtk_text_set_invisible_char
gtk_text_get_invisible_char
gtk_text_unset_invisible_char
gtk_text_set_overwrite_mode
gtk_text_get_overwrite_mode
gtk_text_set_max_length
gtk_text_get_max_length
gtk_text_get_text_length
gtk_text_set_activates_default
gtk_text_get_activates_default
gtk_text_get_placeholder_text
gtk_text_set_placeholder_text
gtk_text_set_input_purpose
gtk_text_get_input_purpose
gtk_text_set_input_hints
gtk_text_get_input_hints
gtk_text_set_attributes
gtk_text_get_attributes
gtk_text_set_tabs
gtk_text_get_tabs
gtk_text_grab_focus_without_selecting
gtk_text_set_extra_menu
gtk_text_get_extra_menu
GTK_IS_TEXT
GTK_TEXT
GTK_TYPE_TEXT
GtkText
gtk_text_get_type
gtktextaccessible
GtkTextAccessible
GTK_IS_TEXT_ACCESSIBLE
GTK_IS_TEXT_ACCESSIBLE_CLASS
GTK_TEXT_ACCESSIBLE
GTK_TEXT_ACCESSIBLE_CLASS
GTK_TEXT_ACCESSIBLE_GET_CLASS
GTK_TYPE_TEXT_ACCESSIBLE
GtkTextAccessible
GtkTextAccessibleClass
GtkTextAccessiblePrivate
gtk_text_accessible_get_type
gtktextattributes
GtkTextAppearance
GtkTextAttributes
gtk_text_attributes_new
gtk_text_attributes_copy
gtk_text_attributes_copy_values
gtk_text_attributes_unref
gtk_text_attributes_ref
GTK_TYPE_TEXT_ATTRIBUTES
gtk_text_attributes_get_type
gtktextbtree
DEBUG_VALIDATION_AND_SCROLLING
DV
GtkTextLineData
GtkTextLine
gtktextbuffer
GtkTextBuffer
GtkTextBufferTargetInfo
GtkTextBufferClass
gtk_text_buffer_new
gtk_text_buffer_get_line_count
gtk_text_buffer_get_char_count
gtk_text_buffer_get_tag_table
gtk_text_buffer_set_text
gtk_text_buffer_insert
gtk_text_buffer_insert_at_cursor
gtk_text_buffer_insert_interactive
gtk_text_buffer_insert_interactive_at_cursor
gtk_text_buffer_insert_range
gtk_text_buffer_insert_range_interactive
gtk_text_buffer_insert_with_tags
gtk_text_buffer_insert_with_tags_by_name
gtk_text_buffer_insert_markup
gtk_text_buffer_delete
gtk_text_buffer_delete_interactive
gtk_text_buffer_backspace
gtk_text_buffer_get_text
gtk_text_buffer_get_slice
gtk_text_buffer_insert_paintable
gtk_text_buffer_insert_child_anchor
gtk_text_buffer_create_child_anchor
gtk_text_buffer_add_mark
gtk_text_buffer_create_mark
gtk_text_buffer_move_mark
gtk_text_buffer_delete_mark
gtk_text_buffer_get_mark
gtk_text_buffer_move_mark_by_name
gtk_text_buffer_delete_mark_by_name
gtk_text_buffer_get_insert
gtk_text_buffer_get_selection_bound
gtk_text_buffer_place_cursor
gtk_text_buffer_select_range
gtk_text_buffer_apply_tag
gtk_text_buffer_remove_tag
gtk_text_buffer_apply_tag_by_name
gtk_text_buffer_remove_tag_by_name
gtk_text_buffer_remove_all_tags
gtk_text_buffer_create_tag
gtk_text_buffer_get_iter_at_line_offset
gtk_text_buffer_get_iter_at_line_index
gtk_text_buffer_get_iter_at_offset
gtk_text_buffer_get_iter_at_line
gtk_text_buffer_get_start_iter
gtk_text_buffer_get_end_iter
gtk_text_buffer_get_bounds
gtk_text_buffer_get_iter_at_mark
gtk_text_buffer_get_iter_at_child_anchor
gtk_text_buffer_get_modified
gtk_text_buffer_set_modified
gtk_text_buffer_get_has_selection
gtk_text_buffer_add_selection_clipboard
gtk_text_buffer_remove_selection_clipboard
gtk_text_buffer_cut_clipboard
gtk_text_buffer_copy_clipboard
gtk_text_buffer_paste_clipboard
gtk_text_buffer_get_selection_bounds
gtk_text_buffer_delete_selection
gtk_text_buffer_get_selection_content
gtk_text_buffer_get_can_undo
gtk_text_buffer_get_can_redo
gtk_text_buffer_get_enable_undo
gtk_text_buffer_set_enable_undo
gtk_text_buffer_get_max_undo_levels
gtk_text_buffer_set_max_undo_levels
gtk_text_buffer_undo
gtk_text_buffer_redo
gtk_text_buffer_begin_irreversible_action
gtk_text_buffer_end_irreversible_action
gtk_text_buffer_begin_user_action
gtk_text_buffer_end_user_action
GtkTextBTree
GTK_IS_TEXT_BUFFER
GTK_IS_TEXT_BUFFER_CLASS
GTK_TEXT_BUFFER
GTK_TEXT_BUFFER_CLASS
GTK_TEXT_BUFFER_GET_CLASS
GTK_TYPE_TEXT_BUFFER
GtkTextBuffer
GtkTextBufferPrivate
gtk_text_buffer_get_type
gtktextcellaccessible
GtkTextCellAccessible
GTK_IS_TEXT_CELL_ACCESSIBLE
GTK_IS_TEXT_CELL_ACCESSIBLE_CLASS
GTK_TEXT_CELL_ACCESSIBLE
GTK_TEXT_CELL_ACCESSIBLE_CLASS
GTK_TEXT_CELL_ACCESSIBLE_GET_CLASS
GTK_TYPE_TEXT_CELL_ACCESSIBLE
GtkTextCellAccessible
GtkTextCellAccessibleClass
GtkTextCellAccessiblePrivate
gtk_text_cell_accessible_get_type
gtktextchild
GtkTextChildAnchor
GtkTextChildAnchor
gtk_text_child_anchor_new
gtk_text_child_anchor_get_widgets
gtk_text_child_anchor_get_deleted
GTK_IS_TEXT_CHILD_ANCHOR
GTK_IS_TEXT_CHILD_ANCHOR_CLASS
GTK_TEXT_CHILD_ANCHOR
GTK_TEXT_CHILD_ANCHOR_CLASS
GTK_TEXT_CHILD_ANCHOR_GET_CLASS
GTK_TYPE_TEXT_CHILD_ANCHOR
GtkTextChildAnchorClass
gtk_text_child_anchor_get_type
gtktextiter
GtkTextSearchFlags
gtk_text_iter_get_buffer
gtk_text_iter_copy
gtk_text_iter_free
gtk_text_iter_assign
gtk_text_iter_get_offset
gtk_text_iter_get_line
gtk_text_iter_get_line_offset
gtk_text_iter_get_line_index
gtk_text_iter_get_visible_line_offset
gtk_text_iter_get_visible_line_index
gtk_text_iter_get_char
gtk_text_iter_get_slice
gtk_text_iter_get_text
gtk_text_iter_get_visible_slice
gtk_text_iter_get_visible_text
gtk_text_iter_get_paintable
gtk_text_iter_get_marks
gtk_text_iter_get_child_anchor
gtk_text_iter_get_toggled_tags
gtk_text_iter_starts_tag
gtk_text_iter_ends_tag
gtk_text_iter_toggles_tag
gtk_text_iter_has_tag
gtk_text_iter_get_tags
gtk_text_iter_editable
gtk_text_iter_can_insert
gtk_text_iter_starts_word
gtk_text_iter_ends_word
gtk_text_iter_inside_word
gtk_text_iter_starts_sentence
gtk_text_iter_ends_sentence
gtk_text_iter_inside_sentence
gtk_text_iter_starts_line
gtk_text_iter_ends_line
gtk_text_iter_is_cursor_position
gtk_text_iter_get_chars_in_line
gtk_text_iter_get_bytes_in_line
gtk_text_iter_get_language
gtk_text_iter_is_end
gtk_text_iter_is_start
gtk_text_iter_forward_char
gtk_text_iter_backward_char
gtk_text_iter_forward_chars
gtk_text_iter_backward_chars
gtk_text_iter_forward_line
gtk_text_iter_backward_line
gtk_text_iter_forward_lines
gtk_text_iter_backward_lines
gtk_text_iter_forward_word_end
gtk_text_iter_backward_word_start
gtk_text_iter_forward_word_ends
gtk_text_iter_backward_word_starts
gtk_text_iter_forward_visible_line
gtk_text_iter_backward_visible_line
gtk_text_iter_forward_visible_lines
gtk_text_iter_backward_visible_lines
gtk_text_iter_forward_visible_word_end
gtk_text_iter_backward_visible_word_start
gtk_text_iter_forward_visible_word_ends
gtk_text_iter_backward_visible_word_starts
gtk_text_iter_forward_sentence_end
gtk_text_iter_backward_sentence_start
gtk_text_iter_forward_sentence_ends
gtk_text_iter_backward_sentence_starts
gtk_text_iter_forward_cursor_position
gtk_text_iter_backward_cursor_position
gtk_text_iter_forward_cursor_positions
gtk_text_iter_backward_cursor_positions
gtk_text_iter_forward_visible_cursor_position
gtk_text_iter_backward_visible_cursor_position
gtk_text_iter_forward_visible_cursor_positions
gtk_text_iter_backward_visible_cursor_positions
gtk_text_iter_set_offset
gtk_text_iter_set_line
gtk_text_iter_set_line_offset
gtk_text_iter_set_line_index
gtk_text_iter_forward_to_end
gtk_text_iter_forward_to_line_end
gtk_text_iter_set_visible_line_offset
gtk_text_iter_set_visible_line_index
gtk_text_iter_forward_to_tag_toggle
gtk_text_iter_backward_to_tag_toggle
GtkTextCharPredicate
gtk_text_iter_forward_find_char
gtk_text_iter_backward_find_char
gtk_text_iter_forward_search
gtk_text_iter_backward_search
gtk_text_iter_equal
gtk_text_iter_compare
gtk_text_iter_in_range
gtk_text_iter_order
GtkTextBuffer
GTK_TYPE_TEXT_ITER
GtkTextIter
gtk_text_iter_get_type
gtktextmark
GtkTextMark
gtk_text_mark_new
gtk_text_mark_set_visible
gtk_text_mark_get_visible
gtk_text_mark_get_name
gtk_text_mark_get_deleted
gtk_text_mark_get_buffer
gtk_text_mark_get_left_gravity
GTK_IS_TEXT_MARK
GTK_IS_TEXT_MARK_CLASS
GTK_TEXT_MARK
GTK_TEXT_MARK_CLASS
GTK_TEXT_MARK_GET_CLASS
GTK_TYPE_TEXT_MARK
GtkTextMark
GtkTextMarkClass
gtk_text_mark_get_type
gtktextprivate
GtkText
GtkTextClass
gtk_text_get_display_text
gtk_text_get_im_context
gtk_text_enter_text
gtk_text_set_positions
gtk_text_get_layout
gtk_text_get_layout_offsets
gtk_text_reset_im_context
gtk_text_get_key_controller
GTK_IS_TEXT_CLASS
GTK_TEXT_CLASS
GTK_TEXT_GET_CLASS
gtktextsegment
GtkTextLineSegment
GtkTextTagInfo
GtkTextToggleBody
GtkTextSegSplitFunc
GtkTextSegDeleteFunc
GtkTextSegCleanupFunc
GtkTextSegLineChangeFunc
GtkTextSegCheckFunc
GtkTextLineSegmentClass
GtkTextLineSegment
gtk_text_line_segment_split
gtktexttag
GtkTextTag
gtk_text_tag_new
gtk_text_tag_get_priority
gtk_text_tag_set_priority
gtk_text_tag_changed
GtkTextIter
GtkTextTagTable
GTK_IS_TEXT_TAG
GTK_IS_TEXT_TAG_CLASS
GTK_TEXT_TAG
GTK_TEXT_TAG_CLASS
GTK_TEXT_TAG_GET_CLASS
GTK_TYPE_TEXT_TAG
GtkTextTag
GtkTextTagClass
GtkTextTagPrivate
gtk_text_tag_get_type
gtktexttagtable
GtkTextTagTableForeach
gtk_text_tag_table_new
gtk_text_tag_table_add
gtk_text_tag_table_remove
gtk_text_tag_table_lookup
gtk_text_tag_table_foreach
gtk_text_tag_table_get_size
GTK_IS_TEXT_TAG_TABLE
GTK_TEXT_TAG_TABLE
GTK_TYPE_TEXT_TAG_TABLE
gtk_text_tag_table_get_type
gtktexttypes
GtkTextLineSegment
GTK_TEXT_UNKNOWN_CHAR
GTK_TEXT_UNKNOWN_CHAR_UTF8_LEN
gtk_text_unknown_char_utf8_gtk_tests_only
gtk_text_byte_begins_utf8_char
GtkTextCounter
GtkTextLineSegment
GtkTextLineSegmentClass
GtkTextMarkBody
GtkTextToggleBody
gtktextutil
gtk_text_util_create_drag_icon
gtk_text_util_create_rich_drag_icon
gtktextview
GtkTextView
GtkTextWindowType
GtkTextViewLayer
GtkTextExtendSelection
GTK_TEXT_VIEW_PRIORITY_VALIDATE
GtkTextViewClass
gtk_text_view_new
gtk_text_view_new_with_buffer
gtk_text_view_set_buffer
gtk_text_view_get_buffer
gtk_text_view_scroll_to_iter
gtk_text_view_scroll_to_mark
gtk_text_view_scroll_mark_onscreen
gtk_text_view_move_mark_onscreen
gtk_text_view_place_cursor_onscreen
gtk_text_view_get_visible_rect
gtk_text_view_set_cursor_visible
gtk_text_view_get_cursor_visible
gtk_text_view_reset_cursor_blink
gtk_text_view_get_cursor_locations
gtk_text_view_get_iter_location
gtk_text_view_get_iter_at_location
gtk_text_view_get_iter_at_position
gtk_text_view_get_line_yrange
gtk_text_view_get_line_at_y
gtk_text_view_buffer_to_window_coords
gtk_text_view_window_to_buffer_coords
gtk_text_view_forward_display_line
gtk_text_view_backward_display_line
gtk_text_view_forward_display_line_end
gtk_text_view_backward_display_line_start
gtk_text_view_starts_display_line
gtk_text_view_move_visually
gtk_text_view_im_context_filter_keypress
gtk_text_view_reset_im_context
gtk_text_view_get_gutter
gtk_text_view_set_gutter
gtk_text_view_add_child_at_anchor
gtk_text_view_add_overlay
gtk_text_view_move_overlay
gtk_text_view_set_wrap_mode
gtk_text_view_get_wrap_mode
gtk_text_view_set_editable
gtk_text_view_get_editable
gtk_text_view_set_overwrite
gtk_text_view_get_overwrite
gtk_text_view_set_accepts_tab
gtk_text_view_get_accepts_tab
gtk_text_view_set_pixels_above_lines
gtk_text_view_get_pixels_above_lines
gtk_text_view_set_pixels_below_lines
gtk_text_view_get_pixels_below_lines
gtk_text_view_set_pixels_inside_wrap
gtk_text_view_get_pixels_inside_wrap
gtk_text_view_set_justification
gtk_text_view_get_justification
gtk_text_view_set_left_margin
gtk_text_view_get_left_margin
gtk_text_view_set_right_margin
gtk_text_view_get_right_margin
gtk_text_view_set_top_margin
gtk_text_view_get_top_margin
gtk_text_view_set_bottom_margin
gtk_text_view_get_bottom_margin
gtk_text_view_set_indent
gtk_text_view_get_indent
gtk_text_view_set_tabs
gtk_text_view_get_tabs
gtk_text_view_set_input_purpose
gtk_text_view_get_input_purpose
gtk_text_view_set_input_hints
gtk_text_view_get_input_hints
gtk_text_view_set_monospace
gtk_text_view_get_monospace
gtk_text_view_set_extra_menu
gtk_text_view_get_extra_menu
GTK_IS_TEXT_VIEW
GTK_IS_TEXT_VIEW_CLASS
GTK_TEXT_VIEW
GTK_TEXT_VIEW_CLASS
GTK_TEXT_VIEW_GET_CLASS
GTK_TYPE_TEXT_VIEW
GtkTextView
GtkTextViewPrivate
gtk_text_view_get_type
gtktextviewaccessible
GtkTextViewAccessible
GTK_IS_TEXT_VIEW_ACCESSIBLE
GTK_IS_TEXT_VIEW_ACCESSIBLE_CLASS
GTK_TEXT_VIEW_ACCESSIBLE
GTK_TEXT_VIEW_ACCESSIBLE_CLASS
GTK_TEXT_VIEW_ACCESSIBLE_GET_CLASS
GTK_TYPE_TEXT_VIEW_ACCESSIBLE
GtkTextViewAccessible
GtkTextViewAccessibleClass
GtkTextViewAccessiblePrivate
gtk_text_view_accessible_get_type
gtktextviewaccessibleprivate
gtktextviewchildprivate
GTK_TYPE_TEXT_VIEW_CHILD
gtk_text_view_child_new
gtk_text_view_child_get_window_type
gtk_text_view_child_add_overlay
gtk_text_view_child_move_overlay
gtk_text_view_child_set_offset
GtkTextViewChild
gtktogglebutton
GtkToggleButton
gtk_toggle_button_new
gtk_toggle_button_new_with_label
gtk_toggle_button_new_with_mnemonic
gtk_toggle_button_set_active
gtk_toggle_button_get_active
gtk_toggle_button_toggled
GTK_IS_TOGGLE_BUTTON
GTK_IS_TOGGLE_BUTTON_CLASS
GTK_TOGGLE_BUTTON
GTK_TOGGLE_BUTTON_CLASS
GTK_TOGGLE_BUTTON_GET_CLASS
GTK_TYPE_TOGGLE_BUTTON
GtkToggleButton
GtkToggleButtonClass
gtk_toggle_button_get_type
gtktogglebuttonaccessible
GtkToggleButtonAccessible
GTK_IS_TOGGLE_BUTTON_ACCESSIBLE
GTK_IS_TOGGLE_BUTTON_ACCESSIBLE_CLASS
GTK_TOGGLE_BUTTON_ACCESSIBLE
GTK_TOGGLE_BUTTON_ACCESSIBLE_CLASS
GTK_TOGGLE_BUTTON_ACCESSIBLE_GET_CLASS
GTK_TYPE_TOGGLE_BUTTON_ACCESSIBLE
GtkToggleButtonAccessible
GtkToggleButtonAccessibleClass
GtkToggleButtonAccessiblePrivate
gtk_toggle_button_accessible_get_type
gtktooltip
gtk_tooltip_set_markup
gtk_tooltip_set_text
gtk_tooltip_set_icon
gtk_tooltip_set_icon_from_icon_name
gtk_tooltip_set_icon_from_gicon
gtk_tooltip_set_custom
gtk_tooltip_set_tip_area
GTK_IS_TOOLTIP
GTK_TOOLTIP
GTK_TYPE_TOOLTIP
gtk_tooltip_get_type
gtktoplevelaccessible
GtkToplevelAccessible
gtk_toplevel_accessible_get_children
GTK_IS_TOPLEVEL_ACCESSIBLE
GTK_IS_TOPLEVEL_ACCESSIBLE_CLASS
GTK_TOPLEVEL_ACCESSIBLE
GTK_TOPLEVEL_ACCESSIBLE_CLASS
GTK_TOPLEVEL_ACCESSIBLE_GET_CLASS
GTK_TYPE_TOPLEVEL_ACCESSIBLE
GtkToplevelAccessible
GtkToplevelAccessibleClass
GtkToplevelAccessiblePrivate
gtk_toplevel_accessible_get_type
gtktrashmonitor
GtkTrashMonitor
GTK_IS_TRASH_MONITOR
GTK_IS_TRASH_MONITOR_CLASS
GTK_TRASH_MONITOR
GTK_TRASH_MONITOR_CLASS
GTK_TRASH_MONITOR_GET_CLASS
GTK_TYPE_TRASH_MONITOR
GtkTrashMonitor
GtkTrashMonitorClass
gtktreedatalist
GtkTreeDataList
gtktreednd
GtkTreeDragDest
GtkTreeDragSourceIface
gtk_tree_drag_source_row_draggable
gtk_tree_drag_source_drag_data_delete
gtk_tree_drag_source_drag_data_get
GtkTreeDragDestIface
gtk_tree_drag_dest_drag_data_received
gtk_tree_drag_dest_row_drop_possible
gtk_tree_set_row_drag_data
gtk_tree_get_row_drag_data
GTK_IS_TREE_DRAG_DEST
GTK_IS_TREE_DRAG_SOURCE
GTK_TREE_DRAG_DEST
GTK_TREE_DRAG_DEST_GET_IFACE
GTK_TREE_DRAG_SOURCE
GTK_TREE_DRAG_SOURCE_GET_IFACE
GTK_TYPE_TREE_DRAG_DEST
GTK_TYPE_TREE_DRAG_SOURCE
GtkTreeDragDest
GtkTreeDragSource
gtk_tree_drag_dest_get_type
gtk_tree_drag_source_get_type
gtktreelistmodel
GTK_TYPE_TREE_LIST_MODEL
GTK_TYPE_TREE_LIST_ROW
GtkTreeListModelCreateModelFunc
gtk_tree_list_model_new
gtk_tree_list_model_get_model
gtk_tree_list_model_get_passthrough
gtk_tree_list_model_set_autoexpand
gtk_tree_list_model_get_autoexpand
gtk_tree_list_model_get_child_row
gtk_tree_list_model_get_row
gtk_tree_list_row_get_item
gtk_tree_list_row_set_expanded
gtk_tree_list_row_get_expanded
gtk_tree_list_row_is_expandable
gtk_tree_list_row_get_position
gtk_tree_list_row_get_depth
gtk_tree_list_row_get_children
gtk_tree_list_row_get_parent
gtk_tree_list_row_get_child_row
GtkTreeListModel
GtkTreeListRow
gtktreemodel
GtkTreeModel
GtkTreeModelForeachFunc
GtkTreeModelFlags
GtkTreeIter
GtkTreeModelIface
gtk_tree_path_new
gtk_tree_path_new_from_string
gtk_tree_path_new_from_indices
gtk_tree_path_new_from_indicesv
gtk_tree_path_to_string
gtk_tree_path_new_first
gtk_tree_path_append_index
gtk_tree_path_prepend_index
gtk_tree_path_get_depth
gtk_tree_path_get_indices
gtk_tree_path_get_indices_with_depth
gtk_tree_path_free
gtk_tree_path_copy
gtk_tree_path_compare
gtk_tree_path_next
gtk_tree_path_prev
gtk_tree_path_up
gtk_tree_path_down
gtk_tree_path_is_ancestor
gtk_tree_path_is_descendant
gtk_tree_row_reference_new
gtk_tree_row_reference_new_proxy
gtk_tree_row_reference_get_path
gtk_tree_row_reference_get_model
gtk_tree_row_reference_valid
gtk_tree_row_reference_copy
gtk_tree_row_reference_free
gtk_tree_row_reference_inserted
gtk_tree_row_reference_deleted
gtk_tree_row_reference_reordered
gtk_tree_iter_copy
gtk_tree_iter_free
gtk_tree_model_get_flags
gtk_tree_model_get_n_columns
gtk_tree_model_get_column_type
gtk_tree_model_get_iter
gtk_tree_model_get_iter_from_string
gtk_tree_model_get_string_from_iter
gtk_tree_model_get_iter_first
gtk_tree_model_get_path
gtk_tree_model_get_value
gtk_tree_model_iter_previous
gtk_tree_model_iter_next
gtk_tree_model_iter_children
gtk_tree_model_iter_has_child
gtk_tree_model_iter_n_children
gtk_tree_model_iter_nth_child
gtk_tree_model_iter_parent
gtk_tree_model_ref_node
gtk_tree_model_unref_node
gtk_tree_model_get
gtk_tree_model_get_valist
gtk_tree_model_foreach
gtk_tree_model_row_changed
gtk_tree_model_row_inserted
gtk_tree_model_row_has_child_toggled
gtk_tree_model_row_deleted
gtk_tree_model_rows_reordered
gtk_tree_model_rows_reordered_with_length
GtkTreeRowReference
GTK_IS_TREE_MODEL
GTK_TREE_MODEL
GTK_TREE_MODEL_GET_IFACE
GTK_TYPE_TREE_ITER
GTK_TYPE_TREE_MODEL
GTK_TYPE_TREE_PATH
GTK_TYPE_TREE_ROW_REFERENCE
GtkTreeModel
GtkTreePath
gtk_tree_iter_get_type
gtk_tree_model_get_type
gtk_tree_path_get_type
gtk_tree_row_reference_get_type
gtktreemodelcssnode
GtkTreeModelCssNode
GtkTreeModelCssNodeGetFunc
gtk_tree_model_css_node_new
gtk_tree_model_css_node_newv
gtk_tree_model_css_node_set_root_node
gtk_tree_model_css_node_get_root_node
gtk_tree_model_css_node_get_node_from_iter
gtk_tree_model_css_node_get_iter_from_node
GTK_IS_TREE_MODEL_CSS_NODE
GTK_IS_TREE_MODEL_CSS_NODE_CLASS
GTK_TREE_MODEL_CSS_NODE
GTK_TREE_MODEL_CSS_NODE_CLASS
GTK_TREE_MODEL_CSS_NODE_GET_CLASS
GTK_TYPE_TREE_MODEL_CSS_NODE
GtkTreeModelCssNode
GtkTreeModelCssNodeClass
GtkTreeModelCssNodePrivate
gtk_tree_model_css_node_get_type
gtktreemodelfilter
GtkTreeModelFilter
GtkTreeModelFilterVisibleFunc
GtkTreeModelFilterModifyFunc
gtk_tree_model_filter_new
gtk_tree_model_filter_set_visible_func
gtk_tree_model_filter_set_modify_func
gtk_tree_model_filter_set_visible_column
gtk_tree_model_filter_get_model
gtk_tree_model_filter_convert_child_iter_to_iter
gtk_tree_model_filter_convert_iter_to_child_iter
gtk_tree_model_filter_convert_child_path_to_path
gtk_tree_model_filter_convert_path_to_child_path
gtk_tree_model_filter_refilter
gtk_tree_model_filter_clear_cache
GTK_IS_TREE_MODEL_FILTER
GTK_IS_TREE_MODEL_FILTER_CLASS
GTK_TREE_MODEL_FILTER
GTK_TREE_MODEL_FILTER_CLASS
GTK_TREE_MODEL_FILTER_GET_CLASS
GTK_TYPE_TREE_MODEL_FILTER
GtkTreeModelFilter
GtkTreeModelFilterClass
GtkTreeModelFilterPrivate
gtk_tree_model_filter_get_type
gtktreemodelsort
GtkTreeModelSort
gtk_tree_model_sort_new_with_model
gtk_tree_model_sort_get_model
gtk_tree_model_sort_convert_child_path_to_path
gtk_tree_model_sort_convert_child_iter_to_iter
gtk_tree_model_sort_convert_path_to_child_path
gtk_tree_model_sort_convert_iter_to_child_iter
gtk_tree_model_sort_reset_default_sort_func
gtk_tree_model_sort_clear_cache
gtk_tree_model_sort_iter_is_valid
GTK_IS_TREE_MODEL_SORT
GTK_IS_TREE_MODEL_SORT_CLASS
GTK_TREE_MODEL_SORT
GTK_TREE_MODEL_SORT_CLASS
GTK_TREE_MODEL_SORT_GET_CLASS
GTK_TYPE_TREE_MODEL_SORT
GtkTreeModelSort
GtkTreeModelSortClass
GtkTreeModelSortPrivate
gtk_tree_model_sort_get_type
gtktreepopoverprivate
GTK_TYPE_TREE_POPOVER
gtk_tree_popover_set_model
gtk_tree_popover_set_row_separator_func
gtk_tree_popover_set_active
gtk_tree_popover_open_submenu
GtkTreePopover
gtktreerbtreeprivate
GtkTreeRBNodeColor
GtkTreeRBTreeTraverseFunc
GtkTreeRBTree
GtkTreeRBNode
GTK_TREE_RBNODE_GET_COLOR
GTK_TREE_RBNODE_SET_COLOR
GTK_TREE_RBNODE_GET_HEIGHT
GTK_TREE_RBNODE_SET_FLAG
GTK_TREE_RBNODE_UNSET_FLAG
GTK_TREE_RBNODE_FLAG_SET
gtk_tree_rbtree_new
gtk_tree_rbtree_free
gtk_tree_rbtree_remove
gtk_tree_rbtree_destroy
gtk_tree_rbtree_insert_before
gtk_tree_rbtree_insert_after
gtk_tree_rbtree_remove_node
gtk_tree_rbtree_is_nil
gtk_tree_rbtree_reorder
gtk_tree_rbtree_contains
gtk_tree_rbtree_find_count
gtk_tree_rbtree_node_set_height
gtk_tree_rbtree_node_mark_invalid
gtk_tree_rbtree_node_mark_valid
gtk_tree_rbtree_column_invalid
gtk_tree_rbtree_mark_invalid
gtk_tree_rbtree_set_fixed_height
gtk_tree_rbtree_node_find_offset
gtk_tree_rbtree_node_get_index
gtk_tree_rbtree_find_index
gtk_tree_rbtree_find_offset
gtk_tree_rbtree_traverse
gtk_tree_rbtree_first
gtk_tree_rbtree_next
gtk_tree_rbtree_prev
gtk_tree_rbtree_next_full
gtk_tree_rbtree_prev_full
gtk_tree_rbtree_get_depth
GtkTreeRBTreeView
gtktreeselection
GtkTreeSelectionFunc
GtkTreeSelectionForeachFunc
gtk_tree_selection_set_mode
gtk_tree_selection_get_mode
gtk_tree_selection_set_select_function
gtk_tree_selection_get_user_data
gtk_tree_selection_get_tree_view
gtk_tree_selection_get_select_function
gtk_tree_selection_get_selected
gtk_tree_selection_get_selected_rows
gtk_tree_selection_count_selected_rows
gtk_tree_selection_selected_foreach
gtk_tree_selection_select_path
gtk_tree_selection_unselect_path
gtk_tree_selection_select_iter
gtk_tree_selection_unselect_iter
gtk_tree_selection_path_is_selected
gtk_tree_selection_iter_is_selected
gtk_tree_selection_select_all
gtk_tree_selection_unselect_all
gtk_tree_selection_select_range
gtk_tree_selection_unselect_range
GTK_IS_TREE_SELECTION
GTK_TREE_SELECTION
GTK_TYPE_TREE_SELECTION
gtk_tree_selection_get_type
gtktreesortable
GtkTreeSortable
GTK_TREE_SORTABLE_DEFAULT_SORT_COLUMN_ID
GTK_TREE_SORTABLE_UNSORTED_SORT_COLUMN_ID
GtkTreeIterCompareFunc
GtkTreeSortableIface
gtk_tree_sortable_sort_column_changed
gtk_tree_sortable_get_sort_column_id
gtk_tree_sortable_set_sort_column_id
gtk_tree_sortable_set_sort_func
gtk_tree_sortable_set_default_sort_func
gtk_tree_sortable_has_default_sort_func
GTK_IS_TREE_SORTABLE
GTK_TREE_SORTABLE
GTK_TREE_SORTABLE_CLASS
GTK_TREE_SORTABLE_GET_IFACE
GTK_TYPE_TREE_SORTABLE
GtkTreeSortable
gtk_tree_sortable_get_type
gtktreestore
GtkTreeStore
gtk_tree_store_new
gtk_tree_store_newv
gtk_tree_store_set_column_types
gtk_tree_store_set_value
gtk_tree_store_set
gtk_tree_store_set_valuesv
gtk_tree_store_set_valist
gtk_tree_store_remove
gtk_tree_store_insert
gtk_tree_store_insert_before
gtk_tree_store_insert_after
gtk_tree_store_insert_with_values
gtk_tree_store_insert_with_valuesv
gtk_tree_store_prepend
gtk_tree_store_append
gtk_tree_store_is_ancestor
gtk_tree_store_iter_depth
gtk_tree_store_clear
gtk_tree_store_iter_is_valid
gtk_tree_store_reorder
gtk_tree_store_swap
gtk_tree_store_move_before
gtk_tree_store_move_after
GTK_IS_TREE_STORE
GTK_IS_TREE_STORE_CLASS
GTK_TREE_STORE
GTK_TREE_STORE_CLASS
GTK_TREE_STORE_GET_CLASS
GTK_TYPE_TREE_STORE
GtkTreeStore
GtkTreeStoreClass
GtkTreeStorePrivate
gtk_tree_store_get_type
gtktreeview
GtkTreeViewDropPosition
GtkTreeViewColumnDropFunc
GtkTreeViewMappingFunc
GtkTreeViewSearchEqualFunc
GtkTreeViewRowSeparatorFunc
gtk_tree_view_new
gtk_tree_view_new_with_model
gtk_tree_view_get_model
gtk_tree_view_set_model
gtk_tree_view_get_selection
gtk_tree_view_get_headers_visible
gtk_tree_view_set_headers_visible
gtk_tree_view_columns_autosize
gtk_tree_view_get_headers_clickable
gtk_tree_view_set_headers_clickable
gtk_tree_view_get_activate_on_single_click
gtk_tree_view_set_activate_on_single_click
gtk_tree_view_append_column
gtk_tree_view_remove_column
gtk_tree_view_insert_column
gtk_tree_view_insert_column_with_attributes
gtk_tree_view_insert_column_with_data_func
gtk_tree_view_get_n_columns
gtk_tree_view_get_column
gtk_tree_view_get_columns
gtk_tree_view_move_column_after
gtk_tree_view_set_expander_column
gtk_tree_view_get_expander_column
gtk_tree_view_set_column_drag_function
gtk_tree_view_scroll_to_point
gtk_tree_view_scroll_to_cell
gtk_tree_view_row_activated
gtk_tree_view_expand_all
gtk_tree_view_collapse_all
gtk_tree_view_expand_to_path
gtk_tree_view_expand_row
gtk_tree_view_collapse_row
gtk_tree_view_map_expanded_rows
gtk_tree_view_row_expanded
gtk_tree_view_set_reorderable
gtk_tree_view_get_reorderable
gtk_tree_view_set_cursor
gtk_tree_view_set_cursor_on_cell
gtk_tree_view_get_cursor
gtk_tree_view_get_path_at_pos
gtk_tree_view_get_cell_area
gtk_tree_view_get_background_area
gtk_tree_view_get_visible_rect
gtk_tree_view_get_visible_range
gtk_tree_view_is_blank_at_pos
gtk_tree_view_enable_model_drag_source
gtk_tree_view_enable_model_drag_dest
gtk_tree_view_unset_rows_drag_source
gtk_tree_view_unset_rows_drag_dest
gtk_tree_view_set_drag_dest_row
gtk_tree_view_get_drag_dest_row
gtk_tree_view_get_dest_row_at_pos
gtk_tree_view_create_row_drag_icon
gtk_tree_view_set_enable_search
gtk_tree_view_get_enable_search
gtk_tree_view_get_search_column
gtk_tree_view_set_search_column
gtk_tree_view_get_search_equal_func
gtk_tree_view_set_search_equal_func
gtk_tree_view_get_search_entry
gtk_tree_view_set_search_entry
gtk_tree_view_convert_widget_to_tree_coords
gtk_tree_view_convert_tree_to_widget_coords
gtk_tree_view_convert_widget_to_bin_window_coords
gtk_tree_view_convert_bin_window_to_widget_coords
gtk_tree_view_convert_tree_to_bin_window_coords
gtk_tree_view_convert_bin_window_to_tree_coords
gtk_tree_view_set_fixed_height_mode
gtk_tree_view_get_fixed_height_mode
gtk_tree_view_set_hover_selection
gtk_tree_view_get_hover_selection
gtk_tree_view_set_hover_expand
gtk_tree_view_get_hover_expand
gtk_tree_view_set_rubber_banding
gtk_tree_view_get_rubber_banding
gtk_tree_view_is_rubber_banding_active
gtk_tree_view_get_row_separator_func
gtk_tree_view_set_row_separator_func
gtk_tree_view_get_grid_lines
gtk_tree_view_set_grid_lines
gtk_tree_view_get_enable_tree_lines
gtk_tree_view_set_enable_tree_lines
gtk_tree_view_set_show_expanders
gtk_tree_view_get_show_expanders
gtk_tree_view_set_level_indentation
gtk_tree_view_get_level_indentation
gtk_tree_view_set_tooltip_row
gtk_tree_view_set_tooltip_cell
gtk_tree_view_get_tooltip_context
gtk_tree_view_set_tooltip_column
gtk_tree_view_get_tooltip_column
GtkTreeSelection
GTK_IS_TREE_VIEW
GTK_TREE_VIEW
GTK_TYPE_TREE_VIEW
GtkTreeView
gtk_tree_view_get_type
gtktreeviewaccessible
GtkTreeViewAccessible
GTK_IS_TREE_VIEW_ACCESSIBLE
GTK_IS_TREE_VIEW_ACCESSIBLE_CLASS
GTK_TREE_VIEW_ACCESSIBLE
GTK_TREE_VIEW_ACCESSIBLE_CLASS
GTK_TREE_VIEW_ACCESSIBLE_GET_CLASS
GTK_TYPE_TREE_VIEW_ACCESSIBLE
GtkTreeViewAccessible
GtkTreeViewAccessibleClass
GtkTreeViewAccessiblePrivate
gtk_tree_view_accessible_get_type
gtktreeviewaccessibleprivate
gtktreeviewcolumn
GtkTreeViewColumnSizing
GtkTreeCellDataFunc
gtk_tree_view_column_new
gtk_tree_view_column_new_with_area
gtk_tree_view_column_new_with_attributes
gtk_tree_view_column_pack_start
gtk_tree_view_column_pack_end
gtk_tree_view_column_clear
gtk_tree_view_column_add_attribute
gtk_tree_view_column_set_attributes
gtk_tree_view_column_set_cell_data_func
gtk_tree_view_column_clear_attributes
gtk_tree_view_column_set_spacing
gtk_tree_view_column_get_spacing
gtk_tree_view_column_set_visible
gtk_tree_view_column_get_visible
gtk_tree_view_column_set_resizable
gtk_tree_view_column_get_resizable
gtk_tree_view_column_set_sizing
gtk_tree_view_column_get_sizing
gtk_tree_view_column_get_x_offset
gtk_tree_view_column_get_width
gtk_tree_view_column_get_fixed_width
gtk_tree_view_column_set_fixed_width
gtk_tree_view_column_set_min_width
gtk_tree_view_column_get_min_width
gtk_tree_view_column_set_max_width
gtk_tree_view_column_get_max_width
gtk_tree_view_column_clicked
gtk_tree_view_column_set_title
gtk_tree_view_column_get_title
gtk_tree_view_column_set_expand
gtk_tree_view_column_get_expand
gtk_tree_view_column_set_clickable
gtk_tree_view_column_get_clickable
gtk_tree_view_column_set_widget
gtk_tree_view_column_get_widget
gtk_tree_view_column_set_alignment
gtk_tree_view_column_get_alignment
gtk_tree_view_column_set_reorderable
gtk_tree_view_column_get_reorderable
gtk_tree_view_column_set_sort_column_id
gtk_tree_view_column_get_sort_column_id
gtk_tree_view_column_set_sort_indicator
gtk_tree_view_column_get_sort_indicator
gtk_tree_view_column_set_sort_order
gtk_tree_view_column_get_sort_order
gtk_tree_view_column_cell_set_cell_data
gtk_tree_view_column_cell_get_size
gtk_tree_view_column_cell_is_visible
gtk_tree_view_column_focus_cell
gtk_tree_view_column_cell_get_position
gtk_tree_view_column_queue_resize
gtk_tree_view_column_get_tree_view
gtk_tree_view_column_get_button
GTK_IS_TREE_VIEW_COLUMN
GTK_TREE_VIEW_COLUMN
GTK_TYPE_TREE_VIEW_COLUMN
GtkTreeViewColumn
gtk_tree_view_column_get_type
gtktypebuiltins
GTK_TYPE_LICENSE
GTK_TYPE_ACCEL_FLAGS
GTK_TYPE_APPLICATION_INHIBIT_FLAGS
GTK_TYPE_ASSISTANT_PAGE_TYPE
GTK_TYPE_BUILDER_ERROR
GTK_TYPE_BUILDER_CLOSURE_FLAGS
GTK_TYPE_CELL_RENDERER_STATE
GTK_TYPE_CELL_RENDERER_MODE
GTK_TYPE_CELL_RENDERER_ACCEL_MODE
GTK_TYPE_DEBUG_FLAG
GTK_TYPE_DIALOG_FLAGS
GTK_TYPE_RESPONSE_TYPE
GTK_TYPE_EDITABLE_PROPERTIES
GTK_TYPE_ENTRY_ICON_POSITION
GTK_TYPE_ALIGN
GTK_TYPE_ARROW_TYPE
GTK_TYPE_BASELINE_POSITION
GTK_TYPE_DELETE_TYPE
GTK_TYPE_DIRECTION_TYPE
GTK_TYPE_ICON_SIZE
GTK_TYPE_SENSITIVITY_TYPE
GTK_TYPE_TEXT_DIRECTION
GTK_TYPE_JUSTIFICATION
GTK_TYPE_MENU_DIRECTION_TYPE
GTK_TYPE_MESSAGE_TYPE
GTK_TYPE_MOVEMENT_STEP
GTK_TYPE_SCROLL_STEP
GTK_TYPE_ORIENTATION
GTK_TYPE_OVERFLOW
GTK_TYPE_PACK_TYPE
GTK_TYPE_POSITION_TYPE
GTK_TYPE_RELIEF_STYLE
GTK_TYPE_SCROLL_TYPE
GTK_TYPE_SELECTION_MODE
GTK_TYPE_SHADOW_TYPE
GTK_TYPE_WRAP_MODE
GTK_TYPE_SORT_TYPE
GTK_TYPE_PRINT_PAGES
GTK_TYPE_PAGE_SET
GTK_TYPE_NUMBER_UP_LAYOUT
GTK_TYPE_PAGE_ORIENTATION
GTK_TYPE_PRINT_QUALITY
GTK_TYPE_PRINT_DUPLEX
GTK_TYPE_UNIT
GTK_TYPE_TREE_VIEW_GRID_LINES
GTK_TYPE_SIZE_GROUP_MODE
GTK_TYPE_SIZE_REQUEST_MODE
GTK_TYPE_SCROLLABLE_POLICY
GTK_TYPE_STATE_FLAGS
GTK_TYPE_BORDER_STYLE
GTK_TYPE_LEVEL_BAR_MODE
GTK_TYPE_INPUT_PURPOSE
GTK_TYPE_INPUT_HINTS
GTK_TYPE_PROPAGATION_PHASE
GTK_TYPE_PROPAGATION_LIMIT
GTK_TYPE_EVENT_SEQUENCE_STATE
GTK_TYPE_PAN_DIRECTION
GTK_TYPE_POPOVER_CONSTRAINT
GTK_TYPE_PLACES_OPEN_FLAGS
GTK_TYPE_PICK_FLAGS
GTK_TYPE_CONSTRAINT_RELATION
GTK_TYPE_CONSTRAINT_STRENGTH
GTK_TYPE_CONSTRAINT_ATTRIBUTE
GTK_TYPE_CONSTRAINT_VFL_PARSER_ERROR
GTK_TYPE_EVENT_CONTROLLER_SCROLL_FLAGS
GTK_TYPE_FILE_CHOOSER_ACTION
GTK_TYPE_FILE_CHOOSER_CONFIRMATION
GTK_TYPE_FILE_CHOOSER_ERROR
GTK_TYPE_FILE_FILTER_FLAGS
GTK_TYPE_FONT_CHOOSER_LEVEL
GTK_TYPE_ICON_LOOKUP_FLAGS
GTK_TYPE_ICON_THEME_ERROR
GTK_TYPE_ICON_VIEW_DROP_POSITION
GTK_TYPE_IMAGE_TYPE
GTK_TYPE_BUTTONS_TYPE
GTK_TYPE_NOTEBOOK_TAB
GTK_TYPE_PAD_ACTION_TYPE
GTK_TYPE_POPOVER_MENU_FLAGS
GTK_TYPE_PRINT_STATUS
GTK_TYPE_PRINT_OPERATION_RESULT
GTK_TYPE_PRINT_OPERATION_ACTION
GTK_TYPE_PRINT_ERROR
GTK_TYPE_RECENT_MANAGER_ERROR
GTK_TYPE_REVEALER_TRANSITION_TYPE
GTK_TYPE_CORNER_TYPE
GTK_TYPE_POLICY_TYPE
GTK_TYPE_SHORTCUT_TYPE
GTK_TYPE_SPIN_BUTTON_UPDATE_POLICY
GTK_TYPE_SPIN_TYPE
GTK_TYPE_STACK_TRANSITION_TYPE
GTK_TYPE_STYLE_CONTEXT_PRINT_FLAGS
GTK_TYPE_TEXT_BUFFER_TARGET_INFO
GTK_TYPE_TEXT_SEARCH_FLAGS
GTK_TYPE_TEXT_WINDOW_TYPE
GTK_TYPE_TEXT_VIEW_LAYER
GTK_TYPE_TEXT_EXTEND_SELECTION
GTK_TYPE_TREE_MODEL_FLAGS
GTK_TYPE_TREE_VIEW_DROP_POSITION
GTK_TYPE_TREE_VIEW_COLUMN_SIZING
GTK_TYPE_WINDOW_TYPE
gtktypes
GtkSnapshot
GTK_INVALID_LIST_POSITION
GtkAdjustment
GtkBuilder
GtkBuilderScope
GtkClipboard
GtkCssStyleChange
GtkEventController
GtkGesture
GtkLayoutManager
GtkNative
GtkRequisition
GtkRoot
GtkSelectionData
GtkSettings
GtkStyleContext
GtkTooltip
GtkWidget
GtkWindow
gtkunixprint-autocleanups
gtkversion
GTK_MAJOR_VERSION
GTK_MINOR_VERSION
GTK_MICRO_VERSION
GTK_BINARY_AGE
GTK_INTERFACE_AGE
GTK_CHECK_VERSION
gtkvideo
GTK_TYPE_VIDEO
gtk_video_new
gtk_video_new_for_media_stream
gtk_video_new_for_file
gtk_video_new_for_filename
gtk_video_new_for_resource
gtk_video_get_media_stream
gtk_video_set_media_stream
gtk_video_get_file
gtk_video_set_file
gtk_video_set_filename
gtk_video_set_resource
gtk_video_get_autoplay
gtk_video_set_autoplay
gtk_video_get_loop
gtk_video_set_loop
GtkVideo
gtkviewport
gtk_viewport_new
gtk_viewport_set_shadow_type
gtk_viewport_get_shadow_type
GTK_IS_VIEWPORT
GTK_TYPE_VIEWPORT
GTK_VIEWPORT
GtkViewport
gtk_viewport_get_type
gtkvolumebutton
gtk_volume_button_new
GTK_IS_VOLUME_BUTTON
GTK_TYPE_VOLUME_BUTTON
GTK_VOLUME_BUTTON
GtkVolumeButton
gtk_volume_button_get_type
gtkwidget
GtkWidget
GtkAllocation
GtkCallback
GtkTickCallback
GtkRequisition
GtkWidgetClass
gtk_widget_new
gtk_widget_destroy
gtk_widget_destroyed
gtk_widget_unparent
gtk_widget_show
gtk_widget_hide
gtk_widget_map
gtk_widget_unmap
gtk_widget_realize
gtk_widget_unrealize
gtk_widget_queue_draw
gtk_widget_queue_resize
gtk_widget_queue_allocate
gtk_widget_get_frame_clock
gtk_widget_size_allocate
gtk_widget_allocate
gtk_widget_get_request_mode
gtk_widget_measure
gtk_widget_get_preferred_size
gtk_widget_set_layout_manager
gtk_widget_get_layout_manager
gtk_widget_class_set_layout_manager_type
gtk_widget_class_get_layout_manager_type
gtk_widget_add_accelerator
gtk_widget_remove_accelerator
gtk_widget_set_accel_path
gtk_widget_list_accel_closures
gtk_widget_can_activate_accel
gtk_widget_mnemonic_activate
gtk_widget_event
gtk_widget_activate
gtk_widget_set_can_focus
gtk_widget_get_can_focus
gtk_widget_has_focus
gtk_widget_is_focus
gtk_widget_has_visible_focus
gtk_widget_grab_focus
gtk_widget_set_focus_on_click
gtk_widget_get_focus_on_click
gtk_widget_set_can_target
gtk_widget_get_can_target
gtk_widget_has_default
gtk_widget_set_receives_default
gtk_widget_get_receives_default
gtk_widget_has_grab
gtk_widget_device_is_shadowed
gtk_widget_set_name
gtk_widget_get_name
gtk_widget_set_state_flags
gtk_widget_unset_state_flags
gtk_widget_get_state_flags
gtk_widget_set_sensitive
gtk_widget_get_sensitive
gtk_widget_is_sensitive
gtk_widget_set_visible
gtk_widget_get_visible
gtk_widget_is_visible
gtk_widget_is_drawable
gtk_widget_get_realized
gtk_widget_get_mapped
gtk_widget_set_parent
gtk_widget_get_parent
gtk_widget_get_root
gtk_widget_get_native
gtk_widget_set_child_visible
gtk_widget_get_child_visible
gtk_widget_get_allocated_width
gtk_widget_get_allocated_height
gtk_widget_get_allocated_baseline
gtk_widget_get_allocation
gtk_widget_compute_transform
gtk_widget_compute_bounds
gtk_widget_compute_point
gtk_widget_get_width
gtk_widget_get_height
gtk_widget_child_focus
gtk_widget_keynav_failed
gtk_widget_error_bell
gtk_widget_set_size_request
gtk_widget_get_size_request
gtk_widget_set_opacity
gtk_widget_get_opacity
gtk_widget_set_overflow
gtk_widget_get_overflow
gtk_widget_get_ancestor
gtk_widget_get_scale_factor
gtk_widget_get_display
gtk_widget_get_settings
gtk_widget_get_clipboard
gtk_widget_get_primary_clipboard
gtk_widget_get_hexpand
gtk_widget_set_hexpand
gtk_widget_get_hexpand_set
gtk_widget_set_hexpand_set
gtk_widget_get_vexpand
gtk_widget_set_vexpand
gtk_widget_get_vexpand_set
gtk_widget_set_vexpand_set
gtk_widget_compute_expand
gtk_widget_get_support_multidevice
gtk_widget_set_support_multidevice
gtk_widget_class_set_accessible_type
gtk_widget_class_set_accessible_role
gtk_widget_get_accessible
gtk_widget_get_halign
gtk_widget_set_halign
gtk_widget_get_valign
gtk_widget_set_valign
gtk_widget_get_margin_start
gtk_widget_set_margin_start
gtk_widget_get_margin_end
gtk_widget_set_margin_end
gtk_widget_get_margin_top
gtk_widget_set_margin_top
gtk_widget_get_margin_bottom
gtk_widget_set_margin_bottom
gtk_widget_is_ancestor
gtk_widget_translate_coordinates
gtk_widget_contains
gtk_widget_pick
gtk_widget_add_controller
gtk_widget_remove_controller
gtk_widget_reset_style
gtk_widget_create_pango_context
gtk_widget_get_pango_context
gtk_widget_set_font_options
gtk_widget_get_font_options
gtk_widget_create_pango_layout
gtk_widget_set_direction
gtk_widget_get_direction
gtk_widget_set_default_direction
gtk_widget_get_default_direction
gtk_widget_input_shape_combine_region
gtk_widget_set_cursor
gtk_widget_set_cursor_from_name
gtk_widget_get_cursor
gtk_widget_list_mnemonic_labels
gtk_widget_add_mnemonic_label
gtk_widget_remove_mnemonic_label
gtk_widget_trigger_tooltip_query
gtk_widget_set_tooltip_text
gtk_widget_get_tooltip_text
gtk_widget_set_tooltip_markup
gtk_widget_get_tooltip_markup
gtk_widget_set_has_tooltip
gtk_widget_get_has_tooltip
gtk_requisition_new
gtk_requisition_copy
gtk_requisition_free
gtk_widget_in_destruction
gtk_widget_get_style_context
gtk_widget_class_set_css_name
gtk_widget_class_get_css_name
gtk_widget_get_modifier_mask
gtk_widget_add_tick_callback
gtk_widget_remove_tick_callback
gtk_widget_class_bind_template_callback
gtk_widget_class_bind_template_child
gtk_widget_class_bind_template_child_internal
gtk_widget_class_bind_template_child_private
gtk_widget_class_bind_template_child_internal_private
gtk_widget_init_template
gtk_widget_get_template_child
gtk_widget_class_set_template
gtk_widget_class_set_template_from_resource
gtk_widget_class_bind_template_callback_full
gtk_widget_class_set_template_scope
gtk_widget_class_bind_template_child_full
gtk_widget_insert_action_group
gtk_widget_activate_action
gtk_widget_activate_action_variant
gtk_widget_activate_default
gtk_widget_set_font_map
gtk_widget_get_font_map
gtk_widget_get_first_child
gtk_widget_get_last_child
gtk_widget_get_next_sibling
gtk_widget_get_prev_sibling
gtk_widget_observe_children
gtk_widget_observe_controllers
gtk_widget_insert_after
gtk_widget_insert_before
gtk_widget_set_focus_child
gtk_widget_get_focus_child
gtk_widget_snapshot_child
gtk_widget_should_layout
gtk_widget_add_css_class
gtk_widget_remove_css_class
gtk_widget_has_css_class
GtkWidgetActionActivateFunc
gtk_widget_class_install_action
gtk_widget_class_install_property_action
gtk_widget_class_query_action
gtk_widget_action_set_enabled
GtkWidgetClassPrivate
GTK_IS_WIDGET
GTK_IS_WIDGET_CLASS
GTK_TYPE_REQUISITION
GTK_TYPE_WIDGET
GTK_WIDGET
GTK_WIDGET_CLASS
GTK_WIDGET_GET_CLASS
GtkWidget
GtkWidgetPrivate
gtk_requisition_get_type
gtk_widget_get_type
gtkwidgetaccessible
GtkWidgetAccessible
GTK_IS_WIDGET_ACCESSIBLE
GTK_IS_WIDGET_ACCESSIBLE_CLASS
GTK_TYPE_WIDGET_ACCESSIBLE
GTK_WIDGET_ACCESSIBLE
GTK_WIDGET_ACCESSIBLE_CLASS
GTK_WIDGET_ACCESSIBLE_GET_CLASS
GtkWidgetAccessible
GtkWidgetAccessibleClass
GtkWidgetAccessiblePrivate
gtk_widget_accessible_get_type
gtkwidgetaccessibleprivate
gtkwidgetpaintable
GTK_TYPE_WIDGET_PAINTABLE
gtk_widget_paintable_new
gtk_widget_paintable_get_widget
gtk_widget_paintable_set_widget
GtkWidgetPaintable
gtkwindow
GtkWindow
GtkWindowClass
GtkWindowType
gtk_window_new
gtk_window_set_title
gtk_window_get_title
gtk_window_set_startup_id
gtk_window_add_accel_group
gtk_window_remove_accel_group
gtk_window_set_focus
gtk_window_get_focus
gtk_window_set_default_widget
gtk_window_get_default_widget
gtk_window_set_transient_for
gtk_window_get_transient_for
gtk_window_set_attached_to
gtk_window_get_attached_to
gtk_window_set_type_hint
gtk_window_get_type_hint
gtk_window_set_accept_focus
gtk_window_get_accept_focus
gtk_window_set_focus_on_map
gtk_window_get_focus_on_map
gtk_window_set_destroy_with_parent
gtk_window_get_destroy_with_parent
gtk_window_set_hide_on_close
gtk_window_get_hide_on_close
gtk_window_set_mnemonics_visible
gtk_window_get_mnemonics_visible
gtk_window_set_focus_visible
gtk_window_get_focus_visible
gtk_window_set_resizable
gtk_window_get_resizable
gtk_window_set_display
gtk_window_is_active
gtk_window_set_decorated
gtk_window_get_decorated
gtk_window_set_deletable
gtk_window_get_deletable
gtk_window_set_icon_name
gtk_window_get_icon_name
gtk_window_set_default_icon_name
gtk_window_get_default_icon_name
gtk_window_set_auto_startup_notification
gtk_window_set_modal
gtk_window_get_modal
gtk_window_get_toplevels
gtk_window_list_toplevels
gtk_window_set_has_user_ref_count
gtk_window_add_mnemonic
gtk_window_remove_mnemonic
gtk_window_mnemonic_activate
gtk_window_set_mnemonic_modifier
gtk_window_get_mnemonic_modifier
gtk_window_activate_key
gtk_window_propagate_key_event
gtk_window_present
gtk_window_present_with_time
gtk_window_minimize
gtk_window_unminimize
gtk_window_stick
gtk_window_unstick
gtk_window_maximize
gtk_window_unmaximize
gtk_window_fullscreen
gtk_window_unfullscreen
gtk_window_fullscreen_on_monitor
gtk_window_close
gtk_window_set_keep_above
gtk_window_set_keep_below
gtk_window_begin_resize_drag
gtk_window_begin_move_drag
gtk_window_set_default_size
gtk_window_get_default_size
gtk_window_resize
gtk_window_get_size
gtk_window_get_group
gtk_window_has_group
gtk_window_get_window_type
gtk_window_get_application
gtk_window_set_application
gtk_window_set_titlebar
gtk_window_get_titlebar
gtk_window_is_maximized
gtk_window_set_interactive_debugging
GtkWindowGeometryInfo
GtkWindowGroup
GtkWindowGroupClass
GtkWindowGroupPrivate
GTK_IS_WINDOW
GTK_IS_WINDOW_CLASS
GTK_TYPE_WINDOW
GTK_WINDOW
GTK_WINDOW_CLASS
GTK_WINDOW_GET_CLASS
GtkWindow
gtk_window_get_type
gtkwindowaccessible
GtkWindowAccessible
GTK_IS_WINDOW_ACCESSIBLE
GTK_IS_WINDOW_ACCESSIBLE_CLASS
GTK_TYPE_WINDOW_ACCESSIBLE
GTK_WINDOW_ACCESSIBLE
GTK_WINDOW_ACCESSIBLE_CLASS
GTK_WINDOW_ACCESSIBLE_GET_CLASS
GtkWindowAccessible
GtkWindowAccessibleClass
GtkWindowAccessiblePrivate
gtk_window_accessible_get_type
gtkwindowaccessibleprivate
gtkwindowgroup
GtkWindowGroup
gtk_window_group_new
gtk_window_group_add_window
gtk_window_group_remove_window
gtk_window_group_list_windows
gtk_window_group_get_current_grab
gtk_window_group_get_current_device_grab
GTK_IS_WINDOW_GROUP
GTK_IS_WINDOW_GROUP_CLASS
GTK_TYPE_WINDOW_GROUP
GTK_WINDOW_GROUP
GTK_WINDOW_GROUP_CLASS
GTK_WINDOW_GROUP_GET_CLASS
GtkWindowGroup
GtkWindowGroupClass
gtk_window_group_get_type
highlightoverlay
GTK_TYPE_HIGHLIGHT_OVERLAY
gtk_highlight_overlay_new
gtk_highlight_overlay_get_widget
gtk_highlight_overlay_set_color
GtkHighlightOverlay
inspectoroverlay
GtkInspectorOverlay
GTK_TYPE_INSPECTOR_OVERLAY
GtkInspectorOverlayClass
gtk_inspector_overlay_snapshot
gtk_inspector_overlay_queue_draw
GtkInspectorOverlay
language-names
get_language_name
get_language_name_for_tag
layoutoverlay
GTK_TYPE_LAYOUT_OVERLAY
gtk_layout_overlay_new
GtkLayoutOverlay
logs
gtk_inspector_logs_set_display
GtkInspectorLogsPrivate
GTK_INSPECTOR_IS_LOGS
GTK_INSPECTOR_IS_LOGS_CLASS
GTK_INSPECTOR_LOGS_CLASS
GTK_INSPECTOR_LOGS_GET_CLASS
GTK_TYPE_INSPECTOR_LOGS
gtk_inspector_logs_get_type
magnifier
gtk_inspector_magnifier_set_object
GtkInspectorMagnifierPrivate
GTK_INSPECTOR_IS_MAGNIFIER
GTK_INSPECTOR_IS_MAGNIFIER_CLASS
GTK_INSPECTOR_MAGNIFIER_CLASS
GTK_INSPECTOR_MAGNIFIER_GET_CLASS
GTK_TYPE_INSPECTOR_MAGNIFIER
gtk_inspector_magnifier_get_type
menu
gtk_inspector_menu_set_object
GtkInspectorMenuPrivate
GTK_INSPECTOR_IS_MENU
GTK_INSPECTOR_IS_MENU_CLASS
GTK_INSPECTOR_MENU_CLASS
GTK_INSPECTOR_MENU_GET_CLASS
GTK_TYPE_INSPECTOR_MENU
gtk_inspector_menu_get_type
misc-info
gtk_inspector_misc_info_set_object
GtkInspectorMiscInfoPrivate
GTK_INSPECTOR_IS_MISC_INFO
GTK_INSPECTOR_IS_MISC_INFO_CLASS
GTK_INSPECTOR_MISC_INFO_CLASS
GTK_INSPECTOR_MISC_INFO_GET_CLASS
GTK_TYPE_INSPECTOR_MISC_INFO
gtk_inspector_misc_info_get_type
object-tree
object_selected
object_activated
gtk_inspector_get_object_title
gtk_inspector_object_tree_select_object
gtk_inspector_object_tree_activate_object
gtk_inspector_object_tree_get_selected
gtk_inspector_object_tree_set_display
GtkInspectorObjectTreePrivate
GTK_INSPECTOR_IS_OBJECT_TREE
GTK_INSPECTOR_IS_OBJECT_TREE_CLASS
GTK_INSPECTOR_OBJECT_TREE_CLASS
GTK_INSPECTOR_OBJECT_TREE_GET_CLASS
GTK_TYPE_INSPECTOR_OBJECT_TREE
gtk_inspector_object_tree_get_type
open-type-layout
NamedTag
MAKE_TAG
prop-editor
show_object
gtk_inspector_prop_editor_new
gtk_inspector_prop_editor_should_expand
GtkInspectorPropEditorPrivate
GTK_INSPECTOR_IS_PROP_EDITOR
GTK_INSPECTOR_IS_PROP_EDITOR_CLASS
GTK_INSPECTOR_PROP_EDITOR_CLASS
GTK_INSPECTOR_PROP_EDITOR_GET_CLASS
GTK_TYPE_INSPECTOR_PROP_EDITOR
gtk_inspector_prop_editor_get_type
prop-list
gtk_inspector_prop_list_set_object
gtk_inspector_prop_list_set_layout_child
strdup_value_contents
GtkInspectorPropListPrivate
GTK_INSPECTOR_IS_PROP_LIST
GTK_INSPECTOR_IS_PROP_LIST_CLASS
GTK_INSPECTOR_PROP_LIST_CLASS
GTK_INSPECTOR_PROP_LIST_GET_CLASS
GTK_TYPE_INSPECTOR_PROP_LIST
gtk_inspector_prop_list_get_type
recorder
gtk_inspector_recorder_set_recording
gtk_inspector_recorder_is_recording
gtk_inspector_recorder_set_debug_nodes
gtk_inspector_recorder_record_render
GtkInspectorRecorderPrivate
GTK_INSPECTOR_IS_RECORDER
GTK_INSPECTOR_IS_RECORDER_CLASS
GTK_INSPECTOR_RECORDER_CLASS
GTK_INSPECTOR_RECORDER_GET_CLASS
GTK_TYPE_INSPECTOR_RECORDER
gtk_inspector_recorder_get_type
recording
gtk_inspector_recording_get_timestamp
GtkInspectorRecordingPrivate
GTK_INSPECTOR_IS_RECORDING
GTK_INSPECTOR_IS_RECORDING_CLASS
GTK_INSPECTOR_RECORDING_CLASS
GTK_INSPECTOR_RECORDING_GET_CLASS
GTK_TYPE_INSPECTOR_RECORDING
gtk_inspector_recording_get_type
renderrecording
gtk_inspector_render_recording_new
gtk_inspector_render_recording_get_node
gtk_inspector_render_recording_get_clip_region
gtk_inspector_render_recording_get_area
gtk_inspector_render_recording_get_profiler_info
GtkInspectorRenderRecordingPrivate
GTK_INSPECTOR_IS_RENDER_RECORDING
GTK_INSPECTOR_IS_RENDER_RECORDING_CLASS
GTK_INSPECTOR_RENDER_RECORDING_CLASS
GTK_INSPECTOR_RENDER_RECORDING_GET_CLASS
GTK_TYPE_INSPECTOR_RENDER_RECORDING
gtk_inspector_render_recording_get_type
resource-list
GtkInspectorResourceListPrivate
GTK_INSPECTOR_IS_RESOURCE_LIST
GTK_INSPECTOR_IS_RESOURCE_LIST_CLASS
GTK_INSPECTOR_RESOURCE_LIST_CLASS
GTK_INSPECTOR_RESOURCE_LIST_GET_CLASS
GTK_TYPE_INSPECTOR_RESOURCE_LIST
gtk_inspector_resource_list_get_type
script-names
get_script_name
get_script_name_for_tag
size-groups
gtk_inspector_size_groups_set_object
GTK_INSPECTOR_IS_SIZE_GROUPS
GTK_INSPECTOR_IS_SIZE_GROUPS_CLASS
GTK_INSPECTOR_SIZE_GROUPS_CLASS
GTK_INSPECTOR_SIZE_GROUPS_GET_CLASS
GTK_TYPE_INSPECTOR_SIZE_GROUPS
gtk_inspector_size_groups_get_type
startrecording
gtk_inspector_start_recording_new
GtkInspectorStartRecordingPrivate
GTK_INSPECTOR_IS_START_RECORDING
GTK_INSPECTOR_IS_START_RECORDING_CLASS
GTK_INSPECTOR_START_RECORDING_CLASS
GTK_INSPECTOR_START_RECORDING_GET_CLASS
GTK_TYPE_INSPECTOR_START_RECORDING
gtk_inspector_start_recording_get_type
statistics
GtkInspectorStatisticsPrivate
GTK_INSPECTOR_IS_STATISTICS
GTK_INSPECTOR_IS_STATISTICS_CLASS
GTK_INSPECTOR_STATISTICS_CLASS
GTK_INSPECTOR_STATISTICS_GET_CLASS
GTK_TYPE_INSPECTOR_STATISTICS
gtk_inspector_statistics_get_type
strv-editor
changed
gtk_inspector_strv_editor_set_strv
gtk_inspector_strv_editor_get_strv
GTK_INSPECTOR_IS_STRV_EDITOR
GTK_INSPECTOR_IS_STRV_EDITOR_CLASS
GTK_INSPECTOR_STRV_EDITOR_CLASS
GTK_INSPECTOR_STRV_EDITOR_GET_CLASS
GTK_TYPE_INSPECTOR_STRV_EDITOR
gtk_inspector_strv_editor_get_type
text-input-unstable-v3-client-protocol
zwp_text_input_v3_interface
zwp_text_input_manager_v3_interface
ZWP_TEXT_INPUT_V3_CHANGE_CAUSE_ENUM
zwp_text_input_v3_change_cause
ZWP_TEXT_INPUT_V3_CONTENT_HINT_ENUM
zwp_text_input_v3_content_hint
ZWP_TEXT_INPUT_V3_CONTENT_PURPOSE_ENUM
zwp_text_input_v3_content_purpose
zwp_text_input_v3_listener
zwp_text_input_v3_add_listener
ZWP_TEXT_INPUT_V3_DESTROY
ZWP_TEXT_INPUT_V3_ENABLE
ZWP_TEXT_INPUT_V3_DISABLE
ZWP_TEXT_INPUT_V3_SET_SURROUNDING_TEXT
ZWP_TEXT_INPUT_V3_SET_TEXT_CHANGE_CAUSE
ZWP_TEXT_INPUT_V3_SET_CONTENT_TYPE
ZWP_TEXT_INPUT_V3_SET_CURSOR_RECTANGLE
ZWP_TEXT_INPUT_V3_COMMIT
ZWP_TEXT_INPUT_V3_ENTER_SINCE_VERSION
ZWP_TEXT_INPUT_V3_LEAVE_SINCE_VERSION
ZWP_TEXT_INPUT_V3_PREEDIT_STRING_SINCE_VERSION
ZWP_TEXT_INPUT_V3_COMMIT_STRING_SINCE_VERSION
ZWP_TEXT_INPUT_V3_DELETE_SURROUNDING_TEXT_SINCE_VERSION
ZWP_TEXT_INPUT_V3_DONE_SINCE_VERSION
ZWP_TEXT_INPUT_V3_DESTROY_SINCE_VERSION
ZWP_TEXT_INPUT_V3_ENABLE_SINCE_VERSION
ZWP_TEXT_INPUT_V3_DISABLE_SINCE_VERSION
ZWP_TEXT_INPUT_V3_SET_SURROUNDING_TEXT_SINCE_VERSION
ZWP_TEXT_INPUT_V3_SET_TEXT_CHANGE_CAUSE_SINCE_VERSION
ZWP_TEXT_INPUT_V3_SET_CONTENT_TYPE_SINCE_VERSION
ZWP_TEXT_INPUT_V3_SET_CURSOR_RECTANGLE_SINCE_VERSION
ZWP_TEXT_INPUT_V3_COMMIT_SINCE_VERSION
zwp_text_input_v3_set_user_data
zwp_text_input_v3_get_user_data
zwp_text_input_v3_get_version
zwp_text_input_v3_destroy
zwp_text_input_v3_enable
zwp_text_input_v3_disable
zwp_text_input_v3_set_surrounding_text
zwp_text_input_v3_set_text_change_cause
zwp_text_input_v3_set_content_type
zwp_text_input_v3_set_cursor_rectangle
zwp_text_input_v3_commit
ZWP_TEXT_INPUT_MANAGER_V3_DESTROY
ZWP_TEXT_INPUT_MANAGER_V3_GET_TEXT_INPUT
ZWP_TEXT_INPUT_MANAGER_V3_DESTROY_SINCE_VERSION
ZWP_TEXT_INPUT_MANAGER_V3_GET_TEXT_INPUT_SINCE_VERSION
zwp_text_input_manager_v3_set_user_data
zwp_text_input_manager_v3_get_user_data
zwp_text_input_manager_v3_get_version
zwp_text_input_manager_v3_destroy
zwp_text_input_manager_v3_get_text_input
wl_seat
wl_surface
zwp_text_input_manager_v3
zwp_text_input_v3
treewalk
RowPredicate
gtk_tree_walk_new
gtk_tree_walk_free
gtk_tree_walk_reset
gtk_tree_walk_next_match
gtk_tree_walk_get_position
GtkTreeWalk
type-info
GTK_TYPE_INSPECTOR_TYPE_POPOVER
gtk_inspector_type_popover_set_gtype
GtkInspectorTypePopover
updatesoverlay
GTK_TYPE_UPDATES_OVERLAY
gtk_updates_overlay_new
GtkUpdatesOverlay
visual
gtk_inspector_visual_set_display
GtkInspectorVisualPrivate
GTK_INSPECTOR_IS_VISUAL
GTK_INSPECTOR_IS_VISUAL_CLASS
GTK_INSPECTOR_VISUAL_CLASS
GTK_INSPECTOR_VISUAL_GET_CLASS
GTK_TYPE_INSPECTOR_VISUAL
gtk_inspector_visual_get_type
window
TREE_TEXT_SCALE
TREE_CHECKBOX_SIZE
gtk_inspector_window_get
gtk_inspector_flash_widget
gtk_inspector_on_inspect
gtk_inspector_window_add_overlay
gtk_inspector_window_remove_overlay
gtk_inspector_window_select_widget_under_pointer
gtk_inspector_window_get_inspected_display
gtk_inspector_is_recording
gtk_inspector_prepare_render
gtk_inspector_handle_event
GTK_INSPECTOR_IS_WINDOW
GTK_INSPECTOR_IS_WINDOW_CLASS
GTK_INSPECTOR_WINDOW_CLASS
GTK_INSPECTOR_WINDOW_GET_CLASS
GTK_TYPE_INSPECTOR_WINDOW
gtk_inspector_window_get_type
docs/reference/gtk/gtk4-decl.txt.bak 0000664 0001750 0001750 00003655101 13617646123 017460 0 ustar mclasen mclasen
g_settings_set_mapping
GVariant *
const GValue *value, const GVariantType *expected_type, gpointer user_data
g_settings_get_mapping
gboolean
GValue *value, GVariant *variant, gpointer user_data
g_settings_mapping_is_compatible
gboolean
GType gvalue_type, const GVariantType *variant_type
GSK_TYPE_PANGO_RENDERER
#define GSK_TYPE_PANGO_RENDERER (gsk_pango_renderer_get_type ())
GSK_PANGO_RENDERER
#define GSK_PANGO_RENDERER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GSK_TYPE_PANGO_RENDERER, GskPangoRenderer))
GSK_IS_PANGO_RENDERER
#define GSK_IS_PANGO_RENDERER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GSK_TYPE_PANGO_RENDERER))
GSK_PANGO_RENDERER_CLASS
#define GSK_PANGO_RENDERER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GSK_TYPE_PANGO_RENDERER, GskPangoRendererClass))
GSK_IS_PANGO_RENDERER_CLASS
#define GSK_IS_PANGO_RENDERER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GSK_TYPE_PANGO_RENDERER))
GSK_PANGO_RENDERER_GET_CLASS
#define GSK_PANGO_RENDERER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GSK_TYPE_PANGO_RENDERER, GskPangoRendererClass))
GskPangoRendererState
typedef enum
{
GSK_PANGO_RENDERER_NORMAL,
GSK_PANGO_RENDERER_SELECTED,
GSK_PANGO_RENDERER_CURSOR
} GskPangoRendererState;
GskPangoRenderer
struct _GskPangoRenderer
{
PangoRenderer parent_instance;
GtkWidget *widget;
GtkSnapshot *snapshot;
GdkRGBA fg_color;
graphene_rect_t bounds;
/* Error underline color for this widget */
GdkRGBA *error_color;
GskPangoRendererState state;
/* house-keeping options */
guint is_cached_renderer : 1;
};
GskPangoRendererClass
struct _GskPangoRendererClass
{
PangoRendererClass parent_class;
};
gsk_pango_renderer_get_type
GType
void
gsk_pango_renderer_set_state
void
GskPangoRenderer *crenderer, GskPangoRendererState state
gsk_pango_renderer_acquire
GskPangoRenderer *
void
gsk_pango_renderer_release
void
GskPangoRenderer *crenderer
GTK_TYPE_ABOUT_DIALOG
#define GTK_TYPE_ABOUT_DIALOG (gtk_about_dialog_get_type ())
GTK_ABOUT_DIALOG
#define GTK_ABOUT_DIALOG(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), GTK_TYPE_ABOUT_DIALOG, GtkAboutDialog))
GTK_IS_ABOUT_DIALOG
#define GTK_IS_ABOUT_DIALOG(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), GTK_TYPE_ABOUT_DIALOG))
GtkLicense
typedef enum {
GTK_LICENSE_UNKNOWN,
GTK_LICENSE_CUSTOM,
GTK_LICENSE_GPL_2_0,
GTK_LICENSE_GPL_3_0,
GTK_LICENSE_LGPL_2_1,
GTK_LICENSE_LGPL_3_0,
GTK_LICENSE_BSD,
GTK_LICENSE_MIT_X11,
GTK_LICENSE_ARTISTIC,
GTK_LICENSE_GPL_2_0_ONLY,
GTK_LICENSE_GPL_3_0_ONLY,
GTK_LICENSE_LGPL_2_1_ONLY,
GTK_LICENSE_LGPL_3_0_ONLY,
GTK_LICENSE_AGPL_3_0,
GTK_LICENSE_AGPL_3_0_ONLY
} GtkLicense;
gtk_about_dialog_get_type
GType
void
gtk_about_dialog_new
GtkWidget *
void
gtk_show_about_dialog
void
GtkWindow *parent, const gchar *first_property_name, ...
gtk_about_dialog_get_program_name
const gchar *
GtkAboutDialog *about
gtk_about_dialog_set_program_name
void
GtkAboutDialog *about, const gchar *name
gtk_about_dialog_get_version
const gchar *
GtkAboutDialog *about
gtk_about_dialog_set_version
void
GtkAboutDialog *about, const gchar *version
gtk_about_dialog_get_copyright
const gchar *
GtkAboutDialog *about
gtk_about_dialog_set_copyright
void
GtkAboutDialog *about, const gchar *copyright
gtk_about_dialog_get_comments
const gchar *
GtkAboutDialog *about
gtk_about_dialog_set_comments
void
GtkAboutDialog *about, const gchar *comments
gtk_about_dialog_get_license
const gchar *
GtkAboutDialog *about
gtk_about_dialog_set_license
void
GtkAboutDialog *about, const gchar *license
gtk_about_dialog_set_license_type
void
GtkAboutDialog *about, GtkLicense license_type
gtk_about_dialog_get_license_type
GtkLicense
GtkAboutDialog *about
gtk_about_dialog_get_wrap_license
gboolean
GtkAboutDialog *about
gtk_about_dialog_set_wrap_license
void
GtkAboutDialog *about, gboolean wrap_license
gtk_about_dialog_get_system_information
const gchar *
GtkAboutDialog *about
gtk_about_dialog_set_system_information
void
GtkAboutDialog *about, const gchar *system_information
gtk_about_dialog_get_website
const gchar *
GtkAboutDialog *about
gtk_about_dialog_set_website
void
GtkAboutDialog *about, const gchar *website
gtk_about_dialog_get_website_label
const gchar *
GtkAboutDialog *about
gtk_about_dialog_set_website_label
void
GtkAboutDialog *about, const gchar *website_label
gtk_about_dialog_get_authors
const gchar * const *
GtkAboutDialog *about
gtk_about_dialog_set_authors
void
GtkAboutDialog *about, const gchar **authors
gtk_about_dialog_get_documenters
const gchar * const *
GtkAboutDialog *about
gtk_about_dialog_set_documenters
void
GtkAboutDialog *about, const gchar **documenters
gtk_about_dialog_get_artists
const gchar * const *
GtkAboutDialog *about
gtk_about_dialog_set_artists
void
GtkAboutDialog *about, const gchar **artists
gtk_about_dialog_get_translator_credits
const gchar *
GtkAboutDialog *about
gtk_about_dialog_set_translator_credits
void
GtkAboutDialog *about, const gchar *translator_credits
gtk_about_dialog_get_logo
GdkPaintable *
GtkAboutDialog *about
gtk_about_dialog_set_logo
void
GtkAboutDialog *about, GdkPaintable *logo
gtk_about_dialog_get_logo_icon_name
const gchar *
GtkAboutDialog *about
gtk_about_dialog_set_logo_icon_name
void
GtkAboutDialog *about, const gchar *icon_name
gtk_about_dialog_add_credit_section
void
GtkAboutDialog *about, const gchar *section_name, const gchar **people
GtkAboutDialog
GTK_TYPE_ACCEL_GROUP
#define GTK_TYPE_ACCEL_GROUP (gtk_accel_group_get_type ())
GTK_ACCEL_GROUP
#define GTK_ACCEL_GROUP(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), GTK_TYPE_ACCEL_GROUP, GtkAccelGroup))
GTK_ACCEL_GROUP_CLASS
#define GTK_ACCEL_GROUP_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_ACCEL_GROUP, GtkAccelGroupClass))
GTK_IS_ACCEL_GROUP
#define GTK_IS_ACCEL_GROUP(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), GTK_TYPE_ACCEL_GROUP))
GTK_IS_ACCEL_GROUP_CLASS
#define GTK_IS_ACCEL_GROUP_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_ACCEL_GROUP))
GTK_ACCEL_GROUP_GET_CLASS
#define GTK_ACCEL_GROUP_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_ACCEL_GROUP, GtkAccelGroupClass))
GtkAccelFlags
typedef enum
{
GTK_ACCEL_VISIBLE = 1 << 0,
GTK_ACCEL_LOCKED = 1 << 1,
GTK_ACCEL_MASK = 0x07
} GtkAccelFlags;
GtkAccelGroupActivate
gboolean
GtkAccelGroup *accel_group, GObject *acceleratable, guint keyval, GdkModifierType modifier
GtkAccelGroupFindFunc
gboolean
GtkAccelKey *key, GClosure *closure, gpointer data
GtkAccelGroup
struct _GtkAccelGroup
{
GObject parent;
GtkAccelGroupPrivate *priv;
};
GtkAccelGroupClass
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);
void (*_gtk_reserved3) (void);
void (*_gtk_reserved4) (void);
};
GtkAccelKey
struct _GtkAccelKey
{
guint accel_key;
GdkModifierType accel_mods;
guint accel_flags : 16;
};
gtk_accel_group_get_type
GType
void
gtk_accel_group_new
GtkAccelGroup *
void
gtk_accel_group_get_is_locked
gboolean
GtkAccelGroup *accel_group
gtk_accel_group_get_modifier_mask
GdkModifierType
GtkAccelGroup *accel_group
gtk_accel_group_lock
void
GtkAccelGroup *accel_group
gtk_accel_group_unlock
void
GtkAccelGroup *accel_group
gtk_accel_group_connect
void
GtkAccelGroup *accel_group, guint accel_key, GdkModifierType accel_mods, GtkAccelFlags accel_flags, GClosure *closure
gtk_accel_group_connect_by_path
void
GtkAccelGroup *accel_group, const gchar *accel_path, GClosure *closure
gtk_accel_group_disconnect
gboolean
GtkAccelGroup *accel_group, GClosure *closure
gtk_accel_group_disconnect_key
gboolean
GtkAccelGroup *accel_group, guint accel_key, GdkModifierType accel_mods
gtk_accel_group_activate
gboolean
GtkAccelGroup *accel_group, GQuark accel_quark, GObject *acceleratable, guint accel_key, GdkModifierType accel_mods
gtk_accel_groups_activate
gboolean
GObject *object, guint accel_key, GdkModifierType accel_mods
gtk_accel_groups_from_object
GSList *
GObject *object
gtk_accel_group_find
GtkAccelKey *
GtkAccelGroup *accel_group, GtkAccelGroupFindFunc find_func, gpointer data
gtk_accel_group_from_accel_closure
GtkAccelGroup *
GClosure *closure
gtk_accelerator_valid
gboolean
guint keyval, GdkModifierType modifiers
gtk_accelerator_parse
void
const gchar *accelerator, guint *accelerator_key, GdkModifierType *accelerator_mods
gtk_accelerator_parse_with_keycode
void
const gchar *accelerator, guint *accelerator_key, guint **accelerator_codes, GdkModifierType *accelerator_mods
gtk_accelerator_name
gchar *
guint accelerator_key, GdkModifierType accelerator_mods
gtk_accelerator_name_with_keycode
gchar *
GdkDisplay *display, guint accelerator_key, guint keycode, GdkModifierType accelerator_mods
gtk_accelerator_get_label
gchar *
guint accelerator_key, GdkModifierType accelerator_mods
gtk_accelerator_get_label_with_keycode
gchar *
GdkDisplay *display, guint accelerator_key, guint keycode, GdkModifierType accelerator_mods
gtk_accelerator_set_default_mod_mask
void
GdkModifierType default_mod_mask
gtk_accelerator_get_default_mod_mask
GdkModifierType
void
gtk_accel_group_query
GtkAccelGroupEntry *
GtkAccelGroup *accel_group, guint accel_key, GdkModifierType accel_mods, guint *n_entries
GtkAccelGroupEntry
struct _GtkAccelGroupEntry
{
GtkAccelKey key;
GClosure *closure;
GQuark accel_path_quark;
};
GtkAccelGroupPrivate
GTK_TYPE_ACCEL_LABEL
#define GTK_TYPE_ACCEL_LABEL (gtk_accel_label_get_type ())
GTK_ACCEL_LABEL
#define GTK_ACCEL_LABEL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_ACCEL_LABEL, GtkAccelLabel))
GTK_IS_ACCEL_LABEL
#define GTK_IS_ACCEL_LABEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_ACCEL_LABEL))
gtk_accel_label_get_type
GType
void
gtk_accel_label_new
GtkWidget *
const gchar *string
gtk_accel_label_get_accel_widget
GtkWidget *
GtkAccelLabel *accel_label
gtk_accel_label_get_accel_width
guint
GtkAccelLabel *accel_label
gtk_accel_label_set_accel_widget
void
GtkAccelLabel *accel_label, GtkWidget *accel_widget
gtk_accel_label_set_accel_closure
void
GtkAccelLabel *accel_label, GClosure *accel_closure
gtk_accel_label_get_accel_closure
GClosure *
GtkAccelLabel *accel_label
gtk_accel_label_refetch
gboolean
GtkAccelLabel *accel_label
gtk_accel_label_set_accel
void
GtkAccelLabel *accel_label, guint accelerator_key, GdkModifierType accelerator_mods
gtk_accel_label_get_accel
void
GtkAccelLabel *accel_label, guint *accelerator_key, GdkModifierType *accelerator_mods
gtk_accel_label_set_label
void
GtkAccelLabel *accel_label, const char *text
gtk_accel_label_get_label
const char *
GtkAccelLabel *accel_label
gtk_accel_label_set_use_underline
void
GtkAccelLabel *accel_label, gboolean setting
gtk_accel_label_get_use_underline
gboolean
GtkAccelLabel *accel_label
GtkAccelLabel
GTK_ACCEL_LABEL_GET_CLASS
#define GTK_ACCEL_LABEL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_ACCEL_LABEL, GtkAccelLabelClass))
GtkAccelLabelClass
GTK_TYPE_ACCEL_MAP
#define GTK_TYPE_ACCEL_MAP (gtk_accel_map_get_type ())
GTK_ACCEL_MAP
#define GTK_ACCEL_MAP(accel_map) (G_TYPE_CHECK_INSTANCE_CAST ((accel_map), GTK_TYPE_ACCEL_MAP, GtkAccelMap))
GTK_ACCEL_MAP_CLASS
#define GTK_ACCEL_MAP_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_ACCEL_MAP, GtkAccelMapClass))
GTK_IS_ACCEL_MAP
#define GTK_IS_ACCEL_MAP(accel_map) (G_TYPE_CHECK_INSTANCE_TYPE ((accel_map), GTK_TYPE_ACCEL_MAP))
GTK_IS_ACCEL_MAP_CLASS
#define GTK_IS_ACCEL_MAP_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_ACCEL_MAP))
GTK_ACCEL_MAP_GET_CLASS
#define GTK_ACCEL_MAP_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_ACCEL_MAP, GtkAccelMapClass))
GtkAccelMapForeach
void
gpointer data, const gchar *accel_path, guint accel_key, GdkModifierType accel_mods, gboolean changed
gtk_accel_map_add_entry
void
const gchar *accel_path, guint accel_key, GdkModifierType accel_mods
gtk_accel_map_lookup_entry
gboolean
const gchar *accel_path, GtkAccelKey *key
gtk_accel_map_change_entry
gboolean
const gchar *accel_path, guint accel_key, GdkModifierType accel_mods, gboolean replace
gtk_accel_map_load
void
const gchar *file_name
gtk_accel_map_save
void
const gchar *file_name
gtk_accel_map_foreach
void
gpointer data, GtkAccelMapForeach foreach_func
gtk_accel_map_load_fd
void
gint fd
gtk_accel_map_load_scanner
void
GScanner *scanner
gtk_accel_map_save_fd
void
gint fd
gtk_accel_map_lock_path
void
const gchar *accel_path
gtk_accel_map_unlock_path
void
const gchar *accel_path
gtk_accel_map_add_filter
void
const gchar *filter_pattern
gtk_accel_map_foreach_unfiltered
void
gpointer data, GtkAccelMapForeach foreach_func
gtk_accel_map_get_type
GType
void
gtk_accel_map_get
GtkAccelMap *
void
GtkAccelMap
GtkAccelMapClass
GTK_TYPE_ACCESSIBLE
#define GTK_TYPE_ACCESSIBLE (gtk_accessible_get_type ())
GTK_ACCESSIBLE
#define GTK_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_ACCESSIBLE, GtkAccessible))
GTK_ACCESSIBLE_CLASS
#define GTK_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_ACCESSIBLE, GtkAccessibleClass))
GTK_IS_ACCESSIBLE
#define GTK_IS_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_ACCESSIBLE))
GTK_IS_ACCESSIBLE_CLASS
#define GTK_IS_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_ACCESSIBLE))
GTK_ACCESSIBLE_GET_CLASS
#define GTK_ACCESSIBLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_ACCESSIBLE, GtkAccessibleClass))
GtkAccessible
struct _GtkAccessible
{
AtkObject parent;
/*< private >*/
GtkAccessiblePrivate *priv;
};
GtkAccessibleClass
struct _GtkAccessibleClass
{
AtkObjectClass parent_class;
void (*widget_set) (GtkAccessible *accessible);
void (*widget_unset) (GtkAccessible *accessible);
/* Padding for future expansion */
void (*_gtk_reserved3) (void);
void (*_gtk_reserved4) (void);
};
gtk_accessible_get_type
GType
void
gtk_accessible_set_widget
void
GtkAccessible *accessible, GtkWidget *widget
gtk_accessible_get_widget
GtkWidget *
GtkAccessible *accessible
GtkAccessiblePrivate
GTK_TYPE_ACTIONABLE
#define GTK_TYPE_ACTIONABLE (gtk_actionable_get_type ())
GTK_ACTIONABLE
#define GTK_ACTIONABLE(inst) (G_TYPE_CHECK_INSTANCE_CAST ((inst), \
GTK_TYPE_ACTIONABLE, GtkActionable))
GTK_IS_ACTIONABLE
#define GTK_IS_ACTIONABLE(inst) (G_TYPE_CHECK_INSTANCE_TYPE ((inst), \
GTK_TYPE_ACTIONABLE))
GTK_ACTIONABLE_GET_IFACE
#define GTK_ACTIONABLE_GET_IFACE(inst) (G_TYPE_INSTANCE_GET_INTERFACE ((inst), \
GTK_TYPE_ACTIONABLE, GtkActionableInterface))
GtkActionableInterface
struct _GtkActionableInterface
{
/*< private >*/
GTypeInterface g_iface;
/*< public >*/
const gchar * (* get_action_name) (GtkActionable *actionable);
void (* set_action_name) (GtkActionable *actionable,
const gchar *action_name);
GVariant * (* get_action_target_value) (GtkActionable *actionable);
void (* set_action_target_value) (GtkActionable *actionable,
GVariant *target_value);
};
gtk_actionable_get_type
GType
void
gtk_actionable_get_action_name
const gchar *
GtkActionable *actionable
gtk_actionable_set_action_name
void
GtkActionable *actionable, const gchar *action_name
gtk_actionable_get_action_target_value
GVariant *
GtkActionable *actionable
gtk_actionable_set_action_target_value
void
GtkActionable *actionable, GVariant *target_value
gtk_actionable_set_action_target
void
GtkActionable *actionable, const gchar *format_string, ...
gtk_actionable_set_detailed_action_name
void
GtkActionable *actionable, const gchar *detailed_action_name
GtkActionable
GTK_TYPE_ACTION_BAR
#define GTK_TYPE_ACTION_BAR (gtk_action_bar_get_type ())
GTK_ACTION_BAR
#define GTK_ACTION_BAR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_ACTION_BAR, GtkActionBar))
GTK_IS_ACTION_BAR
#define GTK_IS_ACTION_BAR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_ACTION_BAR))
gtk_action_bar_get_type
GType
void
gtk_action_bar_new
GtkWidget *
void
gtk_action_bar_get_center_widget
GtkWidget *
GtkActionBar *action_bar
gtk_action_bar_set_center_widget
void
GtkActionBar *action_bar, GtkWidget *center_widget
gtk_action_bar_pack_start
void
GtkActionBar *action_bar, GtkWidget *child
gtk_action_bar_pack_end
void
GtkActionBar *action_bar, GtkWidget *child
gtk_action_bar_set_revealed
void
GtkActionBar *action_bar, gboolean revealed
gtk_action_bar_get_revealed
gboolean
GtkActionBar *action_bar
GtkActionBar
GTK_TYPE_ACTION_OBSERVABLE
#define GTK_TYPE_ACTION_OBSERVABLE (gtk_action_observable_get_type ())
GTK_ACTION_OBSERVABLE
#define GTK_ACTION_OBSERVABLE(inst) (G_TYPE_CHECK_INSTANCE_CAST ((inst), \
GTK_TYPE_ACTION_OBSERVABLE, GtkActionObservable))
GTK_IS_ACTION_OBSERVABLE
#define GTK_IS_ACTION_OBSERVABLE(inst) (G_TYPE_CHECK_INSTANCE_TYPE ((inst), \
GTK_TYPE_ACTION_OBSERVABLE))
GTK_ACTION_OBSERVABLE_GET_IFACE
#define GTK_ACTION_OBSERVABLE_GET_IFACE(inst) (G_TYPE_INSTANCE_GET_INTERFACE ((inst), \
GTK_TYPE_ACTION_OBSERVABLE, \
GtkActionObservableInterface))
GtkActionObservableInterface
struct _GtkActionObservableInterface
{
GTypeInterface g_iface;
void (* register_observer) (GtkActionObservable *observable,
const gchar *action_name,
GtkActionObserver *observer);
void (* unregister_observer) (GtkActionObservable *observable,
const gchar *action_name,
GtkActionObserver *observer);
};
gtk_action_observable_get_type
GType
void
gtk_action_observable_register_observer
void
GtkActionObservable *observable, const gchar *action_name, GtkActionObserver *observer
gtk_action_observable_unregister_observer
void
GtkActionObservable *observable, const gchar *action_name, GtkActionObserver *observer
GTK_TYPE_ACTION_OBSERVER
#define GTK_TYPE_ACTION_OBSERVER (gtk_action_observer_get_type ())
GTK_ACTION_OBSERVER
#define GTK_ACTION_OBSERVER(inst) (G_TYPE_CHECK_INSTANCE_CAST ((inst), \
GTK_TYPE_ACTION_OBSERVER, GtkActionObserver))
GTK_IS_ACTION_OBSERVER
#define GTK_IS_ACTION_OBSERVER(inst) (G_TYPE_CHECK_INSTANCE_TYPE ((inst), \
GTK_TYPE_ACTION_OBSERVER))
GTK_ACTION_OBSERVER_GET_IFACE
#define GTK_ACTION_OBSERVER_GET_IFACE(inst) (G_TYPE_INSTANCE_GET_INTERFACE ((inst), \
GTK_TYPE_ACTION_OBSERVER, GtkActionObserverInterface))
GtkActionObserverInterface
struct _GtkActionObserverInterface
{
GTypeInterface g_iface;
void (* action_added) (GtkActionObserver *observer,
GtkActionObservable *observable,
const gchar *action_name,
const GVariantType *parameter_type,
gboolean enabled,
GVariant *state);
void (* action_enabled_changed) (GtkActionObserver *observer,
GtkActionObservable *observable,
const gchar *action_name,
gboolean enabled);
void (* action_state_changed) (GtkActionObserver *observer,
GtkActionObservable *observable,
const gchar *action_name,
GVariant *state);
void (* action_removed) (GtkActionObserver *observer,
GtkActionObservable *observable,
const gchar *action_name);
void (* primary_accel_changed) (GtkActionObserver *observer,
GtkActionObservable *observable,
const gchar *action_name,
const gchar *action_and_target);
};
gtk_action_observer_get_type
GType
void
gtk_action_observer_action_added
void
GtkActionObserver *observer, GtkActionObservable *observable, const gchar *action_name, const GVariantType *parameter_type, gboolean enabled, GVariant *state
gtk_action_observer_action_enabled_changed
void
GtkActionObserver *observer, GtkActionObservable *observable, const gchar *action_name, gboolean enabled
gtk_action_observer_action_state_changed
void
GtkActionObserver *observer, GtkActionObservable *observable, const gchar *action_name, GVariant *state
gtk_action_observer_action_removed
void
GtkActionObserver *observer, GtkActionObservable *observable, const gchar *action_name
gtk_action_observer_primary_accel_changed
void
GtkActionObserver *observer, GtkActionObservable *observable, const gchar *action_name, const gchar *action_and_target
GtkActionObservable
GtkActionObserver
GTK_TYPE_ADJUSTMENT
#define GTK_TYPE_ADJUSTMENT (gtk_adjustment_get_type ())
GTK_ADJUSTMENT
#define GTK_ADJUSTMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_ADJUSTMENT, GtkAdjustment))
GTK_ADJUSTMENT_CLASS
#define GTK_ADJUSTMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_ADJUSTMENT, GtkAdjustmentClass))
GTK_IS_ADJUSTMENT
#define GTK_IS_ADJUSTMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_ADJUSTMENT))
GTK_IS_ADJUSTMENT_CLASS
#define GTK_IS_ADJUSTMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_ADJUSTMENT))
GTK_ADJUSTMENT_GET_CLASS
#define GTK_ADJUSTMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_ADJUSTMENT, GtkAdjustmentClass))
GtkAdjustment
struct _GtkAdjustment
{
GInitiallyUnowned parent_instance;
};
GtkAdjustmentClass
struct _GtkAdjustmentClass
{
GInitiallyUnownedClass parent_class;
void (* changed) (GtkAdjustment *adjustment);
void (* value_changed) (GtkAdjustment *adjustment);
/* Padding for future expansion */
void (*_gtk_reserved1) (void);
void (*_gtk_reserved2) (void);
void (*_gtk_reserved3) (void);
void (*_gtk_reserved4) (void);
};
gtk_adjustment_get_type
GType
void
gtk_adjustment_new
GtkAdjustment *
gdouble value, gdouble lower, gdouble upper, gdouble step_increment, gdouble page_increment, gdouble page_size
gtk_adjustment_clamp_page
void
GtkAdjustment *adjustment, gdouble lower, gdouble upper
gtk_adjustment_get_value
gdouble
GtkAdjustment *adjustment
gtk_adjustment_set_value
void
GtkAdjustment *adjustment, gdouble value
gtk_adjustment_get_lower
gdouble
GtkAdjustment *adjustment
gtk_adjustment_set_lower
void
GtkAdjustment *adjustment, gdouble lower
gtk_adjustment_get_upper
gdouble
GtkAdjustment *adjustment
gtk_adjustment_set_upper
void
GtkAdjustment *adjustment, gdouble upper
gtk_adjustment_get_step_increment
gdouble
GtkAdjustment *adjustment
gtk_adjustment_set_step_increment
void
GtkAdjustment *adjustment, gdouble step_increment
gtk_adjustment_get_page_increment
gdouble
GtkAdjustment *adjustment
gtk_adjustment_set_page_increment
void
GtkAdjustment *adjustment, gdouble page_increment
gtk_adjustment_get_page_size
gdouble
GtkAdjustment *adjustment
gtk_adjustment_set_page_size
void
GtkAdjustment *adjustment, gdouble page_size
gtk_adjustment_configure
void
GtkAdjustment *adjustment, gdouble value, gdouble lower, gdouble upper, gdouble step_increment, gdouble page_increment, gdouble page_size
gtk_adjustment_get_minimum_increment
gdouble
GtkAdjustment *adjustment
GTK_TYPE_APP_CHOOSER
#define GTK_TYPE_APP_CHOOSER (gtk_app_chooser_get_type ())
GTK_APP_CHOOSER
#define GTK_APP_CHOOSER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_APP_CHOOSER, GtkAppChooser))
GTK_IS_APP_CHOOSER
#define GTK_IS_APP_CHOOSER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_APP_CHOOSER))
gtk_app_chooser_get_type
GType
void
gtk_app_chooser_get_app_info
GAppInfo *
GtkAppChooser *self
gtk_app_chooser_get_content_type
gchar *
GtkAppChooser *self
gtk_app_chooser_refresh
void
GtkAppChooser *self
GtkAppChooser
GTK_TYPE_APP_CHOOSER_BUTTON
#define GTK_TYPE_APP_CHOOSER_BUTTON (gtk_app_chooser_button_get_type ())
GTK_APP_CHOOSER_BUTTON
#define GTK_APP_CHOOSER_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_APP_CHOOSER_BUTTON, GtkAppChooserButton))
GTK_IS_APP_CHOOSER_BUTTON
#define GTK_IS_APP_CHOOSER_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_APP_CHOOSER_BUTTON))
gtk_app_chooser_button_get_type
GType
void
gtk_app_chooser_button_new
GtkWidget *
const gchar *content_type
gtk_app_chooser_button_append_separator
void
GtkAppChooserButton *self
gtk_app_chooser_button_append_custom_item
void
GtkAppChooserButton *self, const gchar *name, const gchar *label, GIcon *icon
gtk_app_chooser_button_set_active_custom_item
void
GtkAppChooserButton *self, const gchar *name
gtk_app_chooser_button_set_show_dialog_item
void
GtkAppChooserButton *self, gboolean setting
gtk_app_chooser_button_get_show_dialog_item
gboolean
GtkAppChooserButton *self
gtk_app_chooser_button_set_heading
void
GtkAppChooserButton *self, const gchar *heading
gtk_app_chooser_button_get_heading
const gchar *
GtkAppChooserButton *self
gtk_app_chooser_button_set_show_default_item
void
GtkAppChooserButton *self, gboolean setting
gtk_app_chooser_button_get_show_default_item
gboolean
GtkAppChooserButton *self
GtkAppChooserButton
GTK_TYPE_APP_CHOOSER_DIALOG
#define GTK_TYPE_APP_CHOOSER_DIALOG (gtk_app_chooser_dialog_get_type ())
GTK_APP_CHOOSER_DIALOG
#define GTK_APP_CHOOSER_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_APP_CHOOSER_DIALOG, GtkAppChooserDialog))
GTK_IS_APP_CHOOSER_DIALOG
#define GTK_IS_APP_CHOOSER_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_APP_CHOOSER_DIALOG))
gtk_app_chooser_dialog_get_type
GType
void
gtk_app_chooser_dialog_new
GtkWidget *
GtkWindow *parent, GtkDialogFlags flags, GFile *file
gtk_app_chooser_dialog_new_for_content_type
GtkWidget *
GtkWindow *parent, GtkDialogFlags flags, const gchar *content_type
gtk_app_chooser_dialog_get_widget
GtkWidget *
GtkAppChooserDialog *self
gtk_app_chooser_dialog_set_heading
void
GtkAppChooserDialog *self, const gchar *heading
gtk_app_chooser_dialog_get_heading
const gchar *
GtkAppChooserDialog *self
GtkAppChooserDialog
GTK_TYPE_APP_CHOOSER_WIDGET
#define GTK_TYPE_APP_CHOOSER_WIDGET (gtk_app_chooser_widget_get_type ())
GTK_APP_CHOOSER_WIDGET
#define GTK_APP_CHOOSER_WIDGET(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_APP_CHOOSER_WIDGET, GtkAppChooserWidget))
GTK_IS_APP_CHOOSER_WIDGET
#define GTK_IS_APP_CHOOSER_WIDGET(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_APP_CHOOSER_WIDGET))
gtk_app_chooser_widget_get_type
GType
void
gtk_app_chooser_widget_new
GtkWidget *
const gchar *content_type
gtk_app_chooser_widget_set_show_default
void
GtkAppChooserWidget *self, gboolean setting
gtk_app_chooser_widget_get_show_default
gboolean
GtkAppChooserWidget *self
gtk_app_chooser_widget_set_show_recommended
void
GtkAppChooserWidget *self, gboolean setting
gtk_app_chooser_widget_get_show_recommended
gboolean
GtkAppChooserWidget *self
gtk_app_chooser_widget_set_show_fallback
void
GtkAppChooserWidget *self, gboolean setting
gtk_app_chooser_widget_get_show_fallback
gboolean
GtkAppChooserWidget *self
gtk_app_chooser_widget_set_show_other
void
GtkAppChooserWidget *self, gboolean setting
gtk_app_chooser_widget_get_show_other
gboolean
GtkAppChooserWidget *self
gtk_app_chooser_widget_set_show_all
void
GtkAppChooserWidget *self, gboolean setting
gtk_app_chooser_widget_get_show_all
gboolean
GtkAppChooserWidget *self
gtk_app_chooser_widget_set_default_text
void
GtkAppChooserWidget *self, const gchar *text
gtk_app_chooser_widget_get_default_text
const gchar *
GtkAppChooserWidget *self
GtkAppChooserWidget
GTK_TYPE_APPLICATION
#define GTK_TYPE_APPLICATION (gtk_application_get_type ())
GTK_APPLICATION
#define GTK_APPLICATION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_APPLICATION, GtkApplication))
GTK_APPLICATION_CLASS
#define GTK_APPLICATION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_APPLICATION, GtkApplicationClass))
GTK_IS_APPLICATION
#define GTK_IS_APPLICATION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_APPLICATION))
GTK_IS_APPLICATION_CLASS
#define GTK_IS_APPLICATION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_APPLICATION))
GTK_APPLICATION_GET_CLASS
#define GTK_APPLICATION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_APPLICATION, GtkApplicationClass))
GtkApplication
struct _GtkApplication
{
GApplication parent_instance;
};
GtkApplicationClass
struct _GtkApplicationClass
{
GApplicationClass parent_class;
/*< public >*/
void (*window_added) (GtkApplication *application,
GtkWindow *window);
void (*window_removed) (GtkApplication *application,
GtkWindow *window);
/*< private >*/
gpointer padding[8];
};
gtk_application_get_type
GType
void
gtk_application_new
GtkApplication *
const gchar *application_id, GApplicationFlags flags
gtk_application_add_window
void
GtkApplication *application, GtkWindow *window
gtk_application_remove_window
void
GtkApplication *application, GtkWindow *window
gtk_application_get_windows
GList *
GtkApplication *application
gtk_application_get_app_menu
GMenuModel *
GtkApplication *application
gtk_application_set_app_menu
void
GtkApplication *application, GMenuModel *app_menu
gtk_application_get_menubar
GMenuModel *
GtkApplication *application
gtk_application_set_menubar
void
GtkApplication *application, GMenuModel *menubar
GtkApplicationInhibitFlags
typedef enum
{
GTK_APPLICATION_INHIBIT_LOGOUT = (1 << 0),
GTK_APPLICATION_INHIBIT_SWITCH = (1 << 1),
GTK_APPLICATION_INHIBIT_SUSPEND = (1 << 2),
GTK_APPLICATION_INHIBIT_IDLE = (1 << 3)
} GtkApplicationInhibitFlags;
gtk_application_inhibit
guint
GtkApplication *application, GtkWindow *window, GtkApplicationInhibitFlags flags, const gchar *reason
gtk_application_uninhibit
void
GtkApplication *application, guint cookie
gtk_application_get_window_by_id
GtkWindow *
GtkApplication *application, guint id
gtk_application_get_active_window
GtkWindow *
GtkApplication *application
gtk_application_list_action_descriptions
gchar **
GtkApplication *application
gtk_application_get_accels_for_action
gchar **
GtkApplication *application, const gchar *detailed_action_name
gtk_application_get_actions_for_accel
gchar **
GtkApplication *application, const gchar *accel
gtk_application_set_accels_for_action
void
GtkApplication *application, const gchar *detailed_action_name, const gchar * const *accels
gtk_application_prefers_app_menu
gboolean
GtkApplication *application
gtk_application_get_menu_by_id
GMenu *
GtkApplication *application, const gchar *id
GTK_TYPE_APPLICATION_WINDOW
#define GTK_TYPE_APPLICATION_WINDOW (gtk_application_window_get_type ())
GTK_APPLICATION_WINDOW
#define GTK_APPLICATION_WINDOW(inst) (G_TYPE_CHECK_INSTANCE_CAST ((inst), \
GTK_TYPE_APPLICATION_WINDOW, GtkApplicationWindow))
GTK_APPLICATION_WINDOW_CLASS
#define GTK_APPLICATION_WINDOW_CLASS(class) (G_TYPE_CHECK_CLASS_CAST ((class), \
GTK_TYPE_APPLICATION_WINDOW, GtkApplicationWindowClass))
GTK_IS_APPLICATION_WINDOW
#define GTK_IS_APPLICATION_WINDOW(inst) (G_TYPE_CHECK_INSTANCE_TYPE ((inst), \
GTK_TYPE_APPLICATION_WINDOW))
GTK_IS_APPLICATION_WINDOW_CLASS
#define GTK_IS_APPLICATION_WINDOW_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), \
GTK_TYPE_APPLICATION_WINDOW))
GTK_APPLICATION_WINDOW_GET_CLASS
#define GTK_APPLICATION_WINDOW_GET_CLASS(inst) (G_TYPE_INSTANCE_GET_CLASS ((inst), \
GTK_TYPE_APPLICATION_WINDOW, GtkApplicationWindowClass))
GtkApplicationWindow
struct _GtkApplicationWindow
{
GtkWindow parent_instance;
};
GtkApplicationWindowClass
struct _GtkApplicationWindowClass
{
GtkWindowClass parent_class;
/*< private >*/
gpointer padding[8];
};
gtk_application_window_get_type
GType
void
gtk_application_window_new
GtkWidget *
GtkApplication *application
gtk_application_window_set_show_menubar
void
GtkApplicationWindow *window, gboolean show_menubar
gtk_application_window_get_show_menubar
gboolean
GtkApplicationWindow *window
gtk_application_window_get_id
guint
GtkApplicationWindow *window
gtk_application_window_set_help_overlay
void
GtkApplicationWindow *window, GtkShortcutsWindow *help_overlay
gtk_application_window_get_help_overlay
GtkShortcutsWindow *
GtkApplicationWindow *window
GTK_TYPE_ASPECT_FRAME
#define GTK_TYPE_ASPECT_FRAME (gtk_aspect_frame_get_type ())
GTK_ASPECT_FRAME
#define GTK_ASPECT_FRAME(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_ASPECT_FRAME, GtkAspectFrame))
GTK_IS_ASPECT_FRAME
#define GTK_IS_ASPECT_FRAME(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_ASPECT_FRAME))
gtk_aspect_frame_get_type
GType
void
gtk_aspect_frame_new
GtkWidget *
const gchar *label, gfloat xalign, gfloat yalign, gfloat ratio, gboolean obey_child
gtk_aspect_frame_set
void
GtkAspectFrame *aspect_frame, gfloat xalign, gfloat yalign, gfloat ratio, gboolean obey_child
GtkAspectFrame
GTK_TYPE_ASSISTANT
#define GTK_TYPE_ASSISTANT (gtk_assistant_get_type ())
GTK_ASSISTANT
#define GTK_ASSISTANT(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GTK_TYPE_ASSISTANT, GtkAssistant))
GTK_IS_ASSISTANT
#define GTK_IS_ASSISTANT(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GTK_TYPE_ASSISTANT))
GtkAssistantPageType
typedef enum
{
GTK_ASSISTANT_PAGE_CONTENT,
GTK_ASSISTANT_PAGE_INTRO,
GTK_ASSISTANT_PAGE_CONFIRM,
GTK_ASSISTANT_PAGE_SUMMARY,
GTK_ASSISTANT_PAGE_PROGRESS,
GTK_ASSISTANT_PAGE_CUSTOM
} GtkAssistantPageType;
GTK_TYPE_ASSISTANT_PAGE
#define GTK_TYPE_ASSISTANT_PAGE (gtk_assistant_page_get_type ())
GTK_ASSISTANT_PAGE
#define GTK_ASSISTANT_PAGE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_ASSISTANT_PAGE, GtkAssistantPage))
GTK_IS_ASSISTANT_PAGE
#define GTK_IS_ASSISTANT_PAGE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_ASSISTANT_PAGE))
GtkAssistantPageFunc
gint
gint current_page, gpointer data
gtk_assistant_page_get_type
GType
void
gtk_assistant_get_type
GType
void
gtk_assistant_new
GtkWidget *
void
gtk_assistant_next_page
void
GtkAssistant *assistant
gtk_assistant_previous_page
void
GtkAssistant *assistant
gtk_assistant_get_current_page
gint
GtkAssistant *assistant
gtk_assistant_set_current_page
void
GtkAssistant *assistant, gint page_num
gtk_assistant_get_n_pages
gint
GtkAssistant *assistant
gtk_assistant_get_nth_page
GtkWidget *
GtkAssistant *assistant, gint page_num
gtk_assistant_prepend_page
gint
GtkAssistant *assistant, GtkWidget *page
gtk_assistant_append_page
gint
GtkAssistant *assistant, GtkWidget *page
gtk_assistant_insert_page
gint
GtkAssistant *assistant, GtkWidget *page, gint position
gtk_assistant_remove_page
void
GtkAssistant *assistant, gint page_num
gtk_assistant_set_forward_page_func
void
GtkAssistant *assistant, GtkAssistantPageFunc page_func, gpointer data, GDestroyNotify destroy
gtk_assistant_set_page_type
void
GtkAssistant *assistant, GtkWidget *page, GtkAssistantPageType type
gtk_assistant_get_page_type
GtkAssistantPageType
GtkAssistant *assistant, GtkWidget *page
gtk_assistant_set_page_title
void
GtkAssistant *assistant, GtkWidget *page, const gchar *title
gtk_assistant_get_page_title
const gchar *
GtkAssistant *assistant, GtkWidget *page
gtk_assistant_set_page_complete
void
GtkAssistant *assistant, GtkWidget *page, gboolean complete
gtk_assistant_get_page_complete
gboolean
GtkAssistant *assistant, GtkWidget *page
gtk_assistant_add_action_widget
void
GtkAssistant *assistant, GtkWidget *child
gtk_assistant_remove_action_widget
void
GtkAssistant *assistant, GtkWidget *child
gtk_assistant_update_buttons_state
void
GtkAssistant *assistant
gtk_assistant_commit
void
GtkAssistant *assistant
gtk_assistant_get_page
GtkAssistantPage *
GtkAssistant *assistant, GtkWidget *child
gtk_assistant_page_get_child
GtkWidget *
GtkAssistantPage *page
gtk_assistant_get_pages
GListModel *
GtkAssistant *assistant
GtkAssistant
GtkAssistantPage
GTK_TYPE_BIN
#define GTK_TYPE_BIN (gtk_bin_get_type ())
GTK_BIN
#define GTK_BIN(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_BIN, GtkBin))
GTK_BIN_CLASS
#define GTK_BIN_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_BIN, GtkBinClass))
GTK_IS_BIN
#define GTK_IS_BIN(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_BIN))
GTK_IS_BIN_CLASS
#define GTK_IS_BIN_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_BIN))
GTK_BIN_GET_CLASS
#define GTK_BIN_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_BIN, GtkBinClass))
GtkBin
struct _GtkBin
{
GtkContainer parent_instance;
};
GtkBinClass
struct _GtkBinClass
{
GtkContainerClass parent_class;
/*< private >*/
gpointer padding[8];
};
gtk_bin_get_type
GType
void
gtk_bin_get_child
GtkWidget *
GtkBin *bin
GtkBindingCallback
void
GtkWidget *widget, GVariant *args, gpointer user_data
gtk_binding_set_new
GtkBindingSet *
const gchar *set_name
gtk_binding_set_by_class
GtkBindingSet *
gpointer object_class
gtk_binding_set_find
GtkBindingSet *
const gchar *set_name
gtk_bindings_activate
gboolean
GObject *object, guint keyval, GdkModifierType modifiers
gtk_bindings_activate_event
gboolean
GObject *object, GdkEventKey *event
gtk_binding_set_activate
gboolean
GtkBindingSet *binding_set, guint keyval, GdkModifierType modifiers, GObject *object
gtk_binding_entry_skip
void
GtkBindingSet *binding_set, guint keyval, GdkModifierType modifiers
gtk_binding_entry_add_signal
void
GtkBindingSet *binding_set, guint keyval, GdkModifierType modifiers, const gchar *signal_name, guint n_args, ...
gtk_binding_entry_add_signal_from_string
GTokenType
GtkBindingSet *binding_set, const gchar *signal_desc
gtk_binding_entry_add_action_variant
void
GtkBindingSet *binding_set, guint keyval, GdkModifierType modifiers, const char *action_name, GVariant *args
gtk_binding_entry_add_action
void
GtkBindingSet *binding_set, guint keyval, GdkModifierType modifiers, const char *action_name, const char *format_string, ...
gtk_binding_entry_add_callback
void
GtkBindingSet *binding_set, guint keyval, GdkModifierType modifiers, GtkBindingCallback callback, GVariant *args, gpointer user_data, GDestroyNotify user_destroy
gtk_binding_entry_remove
void
GtkBindingSet *binding_set, guint keyval, GdkModifierType modifiers
GtkBindingSet
GTK_TYPE_BIN_LAYOUT
#define GTK_TYPE_BIN_LAYOUT (gtk_bin_layout_get_type ())
gtk_bin_layout_new
GtkLayoutManager *
void
GtkBinLayout
GtkBookmarksChangedFunc
void
gpointer data
GTK_TYPE_BORDER
#define GTK_TYPE_BORDER (gtk_border_get_type ())
GtkBorder
struct _GtkBorder
{
gint16 left;
gint16 right;
gint16 top;
gint16 bottom;
};
gtk_border_get_type
GType
void
gtk_border_new
GtkBorder *
void
gtk_border_copy
GtkBorder *
const GtkBorder *border_
gtk_border_free
void
GtkBorder *border_
GTK_TYPE_BOX
#define GTK_TYPE_BOX (gtk_box_get_type ())
GTK_BOX
#define GTK_BOX(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_BOX, GtkBox))
GTK_BOX_CLASS
#define GTK_BOX_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_BOX, GtkBoxClass))
GTK_IS_BOX
#define GTK_IS_BOX(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_BOX))
GTK_IS_BOX_CLASS
#define GTK_IS_BOX_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_BOX))
GTK_BOX_GET_CLASS
#define GTK_BOX_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_BOX, GtkBoxClass))
GtkBox
struct _GtkBox
{
GtkContainer parent_instance;
};
GtkBoxClass
struct _GtkBoxClass
{
GtkContainerClass parent_class;
/*< private >*/
gpointer padding[8];
};
gtk_box_get_type
GType
void
gtk_box_new
GtkWidget *
GtkOrientation orientation, gint spacing
gtk_box_set_homogeneous
void
GtkBox *box, gboolean homogeneous
gtk_box_get_homogeneous
gboolean
GtkBox *box
gtk_box_set_spacing
void
GtkBox *box, gint spacing
gtk_box_get_spacing
gint
GtkBox *box
gtk_box_set_baseline_position
void
GtkBox *box, GtkBaselinePosition position
gtk_box_get_baseline_position
GtkBaselinePosition
GtkBox *box
gtk_box_insert_child_after
void
GtkBox *box, GtkWidget *child, GtkWidget *sibling
gtk_box_reorder_child_after
void
GtkBox *box, GtkWidget *child, GtkWidget *sibling
GTK_TYPE_BOX_LAYOUT
#define GTK_TYPE_BOX_LAYOUT (gtk_box_layout_get_type())
gtk_box_layout_new
GtkLayoutManager *
GtkOrientation orientation
gtk_box_layout_set_homogeneous
void
GtkBoxLayout *box_layout, gboolean homogeneous
gtk_box_layout_get_homogeneous
gboolean
GtkBoxLayout *box_layout
gtk_box_layout_set_spacing
void
GtkBoxLayout *box_layout, guint spacing
gtk_box_layout_get_spacing
guint
GtkBoxLayout *box_layout
gtk_box_layout_set_baseline_position
void
GtkBoxLayout *box_layout, GtkBaselinePosition position
gtk_box_layout_get_baseline_position
GtkBaselinePosition
GtkBoxLayout *box_layout
GtkBoxLayout
GTK_TYPE_BUILDABLE
#define GTK_TYPE_BUILDABLE (gtk_buildable_get_type ())
GTK_BUILDABLE
#define GTK_BUILDABLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_BUILDABLE, GtkBuildable))
GTK_BUILDABLE_CLASS
#define GTK_BUILDABLE_CLASS(obj) (G_TYPE_CHECK_CLASS_CAST ((obj), GTK_TYPE_BUILDABLE, GtkBuildableIface))
GTK_IS_BUILDABLE
#define GTK_IS_BUILDABLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_BUILDABLE))
GTK_BUILDABLE_GET_IFACE
#define GTK_BUILDABLE_GET_IFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), GTK_TYPE_BUILDABLE, GtkBuildableIface))
GtkBuildableParser
struct _GtkBuildableParser
{
/* Called for open tags */
void (*start_element) (GtkBuildableParseContext *context,
const gchar *element_name,
const gchar **attribute_names,
const gchar **attribute_values,
gpointer user_data,
GError **error);
/* Called for close tags */
void (*end_element) (GtkBuildableParseContext *context,
const gchar *element_name,
gpointer user_data,
GError **error);
/* Called for character data */
/* text is not nul-terminated */
void (*text) (GtkBuildableParseContext *context,
const gchar *text,
gsize text_len,
gpointer user_data,
GError **error);
/* Called on error, including one set by other
* methods in the vtable. The GError should not be freed.
*/
void (*error) (GtkBuildableParseContext *context,
GError *error,
gpointer user_data);
gpointer padding[4];
};
GtkBuildableIface
struct _GtkBuildableIface
{
GTypeInterface g_iface;
/* virtual table */
void (* set_name) (GtkBuildable *buildable,
const gchar *name);
const gchar * (* get_name) (GtkBuildable *buildable);
void (* add_child) (GtkBuildable *buildable,
GtkBuilder *builder,
GObject *child,
const gchar *type);
void (* set_buildable_property) (GtkBuildable *buildable,
GtkBuilder *builder,
const gchar *name,
const GValue *value);
GObject * (* construct_child) (GtkBuildable *buildable,
GtkBuilder *builder,
const gchar *name);
gboolean (* custom_tag_start) (GtkBuildable *buildable,
GtkBuilder *builder,
GObject *child,
const gchar *tagname,
GtkBuildableParser *parser,
gpointer *data);
void (* custom_tag_end) (GtkBuildable *buildable,
GtkBuilder *builder,
GObject *child,
const gchar *tagname,
gpointer data);
void (* custom_finished) (GtkBuildable *buildable,
GtkBuilder *builder,
GObject *child,
const gchar *tagname,
gpointer data);
void (* parser_finished) (GtkBuildable *buildable,
GtkBuilder *builder);
GObject * (* get_internal_child) (GtkBuildable *buildable,
GtkBuilder *builder,
const gchar *childname);
};
gtk_buildable_get_type
GType
void
gtk_buildable_set_name
void
GtkBuildable *buildable, const gchar *name
gtk_buildable_get_name
const gchar *
GtkBuildable *buildable
gtk_buildable_add_child
void
GtkBuildable *buildable, GtkBuilder *builder, GObject *child, const gchar *type
gtk_buildable_set_buildable_property
void
GtkBuildable *buildable, GtkBuilder *builder, const gchar *name, const GValue *value
gtk_buildable_construct_child
GObject *
GtkBuildable *buildable, GtkBuilder *builder, const gchar *name
gtk_buildable_custom_tag_start
gboolean
GtkBuildable *buildable, GtkBuilder *builder, GObject *child, const gchar *tagname, GtkBuildableParser *parser, gpointer *data
gtk_buildable_custom_tag_end
void
GtkBuildable *buildable, GtkBuilder *builder, GObject *child, const gchar *tagname, gpointer data
gtk_buildable_custom_finished
void
GtkBuildable *buildable, GtkBuilder *builder, GObject *child, const gchar *tagname, gpointer data
gtk_buildable_parser_finished
void
GtkBuildable *buildable, GtkBuilder *builder
gtk_buildable_get_internal_child
GObject *
GtkBuildable *buildable, GtkBuilder *builder, const gchar *childname
gtk_buildable_parse_context_push
void
GtkBuildableParseContext *context, const GtkBuildableParser *parser, gpointer user_data
gtk_buildable_parse_context_pop
gpointer
GtkBuildableParseContext *context
gtk_buildable_parse_context_get_element
const char *
GtkBuildableParseContext *context
gtk_buildable_parse_context_get_element_stack
GPtrArray *
GtkBuildableParseContext *context
gtk_buildable_parse_context_get_position
void
GtkBuildableParseContext *context, gint *line_number, gint *char_number
GtkBuildable
GtkBuildableParseContext
GTK_TYPE_BUILDER
#define GTK_TYPE_BUILDER (gtk_builder_get_type ())
GTK_BUILDER
#define GTK_BUILDER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_BUILDER, GtkBuilder))
GTK_BUILDER_CLASS
#define GTK_BUILDER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_BUILDER, GtkBuilderClass))
GTK_IS_BUILDER
#define GTK_IS_BUILDER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_BUILDER))
GTK_IS_BUILDER_CLASS
#define GTK_IS_BUILDER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_BUILDER))
GTK_BUILDER_GET_CLASS
#define GTK_BUILDER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_BUILDER, GtkBuilderClass))
GTK_BUILDER_ERROR
#define GTK_BUILDER_ERROR (gtk_builder_error_quark ())
GtkBuilderError
typedef enum
{
GTK_BUILDER_ERROR_INVALID_TYPE_FUNCTION,
GTK_BUILDER_ERROR_UNHANDLED_TAG,
GTK_BUILDER_ERROR_MISSING_ATTRIBUTE,
GTK_BUILDER_ERROR_INVALID_ATTRIBUTE,
GTK_BUILDER_ERROR_INVALID_TAG,
GTK_BUILDER_ERROR_MISSING_PROPERTY_VALUE,
GTK_BUILDER_ERROR_INVALID_VALUE,
GTK_BUILDER_ERROR_VERSION_MISMATCH,
GTK_BUILDER_ERROR_DUPLICATE_ID,
GTK_BUILDER_ERROR_OBJECT_TYPE_REFUSED,
GTK_BUILDER_ERROR_TEMPLATE_MISMATCH,
GTK_BUILDER_ERROR_INVALID_PROPERTY,
GTK_BUILDER_ERROR_INVALID_SIGNAL,
GTK_BUILDER_ERROR_INVALID_ID,
GTK_BUILDER_ERROR_INVALID_FUNCTION
} GtkBuilderError;
gtk_builder_error_quark
GQuark
void
gtk_builder_get_type
GType
void
gtk_builder_new
GtkBuilder *
void
gtk_builder_add_from_file
gboolean
GtkBuilder *builder, const gchar *filename, GError **error
gtk_builder_add_from_resource
gboolean
GtkBuilder *builder, const gchar *resource_path, GError **error
gtk_builder_add_from_string
gboolean
GtkBuilder *builder, const gchar *buffer, gssize length, GError **error
gtk_builder_add_objects_from_file
gboolean
GtkBuilder *builder, const gchar *filename, gchar **object_ids, GError **error
gtk_builder_add_objects_from_resource
gboolean
GtkBuilder *builder, const gchar *resource_path, gchar **object_ids, GError **error
gtk_builder_add_objects_from_string
gboolean
GtkBuilder *builder, const gchar *buffer, gssize length, gchar **object_ids, GError **error
gtk_builder_get_object
GObject *
GtkBuilder *builder, const gchar *name
gtk_builder_get_objects
GSList *
GtkBuilder *builder
gtk_builder_expose_object
void
GtkBuilder *builder, const gchar *name, GObject *object
gtk_builder_get_current_object
GObject *
GtkBuilder *builder
gtk_builder_set_current_object
void
GtkBuilder *builder, GObject *current_object
gtk_builder_set_translation_domain
void
GtkBuilder *builder, const gchar *domain
gtk_builder_get_translation_domain
const gchar *
GtkBuilder *builder
gtk_builder_get_scope
GtkBuilderScope *
GtkBuilder *builder
gtk_builder_set_scope
void
GtkBuilder *builder, GtkBuilderScope *scope
gtk_builder_get_type_from_name
GType
GtkBuilder *builder, const char *type_name
gtk_builder_value_from_string
gboolean
GtkBuilder *builder, GParamSpec *pspec, const gchar *string, GValue *value, GError **error
gtk_builder_value_from_string_type
gboolean
GtkBuilder *builder, GType type, const gchar *string, GValue *value, GError **error
gtk_builder_new_from_file
GtkBuilder *
const gchar *filename
gtk_builder_new_from_resource
GtkBuilder *
const gchar *resource_path
gtk_builder_new_from_string
GtkBuilder *
const gchar *string, gssize length
gtk_builder_create_closure
GClosure *
GtkBuilder *builder, const char *function_name, GtkBuilderClosureFlags flags, GObject *object, GError **error
GTK_BUILDER_WARN_INVALID_CHILD_TYPE
#define GTK_BUILDER_WARN_INVALID_CHILD_TYPE(object, type) \
g_warning ("'%s' is not a valid child type of '%s'", type, g_type_name (G_OBJECT_TYPE (object)))
gtk_builder_extend_with_template
gboolean
GtkBuilder *builder, GtkWidget *widget, GType template_type, const gchar *buffer, gssize length, GError **error
GtkBuilderClass
GTK_TYPE_BUILDER_SCOPE
#define GTK_TYPE_BUILDER_SCOPE (gtk_builder_scope_get_type ())
GtkBuilderClosureFlags
typedef enum {
GTK_BUILDER_CLOSURE_SWAPPED = (1 << 0)
} GtkBuilderClosureFlags;
GtkBuilderScopeInterface
struct _GtkBuilderScopeInterface
{
/*< private >*/
GTypeInterface g_iface;
/*< public >*/
GType (* get_type_from_name) (GtkBuilderScope *self,
GtkBuilder *builder,
const char *type_name);
GType (* get_type_from_function) (GtkBuilderScope *self,
GtkBuilder *builder,
const char *function_name);
GClosure * (* create_closure) (GtkBuilderScope *self,
GtkBuilder *builder,
const char *function_name,
GtkBuilderClosureFlags flags,
GObject *object,
GError **error);
};
GtkBuilderCScopeClass
struct _GtkBuilderCScopeClass
{
GObjectClass parent_class;
};
GTK_TYPE_BUILDER_CSCOPE
#define GTK_TYPE_BUILDER_CSCOPE (gtk_builder_cscope_get_type ())
gtk_builder_cscope_new
GtkBuilderScope *
void
gtk_builder_cscope_add_callback_symbol
void
GtkBuilderCScope *self, const gchar *callback_name, GCallback callback_symbol
gtk_builder_cscope_add_callback_symbols
void
GtkBuilderCScope *self, const gchar *first_callback_name, GCallback first_callback_symbol, ...
gtk_builder_cscope_lookup_callback_symbol
GCallback
GtkBuilderCScope *self, const gchar *callback_name
GtkBuilderCScope
GtkBuilderCScopeClass
GtkBuilderScope
gtk_builder_scope_get_type_from_name
GType
GtkBuilderScope *self, GtkBuilder *builder, const char *type_name
gtk_builder_scope_get_type_from_function
GType
GtkBuilderScope *self, GtkBuilder *builder, const char *function_name
gtk_builder_scope_create_closure
GClosure *
GtkBuilderScope *self, GtkBuilder *builder, const char *function_name, GtkBuilderClosureFlags flags, GObject *object, GError **error
GTK_TYPE_BUILTIN_ICON
#define GTK_TYPE_BUILTIN_ICON (gtk_builtin_icon_get_type ())
gtk_builtin_icon_new
GtkWidget *
const char *css_name
gtk_builtin_icon_set_css_name
void
GtkBuiltinIcon *self, const char *css_name
GtkBuiltinIcon
GTK_TYPE_BUTTON
#define GTK_TYPE_BUTTON (gtk_button_get_type ())
GTK_BUTTON
#define GTK_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_BUTTON, GtkButton))
GTK_BUTTON_CLASS
#define GTK_BUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_BUTTON, GtkButtonClass))
GTK_IS_BUTTON
#define GTK_IS_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_BUTTON))
GTK_IS_BUTTON_CLASS
#define GTK_IS_BUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_BUTTON))
GTK_BUTTON_GET_CLASS
#define GTK_BUTTON_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_BUTTON, GtkButtonClass))
GtkButton
struct _GtkButton
{
/*< private >*/
GtkBin parent_instance;
};
GtkButtonClass
struct _GtkButtonClass
{
GtkBinClass parent_class;
/*< public >*/
void (* clicked) (GtkButton *button);
void (* activate) (GtkButton *button);
/*< private >*/
gpointer padding[8];
};
gtk_button_get_type
GType
void
gtk_button_new
GtkWidget *
void
gtk_button_new_with_label
GtkWidget *
const gchar *label
gtk_button_new_from_icon_name
GtkWidget *
const gchar *icon_name
gtk_button_new_with_mnemonic
GtkWidget *
const gchar *label
gtk_button_set_relief
void
GtkButton *button, GtkReliefStyle relief
gtk_button_get_relief
GtkReliefStyle
GtkButton *button
gtk_button_set_label
void
GtkButton *button, const gchar *label
gtk_button_get_label
const gchar *
GtkButton *button
gtk_button_set_use_underline
void
GtkButton *button, gboolean use_underline
gtk_button_get_use_underline
gboolean
GtkButton *button
gtk_button_set_icon_name
void
GtkButton *button, const char *icon_name
gtk_button_get_icon_name
const char *
GtkButton *button
GtkButtonPrivate
GTK_TYPE_CALENDAR
#define GTK_TYPE_CALENDAR (gtk_calendar_get_type ())
GTK_CALENDAR
#define GTK_CALENDAR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_CALENDAR, GtkCalendar))
GTK_IS_CALENDAR
#define GTK_IS_CALENDAR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_CALENDAR))
gtk_calendar_get_type
GType
void
gtk_calendar_new
GtkWidget *
void
gtk_calendar_select_day
void
GtkCalendar *self, GDateTime *date
gtk_calendar_mark_day
void
GtkCalendar *calendar, guint day
gtk_calendar_unmark_day
void
GtkCalendar *calendar, guint day
gtk_calendar_clear_marks
void
GtkCalendar *calendar
gtk_calendar_set_show_week_numbers
void
GtkCalendar *self, gboolean value
gtk_calendar_get_show_week_numbers
gboolean
GtkCalendar *self
gtk_calendar_set_show_heading
void
GtkCalendar *self, gboolean value
gtk_calendar_get_show_heading
gboolean
GtkCalendar *self
gtk_calendar_set_show_day_names
void
GtkCalendar *self, gboolean value
gtk_calendar_get_show_day_names
gboolean
GtkCalendar *self
gtk_calendar_get_date
GDateTime *
GtkCalendar *self
gtk_calendar_get_day_is_marked
gboolean
GtkCalendar *calendar, guint day
GtkCalendar
GTK_TYPE_CELL_AREA
#define GTK_TYPE_CELL_AREA (gtk_cell_area_get_type ())
GTK_CELL_AREA
#define GTK_CELL_AREA(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_CELL_AREA, GtkCellArea))
GTK_CELL_AREA_CLASS
#define GTK_CELL_AREA_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_CELL_AREA, GtkCellAreaClass))
GTK_IS_CELL_AREA
#define GTK_IS_CELL_AREA(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_CELL_AREA))
GTK_IS_CELL_AREA_CLASS
#define GTK_IS_CELL_AREA_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_CELL_AREA))
GTK_CELL_AREA_GET_CLASS
#define GTK_CELL_AREA_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_CELL_AREA, GtkCellAreaClass))
GTK_CELL_AREA_WARN_INVALID_CELL_PROPERTY_ID
#define GTK_CELL_AREA_WARN_INVALID_CELL_PROPERTY_ID(object, property_id, pspec) \
G_OBJECT_WARN_INVALID_PSPEC ((object), "cell property id", (property_id), (pspec))
GtkCellCallback
gboolean
GtkCellRenderer *renderer, gpointer data
GtkCellAllocCallback
gboolean
GtkCellRenderer *renderer, const GdkRectangle *cell_area, const GdkRectangle *cell_background, gpointer data
GtkCellArea
struct _GtkCellArea
{
/*< private >*/
GInitiallyUnowned parent_instance;
};
GtkCellAreaClass
struct _GtkCellAreaClass
{
/*< private >*/
GInitiallyUnownedClass parent_class;
/*< public >*/
/* Basic methods */
void (* add) (GtkCellArea *area,
GtkCellRenderer *renderer);
void (* remove) (GtkCellArea *area,
GtkCellRenderer *renderer);
void (* foreach) (GtkCellArea *area,
GtkCellCallback callback,
gpointer callback_data);
void (* foreach_alloc) (GtkCellArea *area,
GtkCellAreaContext *context,
GtkWidget *widget,
const GdkRectangle *cell_area,
const GdkRectangle *background_area,
GtkCellAllocCallback callback,
gpointer callback_data);
gint (* event) (GtkCellArea *area,
GtkCellAreaContext *context,
GtkWidget *widget,
GdkEvent *event,
const GdkRectangle *cell_area,
GtkCellRendererState flags);
void (* snapshot) (GtkCellArea *area,
GtkCellAreaContext *context,
GtkWidget *widget,
GtkSnapshot *snapshot,
const GdkRectangle *background_area,
const GdkRectangle *cell_area,
GtkCellRendererState flags,
gboolean paint_focus);
void (* apply_attributes) (GtkCellArea *area,
GtkTreeModel *tree_model,
GtkTreeIter *iter,
gboolean is_expander,
gboolean is_expanded);
/* Geometry */
GtkCellAreaContext *(* create_context) (GtkCellArea *area);
GtkCellAreaContext *(* copy_context) (GtkCellArea *area,
GtkCellAreaContext *context);
GtkSizeRequestMode (* get_request_mode) (GtkCellArea *area);
void (* get_preferred_width) (GtkCellArea *area,
GtkCellAreaContext *context,
GtkWidget *widget,
gint *minimum_width,
gint *natural_width);
void (* get_preferred_height_for_width) (GtkCellArea *area,
GtkCellAreaContext *context,
GtkWidget *widget,
gint width,
gint *minimum_height,
gint *natural_height);
void (* get_preferred_height) (GtkCellArea *area,
GtkCellAreaContext *context,
GtkWidget *widget,
gint *minimum_height,
gint *natural_height);
void (* get_preferred_width_for_height) (GtkCellArea *area,
GtkCellAreaContext *context,
GtkWidget *widget,
gint height,
gint *minimum_width,
gint *natural_width);
/* Cell Properties */
void (* set_cell_property) (GtkCellArea *area,
GtkCellRenderer *renderer,
guint property_id,
const GValue *value,
GParamSpec *pspec);
void (* get_cell_property) (GtkCellArea *area,
GtkCellRenderer *renderer,
guint property_id,
GValue *value,
GParamSpec *pspec);
/* Focus */
gboolean (* focus) (GtkCellArea *area,
GtkDirectionType direction);
gboolean (* is_activatable) (GtkCellArea *area);
gboolean (* activate) (GtkCellArea *area,
GtkCellAreaContext *context,
GtkWidget *widget,
const GdkRectangle *cell_area,
GtkCellRendererState flags,
gboolean edit_only);
/*< private >*/
gpointer padding[8];
};
gtk_cell_area_get_type
GType
void
gtk_cell_area_add
void
GtkCellArea *area, GtkCellRenderer *renderer
gtk_cell_area_remove
void
GtkCellArea *area, GtkCellRenderer *renderer
gtk_cell_area_has_renderer
gboolean
GtkCellArea *area, GtkCellRenderer *renderer
gtk_cell_area_foreach
void
GtkCellArea *area, GtkCellCallback callback, gpointer callback_data
gtk_cell_area_foreach_alloc
void
GtkCellArea *area, GtkCellAreaContext *context, GtkWidget *widget, const GdkRectangle *cell_area, const GdkRectangle *background_area, GtkCellAllocCallback callback, gpointer callback_data
gtk_cell_area_event
gint
GtkCellArea *area, GtkCellAreaContext *context, GtkWidget *widget, GdkEvent *event, const GdkRectangle *cell_area, GtkCellRendererState flags
gtk_cell_area_snapshot
void
GtkCellArea *area, GtkCellAreaContext *context, GtkWidget *widget, GtkSnapshot *snapshot, const GdkRectangle *background_area, const GdkRectangle *cell_area, GtkCellRendererState flags, gboolean paint_focus
gtk_cell_area_get_cell_allocation
void
GtkCellArea *area, GtkCellAreaContext *context, GtkWidget *widget, GtkCellRenderer *renderer, const GdkRectangle *cell_area, GdkRectangle *allocation
gtk_cell_area_get_cell_at_position
GtkCellRenderer *
GtkCellArea *area, GtkCellAreaContext *context, GtkWidget *widget, const GdkRectangle *cell_area, gint x, gint y, GdkRectangle *alloc_area
gtk_cell_area_create_context
GtkCellAreaContext *
GtkCellArea *area
gtk_cell_area_copy_context
GtkCellAreaContext *
GtkCellArea *area, GtkCellAreaContext *context
gtk_cell_area_get_request_mode
GtkSizeRequestMode
GtkCellArea *area
gtk_cell_area_get_preferred_width
void
GtkCellArea *area, GtkCellAreaContext *context, GtkWidget *widget, gint *minimum_width, gint *natural_width
gtk_cell_area_get_preferred_height_for_width
void
GtkCellArea *area, GtkCellAreaContext *context, GtkWidget *widget, gint width, gint *minimum_height, gint *natural_height
gtk_cell_area_get_preferred_height
void
GtkCellArea *area, GtkCellAreaContext *context, GtkWidget *widget, gint *minimum_height, gint *natural_height
gtk_cell_area_get_preferred_width_for_height
void
GtkCellArea *area, GtkCellAreaContext *context, GtkWidget *widget, gint height, gint *minimum_width, gint *natural_width
gtk_cell_area_get_current_path_string
const gchar *
GtkCellArea *area
gtk_cell_area_apply_attributes
void
GtkCellArea *area, GtkTreeModel *tree_model, GtkTreeIter *iter, gboolean is_expander, gboolean is_expanded
gtk_cell_area_attribute_connect
void
GtkCellArea *area, GtkCellRenderer *renderer, const gchar *attribute, gint column
gtk_cell_area_attribute_disconnect
void
GtkCellArea *area, GtkCellRenderer *renderer, const gchar *attribute
gtk_cell_area_attribute_get_column
gint
GtkCellArea *area, GtkCellRenderer *renderer, const gchar *attribute
gtk_cell_area_class_install_cell_property
void
GtkCellAreaClass *aclass, guint property_id, GParamSpec *pspec
gtk_cell_area_class_find_cell_property
GParamSpec *
GtkCellAreaClass *aclass, const gchar *property_name
gtk_cell_area_class_list_cell_properties
GParamSpec **
GtkCellAreaClass *aclass, guint *n_properties
gtk_cell_area_add_with_properties
void
GtkCellArea *area, GtkCellRenderer *renderer, const gchar *first_prop_name, ...
gtk_cell_area_cell_set
void
GtkCellArea *area, GtkCellRenderer *renderer, const gchar *first_prop_name, ...
gtk_cell_area_cell_get
void
GtkCellArea *area, GtkCellRenderer *renderer, const gchar *first_prop_name, ...
gtk_cell_area_cell_set_valist
void
GtkCellArea *area, GtkCellRenderer *renderer, const gchar *first_property_name, va_list var_args
gtk_cell_area_cell_get_valist
void
GtkCellArea *area, GtkCellRenderer *renderer, const gchar *first_property_name, va_list var_args
gtk_cell_area_cell_set_property
void
GtkCellArea *area, GtkCellRenderer *renderer, const gchar *property_name, const GValue *value
gtk_cell_area_cell_get_property
void
GtkCellArea *area, GtkCellRenderer *renderer, const gchar *property_name, GValue *value
gtk_cell_area_is_activatable
gboolean
GtkCellArea *area
gtk_cell_area_activate
gboolean
GtkCellArea *area, GtkCellAreaContext *context, GtkWidget *widget, const GdkRectangle *cell_area, GtkCellRendererState flags, gboolean edit_only
gtk_cell_area_focus
gboolean
GtkCellArea *area, GtkDirectionType direction
gtk_cell_area_set_focus_cell
void
GtkCellArea *area, GtkCellRenderer *renderer
gtk_cell_area_get_focus_cell
GtkCellRenderer *
GtkCellArea *area
gtk_cell_area_add_focus_sibling
void
GtkCellArea *area, GtkCellRenderer *renderer, GtkCellRenderer *sibling
gtk_cell_area_remove_focus_sibling
void
GtkCellArea *area, GtkCellRenderer *renderer, GtkCellRenderer *sibling
gtk_cell_area_is_focus_sibling
gboolean
GtkCellArea *area, GtkCellRenderer *renderer, GtkCellRenderer *sibling
gtk_cell_area_get_focus_siblings
const GList *
GtkCellArea *area, GtkCellRenderer *renderer
gtk_cell_area_get_focus_from_sibling
GtkCellRenderer *
GtkCellArea *area, GtkCellRenderer *renderer
gtk_cell_area_get_edited_cell
GtkCellRenderer *
GtkCellArea *area
gtk_cell_area_get_edit_widget
GtkCellEditable *
GtkCellArea *area
gtk_cell_area_activate_cell
gboolean
GtkCellArea *area, GtkWidget *widget, GtkCellRenderer *renderer, GdkEvent *event, const GdkRectangle *cell_area, GtkCellRendererState flags
gtk_cell_area_stop_editing
void
GtkCellArea *area, gboolean canceled
gtk_cell_area_inner_cell_area
void
GtkCellArea *area, GtkWidget *widget, const GdkRectangle *cell_area, GdkRectangle *inner_area
gtk_cell_area_request_renderer
void
GtkCellArea *area, GtkCellRenderer *renderer, GtkOrientation orientation, GtkWidget *widget, gint for_size, gint *minimum_size, gint *natural_size
GtkCellAreaContext
GTK_TYPE_CELL_AREA_BOX
#define GTK_TYPE_CELL_AREA_BOX (gtk_cell_area_box_get_type ())
GTK_CELL_AREA_BOX
#define GTK_CELL_AREA_BOX(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_CELL_AREA_BOX, GtkCellAreaBox))
GTK_IS_CELL_AREA_BOX
#define GTK_IS_CELL_AREA_BOX(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_CELL_AREA_BOX))
gtk_cell_area_box_get_type
GType
void
gtk_cell_area_box_new
GtkCellArea *
void
gtk_cell_area_box_pack_start
void
GtkCellAreaBox *box, GtkCellRenderer *renderer, gboolean expand, gboolean align, gboolean fixed
gtk_cell_area_box_pack_end
void
GtkCellAreaBox *box, GtkCellRenderer *renderer, gboolean expand, gboolean align, gboolean fixed
gtk_cell_area_box_get_spacing
gint
GtkCellAreaBox *box
gtk_cell_area_box_set_spacing
void
GtkCellAreaBox *box, gint spacing
GtkCellAreaBox
GTK_TYPE_CELL_AREA_CONTEXT
#define GTK_TYPE_CELL_AREA_CONTEXT (gtk_cell_area_context_get_type ())
GTK_CELL_AREA_CONTEXT
#define GTK_CELL_AREA_CONTEXT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_CELL_AREA_CONTEXT, GtkCellAreaContext))
GTK_CELL_AREA_CONTEXT_CLASS
#define GTK_CELL_AREA_CONTEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_CELL_AREA_CONTEXT, GtkCellAreaContextClass))
GTK_IS_CELL_AREA_CONTEXT
#define GTK_IS_CELL_AREA_CONTEXT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_CELL_AREA_CONTEXT))
GTK_IS_CELL_AREA_CONTEXT_CLASS
#define GTK_IS_CELL_AREA_CONTEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_CELL_AREA_CONTEXT))
GTK_CELL_AREA_CONTEXT_GET_CLASS
#define GTK_CELL_AREA_CONTEXT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_CELL_AREA_CONTEXT, GtkCellAreaContextClass))
GtkCellAreaContext
struct _GtkCellAreaContext
{
/*< private >*/
GObject parent_instance;
};
GtkCellAreaContextClass
struct _GtkCellAreaContextClass
{
/*< private >*/
GObjectClass parent_class;
/*< public >*/
void (* allocate) (GtkCellAreaContext *context,
gint width,
gint height);
void (* reset) (GtkCellAreaContext *context);
void (* get_preferred_height_for_width) (GtkCellAreaContext *context,
gint width,
gint *minimum_height,
gint *natural_height);
void (* get_preferred_width_for_height) (GtkCellAreaContext *context,
gint height,
gint *minimum_width,
gint *natural_width);
/*< private >*/
gpointer padding[8];
};
gtk_cell_area_context_get_type
GType
void
gtk_cell_area_context_get_area
GtkCellArea *
GtkCellAreaContext *context
gtk_cell_area_context_allocate
void
GtkCellAreaContext *context, gint width, gint height
gtk_cell_area_context_reset
void
GtkCellAreaContext *context
gtk_cell_area_context_get_preferred_width
void
GtkCellAreaContext *context, gint *minimum_width, gint *natural_width
gtk_cell_area_context_get_preferred_height
void
GtkCellAreaContext *context, gint *minimum_height, gint *natural_height
gtk_cell_area_context_get_preferred_height_for_width
void
GtkCellAreaContext *context, gint width, gint *minimum_height, gint *natural_height
gtk_cell_area_context_get_preferred_width_for_height
void
GtkCellAreaContext *context, gint height, gint *minimum_width, gint *natural_width
gtk_cell_area_context_get_allocation
void
GtkCellAreaContext *context, gint *width, gint *height
gtk_cell_area_context_push_preferred_width
void
GtkCellAreaContext *context, gint minimum_width, gint natural_width
gtk_cell_area_context_push_preferred_height
void
GtkCellAreaContext *context, gint minimum_height, gint natural_height
GtkCellAreaContextPrivate
GTK_TYPE_CELL_EDITABLE
#define GTK_TYPE_CELL_EDITABLE (gtk_cell_editable_get_type ())
GTK_CELL_EDITABLE
#define GTK_CELL_EDITABLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_CELL_EDITABLE, GtkCellEditable))
GTK_CELL_EDITABLE_CLASS
#define GTK_CELL_EDITABLE_CLASS(obj) (G_TYPE_CHECK_CLASS_CAST ((obj), GTK_TYPE_CELL_EDITABLE, GtkCellEditableIface))
GTK_IS_CELL_EDITABLE
#define GTK_IS_CELL_EDITABLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_CELL_EDITABLE))
GTK_CELL_EDITABLE_GET_IFACE
#define GTK_CELL_EDITABLE_GET_IFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), GTK_TYPE_CELL_EDITABLE, GtkCellEditableIface))
GtkCellEditableIface
struct _GtkCellEditableIface
{
/*< private >*/
GTypeInterface g_iface;
/*< public >*/
/* signals */
void (* editing_done) (GtkCellEditable *cell_editable);
void (* remove_widget) (GtkCellEditable *cell_editable);
/* virtual table */
void (* start_editing) (GtkCellEditable *cell_editable,
GdkEvent *event);
};
gtk_cell_editable_get_type
GType
void
gtk_cell_editable_start_editing
void
GtkCellEditable *cell_editable, GdkEvent *event
gtk_cell_editable_editing_done
void
GtkCellEditable *cell_editable
gtk_cell_editable_remove_widget
void
GtkCellEditable *cell_editable
GtkCellEditable
GTK_TYPE_CELL_LAYOUT
#define GTK_TYPE_CELL_LAYOUT (gtk_cell_layout_get_type ())
GTK_CELL_LAYOUT
#define GTK_CELL_LAYOUT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_CELL_LAYOUT, GtkCellLayout))
GTK_IS_CELL_LAYOUT
#define GTK_IS_CELL_LAYOUT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_CELL_LAYOUT))
GTK_CELL_LAYOUT_GET_IFACE
#define GTK_CELL_LAYOUT_GET_IFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), GTK_TYPE_CELL_LAYOUT, GtkCellLayoutIface))
GtkCellLayoutDataFunc
void
GtkCellLayout *cell_layout, GtkCellRenderer *cell, GtkTreeModel *tree_model, GtkTreeIter *iter, gpointer data
GtkCellLayoutIface
struct _GtkCellLayoutIface
{
/*< private >*/
GTypeInterface g_iface;
/*< public >*/
/* Virtual Table */
void (* pack_start) (GtkCellLayout *cell_layout,
GtkCellRenderer *cell,
gboolean expand);
void (* pack_end) (GtkCellLayout *cell_layout,
GtkCellRenderer *cell,
gboolean expand);
void (* clear) (GtkCellLayout *cell_layout);
void (* add_attribute) (GtkCellLayout *cell_layout,
GtkCellRenderer *cell,
const gchar *attribute,
gint column);
void (* set_cell_data_func) (GtkCellLayout *cell_layout,
GtkCellRenderer *cell,
GtkCellLayoutDataFunc func,
gpointer func_data,
GDestroyNotify destroy);
void (* clear_attributes) (GtkCellLayout *cell_layout,
GtkCellRenderer *cell);
void (* reorder) (GtkCellLayout *cell_layout,
GtkCellRenderer *cell,
gint position);
GList* (* get_cells) (GtkCellLayout *cell_layout);
GtkCellArea *(* get_area) (GtkCellLayout *cell_layout);
};
gtk_cell_layout_get_type
GType
void
gtk_cell_layout_pack_start
void
GtkCellLayout *cell_layout, GtkCellRenderer *cell, gboolean expand
gtk_cell_layout_pack_end
void
GtkCellLayout *cell_layout, GtkCellRenderer *cell, gboolean expand
gtk_cell_layout_get_cells
GList *
GtkCellLayout *cell_layout
gtk_cell_layout_clear
void
GtkCellLayout *cell_layout
gtk_cell_layout_set_attributes
void
GtkCellLayout *cell_layout, GtkCellRenderer *cell, ...
gtk_cell_layout_add_attribute
void
GtkCellLayout *cell_layout, GtkCellRenderer *cell, const gchar *attribute, gint column
gtk_cell_layout_set_cell_data_func
void
GtkCellLayout *cell_layout, GtkCellRenderer *cell, GtkCellLayoutDataFunc func, gpointer func_data, GDestroyNotify destroy
gtk_cell_layout_clear_attributes
void
GtkCellLayout *cell_layout, GtkCellRenderer *cell
gtk_cell_layout_reorder
void
GtkCellLayout *cell_layout, GtkCellRenderer *cell, gint position
gtk_cell_layout_get_area
GtkCellArea *
GtkCellLayout *cell_layout
GtkCellLayout
GtkCellRendererState
typedef enum
{
GTK_CELL_RENDERER_SELECTED = 1 << 0,
GTK_CELL_RENDERER_PRELIT = 1 << 1,
GTK_CELL_RENDERER_INSENSITIVE = 1 << 2,
/* this flag means the cell is in the sort column/row */
GTK_CELL_RENDERER_SORTED = 1 << 3,
GTK_CELL_RENDERER_FOCUSED = 1 << 4,
GTK_CELL_RENDERER_EXPANDABLE = 1 << 5,
GTK_CELL_RENDERER_EXPANDED = 1 << 6
} GtkCellRendererState;
GtkCellRendererMode
typedef enum
{
GTK_CELL_RENDERER_MODE_INERT,
GTK_CELL_RENDERER_MODE_ACTIVATABLE,
GTK_CELL_RENDERER_MODE_EDITABLE
} GtkCellRendererMode;
GTK_TYPE_CELL_RENDERER
#define GTK_TYPE_CELL_RENDERER (gtk_cell_renderer_get_type ())
GTK_CELL_RENDERER
#define GTK_CELL_RENDERER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_CELL_RENDERER, GtkCellRenderer))
GTK_CELL_RENDERER_CLASS
#define GTK_CELL_RENDERER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_CELL_RENDERER, GtkCellRendererClass))
GTK_IS_CELL_RENDERER
#define GTK_IS_CELL_RENDERER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_CELL_RENDERER))
GTK_IS_CELL_RENDERER_CLASS
#define GTK_IS_CELL_RENDERER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_CELL_RENDERER))
GTK_CELL_RENDERER_GET_CLASS
#define GTK_CELL_RENDERER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_CELL_RENDERER, GtkCellRendererClass))
GtkCellRenderer
struct _GtkCellRenderer
{
GInitiallyUnowned parent_instance;
/*< private >*/
GtkCellRendererPrivate *priv;
};
GtkCellRendererClass
struct _GtkCellRendererClass
{
/*< private >*/
GInitiallyUnownedClass parent_class;
/*< public >*/
/* vtable - not signals */
GtkSizeRequestMode (* get_request_mode) (GtkCellRenderer *cell);
void (* get_preferred_width) (GtkCellRenderer *cell,
GtkWidget *widget,
gint *minimum_size,
gint *natural_size);
void (* get_preferred_height_for_width) (GtkCellRenderer *cell,
GtkWidget *widget,
gint width,
gint *minimum_height,
gint *natural_height);
void (* get_preferred_height) (GtkCellRenderer *cell,
GtkWidget *widget,
gint *minimum_size,
gint *natural_size);
void (* get_preferred_width_for_height) (GtkCellRenderer *cell,
GtkWidget *widget,
gint height,
gint *minimum_width,
gint *natural_width);
void (* get_aligned_area) (GtkCellRenderer *cell,
GtkWidget *widget,
GtkCellRendererState flags,
const GdkRectangle *cell_area,
GdkRectangle *aligned_area);
void (* get_size) (GtkCellRenderer *cell,
GtkWidget *widget,
const GdkRectangle *cell_area,
gint *x_offset,
gint *y_offset,
gint *width,
gint *height);
void (* snapshot) (GtkCellRenderer *cell,
GtkSnapshot *snapshot,
GtkWidget *widget,
const GdkRectangle *background_area,
const GdkRectangle *cell_area,
GtkCellRendererState flags);
gboolean (* activate) (GtkCellRenderer *cell,
GdkEvent *event,
GtkWidget *widget,
const gchar *path,
const GdkRectangle *background_area,
const GdkRectangle *cell_area,
GtkCellRendererState flags);
GtkCellEditable * (* start_editing) (GtkCellRenderer *cell,
GdkEvent *event,
GtkWidget *widget,
const gchar *path,
const GdkRectangle *background_area,
const GdkRectangle *cell_area,
GtkCellRendererState flags);
/* Signals */
void (* editing_canceled) (GtkCellRenderer *cell);
void (* editing_started) (GtkCellRenderer *cell,
GtkCellEditable *editable,
const gchar *path);
/*< private >*/
GtkCellRendererClassPrivate *priv;
gpointer padding[8];
};
gtk_cell_renderer_get_type
GType
void
gtk_cell_renderer_get_request_mode
GtkSizeRequestMode
GtkCellRenderer *cell
gtk_cell_renderer_get_preferred_width
void
GtkCellRenderer *cell, GtkWidget *widget, gint *minimum_size, gint *natural_size
gtk_cell_renderer_get_preferred_height_for_width
void
GtkCellRenderer *cell, GtkWidget *widget, gint width, gint *minimum_height, gint *natural_height
gtk_cell_renderer_get_preferred_height
void
GtkCellRenderer *cell, GtkWidget *widget, gint *minimum_size, gint *natural_size
gtk_cell_renderer_get_preferred_width_for_height
void
GtkCellRenderer *cell, GtkWidget *widget, gint height, gint *minimum_width, gint *natural_width
gtk_cell_renderer_get_preferred_size
void
GtkCellRenderer *cell, GtkWidget *widget, GtkRequisition *minimum_size, GtkRequisition *natural_size
gtk_cell_renderer_get_aligned_area
void
GtkCellRenderer *cell, GtkWidget *widget, GtkCellRendererState flags, const GdkRectangle *cell_area, GdkRectangle *aligned_area
gtk_cell_renderer_snapshot
void
GtkCellRenderer *cell, GtkSnapshot *snapshot, GtkWidget *widget, const GdkRectangle *background_area, const GdkRectangle *cell_area, GtkCellRendererState flags
gtk_cell_renderer_activate
gboolean
GtkCellRenderer *cell, GdkEvent *event, GtkWidget *widget, const gchar *path, const GdkRectangle *background_area, const GdkRectangle *cell_area, GtkCellRendererState flags
gtk_cell_renderer_start_editing
GtkCellEditable *
GtkCellRenderer *cell, GdkEvent *event, GtkWidget *widget, const gchar *path, const GdkRectangle *background_area, const GdkRectangle *cell_area, GtkCellRendererState flags
gtk_cell_renderer_set_fixed_size
void
GtkCellRenderer *cell, gint width, gint height
gtk_cell_renderer_get_fixed_size
void
GtkCellRenderer *cell, gint *width, gint *height
gtk_cell_renderer_set_alignment
void
GtkCellRenderer *cell, gfloat xalign, gfloat yalign
gtk_cell_renderer_get_alignment
void
GtkCellRenderer *cell, gfloat *xalign, gfloat *yalign
gtk_cell_renderer_set_padding
void
GtkCellRenderer *cell, gint xpad, gint ypad
gtk_cell_renderer_get_padding
void
GtkCellRenderer *cell, gint *xpad, gint *ypad
gtk_cell_renderer_set_visible
void
GtkCellRenderer *cell, gboolean visible
gtk_cell_renderer_get_visible
gboolean
GtkCellRenderer *cell
gtk_cell_renderer_set_sensitive
void
GtkCellRenderer *cell, gboolean sensitive
gtk_cell_renderer_get_sensitive
gboolean
GtkCellRenderer *cell
gtk_cell_renderer_is_activatable
gboolean
GtkCellRenderer *cell
gtk_cell_renderer_set_is_expander
void
GtkCellRenderer *cell, gboolean is_expander
gtk_cell_renderer_get_is_expander
gboolean
GtkCellRenderer *cell
gtk_cell_renderer_set_is_expanded
void
GtkCellRenderer *cell, gboolean is_expander
gtk_cell_renderer_get_is_expanded
gboolean
GtkCellRenderer *cell
gtk_cell_renderer_stop_editing
void
GtkCellRenderer *cell, gboolean canceled
gtk_cell_renderer_get_state
GtkStateFlags
GtkCellRenderer *cell, GtkWidget *widget, GtkCellRendererState cell_state
gtk_cell_renderer_class_set_accessible_type
void
GtkCellRendererClass *renderer_class, GType type
GtkCellRendererClassPrivate
GtkCellRendererPrivate
GTK_TYPE_CELL_RENDERER_ACCEL
#define GTK_TYPE_CELL_RENDERER_ACCEL (gtk_cell_renderer_accel_get_type ())
GTK_CELL_RENDERER_ACCEL
#define GTK_CELL_RENDERER_ACCEL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_CELL_RENDERER_ACCEL, GtkCellRendererAccel))
GTK_IS_CELL_RENDERER_ACCEL
#define GTK_IS_CELL_RENDERER_ACCEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_CELL_RENDERER_ACCEL))
GtkCellRendererAccelMode
typedef enum
{
GTK_CELL_RENDERER_ACCEL_MODE_GTK,
GTK_CELL_RENDERER_ACCEL_MODE_OTHER
} GtkCellRendererAccelMode;
gtk_cell_renderer_accel_get_type
GType
void
gtk_cell_renderer_accel_new
GtkCellRenderer *
void
GtkCellRendererAccel
GTK_TYPE_CELL_RENDERER_COMBO
#define GTK_TYPE_CELL_RENDERER_COMBO (gtk_cell_renderer_combo_get_type ())
GTK_CELL_RENDERER_COMBO
#define GTK_CELL_RENDERER_COMBO(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_CELL_RENDERER_COMBO, GtkCellRendererCombo))
GTK_IS_CELL_RENDERER_COMBO
#define GTK_IS_CELL_RENDERER_COMBO(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_CELL_RENDERER_COMBO))
gtk_cell_renderer_combo_get_type
GType
void
gtk_cell_renderer_combo_new
GtkCellRenderer *
void
GtkCellRendererCombo
GTK_TYPE_CELL_RENDERER_PIXBUF
#define GTK_TYPE_CELL_RENDERER_PIXBUF (gtk_cell_renderer_pixbuf_get_type ())
GTK_CELL_RENDERER_PIXBUF
#define GTK_CELL_RENDERER_PIXBUF(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_CELL_RENDERER_PIXBUF, GtkCellRendererPixbuf))
GTK_IS_CELL_RENDERER_PIXBUF
#define GTK_IS_CELL_RENDERER_PIXBUF(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_CELL_RENDERER_PIXBUF))
gtk_cell_renderer_pixbuf_get_type
GType
void
gtk_cell_renderer_pixbuf_new
GtkCellRenderer *
void
GtkCellRendererPixbuf
GTK_TYPE_CELL_RENDERER_PROGRESS
#define GTK_TYPE_CELL_RENDERER_PROGRESS (gtk_cell_renderer_progress_get_type ())
GTK_CELL_RENDERER_PROGRESS
#define GTK_CELL_RENDERER_PROGRESS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_CELL_RENDERER_PROGRESS, GtkCellRendererProgress))
GTK_IS_CELL_RENDERER_PROGRESS
#define GTK_IS_CELL_RENDERER_PROGRESS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_CELL_RENDERER_PROGRESS))
gtk_cell_renderer_progress_get_type
GType
void
gtk_cell_renderer_progress_new
GtkCellRenderer *
void
GtkCellRendererProgress
GTK_TYPE_CELL_RENDERER_SPIN
#define GTK_TYPE_CELL_RENDERER_SPIN (gtk_cell_renderer_spin_get_type ())
GTK_CELL_RENDERER_SPIN
#define GTK_CELL_RENDERER_SPIN(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_CELL_RENDERER_SPIN, GtkCellRendererSpin))
GTK_IS_CELL_RENDERER_SPIN
#define GTK_IS_CELL_RENDERER_SPIN(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_CELL_RENDERER_SPIN))
gtk_cell_renderer_spin_get_type
GType
void
gtk_cell_renderer_spin_new
GtkCellRenderer *
void
GtkCellRendererSpin
GTK_TYPE_CELL_RENDERER_SPINNER
#define GTK_TYPE_CELL_RENDERER_SPINNER (gtk_cell_renderer_spinner_get_type ())
GTK_CELL_RENDERER_SPINNER
#define GTK_CELL_RENDERER_SPINNER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_CELL_RENDERER_SPINNER, GtkCellRendererSpinner))
GTK_IS_CELL_RENDERER_SPINNER
#define GTK_IS_CELL_RENDERER_SPINNER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_CELL_RENDERER_SPINNER))
gtk_cell_renderer_spinner_get_type
GType
void
gtk_cell_renderer_spinner_new
GtkCellRenderer *
void
GtkCellRendererSpinner
GTK_TYPE_CELL_RENDERER_TEXT
#define GTK_TYPE_CELL_RENDERER_TEXT (gtk_cell_renderer_text_get_type ())
GTK_CELL_RENDERER_TEXT
#define GTK_CELL_RENDERER_TEXT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_CELL_RENDERER_TEXT, GtkCellRendererText))
GTK_CELL_RENDERER_TEXT_CLASS
#define GTK_CELL_RENDERER_TEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_CELL_RENDERER_TEXT, GtkCellRendererTextClass))
GTK_IS_CELL_RENDERER_TEXT
#define GTK_IS_CELL_RENDERER_TEXT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_CELL_RENDERER_TEXT))
GTK_IS_CELL_RENDERER_TEXT_CLASS
#define GTK_IS_CELL_RENDERER_TEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_CELL_RENDERER_TEXT))
GTK_CELL_RENDERER_TEXT_GET_CLASS
#define GTK_CELL_RENDERER_TEXT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_CELL_RENDERER_TEXT, GtkCellRendererTextClass))
GtkCellRendererText
struct _GtkCellRendererText
{
GtkCellRenderer parent;
};
GtkCellRendererTextClass
struct _GtkCellRendererTextClass
{
GtkCellRendererClass parent_class;
void (* edited) (GtkCellRendererText *cell_renderer_text,
const gchar *path,
const gchar *new_text);
/*< private >*/
gpointer padding[8];
};
gtk_cell_renderer_text_get_type
GType
void
gtk_cell_renderer_text_new
GtkCellRenderer *
void
gtk_cell_renderer_text_set_fixed_height_from_font
void
GtkCellRendererText *renderer, gint number_of_rows
GTK_TYPE_CELL_RENDERER_TOGGLE
#define GTK_TYPE_CELL_RENDERER_TOGGLE (gtk_cell_renderer_toggle_get_type ())
GTK_CELL_RENDERER_TOGGLE
#define GTK_CELL_RENDERER_TOGGLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_CELL_RENDERER_TOGGLE, GtkCellRendererToggle))
GTK_IS_CELL_RENDERER_TOGGLE
#define GTK_IS_CELL_RENDERER_TOGGLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_CELL_RENDERER_TOGGLE))
gtk_cell_renderer_toggle_get_type
GType
void
gtk_cell_renderer_toggle_new
GtkCellRenderer *
void
gtk_cell_renderer_toggle_get_radio
gboolean
GtkCellRendererToggle *toggle
gtk_cell_renderer_toggle_set_radio
void
GtkCellRendererToggle *toggle, gboolean radio
gtk_cell_renderer_toggle_get_active
gboolean
GtkCellRendererToggle *toggle
gtk_cell_renderer_toggle_set_active
void
GtkCellRendererToggle *toggle, gboolean setting
gtk_cell_renderer_toggle_get_activatable
gboolean
GtkCellRendererToggle *toggle
gtk_cell_renderer_toggle_set_activatable
void
GtkCellRendererToggle *toggle, gboolean setting
GtkCellRendererToggle
GTK_TYPE_CELL_VIEW
#define GTK_TYPE_CELL_VIEW (gtk_cell_view_get_type ())
GTK_CELL_VIEW
#define GTK_CELL_VIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_CELL_VIEW, GtkCellView))
GTK_IS_CELL_VIEW
#define GTK_IS_CELL_VIEW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_CELL_VIEW))
gtk_cell_view_get_type
GType
void
gtk_cell_view_new
GtkWidget *
void
gtk_cell_view_new_with_context
GtkWidget *
GtkCellArea *area, GtkCellAreaContext *context
gtk_cell_view_new_with_text
GtkWidget *
const gchar *text
gtk_cell_view_new_with_markup
GtkWidget *
const gchar *markup
gtk_cell_view_new_with_texture
GtkWidget *
GdkTexture *texture
gtk_cell_view_set_model
void
GtkCellView *cell_view, GtkTreeModel *model
gtk_cell_view_get_model
GtkTreeModel *
GtkCellView *cell_view
gtk_cell_view_set_displayed_row
void
GtkCellView *cell_view, GtkTreePath *path
gtk_cell_view_get_displayed_row
GtkTreePath *
GtkCellView *cell_view
gtk_cell_view_get_draw_sensitive
gboolean
GtkCellView *cell_view
gtk_cell_view_set_draw_sensitive
void
GtkCellView *cell_view, gboolean draw_sensitive
gtk_cell_view_get_fit_model
gboolean
GtkCellView *cell_view
gtk_cell_view_set_fit_model
void
GtkCellView *cell_view, gboolean fit_model
GtkCellView
GTK_TYPE_CENTER_BOX
#define GTK_TYPE_CENTER_BOX (gtk_center_box_get_type ())
GTK_CENTER_BOX
#define GTK_CENTER_BOX(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_CENTER_BOX, GtkCenterBox))
GTK_CENTER_BOX_CLASS
#define GTK_CENTER_BOX_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_CENTER_BOX, GtkCenterBoxClass))
GTK_IS_CENTER_BOX
#define GTK_IS_CENTER_BOX(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_CENTER_BOX))
GTK_IS_CENTER_BOX_CLASS
#define GTK_IS_CENTER_BOX_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_CENTER_BOX))
GTK_CENTER_BOX_GET_CLASS
#define GTK_CENTER_BOX_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_CENTER_BOX, GtkCenterBoxClass))
gtk_center_box_get_type
GType
void
gtk_center_box_new
GtkWidget *
void
gtk_center_box_set_start_widget
void
GtkCenterBox *self, GtkWidget *child
gtk_center_box_set_center_widget
void
GtkCenterBox *self, GtkWidget *child
gtk_center_box_set_end_widget
void
GtkCenterBox *self, GtkWidget *child
gtk_center_box_get_start_widget
GtkWidget *
GtkCenterBox *self
gtk_center_box_get_center_widget
GtkWidget *
GtkCenterBox *self
gtk_center_box_get_end_widget
GtkWidget *
GtkCenterBox *self
gtk_center_box_set_baseline_position
void
GtkCenterBox *self, GtkBaselinePosition position
gtk_center_box_get_baseline_position
GtkBaselinePosition
GtkCenterBox *self
GtkCenterBox
GtkCenterBoxClass
GTK_TYPE_CENTER_LAYOUT
#define GTK_TYPE_CENTER_LAYOUT (gtk_center_layout_get_type ())
gtk_center_layout_new
GtkLayoutManager *
void
gtk_center_layout_set_orientation
void
GtkCenterLayout *self, GtkOrientation orientation
gtk_center_layout_get_orientation
GtkOrientation
GtkCenterLayout *self
gtk_center_layout_set_baseline_position
void
GtkCenterLayout *self, GtkBaselinePosition baseline_position
gtk_center_layout_get_baseline_position
GtkBaselinePosition
GtkCenterLayout *self
gtk_center_layout_set_start_widget
void
GtkCenterLayout *self, GtkWidget *widget
gtk_center_layout_get_start_widget
GtkWidget *
GtkCenterLayout *self
gtk_center_layout_set_center_widget
void
GtkCenterLayout *self, GtkWidget *widget
gtk_center_layout_get_center_widget
GtkWidget *
GtkCenterLayout *self
gtk_center_layout_set_end_widget
void
GtkCenterLayout *self, GtkWidget *widget
gtk_center_layout_get_end_widget
GtkWidget *
GtkCenterLayout *self
GtkCenterLayout
GTK_TYPE_CHECK_BUTTON
#define GTK_TYPE_CHECK_BUTTON (gtk_check_button_get_type ())
GTK_CHECK_BUTTON
#define GTK_CHECK_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_CHECK_BUTTON, GtkCheckButton))
GTK_CHECK_BUTTON_CLASS
#define GTK_CHECK_BUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_CHECK_BUTTON, GtkCheckButtonClass))
GTK_IS_CHECK_BUTTON
#define GTK_IS_CHECK_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_CHECK_BUTTON))
GTK_IS_CHECK_BUTTON_CLASS
#define GTK_IS_CHECK_BUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_CHECK_BUTTON))
GTK_CHECK_BUTTON_GET_CLASS
#define GTK_CHECK_BUTTON_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_CHECK_BUTTON, GtkCheckButtonClass))
GtkCheckButton
struct _GtkCheckButton
{
GtkToggleButton toggle_button;
};
GtkCheckButtonClass
struct _GtkCheckButtonClass
{
GtkToggleButtonClass parent_class;
/*< private >*/
gpointer padding[8];
};
gtk_check_button_get_type
GType
void
gtk_check_button_new
GtkWidget *
void
gtk_check_button_new_with_label
GtkWidget *
const gchar *label
gtk_check_button_new_with_mnemonic
GtkWidget *
const gchar *label
gtk_check_button_set_draw_indicator
void
GtkCheckButton *check_button, gboolean draw_indicator
gtk_check_button_get_draw_indicator
gboolean
GtkCheckButton *check_button
gtk_check_button_set_inconsistent
void
GtkCheckButton *check_button, gboolean inconsistent
gtk_check_button_get_inconsistent
gboolean
GtkCheckButton *check_button
GTK_TYPE_COLOR_BUTTON
#define GTK_TYPE_COLOR_BUTTON (gtk_color_button_get_type ())
GTK_COLOR_BUTTON
#define GTK_COLOR_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_COLOR_BUTTON, GtkColorButton))
GTK_IS_COLOR_BUTTON
#define GTK_IS_COLOR_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_COLOR_BUTTON))
gtk_color_button_get_type
GType
void
gtk_color_button_new
GtkWidget *
void
gtk_color_button_new_with_rgba
GtkWidget *
const GdkRGBA *rgba
gtk_color_button_set_title
void
GtkColorButton *button, const gchar *title
gtk_color_button_get_title
const gchar *
GtkColorButton *button
GtkColorButton
GTK_TYPE_COLOR_CHOOSER
#define GTK_TYPE_COLOR_CHOOSER (gtk_color_chooser_get_type ())
GTK_COLOR_CHOOSER
#define GTK_COLOR_CHOOSER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_COLOR_CHOOSER, GtkColorChooser))
GTK_IS_COLOR_CHOOSER
#define GTK_IS_COLOR_CHOOSER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_COLOR_CHOOSER))
GTK_COLOR_CHOOSER_GET_IFACE
#define GTK_COLOR_CHOOSER_GET_IFACE(inst) (G_TYPE_INSTANCE_GET_INTERFACE ((inst), GTK_TYPE_COLOR_CHOOSER, GtkColorChooserInterface))
GtkColorChooserInterface
struct _GtkColorChooserInterface
{
GTypeInterface base_interface;
/* Methods */
void (* get_rgba) (GtkColorChooser *chooser,
GdkRGBA *color);
void (* set_rgba) (GtkColorChooser *chooser,
const GdkRGBA *color);
void (* add_palette) (GtkColorChooser *chooser,
GtkOrientation orientation,
gint colors_per_line,
gint n_colors,
GdkRGBA *colors);
/* Signals */
void (* color_activated) (GtkColorChooser *chooser,
const GdkRGBA *color);
/* Padding */
gpointer padding[12];
};
gtk_color_chooser_get_type
GType
void
gtk_color_chooser_get_rgba
void
GtkColorChooser *chooser, GdkRGBA *color
gtk_color_chooser_set_rgba
void
GtkColorChooser *chooser, const GdkRGBA *color
gtk_color_chooser_get_use_alpha
gboolean
GtkColorChooser *chooser
gtk_color_chooser_set_use_alpha
void
GtkColorChooser *chooser, gboolean use_alpha
gtk_color_chooser_add_palette
void
GtkColorChooser *chooser, GtkOrientation orientation, gint colors_per_line, gint n_colors, GdkRGBA *colors
GtkColorChooser
GTK_TYPE_COLOR_CHOOSER_DIALOG
#define GTK_TYPE_COLOR_CHOOSER_DIALOG (gtk_color_chooser_dialog_get_type ())
GTK_COLOR_CHOOSER_DIALOG
#define GTK_COLOR_CHOOSER_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_COLOR_CHOOSER_DIALOG, GtkColorChooserDialog))
GTK_IS_COLOR_CHOOSER_DIALOG
#define GTK_IS_COLOR_CHOOSER_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_COLOR_CHOOSER_DIALOG))
gtk_color_chooser_dialog_get_type
GType
void
gtk_color_chooser_dialog_new
GtkWidget *
const gchar *title, GtkWindow *parent
GtkColorChooserDialog
GTK_TYPE_COLOR_CHOOSER_WIDGET
#define GTK_TYPE_COLOR_CHOOSER_WIDGET (gtk_color_chooser_widget_get_type ())
GTK_COLOR_CHOOSER_WIDGET
#define GTK_COLOR_CHOOSER_WIDGET(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_COLOR_CHOOSER_WIDGET, GtkColorChooserWidget))
GTK_IS_COLOR_CHOOSER_WIDGET
#define GTK_IS_COLOR_CHOOSER_WIDGET(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_COLOR_CHOOSER_WIDGET))
gtk_color_chooser_widget_get_type
GType
void
gtk_color_chooser_widget_new
GtkWidget *
void
GtkColorChooserWidget
GTK_TYPE_COLOR_PICKER_KWIN
#define GTK_TYPE_COLOR_PICKER_KWIN gtk_color_picker_kwin_get_type ()
gtk_color_picker_kwin_new
GtkColorPicker *
void
GtkColorPickerKwin
GTK_TYPE_COLOR_PICKER_PORTAL
#define GTK_TYPE_COLOR_PICKER_PORTAL gtk_color_picker_portal_get_type ()
gtk_color_picker_portal_new
GtkColorPicker *
void
GtkColorPickerPortal
GTK_TYPE_COLOR_PICKER
#define GTK_TYPE_COLOR_PICKER (gtk_color_picker_get_type ())
GTK_COLOR_PICKER
#define GTK_COLOR_PICKER(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GTK_TYPE_COLOR_PICKER, GtkColorPicker))
GTK_IS_COLOR_PICKER
#define GTK_IS_COLOR_PICKER(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GTK_TYPE_COLOR_PICKER))
GTK_COLOR_PICKER_GET_INTERFACE
#define GTK_COLOR_PICKER_GET_INTERFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), GTK_TYPE_COLOR_PICKER, GtkColorPickerInterface))
GtkColorPickerInterface
struct _GtkColorPickerInterface {
GTypeInterface g_iface;
void (* pick) (GtkColorPicker *picker,
GAsyncReadyCallback callback,
gpointer user_data);
GdkRGBA * (* pick_finish) (GtkColorPicker *picker,
GAsyncResult *res,
GError **error);
};
gtk_color_picker_get_type
GType
void
gtk_color_picker_new
GtkColorPicker *
void
gtk_color_picker_pick
void
GtkColorPicker *picker, GAsyncReadyCallback callback, gpointer user_data
gtk_color_picker_pick_finish
GdkRGBA *
GtkColorPicker *picker, GAsyncResult *res, GError **error
GtkColorPicker
GTK_TYPE_COLOR_PICKER_SHELL
#define GTK_TYPE_COLOR_PICKER_SHELL gtk_color_picker_shell_get_type ()
gtk_color_picker_shell_new
GtkColorPicker *
void
GtkColorPickerShell
gtk_hsv_to_rgb
void
float h, float s, float v, float *r, float *g, float *b
gtk_rgb_to_hsv
void
float r, float g, float b, float *h, float *s, float *v
GTK_TYPE_COMBO_BOX
#define GTK_TYPE_COMBO_BOX (gtk_combo_box_get_type ())
GTK_COMBO_BOX
#define GTK_COMBO_BOX(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_COMBO_BOX, GtkComboBox))
GTK_COMBO_BOX_CLASS
#define GTK_COMBO_BOX_CLASS(vtable) (G_TYPE_CHECK_CLASS_CAST ((vtable), GTK_TYPE_COMBO_BOX, GtkComboBoxClass))
GTK_IS_COMBO_BOX
#define GTK_IS_COMBO_BOX(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_COMBO_BOX))
GTK_IS_COMBO_BOX_CLASS
#define GTK_IS_COMBO_BOX_CLASS(vtable) (G_TYPE_CHECK_CLASS_TYPE ((vtable), GTK_TYPE_COMBO_BOX))
GTK_COMBO_BOX_GET_CLASS
#define GTK_COMBO_BOX_GET_CLASS(inst) (G_TYPE_INSTANCE_GET_CLASS ((inst), GTK_TYPE_COMBO_BOX, GtkComboBoxClass))
GtkComboBox
struct _GtkComboBox
{
GtkBin parent_instance;
};
GtkComboBoxClass
struct _GtkComboBoxClass
{
GtkBinClass parent_class;
/*< public >*/
/* signals */
void (* changed) (GtkComboBox *combo_box);
gchar *(* format_entry_text) (GtkComboBox *combo_box,
const gchar *path);
/*< private >*/
gpointer padding[8];
};
gtk_combo_box_get_type
GType
void
gtk_combo_box_new
GtkWidget *
void
gtk_combo_box_new_with_entry
GtkWidget *
void
gtk_combo_box_new_with_model
GtkWidget *
GtkTreeModel *model
gtk_combo_box_new_with_model_and_entry
GtkWidget *
GtkTreeModel *model
gtk_combo_box_get_active
gint
GtkComboBox *combo_box
gtk_combo_box_set_active
void
GtkComboBox *combo_box, gint index_
gtk_combo_box_get_active_iter
gboolean
GtkComboBox *combo_box, GtkTreeIter *iter
gtk_combo_box_set_active_iter
void
GtkComboBox *combo_box, GtkTreeIter *iter
gtk_combo_box_set_model
void
GtkComboBox *combo_box, GtkTreeModel *model
gtk_combo_box_get_model
GtkTreeModel *
GtkComboBox *combo_box
gtk_combo_box_get_row_separator_func
GtkTreeViewRowSeparatorFunc
GtkComboBox *combo_box
gtk_combo_box_set_row_separator_func
void
GtkComboBox *combo_box, GtkTreeViewRowSeparatorFunc func, gpointer data, GDestroyNotify destroy
gtk_combo_box_set_button_sensitivity
void
GtkComboBox *combo_box, GtkSensitivityType sensitivity
gtk_combo_box_get_button_sensitivity
GtkSensitivityType
GtkComboBox *combo_box
gtk_combo_box_get_has_entry
gboolean
GtkComboBox *combo_box
gtk_combo_box_set_entry_text_column
void
GtkComboBox *combo_box, gint text_column
gtk_combo_box_get_entry_text_column
gint
GtkComboBox *combo_box
gtk_combo_box_set_popup_fixed_width
void
GtkComboBox *combo_box, gboolean fixed
gtk_combo_box_get_popup_fixed_width
gboolean
GtkComboBox *combo_box
gtk_combo_box_popup
void
GtkComboBox *combo_box
gtk_combo_box_popup_for_device
void
GtkComboBox *combo_box, GdkDevice *device
gtk_combo_box_popdown
void
GtkComboBox *combo_box
gtk_combo_box_get_popup_accessible
AtkObject *
GtkComboBox *combo_box
gtk_combo_box_get_id_column
gint
GtkComboBox *combo_box
gtk_combo_box_set_id_column
void
GtkComboBox *combo_box, gint id_column
gtk_combo_box_get_active_id
const gchar *
GtkComboBox *combo_box
gtk_combo_box_set_active_id
gboolean
GtkComboBox *combo_box, const gchar *active_id
GTK_TYPE_COMBO_BOX_TEXT
#define GTK_TYPE_COMBO_BOX_TEXT (gtk_combo_box_text_get_type ())
GTK_COMBO_BOX_TEXT
#define GTK_COMBO_BOX_TEXT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_COMBO_BOX_TEXT, GtkComboBoxText))
GTK_IS_COMBO_BOX_TEXT
#define GTK_IS_COMBO_BOX_TEXT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_COMBO_BOX_TEXT))
gtk_combo_box_text_get_type
GType
void
gtk_combo_box_text_new
GtkWidget *
void
gtk_combo_box_text_new_with_entry
GtkWidget *
void
gtk_combo_box_text_append_text
void
GtkComboBoxText *combo_box, const gchar *text
gtk_combo_box_text_insert_text
void
GtkComboBoxText *combo_box, gint position, const gchar *text
gtk_combo_box_text_prepend_text
void
GtkComboBoxText *combo_box, const gchar *text
gtk_combo_box_text_remove
void
GtkComboBoxText *combo_box, gint position
gtk_combo_box_text_remove_all
void
GtkComboBoxText *combo_box
gtk_combo_box_text_get_active_text
gchar *
GtkComboBoxText *combo_box
gtk_combo_box_text_insert
void
GtkComboBoxText *combo_box, gint position, const gchar *id, const gchar *text
gtk_combo_box_text_append
void
GtkComboBoxText *combo_box, const gchar *id, const gchar *text
gtk_combo_box_text_prepend
void
GtkComboBoxText *combo_box, const gchar *id, const gchar *text
GtkComboBoxText
GtkComposeTable
struct _GtkComposeTable
{
guint16 *data;
gint max_seq_len;
gint n_seqs;
guint32 id;
};
GtkComposeTableCompact
struct _GtkComposeTableCompact
{
const guint16 *data;
gint max_seq_len;
gint n_index_size;
gint n_index_stride;
};
gtk_compose_table_new_with_file
GtkComposeTable *
const gchar *compose_file
gtk_compose_table_list_add_array
GSList *
GSList *compose_tables, const guint16 *data, gint max_seq_len, gint n_seqs
gtk_compose_table_list_add_file
GSList *
GSList *compose_tables, const gchar *compose_file
GTK_TYPE_CONSTRAINT_TARGET
#define GTK_TYPE_CONSTRAINT_TARGET (gtk_constraint_target_get_type ())
GTK_TYPE_CONSTRAINT
#define GTK_TYPE_CONSTRAINT (gtk_constraint_get_type ())
gtk_constraint_new
GtkConstraint *
gpointer target, GtkConstraintAttribute target_attribute, GtkConstraintRelation relation, gpointer source, GtkConstraintAttribute source_attribute, double multiplier, double constant, int strength
gtk_constraint_new_constant
GtkConstraint *
gpointer target, GtkConstraintAttribute target_attribute, GtkConstraintRelation relation, double constant, int strength
gtk_constraint_get_target
GtkConstraintTarget *
GtkConstraint *constraint
gtk_constraint_get_target_attribute
GtkConstraintAttribute
GtkConstraint *constraint
gtk_constraint_get_source
GtkConstraintTarget *
GtkConstraint *constraint
gtk_constraint_get_source_attribute
GtkConstraintAttribute
GtkConstraint *constraint
gtk_constraint_get_relation
GtkConstraintRelation
GtkConstraint *constraint
gtk_constraint_get_multiplier
double
GtkConstraint *constraint
gtk_constraint_get_constant
double
GtkConstraint *constraint
gtk_constraint_get_strength
int
GtkConstraint *constraint
gtk_constraint_is_required
gboolean
GtkConstraint *constraint
gtk_constraint_is_attached
gboolean
GtkConstraint *constraint
gtk_constraint_is_constant
gboolean
GtkConstraint *constraint
GtkConstraint
GtkConstraintTarget
GtkConstraintTargetInterface
GTK_TYPE_CONSTRAINT_GUIDE
#define GTK_TYPE_CONSTRAINT_GUIDE (gtk_constraint_guide_get_type ())
gtk_constraint_guide_new
GtkConstraintGuide *
void
gtk_constraint_guide_set_min_size
void
GtkConstraintGuide *guide, int width, int height
gtk_constraint_guide_get_min_size
void
GtkConstraintGuide *guide, int *width, int *height
gtk_constraint_guide_set_nat_size
void
GtkConstraintGuide *guide, int width, int height
gtk_constraint_guide_get_nat_size
void
GtkConstraintGuide *guide, int *width, int *height
gtk_constraint_guide_set_max_size
void
GtkConstraintGuide *guide, int width, int height
gtk_constraint_guide_get_max_size
void
GtkConstraintGuide *guide, int *width, int *height
gtk_constraint_guide_get_strength
GtkConstraintStrength
GtkConstraintGuide *guide
gtk_constraint_guide_set_strength
void
GtkConstraintGuide *guide, GtkConstraintStrength strength
gtk_constraint_guide_set_name
void
GtkConstraintGuide *guide, const char *name
gtk_constraint_guide_get_name
const char *
GtkConstraintGuide *guide
GtkConstraintGuide
GTK_TYPE_CONSTRAINT_LAYOUT
#define GTK_TYPE_CONSTRAINT_LAYOUT (gtk_constraint_layout_get_type ())
GTK_TYPE_CONSTRAINT_LAYOUT_CHILD
#define GTK_TYPE_CONSTRAINT_LAYOUT_CHILD (gtk_constraint_layout_child_get_type ())
GTK_CONSTRAINT_VFL_PARSER_ERROR
#define GTK_CONSTRAINT_VFL_PARSER_ERROR (gtk_constraint_vfl_parser_error_quark ())
gtk_constraint_vfl_parser_error_quark
GQuark
void
gtk_constraint_layout_new
GtkLayoutManager *
void
gtk_constraint_layout_add_constraint
void
GtkConstraintLayout *layout, GtkConstraint *constraint
gtk_constraint_layout_remove_constraint
void
GtkConstraintLayout *layout, GtkConstraint *constraint
gtk_constraint_layout_add_guide
void
GtkConstraintLayout *layout, GtkConstraintGuide *guide
gtk_constraint_layout_remove_guide
void
GtkConstraintLayout *layout, GtkConstraintGuide *guide
gtk_constraint_layout_remove_all_constraints
void
GtkConstraintLayout *layout
gtk_constraint_layout_add_constraints_from_description
GList *
GtkConstraintLayout *layout, const char * const lines[], gsize n_lines, int hspacing, int vspacing, GError **error, const char *first_view, ...
gtk_constraint_layout_add_constraints_from_descriptionv
GList *
GtkConstraintLayout *layout, const char * const lines[], gsize n_lines, int hspacing, int vspacing, GHashTable *views, GError **error
gtk_constraint_layout_observe_constraints
GListModel *
GtkConstraintLayout *layout
gtk_constraint_layout_observe_guides
GListModel *
GtkConstraintLayout *layout
GtkConstraintLayout
GtkConstraintLayoutChild
GTK_TYPE_CONTAINER
#define GTK_TYPE_CONTAINER (gtk_container_get_type ())
GTK_CONTAINER
#define GTK_CONTAINER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_CONTAINER, GtkContainer))
GTK_CONTAINER_CLASS
#define GTK_CONTAINER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_CONTAINER, GtkContainerClass))
GTK_IS_CONTAINER
#define GTK_IS_CONTAINER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_CONTAINER))
GTK_IS_CONTAINER_CLASS
#define GTK_IS_CONTAINER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_CONTAINER))
GTK_CONTAINER_GET_CLASS
#define GTK_CONTAINER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_CONTAINER, GtkContainerClass))
GtkContainer
struct _GtkContainer
{
GtkWidget widget;
};
GtkContainerClass
struct _GtkContainerClass
{
GtkWidgetClass parent_class;
/*< public >*/
void (*add) (GtkContainer *container,
GtkWidget *widget);
void (*remove) (GtkContainer *container,
GtkWidget *widget);
void (*forall) (GtkContainer *container,
GtkCallback callback,
gpointer callback_data);
void (*set_focus_child) (GtkContainer *container,
GtkWidget *child);
GType (*child_type) (GtkContainer *container);
/*< private >*/
gpointer padding[8];
};
gtk_container_get_type
GType
void
gtk_container_add
void
GtkContainer *container, GtkWidget *widget
gtk_container_remove
void
GtkContainer *container, GtkWidget *widget
gtk_container_foreach
void
GtkContainer *container, GtkCallback callback, gpointer callback_data
gtk_container_get_children
GList *
GtkContainer *container
gtk_container_set_focus_vadjustment
void
GtkContainer *container, GtkAdjustment *adjustment
gtk_container_get_focus_vadjustment
GtkAdjustment *
GtkContainer *container
gtk_container_set_focus_hadjustment
void
GtkContainer *container, GtkAdjustment *adjustment
gtk_container_get_focus_hadjustment
GtkAdjustment *
GtkContainer *container
gtk_container_child_type
GType
GtkContainer *container
gtk_container_forall
void
GtkContainer *container, GtkCallback callback, gpointer callback_data
GtkContainerPrivate
GTK_COUNTING_BLOOM_FILTER_BITS
#define GTK_COUNTING_BLOOM_FILTER_BITS (12)
GTK_COUNTING_BLOOM_FILTER_SIZE
#define GTK_COUNTING_BLOOM_FILTER_SIZE (1 << GTK_COUNTING_BLOOM_FILTER_BITS)
GtkCountingBloomFilter
struct _GtkCountingBloomFilter
{
guint8 buckets[GTK_COUNTING_BLOOM_FILTER_SIZE];
};
gtk_counting_bloom_filter_add
void
GtkCountingBloomFilter *self, guint16 hash static inline void gtk_counting_bloom_filter_remove (GtkCountingBloomFilter *self, guint16 hash static inline gboolean gtk_counting_bloom_filter_may_contain (const GtkCountingBloomFilter *self, guint16 hash /* * GTK_COUNTING_BLOOM_FILTER_INIT: * * Initialize the bloom filter. As bloom filters are always stack-allocated, * initialization should happen when defining them, like: * ```c * GtkCountingBloomFilter filter = GTK_COUNTING_BLOOM_FILTER_INIT; * ``` * * The filter does not need to be freed. */ #define GTK_COUNTING_BLOOM_FILTER_INIT;
gtk_counting_bloom_filter_remove
void
GtkCountingBloomFilter *self, guint16 hash
gtk_counting_bloom_filter_may_contain
gboolean
const GtkCountingBloomFilter *self, guint16 hash
gtk_css_boxes_init
void
GtkCssBoxes *boxes, GtkWidget *widget
gtk_css_boxes_init_content_box
void
GtkCssBoxes *boxes, GtkCssStyle *style, double x, double y, double width, double height
gtk_css_boxes_init_border_box
void
GtkCssBoxes *boxes, GtkCssStyle *style, double x, double y, double width, double height
gtk_css_boxes_rect_grow
void
GskRoundedRect *dest, GskRoundedRect *src, GtkCssValue *top, GtkCssValue *right, GtkCssValue *bottom, GtkCssValue *left
gtk_css_boxes_rect_shrink
void
GskRoundedRect *dest, GskRoundedRect *src, GtkCssValue *top_value, GtkCssValue *right_value, GtkCssValue *bottom_value, GtkCssValue *left_value
gtk_css_boxes_compute_padding_rect
void
GtkCssBoxes *boxes static inline const graphene_rect_t * gtk_css_boxes_get_rect (GtkCssBoxes *boxes, GtkCssArea area
gtk_css_boxes_compute_border_rect
void
GtkCssBoxes *boxes
gtk_css_boxes_compute_content_rect
void
GtkCssBoxes *boxes
gtk_css_boxes_compute_margin_rect
void
GtkCssBoxes *boxes
gtk_css_boxes_compute_outline_rect
void
GtkCssBoxes *boxes
gtk_css_boxes_get_margin_rect
const graphene_rect_t *
GtkCssBoxes *boxes
gtk_css_boxes_get_border_rect
const graphene_rect_t *
GtkCssBoxes *boxes
gtk_css_boxes_get_padding_rect
const graphene_rect_t *
GtkCssBoxes *boxes
gtk_css_boxes_get_content_rect
const graphene_rect_t *
GtkCssBoxes *boxes
gtk_css_boxes_get_outline_rect
const graphene_rect_t *
GtkCssBoxes *boxes
gtk_css_boxes_clamp_border_radius
void
GskRoundedRect *box
gtk_css_boxes_apply_border_radius
void
GskRoundedRect *box, const GtkCssValue *top_left, const GtkCssValue *top_right, const GtkCssValue *bottom_right, const GtkCssValue *bottom_left
gtk_css_boxes_shrink_border_radius
void
graphene_size_t *dest, const graphene_size_t *src, double width, double height
gtk_css_boxes_shrink_corners
void
GskRoundedRect *dest, const GskRoundedRect *src
gtk_css_boxes_compute_border_box
void
GtkCssBoxes *boxes
gtk_css_boxes_compute_padding_box
void
GtkCssBoxes *boxes
gtk_css_boxes_compute_content_box
void
GtkCssBoxes *boxes
gtk_css_boxes_compute_outline_box
void
GtkCssBoxes *boxes
gtk_css_boxes_get_box
const GskRoundedRect *
GtkCssBoxes *boxes, GtkCssArea area
gtk_css_boxes_get_border_box
const GskRoundedRect *
GtkCssBoxes *boxes
gtk_css_boxes_get_padding_box
const GskRoundedRect *
GtkCssBoxes *boxes
gtk_css_boxes_get_content_box
const GskRoundedRect *
GtkCssBoxes *boxes
gtk_css_boxes_get_outline_box
const GskRoundedRect *
GtkCssBoxes *boxes
GTK_TYPE_CSS_PROVIDER
#define GTK_TYPE_CSS_PROVIDER (gtk_css_provider_get_type ())
GTK_CSS_PROVIDER
#define GTK_CSS_PROVIDER(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GTK_TYPE_CSS_PROVIDER, GtkCssProvider))
GTK_IS_CSS_PROVIDER
#define GTK_IS_CSS_PROVIDER(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GTK_TYPE_CSS_PROVIDER))
GtkCssProvider
struct _GtkCssProvider
{
GObject parent_instance;
};
gtk_css_provider_get_type
GType
void
gtk_css_provider_new
GtkCssProvider *
void
gtk_css_provider_to_string
char *
GtkCssProvider *provider
gtk_css_provider_load_from_data
void
GtkCssProvider *css_provider, const gchar *data, gssize length
gtk_css_provider_load_from_file
void
GtkCssProvider *css_provider, GFile *file
gtk_css_provider_load_from_path
void
GtkCssProvider *css_provider, const gchar *path
gtk_css_provider_load_from_resource
void
GtkCssProvider *css_provider, const gchar *resource_path
gtk_css_provider_load_named
void
GtkCssProvider *provider, const char *name, const char *variant
GtkCssProviderClass
GtkCssProviderPrivate
GTK_TYPE_CUSTOM_LAYOUT
#define GTK_TYPE_CUSTOM_LAYOUT (gtk_custom_layout_get_type ())
GtkCustomRequestModeFunc
GtkSizeRequestMode
GtkWidget *widget
GtkCustomMeasureFunc
void
GtkWidget *widget, GtkOrientation orientation, int for_size, int *minimum, int *natural, int *minimum_baseline, int *natural_baseline
GtkCustomAllocateFunc
void
GtkWidget *widget, int width, int height, int baseline
gtk_custom_layout_new
GtkLayoutManager *
GtkCustomRequestModeFunc request_mode, GtkCustomMeasureFunc measure, GtkCustomAllocateFunc allocate
GtkCustomLayout
GTK_TYPE_CUSTOM_PAPER_UNIX_DIALOG
#define GTK_TYPE_CUSTOM_PAPER_UNIX_DIALOG (gtk_custom_paper_unix_dialog_get_type ())
GTK_CUSTOM_PAPER_UNIX_DIALOG
#define GTK_CUSTOM_PAPER_UNIX_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_CUSTOM_PAPER_UNIX_DIALOG, GtkCustomPaperUnixDialog))
GTK_CUSTOM_PAPER_UNIX_DIALOG_CLASS
#define GTK_CUSTOM_PAPER_UNIX_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_CUSTOM_PAPER_UNIX_DIALOG, GtkCustomPaperUnixDialogClass))
GTK_IS_CUSTOM_PAPER_UNIX_DIALOG
#define GTK_IS_CUSTOM_PAPER_UNIX_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_CUSTOM_PAPER_UNIX_DIALOG))
GTK_IS_CUSTOM_PAPER_UNIX_DIALOG_CLASS
#define GTK_IS_CUSTOM_PAPER_UNIX_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_CUSTOM_PAPER_UNIX_DIALOG))
GTK_CUSTOM_PAPER_UNIX_DIALOG_GET_CLASS
#define GTK_CUSTOM_PAPER_UNIX_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_CUSTOM_PAPER_UNIX_DIALOG, GtkCustomPaperUnixDialogClass))
GtkCustomPaperUnixDialog
struct _GtkCustomPaperUnixDialog
{
GtkDialog parent_instance;
GtkCustomPaperUnixDialogPrivate *priv;
};
GtkCustomPaperUnixDialogClass
struct _GtkCustomPaperUnixDialogClass
{
GtkDialogClass parent_class;
/*< private >*/
/* Padding for future expansion */
void (*_gtk_reserved1) (void);
void (*_gtk_reserved2) (void);
void (*_gtk_reserved3) (void);
void (*_gtk_reserved4) (void);
};
gtk_custom_paper_unix_dialog_get_type
GType
void
GtkCustomPaperUnixDialogPrivate
GtkDebugFlag
typedef enum {
GTK_DEBUG_TEXT = 1 << 0,
GTK_DEBUG_TREE = 1 << 1,
GTK_DEBUG_KEYBINDINGS = 1 << 2,
GTK_DEBUG_MODULES = 1 << 3,
GTK_DEBUG_GEOMETRY = 1 << 4,
GTK_DEBUG_ICONTHEME = 1 << 5,
GTK_DEBUG_PRINTING = 1 << 6,
GTK_DEBUG_BUILDER = 1 << 7,
GTK_DEBUG_SIZE_REQUEST = 1 << 8,
GTK_DEBUG_NO_CSS_CACHE = 1 << 9,
GTK_DEBUG_BASELINES = 1 << 10,
GTK_DEBUG_INTERACTIVE = 1 << 11,
GTK_DEBUG_TOUCHSCREEN = 1 << 12,
GTK_DEBUG_ACTIONS = 1 << 13,
GTK_DEBUG_RESIZE = 1 << 14,
GTK_DEBUG_LAYOUT = 1 << 15,
GTK_DEBUG_SNAPSHOT = 1 << 16,
GTK_DEBUG_CONSTRAINTS = 1 << 17,
} GtkDebugFlag;
GTK_DEBUG_CHECK
#define GTK_DEBUG_CHECK(type) G_UNLIKELY (gtk_get_debug_flags () & GTK_DEBUG_##type)
GTK_NOTE
#define GTK_NOTE(type,action) G_STMT_START { \
if (GTK_DEBUG_CHECK (type)) \
{ action; }; } G_STMT_END
gtk_get_debug_flags
guint
void
gtk_set_debug_flags
void
guint flags
GtkDialogFlags
typedef enum
{
GTK_DIALOG_MODAL = 1 << 0,
GTK_DIALOG_DESTROY_WITH_PARENT = 1 << 1,
GTK_DIALOG_USE_HEADER_BAR = 1 << 2
} GtkDialogFlags;
GtkResponseType
typedef enum
{
GTK_RESPONSE_NONE = -1,
GTK_RESPONSE_REJECT = -2,
GTK_RESPONSE_ACCEPT = -3,
GTK_RESPONSE_DELETE_EVENT = -4,
GTK_RESPONSE_OK = -5,
GTK_RESPONSE_CANCEL = -6,
GTK_RESPONSE_CLOSE = -7,
GTK_RESPONSE_YES = -8,
GTK_RESPONSE_NO = -9,
GTK_RESPONSE_APPLY = -10,
GTK_RESPONSE_HELP = -11
} GtkResponseType;
GTK_TYPE_DIALOG
#define GTK_TYPE_DIALOG (gtk_dialog_get_type ())
GTK_DIALOG
#define GTK_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_DIALOG, GtkDialog))
GTK_DIALOG_CLASS
#define GTK_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_DIALOG, GtkDialogClass))
GTK_IS_DIALOG
#define GTK_IS_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_DIALOG))
GTK_IS_DIALOG_CLASS
#define GTK_IS_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_DIALOG))
GTK_DIALOG_GET_CLASS
#define GTK_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_DIALOG, GtkDialogClass))
GtkDialog
struct _GtkDialog
{
GtkWindow parent_instance;
};
GtkDialogClass
struct _GtkDialogClass
{
GtkWindowClass parent_class;
/*< public >*/
void (* response) (GtkDialog *dialog, gint response_id);
/* Keybinding signals */
void (* close) (GtkDialog *dialog);
/*< private >*/
gpointer padding[8];
};
gtk_dialog_get_type
GType
void
gtk_dialog_new
GtkWidget *
void
gtk_dialog_new_with_buttons
GtkWidget *
const gchar *title, GtkWindow *parent, GtkDialogFlags flags, const gchar *first_button_text, ...
gtk_dialog_add_action_widget
void
GtkDialog *dialog, GtkWidget *child, gint response_id
gtk_dialog_add_button
GtkWidget *
GtkDialog *dialog, const gchar *button_text, gint response_id
gtk_dialog_add_buttons
void
GtkDialog *dialog, const gchar *first_button_text, ...
gtk_dialog_set_response_sensitive
void
GtkDialog *dialog, gint response_id, gboolean setting
gtk_dialog_set_default_response
void
GtkDialog *dialog, gint response_id
gtk_dialog_get_widget_for_response
GtkWidget *
GtkDialog *dialog, gint response_id
gtk_dialog_get_response_for_widget
gint
GtkDialog *dialog, GtkWidget *widget
gtk_dialog_response
void
GtkDialog *dialog, gint response_id
gtk_dialog_run
gint
GtkDialog *dialog
gtk_dialog_get_content_area
GtkWidget *
GtkDialog *dialog
gtk_dialog_get_header_bar
GtkWidget *
GtkDialog *dialog
GTK_TYPE_DROP_TARGET
#define GTK_TYPE_DROP_TARGET (gtk_drop_target_get_type ())
GTK_DROP_TARGET
#define GTK_DROP_TARGET(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GTK_TYPE_DROP_TARGET, GtkDropTarget))
GTK_DROP_TARGET_CLASS
#define GTK_DROP_TARGET_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GTK_TYPE_DROP_TARGET, GtkDropTargetClass))
GTK_IS_DROP_TARGET
#define GTK_IS_DROP_TARGET(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GTK_TYPE_DROP_TARGET))
GTK_IS_DROP_TARGET_CLASS
#define GTK_IS_DROP_TARGET_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GTK_TYPE_DROP_TARGET))
GTK_DROP_TARGET_GET_CLASS
#define GTK_DROP_TARGET_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GTK_TYPE_DROP_TARGET, GtkDropTargetClass))
gtk_drop_target_get_type
GType
void
gtk_drop_target_new
GtkDropTarget *
GdkContentFormats *formats, GdkDragAction actions
gtk_drop_target_set_formats
void
GtkDropTarget *dest, GdkContentFormats *formats
gtk_drop_target_get_formats
GdkContentFormats *
GtkDropTarget *dest
gtk_drop_target_set_actions
void
GtkDropTarget *dest, GdkDragAction actions
gtk_drop_target_get_actions
GdkDragAction
GtkDropTarget *dest
gtk_drop_target_get_drop
GdkDrop *
GtkDropTarget *dest
gtk_drop_target_find_mimetype
const char *
GtkDropTarget *dest
gtk_drop_target_read_selection
void
GtkDropTarget *dest, GdkAtom target, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data
gtk_drop_target_read_selection_finish
GtkSelectionData *
GtkDropTarget *dest, GAsyncResult *result, GError **error
gtk_drop_target_deny_drop
void
GtkDropTarget *dest, GdkDrop *drop
GtkDropTarget
GtkDropTargetClass
gtk_drag_dest_handle_event
void
GtkWidget *toplevel, GdkEvent *event
GTK_TYPE_DRAG_ICON
#define GTK_TYPE_DRAG_ICON (gtk_drag_icon_get_type ())
gtk_drag_icon_new_for_drag
GtkWidget *
GdkDrag *drag
gtk_drag_icon_set_from_paintable
void
GdkDrag *drag, GdkPaintable *paintable, int hot_x, int hot_y
GtkDragIcon
gtk_drag_icon_new
GtkWidget *
void
gtk_drag_icon_set_surface
void
GtkDragIcon *icon, GdkSurface *surface
gtk_drag_icon_set_widget
void
GtkDragIcon *icon, GtkWidget *widget
GTK_TYPE_DRAG_SOURCE
#define GTK_TYPE_DRAG_SOURCE (gtk_drag_source_get_type ())
GTK_DRAG_SOURCE
#define GTK_DRAG_SOURCE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GTK_TYPE_DRAG_SOURCE, GtkDragSource))
GTK_DRAG_SOURCE_CLASS
#define GTK_DRAG_SOURCE_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GTK_TYPE_DRAG_SOURCE, GtkDragSourceClass))
GTK_IS_DRAG_SOURCE
#define GTK_IS_DRAG_SOURCE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GTK_TYPE_DRAG_SOURCE))
GTK_IS_DRAG_SOURCE_CLASS
#define GTK_IS_DRAG_SOURCE_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GTK_TYPE_DRAG_SOURCE))
GTK_DRAG_SOURCE_GET_CLASS
#define GTK_DRAG_SOURCE_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GTK_TYPE_DRAG_SOURCE, GtkDragSourceClass))
gtk_drag_source_get_type
GType
void
gtk_drag_source_new
GtkDragSource *
void
gtk_drag_source_set_content
void
GtkDragSource *source, GdkContentProvider *content
gtk_drag_source_get_content
GdkContentProvider *
GtkDragSource *source
gtk_drag_source_set_actions
void
GtkDragSource *source, GdkDragAction actions
gtk_drag_source_get_actions
GdkDragAction
GtkDragSource *source
gtk_drag_source_set_icon
void
GtkDragSource *source, GdkPaintable *paintable, int hot_x, int hot_y
gtk_drag_source_drag_cancel
void
GtkDragSource *source
gtk_drag_source_get_drag
GdkDrag *
GtkDragSource *source
gtk_drag_check_threshold
gboolean
GtkWidget *widget, int start_x, int start_y, int current_x, int current_y
GtkDragSource
GtkDragSourceClass
GTK_TYPE_DRAWING_AREA
#define GTK_TYPE_DRAWING_AREA (gtk_drawing_area_get_type ())
GTK_DRAWING_AREA
#define GTK_DRAWING_AREA(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_DRAWING_AREA, GtkDrawingArea))
GTK_DRAWING_AREA_CLASS
#define GTK_DRAWING_AREA_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_DRAWING_AREA, GtkDrawingAreaClass))
GTK_IS_DRAWING_AREA
#define GTK_IS_DRAWING_AREA(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_DRAWING_AREA))
GTK_IS_DRAWING_AREA_CLASS
#define GTK_IS_DRAWING_AREA_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_DRAWING_AREA))
GTK_DRAWING_AREA_GET_CLASS
#define GTK_DRAWING_AREA_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_DRAWING_AREA, GtkDrawingAreaClass))
GtkDrawingAreaDrawFunc
void
GtkDrawingArea *drawing_area, cairo_t *cr, int width, int height, gpointer user_data
GtkDrawingArea
struct _GtkDrawingArea
{
GtkWidget widget;
};
GtkDrawingAreaClass
struct _GtkDrawingAreaClass
{
GtkWidgetClass parent_class;
/*< private >*/
gpointer padding[8];
};
gtk_drawing_area_get_type
GType
void
gtk_drawing_area_new
GtkWidget *
void
gtk_drawing_area_set_content_width
void
GtkDrawingArea *self, int width
gtk_drawing_area_get_content_width
int
GtkDrawingArea *self
gtk_drawing_area_set_content_height
void
GtkDrawingArea *self, int height
gtk_drawing_area_get_content_height
int
GtkDrawingArea *self
gtk_drawing_area_set_draw_func
void
GtkDrawingArea *self, GtkDrawingAreaDrawFunc draw_func, gpointer user_data, GDestroyNotify destroy
GTK_TYPE_EDITABLE
#define GTK_TYPE_EDITABLE (gtk_editable_get_type ())
GTK_EDITABLE
#define GTK_EDITABLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_EDITABLE, GtkEditable))
GTK_IS_EDITABLE
#define GTK_IS_EDITABLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_EDITABLE))
GTK_EDITABLE_GET_IFACE
#define GTK_EDITABLE_GET_IFACE(inst) (G_TYPE_INSTANCE_GET_INTERFACE ((inst), GTK_TYPE_EDITABLE, GtkEditableInterface))
GtkEditableInterface
struct _GtkEditableInterface
{
GTypeInterface base_iface;
/* signals */
void (* insert_text) (GtkEditable *editable,
const gchar *text,
int length,
int *position);
void (* delete_text) (GtkEditable *editable,
int start_pos,
int end_pos);
void (* changed) (GtkEditable *editable);
/* vtable */
const char * (* get_text) (GtkEditable *editable);
void (* do_insert_text) (GtkEditable *editable,
const char *text,
int length,
int *position);
void (* do_delete_text) (GtkEditable *editable,
int start_pos,
int end_pos);
gboolean (* get_selection_bounds) (GtkEditable *editable,
int *start_pos,
int *end_pos);
void (* set_selection_bounds) (GtkEditable *editable,
int start_pos,
int end_pos);
GtkEditable * (* get_delegate) (GtkEditable *editable);
};
gtk_editable_get_type
GType
void
gtk_editable_get_text
const char *
GtkEditable *editable
gtk_editable_set_text
void
GtkEditable *editable, const char *text
gtk_editable_get_chars
char *
GtkEditable *editable, int start_pos, int end_pos
gtk_editable_insert_text
void
GtkEditable *editable, const char *text, int length, int *position
gtk_editable_delete_text
void
GtkEditable *editable, int start_pos, int end_pos
gtk_editable_get_selection_bounds
gboolean
GtkEditable *editable, int *start_pos, int *end_pos
gtk_editable_delete_selection
void
GtkEditable *editable
gtk_editable_select_region
void
GtkEditable *editable, int start_pos, int end_pos
gtk_editable_set_position
void
GtkEditable *editable, int position
gtk_editable_get_position
int
GtkEditable *editable
gtk_editable_get_editable
gboolean
GtkEditable *editable
gtk_editable_set_editable
void
GtkEditable *editable, gboolean is_editable
gtk_editable_get_alignment
float
GtkEditable *editable
gtk_editable_set_alignment
void
GtkEditable *editable, float xalign
gtk_editable_get_width_chars
int
GtkEditable *editable
gtk_editable_set_width_chars
void
GtkEditable *editable, int n_chars
gtk_editable_get_max_width_chars
int
GtkEditable *editable
gtk_editable_set_max_width_chars
void
GtkEditable *editable, int n_chars
gtk_editable_get_enable_undo
gboolean
GtkEditable *editable
gtk_editable_set_enable_undo
void
GtkEditable *editable, gboolean enable_undo
GtkEditableProperties
typedef enum {
GTK_EDITABLE_PROP_TEXT,
GTK_EDITABLE_PROP_CURSOR_POSITION,
GTK_EDITABLE_PROP_SELECTION_BOUND,
GTK_EDITABLE_PROP_EDITABLE,
GTK_EDITABLE_PROP_WIDTH_CHARS,
GTK_EDITABLE_PROP_MAX_WIDTH_CHARS,
GTK_EDITABLE_PROP_XALIGN,
GTK_EDITABLE_PROP_ENABLE_UNDO,
GTK_EDITABLE_NUM_PROPERTIES
} GtkEditableProperties;
gtk_editable_install_properties
guint
GObjectClass *object_class, guint first_prop
gtk_editable_init_delegate
void
GtkEditable *editable
gtk_editable_finish_delegate
void
GtkEditable *editable
gtk_editable_delegate_set_property
gboolean
GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec
gtk_editable_delegate_get_property
gboolean
GObject *object, guint prop_id, GValue *value, GParamSpec *pspec
GtkEditable
GTK_TYPE_EMOJI_CHOOSER
#define GTK_TYPE_EMOJI_CHOOSER (gtk_emoji_chooser_get_type ())
GTK_EMOJI_CHOOSER
#define GTK_EMOJI_CHOOSER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_EMOJI_CHOOSER, GtkEmojiChooser))
GTK_EMOJI_CHOOSER_CLASS
#define GTK_EMOJI_CHOOSER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_EMOJI_CHOOSER, GtkEmojiChooserClass))
GTK_IS_EMOJI_CHOOSER
#define GTK_IS_EMOJI_CHOOSER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_EMOJI_CHOOSER))
GTK_IS_EMOJI_CHOOSER_CLASS
#define GTK_IS_EMOJI_CHOOSER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_EMOJI_CHOOSER))
GTK_EMOJI_CHOOSER_GET_CLASS
#define GTK_EMOJI_CHOOSER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_EMOJI_CHOOSER, GtkEmojiChooserClass))
gtk_emoji_chooser_get_type
GType
void
gtk_emoji_chooser_new
GtkWidget *
void
GtkEmojiChooser
GtkEmojiChooserClass
GTK_TYPE_EMOJI_COMPLETION
#define GTK_TYPE_EMOJI_COMPLETION (gtk_emoji_completion_get_type ())
GTK_EMOJI_COMPLETION
#define GTK_EMOJI_COMPLETION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_EMOJI_COMPLETION, GtkEmojiCompletion))
GTK_EMOJI_COMPLETION_CLASS
#define GTK_EMOJI_COMPLETION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_EMOJI_COMPLETION, GtkEmojiCompletionClass))
GTK_IS_EMOJI_COMPLETION
#define GTK_IS_EMOJI_COMPLETION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_EMOJI_COMPLETION))
GTK_IS_EMOJI_COMPLETION_CLASS
#define GTK_IS_EMOJI_COMPLETION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_EMOJI_COMPLETION))
GTK_EMOJI_COMPLETION_GET_CLASS
#define GTK_EMOJI_COMPLETION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_EMOJI_COMPLETION, GtkEmojiCompletionClass))
gtk_emoji_completion_get_type
GType
void
gtk_emoji_completion_new
GtkWidget *
GtkText *text
GtkEmojiCompletion
GtkEmojiCompletionClass
GTK_TYPE_ENTRY
#define GTK_TYPE_ENTRY (gtk_entry_get_type ())
GTK_ENTRY
#define GTK_ENTRY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_ENTRY, GtkEntry))
GTK_ENTRY_CLASS
#define GTK_ENTRY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_ENTRY, GtkEntryClass))
GTK_IS_ENTRY
#define GTK_IS_ENTRY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_ENTRY))
GTK_IS_ENTRY_CLASS
#define GTK_IS_ENTRY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_ENTRY))
GTK_ENTRY_GET_CLASS
#define GTK_ENTRY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_ENTRY, GtkEntryClass))
GtkEntryIconPosition
typedef enum
{
GTK_ENTRY_ICON_PRIMARY,
GTK_ENTRY_ICON_SECONDARY
} GtkEntryIconPosition;
GtkEntry
struct _GtkEntry
{
/*< private >*/
GtkWidget parent_instance;
};
GtkEntryClass
struct _GtkEntryClass
{
GtkWidgetClass parent_class;
/* Action signals
*/
void (* activate) (GtkEntry *entry);
/*< private >*/
gpointer padding[8];
};
gtk_entry_get_type
GType
void
gtk_entry_new
GtkWidget *
void
gtk_entry_new_with_buffer
GtkWidget *
GtkEntryBuffer *buffer
gtk_entry_get_buffer
GtkEntryBuffer *
GtkEntry *entry
gtk_entry_set_buffer
void
GtkEntry *entry, GtkEntryBuffer *buffer
gtk_entry_set_visibility
void
GtkEntry *entry, gboolean visible
gtk_entry_get_visibility
gboolean
GtkEntry *entry
gtk_entry_set_invisible_char
void
GtkEntry *entry, gunichar ch
gtk_entry_get_invisible_char
gunichar
GtkEntry *entry
gtk_entry_unset_invisible_char
void
GtkEntry *entry
gtk_entry_set_has_frame
void
GtkEntry *entry, gboolean setting
gtk_entry_get_has_frame
gboolean
GtkEntry *entry
gtk_entry_set_overwrite_mode
void
GtkEntry *entry, gboolean overwrite
gtk_entry_get_overwrite_mode
gboolean
GtkEntry *entry
gtk_entry_set_max_length
void
GtkEntry *entry, gint max
gtk_entry_get_max_length
gint
GtkEntry *entry
gtk_entry_get_text_length
guint16
GtkEntry *entry
gtk_entry_set_activates_default
void
GtkEntry *entry, gboolean setting
gtk_entry_get_activates_default
gboolean
GtkEntry *entry
gtk_entry_set_alignment
void
GtkEntry *entry, gfloat xalign
gtk_entry_get_alignment
gfloat
GtkEntry *entry
gtk_entry_set_completion
void
GtkEntry *entry, GtkEntryCompletion *completion
gtk_entry_get_completion
GtkEntryCompletion *
GtkEntry *entry
gtk_entry_set_progress_fraction
void
GtkEntry *entry, gdouble fraction
gtk_entry_get_progress_fraction
gdouble
GtkEntry *entry
gtk_entry_set_progress_pulse_step
void
GtkEntry *entry, gdouble fraction
gtk_entry_get_progress_pulse_step
gdouble
GtkEntry *entry
gtk_entry_progress_pulse
void
GtkEntry *entry
gtk_entry_get_placeholder_text
const gchar *
GtkEntry *entry
gtk_entry_set_placeholder_text
void
GtkEntry *entry, const gchar *text
gtk_entry_set_icon_from_paintable
void
GtkEntry *entry, GtkEntryIconPosition icon_pos, GdkPaintable *paintable
gtk_entry_set_icon_from_icon_name
void
GtkEntry *entry, GtkEntryIconPosition icon_pos, const gchar *icon_name
gtk_entry_set_icon_from_gicon
void
GtkEntry *entry, GtkEntryIconPosition icon_pos, GIcon *icon
gtk_entry_get_icon_storage_type
GtkImageType
GtkEntry *entry, GtkEntryIconPosition icon_pos
gtk_entry_get_icon_paintable
GdkPaintable *
GtkEntry *entry, GtkEntryIconPosition icon_pos
gtk_entry_get_icon_name
const gchar *
GtkEntry *entry, GtkEntryIconPosition icon_pos
gtk_entry_get_icon_gicon
GIcon *
GtkEntry *entry, GtkEntryIconPosition icon_pos
gtk_entry_set_icon_activatable
void
GtkEntry *entry, GtkEntryIconPosition icon_pos, gboolean activatable
gtk_entry_get_icon_activatable
gboolean
GtkEntry *entry, GtkEntryIconPosition icon_pos
gtk_entry_set_icon_sensitive
void
GtkEntry *entry, GtkEntryIconPosition icon_pos, gboolean sensitive
gtk_entry_get_icon_sensitive
gboolean
GtkEntry *entry, GtkEntryIconPosition icon_pos
gtk_entry_get_icon_at_pos
gint
GtkEntry *entry, gint x, gint y
gtk_entry_set_icon_tooltip_text
void
GtkEntry *entry, GtkEntryIconPosition icon_pos, const gchar *tooltip
gtk_entry_get_icon_tooltip_text
gchar *
GtkEntry *entry, GtkEntryIconPosition icon_pos
gtk_entry_set_icon_tooltip_markup
void
GtkEntry *entry, GtkEntryIconPosition icon_pos, const gchar *tooltip
gtk_entry_get_icon_tooltip_markup
gchar *
GtkEntry *entry, GtkEntryIconPosition icon_pos
gtk_entry_set_icon_drag_source
void
GtkEntry *entry, GtkEntryIconPosition icon_pos, GdkContentProvider *provider, GdkDragAction actions
gtk_entry_get_current_icon_drag_source
gint
GtkEntry *entry
gtk_entry_get_icon_area
void
GtkEntry *entry, GtkEntryIconPosition icon_pos, GdkRectangle *icon_area
gtk_entry_reset_im_context
void
GtkEntry *entry
gtk_entry_set_input_purpose
void
GtkEntry *entry, GtkInputPurpose purpose
gtk_entry_get_input_purpose
GtkInputPurpose
GtkEntry *entry
gtk_entry_set_input_hints
void
GtkEntry *entry, GtkInputHints hints
gtk_entry_get_input_hints
GtkInputHints
GtkEntry *entry
gtk_entry_set_attributes
void
GtkEntry *entry, PangoAttrList *attrs
gtk_entry_get_attributes
PangoAttrList *
GtkEntry *entry
gtk_entry_set_tabs
void
GtkEntry *entry, PangoTabArray *tabs
gtk_entry_get_tabs
PangoTabArray *
GtkEntry *entry
gtk_entry_grab_focus_without_selecting
gboolean
GtkEntry *entry
gtk_entry_set_extra_menu
void
GtkEntry *entry, GMenuModel *model
gtk_entry_get_extra_menu
GMenuModel *
GtkEntry *entry
GTK_ENTRY_BUFFER_MAX_SIZE
#define GTK_ENTRY_BUFFER_MAX_SIZE G_MAXUSHORT
GTK_TYPE_ENTRY_BUFFER
#define GTK_TYPE_ENTRY_BUFFER (gtk_entry_buffer_get_type ())
GTK_ENTRY_BUFFER
#define GTK_ENTRY_BUFFER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_ENTRY_BUFFER, GtkEntryBuffer))
GTK_ENTRY_BUFFER_CLASS
#define GTK_ENTRY_BUFFER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_ENTRY_BUFFER, GtkEntryBufferClass))
GTK_IS_ENTRY_BUFFER
#define GTK_IS_ENTRY_BUFFER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_ENTRY_BUFFER))
GTK_IS_ENTRY_BUFFER_CLASS
#define GTK_IS_ENTRY_BUFFER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_ENTRY_BUFFER))
GTK_ENTRY_BUFFER_GET_CLASS
#define GTK_ENTRY_BUFFER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_ENTRY_BUFFER, GtkEntryBufferClass))
GtkEntryBuffer
struct _GtkEntryBuffer
{
GObject parent_instance;
};
GtkEntryBufferClass
struct _GtkEntryBufferClass
{
GObjectClass parent_class;
/* Signals */
void (*inserted_text) (GtkEntryBuffer *buffer,
guint position,
const gchar *chars,
guint n_chars);
void (*deleted_text) (GtkEntryBuffer *buffer,
guint position,
guint n_chars);
/* Virtual Methods */
const gchar* (*get_text) (GtkEntryBuffer *buffer,
gsize *n_bytes);
guint (*get_length) (GtkEntryBuffer *buffer);
guint (*insert_text) (GtkEntryBuffer *buffer,
guint position,
const gchar *chars,
guint n_chars);
guint (*delete_text) (GtkEntryBuffer *buffer,
guint position,
guint n_chars);
/* Padding for future expansion */
void (*_gtk_reserved1) (void);
void (*_gtk_reserved2) (void);
void (*_gtk_reserved3) (void);
void (*_gtk_reserved4) (void);
void (*_gtk_reserved5) (void);
void (*_gtk_reserved6) (void);
void (*_gtk_reserved7) (void);
void (*_gtk_reserved8) (void);
};
gtk_entry_buffer_get_type
GType
void
gtk_entry_buffer_new
GtkEntryBuffer *
const gchar *initial_chars, gint n_initial_chars
gtk_entry_buffer_get_bytes
gsize
GtkEntryBuffer *buffer
gtk_entry_buffer_get_length
guint
GtkEntryBuffer *buffer
gtk_entry_buffer_get_text
const gchar *
GtkEntryBuffer *buffer
gtk_entry_buffer_set_text
void
GtkEntryBuffer *buffer, const gchar *chars, gint n_chars
gtk_entry_buffer_set_max_length
void
GtkEntryBuffer *buffer, gint max_length
gtk_entry_buffer_get_max_length
gint
GtkEntryBuffer *buffer
gtk_entry_buffer_insert_text
guint
GtkEntryBuffer *buffer, guint position, const gchar *chars, gint n_chars
gtk_entry_buffer_delete_text
guint
GtkEntryBuffer *buffer, guint position, gint n_chars
gtk_entry_buffer_emit_inserted_text
void
GtkEntryBuffer *buffer, guint position, const gchar *chars, guint n_chars
gtk_entry_buffer_emit_deleted_text
void
GtkEntryBuffer *buffer, guint position, guint n_chars
GTK_TYPE_ENTRY_COMPLETION
#define GTK_TYPE_ENTRY_COMPLETION (gtk_entry_completion_get_type ())
GTK_ENTRY_COMPLETION
#define GTK_ENTRY_COMPLETION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_ENTRY_COMPLETION, GtkEntryCompletion))
GTK_IS_ENTRY_COMPLETION
#define GTK_IS_ENTRY_COMPLETION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_ENTRY_COMPLETION))
GtkEntryCompletionMatchFunc
gboolean
GtkEntryCompletion *completion, const gchar *key, GtkTreeIter *iter, gpointer user_data
gtk_entry_completion_get_type
GType
void
gtk_entry_completion_new
GtkEntryCompletion *
void
gtk_entry_completion_new_with_area
GtkEntryCompletion *
GtkCellArea *area
gtk_entry_completion_get_entry
GtkWidget *
GtkEntryCompletion *completion
gtk_entry_completion_set_model
void
GtkEntryCompletion *completion, GtkTreeModel *model
gtk_entry_completion_get_model
GtkTreeModel *
GtkEntryCompletion *completion
gtk_entry_completion_set_match_func
void
GtkEntryCompletion *completion, GtkEntryCompletionMatchFunc func, gpointer func_data, GDestroyNotify func_notify
gtk_entry_completion_set_minimum_key_length
void
GtkEntryCompletion *completion, gint length
gtk_entry_completion_get_minimum_key_length
gint
GtkEntryCompletion *completion
gtk_entry_completion_compute_prefix
gchar *
GtkEntryCompletion *completion, const char *key
gtk_entry_completion_complete
void
GtkEntryCompletion *completion
gtk_entry_completion_insert_prefix
void
GtkEntryCompletion *completion
gtk_entry_completion_insert_action_text
void
GtkEntryCompletion *completion, gint index_, const gchar *text
gtk_entry_completion_insert_action_markup
void
GtkEntryCompletion *completion, gint index_, const gchar *markup
gtk_entry_completion_delete_action
void
GtkEntryCompletion *completion, gint index_
gtk_entry_completion_set_inline_completion
void
GtkEntryCompletion *completion, gboolean inline_completion
gtk_entry_completion_get_inline_completion
gboolean
GtkEntryCompletion *completion
gtk_entry_completion_set_inline_selection
void
GtkEntryCompletion *completion, gboolean inline_selection
gtk_entry_completion_get_inline_selection
gboolean
GtkEntryCompletion *completion
gtk_entry_completion_set_popup_completion
void
GtkEntryCompletion *completion, gboolean popup_completion
gtk_entry_completion_get_popup_completion
gboolean
GtkEntryCompletion *completion
gtk_entry_completion_set_popup_set_width
void
GtkEntryCompletion *completion, gboolean popup_set_width
gtk_entry_completion_get_popup_set_width
gboolean
GtkEntryCompletion *completion
gtk_entry_completion_set_popup_single_match
void
GtkEntryCompletion *completion, gboolean popup_single_match
gtk_entry_completion_get_popup_single_match
gboolean
GtkEntryCompletion *completion
gtk_entry_completion_get_completion_prefix
const gchar *
GtkEntryCompletion *completion
gtk_entry_completion_set_text_column
void
GtkEntryCompletion *completion, gint column
gtk_entry_completion_get_text_column
gint
GtkEntryCompletion *completion
GtkEntryCompletion
GtkAlign
typedef enum
{
GTK_ALIGN_FILL,
GTK_ALIGN_START,
GTK_ALIGN_END,
GTK_ALIGN_CENTER,
GTK_ALIGN_BASELINE
} GtkAlign;
GtkArrowType
typedef enum
{
GTK_ARROW_UP,
GTK_ARROW_DOWN,
GTK_ARROW_LEFT,
GTK_ARROW_RIGHT,
GTK_ARROW_NONE
} GtkArrowType;
GtkBaselinePosition
typedef enum
{
GTK_BASELINE_POSITION_TOP,
GTK_BASELINE_POSITION_CENTER,
GTK_BASELINE_POSITION_BOTTOM
} GtkBaselinePosition;
GtkDeleteType
typedef enum
{
GTK_DELETE_CHARS,
GTK_DELETE_WORD_ENDS,
GTK_DELETE_WORDS,
GTK_DELETE_DISPLAY_LINES,
GTK_DELETE_DISPLAY_LINE_ENDS,
GTK_DELETE_PARAGRAPH_ENDS,
GTK_DELETE_PARAGRAPHS,
GTK_DELETE_WHITESPACE
} GtkDeleteType;
GtkDirectionType
typedef enum
{
GTK_DIR_TAB_FORWARD,
GTK_DIR_TAB_BACKWARD,
GTK_DIR_UP,
GTK_DIR_DOWN,
GTK_DIR_LEFT,
GTK_DIR_RIGHT
} GtkDirectionType;
GtkIconSize
typedef enum
{
GTK_ICON_SIZE_INHERIT,
GTK_ICON_SIZE_NORMAL,
GTK_ICON_SIZE_LARGE
} GtkIconSize;
GtkSensitivityType
typedef enum
{
GTK_SENSITIVITY_AUTO,
GTK_SENSITIVITY_ON,
GTK_SENSITIVITY_OFF
} GtkSensitivityType;
GtkTextDirection
typedef enum
{
GTK_TEXT_DIR_NONE,
GTK_TEXT_DIR_LTR,
GTK_TEXT_DIR_RTL
} GtkTextDirection;
GtkJustification
typedef enum
{
GTK_JUSTIFY_LEFT,
GTK_JUSTIFY_RIGHT,
GTK_JUSTIFY_CENTER,
GTK_JUSTIFY_FILL
} GtkJustification;
GtkMenuDirectionType
typedef enum
{
GTK_MENU_DIR_PARENT,
GTK_MENU_DIR_CHILD,
GTK_MENU_DIR_NEXT,
GTK_MENU_DIR_PREV
} GtkMenuDirectionType;
GtkMessageType
typedef enum
{
GTK_MESSAGE_INFO,
GTK_MESSAGE_WARNING,
GTK_MESSAGE_QUESTION,
GTK_MESSAGE_ERROR,
GTK_MESSAGE_OTHER
} GtkMessageType;
GtkMovementStep
typedef enum
{
GTK_MOVEMENT_LOGICAL_POSITIONS,
GTK_MOVEMENT_VISUAL_POSITIONS,
GTK_MOVEMENT_WORDS,
GTK_MOVEMENT_DISPLAY_LINES,
GTK_MOVEMENT_DISPLAY_LINE_ENDS,
GTK_MOVEMENT_PARAGRAPHS,
GTK_MOVEMENT_PARAGRAPH_ENDS,
GTK_MOVEMENT_PAGES,
GTK_MOVEMENT_BUFFER_ENDS,
GTK_MOVEMENT_HORIZONTAL_PAGES
} GtkMovementStep;
GtkScrollStep
typedef enum
{
GTK_SCROLL_STEPS,
GTK_SCROLL_PAGES,
GTK_SCROLL_ENDS,
GTK_SCROLL_HORIZONTAL_STEPS,
GTK_SCROLL_HORIZONTAL_PAGES,
GTK_SCROLL_HORIZONTAL_ENDS
} GtkScrollStep;
GtkOrientation
typedef enum
{
GTK_ORIENTATION_HORIZONTAL,
GTK_ORIENTATION_VERTICAL
} GtkOrientation;
GtkOverflow
typedef enum
{
GTK_OVERFLOW_VISIBLE,
GTK_OVERFLOW_HIDDEN
} GtkOverflow;
GtkPackType
typedef enum
{
GTK_PACK_START,
GTK_PACK_END
} GtkPackType;
GtkPositionType
typedef enum
{
GTK_POS_LEFT,
GTK_POS_RIGHT,
GTK_POS_TOP,
GTK_POS_BOTTOM
} GtkPositionType;
GtkReliefStyle
typedef enum
{
GTK_RELIEF_NORMAL,
GTK_RELIEF_NONE
} GtkReliefStyle;
GtkScrollType
typedef enum
{
GTK_SCROLL_NONE,
GTK_SCROLL_JUMP,
GTK_SCROLL_STEP_BACKWARD,
GTK_SCROLL_STEP_FORWARD,
GTK_SCROLL_PAGE_BACKWARD,
GTK_SCROLL_PAGE_FORWARD,
GTK_SCROLL_STEP_UP,
GTK_SCROLL_STEP_DOWN,
GTK_SCROLL_PAGE_UP,
GTK_SCROLL_PAGE_DOWN,
GTK_SCROLL_STEP_LEFT,
GTK_SCROLL_STEP_RIGHT,
GTK_SCROLL_PAGE_LEFT,
GTK_SCROLL_PAGE_RIGHT,
GTK_SCROLL_START,
GTK_SCROLL_END
} GtkScrollType;
GtkSelectionMode
typedef enum
{
GTK_SELECTION_NONE,
GTK_SELECTION_SINGLE,
GTK_SELECTION_BROWSE,
GTK_SELECTION_MULTIPLE
} GtkSelectionMode;
GtkShadowType
typedef enum
{
GTK_SHADOW_NONE,
GTK_SHADOW_IN,
GTK_SHADOW_OUT,
GTK_SHADOW_ETCHED_IN,
GTK_SHADOW_ETCHED_OUT
} GtkShadowType;
GtkWrapMode
typedef enum
{
GTK_WRAP_NONE,
GTK_WRAP_CHAR,
GTK_WRAP_WORD,
GTK_WRAP_WORD_CHAR
} GtkWrapMode;
GtkSortType
typedef enum
{
GTK_SORT_ASCENDING,
GTK_SORT_DESCENDING
} GtkSortType;
GtkPrintPages
typedef enum
{
GTK_PRINT_PAGES_ALL,
GTK_PRINT_PAGES_CURRENT,
GTK_PRINT_PAGES_RANGES,
GTK_PRINT_PAGES_SELECTION
} GtkPrintPages;
GtkPageSet
typedef enum
{
GTK_PAGE_SET_ALL,
GTK_PAGE_SET_EVEN,
GTK_PAGE_SET_ODD
} GtkPageSet;
GtkNumberUpLayout
typedef enum
{
GTK_NUMBER_UP_LAYOUT_LEFT_TO_RIGHT_TOP_TO_BOTTOM, /*< nick=lrtb >*/
GTK_NUMBER_UP_LAYOUT_LEFT_TO_RIGHT_BOTTOM_TO_TOP, /*< nick=lrbt >*/
GTK_NUMBER_UP_LAYOUT_RIGHT_TO_LEFT_TOP_TO_BOTTOM, /*< nick=rltb >*/
GTK_NUMBER_UP_LAYOUT_RIGHT_TO_LEFT_BOTTOM_TO_TOP, /*< nick=rlbt >*/
GTK_NUMBER_UP_LAYOUT_TOP_TO_BOTTOM_LEFT_TO_RIGHT, /*< nick=tblr >*/
GTK_NUMBER_UP_LAYOUT_TOP_TO_BOTTOM_RIGHT_TO_LEFT, /*< nick=tbrl >*/
GTK_NUMBER_UP_LAYOUT_BOTTOM_TO_TOP_LEFT_TO_RIGHT, /*< nick=btlr >*/
GTK_NUMBER_UP_LAYOUT_BOTTOM_TO_TOP_RIGHT_TO_LEFT /*< nick=btrl >*/
} GtkNumberUpLayout;
GtkPageOrientation
typedef enum
{
GTK_PAGE_ORIENTATION_PORTRAIT,
GTK_PAGE_ORIENTATION_LANDSCAPE,
GTK_PAGE_ORIENTATION_REVERSE_PORTRAIT,
GTK_PAGE_ORIENTATION_REVERSE_LANDSCAPE
} GtkPageOrientation;
GtkPrintQuality
typedef enum
{
GTK_PRINT_QUALITY_LOW,
GTK_PRINT_QUALITY_NORMAL,
GTK_PRINT_QUALITY_HIGH,
GTK_PRINT_QUALITY_DRAFT
} GtkPrintQuality;
GtkPrintDuplex
typedef enum
{
GTK_PRINT_DUPLEX_SIMPLEX,
GTK_PRINT_DUPLEX_HORIZONTAL,
GTK_PRINT_DUPLEX_VERTICAL
} GtkPrintDuplex;
GtkUnit
typedef enum
{
GTK_UNIT_NONE,
GTK_UNIT_POINTS,
GTK_UNIT_INCH,
GTK_UNIT_MM
} GtkUnit;
GTK_UNIT_PIXEL
#define GTK_UNIT_PIXEL GTK_UNIT_NONE
GtkTreeViewGridLines
typedef enum
{
GTK_TREE_VIEW_GRID_LINES_NONE,
GTK_TREE_VIEW_GRID_LINES_HORIZONTAL,
GTK_TREE_VIEW_GRID_LINES_VERTICAL,
GTK_TREE_VIEW_GRID_LINES_BOTH
} GtkTreeViewGridLines;
GtkSizeGroupMode
typedef enum {
GTK_SIZE_GROUP_NONE,
GTK_SIZE_GROUP_HORIZONTAL,
GTK_SIZE_GROUP_VERTICAL,
GTK_SIZE_GROUP_BOTH
} GtkSizeGroupMode;
GtkSizeRequestMode
typedef enum
{
GTK_SIZE_REQUEST_HEIGHT_FOR_WIDTH = 0,
GTK_SIZE_REQUEST_WIDTH_FOR_HEIGHT,
GTK_SIZE_REQUEST_CONSTANT_SIZE
} GtkSizeRequestMode;
GtkScrollablePolicy
typedef enum
{
GTK_SCROLL_MINIMUM = 0,
GTK_SCROLL_NATURAL
} GtkScrollablePolicy;
GtkStateFlags
typedef enum
{
GTK_STATE_FLAG_NORMAL = 0,
GTK_STATE_FLAG_ACTIVE = 1 << 0,
GTK_STATE_FLAG_PRELIGHT = 1 << 1,
GTK_STATE_FLAG_SELECTED = 1 << 2,
GTK_STATE_FLAG_INSENSITIVE = 1 << 3,
GTK_STATE_FLAG_INCONSISTENT = 1 << 4,
GTK_STATE_FLAG_FOCUSED = 1 << 5,
GTK_STATE_FLAG_BACKDROP = 1 << 6,
GTK_STATE_FLAG_DIR_LTR = 1 << 7,
GTK_STATE_FLAG_DIR_RTL = 1 << 8,
GTK_STATE_FLAG_LINK = 1 << 9,
GTK_STATE_FLAG_VISITED = 1 << 10,
GTK_STATE_FLAG_CHECKED = 1 << 11,
GTK_STATE_FLAG_DROP_ACTIVE = 1 << 12,
GTK_STATE_FLAG_FOCUS_VISIBLE = 1 << 13
} GtkStateFlags;
GtkBorderStyle
typedef enum {
GTK_BORDER_STYLE_NONE,
GTK_BORDER_STYLE_HIDDEN,
GTK_BORDER_STYLE_SOLID,
GTK_BORDER_STYLE_INSET,
GTK_BORDER_STYLE_OUTSET,
GTK_BORDER_STYLE_DOTTED,
GTK_BORDER_STYLE_DASHED,
GTK_BORDER_STYLE_DOUBLE,
GTK_BORDER_STYLE_GROOVE,
GTK_BORDER_STYLE_RIDGE
} GtkBorderStyle;
GtkLevelBarMode
typedef enum {
GTK_LEVEL_BAR_MODE_CONTINUOUS,
GTK_LEVEL_BAR_MODE_DISCRETE
} GtkLevelBarMode;
GtkInputPurpose
typedef enum
{
GTK_INPUT_PURPOSE_FREE_FORM,
GTK_INPUT_PURPOSE_ALPHA,
GTK_INPUT_PURPOSE_DIGITS,
GTK_INPUT_PURPOSE_NUMBER,
GTK_INPUT_PURPOSE_PHONE,
GTK_INPUT_PURPOSE_URL,
GTK_INPUT_PURPOSE_EMAIL,
GTK_INPUT_PURPOSE_NAME,
GTK_INPUT_PURPOSE_PASSWORD,
GTK_INPUT_PURPOSE_PIN,
GTK_INPUT_PURPOSE_TERMINAL,
} GtkInputPurpose;
GtkInputHints
typedef enum
{
GTK_INPUT_HINT_NONE = 0,
GTK_INPUT_HINT_SPELLCHECK = 1 << 0,
GTK_INPUT_HINT_NO_SPELLCHECK = 1 << 1,
GTK_INPUT_HINT_WORD_COMPLETION = 1 << 2,
GTK_INPUT_HINT_LOWERCASE = 1 << 3,
GTK_INPUT_HINT_UPPERCASE_CHARS = 1 << 4,
GTK_INPUT_HINT_UPPERCASE_WORDS = 1 << 5,
GTK_INPUT_HINT_UPPERCASE_SENTENCES = 1 << 6,
GTK_INPUT_HINT_INHIBIT_OSK = 1 << 7,
GTK_INPUT_HINT_VERTICAL_WRITING = 1 << 8,
GTK_INPUT_HINT_EMOJI = 1 << 9,
GTK_INPUT_HINT_NO_EMOJI = 1 << 10
} GtkInputHints;
GtkPropagationPhase
typedef enum
{
GTK_PHASE_NONE,
GTK_PHASE_CAPTURE,
GTK_PHASE_BUBBLE,
GTK_PHASE_TARGET
} GtkPropagationPhase;
GtkPropagationLimit
typedef enum
{
GTK_LIMIT_NONE,
GTK_LIMIT_SAME_NATIVE
} GtkPropagationLimit;
GtkEventSequenceState
typedef enum
{
GTK_EVENT_SEQUENCE_NONE,
GTK_EVENT_SEQUENCE_CLAIMED,
GTK_EVENT_SEQUENCE_DENIED
} GtkEventSequenceState;
GtkPanDirection
typedef enum
{
GTK_PAN_DIRECTION_LEFT,
GTK_PAN_DIRECTION_RIGHT,
GTK_PAN_DIRECTION_UP,
GTK_PAN_DIRECTION_DOWN
} GtkPanDirection;
GtkPopoverConstraint
typedef enum
{
GTK_POPOVER_CONSTRAINT_NONE,
GTK_POPOVER_CONSTRAINT_WINDOW
} GtkPopoverConstraint;
GtkPlacesOpenFlags
typedef enum {
GTK_PLACES_OPEN_NORMAL = 1 << 0,
GTK_PLACES_OPEN_NEW_TAB = 1 << 1,
GTK_PLACES_OPEN_NEW_WINDOW = 1 << 2
} GtkPlacesOpenFlags;
GtkPickFlags
typedef enum {
GTK_PICK_DEFAULT = 0,
GTK_PICK_INSENSITIVE = 1 << 0,
GTK_PICK_NON_TARGETABLE = 1 << 1
} GtkPickFlags;
GtkConstraintRelation
typedef enum {
GTK_CONSTRAINT_RELATION_LE = -1,
GTK_CONSTRAINT_RELATION_EQ = 0,
GTK_CONSTRAINT_RELATION_GE = 1
} GtkConstraintRelation;
GtkConstraintStrength
typedef enum {
GTK_CONSTRAINT_STRENGTH_REQUIRED = 1001001000,
GTK_CONSTRAINT_STRENGTH_STRONG = 1000000000,
GTK_CONSTRAINT_STRENGTH_MEDIUM = 1000,
GTK_CONSTRAINT_STRENGTH_WEAK = 1
} GtkConstraintStrength;
GtkConstraintAttribute
typedef enum {
GTK_CONSTRAINT_ATTRIBUTE_NONE,
GTK_CONSTRAINT_ATTRIBUTE_LEFT,
GTK_CONSTRAINT_ATTRIBUTE_RIGHT,
GTK_CONSTRAINT_ATTRIBUTE_TOP,
GTK_CONSTRAINT_ATTRIBUTE_BOTTOM,
GTK_CONSTRAINT_ATTRIBUTE_START,
GTK_CONSTRAINT_ATTRIBUTE_END,
GTK_CONSTRAINT_ATTRIBUTE_WIDTH,
GTK_CONSTRAINT_ATTRIBUTE_HEIGHT,
GTK_CONSTRAINT_ATTRIBUTE_CENTER_X,
GTK_CONSTRAINT_ATTRIBUTE_CENTER_Y,
GTK_CONSTRAINT_ATTRIBUTE_BASELINE
} GtkConstraintAttribute;
GtkConstraintVflParserError
typedef enum {
GTK_CONSTRAINT_VFL_PARSER_ERROR_INVALID_SYMBOL,
GTK_CONSTRAINT_VFL_PARSER_ERROR_INVALID_ATTRIBUTE,
GTK_CONSTRAINT_VFL_PARSER_ERROR_INVALID_VIEW,
GTK_CONSTRAINT_VFL_PARSER_ERROR_INVALID_METRIC,
GTK_CONSTRAINT_VFL_PARSER_ERROR_INVALID_PRIORITY,
GTK_CONSTRAINT_VFL_PARSER_ERROR_INVALID_RELATION
} GtkConstraintVflParserError;
GTK_TYPE_EVENT_CONTROLLER
#define GTK_TYPE_EVENT_CONTROLLER (gtk_event_controller_get_type ())
GTK_EVENT_CONTROLLER
#define GTK_EVENT_CONTROLLER(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GTK_TYPE_EVENT_CONTROLLER, GtkEventController))
GTK_EVENT_CONTROLLER_CLASS
#define GTK_EVENT_CONTROLLER_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GTK_TYPE_EVENT_CONTROLLER, GtkEventControllerClass))
GTK_IS_EVENT_CONTROLLER
#define GTK_IS_EVENT_CONTROLLER(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GTK_TYPE_EVENT_CONTROLLER))
GTK_IS_EVENT_CONTROLLER_CLASS
#define GTK_IS_EVENT_CONTROLLER_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GTK_TYPE_EVENT_CONTROLLER))
GTK_EVENT_CONTROLLER_GET_CLASS
#define GTK_EVENT_CONTROLLER_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GTK_TYPE_EVENT_CONTROLLER, GtkEventControllerClass))
gtk_event_controller_get_type
GType
void
gtk_event_controller_get_widget
GtkWidget *
GtkEventController *controller
gtk_event_controller_handle_event
gboolean
GtkEventController *controller, const GdkEvent *event
gtk_event_controller_reset
void
GtkEventController *controller
gtk_event_controller_get_propagation_phase
GtkPropagationPhase
GtkEventController *controller
gtk_event_controller_set_propagation_phase
void
GtkEventController *controller, GtkPropagationPhase phase
gtk_event_controller_get_propagation_limit
GtkPropagationLimit
GtkEventController *controller
gtk_event_controller_set_propagation_limit
void
GtkEventController *controller, GtkPropagationLimit limit
gtk_event_controller_get_name
const char *
GtkEventController *controller
gtk_event_controller_set_name
void
GtkEventController *controller, const char *name
GtkEventControllerClass
GTK_TYPE_EVENT_CONTROLLER_KEY
#define GTK_TYPE_EVENT_CONTROLLER_KEY (gtk_event_controller_key_get_type ())
GTK_EVENT_CONTROLLER_KEY
#define GTK_EVENT_CONTROLLER_KEY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GTK_TYPE_EVENT_CONTROLLER_KEY, GtkEventControllerKey))
GTK_EVENT_CONTROLLER_KEY_CLASS
#define GTK_EVENT_CONTROLLER_KEY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GTK_TYPE_EVENT_CONTROLLER_KEY, GtkEventControllerKeyClass))
GTK_IS_EVENT_CONTROLLER_KEY
#define GTK_IS_EVENT_CONTROLLER_KEY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GTK_TYPE_EVENT_CONTROLLER_KEY))
GTK_IS_EVENT_CONTROLLER_KEY_CLASS
#define GTK_IS_EVENT_CONTROLLER_KEY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GTK_TYPE_EVENT_CONTROLLER_KEY))
GTK_EVENT_CONTROLLER_KEY_GET_CLASS
#define GTK_EVENT_CONTROLLER_KEY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GTK_TYPE_EVENT_CONTROLLER_KEY, GtkEventControllerKeyClass))
gtk_event_controller_key_get_type
GType
void
gtk_event_controller_key_new
GtkEventController *
void
gtk_event_controller_key_set_im_context
void
GtkEventControllerKey *controller, GtkIMContext *im_context
gtk_event_controller_key_get_im_context
GtkIMContext *
GtkEventControllerKey *controller
gtk_event_controller_key_forward
gboolean
GtkEventControllerKey *controller, GtkWidget *widget
gtk_event_controller_key_get_group
guint
GtkEventControllerKey *controller
gtk_event_controller_key_get_focus_origin
GtkWidget *
GtkEventControllerKey *controller
gtk_event_controller_key_get_focus_target
GtkWidget *
GtkEventControllerKey *controller
gtk_event_controller_key_contains_focus
gboolean
GtkEventControllerKey *self
gtk_event_controller_key_is_focus
gboolean
GtkEventControllerKey *self
GtkEventControllerKey
GtkEventControllerKeyClass
GTK_TYPE_EVENT_CONTROLLER_LEGACY
#define GTK_TYPE_EVENT_CONTROLLER_LEGACY (gtk_event_controller_legacy_get_type ())
GTK_EVENT_CONTROLLER_LEGACY
#define GTK_EVENT_CONTROLLER_LEGACY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GTK_TYPE_EVENT_CONTROLLER_LEGACY, GtkEventControllerLegacy))
GTK_EVENT_CONTROLLER_LEGACY_CLASS
#define GTK_EVENT_CONTROLLER_LEGACY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GTK_TYPE_EVENT_CONTROLLER_LEGACY, GtkEventControllerLegacyClass))
GTK_IS_EVENT_CONTROLLER_LEGACY
#define GTK_IS_EVENT_CONTROLLER_LEGACY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GTK_TYPE_EVENT_CONTROLLER_LEGACY))
GTK_IS_EVENT_CONTROLLER_LEGACY_CLASS
#define GTK_IS_EVENT_CONTROLLER_LEGACY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GTK_TYPE_EVENT_CONTROLLER_LEGACY))
GTK_EVENT_CONTROLLER_LEGACY_GET_CLASS
#define GTK_EVENT_CONTROLLER_LEGACY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GTK_TYPE_EVENT_CONTROLLER_LEGACY, GtkEventControllerLegacyClass))
gtk_event_controller_legacy_get_type
GType
void
gtk_event_controller_legacy_new
GtkEventController *
void
GtkEventControllerLegacy
GtkEventControllerLegacyClass
GTK_TYPE_EVENT_CONTROLLER_MOTION
#define GTK_TYPE_EVENT_CONTROLLER_MOTION (gtk_event_controller_motion_get_type ())
GTK_EVENT_CONTROLLER_MOTION
#define GTK_EVENT_CONTROLLER_MOTION(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GTK_TYPE_EVENT_CONTROLLER_MOTION, GtkEventControllerMotion))
GTK_EVENT_CONTROLLER_MOTION_CLASS
#define GTK_EVENT_CONTROLLER_MOTION_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GTK_TYPE_EVENT_CONTROLLER_MOTION, GtkEventControllerMotionClass))
GTK_IS_EVENT_CONTROLLER_MOTION
#define GTK_IS_EVENT_CONTROLLER_MOTION(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GTK_TYPE_EVENT_CONTROLLER_MOTION))
GTK_IS_EVENT_CONTROLLER_MOTION_CLASS
#define GTK_IS_EVENT_CONTROLLER_MOTION_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GTK_TYPE_EVENT_CONTROLLER_MOTION))
GTK_EVENT_CONTROLLER_MOTION_GET_CLASS
#define GTK_EVENT_CONTROLLER_MOTION_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GTK_TYPE_EVENT_CONTROLLER_MOTION, GtkEventControllerMotionClass))
gtk_event_controller_motion_get_type
GType
void
gtk_event_controller_motion_new
GtkEventController *
void
gtk_event_controller_motion_get_pointer_origin
GtkWidget *
GtkEventControllerMotion *controller
gtk_event_controller_motion_get_pointer_target
GtkWidget *
GtkEventControllerMotion *controller
gtk_event_controller_motion_contains_pointer
gboolean
GtkEventControllerMotion *self
gtk_event_controller_motion_is_pointer
gboolean
GtkEventControllerMotion *self
GtkEventControllerMotion
GtkEventControllerMotionClass
GTK_TYPE_EVENT_CONTROLLER_SCROLL
#define GTK_TYPE_EVENT_CONTROLLER_SCROLL (gtk_event_controller_scroll_get_type ())
GTK_EVENT_CONTROLLER_SCROLL
#define GTK_EVENT_CONTROLLER_SCROLL(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GTK_TYPE_EVENT_CONTROLLER_SCROLL, GtkEventControllerScroll))
GTK_EVENT_CONTROLLER_SCROLL_CLASS
#define GTK_EVENT_CONTROLLER_SCROLL_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GTK_TYPE_EVENT_CONTROLLER_SCROLL, GtkEventControllerScrollClass))
GTK_IS_EVENT_CONTROLLER_SCROLL
#define GTK_IS_EVENT_CONTROLLER_SCROLL(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GTK_TYPE_EVENT_CONTROLLER_SCROLL))
GTK_IS_EVENT_CONTROLLER_SCROLL_CLASS
#define GTK_IS_EVENT_CONTROLLER_SCROLL_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GTK_TYPE_EVENT_CONTROLLER_SCROLL))
GTK_EVENT_CONTROLLER_SCROLL_GET_CLASS
#define GTK_EVENT_CONTROLLER_SCROLL_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GTK_TYPE_EVENT_CONTROLLER_SCROLL, GtkEventControllerScrollClass))
GtkEventControllerScrollFlags
typedef enum {
GTK_EVENT_CONTROLLER_SCROLL_NONE = 0,
GTK_EVENT_CONTROLLER_SCROLL_VERTICAL = 1 << 0,
GTK_EVENT_CONTROLLER_SCROLL_HORIZONTAL = 1 << 1,
GTK_EVENT_CONTROLLER_SCROLL_DISCRETE = 1 << 2,
GTK_EVENT_CONTROLLER_SCROLL_KINETIC = 1 << 3,
GTK_EVENT_CONTROLLER_SCROLL_BOTH_AXES = (GTK_EVENT_CONTROLLER_SCROLL_VERTICAL | GTK_EVENT_CONTROLLER_SCROLL_HORIZONTAL),
} GtkEventControllerScrollFlags;
gtk_event_controller_scroll_get_type
GType
void
gtk_event_controller_scroll_new
GtkEventController *
GtkEventControllerScrollFlags flags
gtk_event_controller_scroll_set_flags
void
GtkEventControllerScroll *scroll, GtkEventControllerScrollFlags flags
gtk_event_controller_scroll_get_flags
GtkEventControllerScrollFlags
GtkEventControllerScroll *scroll
GtkEventControllerScroll
GtkEventControllerScrollClass
GTK_TYPE_EXPANDER
#define GTK_TYPE_EXPANDER (gtk_expander_get_type ())
GTK_EXPANDER
#define GTK_EXPANDER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_EXPANDER, GtkExpander))
GTK_IS_EXPANDER
#define GTK_IS_EXPANDER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_EXPANDER))
gtk_expander_get_type
GType
void
gtk_expander_new
GtkWidget *
const gchar *label
gtk_expander_new_with_mnemonic
GtkWidget *
const gchar *label
gtk_expander_set_expanded
void
GtkExpander *expander, gboolean expanded
gtk_expander_get_expanded
gboolean
GtkExpander *expander
gtk_expander_set_label
void
GtkExpander *expander, const gchar *label
gtk_expander_get_label
const gchar *
GtkExpander *expander
gtk_expander_set_use_underline
void
GtkExpander *expander, gboolean use_underline
gtk_expander_get_use_underline
gboolean
GtkExpander *expander
gtk_expander_set_use_markup
void
GtkExpander *expander, gboolean use_markup
gtk_expander_get_use_markup
gboolean
GtkExpander *expander
gtk_expander_set_label_widget
void
GtkExpander *expander, GtkWidget *label_widget
gtk_expander_get_label_widget
GtkWidget *
GtkExpander *expander
gtk_expander_set_resize_toplevel
void
GtkExpander *expander, gboolean resize_toplevel
gtk_expander_get_resize_toplevel
gboolean
GtkExpander *expander
GtkExpander
GTK_TYPE_FILE_CHOOSER
#define GTK_TYPE_FILE_CHOOSER (gtk_file_chooser_get_type ())
GTK_FILE_CHOOSER
#define GTK_FILE_CHOOSER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_FILE_CHOOSER, GtkFileChooser))
GTK_IS_FILE_CHOOSER
#define GTK_IS_FILE_CHOOSER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_FILE_CHOOSER))
GtkFileChooserAction
typedef enum
{
GTK_FILE_CHOOSER_ACTION_OPEN,
GTK_FILE_CHOOSER_ACTION_SAVE,
GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER,
GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER
} GtkFileChooserAction;
GtkFileChooserConfirmation
typedef enum
{
GTK_FILE_CHOOSER_CONFIRMATION_CONFIRM,
GTK_FILE_CHOOSER_CONFIRMATION_ACCEPT_FILENAME,
GTK_FILE_CHOOSER_CONFIRMATION_SELECT_AGAIN
} GtkFileChooserConfirmation;
gtk_file_chooser_get_type
GType
void
GTK_FILE_CHOOSER_ERROR
#define GTK_FILE_CHOOSER_ERROR (gtk_file_chooser_error_quark ())
GtkFileChooserError
typedef enum {
GTK_FILE_CHOOSER_ERROR_NONEXISTENT,
GTK_FILE_CHOOSER_ERROR_BAD_FILENAME,
GTK_FILE_CHOOSER_ERROR_ALREADY_EXISTS,
GTK_FILE_CHOOSER_ERROR_INCOMPLETE_HOSTNAME
} GtkFileChooserError;
gtk_file_chooser_error_quark
GQuark
void
gtk_file_chooser_set_action
void
GtkFileChooser *chooser, GtkFileChooserAction action
gtk_file_chooser_get_action
GtkFileChooserAction
GtkFileChooser *chooser
gtk_file_chooser_set_local_only
void
GtkFileChooser *chooser, gboolean local_only
gtk_file_chooser_get_local_only
gboolean
GtkFileChooser *chooser
gtk_file_chooser_set_select_multiple
void
GtkFileChooser *chooser, gboolean select_multiple
gtk_file_chooser_get_select_multiple
gboolean
GtkFileChooser *chooser
gtk_file_chooser_set_show_hidden
void
GtkFileChooser *chooser, gboolean show_hidden
gtk_file_chooser_get_show_hidden
gboolean
GtkFileChooser *chooser
gtk_file_chooser_set_do_overwrite_confirmation
void
GtkFileChooser *chooser, gboolean do_overwrite_confirmation
gtk_file_chooser_get_do_overwrite_confirmation
gboolean
GtkFileChooser *chooser
gtk_file_chooser_set_create_folders
void
GtkFileChooser *chooser, gboolean create_folders
gtk_file_chooser_get_create_folders
gboolean
GtkFileChooser *chooser
gtk_file_chooser_set_current_name
void
GtkFileChooser *chooser, const gchar *name
gtk_file_chooser_get_current_name
gchar *
GtkFileChooser *chooser
gtk_file_chooser_get_filename
gchar *
GtkFileChooser *chooser
gtk_file_chooser_set_filename
gboolean
GtkFileChooser *chooser, const char *filename
gtk_file_chooser_select_filename
gboolean
GtkFileChooser *chooser, const char *filename
gtk_file_chooser_unselect_filename
void
GtkFileChooser *chooser, const char *filename
gtk_file_chooser_select_all
void
GtkFileChooser *chooser
gtk_file_chooser_unselect_all
void
GtkFileChooser *chooser
gtk_file_chooser_get_filenames
GSList *
GtkFileChooser *chooser
gtk_file_chooser_set_current_folder
gboolean
GtkFileChooser *chooser, const gchar *filename
gtk_file_chooser_get_current_folder
gchar *
GtkFileChooser *chooser
gtk_file_chooser_get_uri
gchar *
GtkFileChooser *chooser
gtk_file_chooser_set_uri
gboolean
GtkFileChooser *chooser, const char *uri
gtk_file_chooser_select_uri
gboolean
GtkFileChooser *chooser, const char *uri
gtk_file_chooser_unselect_uri
void
GtkFileChooser *chooser, const char *uri
gtk_file_chooser_get_uris
GSList *
GtkFileChooser *chooser
gtk_file_chooser_set_current_folder_uri
gboolean
GtkFileChooser *chooser, const gchar *uri
gtk_file_chooser_get_current_folder_uri
gchar *
GtkFileChooser *chooser
gtk_file_chooser_get_file
GFile *
GtkFileChooser *chooser
gtk_file_chooser_set_file
gboolean
GtkFileChooser *chooser, GFile *file, GError **error
gtk_file_chooser_select_file
gboolean
GtkFileChooser *chooser, GFile *file, GError **error
gtk_file_chooser_unselect_file
void
GtkFileChooser *chooser, GFile *file
gtk_file_chooser_get_files
GSList *
GtkFileChooser *chooser
gtk_file_chooser_set_current_folder_file
gboolean
GtkFileChooser *chooser, GFile *file, GError **error
gtk_file_chooser_get_current_folder_file
GFile *
GtkFileChooser *chooser
gtk_file_chooser_set_preview_widget
void
GtkFileChooser *chooser, GtkWidget *preview_widget
gtk_file_chooser_get_preview_widget
GtkWidget *
GtkFileChooser *chooser
gtk_file_chooser_set_preview_widget_active
void
GtkFileChooser *chooser, gboolean active
gtk_file_chooser_get_preview_widget_active
gboolean
GtkFileChooser *chooser
gtk_file_chooser_set_use_preview_label
void
GtkFileChooser *chooser, gboolean use_label
gtk_file_chooser_get_use_preview_label
gboolean
GtkFileChooser *chooser
gtk_file_chooser_get_preview_filename
char *
GtkFileChooser *chooser
gtk_file_chooser_get_preview_uri
char *
GtkFileChooser *chooser
gtk_file_chooser_get_preview_file
GFile *
GtkFileChooser *chooser
gtk_file_chooser_set_extra_widget
void
GtkFileChooser *chooser, GtkWidget *extra_widget
gtk_file_chooser_get_extra_widget
GtkWidget *
GtkFileChooser *chooser
gtk_file_chooser_add_filter
void
GtkFileChooser *chooser, GtkFileFilter *filter
gtk_file_chooser_remove_filter
void
GtkFileChooser *chooser, GtkFileFilter *filter
gtk_file_chooser_list_filters
GSList *
GtkFileChooser *chooser
gtk_file_chooser_set_filter
void
GtkFileChooser *chooser, GtkFileFilter *filter
gtk_file_chooser_get_filter
GtkFileFilter *
GtkFileChooser *chooser
gtk_file_chooser_add_shortcut_folder
gboolean
GtkFileChooser *chooser, const char *folder, GError **error
gtk_file_chooser_remove_shortcut_folder
gboolean
GtkFileChooser *chooser, const char *folder, GError **error
gtk_file_chooser_list_shortcut_folders
GSList *
GtkFileChooser *chooser
gtk_file_chooser_add_shortcut_folder_uri
gboolean
GtkFileChooser *chooser, const char *uri, GError **error
gtk_file_chooser_remove_shortcut_folder_uri
gboolean
GtkFileChooser *chooser, const char *uri, GError **error
gtk_file_chooser_list_shortcut_folder_uris
GSList *
GtkFileChooser *chooser
gtk_file_chooser_add_choice
void
GtkFileChooser *chooser, const char *id, const char *label, const char **options, const char **option_labels
gtk_file_chooser_remove_choice
void
GtkFileChooser *chooser, const char *id
gtk_file_chooser_set_choice
void
GtkFileChooser *chooser, const char *id, const char *option
gtk_file_chooser_get_choice
const char *
GtkFileChooser *chooser, const char *id
GtkFileChooser
GTK_TYPE_FILE_CHOOSER_BUTTON
#define GTK_TYPE_FILE_CHOOSER_BUTTON (gtk_file_chooser_button_get_type ())
GTK_FILE_CHOOSER_BUTTON
#define GTK_FILE_CHOOSER_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_FILE_CHOOSER_BUTTON, GtkFileChooserButton))
GTK_IS_FILE_CHOOSER_BUTTON
#define GTK_IS_FILE_CHOOSER_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_FILE_CHOOSER_BUTTON))
gtk_file_chooser_button_get_type
GType
void
gtk_file_chooser_button_new
GtkWidget *
const gchar *title, GtkFileChooserAction action
gtk_file_chooser_button_new_with_dialog
GtkWidget *
GtkWidget *dialog
gtk_file_chooser_button_get_title
const gchar *
GtkFileChooserButton *button
gtk_file_chooser_button_set_title
void
GtkFileChooserButton *button, const gchar *title
gtk_file_chooser_button_get_width_chars
gint
GtkFileChooserButton *button
gtk_file_chooser_button_set_width_chars
void
GtkFileChooserButton *button, gint n_chars
GtkFileChooserButton
GTK_TYPE_FILE_CHOOSER_DIALOG
#define GTK_TYPE_FILE_CHOOSER_DIALOG (gtk_file_chooser_dialog_get_type ())
GTK_FILE_CHOOSER_DIALOG
#define GTK_FILE_CHOOSER_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_FILE_CHOOSER_DIALOG, GtkFileChooserDialog))
GTK_IS_FILE_CHOOSER_DIALOG
#define GTK_IS_FILE_CHOOSER_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_FILE_CHOOSER_DIALOG))
gtk_file_chooser_dialog_get_type
GType
void
gtk_file_chooser_dialog_new
GtkWidget *
const gchar *title, GtkWindow *parent, GtkFileChooserAction action, const gchar *first_button_text, ...
GtkFileChooserDialog
GTK_TYPE_FILE_CHOOSER_EMBED
#define GTK_TYPE_FILE_CHOOSER_EMBED (_gtk_file_chooser_embed_get_type ())
GTK_FILE_CHOOSER_EMBED
#define GTK_FILE_CHOOSER_EMBED(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_FILE_CHOOSER_EMBED, GtkFileChooserEmbed))
GTK_IS_FILE_CHOOSER_EMBED
#define GTK_IS_FILE_CHOOSER_EMBED(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_FILE_CHOOSER_EMBED))
GTK_FILE_CHOOSER_EMBED_GET_IFACE
#define GTK_FILE_CHOOSER_EMBED_GET_IFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), GTK_TYPE_FILE_CHOOSER_EMBED, GtkFileChooserEmbedIface))
GtkFileChooserEmbedIface
struct _GtkFileChooserEmbedIface
{
GTypeInterface base_iface;
/* Methods
*/
gboolean (*should_respond) (GtkFileChooserEmbed *chooser_embed);
void (*initial_focus) (GtkFileChooserEmbed *chooser_embed);
/* Signals
*/
void (*response_requested) (GtkFileChooserEmbed *chooser_embed);
};
GtkFileChooserEmbed
GTK_TYPE_FILE_CHOOSER_ENTRY
#define GTK_TYPE_FILE_CHOOSER_ENTRY (_gtk_file_chooser_entry_get_type ())
GTK_FILE_CHOOSER_ENTRY
#define GTK_FILE_CHOOSER_ENTRY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_FILE_CHOOSER_ENTRY, GtkFileChooserEntry))
GTK_IS_FILE_CHOOSER_ENTRY
#define GTK_IS_FILE_CHOOSER_ENTRY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_FILE_CHOOSER_ENTRY))
GtkFileChooserEntry
GTK_TYPE_FILE_CHOOSER_NATIVE
#define GTK_TYPE_FILE_CHOOSER_NATIVE (gtk_file_chooser_native_get_type ())
gtk_file_chooser_native_new
GtkFileChooserNative *
const gchar *title, GtkWindow *parent, GtkFileChooserAction action, const gchar *accept_label, const gchar *cancel_label
gtk_file_chooser_native_get_accept_label
const char *
GtkFileChooserNative *self
gtk_file_chooser_native_set_accept_label
void
GtkFileChooserNative *self, const char *accept_label
gtk_file_chooser_native_get_cancel_label
const char *
GtkFileChooserNative *self
gtk_file_chooser_native_set_cancel_label
void
GtkFileChooserNative *self, const char *cancel_label
GtkFileChooserNative
GTK_FILE_CHOOSER_DELEGATE_QUARK
#define GTK_FILE_CHOOSER_DELEGATE_QUARK (_gtk_file_chooser_delegate_get_quark ())
GtkFileChooserProp
typedef enum {
GTK_FILE_CHOOSER_PROP_FIRST = 0x1000,
GTK_FILE_CHOOSER_PROP_ACTION = GTK_FILE_CHOOSER_PROP_FIRST,
GTK_FILE_CHOOSER_PROP_FILTER,
GTK_FILE_CHOOSER_PROP_LOCAL_ONLY,
GTK_FILE_CHOOSER_PROP_PREVIEW_WIDGET,
GTK_FILE_CHOOSER_PROP_PREVIEW_WIDGET_ACTIVE,
GTK_FILE_CHOOSER_PROP_USE_PREVIEW_LABEL,
GTK_FILE_CHOOSER_PROP_EXTRA_WIDGET,
GTK_FILE_CHOOSER_PROP_SELECT_MULTIPLE,
GTK_FILE_CHOOSER_PROP_SHOW_HIDDEN,
GTK_FILE_CHOOSER_PROP_DO_OVERWRITE_CONFIRMATION,
GTK_FILE_CHOOSER_PROP_CREATE_FOLDERS,
GTK_FILE_CHOOSER_PROP_LAST = GTK_FILE_CHOOSER_PROP_CREATE_FOLDERS
} GtkFileChooserProp;
GTK_TYPE_FILE_CHOOSER_WIDGET
#define GTK_TYPE_FILE_CHOOSER_WIDGET (gtk_file_chooser_widget_get_type ())
GTK_FILE_CHOOSER_WIDGET
#define GTK_FILE_CHOOSER_WIDGET(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_FILE_CHOOSER_WIDGET, GtkFileChooserWidget))
GTK_IS_FILE_CHOOSER_WIDGET
#define GTK_IS_FILE_CHOOSER_WIDGET(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_FILE_CHOOSER_WIDGET))
gtk_file_chooser_widget_get_type
GType
void
gtk_file_chooser_widget_new
GtkWidget *
GtkFileChooserAction action
GtkFileChooserWidget
GTK_TYPE_FILE_FILTER
#define GTK_TYPE_FILE_FILTER (gtk_file_filter_get_type ())
GTK_FILE_FILTER
#define GTK_FILE_FILTER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_FILE_FILTER, GtkFileFilter))
GTK_IS_FILE_FILTER
#define GTK_IS_FILE_FILTER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_FILE_FILTER))
GtkFileFilterFlags
typedef enum {
GTK_FILE_FILTER_FILENAME = 1 << 0,
GTK_FILE_FILTER_URI = 1 << 1,
GTK_FILE_FILTER_DISPLAY_NAME = 1 << 2,
GTK_FILE_FILTER_MIME_TYPE = 1 << 3
} GtkFileFilterFlags;
GtkFileFilterFunc
gboolean
const GtkFileFilterInfo *filter_info, gpointer data
GtkFileFilterInfo
struct _GtkFileFilterInfo
{
GtkFileFilterFlags contains;
const gchar *filename;
const gchar *uri;
const gchar *display_name;
const gchar *mime_type;
};
gtk_file_filter_get_type
GType
void
gtk_file_filter_new
GtkFileFilter *
void
gtk_file_filter_set_name
void
GtkFileFilter *filter, const gchar *name
gtk_file_filter_get_name
const gchar *
GtkFileFilter *filter
gtk_file_filter_add_mime_type
void
GtkFileFilter *filter, const gchar *mime_type
gtk_file_filter_add_pattern
void
GtkFileFilter *filter, const gchar *pattern
gtk_file_filter_add_pixbuf_formats
void
GtkFileFilter *filter
gtk_file_filter_add_custom
void
GtkFileFilter *filter, GtkFileFilterFlags needed, GtkFileFilterFunc func, gpointer data, GDestroyNotify notify
gtk_file_filter_get_needed
GtkFileFilterFlags
GtkFileFilter *filter
gtk_file_filter_filter
gboolean
GtkFileFilter *filter, const GtkFileFilterInfo *filter_info
gtk_file_filter_to_gvariant
GVariant *
GtkFileFilter *filter
gtk_file_filter_new_from_gvariant
GtkFileFilter *
GVariant *variant
GtkFileFilter
GTK_TYPE_FILE_SYSTEM
#define GTK_TYPE_FILE_SYSTEM (_gtk_file_system_get_type ())
GTK_FILE_SYSTEM
#define GTK_FILE_SYSTEM(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GTK_TYPE_FILE_SYSTEM, GtkFileSystem))
GTK_FILE_SYSTEM_CLASS
#define GTK_FILE_SYSTEM_CLASS(c) (G_TYPE_CHECK_CLASS_CAST ((c), GTK_TYPE_FILE_SYSTEM, GtkFileSystemClass))
GTK_IS_FILE_SYSTEM
#define GTK_IS_FILE_SYSTEM(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GTK_TYPE_FILE_SYSTEM))
GTK_IS_FILE_SYSTEM_CLASS
#define GTK_IS_FILE_SYSTEM_CLASS(c) (G_TYPE_CHECK_CLASS_TYPE ((c), GTK_TYPE_FILE_SYSTEM))
GTK_FILE_SYSTEM_GET_CLASS
#define GTK_FILE_SYSTEM_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GTK_TYPE_FILE_SYSTEM, GtkFileSystemClass))
GtkFileSystem
typedef struct GtkFileSystem GtkFileSystem;
GtkFileSystemPrivate
typedef struct GtkFileSystemPrivate GtkFileSystemPrivate;
GtkFileSystemClass
typedef struct GtkFileSystemClass GtkFileSystemClass;
GtkFileSystemVolume
typedef struct GtkFileSystemVolume GtkFileSystemVolume; /* opaque struct */
GtkFileSystemGetInfoCallback
void
GCancellable *cancellable, GFileInfo *file_info, const GError *error, gpointer data
GtkFileSystemVolumeMountCallback
void
GCancellable *cancellable, GtkFileSystemVolume *volume, const GError *error, gpointer data
GTK_TYPE_FILE_SYSTEM_MODEL
#define GTK_TYPE_FILE_SYSTEM_MODEL (_gtk_file_system_model_get_type ())
GTK_FILE_SYSTEM_MODEL
#define GTK_FILE_SYSTEM_MODEL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_FILE_SYSTEM_MODEL, GtkFileSystemModel))
GTK_IS_FILE_SYSTEM_MODEL
#define GTK_IS_FILE_SYSTEM_MODEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_FILE_SYSTEM_MODEL))
GtkFileSystemModelGetValue
gboolean
GtkFileSystemModel *model, GFile *file, GFileInfo *info, int column, GValue *value, gpointer user_data
GtkFileSystemModel
GTK_TYPE_FILTER_LIST_MODEL
#define GTK_TYPE_FILTER_LIST_MODEL (gtk_filter_list_model_get_type ())
GtkFilterListModelFilterFunc
gboolean
gpointer item, gpointer user_data
gtk_filter_list_model_new
GtkFilterListModel *
GListModel *model, GtkFilterListModelFilterFunc filter_func, gpointer user_data, GDestroyNotify user_destroy
gtk_filter_list_model_new_for_type
GtkFilterListModel *
GType item_type
gtk_filter_list_model_set_filter_func
void
GtkFilterListModel *self, GtkFilterListModelFilterFunc filter_func, gpointer user_data, GDestroyNotify user_destroy
gtk_filter_list_model_set_model
void
GtkFilterListModel *self, GListModel *model
gtk_filter_list_model_get_model
GListModel *
GtkFilterListModel *self
gtk_filter_list_model_has_filter
gboolean
GtkFilterListModel *self
gtk_filter_list_model_refilter
void
GtkFilterListModel *self
GtkFilterListModel
GTK_TYPE_FIXED
#define GTK_TYPE_FIXED (gtk_fixed_get_type ())
GTK_FIXED
#define GTK_FIXED(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_FIXED, GtkFixed))
GTK_FIXED_CLASS
#define GTK_FIXED_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_FIXED, GtkFixedClass))
GTK_IS_FIXED
#define GTK_IS_FIXED(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_FIXED))
GTK_IS_FIXED_CLASS
#define GTK_IS_FIXED_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_FIXED))
GTK_FIXED_GET_CLASS
#define GTK_FIXED_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_FIXED, GtkFixedClass))
GtkFixed
struct _GtkFixed
{
GtkContainer parent_instance;
};
GtkFixedClass
struct _GtkFixedClass
{
GtkContainerClass parent_class;
/*< private >*/
gpointer padding[8];
};
gtk_fixed_get_type
GType
void
gtk_fixed_new
GtkWidget *
void
gtk_fixed_put
void
GtkFixed *fixed, GtkWidget *widget, gint x, gint y
gtk_fixed_move
void
GtkFixed *fixed, GtkWidget *widget, gint x, gint y
gtk_fixed_get_child_position
void
GtkFixed *fixed, GtkWidget *widget, gint *x, gint *y
gtk_fixed_set_child_transform
void
GtkFixed *fixed, GtkWidget *widget, GskTransform *transform
gtk_fixed_get_child_transform
GskTransform *
GtkFixed *fixed, GtkWidget *widget
GTK_TYPE_FIXED_LAYOUT
#define GTK_TYPE_FIXED_LAYOUT (gtk_fixed_layout_get_type ())
GTK_TYPE_FIXED_LAYOUT_CHILD
#define GTK_TYPE_FIXED_LAYOUT_CHILD (gtk_fixed_layout_child_get_type ())
gtk_fixed_layout_new
GtkLayoutManager *
void
gtk_fixed_layout_child_set_transform
void
GtkFixedLayoutChild *child, GskTransform *transform
gtk_fixed_layout_child_get_transform
GskTransform *
GtkFixedLayoutChild *child
GtkFixedLayout
GtkFixedLayoutChild
GTK_TYPE_FLATTEN_LIST_MODEL
#define GTK_TYPE_FLATTEN_LIST_MODEL (gtk_flatten_list_model_get_type ())
gtk_flatten_list_model_new
GtkFlattenListModel *
GType item_type, GListModel *model
gtk_flatten_list_model_set_model
void
GtkFlattenListModel *self, GListModel *model
gtk_flatten_list_model_get_model
GListModel *
GtkFlattenListModel *self
GtkFlattenListModel
GTK_TYPE_FLOW_BOX
#define GTK_TYPE_FLOW_BOX (gtk_flow_box_get_type ())
GTK_FLOW_BOX
#define GTK_FLOW_BOX(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_FLOW_BOX, GtkFlowBox))
GTK_IS_FLOW_BOX
#define GTK_IS_FLOW_BOX(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_FLOW_BOX))
GTK_TYPE_FLOW_BOX_CHILD
#define GTK_TYPE_FLOW_BOX_CHILD (gtk_flow_box_child_get_type ())
GTK_FLOW_BOX_CHILD
#define GTK_FLOW_BOX_CHILD(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_FLOW_BOX_CHILD, GtkFlowBoxChild))
GTK_FLOW_BOX_CHILD_CLASS
#define GTK_FLOW_BOX_CHILD_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_FLOW_BOX_CHILD, GtkFlowBoxChildClass))
GTK_IS_FLOW_BOX_CHILD
#define GTK_IS_FLOW_BOX_CHILD(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_FLOW_BOX_CHILD))
GTK_IS_FLOW_BOX_CHILD_CLASS
#define GTK_IS_FLOW_BOX_CHILD_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_FLOW_BOX_CHILD))
GTK_FLOW_BOX_CHILD_GET_CLASS
#define GTK_FLOW_BOX_CHILD_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), EG_TYPE_FLOW_BOX_CHILD, GtkFlowBoxChildClass))
GtkFlowBoxChild
struct _GtkFlowBoxChild
{
GtkBin parent_instance;
};
GtkFlowBoxChildClass
struct _GtkFlowBoxChildClass
{
GtkBinClass parent_class;
void (* activate) (GtkFlowBoxChild *child);
gpointer padding[8];
};
GtkFlowBoxCreateWidgetFunc
GtkWidget *
gpointer item, gpointer user_data
gtk_flow_box_child_get_type
GType
void
gtk_flow_box_child_new
GtkWidget *
void
gtk_flow_box_child_get_index
gint
GtkFlowBoxChild *child
gtk_flow_box_child_is_selected
gboolean
GtkFlowBoxChild *child
gtk_flow_box_child_changed
void
GtkFlowBoxChild *child
gtk_flow_box_get_type
GType
void
gtk_flow_box_new
GtkWidget *
void
gtk_flow_box_bind_model
void
GtkFlowBox *box, GListModel *model, GtkFlowBoxCreateWidgetFunc create_widget_func, gpointer user_data, GDestroyNotify user_data_free_func
gtk_flow_box_set_homogeneous
void
GtkFlowBox *box, gboolean homogeneous
gtk_flow_box_get_homogeneous
gboolean
GtkFlowBox *box
gtk_flow_box_set_row_spacing
void
GtkFlowBox *box, guint spacing
gtk_flow_box_get_row_spacing
guint
GtkFlowBox *box
gtk_flow_box_set_column_spacing
void
GtkFlowBox *box, guint spacing
gtk_flow_box_get_column_spacing
guint
GtkFlowBox *box
gtk_flow_box_set_min_children_per_line
void
GtkFlowBox *box, guint n_children
gtk_flow_box_get_min_children_per_line
guint
GtkFlowBox *box
gtk_flow_box_set_max_children_per_line
void
GtkFlowBox *box, guint n_children
gtk_flow_box_get_max_children_per_line
guint
GtkFlowBox *box
gtk_flow_box_set_activate_on_single_click
void
GtkFlowBox *box, gboolean single
gtk_flow_box_get_activate_on_single_click
gboolean
GtkFlowBox *box
gtk_flow_box_insert
void
GtkFlowBox *box, GtkWidget *widget, gint position
gtk_flow_box_get_child_at_index
GtkFlowBoxChild *
GtkFlowBox *box, gint idx
gtk_flow_box_get_child_at_pos
GtkFlowBoxChild *
GtkFlowBox *box, gint x, gint y
GtkFlowBoxForeachFunc
void
GtkFlowBox *box, GtkFlowBoxChild *child, gpointer user_data
gtk_flow_box_selected_foreach
void
GtkFlowBox *box, GtkFlowBoxForeachFunc func, gpointer data
gtk_flow_box_get_selected_children
GList *
GtkFlowBox *box
gtk_flow_box_select_child
void
GtkFlowBox *box, GtkFlowBoxChild *child
gtk_flow_box_unselect_child
void
GtkFlowBox *box, GtkFlowBoxChild *child
gtk_flow_box_select_all
void
GtkFlowBox *box
gtk_flow_box_unselect_all
void
GtkFlowBox *box
gtk_flow_box_set_selection_mode
void
GtkFlowBox *box, GtkSelectionMode mode
gtk_flow_box_get_selection_mode
GtkSelectionMode
GtkFlowBox *box
gtk_flow_box_set_hadjustment
void
GtkFlowBox *box, GtkAdjustment *adjustment
gtk_flow_box_set_vadjustment
void
GtkFlowBox *box, GtkAdjustment *adjustment
GtkFlowBoxFilterFunc
gboolean
GtkFlowBoxChild *child, gpointer user_data
gtk_flow_box_set_filter_func
void
GtkFlowBox *box, GtkFlowBoxFilterFunc filter_func, gpointer user_data, GDestroyNotify destroy
gtk_flow_box_invalidate_filter
void
GtkFlowBox *box
GtkFlowBoxSortFunc
gint
GtkFlowBoxChild *child1, GtkFlowBoxChild *child2, gpointer user_data
gtk_flow_box_set_sort_func
void
GtkFlowBox *box, GtkFlowBoxSortFunc sort_func, gpointer user_data, GDestroyNotify destroy
gtk_flow_box_invalidate_sort
void
GtkFlowBox *box
GtkFlowBox
GTK_TYPE_FONT_BUTTON
#define GTK_TYPE_FONT_BUTTON (gtk_font_button_get_type ())
GTK_FONT_BUTTON
#define GTK_FONT_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_FONT_BUTTON, GtkFontButton))
GTK_IS_FONT_BUTTON
#define GTK_IS_FONT_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_FONT_BUTTON))
gtk_font_button_get_type
GType
void
gtk_font_button_new
GtkWidget *
void
gtk_font_button_new_with_font
GtkWidget *
const gchar *fontname
gtk_font_button_get_title
const gchar *
GtkFontButton *font_button
gtk_font_button_set_title
void
GtkFontButton *font_button, const gchar *title
gtk_font_button_get_use_font
gboolean
GtkFontButton *font_button
gtk_font_button_set_use_font
void
GtkFontButton *font_button, gboolean use_font
gtk_font_button_get_use_size
gboolean
GtkFontButton *font_button
gtk_font_button_set_use_size
void
GtkFontButton *font_button, gboolean use_size
GtkFontButton
GtkFontFilterFunc
gboolean
const PangoFontFamily *family, const PangoFontFace *face, gpointer data
GtkFontChooserLevel
typedef enum {
GTK_FONT_CHOOSER_LEVEL_FAMILY = 0,
GTK_FONT_CHOOSER_LEVEL_STYLE = 1 << 0,
GTK_FONT_CHOOSER_LEVEL_SIZE = 1 << 1,
GTK_FONT_CHOOSER_LEVEL_VARIATIONS = 1 << 2,
GTK_FONT_CHOOSER_LEVEL_FEATURES = 1 << 3
} GtkFontChooserLevel;
GTK_TYPE_FONT_CHOOSER
#define GTK_TYPE_FONT_CHOOSER (gtk_font_chooser_get_type ())
GTK_FONT_CHOOSER
#define GTK_FONT_CHOOSER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_FONT_CHOOSER, GtkFontChooser))
GTK_IS_FONT_CHOOSER
#define GTK_IS_FONT_CHOOSER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_FONT_CHOOSER))
GTK_FONT_CHOOSER_GET_IFACE
#define GTK_FONT_CHOOSER_GET_IFACE(inst) (G_TYPE_INSTANCE_GET_INTERFACE ((inst), GTK_TYPE_FONT_CHOOSER, GtkFontChooserIface))
GtkFontChooserIface
struct _GtkFontChooserIface
{
GTypeInterface base_iface;
/* Methods */
PangoFontFamily * (* get_font_family) (GtkFontChooser *fontchooser);
PangoFontFace * (* get_font_face) (GtkFontChooser *fontchooser);
gint (* get_font_size) (GtkFontChooser *fontchooser);
void (* set_filter_func) (GtkFontChooser *fontchooser,
GtkFontFilterFunc filter,
gpointer user_data,
GDestroyNotify destroy);
/* Signals */
void (* font_activated) (GtkFontChooser *chooser,
const gchar *fontname);
/* More methods */
void (* set_font_map) (GtkFontChooser *fontchooser,
PangoFontMap *fontmap);
PangoFontMap * (* get_font_map) (GtkFontChooser *fontchooser);
/* Padding */
gpointer padding[10];
};
gtk_font_chooser_get_type
GType
void
gtk_font_chooser_get_font_family
PangoFontFamily *
GtkFontChooser *fontchooser
gtk_font_chooser_get_font_face
PangoFontFace *
GtkFontChooser *fontchooser
gtk_font_chooser_get_font_size
gint
GtkFontChooser *fontchooser
gtk_font_chooser_get_font_desc
PangoFontDescription *
GtkFontChooser *fontchooser
gtk_font_chooser_set_font_desc
void
GtkFontChooser *fontchooser, const PangoFontDescription *font_desc
gtk_font_chooser_get_font
gchar *
GtkFontChooser *fontchooser
gtk_font_chooser_set_font
void
GtkFontChooser *fontchooser, const gchar *fontname
gtk_font_chooser_get_preview_text
gchar *
GtkFontChooser *fontchooser
gtk_font_chooser_set_preview_text
void
GtkFontChooser *fontchooser, const gchar *text
gtk_font_chooser_get_show_preview_entry
gboolean
GtkFontChooser *fontchooser
gtk_font_chooser_set_show_preview_entry
void
GtkFontChooser *fontchooser, gboolean show_preview_entry
gtk_font_chooser_set_filter_func
void
GtkFontChooser *fontchooser, GtkFontFilterFunc filter, gpointer user_data, GDestroyNotify destroy
gtk_font_chooser_set_font_map
void
GtkFontChooser *fontchooser, PangoFontMap *fontmap
gtk_font_chooser_get_font_map
PangoFontMap *
GtkFontChooser *fontchooser
gtk_font_chooser_set_level
void
GtkFontChooser *fontchooser, GtkFontChooserLevel level
gtk_font_chooser_get_level
GtkFontChooserLevel
GtkFontChooser *fontchooser
gtk_font_chooser_get_font_features
char *
GtkFontChooser *fontchooser
gtk_font_chooser_get_language
char *
GtkFontChooser *fontchooser
gtk_font_chooser_set_language
void
GtkFontChooser *fontchooser, const char *language
GtkFontChooser
GTK_TYPE_FONT_CHOOSER_DIALOG
#define GTK_TYPE_FONT_CHOOSER_DIALOG (gtk_font_chooser_dialog_get_type ())
GTK_FONT_CHOOSER_DIALOG
#define GTK_FONT_CHOOSER_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_FONT_CHOOSER_DIALOG, GtkFontChooserDialog))
GTK_IS_FONT_CHOOSER_DIALOG
#define GTK_IS_FONT_CHOOSER_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_FONT_CHOOSER_DIALOG))
gtk_font_chooser_dialog_get_type
GType
void
gtk_font_chooser_dialog_new
GtkWidget *
const gchar *title, GtkWindow *parent
GtkFontChooserDialog
GTK_FONT_CHOOSER_DELEGATE_QUARK
#define GTK_FONT_CHOOSER_DELEGATE_QUARK (_gtk_font_chooser_delegate_get_quark ())
GtkFontChooserProp
typedef enum {
GTK_FONT_CHOOSER_PROP_FIRST = 0x4000,
GTK_FONT_CHOOSER_PROP_FONT,
GTK_FONT_CHOOSER_PROP_FONT_DESC,
GTK_FONT_CHOOSER_PROP_PREVIEW_TEXT,
GTK_FONT_CHOOSER_PROP_SHOW_PREVIEW_ENTRY,
GTK_FONT_CHOOSER_PROP_LEVEL,
GTK_FONT_CHOOSER_PROP_FONT_FEATURES,
GTK_FONT_CHOOSER_PROP_LANGUAGE,
GTK_FONT_CHOOSER_PROP_LAST
} GtkFontChooserProp;
GTK_TYPE_FONT_CHOOSER_WIDGET
#define GTK_TYPE_FONT_CHOOSER_WIDGET (gtk_font_chooser_widget_get_type ())
GTK_FONT_CHOOSER_WIDGET
#define GTK_FONT_CHOOSER_WIDGET(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_FONT_CHOOSER_WIDGET, GtkFontChooserWidget))
GTK_IS_FONT_CHOOSER_WIDGET
#define GTK_IS_FONT_CHOOSER_WIDGET(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_FONT_CHOOSER_WIDGET))
gtk_font_chooser_widget_get_type
GType
void
gtk_font_chooser_widget_new
GtkWidget *
void
GtkFontChooserWidget
GTK_TYPE_FRAME
#define GTK_TYPE_FRAME (gtk_frame_get_type ())
GTK_FRAME
#define GTK_FRAME(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_FRAME, GtkFrame))
GTK_FRAME_CLASS
#define GTK_FRAME_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_FRAME, GtkFrameClass))
GTK_IS_FRAME
#define GTK_IS_FRAME(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_FRAME))
GTK_IS_FRAME_CLASS
#define GTK_IS_FRAME_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_FRAME))
GTK_FRAME_GET_CLASS
#define GTK_FRAME_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_FRAME, GtkFrameClass))
GtkFrame
struct _GtkFrame
{
GtkBin parent_instance;
};
GtkFrameClass
struct _GtkFrameClass
{
GtkBinClass parent_class;
/*< public >*/
void (*compute_child_allocation) (GtkFrame *frame,
GtkAllocation *allocation);
/*< private >*/
gpointer padding[8];
};
gtk_frame_get_type
GType
void
gtk_frame_new
GtkWidget *
const gchar *label
gtk_frame_set_label
void
GtkFrame *frame, const gchar *label
gtk_frame_get_label
const gchar *
GtkFrame *frame
gtk_frame_set_label_widget
void
GtkFrame *frame, GtkWidget *label_widget
gtk_frame_get_label_widget
GtkWidget *
GtkFrame *frame
gtk_frame_set_label_align
void
GtkFrame *frame, gfloat xalign
gtk_frame_get_label_align
gfloat
GtkFrame *frame
gtk_frame_set_shadow_type
void
GtkFrame *frame, GtkShadowType type
gtk_frame_get_shadow_type
GtkShadowType
GtkFrame *frame
GTK_TYPE_GESTURE
#define GTK_TYPE_GESTURE (gtk_gesture_get_type ())
GTK_GESTURE
#define GTK_GESTURE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GTK_TYPE_GESTURE, GtkGesture))
GTK_GESTURE_CLASS
#define GTK_GESTURE_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GTK_TYPE_GESTURE, GtkGestureClass))
GTK_IS_GESTURE
#define GTK_IS_GESTURE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GTK_TYPE_GESTURE))
GTK_IS_GESTURE_CLASS
#define GTK_IS_GESTURE_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GTK_TYPE_GESTURE))
GTK_GESTURE_GET_CLASS
#define GTK_GESTURE_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GTK_TYPE_GESTURE, GtkGestureClass))
gtk_gesture_get_type
GType
void
gtk_gesture_get_device
GdkDevice *
GtkGesture *gesture
gtk_gesture_set_state
gboolean
GtkGesture *gesture, GtkEventSequenceState state
gtk_gesture_get_sequence_state
GtkEventSequenceState
GtkGesture *gesture, GdkEventSequence *sequence
gtk_gesture_set_sequence_state
gboolean
GtkGesture *gesture, GdkEventSequence *sequence, GtkEventSequenceState state
gtk_gesture_get_sequences
GList *
GtkGesture *gesture
gtk_gesture_get_last_updated_sequence
GdkEventSequence *
GtkGesture *gesture
gtk_gesture_handles_sequence
gboolean
GtkGesture *gesture, GdkEventSequence *sequence
gtk_gesture_get_last_event
const GdkEvent *
GtkGesture *gesture, GdkEventSequence *sequence
gtk_gesture_get_point
gboolean
GtkGesture *gesture, GdkEventSequence *sequence, gdouble *x, gdouble *y
gtk_gesture_get_bounding_box
gboolean
GtkGesture *gesture, GdkRectangle *rect
gtk_gesture_get_bounding_box_center
gboolean
GtkGesture *gesture, gdouble *x, gdouble *y
gtk_gesture_is_active
gboolean
GtkGesture *gesture
gtk_gesture_is_recognized
gboolean
GtkGesture *gesture
gtk_gesture_group
void
GtkGesture *group_gesture, GtkGesture *gesture
gtk_gesture_ungroup
void
GtkGesture *gesture
gtk_gesture_get_group
GList *
GtkGesture *gesture
gtk_gesture_is_grouped_with
gboolean
GtkGesture *gesture, GtkGesture *other
GtkGestureClass
GTK_TYPE_GESTURE_CLICK
#define GTK_TYPE_GESTURE_CLICK (gtk_gesture_click_get_type ())
GTK_GESTURE_CLICK
#define GTK_GESTURE_CLICK(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GTK_TYPE_GESTURE_CLICK, GtkGestureClick))
GTK_GESTURE_CLICK_CLASS
#define GTK_GESTURE_CLICK_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GTK_TYPE_GESTURE_CLICK, GtkGestureClickClass))
GTK_IS_GESTURE_CLICK
#define GTK_IS_GESTURE_CLICK(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GTK_TYPE_GESTURE_CLICK))
GTK_IS_GESTURE_CLICK_CLASS
#define GTK_IS_GESTURE_CLICK_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GTK_TYPE_GESTURE_CLICK))
GTK_GESTURE_CLICK_GET_CLASS
#define GTK_GESTURE_CLICK_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GTK_TYPE_GESTURE_CLICK, GtkGestureClickClass))
gtk_gesture_click_get_type
GType
void
gtk_gesture_click_new
GtkGesture *
void
gtk_gesture_click_set_area
void
GtkGestureClick *gesture, const GdkRectangle *rect
gtk_gesture_click_get_area
gboolean
GtkGestureClick *gesture, GdkRectangle *rect
GtkGestureClick
GtkGestureClickClass
GtkGestureClick
struct _GtkGestureClick
{
GtkGestureSingle parent_instance;
};
GtkGestureClickClass
struct _GtkGestureClickClass
{
GtkGestureSingleClass parent_class;
void (* pressed) (GtkGestureClick *gesture,
gint n_press,
gdouble x,
gdouble y);
void (* released) (GtkGestureClick *gesture,
gint n_press,
gdouble x,
gdouble y);
void (* stopped) (GtkGestureClick *gesture);
/**/
gpointer padding[10];
};
GTK_TYPE_GESTURE_DRAG
#define GTK_TYPE_GESTURE_DRAG (gtk_gesture_drag_get_type ())
GTK_GESTURE_DRAG
#define GTK_GESTURE_DRAG(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GTK_TYPE_GESTURE_DRAG, GtkGestureDrag))
GTK_GESTURE_DRAG_CLASS
#define GTK_GESTURE_DRAG_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GTK_TYPE_GESTURE_DRAG, GtkGestureDragClass))
GTK_IS_GESTURE_DRAG
#define GTK_IS_GESTURE_DRAG(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GTK_TYPE_GESTURE_DRAG))
GTK_IS_GESTURE_DRAG_CLASS
#define GTK_IS_GESTURE_DRAG_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GTK_TYPE_GESTURE_DRAG))
GTK_GESTURE_DRAG_GET_CLASS
#define GTK_GESTURE_DRAG_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GTK_TYPE_GESTURE_DRAG, GtkGestureDragClass))
gtk_gesture_drag_get_type
GType
void
gtk_gesture_drag_new
GtkGesture *
void
gtk_gesture_drag_get_start_point
gboolean
GtkGestureDrag *gesture, gdouble *x, gdouble *y
gtk_gesture_drag_get_offset
gboolean
GtkGestureDrag *gesture, gdouble *x, gdouble *y
GtkGestureDrag
GtkGestureDragClass
GTK_TYPE_GESTURE_LONG_PRESS
#define GTK_TYPE_GESTURE_LONG_PRESS (gtk_gesture_long_press_get_type ())
GTK_GESTURE_LONG_PRESS
#define GTK_GESTURE_LONG_PRESS(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GTK_TYPE_GESTURE_LONG_PRESS, GtkGestureLongPress))
GTK_GESTURE_LONG_PRESS_CLASS
#define GTK_GESTURE_LONG_PRESS_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GTK_TYPE_GESTURE_LONG_PRESS, GtkGestureLongPressClass))
GTK_IS_GESTURE_LONG_PRESS
#define GTK_IS_GESTURE_LONG_PRESS(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GTK_TYPE_GESTURE_LONG_PRESS))
GTK_IS_GESTURE_LONG_PRESS_CLASS
#define GTK_IS_GESTURE_LONG_PRESS_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GTK_TYPE_GESTURE_LONG_PRESS))
GTK_GESTURE_LONG_PRESS_GET_CLASS
#define GTK_GESTURE_LONG_PRESS_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GTK_TYPE_GESTURE_LONG_PRESS, GtkGestureLongPressClass))
gtk_gesture_long_press_get_type
GType
void
gtk_gesture_long_press_new
GtkGesture *
void
gtk_gesture_long_press_set_delay_factor
void
GtkGestureLongPress *gesture, double delay_factor
gtk_gesture_long_press_get_delay_factor
double
GtkGestureLongPress *gesture
GtkGestureLongPress
GtkGestureLongPressClass
GTK_TYPE_GESTURE_PAN
#define GTK_TYPE_GESTURE_PAN (gtk_gesture_pan_get_type ())
GTK_GESTURE_PAN
#define GTK_GESTURE_PAN(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GTK_TYPE_GESTURE_PAN, GtkGesturePan))
GTK_GESTURE_PAN_CLASS
#define GTK_GESTURE_PAN_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GTK_TYPE_GESTURE_PAN, GtkGesturePanClass))
GTK_IS_GESTURE_PAN
#define GTK_IS_GESTURE_PAN(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GTK_TYPE_GESTURE_PAN))
GTK_IS_GESTURE_PAN_CLASS
#define GTK_IS_GESTURE_PAN_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GTK_TYPE_GESTURE_PAN))
GTK_GESTURE_PAN_GET_CLASS
#define GTK_GESTURE_PAN_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GTK_TYPE_GESTURE_PAN, GtkGesturePanClass))
gtk_gesture_pan_get_type
GType
void
gtk_gesture_pan_new
GtkGesture *
GtkOrientation orientation
gtk_gesture_pan_get_orientation
GtkOrientation
GtkGesturePan *gesture
gtk_gesture_pan_set_orientation
void
GtkGesturePan *gesture, GtkOrientation orientation
GtkGesturePan
GtkGesturePanClass
GTK_TYPE_GESTURE_ROTATE
#define GTK_TYPE_GESTURE_ROTATE (gtk_gesture_rotate_get_type ())
GTK_GESTURE_ROTATE
#define GTK_GESTURE_ROTATE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GTK_TYPE_GESTURE_ROTATE, GtkGestureRotate))
GTK_GESTURE_ROTATE_CLASS
#define GTK_GESTURE_ROTATE_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GTK_TYPE_GESTURE_ROTATE, GtkGestureRotateClass))
GTK_IS_GESTURE_ROTATE
#define GTK_IS_GESTURE_ROTATE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GTK_TYPE_GESTURE_ROTATE))
GTK_IS_GESTURE_ROTATE_CLASS
#define GTK_IS_GESTURE_ROTATE_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GTK_TYPE_GESTURE_ROTATE))
GTK_GESTURE_ROTATE_GET_CLASS
#define GTK_GESTURE_ROTATE_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GTK_TYPE_GESTURE_ROTATE, GtkGestureRotateClass))
gtk_gesture_rotate_get_type
GType
void
gtk_gesture_rotate_new
GtkGesture *
void
gtk_gesture_rotate_get_angle_delta
gdouble
GtkGestureRotate *gesture
GtkGestureRotate
GtkGestureRotateClass
GTK_TYPE_GESTURE_SINGLE
#define GTK_TYPE_GESTURE_SINGLE (gtk_gesture_single_get_type ())
GTK_GESTURE_SINGLE
#define GTK_GESTURE_SINGLE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GTK_TYPE_GESTURE_SINGLE, GtkGestureSingle))
GTK_GESTURE_SINGLE_CLASS
#define GTK_GESTURE_SINGLE_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GTK_TYPE_GESTURE_SINGLE, GtkGestureSingleClass))
GTK_IS_GESTURE_SINGLE
#define GTK_IS_GESTURE_SINGLE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GTK_TYPE_GESTURE_SINGLE))
GTK_IS_GESTURE_SINGLE_CLASS
#define GTK_IS_GESTURE_SINGLE_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GTK_TYPE_GESTURE_SINGLE))
GTK_GESTURE_SINGLE_GET_CLASS
#define GTK_GESTURE_SINGLE_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GTK_TYPE_GESTURE_SINGLE, GtkGestureSingleClass))
gtk_gesture_single_get_type
GType
void
gtk_gesture_single_get_touch_only
gboolean
GtkGestureSingle *gesture
gtk_gesture_single_set_touch_only
void
GtkGestureSingle *gesture, gboolean touch_only
gtk_gesture_single_get_exclusive
gboolean
GtkGestureSingle *gesture
gtk_gesture_single_set_exclusive
void
GtkGestureSingle *gesture, gboolean exclusive
gtk_gesture_single_get_button
guint
GtkGestureSingle *gesture
gtk_gesture_single_set_button
void
GtkGestureSingle *gesture, guint button
gtk_gesture_single_get_current_button
guint
GtkGestureSingle *gesture
gtk_gesture_single_get_current_sequence
GdkEventSequence *
GtkGestureSingle *gesture
GtkGestureSingle
GtkGestureSingleClass
GTK_TYPE_GESTURE_STYLUS
#define GTK_TYPE_GESTURE_STYLUS (gtk_gesture_stylus_get_type ())
GTK_GESTURE_STYLUS
#define GTK_GESTURE_STYLUS(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GTK_TYPE_GESTURE_STYLUS, GtkGestureStylus))
GTK_GESTURE_STYLUS_CLASS
#define GTK_GESTURE_STYLUS_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GTK_TYPE_GESTURE_STYLUS, GtkGestureStylusClass))
GTK_IS_GESTURE_STYLUS
#define GTK_IS_GESTURE_STYLUS(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GTK_TYPE_GESTURE_STYLUS))
GTK_IS_GESTURE_STYLUS_CLASS
#define GTK_IS_GESTURE_STYLUS_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GTK_TYPE_GESTURE_STYLUS))
GTK_GESTURE_STYLUS_GET_CLASS
#define GTK_GESTURE_STYLUS_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GTK_TYPE_GESTURE_STYLUS, GtkGestureStylusClass))
gtk_gesture_stylus_get_type
GType
void
gtk_gesture_stylus_new
GtkGesture *
void
gtk_gesture_stylus_get_axis
gboolean
GtkGestureStylus *gesture, GdkAxisUse axis, gdouble *value
gtk_gesture_stylus_get_axes
gboolean
GtkGestureStylus *gesture, GdkAxisUse axes[], gdouble **values
gtk_gesture_stylus_get_backlog
gboolean
GtkGestureStylus *gesture, GdkTimeCoord **backlog, guint *n_elems
gtk_gesture_stylus_get_device_tool
GdkDeviceTool *
GtkGestureStylus *gesture
GtkGestureStylus
GtkGestureStylusClass
GTK_TYPE_GESTURE_SWIPE
#define GTK_TYPE_GESTURE_SWIPE (gtk_gesture_swipe_get_type ())
GTK_GESTURE_SWIPE
#define GTK_GESTURE_SWIPE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GTK_TYPE_GESTURE_SWIPE, GtkGestureSwipe))
GTK_GESTURE_SWIPE_CLASS
#define GTK_GESTURE_SWIPE_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GTK_TYPE_GESTURE_SWIPE, GtkGestureSwipeClass))
GTK_IS_GESTURE_SWIPE
#define GTK_IS_GESTURE_SWIPE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GTK_TYPE_GESTURE_SWIPE))
GTK_IS_GESTURE_SWIPE_CLASS
#define GTK_IS_GESTURE_SWIPE_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GTK_TYPE_GESTURE_SWIPE))
GTK_GESTURE_SWIPE_GET_CLASS
#define GTK_GESTURE_SWIPE_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GTK_TYPE_GESTURE_SWIPE, GtkGestureSwipeClass))
gtk_gesture_swipe_get_type
GType
void
gtk_gesture_swipe_new
GtkGesture *
void
gtk_gesture_swipe_get_velocity
gboolean
GtkGestureSwipe *gesture, gdouble *velocity_x, gdouble *velocity_y
GtkGestureSwipe
GtkGestureSwipeClass
GTK_TYPE_GESTURE_ZOOM
#define GTK_TYPE_GESTURE_ZOOM (gtk_gesture_zoom_get_type ())
GTK_GESTURE_ZOOM
#define GTK_GESTURE_ZOOM(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GTK_TYPE_GESTURE_ZOOM, GtkGestureZoom))
GTK_GESTURE_ZOOM_CLASS
#define GTK_GESTURE_ZOOM_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GTK_TYPE_GESTURE_ZOOM, GtkGestureZoomClass))
GTK_IS_GESTURE_ZOOM
#define GTK_IS_GESTURE_ZOOM(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GTK_TYPE_GESTURE_ZOOM))
GTK_IS_GESTURE_ZOOM_CLASS
#define GTK_IS_GESTURE_ZOOM_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GTK_TYPE_GESTURE_ZOOM))
GTK_GESTURE_ZOOM_GET_CLASS
#define GTK_GESTURE_ZOOM_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GTK_TYPE_GESTURE_ZOOM, GtkGestureZoomClass))
gtk_gesture_zoom_get_type
GType
void
gtk_gesture_zoom_new
GtkGesture *
void
gtk_gesture_zoom_get_scale_delta
gdouble
GtkGestureZoom *gesture
GtkGestureZoom
GtkGestureZoomClass
GTK_TYPE_GL_AREA
#define GTK_TYPE_GL_AREA (gtk_gl_area_get_type ())
GTK_GL_AREA
#define GTK_GL_AREA(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_GL_AREA, GtkGLArea))
GTK_IS_GL_AREA
#define GTK_IS_GL_AREA(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_GL_AREA))
GTK_GL_AREA_CLASS
#define GTK_GL_AREA_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_GL_AREA, GtkGLAreaClass))
GTK_IS_GL_AREA_CLASS
#define GTK_IS_GL_AREA_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_GL_AREA))
GTK_GL_AREA_GET_CLASS
#define GTK_GL_AREA_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_GL_AREA, GtkGLAreaClass))
GtkGLArea
struct _GtkGLArea
{
/*< private >*/
GtkWidget parent_instance;
};
GtkGLAreaClass
struct _GtkGLAreaClass
{
/*< private >*/
GtkWidgetClass parent_class;
/*< public >*/
gboolean (* render) (GtkGLArea *area,
GdkGLContext *context);
void (* resize) (GtkGLArea *area,
int width,
int height);
GdkGLContext * (* create_context) (GtkGLArea *area);
/*< private >*/
gpointer _padding[8];
};
gtk_gl_area_get_type
GType
void
gtk_gl_area_new
GtkWidget *
void
gtk_gl_area_set_use_es
void
GtkGLArea *area, gboolean use_es
gtk_gl_area_get_use_es
gboolean
GtkGLArea *area
gtk_gl_area_set_required_version
void
GtkGLArea *area, gint major, gint minor
gtk_gl_area_get_required_version
void
GtkGLArea *area, gint *major, gint *minor
gtk_gl_area_get_has_depth_buffer
gboolean
GtkGLArea *area
gtk_gl_area_set_has_depth_buffer
void
GtkGLArea *area, gboolean has_depth_buffer
gtk_gl_area_get_has_stencil_buffer
gboolean
GtkGLArea *area
gtk_gl_area_set_has_stencil_buffer
void
GtkGLArea *area, gboolean has_stencil_buffer
gtk_gl_area_get_auto_render
gboolean
GtkGLArea *area
gtk_gl_area_set_auto_render
void
GtkGLArea *area, gboolean auto_render
gtk_gl_area_queue_render
void
GtkGLArea *area
gtk_gl_area_get_context
GdkGLContext *
GtkGLArea *area
gtk_gl_area_make_current
void
GtkGLArea *area
gtk_gl_area_attach_buffers
void
GtkGLArea *area
gtk_gl_area_set_error
void
GtkGLArea *area, const GError *error
gtk_gl_area_get_error
GError *
GtkGLArea *area
GTK_TYPE_GRID
#define GTK_TYPE_GRID (gtk_grid_get_type ())
GTK_GRID
#define GTK_GRID(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_GRID, GtkGrid))
GTK_GRID_CLASS
#define GTK_GRID_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_GRID, GtkGridClass))
GTK_IS_GRID
#define GTK_IS_GRID(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_GRID))
GTK_IS_GRID_CLASS
#define GTK_IS_GRID_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_GRID))
GTK_GRID_GET_CLASS
#define GTK_GRID_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_GRID, GtkGridClass))
GtkGrid
struct _GtkGrid
{
/*< private >*/
GtkContainer parent_instance;
};
GtkGridClass
struct _GtkGridClass
{
GtkContainerClass parent_class;
/*< private >*/
gpointer padding[8];
};
gtk_grid_get_type
GType
void
gtk_grid_new
GtkWidget *
void
gtk_grid_attach
void
GtkGrid *grid, GtkWidget *child, gint left, gint top, gint width, gint height
gtk_grid_attach_next_to
void
GtkGrid *grid, GtkWidget *child, GtkWidget *sibling, GtkPositionType side, gint width, gint height
gtk_grid_get_child_at
GtkWidget *
GtkGrid *grid, gint left, gint top
gtk_grid_insert_row
void
GtkGrid *grid, gint position
gtk_grid_insert_column
void
GtkGrid *grid, gint position
gtk_grid_remove_row
void
GtkGrid *grid, gint position
gtk_grid_remove_column
void
GtkGrid *grid, gint position
gtk_grid_insert_next_to
void
GtkGrid *grid, GtkWidget *sibling, GtkPositionType side
gtk_grid_set_row_homogeneous
void
GtkGrid *grid, gboolean homogeneous
gtk_grid_get_row_homogeneous
gboolean
GtkGrid *grid
gtk_grid_set_row_spacing
void
GtkGrid *grid, guint spacing
gtk_grid_get_row_spacing
guint
GtkGrid *grid
gtk_grid_set_column_homogeneous
void
GtkGrid *grid, gboolean homogeneous
gtk_grid_get_column_homogeneous
gboolean
GtkGrid *grid
gtk_grid_set_column_spacing
void
GtkGrid *grid, guint spacing
gtk_grid_get_column_spacing
guint
GtkGrid *grid
gtk_grid_set_row_baseline_position
void
GtkGrid *grid, gint row, GtkBaselinePosition pos
gtk_grid_get_row_baseline_position
GtkBaselinePosition
GtkGrid *grid, gint row
gtk_grid_set_baseline_row
void
GtkGrid *grid, gint row
gtk_grid_get_baseline_row
gint
GtkGrid *grid
gtk_grid_query_child
void
GtkGrid *grid, GtkWidget *child, gint *left, gint *top, gint *width, gint *height
GTK_TYPE_GRID_LAYOUT
#define GTK_TYPE_GRID_LAYOUT (gtk_grid_layout_get_type ())
GTK_TYPE_GRID_LAYOUT_CHILD
#define GTK_TYPE_GRID_LAYOUT_CHILD (gtk_grid_layout_child_get_type ())
gtk_grid_layout_new
GtkLayoutManager *
void
gtk_grid_layout_set_row_homogeneous
void
GtkGridLayout *grid, gboolean homogeneous
gtk_grid_layout_get_row_homogeneous
gboolean
GtkGridLayout *grid
gtk_grid_layout_set_row_spacing
void
GtkGridLayout *grid, guint spacing
gtk_grid_layout_get_row_spacing
guint
GtkGridLayout *grid
gtk_grid_layout_set_column_homogeneous
void
GtkGridLayout *grid, gboolean homogeneous
gtk_grid_layout_get_column_homogeneous
gboolean
GtkGridLayout *grid
gtk_grid_layout_set_column_spacing
void
GtkGridLayout *grid, guint spacing
gtk_grid_layout_get_column_spacing
guint
GtkGridLayout *grid
gtk_grid_layout_set_row_baseline_position
void
GtkGridLayout *grid, int row, GtkBaselinePosition pos
gtk_grid_layout_get_row_baseline_position
GtkBaselinePosition
GtkGridLayout *grid, int row
gtk_grid_layout_set_baseline_row
void
GtkGridLayout *grid, int row
gtk_grid_layout_get_baseline_row
int
GtkGridLayout *grid
gtk_grid_layout_child_set_top_attach
void
GtkGridLayoutChild *child, int attach
gtk_grid_layout_child_get_top_attach
int
GtkGridLayoutChild *child
gtk_grid_layout_child_set_left_attach
void
GtkGridLayoutChild *child, int attach
gtk_grid_layout_child_get_left_attach
int
GtkGridLayoutChild *child
gtk_grid_layout_child_set_column_span
void
GtkGridLayoutChild *child, int span
gtk_grid_layout_child_get_column_span
int
GtkGridLayoutChild *child
gtk_grid_layout_child_set_row_span
void
GtkGridLayoutChild *child, int span
gtk_grid_layout_child_get_row_span
int
GtkGridLayoutChild *child
GtkGridLayout
GtkGridLayoutChild
GTK_TYPE_HEADER_BAR
#define GTK_TYPE_HEADER_BAR (gtk_header_bar_get_type ())
GTK_HEADER_BAR
#define GTK_HEADER_BAR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_HEADER_BAR, GtkHeaderBar))
GTK_IS_HEADER_BAR
#define GTK_IS_HEADER_BAR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_HEADER_BAR))
gtk_header_bar_get_type
GType
void
gtk_header_bar_new
GtkWidget *
void
gtk_header_bar_set_title
void
GtkHeaderBar *bar, const gchar *title
gtk_header_bar_get_title
const gchar *
GtkHeaderBar *bar
gtk_header_bar_set_subtitle
void
GtkHeaderBar *bar, const gchar *subtitle
gtk_header_bar_get_subtitle
const gchar *
GtkHeaderBar *bar
gtk_header_bar_set_custom_title
void
GtkHeaderBar *bar, GtkWidget *title_widget
gtk_header_bar_get_custom_title
GtkWidget *
GtkHeaderBar *bar
gtk_header_bar_pack_start
void
GtkHeaderBar *bar, GtkWidget *child
gtk_header_bar_pack_end
void
GtkHeaderBar *bar, GtkWidget *child
gtk_header_bar_get_show_title_buttons
gboolean
GtkHeaderBar *bar
gtk_header_bar_set_show_title_buttons
void
GtkHeaderBar *bar, gboolean setting
gtk_header_bar_set_has_subtitle
void
GtkHeaderBar *bar, gboolean setting
gtk_header_bar_get_has_subtitle
gboolean
GtkHeaderBar *bar
gtk_header_bar_set_decoration_layout
void
GtkHeaderBar *bar, const gchar *layout
gtk_header_bar_get_decoration_layout
const gchar *
GtkHeaderBar *bar
GtkHeaderBar
GTK_TYPE_ICON_PAINTABLE
#define GTK_TYPE_ICON_PAINTABLE (gtk_icon_paintable_get_type ())
GTK_ICON_PAINTABLE
#define GTK_ICON_PAINTABLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_ICON_PAINTABLE, GtkIconPaintable))
GTK_IS_ICON_PAINTABLE
#define GTK_IS_ICON_PAINTABLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_ICON_PAINTABLE))
GTK_TYPE_ICON_THEME
#define GTK_TYPE_ICON_THEME (gtk_icon_theme_get_type ())
GTK_ICON_THEME
#define GTK_ICON_THEME(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_ICON_THEME, GtkIconTheme))
GTK_IS_ICON_THEME
#define GTK_IS_ICON_THEME(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_ICON_THEME))
GtkIconLookupFlags
typedef enum
{
GTK_ICON_LOOKUP_FORCE_SIZE = 1 << 0,
GTK_ICON_LOOKUP_FORCE_REGULAR = 1 << 1,
GTK_ICON_LOOKUP_FORCE_SYMBOLIC = 1 << 2
} GtkIconLookupFlags;
GTK_ICON_THEME_ERROR
#define GTK_ICON_THEME_ERROR gtk_icon_theme_error_quark ()
GtkIconThemeError
typedef enum {
GTK_ICON_THEME_NOT_FOUND,
GTK_ICON_THEME_FAILED
} GtkIconThemeError;
gtk_icon_theme_error_quark
GQuark
void
gtk_icon_theme_get_type
GType
void
gtk_icon_theme_new
GtkIconTheme *
void
gtk_icon_theme_get_for_display
GtkIconTheme *
GdkDisplay *display
gtk_icon_theme_set_display
void
GtkIconTheme *self, GdkDisplay *display
gtk_icon_theme_set_search_path
void
GtkIconTheme *self, const gchar *path[], gint n_elements
gtk_icon_theme_get_search_path
void
GtkIconTheme *self, gchar **path[], gint *n_elements
gtk_icon_theme_append_search_path
void
GtkIconTheme *self, const gchar *path
gtk_icon_theme_prepend_search_path
void
GtkIconTheme *self, const gchar *path
gtk_icon_theme_add_resource_path
void
GtkIconTheme *self, const gchar *path
gtk_icon_theme_set_custom_theme
void
GtkIconTheme *self, const gchar *theme_name
gtk_icon_theme_has_icon
gboolean
GtkIconTheme *self, const gchar *icon_name
gtk_icon_theme_get_icon_sizes
gint *
GtkIconTheme *self, const gchar *icon_name
gtk_icon_theme_lookup_icon
GtkIconPaintable *
GtkIconTheme *self, const char *icon_name, const char *fallbacks[], gint size, gint scale, GtkTextDirection direction, GtkIconLookupFlags flags
gtk_icon_theme_lookup_by_gicon
GtkIconPaintable *
GtkIconTheme *self, GIcon *icon, gint size, gint scale, GtkTextDirection direction, GtkIconLookupFlags flags
gtk_icon_theme_list_icons
GList *
GtkIconTheme *self
gtk_icon_paintable_get_type
GType
void
gtk_icon_paintable_get_filename
const gchar *
GtkIconPaintable *self
gtk_icon_paintable_is_symbolic
gboolean
GtkIconPaintable *self
gtk_icon_paintable_download_texture
GdkTexture *
GtkIconPaintable *self, GError **error
GtkIconPaintable
GtkIconTheme
GTK_TYPE_ICON_VIEW
#define GTK_TYPE_ICON_VIEW (gtk_icon_view_get_type ())
GTK_ICON_VIEW
#define GTK_ICON_VIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_ICON_VIEW, GtkIconView))
GTK_IS_ICON_VIEW
#define GTK_IS_ICON_VIEW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_ICON_VIEW))
GtkIconViewForeachFunc
void
GtkIconView *icon_view, GtkTreePath *path, gpointer data
GtkIconViewDropPosition
typedef enum
{
GTK_ICON_VIEW_NO_DROP,
GTK_ICON_VIEW_DROP_INTO,
GTK_ICON_VIEW_DROP_LEFT,
GTK_ICON_VIEW_DROP_RIGHT,
GTK_ICON_VIEW_DROP_ABOVE,
GTK_ICON_VIEW_DROP_BELOW
} GtkIconViewDropPosition;
gtk_icon_view_get_type
GType
void
gtk_icon_view_new
GtkWidget *
void
gtk_icon_view_new_with_area
GtkWidget *
GtkCellArea *area
gtk_icon_view_new_with_model
GtkWidget *
GtkTreeModel *model
gtk_icon_view_set_model
void
GtkIconView *icon_view, GtkTreeModel *model
gtk_icon_view_get_model
GtkTreeModel *
GtkIconView *icon_view
gtk_icon_view_set_text_column
void
GtkIconView *icon_view, gint column
gtk_icon_view_get_text_column
gint
GtkIconView *icon_view
gtk_icon_view_set_markup_column
void
GtkIconView *icon_view, gint column
gtk_icon_view_get_markup_column
gint
GtkIconView *icon_view
gtk_icon_view_set_pixbuf_column
void
GtkIconView *icon_view, gint column
gtk_icon_view_get_pixbuf_column
gint
GtkIconView *icon_view
gtk_icon_view_set_item_orientation
void
GtkIconView *icon_view, GtkOrientation orientation
gtk_icon_view_get_item_orientation
GtkOrientation
GtkIconView *icon_view
gtk_icon_view_set_columns
void
GtkIconView *icon_view, gint columns
gtk_icon_view_get_columns
gint
GtkIconView *icon_view
gtk_icon_view_set_item_width
void
GtkIconView *icon_view, gint item_width
gtk_icon_view_get_item_width
gint
GtkIconView *icon_view
gtk_icon_view_set_spacing
void
GtkIconView *icon_view, gint spacing
gtk_icon_view_get_spacing
gint
GtkIconView *icon_view
gtk_icon_view_set_row_spacing
void
GtkIconView *icon_view, gint row_spacing
gtk_icon_view_get_row_spacing
gint
GtkIconView *icon_view
gtk_icon_view_set_column_spacing
void
GtkIconView *icon_view, gint column_spacing
gtk_icon_view_get_column_spacing
gint
GtkIconView *icon_view
gtk_icon_view_set_margin
void
GtkIconView *icon_view, gint margin
gtk_icon_view_get_margin
gint
GtkIconView *icon_view
gtk_icon_view_set_item_padding
void
GtkIconView *icon_view, gint item_padding
gtk_icon_view_get_item_padding
gint
GtkIconView *icon_view
gtk_icon_view_get_path_at_pos
GtkTreePath *
GtkIconView *icon_view, gint x, gint y
gtk_icon_view_get_item_at_pos
gboolean
GtkIconView *icon_view, gint x, gint y, GtkTreePath **path, GtkCellRenderer **cell
gtk_icon_view_get_visible_range
gboolean
GtkIconView *icon_view, GtkTreePath **start_path, GtkTreePath **end_path
gtk_icon_view_set_activate_on_single_click
void
GtkIconView *icon_view, gboolean single
gtk_icon_view_get_activate_on_single_click
gboolean
GtkIconView *icon_view
gtk_icon_view_selected_foreach
void
GtkIconView *icon_view, GtkIconViewForeachFunc func, gpointer data
gtk_icon_view_set_selection_mode
void
GtkIconView *icon_view, GtkSelectionMode mode
gtk_icon_view_get_selection_mode
GtkSelectionMode
GtkIconView *icon_view
gtk_icon_view_select_path
void
GtkIconView *icon_view, GtkTreePath *path
gtk_icon_view_unselect_path
void
GtkIconView *icon_view, GtkTreePath *path
gtk_icon_view_path_is_selected
gboolean
GtkIconView *icon_view, GtkTreePath *path
gtk_icon_view_get_item_row
gint
GtkIconView *icon_view, GtkTreePath *path
gtk_icon_view_get_item_column
gint
GtkIconView *icon_view, GtkTreePath *path
gtk_icon_view_get_selected_items
GList *
GtkIconView *icon_view
gtk_icon_view_select_all
void
GtkIconView *icon_view
gtk_icon_view_unselect_all
void
GtkIconView *icon_view
gtk_icon_view_item_activated
void
GtkIconView *icon_view, GtkTreePath *path
gtk_icon_view_set_cursor
void
GtkIconView *icon_view, GtkTreePath *path, GtkCellRenderer *cell, gboolean start_editing
gtk_icon_view_get_cursor
gboolean
GtkIconView *icon_view, GtkTreePath **path, GtkCellRenderer **cell
gtk_icon_view_scroll_to_path
void
GtkIconView *icon_view, GtkTreePath *path, gboolean use_align, gfloat row_align, gfloat col_align
gtk_icon_view_enable_model_drag_source
void
GtkIconView *icon_view, GdkModifierType start_button_mask, GdkContentFormats *formats, GdkDragAction actions
gtk_icon_view_enable_model_drag_dest
GtkDropTarget *
GtkIconView *icon_view, GdkContentFormats *formats, GdkDragAction actions
gtk_icon_view_unset_model_drag_source
void
GtkIconView *icon_view
gtk_icon_view_unset_model_drag_dest
void
GtkIconView *icon_view
gtk_icon_view_set_reorderable
void
GtkIconView *icon_view, gboolean reorderable
gtk_icon_view_get_reorderable
gboolean
GtkIconView *icon_view
gtk_icon_view_set_drag_dest_item
void
GtkIconView *icon_view, GtkTreePath *path, GtkIconViewDropPosition pos
gtk_icon_view_get_drag_dest_item
void
GtkIconView *icon_view, GtkTreePath **path, GtkIconViewDropPosition *pos
gtk_icon_view_get_dest_item_at_pos
gboolean
GtkIconView *icon_view, gint drag_x, gint drag_y, GtkTreePath **path, GtkIconViewDropPosition *pos
gtk_icon_view_create_drag_icon
GdkPaintable *
GtkIconView *icon_view, GtkTreePath *path
gtk_icon_view_get_cell_rect
gboolean
GtkIconView *icon_view, GtkTreePath *path, GtkCellRenderer *cell, GdkRectangle *rect
gtk_icon_view_set_tooltip_item
void
GtkIconView *icon_view, GtkTooltip *tooltip, GtkTreePath *path
gtk_icon_view_set_tooltip_cell
void
GtkIconView *icon_view, GtkTooltip *tooltip, GtkTreePath *path, GtkCellRenderer *cell
gtk_icon_view_get_tooltip_context
gboolean
GtkIconView *icon_view, gint *x, gint *y, gboolean keyboard_tip, GtkTreeModel **model, GtkTreePath **path, GtkTreeIter *iter
gtk_icon_view_set_tooltip_column
void
GtkIconView *icon_view, gint column
gtk_icon_view_get_tooltip_column
gint
GtkIconView *icon_view
GtkIconView
GTK_TYPE_IMAGE
#define GTK_TYPE_IMAGE (gtk_image_get_type ())
GTK_IMAGE
#define GTK_IMAGE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_IMAGE, GtkImage))
GTK_IS_IMAGE
#define GTK_IS_IMAGE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_IMAGE))
GtkImageType
typedef enum
{
GTK_IMAGE_EMPTY,
GTK_IMAGE_ICON_NAME,
GTK_IMAGE_GICON,
GTK_IMAGE_PAINTABLE
} GtkImageType;
gtk_image_get_type
GType
void
gtk_image_new
GtkWidget *
void
gtk_image_new_from_file
GtkWidget *
const gchar *filename
gtk_image_new_from_resource
GtkWidget *
const gchar *resource_path
gtk_image_new_from_pixbuf
GtkWidget *
GdkPixbuf *pixbuf
gtk_image_new_from_paintable
GtkWidget *
GdkPaintable *paintable
gtk_image_new_from_icon_name
GtkWidget *
const gchar *icon_name
gtk_image_new_from_gicon
GtkWidget *
GIcon *icon
gtk_image_clear
void
GtkImage *image
gtk_image_set_from_file
void
GtkImage *image, const gchar *filename
gtk_image_set_from_resource
void
GtkImage *image, const gchar *resource_path
gtk_image_set_from_pixbuf
void
GtkImage *image, GdkPixbuf *pixbuf
gtk_image_set_from_paintable
void
GtkImage *image, GdkPaintable *paintable
gtk_image_set_from_icon_name
void
GtkImage *image, const gchar *icon_name
gtk_image_set_from_gicon
void
GtkImage *image, GIcon *icon
gtk_image_set_pixel_size
void
GtkImage *image, gint pixel_size
gtk_image_set_icon_size
void
GtkImage *image, GtkIconSize icon_size
gtk_image_get_storage_type
GtkImageType
GtkImage *image
gtk_image_get_paintable
GdkPaintable *
GtkImage *image
gtk_image_get_icon_name
const char *
GtkImage *image
gtk_image_get_gicon
GIcon *
GtkImage *image
gtk_image_get_pixel_size
gint
GtkImage *image
gtk_image_get_icon_size
GtkIconSize
GtkImage *image
GtkImage
GTK_TYPE_IM_CONTEXT
#define GTK_TYPE_IM_CONTEXT (gtk_im_context_get_type ())
GTK_IM_CONTEXT
#define GTK_IM_CONTEXT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_IM_CONTEXT, GtkIMContext))
GTK_IM_CONTEXT_CLASS
#define GTK_IM_CONTEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_IM_CONTEXT, GtkIMContextClass))
GTK_IS_IM_CONTEXT
#define GTK_IS_IM_CONTEXT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_IM_CONTEXT))
GTK_IS_IM_CONTEXT_CLASS
#define GTK_IS_IM_CONTEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_IM_CONTEXT))
GTK_IM_CONTEXT_GET_CLASS
#define GTK_IM_CONTEXT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_IM_CONTEXT, GtkIMContextClass))
GtkIMContext
struct _GtkIMContext
{
GObject parent_instance;
};
GtkIMContextClass
struct _GtkIMContextClass
{
/*< private >*/
GObjectClass parent_class;
/*< public >*/
/* Signals */
void (*preedit_start) (GtkIMContext *context);
void (*preedit_end) (GtkIMContext *context);
void (*preedit_changed) (GtkIMContext *context);
void (*commit) (GtkIMContext *context, const gchar *str);
gboolean (*retrieve_surrounding) (GtkIMContext *context);
gboolean (*delete_surrounding) (GtkIMContext *context,
gint offset,
gint n_chars);
/* Virtual functions */
void (*set_client_widget) (GtkIMContext *context,
GtkWidget *widget);
void (*get_preedit_string) (GtkIMContext *context,
gchar **str,
PangoAttrList **attrs,
gint *cursor_pos);
gboolean (*filter_keypress) (GtkIMContext *context,
GdkEventKey *event);
void (*focus_in) (GtkIMContext *context);
void (*focus_out) (GtkIMContext *context);
void (*reset) (GtkIMContext *context);
void (*set_cursor_location) (GtkIMContext *context,
GdkRectangle *area);
void (*set_use_preedit) (GtkIMContext *context,
gboolean use_preedit);
void (*set_surrounding) (GtkIMContext *context,
const gchar *text,
gint len,
gint cursor_index);
gboolean (*get_surrounding) (GtkIMContext *context,
gchar **text,
gint *cursor_index);
/*< private >*/
/* Padding for future expansion */
void (*_gtk_reserved1) (void);
void (*_gtk_reserved2) (void);
void (*_gtk_reserved3) (void);
void (*_gtk_reserved4) (void);
void (*_gtk_reserved5) (void);
void (*_gtk_reserved6) (void);
};
gtk_im_context_get_type
GType
void
gtk_im_context_set_client_widget
void
GtkIMContext *context, GtkWidget *widget
gtk_im_context_get_preedit_string
void
GtkIMContext *context, gchar **str, PangoAttrList **attrs, gint *cursor_pos
gtk_im_context_filter_keypress
gboolean
GtkIMContext *context, GdkEventKey *event
gtk_im_context_focus_in
void
GtkIMContext *context
gtk_im_context_focus_out
void
GtkIMContext *context
gtk_im_context_reset
void
GtkIMContext *context
gtk_im_context_set_cursor_location
void
GtkIMContext *context, const GdkRectangle *area
gtk_im_context_set_use_preedit
void
GtkIMContext *context, gboolean use_preedit
gtk_im_context_set_surrounding
void
GtkIMContext *context, const gchar *text, gint len, gint cursor_index
gtk_im_context_get_surrounding
gboolean
GtkIMContext *context, gchar **text, gint *cursor_index
gtk_im_context_delete_surrounding
gboolean
GtkIMContext *context, gint offset, gint n_chars
gtk_im_context_broadway_get_type
GType
void
GTK_TYPE_IM_CONTEXT_IME
#define GTK_TYPE_IM_CONTEXT_IME (gtk_im_context_ime_get_type ())
GTK_IM_CONTEXT_IME
#define GTK_IM_CONTEXT_IME(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_IM_CONTEXT_IME, GtkIMContextIME))
GTK_IM_CONTEXT_IME_CLASS
#define GTK_IM_CONTEXT_IME_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_IM_CONTEXT_IME, GtkIMContextIMEClass))
GTK_IS_IM_CONTEXT_IME
#define GTK_IS_IM_CONTEXT_IME(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_IM_CONTEXT_IME))
GTK_IS_IM_CONTEXT_IME_CLASS
#define GTK_IS_IM_CONTEXT_IME_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_IM_CONTEXT_IME))
GTK_IM_CONTEXT_IME_GET_CLASS
#define GTK_IM_CONTEXT_IME_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_IM_CONTEXT_IME, GtkIMContextIMEClass))
GtkIMContextIME
struct _GtkIMContextIME
{
GtkIMContext object;
GdkSurface *client_surface;
guint use_preedit : 1;
guint preediting : 1;
guint opened : 1;
guint focus : 1;
GdkRectangle cursor_location;
gchar *commit_string;
GtkIMContextIMEPrivate *priv;
};
GtkIMContextIMEClass
struct _GtkIMContextIMEClass
{
GtkIMContextClass parent_class;
};
gtk_im_context_ime_get_type
GType
void
gtk_im_context_ime_register_type
void
GTypeModule * type_module
gtk_im_context_ime_new
GtkIMContext *
void
GtkIMContextIMEPrivate
gtk_im_context_quartz_get_type
GType
void
GTK_MAX_COMPOSE_LEN
#define GTK_MAX_COMPOSE_LEN 7
GTK_TYPE_IM_CONTEXT_SIMPLE
#define GTK_TYPE_IM_CONTEXT_SIMPLE (gtk_im_context_simple_get_type ())
GTK_IM_CONTEXT_SIMPLE
#define GTK_IM_CONTEXT_SIMPLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_IM_CONTEXT_SIMPLE, GtkIMContextSimple))
GTK_IM_CONTEXT_SIMPLE_CLASS
#define GTK_IM_CONTEXT_SIMPLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_IM_CONTEXT_SIMPLE, GtkIMContextSimpleClass))
GTK_IS_IM_CONTEXT_SIMPLE
#define GTK_IS_IM_CONTEXT_SIMPLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_IM_CONTEXT_SIMPLE))
GTK_IS_IM_CONTEXT_SIMPLE_CLASS
#define GTK_IS_IM_CONTEXT_SIMPLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_IM_CONTEXT_SIMPLE))
GTK_IM_CONTEXT_SIMPLE_GET_CLASS
#define GTK_IM_CONTEXT_SIMPLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_IM_CONTEXT_SIMPLE, GtkIMContextSimpleClass))
GtkIMContextSimple
struct _GtkIMContextSimple
{
GtkIMContext object;
/*< private >*/
GtkIMContextSimplePrivate *priv;
};
GtkIMContextSimpleClass
struct _GtkIMContextSimpleClass
{
GtkIMContextClass parent_class;
};
gtk_im_context_simple_get_type
GType
void
gtk_im_context_simple_new
GtkIMContext *
void
gtk_im_context_simple_add_table
void
GtkIMContextSimple *context_simple, guint16 *data, gint max_seq_len, gint n_seqs
gtk_im_context_simple_add_compose_file
void
GtkIMContextSimple *context_simple, const gchar *compose_file
GtkIMContextSimplePrivate
gtk_im_context_wayland_get_type
GType
void
gtk_im_modules_init
void
void
GTK_IM_MODULE_EXTENSION_POINT_NAME
#define GTK_IM_MODULE_EXTENSION_POINT_NAME "gtk-im-module"
GTK_TYPE_IM_MULTICONTEXT
#define GTK_TYPE_IM_MULTICONTEXT (gtk_im_multicontext_get_type ())
GTK_IM_MULTICONTEXT
#define GTK_IM_MULTICONTEXT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_IM_MULTICONTEXT, GtkIMMulticontext))
GTK_IM_MULTICONTEXT_CLASS
#define GTK_IM_MULTICONTEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_IM_MULTICONTEXT, GtkIMMulticontextClass))
GTK_IS_IM_MULTICONTEXT
#define GTK_IS_IM_MULTICONTEXT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_IM_MULTICONTEXT))
GTK_IS_IM_MULTICONTEXT_CLASS
#define GTK_IS_IM_MULTICONTEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_IM_MULTICONTEXT))
GTK_IM_MULTICONTEXT_GET_CLASS
#define GTK_IM_MULTICONTEXT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_IM_MULTICONTEXT, GtkIMMulticontextClass))
GtkIMMulticontext
struct _GtkIMMulticontext
{
GtkIMContext object;
/*< private >*/
GtkIMMulticontextPrivate *priv;
};
GtkIMMulticontextClass
struct _GtkIMMulticontextClass
{
GtkIMContextClass parent_class;
/* Padding for future expansion */
void (*_gtk_reserved1) (void);
void (*_gtk_reserved2) (void);
void (*_gtk_reserved3) (void);
void (*_gtk_reserved4) (void);
};
gtk_im_multicontext_get_type
GType
void
gtk_im_multicontext_new
GtkIMContext *
void
gtk_im_multicontext_get_context_id
const char *
GtkIMMulticontext *context
gtk_im_multicontext_set_context_id
void
GtkIMMulticontext *context, const char *context_id
GtkIMMulticontextPrivate
GTK_TYPE_INFO_BAR
#define GTK_TYPE_INFO_BAR (gtk_info_bar_get_type())
GTK_INFO_BAR
#define GTK_INFO_BAR(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_INFO_BAR, GtkInfoBar))
GTK_IS_INFO_BAR
#define GTK_IS_INFO_BAR(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_INFO_BAR))
gtk_info_bar_get_type
GType
void
gtk_info_bar_new
GtkWidget *
void
gtk_info_bar_new_with_buttons
GtkWidget *
const gchar *first_button_text, ...
gtk_info_bar_get_action_area
GtkWidget *
GtkInfoBar *info_bar
gtk_info_bar_get_content_area
GtkWidget *
GtkInfoBar *info_bar
gtk_info_bar_add_action_widget
void
GtkInfoBar *info_bar, GtkWidget *child, gint response_id
gtk_info_bar_add_button
GtkWidget *
GtkInfoBar *info_bar, const gchar *button_text, gint response_id
gtk_info_bar_add_buttons
void
GtkInfoBar *info_bar, const gchar *first_button_text, ...
gtk_info_bar_set_response_sensitive
void
GtkInfoBar *info_bar, gint response_id, gboolean setting
gtk_info_bar_set_default_response
void
GtkInfoBar *info_bar, gint response_id
gtk_info_bar_response
void
GtkInfoBar *info_bar, gint response_id
gtk_info_bar_set_message_type
void
GtkInfoBar *info_bar, GtkMessageType message_type
gtk_info_bar_get_message_type
GtkMessageType
GtkInfoBar *info_bar
gtk_info_bar_set_show_close_button
void
GtkInfoBar *info_bar, gboolean setting
gtk_info_bar_get_show_close_button
gboolean
GtkInfoBar *info_bar
gtk_info_bar_set_revealed
void
GtkInfoBar *info_bar, gboolean revealed
gtk_info_bar_get_revealed
gboolean
GtkInfoBar *info_bar
GtkInfoBar
P_
#define P_(String) g_dgettext(GETTEXT_PACKAGE "-properties",String)
I_
#define I_(string) g_intern_static_string (string)
istring_is_inline
gboolean
const IString *str
istring_str
char *
IString *str
istring_clear
void
IString *str
istring_set
void
IString *str, const char *text, guint n_bytes, guint n_chars
istring_empty
gboolean
IString *str
istring_ends_with_space
gboolean
IString *str
istring_starts_with_space
gboolean
IString *str
istring_contains_unichar
gboolean
IString *str, gunichar ch
istring_only_contains_space
gboolean
IString *str
istring_contains_space
gboolean
IString *str
istring_prepend
void
IString *str, IString *other
istring_append
void
IString *str, IString *other
GtkKeyHash
GTK_TYPE_LABEL
#define GTK_TYPE_LABEL (gtk_label_get_type ())
GTK_LABEL
#define GTK_LABEL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_LABEL, GtkLabel))
GTK_IS_LABEL
#define GTK_IS_LABEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_LABEL))
gtk_label_get_type
GType
void
gtk_label_new
GtkWidget *
const gchar *str
gtk_label_new_with_mnemonic
GtkWidget *
const gchar *str
gtk_label_set_text
void
GtkLabel *label, const gchar *str
gtk_label_get_text
const gchar *
GtkLabel *label
gtk_label_set_attributes
void
GtkLabel *label, PangoAttrList *attrs
gtk_label_get_attributes
PangoAttrList *
GtkLabel *label
gtk_label_set_label
void
GtkLabel *label, const gchar *str
gtk_label_get_label
const gchar *
GtkLabel *label
gtk_label_set_markup
void
GtkLabel *label, const gchar *str
gtk_label_set_use_markup
void
GtkLabel *label, gboolean setting
gtk_label_get_use_markup
gboolean
GtkLabel *label
gtk_label_set_use_underline
void
GtkLabel *label, gboolean setting
gtk_label_get_use_underline
gboolean
GtkLabel *label
gtk_label_set_markup_with_mnemonic
void
GtkLabel *label, const gchar *str
gtk_label_get_mnemonic_keyval
guint
GtkLabel *label
gtk_label_set_mnemonic_widget
void
GtkLabel *label, GtkWidget *widget
gtk_label_get_mnemonic_widget
GtkWidget *
GtkLabel *label
gtk_label_set_text_with_mnemonic
void
GtkLabel *label, const gchar *str
gtk_label_set_justify
void
GtkLabel *label, GtkJustification jtype
gtk_label_get_justify
GtkJustification
GtkLabel *label
gtk_label_set_ellipsize
void
GtkLabel *label, PangoEllipsizeMode mode
gtk_label_get_ellipsize
PangoEllipsizeMode
GtkLabel *label
gtk_label_set_width_chars
void
GtkLabel *label, gint n_chars
gtk_label_get_width_chars
gint
GtkLabel *label
gtk_label_set_max_width_chars
void
GtkLabel *label, gint n_chars
gtk_label_get_max_width_chars
gint
GtkLabel *label
gtk_label_set_lines
void
GtkLabel *label, gint lines
gtk_label_get_lines
gint
GtkLabel *label
gtk_label_set_pattern
void
GtkLabel *label, const gchar *pattern
gtk_label_set_wrap
void
GtkLabel *label, gboolean wrap
gtk_label_get_wrap
gboolean
GtkLabel *label
gtk_label_set_wrap_mode
void
GtkLabel *label, PangoWrapMode wrap_mode
gtk_label_get_wrap_mode
PangoWrapMode
GtkLabel *label
gtk_label_set_selectable
void
GtkLabel *label, gboolean setting
gtk_label_get_selectable
gboolean
GtkLabel *label
gtk_label_select_region
void
GtkLabel *label, gint start_offset, gint end_offset
gtk_label_get_selection_bounds
gboolean
GtkLabel *label, gint *start, gint *end
gtk_label_get_layout
PangoLayout *
GtkLabel *label
gtk_label_get_layout_offsets
void
GtkLabel *label, gint *x, gint *y
gtk_label_set_single_line_mode
void
GtkLabel *label, gboolean single_line_mode
gtk_label_get_single_line_mode
gboolean
GtkLabel *label
gtk_label_get_current_uri
const gchar *
GtkLabel *label
gtk_label_set_track_visited_links
void
GtkLabel *label, gboolean track_links
gtk_label_get_track_visited_links
gboolean
GtkLabel *label
gtk_label_set_xalign
void
GtkLabel *label, gfloat xalign
gtk_label_get_xalign
gfloat
GtkLabel *label
gtk_label_set_yalign
void
GtkLabel *label, gfloat yalign
gtk_label_get_yalign
gfloat
GtkLabel *label
gtk_label_set_extra_menu
void
GtkLabel *label, GMenuModel *model
gtk_label_get_extra_menu
GMenuModel *
GtkLabel *label
GtkLabel
GTK_TYPE_LAYOUT_CHILD
#define GTK_TYPE_LAYOUT_CHILD (gtk_layout_child_get_type())
GtkLayoutChildClass
struct _GtkLayoutChildClass
{
/*< private >*/
GObjectClass parent_class;
};
gtk_layout_child_get_layout_manager
GtkLayoutManager *
GtkLayoutChild *layout_child
gtk_layout_child_get_child_widget
GtkWidget *
GtkLayoutChild *layout_child
GtkLayoutChild
GTK_TYPE_LAYOUT_MANAGER
#define GTK_TYPE_LAYOUT_MANAGER (gtk_layout_manager_get_type ())
GtkLayoutManagerClass
struct _GtkLayoutManagerClass
{
/*< private >*/
GObjectClass parent_class;
/*< public >*/
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);
/*< private >*/
gpointer _padding[16];
};
gtk_layout_manager_measure
void
GtkLayoutManager *manager, GtkWidget *widget, GtkOrientation orientation, int for_size, int *minimum, int *natural, int *minimum_baseline, int *natural_baseline
gtk_layout_manager_allocate
void
GtkLayoutManager *manager, GtkWidget *widget, int width, int height, int baseline
gtk_layout_manager_get_request_mode
GtkSizeRequestMode
GtkLayoutManager *manager
gtk_layout_manager_get_widget
GtkWidget *
GtkLayoutManager *manager
gtk_layout_manager_layout_changed
void
GtkLayoutManager *manager
gtk_layout_manager_get_layout_child
GtkLayoutChild *
GtkLayoutManager *manager, GtkWidget *child
GtkLayoutManager
gtk_layout_manager_set_widget
void
GtkLayoutManager *manager, GtkWidget *widget
gtk_layout_manager_remove_layout_child
void
GtkLayoutManager *manager, GtkWidget *widget
gtk_layout_manager_set_root
void
GtkLayoutManager *manager, GtkRoot *root
GTK_TYPE_LEVEL_BAR
#define GTK_TYPE_LEVEL_BAR (gtk_level_bar_get_type ())
GTK_LEVEL_BAR
#define GTK_LEVEL_BAR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_LEVEL_BAR, GtkLevelBar))
GTK_IS_LEVEL_BAR
#define GTK_IS_LEVEL_BAR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_LEVEL_BAR))
GTK_LEVEL_BAR_OFFSET_LOW
#define GTK_LEVEL_BAR_OFFSET_LOW "low"
GTK_LEVEL_BAR_OFFSET_HIGH
#define GTK_LEVEL_BAR_OFFSET_HIGH "high"
GTK_LEVEL_BAR_OFFSET_FULL
#define GTK_LEVEL_BAR_OFFSET_FULL "full"
gtk_level_bar_get_type
GType
void
gtk_level_bar_new
GtkWidget *
void
gtk_level_bar_new_for_interval
GtkWidget *
gdouble min_value, gdouble max_value
gtk_level_bar_set_mode
void
GtkLevelBar *self, GtkLevelBarMode mode
gtk_level_bar_get_mode
GtkLevelBarMode
GtkLevelBar *self
gtk_level_bar_set_value
void
GtkLevelBar *self, gdouble value
gtk_level_bar_get_value
gdouble
GtkLevelBar *self
gtk_level_bar_set_min_value
void
GtkLevelBar *self, gdouble value
gtk_level_bar_get_min_value
gdouble
GtkLevelBar *self
gtk_level_bar_set_max_value
void
GtkLevelBar *self, gdouble value
gtk_level_bar_get_max_value
gdouble
GtkLevelBar *self
gtk_level_bar_set_inverted
void
GtkLevelBar *self, gboolean inverted
gtk_level_bar_get_inverted
gboolean
GtkLevelBar *self
gtk_level_bar_add_offset_value
void
GtkLevelBar *self, const gchar *name, gdouble value
gtk_level_bar_remove_offset_value
void
GtkLevelBar *self, const gchar *name
gtk_level_bar_get_offset_value
gboolean
GtkLevelBar *self, const gchar *name, gdouble *value
GtkLevelBar
GTK_TYPE_LINK_BUTTON
#define GTK_TYPE_LINK_BUTTON (gtk_link_button_get_type ())
GTK_LINK_BUTTON
#define GTK_LINK_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_LINK_BUTTON, GtkLinkButton))
GTK_IS_LINK_BUTTON
#define GTK_IS_LINK_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_LINK_BUTTON))
gtk_link_button_get_type
GType
void
gtk_link_button_new
GtkWidget *
const gchar *uri
gtk_link_button_new_with_label
GtkWidget *
const gchar *uri, const gchar *label
gtk_link_button_get_uri
const gchar *
GtkLinkButton *link_button
gtk_link_button_set_uri
void
GtkLinkButton *link_button, const gchar *uri
gtk_link_button_get_visited
gboolean
GtkLinkButton *link_button
gtk_link_button_set_visited
void
GtkLinkButton *link_button, gboolean visited
GtkLinkButton
GTK_TYPE_LIST_BOX
#define GTK_TYPE_LIST_BOX (gtk_list_box_get_type ())
GTK_LIST_BOX
#define GTK_LIST_BOX(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_LIST_BOX, GtkListBox))
GTK_IS_LIST_BOX
#define GTK_IS_LIST_BOX(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_LIST_BOX))
GTK_TYPE_LIST_BOX_ROW
#define GTK_TYPE_LIST_BOX_ROW (gtk_list_box_row_get_type ())
GTK_LIST_BOX_ROW
#define GTK_LIST_BOX_ROW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_LIST_BOX_ROW, GtkListBoxRow))
GTK_LIST_BOX_ROW_CLASS
#define GTK_LIST_BOX_ROW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_LIST_BOX_ROW, GtkListBoxRowClass))
GTK_IS_LIST_BOX_ROW
#define GTK_IS_LIST_BOX_ROW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_LIST_BOX_ROW))
GTK_IS_LIST_BOX_ROW_CLASS
#define GTK_IS_LIST_BOX_ROW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_LIST_BOX_ROW))
GTK_LIST_BOX_ROW_GET_CLASS
#define GTK_LIST_BOX_ROW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_LIST_BOX_ROW, GtkListBoxRowClass))
GtkListBoxRow
struct _GtkListBoxRow
{
GtkBin parent_instance;
};
GtkListBoxRowClass
struct _GtkListBoxRowClass
{
GtkBinClass parent_class;
/*< public >*/
void (* activate) (GtkListBoxRow *row);
/*< private >*/
gpointer padding[8];
};
GtkListBoxFilterFunc
gboolean
GtkListBoxRow *row, gpointer user_data
GtkListBoxSortFunc
gint
GtkListBoxRow *row1, GtkListBoxRow *row2, gpointer user_data
GtkListBoxUpdateHeaderFunc
void
GtkListBoxRow *row, GtkListBoxRow *before, gpointer user_data
GtkListBoxCreateWidgetFunc
GtkWidget *
gpointer item, gpointer user_data
gtk_list_box_row_get_type
GType
void
gtk_list_box_row_new
GtkWidget *
void
gtk_list_box_row_get_header
GtkWidget *
GtkListBoxRow *row
gtk_list_box_row_set_header
void
GtkListBoxRow *row, GtkWidget *header
gtk_list_box_row_get_index
gint
GtkListBoxRow *row
gtk_list_box_row_changed
void
GtkListBoxRow *row
gtk_list_box_row_is_selected
gboolean
GtkListBoxRow *row
gtk_list_box_row_set_selectable
void
GtkListBoxRow *row, gboolean selectable
gtk_list_box_row_get_selectable
gboolean
GtkListBoxRow *row
gtk_list_box_row_set_activatable
void
GtkListBoxRow *row, gboolean activatable
gtk_list_box_row_get_activatable
gboolean
GtkListBoxRow *row
gtk_list_box_get_type
GType
void
gtk_list_box_prepend
void
GtkListBox *box, GtkWidget *child
gtk_list_box_insert
void
GtkListBox *box, GtkWidget *child, gint position
gtk_list_box_get_selected_row
GtkListBoxRow *
GtkListBox *box
gtk_list_box_get_row_at_index
GtkListBoxRow *
GtkListBox *box, gint index_
gtk_list_box_get_row_at_y
GtkListBoxRow *
GtkListBox *box, gint y
gtk_list_box_select_row
void
GtkListBox *box, GtkListBoxRow *row
gtk_list_box_set_placeholder
void
GtkListBox *box, GtkWidget *placeholder
gtk_list_box_set_adjustment
void
GtkListBox *box, GtkAdjustment *adjustment
gtk_list_box_get_adjustment
GtkAdjustment *
GtkListBox *box
GtkListBoxForeachFunc
void
GtkListBox *box, GtkListBoxRow *row, gpointer user_data
gtk_list_box_selected_foreach
void
GtkListBox *box, GtkListBoxForeachFunc func, gpointer data
gtk_list_box_get_selected_rows
GList *
GtkListBox *box
gtk_list_box_unselect_row
void
GtkListBox *box, GtkListBoxRow *row
gtk_list_box_select_all
void
GtkListBox *box
gtk_list_box_unselect_all
void
GtkListBox *box
gtk_list_box_set_selection_mode
void
GtkListBox *box, GtkSelectionMode mode
gtk_list_box_get_selection_mode
GtkSelectionMode
GtkListBox *box
gtk_list_box_set_filter_func
void
GtkListBox *box, GtkListBoxFilterFunc filter_func, gpointer user_data, GDestroyNotify destroy
gtk_list_box_set_header_func
void
GtkListBox *box, GtkListBoxUpdateHeaderFunc update_header, gpointer user_data, GDestroyNotify destroy
gtk_list_box_invalidate_filter
void
GtkListBox *box
gtk_list_box_invalidate_sort
void
GtkListBox *box
gtk_list_box_invalidate_headers
void
GtkListBox *box
gtk_list_box_set_sort_func
void
GtkListBox *box, GtkListBoxSortFunc sort_func, gpointer user_data, GDestroyNotify destroy
gtk_list_box_set_activate_on_single_click
void
GtkListBox *box, gboolean single
gtk_list_box_get_activate_on_single_click
gboolean
GtkListBox *box
gtk_list_box_drag_unhighlight_row
void
GtkListBox *box
gtk_list_box_drag_highlight_row
void
GtkListBox *box, GtkListBoxRow *row
gtk_list_box_new
GtkWidget *
void
gtk_list_box_bind_model
void
GtkListBox *box, GListModel *model, GtkListBoxCreateWidgetFunc create_widget_func, gpointer user_data, GDestroyNotify user_data_free_func
gtk_list_box_set_show_separators
void
GtkListBox *box, gboolean show_separators
gtk_list_box_get_show_separators
gboolean
GtkListBox *box
GtkListBox
GTK_TYPE_LIST_LIST_MODEL
#define GTK_TYPE_LIST_LIST_MODEL (gtk_list_list_model_get_type ())
GTK_LIST_LIST_MODEL
#define GTK_LIST_LIST_MODEL(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GTK_TYPE_LIST_LIST_MODEL, GtkListListModel))
GTK_LIST_LIST_MODEL_CLASS
#define GTK_LIST_LIST_MODEL_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GTK_TYPE_LIST_LIST_MODEL, GtkListListModelClass))
GTK_IS_LIST_LIST_MODEL
#define GTK_IS_LIST_LIST_MODEL(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GTK_TYPE_LIST_LIST_MODEL))
GTK_IS_LIST_LIST_MODEL_CLASS
#define GTK_IS_LIST_LIST_MODEL_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GTK_TYPE_LIST_LIST_MODEL))
GTK_LIST_LIST_MODEL_GET_CLASS
#define GTK_LIST_LIST_MODEL_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GTK_TYPE_LIST_LIST_MODEL, GtkListListModelClass))
gtk_list_list_model_get_type
GType
void
gtk_list_list_model_new
GtkListListModel *
GType item_type, gpointer (* get_first) (gpointer), gpointer (* get_next) (gpointer, gpointer), gpointer (* get_previous) (gpointer, gpointer), gpointer (* get_last) (gpointer), gpointer (* get_item) (gpointer, gpointer), gpointer data, GDestroyNotify notify
gtk_list_list_model_new_with_size
GtkListListModel *
GType item_type, guint n_items, gpointer (* get_first) (gpointer), gpointer (* get_next) (gpointer, gpointer), gpointer (* get_previous) (gpointer, gpointer), gpointer (* get_last) (gpointer), gpointer (* get_item) (gpointer, gpointer), gpointer data, GDestroyNotify notify
gtk_list_list_model_item_added
void
GtkListListModel *self, gpointer item
gtk_list_list_model_item_added_at
void
GtkListListModel *self, guint position
gtk_list_list_model_item_removed
void
GtkListListModel *self, gpointer previous
gtk_list_list_model_item_removed_at
void
GtkListListModel *self, guint position
gtk_list_list_model_clear
void
GtkListListModel *self
GtkListListModel
GtkListListModelClass
GTK_TYPE_LIST_STORE
#define GTK_TYPE_LIST_STORE (gtk_list_store_get_type ())
GTK_LIST_STORE
#define GTK_LIST_STORE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_LIST_STORE, GtkListStore))
GTK_LIST_STORE_CLASS
#define GTK_LIST_STORE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_LIST_STORE, GtkListStoreClass))
GTK_IS_LIST_STORE
#define GTK_IS_LIST_STORE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_LIST_STORE))
GTK_IS_LIST_STORE_CLASS
#define GTK_IS_LIST_STORE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_LIST_STORE))
GTK_LIST_STORE_GET_CLASS
#define GTK_LIST_STORE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_LIST_STORE, GtkListStoreClass))
GtkListStore
struct _GtkListStore
{
GObject parent;
/*< private >*/
GtkListStorePrivate *priv;
};
GtkListStoreClass
struct _GtkListStoreClass
{
GObjectClass parent_class;
/*< private >*/
gpointer padding[8];
};
gtk_list_store_get_type
GType
void
gtk_list_store_new
GtkListStore *
gint n_columns, ...
gtk_list_store_newv
GtkListStore *
gint n_columns, GType *types
gtk_list_store_set_column_types
void
GtkListStore *list_store, gint n_columns, GType *types
gtk_list_store_set_value
void
GtkListStore *list_store, GtkTreeIter *iter, gint column, GValue *value
gtk_list_store_set
void
GtkListStore *list_store, GtkTreeIter *iter, ...
gtk_list_store_set_valuesv
void
GtkListStore *list_store, GtkTreeIter *iter, gint *columns, GValue *values, gint n_values
gtk_list_store_set_valist
void
GtkListStore *list_store, GtkTreeIter *iter, va_list var_args
gtk_list_store_remove
gboolean
GtkListStore *list_store, GtkTreeIter *iter
gtk_list_store_insert
void
GtkListStore *list_store, GtkTreeIter *iter, gint position
gtk_list_store_insert_before
void
GtkListStore *list_store, GtkTreeIter *iter, GtkTreeIter *sibling
gtk_list_store_insert_after
void
GtkListStore *list_store, GtkTreeIter *iter, GtkTreeIter *sibling
gtk_list_store_insert_with_values
void
GtkListStore *list_store, GtkTreeIter *iter, gint position, ...
gtk_list_store_insert_with_valuesv
void
GtkListStore *list_store, GtkTreeIter *iter, gint position, gint *columns, GValue *values, gint n_values
gtk_list_store_prepend
void
GtkListStore *list_store, GtkTreeIter *iter
gtk_list_store_append
void
GtkListStore *list_store, GtkTreeIter *iter
gtk_list_store_clear
void
GtkListStore *list_store
gtk_list_store_iter_is_valid
gboolean
GtkListStore *list_store, GtkTreeIter *iter
gtk_list_store_reorder
void
GtkListStore *store, gint *new_order
gtk_list_store_swap
void
GtkListStore *store, GtkTreeIter *a, GtkTreeIter *b
gtk_list_store_move_after
void
GtkListStore *store, GtkTreeIter *iter, GtkTreeIter *position
gtk_list_store_move_before
void
GtkListStore *store, GtkTreeIter *iter, GtkTreeIter *position
GtkListStorePrivate
GTK_TYPE_LOCK_BUTTON
#define GTK_TYPE_LOCK_BUTTON (gtk_lock_button_get_type ())
GTK_LOCK_BUTTON
#define GTK_LOCK_BUTTON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GTK_TYPE_LOCK_BUTTON, GtkLockButton))
GTK_IS_LOCK_BUTTON
#define GTK_IS_LOCK_BUTTON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GTK_TYPE_LOCK_BUTTON))
gtk_lock_button_get_type
GType
void
gtk_lock_button_new
GtkWidget *
GPermission *permission
gtk_lock_button_get_permission
GPermission *
GtkLockButton *button
gtk_lock_button_set_permission
void
GtkLockButton *button, GPermission *permission
GtkLockButton
GTK_PRIORITY_RESIZE
#define GTK_PRIORITY_RESIZE (G_PRIORITY_HIGH_IDLE + 10)
gtk_get_major_version
guint
void
gtk_get_minor_version
guint
void
gtk_get_micro_version
guint
void
gtk_get_binary_age
guint
void
gtk_get_interface_age
guint
void
gtk_check_version
const gchar *
guint required_major, guint required_minor, guint required_micro
gtk_init
void
void
gtk_init_check
gboolean
void
gtk_is_initialized
gboolean
void
gtk_get_main_thread
GThread *
void
gtk_init_abi_check
void
int num_checks, size_t sizeof_GtkWindow, size_t sizeof_GtkBox
gtk_init_check_abi_check
gboolean
int num_checks, size_t sizeof_GtkWindow, size_t sizeof_GtkBox
gtk_disable_setlocale
void
void
gtk_get_default_language
PangoLanguage *
void
gtk_get_locale_direction
GtkTextDirection
void
gtk_events_pending
gboolean
void
gtk_main_do_event
void
GdkEvent *event
gtk_main
void
void
gtk_main_level
guint
void
gtk_main_quit
void
void
gtk_main_iteration
gboolean
void
gtk_main_iteration_do
gboolean
gboolean blocking
gtk_grab_add
void
GtkWidget *widget
gtk_grab_get_current
GtkWidget *
void
gtk_grab_remove
void
GtkWidget *widget
gtk_device_grab_add
void
GtkWidget *widget, GdkDevice *device, gboolean block_others
gtk_device_grab_remove
void
GtkWidget *widget, GdkDevice *device
gtk_get_current_event
GdkEvent *
void
gtk_get_current_event_time
guint32
void
gtk_get_current_event_state
gboolean
GdkModifierType *state
gtk_get_current_event_device
GdkDevice *
void
gtk_get_event_widget
GtkWidget *
const GdkEvent *event
gtk_get_event_target
GtkWidget *
const GdkEvent *event
gtk_get_event_target_with_type
GtkWidget *
GdkEvent *event, GType type
gtk_propagate_event
gboolean
GtkWidget *widget, GdkEvent *event
GTK_TYPE_MAP_LIST_MODEL
#define GTK_TYPE_MAP_LIST_MODEL (gtk_map_list_model_get_type ())
GtkMapListModelMapFunc
gpointer
gpointer item, gpointer user_data
gtk_map_list_model_new
GtkMapListModel *
GType item_type, GListModel *model, GtkMapListModelMapFunc map_func, gpointer user_data, GDestroyNotify user_destroy
gtk_map_list_model_set_map_func
void
GtkMapListModel *self, GtkMapListModelMapFunc map_func, gpointer user_data, GDestroyNotify user_destroy
gtk_map_list_model_set_model
void
GtkMapListModel *self, GListModel *model
gtk_map_list_model_get_model
GListModel *
GtkMapListModel *self
gtk_map_list_model_has_map
gboolean
GtkMapListModel *self
GtkMapListModel
GTK_TYPE_MEDIA_CONTROLS
#define GTK_TYPE_MEDIA_CONTROLS (gtk_media_controls_get_type ())
gtk_media_controls_new
GtkWidget *
GtkMediaStream *stream
gtk_media_controls_get_media_stream
GtkMediaStream *
GtkMediaControls *controls
gtk_media_controls_set_media_stream
void
GtkMediaControls *controls, GtkMediaStream *stream
GtkMediaControls
GTK_MEDIA_FILE_EXTENSION_POINT_NAME
#define GTK_MEDIA_FILE_EXTENSION_POINT_NAME "gtk-media-file"
GTK_TYPE_MEDIA_FILE
#define GTK_TYPE_MEDIA_FILE (gtk_media_file_get_type ())
GtkMediaFileClass
struct _GtkMediaFileClass
{
GtkMediaStreamClass parent_class;
void (* open) (GtkMediaFile *self);
void (* close) (GtkMediaFile *self);
/* Padding for future expansion */
void (*_gtk_reserved1) (void);
void (*_gtk_reserved2) (void);
void (*_gtk_reserved3) (void);
void (*_gtk_reserved4) (void);
};
gtk_media_file_new
GtkMediaStream *
void
gtk_media_file_new_for_filename
GtkMediaStream *
const char *filename
gtk_media_file_new_for_resource
GtkMediaStream *
const char *resource_path
gtk_media_file_new_for_file
GtkMediaStream *
GFile *file
gtk_media_file_new_for_input_stream
GtkMediaStream *
GInputStream *stream
gtk_media_file_clear
void
GtkMediaFile *self
gtk_media_file_set_filename
void
GtkMediaFile *self, const char *filename
gtk_media_file_set_resource
void
GtkMediaFile *self, const char *resource_path
gtk_media_file_set_file
void
GtkMediaFile *self, GFile *file
gtk_media_file_get_file
GFile *
GtkMediaFile *self
gtk_media_file_set_input_stream
void
GtkMediaFile *self, GInputStream *stream
gtk_media_file_get_input_stream
GInputStream *
GtkMediaFile *self
GtkMediaFile
GTK_TYPE_MEDIA_STREAM
#define GTK_TYPE_MEDIA_STREAM (gtk_media_stream_get_type ())
GtkMediaStreamClass
struct _GtkMediaStreamClass
{
GObjectClass parent_class;
gboolean (* play) (GtkMediaStream *self);
void (* pause) (GtkMediaStream *self);
void (* seek) (GtkMediaStream *self,
gint64 timestamp);
void (* update_audio) (GtkMediaStream *self,
gboolean muted,
double volume);
void (* realize) (GtkMediaStream *self,
GdkSurface *surface);
void (* unrealize) (GtkMediaStream *self,
GdkSurface *surface);
/* Padding for future expansion */
void (*_gtk_reserved1) (void);
void (*_gtk_reserved2) (void);
void (*_gtk_reserved3) (void);
void (*_gtk_reserved4) (void);
void (*_gtk_reserved5) (void);
void (*_gtk_reserved6) (void);
void (*_gtk_reserved7) (void);
void (*_gtk_reserved8) (void);
};
gtk_media_stream_is_prepared
gboolean
GtkMediaStream *self
gtk_media_stream_get_error
const GError *
GtkMediaStream *self
gtk_media_stream_has_audio
gboolean
GtkMediaStream *self
gtk_media_stream_has_video
gboolean
GtkMediaStream *self
gtk_media_stream_play
void
GtkMediaStream *self
gtk_media_stream_pause
void
GtkMediaStream *self
gtk_media_stream_get_playing
gboolean
GtkMediaStream *self
gtk_media_stream_set_playing
void
GtkMediaStream *self, gboolean playing
gtk_media_stream_get_ended
gboolean
GtkMediaStream *self
gtk_media_stream_get_timestamp
gint64
GtkMediaStream *self
gtk_media_stream_get_duration
gint64
GtkMediaStream *self
gtk_media_stream_is_seekable
gboolean
GtkMediaStream *self
gtk_media_stream_is_seeking
gboolean
GtkMediaStream *self
gtk_media_stream_seek
void
GtkMediaStream *self, gint64 timestamp
gtk_media_stream_get_loop
gboolean
GtkMediaStream *self
gtk_media_stream_set_loop
void
GtkMediaStream *self, gboolean loop
gtk_media_stream_get_muted
gboolean
GtkMediaStream *self
gtk_media_stream_set_muted
void
GtkMediaStream *self, gboolean muted
gtk_media_stream_get_volume
double
GtkMediaStream *self
gtk_media_stream_set_volume
void
GtkMediaStream *self, double volume
gtk_media_stream_realize
void
GtkMediaStream *self, GdkSurface *surface
gtk_media_stream_unrealize
void
GtkMediaStream *self, GdkSurface *surface
gtk_media_stream_prepared
void
GtkMediaStream *self, gboolean has_audio, gboolean has_video, gboolean seekable, gint64 duration
gtk_media_stream_unprepared
void
GtkMediaStream *self
gtk_media_stream_update
void
GtkMediaStream *self, gint64 timestamp
gtk_media_stream_ended
void
GtkMediaStream *self
gtk_media_stream_seek_success
void
GtkMediaStream *self
gtk_media_stream_seek_failed
void
GtkMediaStream *self
gtk_media_stream_gerror
void
GtkMediaStream *self, GError *error
gtk_media_stream_error
void
GtkMediaStream *self, GQuark domain, gint code, const gchar *format, ...
gtk_media_stream_error_valist
void
GtkMediaStream *self, GQuark domain, gint code, const gchar *format, va_list args
GtkMediaStream
GTK_TYPE_MENU_BUTTON
#define GTK_TYPE_MENU_BUTTON (gtk_menu_button_get_type ())
GTK_MENU_BUTTON
#define GTK_MENU_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_MENU_BUTTON, GtkMenuButton))
GTK_IS_MENU_BUTTON
#define GTK_IS_MENU_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_MENU_BUTTON))
GtkMenuButtonCreatePopupFunc
void
GtkMenuButton *menu_button, gpointer user_data
gtk_menu_button_get_type
GType
void
gtk_menu_button_new
GtkWidget *
void
gtk_menu_button_set_popover
void
GtkMenuButton *menu_button, GtkWidget *popover
gtk_menu_button_get_popover
GtkPopover *
GtkMenuButton *menu_button
gtk_menu_button_set_direction
void
GtkMenuButton *menu_button, GtkArrowType direction
gtk_menu_button_get_direction
GtkArrowType
GtkMenuButton *menu_button
gtk_menu_button_set_menu_model
void
GtkMenuButton *menu_button, GMenuModel *menu_model
gtk_menu_button_get_menu_model
GMenuModel *
GtkMenuButton *menu_button
gtk_menu_button_set_align_widget
void
GtkMenuButton *menu_button, GtkWidget *align_widget
gtk_menu_button_get_align_widget
GtkWidget *
GtkMenuButton *menu_button
gtk_menu_button_set_icon_name
void
GtkMenuButton *menu_button, const char *icon_name
gtk_menu_button_get_icon_name
const char *
GtkMenuButton *menu_button
gtk_menu_button_set_label
void
GtkMenuButton *menu_button, const char *label
gtk_menu_button_get_label
const char *
GtkMenuButton *menu_button
gtk_menu_button_set_relief
void
GtkMenuButton *menu_button, GtkReliefStyle relief
gtk_menu_button_get_relief
GtkReliefStyle
GtkMenuButton *menu_button
gtk_menu_button_popup
void
GtkMenuButton *menu_button
gtk_menu_button_popdown
void
GtkMenuButton *menu_button
gtk_menu_button_set_create_popup_func
void
GtkMenuButton *menu_button, GtkMenuButtonCreatePopupFunc func, gpointer user_data, GDestroyNotify destroy_notify
GtkMenuButton
GTK_TYPE_MENU_SECTION_BOX
#define GTK_TYPE_MENU_SECTION_BOX (gtk_menu_section_box_get_type ())
GTK_MENU_SECTION_BOX
#define GTK_MENU_SECTION_BOX(inst) (G_TYPE_CHECK_INSTANCE_CAST ((inst), \
GTK_TYPE_MENU_SECTION_BOX, GtkMenuSectionBox))
GTK_MENU_SECTION_BOX_CLASS
#define GTK_MENU_SECTION_BOX_CLASS(class) (G_TYPE_CHECK_CLASS_CAST ((class), \
GTK_TYPE_MENU_SECTION_BOX, GtkMenuSectionBoxClass))
GTK_IS_MENU_SECTION_BOX
#define GTK_IS_MENU_SECTION_BOX(inst) (G_TYPE_CHECK_INSTANCE_TYPE ((inst), \
GTK_TYPE_MENU_SECTION_BOX))
GTK_IS_MENU_SECTION_BOX_CLASS
#define GTK_IS_MENU_SECTION_BOX_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), \
GTK_TYPE_MENU_SECTION_BOX))
GTK_MENU_SECTION_BOX_GET_CLASS
#define GTK_MENU_SECTION_BOX_GET_CLASS(inst) (G_TYPE_INSTANCE_GET_CLASS ((inst), \
GTK_TYPE_MENU_SECTION_BOX, GtkMenuSectionBoxClass))
gtk_menu_section_box_get_type
GType
void
gtk_menu_section_box_new_toplevel
void
GtkPopoverMenu *popover, GMenuModel *model, GtkPopoverMenuFlags flags
GtkMenuSectionBox
GTK_TYPE_MENU_TRACKER_ITEM
#define GTK_TYPE_MENU_TRACKER_ITEM (gtk_menu_tracker_item_get_type ())
GTK_MENU_TRACKER_ITEM
#define GTK_MENU_TRACKER_ITEM(inst) (G_TYPE_CHECK_INSTANCE_CAST ((inst), \
GTK_TYPE_MENU_TRACKER_ITEM, GtkMenuTrackerItem))
GTK_IS_MENU_TRACKER_ITEM
#define GTK_IS_MENU_TRACKER_ITEM(inst) (G_TYPE_CHECK_INSTANCE_TYPE ((inst), \
GTK_TYPE_MENU_TRACKER_ITEM))
GTK_TYPE_MENU_TRACKER_ITEM_ROLE
#define GTK_TYPE_MENU_TRACKER_ITEM_ROLE (gtk_menu_tracker_item_role_get_type ())
GtkMenuTrackerItemRole
typedef enum {
GTK_MENU_TRACKER_ITEM_ROLE_NORMAL,
GTK_MENU_TRACKER_ITEM_ROLE_CHECK,
GTK_MENU_TRACKER_ITEM_ROLE_RADIO,
} GtkMenuTrackerItemRole;
gtk_menu_tracker_item_get_type
GType
void
gtk_menu_tracker_item_role_get_type
GType
void
gtk_menu_tracker_item_get_special
const gchar *
GtkMenuTrackerItem *self
gtk_menu_tracker_item_get_display_hint
const gchar *
GtkMenuTrackerItem *self
gtk_menu_tracker_item_get_text_direction
const gchar *
GtkMenuTrackerItem *self
gtk_menu_tracker_item_get_is_separator
gboolean
GtkMenuTrackerItem *self
gtk_menu_tracker_item_get_has_link
gboolean
GtkMenuTrackerItem *self, const gchar *link_name
gtk_menu_tracker_item_get_label
const gchar *
GtkMenuTrackerItem *self
gtk_menu_tracker_item_get_icon
GIcon *
GtkMenuTrackerItem *self
gtk_menu_tracker_item_get_verb_icon
GIcon *
GtkMenuTrackerItem *self
gtk_menu_tracker_item_get_sensitive
gboolean
GtkMenuTrackerItem *self
gtk_menu_tracker_item_get_role
GtkMenuTrackerItemRole
GtkMenuTrackerItem *self
gtk_menu_tracker_item_get_toggled
gboolean
GtkMenuTrackerItem *self
gtk_menu_tracker_item_get_accel
const gchar *
GtkMenuTrackerItem *self
gtk_menu_tracker_item_may_disappear
gboolean
GtkMenuTrackerItem *self
gtk_menu_tracker_item_get_is_visible
gboolean
GtkMenuTrackerItem *self
gtk_menu_tracker_item_get_should_request_show
gboolean
GtkMenuTrackerItem *self
gtk_menu_tracker_item_activated
void
GtkMenuTrackerItem *self
gtk_menu_tracker_item_request_submenu_shown
void
GtkMenuTrackerItem *self, gboolean shown
gtk_menu_tracker_item_get_submenu_shown
gboolean
GtkMenuTrackerItem *self
GtkMenuTrackerItem
GtkMenuTrackerInsertFunc
void
GtkMenuTrackerItem *item, gint position, gpointer user_data
GtkMenuTrackerRemoveFunc
void
gint position, gpointer user_data
gtk_menu_tracker_new
GtkMenuTracker *
GtkActionObservable *observer, GMenuModel *model, gboolean with_separators, gboolean merge_sections, gboolean mac_os_mode, const gchar *action_namespace, GtkMenuTrackerInsertFunc insert_func, GtkMenuTrackerRemoveFunc remove_func, gpointer user_data
gtk_menu_tracker_new_for_item_link
GtkMenuTracker *
GtkMenuTrackerItem *item, const gchar *link_name, gboolean merge_sections, gboolean mac_os_mode, GtkMenuTrackerInsertFunc insert_func, GtkMenuTrackerRemoveFunc remove_func, gpointer user_data
gtk_menu_tracker_free
void
GtkMenuTracker *tracker
GtkMenuTracker
GTK_TYPE_MESSAGE_DIALOG
#define GTK_TYPE_MESSAGE_DIALOG (gtk_message_dialog_get_type ())
GTK_MESSAGE_DIALOG
#define GTK_MESSAGE_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_MESSAGE_DIALOG, GtkMessageDialog))
GTK_IS_MESSAGE_DIALOG
#define GTK_IS_MESSAGE_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_MESSAGE_DIALOG))
GtkMessageDialog
struct _GtkMessageDialog
{
GtkDialog parent_instance;
};
GtkButtonsType
typedef enum
{
GTK_BUTTONS_NONE,
GTK_BUTTONS_OK,
GTK_BUTTONS_CLOSE,
GTK_BUTTONS_CANCEL,
GTK_BUTTONS_YES_NO,
GTK_BUTTONS_OK_CANCEL
} GtkButtonsType;
gtk_message_dialog_get_type
GType
void
gtk_message_dialog_new
GtkWidget *
GtkWindow *parent, GtkDialogFlags flags, GtkMessageType type, GtkButtonsType buttons, const gchar *message_format, ...
gtk_message_dialog_new_with_markup
GtkWidget *
GtkWindow *parent, GtkDialogFlags flags, GtkMessageType type, GtkButtonsType buttons, const gchar *message_format, ...
gtk_message_dialog_set_markup
void
GtkMessageDialog *message_dialog, const gchar *str
gtk_message_dialog_format_secondary_text
void
GtkMessageDialog *message_dialog, const gchar *message_format, ...
gtk_message_dialog_format_secondary_markup
void
GtkMessageDialog *message_dialog, const gchar *message_format, ...
gtk_message_dialog_get_message_area
GtkWidget *
GtkMessageDialog *message_dialog
GtkMessageDialogClass
GtkMnemonicHash
typedef struct _GtkMnemnonicHash GtkMnemonicHash;
GtkMnemonicHashForeach
void
guint keyval, GSList *targets, gpointer data
GTK_TYPE_MODEL_BUTTON
#define GTK_TYPE_MODEL_BUTTON (gtk_model_button_get_type ())
GTK_MODEL_BUTTON
#define GTK_MODEL_BUTTON(inst) (G_TYPE_CHECK_INSTANCE_CAST ((inst), \
GTK_TYPE_MODEL_BUTTON, GtkModelButton))
GTK_IS_MODEL_BUTTON
#define GTK_IS_MODEL_BUTTON(inst) (G_TYPE_CHECK_INSTANCE_TYPE ((inst), \
GTK_TYPE_MODEL_BUTTON))
GtkButtonRole
typedef enum {
GTK_BUTTON_ROLE_NORMAL,
GTK_BUTTON_ROLE_CHECK,
GTK_BUTTON_ROLE_RADIO,
GTK_BUTTON_ROLE_TITLE
} GtkButtonRole;
GTK_TYPE_BUTTON_ROLE
#define GTK_TYPE_BUTTON_ROLE (gtk_button_role_get_type ())
gtk_button_role_get_type
GType
void
gtk_model_button_get_type
GType
void
gtk_model_button_new
GtkWidget *
void
GtkModelButton
GTK_TYPE_MOUNT_OPERATION
#define GTK_TYPE_MOUNT_OPERATION (gtk_mount_operation_get_type ())
GTK_MOUNT_OPERATION
#define GTK_MOUNT_OPERATION(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GTK_TYPE_MOUNT_OPERATION, GtkMountOperation))
GTK_MOUNT_OPERATION_CLASS
#define GTK_MOUNT_OPERATION_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), GTK_TYPE_MOUNT_OPERATION, GtkMountOperationClass))
GTK_IS_MOUNT_OPERATION
#define GTK_IS_MOUNT_OPERATION(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GTK_TYPE_MOUNT_OPERATION))
GTK_IS_MOUNT_OPERATION_CLASS
#define GTK_IS_MOUNT_OPERATION_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GTK_TYPE_MOUNT_OPERATION))
GTK_MOUNT_OPERATION_GET_CLASS
#define GTK_MOUNT_OPERATION_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GTK_TYPE_MOUNT_OPERATION, GtkMountOperationClass))
GtkMountOperation
struct _GtkMountOperation
{
GMountOperation parent_instance;
GtkMountOperationPrivate *priv;
};
GtkMountOperationClass
struct _GtkMountOperationClass
{
GMountOperationClass parent_class;
/*< private >*/
/* Padding for future expansion */
void (*_gtk_reserved1) (void);
void (*_gtk_reserved2) (void);
void (*_gtk_reserved3) (void);
void (*_gtk_reserved4) (void);
};
gtk_mount_operation_get_type
GType
void
gtk_mount_operation_new
GMountOperation *
GtkWindow *parent
gtk_mount_operation_is_showing
gboolean
GtkMountOperation *op
gtk_mount_operation_set_parent
void
GtkMountOperation *op, GtkWindow *parent
gtk_mount_operation_get_parent
GtkWindow *
GtkMountOperation *op
gtk_mount_operation_set_display
void
GtkMountOperation *op, GdkDisplay *display
gtk_mount_operation_get_display
GdkDisplay *
GtkMountOperation *op
GtkMountOperationPrivate
GTK_TYPE_NATIVE
#define GTK_TYPE_NATIVE (gtk_native_get_type ())
GtkNativeInterface
struct _GtkNativeInterface
{
/*< private >*/
GTypeInterface g_iface;
/*< public >*/
GdkSurface * (* get_surface) (GtkNative *self);
GskRenderer * (* get_renderer) (GtkNative *self);
void (* get_surface_transform) (GtkNative *self,
int *x,
int *y);
void (* check_resize) (GtkNative *self);
};
gtk_native_get_for_surface
GtkWidget *
GdkSurface *surface
gtk_native_check_resize
void
GtkNative *self
gtk_native_get_surface
GdkSurface *
GtkNative *self
gtk_native_get_renderer
GskRenderer *
GtkNative *self
GtkNative
GTK_TYPE_NATIVE_DIALOG
#define GTK_TYPE_NATIVE_DIALOG (gtk_native_dialog_get_type ())
GtkNativeDialogClass
struct _GtkNativeDialogClass
{
GObjectClass parent_class;
void (* response) (GtkNativeDialog *self, gint response_id);
/* */
void (* show) (GtkNativeDialog *self);
void (* hide) (GtkNativeDialog *self);
/* Padding for future expansion */
void (*_gtk_reserved1) (void);
void (*_gtk_reserved2) (void);
void (*_gtk_reserved3) (void);
void (*_gtk_reserved4) (void);
};
gtk_native_dialog_show
void
GtkNativeDialog *self
gtk_native_dialog_hide
void
GtkNativeDialog *self
gtk_native_dialog_destroy
void
GtkNativeDialog *self
gtk_native_dialog_get_visible
gboolean
GtkNativeDialog *self
gtk_native_dialog_set_modal
void
GtkNativeDialog *self, gboolean modal
gtk_native_dialog_get_modal
gboolean
GtkNativeDialog *self
gtk_native_dialog_set_title
void
GtkNativeDialog *self, const char *title
gtk_native_dialog_get_title
const char *
GtkNativeDialog *self
gtk_native_dialog_set_transient_for
void
GtkNativeDialog *self, GtkWindow *parent
gtk_native_dialog_get_transient_for
GtkWindow *
GtkNativeDialog *self
gtk_native_dialog_run
gint
GtkNativeDialog *self
GtkNativeDialog
gtk_native_get_surface_transform
void
GtkNative *self, int *x, int *y
GTK_TYPE_NO_SELECTION
#define GTK_TYPE_NO_SELECTION (gtk_no_selection_get_type ())
gtk_no_selection_new
GtkNoSelection *
GListModel *model
gtk_no_selection_get_model
GListModel *
GtkNoSelection *self
GtkNoSelection
GTK_TYPE_NOTEBOOK
#define GTK_TYPE_NOTEBOOK (gtk_notebook_get_type ())
GTK_NOTEBOOK
#define GTK_NOTEBOOK(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_NOTEBOOK, GtkNotebook))
GTK_IS_NOTEBOOK
#define GTK_IS_NOTEBOOK(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_NOTEBOOK))
GTK_TYPE_NOTEBOOK_PAGE
#define GTK_TYPE_NOTEBOOK_PAGE (gtk_notebook_page_get_type ())
GTK_NOTEBOOK_PAGE
#define GTK_NOTEBOOK_PAGE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_NOTEBOOK_PAGE, GtkNotebookPage))
GTK_IS_NOTEBOOK_PAGE
#define GTK_IS_NOTEBOOK_PAGE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_NOTEBOOK_PAGE))
GtkNotebookTab
typedef enum
{
GTK_NOTEBOOK_TAB_FIRST,
GTK_NOTEBOOK_TAB_LAST
} GtkNotebookTab;
gtk_notebook_get_type
GType
void
gtk_notebook_new
GtkWidget *
void
gtk_notebook_append_page
gint
GtkNotebook *notebook, GtkWidget *child, GtkWidget *tab_label
gtk_notebook_append_page_menu
gint
GtkNotebook *notebook, GtkWidget *child, GtkWidget *tab_label, GtkWidget *menu_label
gtk_notebook_prepend_page
gint
GtkNotebook *notebook, GtkWidget *child, GtkWidget *tab_label
gtk_notebook_prepend_page_menu
gint
GtkNotebook *notebook, GtkWidget *child, GtkWidget *tab_label, GtkWidget *menu_label
gtk_notebook_insert_page
gint
GtkNotebook *notebook, GtkWidget *child, GtkWidget *tab_label, gint position
gtk_notebook_insert_page_menu
gint
GtkNotebook *notebook, GtkWidget *child, GtkWidget *tab_label, GtkWidget *menu_label, gint position
gtk_notebook_remove_page
void
GtkNotebook *notebook, gint page_num
gtk_notebook_set_group_name
void
GtkNotebook *notebook, const gchar *group_name
gtk_notebook_get_group_name
const gchar *
GtkNotebook *notebook
gtk_notebook_get_current_page
gint
GtkNotebook *notebook
gtk_notebook_get_nth_page
GtkWidget *
GtkNotebook *notebook, gint page_num
gtk_notebook_get_n_pages
gint
GtkNotebook *notebook
gtk_notebook_page_num
gint
GtkNotebook *notebook, GtkWidget *child
gtk_notebook_set_current_page
void
GtkNotebook *notebook, gint page_num
gtk_notebook_next_page
void
GtkNotebook *notebook
gtk_notebook_prev_page
void
GtkNotebook *notebook
gtk_notebook_set_show_border
void
GtkNotebook *notebook, gboolean show_border
gtk_notebook_get_show_border
gboolean
GtkNotebook *notebook
gtk_notebook_set_show_tabs
void
GtkNotebook *notebook, gboolean show_tabs
gtk_notebook_get_show_tabs
gboolean
GtkNotebook *notebook
gtk_notebook_set_tab_pos
void
GtkNotebook *notebook, GtkPositionType pos
gtk_notebook_get_tab_pos
GtkPositionType
GtkNotebook *notebook
gtk_notebook_set_scrollable
void
GtkNotebook *notebook, gboolean scrollable
gtk_notebook_get_scrollable
gboolean
GtkNotebook *notebook
gtk_notebook_popup_enable
void
GtkNotebook *notebook
gtk_notebook_popup_disable
void
GtkNotebook *notebook
gtk_notebook_get_tab_label
GtkWidget *
GtkNotebook *notebook, GtkWidget *child
gtk_notebook_set_tab_label
void
GtkNotebook *notebook, GtkWidget *child, GtkWidget *tab_label
gtk_notebook_set_tab_label_text
void
GtkNotebook *notebook, GtkWidget *child, const gchar *tab_text
gtk_notebook_get_tab_label_text
const gchar *
GtkNotebook *notebook, GtkWidget *child
gtk_notebook_get_menu_label
GtkWidget *
GtkNotebook *notebook, GtkWidget *child
gtk_notebook_set_menu_label
void
GtkNotebook *notebook, GtkWidget *child, GtkWidget *menu_label
gtk_notebook_set_menu_label_text
void
GtkNotebook *notebook, GtkWidget *child, const gchar *menu_text
gtk_notebook_get_menu_label_text
const gchar *
GtkNotebook *notebook, GtkWidget *child
gtk_notebook_reorder_child
void
GtkNotebook *notebook, GtkWidget *child, gint position
gtk_notebook_get_tab_reorderable
gboolean
GtkNotebook *notebook, GtkWidget *child
gtk_notebook_set_tab_reorderable
void
GtkNotebook *notebook, GtkWidget *child, gboolean reorderable
gtk_notebook_get_tab_detachable
gboolean
GtkNotebook *notebook, GtkWidget *child
gtk_notebook_set_tab_detachable
void
GtkNotebook *notebook, GtkWidget *child, gboolean detachable
gtk_notebook_detach_tab
void
GtkNotebook *notebook, GtkWidget *child
gtk_notebook_get_action_widget
GtkWidget *
GtkNotebook *notebook, GtkPackType pack_type
gtk_notebook_set_action_widget
void
GtkNotebook *notebook, GtkWidget *widget, GtkPackType pack_type
gtk_notebook_page_get_type
GType
void
gtk_notebook_get_page
GtkNotebookPage *
GtkNotebook *notebook, GtkWidget *child
gtk_notebook_page_get_child
GtkWidget *
GtkNotebookPage *page
gtk_notebook_get_pages
GListModel *
GtkNotebook *notebook
GtkNotebook
GtkNotebookPage
GTK_TYPE_ORIENTABLE
#define GTK_TYPE_ORIENTABLE (gtk_orientable_get_type ())
GTK_ORIENTABLE
#define GTK_ORIENTABLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_ORIENTABLE, GtkOrientable))
GTK_ORIENTABLE_CLASS
#define GTK_ORIENTABLE_CLASS(vtable) (G_TYPE_CHECK_CLASS_CAST ((vtable), GTK_TYPE_ORIENTABLE, GtkOrientableIface))
GTK_IS_ORIENTABLE
#define GTK_IS_ORIENTABLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_ORIENTABLE))
GTK_IS_ORIENTABLE_CLASS
#define GTK_IS_ORIENTABLE_CLASS(vtable) (G_TYPE_CHECK_CLASS_TYPE ((vtable), GTK_TYPE_ORIENTABLE))
GTK_ORIENTABLE_GET_IFACE
#define GTK_ORIENTABLE_GET_IFACE(inst) (G_TYPE_INSTANCE_GET_INTERFACE ((inst), GTK_TYPE_ORIENTABLE, GtkOrientableIface))
GtkOrientableIface
struct _GtkOrientableIface
{
GTypeInterface base_iface;
};
gtk_orientable_get_type
GType
void
gtk_orientable_set_orientation
void
GtkOrientable *orientable, GtkOrientation orientation
gtk_orientable_get_orientation
GtkOrientation
GtkOrientable *orientable
GtkOrientable
GTK_TYPE_OVERLAY
#define GTK_TYPE_OVERLAY (gtk_overlay_get_type ())
GTK_OVERLAY
#define GTK_OVERLAY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_OVERLAY, GtkOverlay))
GTK_IS_OVERLAY
#define GTK_IS_OVERLAY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_OVERLAY))
gtk_overlay_get_type
GType
void
gtk_overlay_new
GtkWidget *
void
gtk_overlay_add_overlay
void
GtkOverlay *overlay, GtkWidget *widget
gtk_overlay_get_measure_overlay
gboolean
GtkOverlay *overlay, GtkWidget *widget
gtk_overlay_set_measure_overlay
void
GtkOverlay *overlay, GtkWidget *widget, gboolean measure
gtk_overlay_get_clip_overlay
gboolean
GtkOverlay *overlay, GtkWidget *widget
gtk_overlay_set_clip_overlay
void
GtkOverlay *overlay, GtkWidget *widget, gboolean clip_overlay
GtkOverlay
GTK_TYPE_OVERLAY_LAYOUT
#define GTK_TYPE_OVERLAY_LAYOUT (gtk_overlay_layout_get_type ())
GTK_TYPE_OVERLAY_LAYOUT_CHILD
#define GTK_TYPE_OVERLAY_LAYOUT_CHILD (gtk_overlay_layout_child_get_type ())
gtk_overlay_layout_new
GtkLayoutManager *
void
gtk_overlay_layout_child_set_measure
void
GtkOverlayLayoutChild *child, gboolean measure
gtk_overlay_layout_child_get_measure
gboolean
GtkOverlayLayoutChild *child
gtk_overlay_layout_child_set_clip_overlay
void
GtkOverlayLayoutChild *child, gboolean clip_overlay
gtk_overlay_layout_child_get_clip_overlay
gboolean
GtkOverlayLayoutChild *child
GtkOverlayLayout
GtkOverlayLayoutChild
GTK_TYPE_PAD_CONTROLLER
#define GTK_TYPE_PAD_CONTROLLER (gtk_pad_controller_get_type ())
GTK_PAD_CONTROLLER
#define GTK_PAD_CONTROLLER(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GTK_TYPE_PAD_CONTROLLER, GtkPadController))
GTK_PAD_CONTROLLER_CLASS
#define GTK_PAD_CONTROLLER_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GTK_TYPE_PAD_CONTROLLER, GtkPadControllerClass))
GTK_IS_PAD_CONTROLLER
#define GTK_IS_PAD_CONTROLLER(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GTK_TYPE_PAD_CONTROLLER))
GTK_IS_PAD_CONTROLLER_CLASS
#define GTK_IS_PAD_CONTROLLER_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GTK_TYPE_PAD_CONTROLLER))
GTK_PAD_CONTROLLER_GET_CLASS
#define GTK_PAD_CONTROLLER_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GTK_TYPE_PAD_CONTROLLER, GtkPadControllerClass))
GtkPadActionType
typedef enum {
GTK_PAD_ACTION_BUTTON,
GTK_PAD_ACTION_RING,
GTK_PAD_ACTION_STRIP
} GtkPadActionType;
GtkPadActionEntry
struct _GtkPadActionEntry {
GtkPadActionType type;
gint index;
gint mode;
gchar *label;
gchar *action_name;
};
gtk_pad_controller_get_type
GType
void
gtk_pad_controller_new
GtkPadController *
GActionGroup *group, GdkDevice *pad
gtk_pad_controller_set_action_entries
void
GtkPadController *controller, const GtkPadActionEntry *entries, gint n_entries
gtk_pad_controller_set_action
void
GtkPadController *controller, GtkPadActionType type, gint index, gint mode, const gchar *label, const gchar *action_name
GtkPadController
GtkPadControllerClass
GTK_TYPE_PAGE_SETUP
#define GTK_TYPE_PAGE_SETUP (gtk_page_setup_get_type ())
GTK_PAGE_SETUP
#define GTK_PAGE_SETUP(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_PAGE_SETUP, GtkPageSetup))
GTK_IS_PAGE_SETUP
#define GTK_IS_PAGE_SETUP(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_PAGE_SETUP))
gtk_page_setup_get_type
GType
void
gtk_page_setup_new
GtkPageSetup *
void
gtk_page_setup_copy
GtkPageSetup *
GtkPageSetup *other
gtk_page_setup_get_orientation
GtkPageOrientation
GtkPageSetup *setup
gtk_page_setup_set_orientation
void
GtkPageSetup *setup, GtkPageOrientation orientation
gtk_page_setup_get_paper_size
GtkPaperSize *
GtkPageSetup *setup
gtk_page_setup_set_paper_size
void
GtkPageSetup *setup, GtkPaperSize *size
gtk_page_setup_get_top_margin
gdouble
GtkPageSetup *setup, GtkUnit unit
gtk_page_setup_set_top_margin
void
GtkPageSetup *setup, gdouble margin, GtkUnit unit
gtk_page_setup_get_bottom_margin
gdouble
GtkPageSetup *setup, GtkUnit unit
gtk_page_setup_set_bottom_margin
void
GtkPageSetup *setup, gdouble margin, GtkUnit unit
gtk_page_setup_get_left_margin
gdouble
GtkPageSetup *setup, GtkUnit unit
gtk_page_setup_set_left_margin
void
GtkPageSetup *setup, gdouble margin, GtkUnit unit
gtk_page_setup_get_right_margin
gdouble
GtkPageSetup *setup, GtkUnit unit
gtk_page_setup_set_right_margin
void
GtkPageSetup *setup, gdouble margin, GtkUnit unit
gtk_page_setup_set_paper_size_and_default_margins
void
GtkPageSetup *setup, GtkPaperSize *size
gtk_page_setup_get_paper_width
gdouble
GtkPageSetup *setup, GtkUnit unit
gtk_page_setup_get_paper_height
gdouble
GtkPageSetup *setup, GtkUnit unit
gtk_page_setup_get_page_width
gdouble
GtkPageSetup *setup, GtkUnit unit
gtk_page_setup_get_page_height
gdouble
GtkPageSetup *setup, GtkUnit unit
gtk_page_setup_new_from_file
GtkPageSetup *
const gchar *file_name, GError **error
gtk_page_setup_load_file
gboolean
GtkPageSetup *setup, const char *file_name, GError **error
gtk_page_setup_to_file
gboolean
GtkPageSetup *setup, const char *file_name, GError **error
gtk_page_setup_new_from_key_file
GtkPageSetup *
GKeyFile *key_file, const gchar *group_name, GError **error
gtk_page_setup_load_key_file
gboolean
GtkPageSetup *setup, GKeyFile *key_file, const gchar *group_name, GError **error
gtk_page_setup_to_key_file
void
GtkPageSetup *setup, GKeyFile *key_file, const gchar *group_name
gtk_page_setup_to_gvariant
GVariant *
GtkPageSetup *setup
gtk_page_setup_new_from_gvariant
GtkPageSetup *
GVariant *variant
GtkPageSetup
GTK_TYPE_PAGE_SETUP_UNIX_DIALOG
#define GTK_TYPE_PAGE_SETUP_UNIX_DIALOG (gtk_page_setup_unix_dialog_get_type ())
GTK_PAGE_SETUP_UNIX_DIALOG
#define GTK_PAGE_SETUP_UNIX_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_PAGE_SETUP_UNIX_DIALOG, GtkPageSetupUnixDialog))
GTK_IS_PAGE_SETUP_UNIX_DIALOG
#define GTK_IS_PAGE_SETUP_UNIX_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_PAGE_SETUP_UNIX_DIALOG))
gtk_page_setup_unix_dialog_get_type
GType
void
gtk_page_setup_unix_dialog_new
GtkWidget *
const gchar *title, GtkWindow *parent
gtk_page_setup_unix_dialog_set_page_setup
void
GtkPageSetupUnixDialog *dialog, GtkPageSetup *page_setup
gtk_page_setup_unix_dialog_get_page_setup
GtkPageSetup *
GtkPageSetupUnixDialog *dialog
gtk_page_setup_unix_dialog_set_print_settings
void
GtkPageSetupUnixDialog *dialog, GtkPrintSettings *print_settings
gtk_page_setup_unix_dialog_get_print_settings
GtkPrintSettings *
GtkPageSetupUnixDialog *dialog
GtkPageSetupUnixDialog
GTK_TYPE_PANED
#define GTK_TYPE_PANED (gtk_paned_get_type ())
GTK_PANED
#define GTK_PANED(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_PANED, GtkPaned))
GTK_IS_PANED
#define GTK_IS_PANED(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_PANED))
gtk_paned_get_type
GType
void
gtk_paned_new
GtkWidget *
GtkOrientation orientation
gtk_paned_add1
void
GtkPaned *paned, GtkWidget *child
gtk_paned_add2
void
GtkPaned *paned, GtkWidget *child
gtk_paned_pack1
void
GtkPaned *paned, GtkWidget *child, gboolean resize, gboolean shrink
gtk_paned_pack2
void
GtkPaned *paned, GtkWidget *child, gboolean resize, gboolean shrink
gtk_paned_get_position
gint
GtkPaned *paned
gtk_paned_set_position
void
GtkPaned *paned, gint position
gtk_paned_get_child1
GtkWidget *
GtkPaned *paned
gtk_paned_get_child2
GtkWidget *
GtkPaned *paned
gtk_paned_set_wide_handle
void
GtkPaned *paned, gboolean wide
gtk_paned_get_wide_handle
gboolean
GtkPaned *paned
GtkPaned
GTK_TYPE_PAPER_SIZE
#define GTK_TYPE_PAPER_SIZE (gtk_paper_size_get_type ())
GTK_PAPER_NAME_A3
#define GTK_PAPER_NAME_A3 "iso_a3"
GTK_PAPER_NAME_A4
#define GTK_PAPER_NAME_A4 "iso_a4"
GTK_PAPER_NAME_A5
#define GTK_PAPER_NAME_A5 "iso_a5"
GTK_PAPER_NAME_B5
#define GTK_PAPER_NAME_B5 "iso_b5"
GTK_PAPER_NAME_LETTER
#define GTK_PAPER_NAME_LETTER "na_letter"
GTK_PAPER_NAME_EXECUTIVE
#define GTK_PAPER_NAME_EXECUTIVE "na_executive"
GTK_PAPER_NAME_LEGAL
#define GTK_PAPER_NAME_LEGAL "na_legal"
gtk_paper_size_get_type
GType
void
gtk_paper_size_new
GtkPaperSize *
const gchar *name
gtk_paper_size_new_from_ppd
GtkPaperSize *
const gchar *ppd_name, const gchar *ppd_display_name, gdouble width, gdouble height
gtk_paper_size_new_from_ipp
GtkPaperSize *
const gchar *ipp_name, gdouble width, gdouble height
gtk_paper_size_new_custom
GtkPaperSize *
const gchar *name, const gchar *display_name, gdouble width, gdouble height, GtkUnit unit
gtk_paper_size_copy
GtkPaperSize *
GtkPaperSize *other
gtk_paper_size_free
void
GtkPaperSize *size
gtk_paper_size_is_equal
gboolean
GtkPaperSize *size1, GtkPaperSize *size2
gtk_paper_size_get_paper_sizes
GList *
gboolean include_custom
gtk_paper_size_get_name
const gchar *
GtkPaperSize *size
gtk_paper_size_get_display_name
const gchar *
GtkPaperSize *size
gtk_paper_size_get_ppd_name
const gchar *
GtkPaperSize *size
gtk_paper_size_get_width
gdouble
GtkPaperSize *size, GtkUnit unit
gtk_paper_size_get_height
gdouble
GtkPaperSize *size, GtkUnit unit
gtk_paper_size_is_custom
gboolean
GtkPaperSize *size
gtk_paper_size_is_ipp
gboolean
GtkPaperSize *size
gtk_paper_size_set_size
void
GtkPaperSize *size, gdouble width, gdouble height, GtkUnit unit
gtk_paper_size_get_default_top_margin
gdouble
GtkPaperSize *size, GtkUnit unit
gtk_paper_size_get_default_bottom_margin
gdouble
GtkPaperSize *size, GtkUnit unit
gtk_paper_size_get_default_left_margin
gdouble
GtkPaperSize *size, GtkUnit unit
gtk_paper_size_get_default_right_margin
gdouble
GtkPaperSize *size, GtkUnit unit
gtk_paper_size_get_default
const gchar *
void
gtk_paper_size_new_from_key_file
GtkPaperSize *
GKeyFile *key_file, const gchar *group_name, GError **error
gtk_paper_size_to_key_file
void
GtkPaperSize *size, GKeyFile *key_file, const gchar *group_name
gtk_paper_size_new_from_gvariant
GtkPaperSize *
GVariant *variant
gtk_paper_size_to_gvariant
GVariant *
GtkPaperSize *paper_size
GtkPaperSize
GTK_TYPE_PASSWORD_ENTRY
#define GTK_TYPE_PASSWORD_ENTRY (gtk_password_entry_get_type ())
GTK_PASSWORD_ENTRY
#define GTK_PASSWORD_ENTRY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_PASSWORD_ENTRY, GtkPasswordEntry))
GTK_IS_PASSWORD_ENTRY
#define GTK_IS_PASSWORD_ENTRY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_PASSWORD_ENTRY))
GtkPasswordEntry
struct _GtkPasswordEntry
{
GtkWidget parent;
};
gtk_password_entry_get_type
GType
void
gtk_password_entry_new
GtkWidget *
void
gtk_password_entry_set_show_peek_icon
void
GtkPasswordEntry *entry, gboolean show_peek_icon
gtk_password_entry_get_show_peek_icon
gboolean
GtkPasswordEntry *entry
gtk_password_entry_set_extra_menu
void
GtkPasswordEntry *entry, GMenuModel *model
gtk_password_entry_get_extra_menu
GMenuModel *
GtkPasswordEntry *entry
GtkPasswordEntryClass
GTK_TYPE_PATH_BAR
#define GTK_TYPE_PATH_BAR (gtk_path_bar_get_type ())
GTK_PATH_BAR
#define GTK_PATH_BAR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_PATH_BAR, GtkPathBar))
GTK_PATH_BAR_CLASS
#define GTK_PATH_BAR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_PATH_BAR, GtkPathBarClass))
GTK_IS_PATH_BAR
#define GTK_IS_PATH_BAR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_PATH_BAR))
GTK_IS_PATH_BAR_CLASS
#define GTK_IS_PATH_BAR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_PATH_BAR))
GTK_PATH_BAR_GET_CLASS
#define GTK_PATH_BAR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_PATH_BAR, GtkPathBarClass))
GtkPathBar
struct _GtkPathBar
{
GtkContainer parent_instance;
};
GtkPathBarClass
struct _GtkPathBarClass
{
GtkContainerClass parent_class;
void (* path_clicked) (GtkPathBar *path_bar,
GFile *file,
GFile *child_file,
gboolean child_is_hidden);
};
gtk_path_bar_get_type
GType
void
GTK_TYPE_PICTURE
#define GTK_TYPE_PICTURE (gtk_picture_get_type ())
gtk_picture_new
GtkWidget *
void
gtk_picture_new_for_paintable
GtkWidget *
GdkPaintable *paintable
gtk_picture_new_for_pixbuf
GtkWidget *
GdkPixbuf *pixbuf
gtk_picture_new_for_file
GtkWidget *
GFile *file
gtk_picture_new_for_filename
GtkWidget *
const gchar *filename
gtk_picture_new_for_resource
GtkWidget *
const gchar *resource_path
gtk_picture_set_paintable
void
GtkPicture *self, GdkPaintable *paintable
gtk_picture_get_paintable
GdkPaintable *
GtkPicture *self
gtk_picture_set_file
void
GtkPicture *self, GFile *file
gtk_picture_get_file
GFile *
GtkPicture *self
gtk_picture_set_filename
void
GtkPicture *self, const gchar *filename
gtk_picture_set_resource
void
GtkPicture *self, const gchar *resource_path
gtk_picture_set_pixbuf
void
GtkPicture *self, GdkPixbuf *pixbuf
gtk_picture_set_keep_aspect_ratio
void
GtkPicture *self, gboolean keep_aspect_ratio
gtk_picture_get_keep_aspect_ratio
gboolean
GtkPicture *self
gtk_picture_set_can_shrink
void
GtkPicture *self, gboolean can_shrink
gtk_picture_get_can_shrink
gboolean
GtkPicture *self
gtk_picture_set_alternative_text
void
GtkPicture *self, const char *alternative_text
gtk_picture_get_alternative_text
const char *
GtkPicture *self
GtkPicture
GTK_TYPE_POPOVER
#define GTK_TYPE_POPOVER (gtk_popover_get_type ())
GTK_POPOVER
#define GTK_POPOVER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_POPOVER, GtkPopover))
GTK_POPOVER_CLASS
#define GTK_POPOVER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_POPOVER, GtkPopoverClass))
GTK_IS_POPOVER
#define GTK_IS_POPOVER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_POPOVER))
GTK_IS_POPOVER_CLASS
#define GTK_IS_POPOVER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_POPOVER))
GTK_POPOVER_GET_CLASS
#define GTK_POPOVER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_POPOVER, GtkPopoverClass))
GtkPopover
struct _GtkPopover
{
GtkBin parent;
};
GtkPopoverClass
struct _GtkPopoverClass
{
GtkBinClass parent_class;
void (* closed) (GtkPopover *popover);
void (* activate_default) (GtkPopover *popover);
/*< private >*/
gpointer reserved[8];
};
gtk_popover_get_type
GType
void
gtk_popover_new
GtkWidget *
GtkWidget *relative_to
gtk_popover_set_relative_to
void
GtkPopover *popover, GtkWidget *relative_to
gtk_popover_get_relative_to
GtkWidget *
GtkPopover *popover
gtk_popover_set_pointing_to
void
GtkPopover *popover, const GdkRectangle *rect
gtk_popover_get_pointing_to
gboolean
GtkPopover *popover, GdkRectangle *rect
gtk_popover_set_position
void
GtkPopover *popover, GtkPositionType position
gtk_popover_get_position
GtkPositionType
GtkPopover *popover
gtk_popover_set_autohide
void
GtkPopover *popover, gboolean autohide
gtk_popover_get_autohide
gboolean
GtkPopover *popover
gtk_popover_set_has_arrow
void
GtkPopover *popover, gboolean has_arrow
gtk_popover_get_has_arrow
gboolean
GtkPopover *popover
gtk_popover_popup
void
GtkPopover *popover
gtk_popover_popdown
void
GtkPopover *popover
gtk_popover_set_default_widget
void
GtkPopover *popover, GtkWidget *widget
GTK_TYPE_POPOVER_MENU
#define GTK_TYPE_POPOVER_MENU (gtk_popover_menu_get_type ())
GTK_POPOVER_MENU
#define GTK_POPOVER_MENU(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GTK_TYPE_POPOVER_MENU, GtkPopoverMenu))
GTK_IS_POPOVER_MENU
#define GTK_IS_POPOVER_MENU(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GTK_TYPE_POPOVER_MENU))
gtk_popover_menu_get_type
GType
void
gtk_popover_menu_new_from_model
GtkWidget *
GtkWidget *relative_to, GMenuModel *model
GtkPopoverMenuFlags
typedef enum {
GTK_POPOVER_MENU_NESTED = 1 << 0
} GtkPopoverMenuFlags;
gtk_popover_menu_new_from_model_full
GtkWidget *
GtkWidget *relative_to, GMenuModel *model, GtkPopoverMenuFlags flags
gtk_popover_menu_set_menu_model
void
GtkPopoverMenu *popover, GMenuModel *model
gtk_popover_menu_get_menu_model
GMenuModel *
GtkPopoverMenu *popover
GtkPopoverMenu
GTK_TYPE_POPOVER_MENU_BAR
#define GTK_TYPE_POPOVER_MENU_BAR (gtk_popover_menu_bar_get_type ())
GTK_POPOVER_MENU_BAR
#define GTK_POPOVER_MENU_BAR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_POPOVER_MENU_BAR, GtkPopoverMenuBar))
GTK_IS_POPOVER_MENU_BAR
#define GTK_IS_POPOVER_MENU_BAR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_POPOVER_MENU_BAR))
gtk_popover_menu_bar_get_type
GType
void
gtk_popover_menu_bar_new_from_model
GtkWidget *
GMenuModel *model
gtk_popover_menu_bar_set_menu_model
void
GtkPopoverMenuBar *bar, GMenuModel *model
gtk_popover_menu_bar_get_menu_model
GMenuModel *
GtkPopoverMenuBar *bar
GtkPopoverMenuBar
gtk_popover_menu_bar_select_first
void
GtkPopoverMenuBar *bar
gtk_popover_menu_bar_get_viewable_menu_bars
GList *
GtkWindow *window
gtk_popover_menu_get_active_item
GtkWidget *
GtkPopoverMenu *menu
gtk_popover_menu_set_active_item
void
GtkPopoverMenu *menu, GtkWidget *item
gtk_popover_menu_get_open_submenu
GtkWidget *
GtkPopoverMenu *menu
gtk_popover_menu_set_open_submenu
void
GtkPopoverMenu *menu, GtkWidget *submenu
gtk_popover_menu_get_parent_menu
GtkWidget *
GtkPopoverMenu *menu
gtk_popover_menu_set_parent_menu
void
GtkPopoverMenu *menu, GtkWidget *parent
gtk_popover_menu_new
GtkWidget *
GtkWidget *relative_to
gtk_popover_menu_add_submenu
void
GtkPopoverMenu *popover, GtkWidget *submenu, const char *name
gtk_popover_menu_open_submenu
void
GtkPopoverMenu *popover, const gchar *name
START_PAGE_GENERAL
#define START_PAGE_GENERAL 0xffffffff
PD_RESULT_CANCEL
#define PD_RESULT_CANCEL 0
PD_RESULT_PRINT
#define PD_RESULT_PRINT 1
PD_RESULT_APPLY
#define PD_RESULT_APPLY 2
PD_NOCURRENTPAGE
#define PD_NOCURRENTPAGE 0x00800000
PD_CURRENTPAGE
#define PD_CURRENTPAGE 0x00400000
GtkPrintWin32Devnames
typedef struct {
char *driver;
char *device;
char *output;
int flags;
} GtkPrintWin32Devnames;
gtk_print_win32_devnames_free
void
GtkPrintWin32Devnames *devnames
gtk_print_win32_devnames_from_win32
GtkPrintWin32Devnames *
HGLOBAL global
gtk_print_win32_devnames_from_printer_name
GtkPrintWin32Devnames *
const char *printer
gtk_print_win32_devnames_to_win32
HGLOBAL
const GtkPrintWin32Devnames *devnames
gtk_print_win32_devnames_to_win32_from_printer_name
HGLOBAL
const char *printer
GTK_PRINT_BACKEND_ERROR
#define GTK_PRINT_BACKEND_ERROR (gtk_print_backend_error_quark ())
GtkPrintBackendError
typedef enum
{
/* TODO: add specific errors */
GTK_PRINT_BACKEND_ERROR_GENERIC
} GtkPrintBackendError;
gtk_print_backend_error_quark
GQuark
void
GTK_TYPE_PRINT_BACKEND
#define GTK_TYPE_PRINT_BACKEND (gtk_print_backend_get_type ())
GTK_PRINT_BACKEND
#define GTK_PRINT_BACKEND(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_PRINT_BACKEND, GtkPrintBackend))
GTK_PRINT_BACKEND_CLASS
#define GTK_PRINT_BACKEND_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_PRINT_BACKEND, GtkPrintBackendClass))
GTK_IS_PRINT_BACKEND
#define GTK_IS_PRINT_BACKEND(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_PRINT_BACKEND))
GTK_IS_PRINT_BACKEND_CLASS
#define GTK_IS_PRINT_BACKEND_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_PRINT_BACKEND))
GTK_PRINT_BACKEND_GET_CLASS
#define GTK_PRINT_BACKEND_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_PRINT_BACKEND, GtkPrintBackendClass))
GtkPrintBackendStatus
typedef enum
{
GTK_PRINT_BACKEND_STATUS_UNKNOWN,
GTK_PRINT_BACKEND_STATUS_OK,
GTK_PRINT_BACKEND_STATUS_UNAVAILABLE
} GtkPrintBackendStatus;
GtkPrintBackend
struct _GtkPrintBackend
{
GObject parent_instance;
GtkPrintBackendPrivate *priv;
};
GtkPrintBackendClass
struct _GtkPrintBackendClass
{
GObjectClass parent_class;
/* Global backend methods: */
void (*request_printer_list) (GtkPrintBackend *backend);
void (*print_stream) (GtkPrintBackend *backend,
GtkPrintJob *job,
GIOChannel *data_io,
GtkPrintJobCompleteFunc callback,
gpointer user_data,
GDestroyNotify dnotify);
/* Printer methods: */
void (*printer_request_details) (GtkPrinter *printer);
cairo_surface_t * (*printer_create_cairo_surface) (GtkPrinter *printer,
GtkPrintSettings *settings,
gdouble height,
gdouble width,
GIOChannel *cache_io);
GtkPrinterOptionSet * (*printer_get_options) (GtkPrinter *printer,
GtkPrintSettings *settings,
GtkPageSetup *page_setup,
GtkPrintCapabilities capabilities);
gboolean (*printer_mark_conflicts) (GtkPrinter *printer,
GtkPrinterOptionSet *options);
void (*printer_get_settings_from_options) (GtkPrinter *printer,
GtkPrinterOptionSet *options,
GtkPrintSettings *settings);
void (*printer_prepare_for_print) (GtkPrinter *printer,
GtkPrintJob *print_job,
GtkPrintSettings *settings,
GtkPageSetup *page_setup);
GList * (*printer_list_papers) (GtkPrinter *printer);
GtkPageSetup * (*printer_get_default_page_size) (GtkPrinter *printer);
gboolean (*printer_get_hard_margins) (GtkPrinter *printer,
gdouble *top,
gdouble *bottom,
gdouble *left,
gdouble *right);
GtkPrintCapabilities (*printer_get_capabilities) (GtkPrinter *printer);
/* Signals */
void (*printer_list_changed) (GtkPrintBackend *backend);
void (*printer_list_done) (GtkPrintBackend *backend);
void (*printer_added) (GtkPrintBackend *backend,
GtkPrinter *printer);
void (*printer_removed) (GtkPrintBackend *backend,
GtkPrinter *printer);
void (*printer_status_changed) (GtkPrintBackend *backend,
GtkPrinter *printer);
void (*request_password) (GtkPrintBackend *backend,
gpointer auth_info_required,
gpointer auth_info_default,
gpointer auth_info_display,
gpointer auth_info_visible,
const gchar *prompt,
gboolean can_store_auth_info);
/* not a signal */
void (*set_password) (GtkPrintBackend *backend,
gchar **auth_info_required,
gchar **auth_info,
gboolean store_auth_info);
gboolean (*printer_get_hard_margins_for_paper_size) (GtkPrinter *printer,
GtkPaperSize *paper_size,
gdouble *top,
gdouble *bottom,
gdouble *left,
gdouble *right);
};
GTK_PRINT_BACKEND_EXTENSION_POINT_NAME
#define GTK_PRINT_BACKEND_EXTENSION_POINT_NAME "gtk-print-backend"
gtk_print_backend_get_type
GType
void
gtk_print_backend_get_printer_list
GList *
GtkPrintBackend *print_backend
gtk_print_backend_printer_list_is_done
gboolean
GtkPrintBackend *print_backend
gtk_print_backend_find_printer
GtkPrinter *
GtkPrintBackend *print_backend, const gchar *printer_name
gtk_print_backend_print_stream
void
GtkPrintBackend *print_backend, GtkPrintJob *job, GIOChannel *data_io, GtkPrintJobCompleteFunc callback, gpointer user_data, GDestroyNotify dnotify
gtk_print_backend_load_modules
GList *
void
gtk_print_backend_destroy
void
GtkPrintBackend *print_backend
gtk_print_backend_set_password
void
GtkPrintBackend *backend, gchar **auth_info_required, gchar **auth_info, gboolean can_store_auth_info
gtk_print_backend_add_printer
void
GtkPrintBackend *print_backend, GtkPrinter *printer
gtk_print_backend_remove_printer
void
GtkPrintBackend *print_backend, GtkPrinter *printer
gtk_print_backend_set_list_done
void
GtkPrintBackend *backend
gtk_printer_is_new
gboolean
GtkPrinter *printer
gtk_printer_set_accepts_pdf
void
GtkPrinter *printer, gboolean val
gtk_printer_set_accepts_ps
void
GtkPrinter *printer, gboolean val
gtk_printer_set_is_new
void
GtkPrinter *printer, gboolean val
gtk_printer_set_is_active
void
GtkPrinter *printer, gboolean val
gtk_printer_set_is_paused
gboolean
GtkPrinter *printer, gboolean val
gtk_printer_set_is_accepting_jobs
gboolean
GtkPrinter *printer, gboolean val
gtk_printer_set_has_details
void
GtkPrinter *printer, gboolean val
gtk_printer_set_is_default
void
GtkPrinter *printer, gboolean val
gtk_printer_set_icon_name
void
GtkPrinter *printer, const gchar *icon
gtk_printer_set_job_count
gboolean
GtkPrinter *printer, gint count
gtk_printer_set_location
gboolean
GtkPrinter *printer, const gchar *location
gtk_printer_set_description
gboolean
GtkPrinter *printer, const gchar *description
gtk_printer_set_state_message
gboolean
GtkPrinter *printer, const gchar *message
gtk_print_backends_init
void
void
GtkPrintBackendPrivate
GTK_TYPE_PRINT_CONTEXT
#define GTK_TYPE_PRINT_CONTEXT (gtk_print_context_get_type ())
GTK_PRINT_CONTEXT
#define GTK_PRINT_CONTEXT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_PRINT_CONTEXT, GtkPrintContext))
GTK_IS_PRINT_CONTEXT
#define GTK_IS_PRINT_CONTEXT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_PRINT_CONTEXT))
gtk_print_context_get_type
GType
void
gtk_print_context_get_cairo_context
cairo_t *
GtkPrintContext *context
gtk_print_context_get_page_setup
GtkPageSetup *
GtkPrintContext *context
gtk_print_context_get_width
gdouble
GtkPrintContext *context
gtk_print_context_get_height
gdouble
GtkPrintContext *context
gtk_print_context_get_dpi_x
gdouble
GtkPrintContext *context
gtk_print_context_get_dpi_y
gdouble
GtkPrintContext *context
gtk_print_context_get_hard_margins
gboolean
GtkPrintContext *context, gdouble *top, gdouble *bottom, gdouble *left, gdouble *right
gtk_print_context_get_pango_fontmap
PangoFontMap *
GtkPrintContext *context
gtk_print_context_create_pango_context
PangoContext *
GtkPrintContext *context
gtk_print_context_create_pango_layout
PangoLayout *
GtkPrintContext *context
gtk_print_context_set_cairo_context
void
GtkPrintContext *context, cairo_t *cr, double dpi_x, double dpi_y
GtkPrintContext
GTK_TYPE_PRINT_CAPABILITIES
#define GTK_TYPE_PRINT_CAPABILITIES (gtk_print_capabilities_get_type ())
GtkPrintCapabilities
typedef enum
{
GTK_PRINT_CAPABILITY_PAGE_SET = 1 << 0,
GTK_PRINT_CAPABILITY_COPIES = 1 << 1,
GTK_PRINT_CAPABILITY_COLLATE = 1 << 2,
GTK_PRINT_CAPABILITY_REVERSE = 1 << 3,
GTK_PRINT_CAPABILITY_SCALE = 1 << 4,
GTK_PRINT_CAPABILITY_GENERATE_PDF = 1 << 5,
GTK_PRINT_CAPABILITY_GENERATE_PS = 1 << 6,
GTK_PRINT_CAPABILITY_PREVIEW = 1 << 7,
GTK_PRINT_CAPABILITY_NUMBER_UP = 1 << 8,
GTK_PRINT_CAPABILITY_NUMBER_UP_LAYOUT = 1 << 9
} GtkPrintCapabilities;
gtk_print_capabilities_get_type
GType
void
GTK_TYPE_PRINTER
#define GTK_TYPE_PRINTER (gtk_printer_get_type ())
GTK_PRINTER
#define GTK_PRINTER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_PRINTER, GtkPrinter))
GTK_IS_PRINTER
#define GTK_IS_PRINTER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_PRINTER))
gtk_printer_get_type
GType
void
gtk_printer_new
GtkPrinter *
const gchar *name, GtkPrintBackend *backend, gboolean virtual_
gtk_printer_get_backend
GtkPrintBackend *
GtkPrinter *printer
gtk_printer_get_name
const gchar *
GtkPrinter *printer
gtk_printer_get_state_message
const gchar *
GtkPrinter *printer
gtk_printer_get_description
const gchar *
GtkPrinter *printer
gtk_printer_get_location
const gchar *
GtkPrinter *printer
gtk_printer_get_icon_name
const gchar *
GtkPrinter *printer
gtk_printer_get_job_count
gint
GtkPrinter *printer
gtk_printer_is_active
gboolean
GtkPrinter *printer
gtk_printer_is_paused
gboolean
GtkPrinter *printer
gtk_printer_is_accepting_jobs
gboolean
GtkPrinter *printer
gtk_printer_is_virtual
gboolean
GtkPrinter *printer
gtk_printer_is_default
gboolean
GtkPrinter *printer
gtk_printer_accepts_pdf
gboolean
GtkPrinter *printer
gtk_printer_accepts_ps
gboolean
GtkPrinter *printer
gtk_printer_list_papers
GList *
GtkPrinter *printer
gtk_printer_get_default_page_size
GtkPageSetup *
GtkPrinter *printer
gtk_printer_compare
gint
GtkPrinter *a, GtkPrinter *b
gtk_printer_has_details
gboolean
GtkPrinter *printer
gtk_printer_request_details
void
GtkPrinter *printer
gtk_printer_get_capabilities
GtkPrintCapabilities
GtkPrinter *printer
gtk_printer_get_hard_margins
gboolean
GtkPrinter *printer, gdouble *top, gdouble *bottom, gdouble *left, gdouble *right
gtk_printer_get_hard_margins_for_paper_size
gboolean
GtkPrinter *printer, GtkPaperSize *paper_size, gdouble *top, gdouble *bottom, gdouble *left, gdouble *right
GtkPrinterFunc
gboolean
GtkPrinter *printer, gpointer data
gtk_enumerate_printers
void
GtkPrinterFunc func, gpointer data, GDestroyNotify destroy, gboolean wait
GtkPrintBackend
GtkPrinter
GTK_TYPE_PRINTER_OPTION
#define GTK_TYPE_PRINTER_OPTION (gtk_printer_option_get_type ())
GTK_PRINTER_OPTION
#define GTK_PRINTER_OPTION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_PRINTER_OPTION, GtkPrinterOption))
GTK_IS_PRINTER_OPTION
#define GTK_IS_PRINTER_OPTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_PRINTER_OPTION))
GTK_PRINTER_OPTION_GROUP_IMAGE_QUALITY
#define GTK_PRINTER_OPTION_GROUP_IMAGE_QUALITY "ImageQuality"
GTK_PRINTER_OPTION_GROUP_FINISHING
#define GTK_PRINTER_OPTION_GROUP_FINISHING "Finishing"
GtkPrinterOptionType
typedef enum {
GTK_PRINTER_OPTION_TYPE_BOOLEAN,
GTK_PRINTER_OPTION_TYPE_PICKONE,
GTK_PRINTER_OPTION_TYPE_PICKONE_PASSWORD,
GTK_PRINTER_OPTION_TYPE_PICKONE_PASSCODE,
GTK_PRINTER_OPTION_TYPE_PICKONE_REAL,
GTK_PRINTER_OPTION_TYPE_PICKONE_INT,
GTK_PRINTER_OPTION_TYPE_PICKONE_STRING,
GTK_PRINTER_OPTION_TYPE_ALTERNATIVE,
GTK_PRINTER_OPTION_TYPE_STRING,
GTK_PRINTER_OPTION_TYPE_FILESAVE,
GTK_PRINTER_OPTION_TYPE_INFO
} GtkPrinterOptionType;
GtkPrinterOption
struct _GtkPrinterOption
{
GObject parent_instance;
char *name;
char *display_text;
GtkPrinterOptionType type;
char *value;
int num_choices;
char **choices;
char **choices_display;
gboolean activates_default;
gboolean has_conflict;
char *group;
};
GtkPrinterOptionClass
struct _GtkPrinterOptionClass
{
GObjectClass parent_class;
void (*changed) (GtkPrinterOption *option);
/* Padding for future expansion */
void (*_gtk_reserved1) (void);
void (*_gtk_reserved2) (void);
void (*_gtk_reserved3) (void);
void (*_gtk_reserved4) (void);
};
gtk_printer_option_get_type
GType
void
gtk_printer_option_new
GtkPrinterOption *
const char *name, const char *display_text, GtkPrinterOptionType type
gtk_printer_option_set
void
GtkPrinterOption *option, const char *value
gtk_printer_option_set_has_conflict
void
GtkPrinterOption *option, gboolean has_conflict
gtk_printer_option_clear_has_conflict
void
GtkPrinterOption *option
gtk_printer_option_set_boolean
void
GtkPrinterOption *option, gboolean value
gtk_printer_option_allocate_choices
void
GtkPrinterOption *option, int num
gtk_printer_option_choices_from_array
void
GtkPrinterOption *option, int num_choices, char *choices[], char *choices_display[]
gtk_printer_option_has_choice
gboolean
GtkPrinterOption *option, const char *choice
gtk_printer_option_set_activates_default
void
GtkPrinterOption *option, gboolean activates
gtk_printer_option_get_activates_default
gboolean
GtkPrinterOption *option
GTK_TYPE_PRINTER_OPTION_SET
#define GTK_TYPE_PRINTER_OPTION_SET (gtk_printer_option_set_get_type ())
GTK_PRINTER_OPTION_SET
#define GTK_PRINTER_OPTION_SET(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_PRINTER_OPTION_SET, GtkPrinterOptionSet))
GTK_IS_PRINTER_OPTION_SET
#define GTK_IS_PRINTER_OPTION_SET(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_PRINTER_OPTION_SET))
GtkPrinterOptionSet
struct _GtkPrinterOptionSet
{
GObject parent_instance;
/*< private >*/
GPtrArray *array;
GHashTable *hash;
};
GtkPrinterOptionSetClass
struct _GtkPrinterOptionSetClass
{
GObjectClass parent_class;
void (*changed) (GtkPrinterOptionSet *option);
/* Padding for future expansion */
void (*_gtk_reserved1) (void);
void (*_gtk_reserved2) (void);
void (*_gtk_reserved3) (void);
void (*_gtk_reserved4) (void);
};
GtkPrinterOptionSetFunc
void
GtkPrinterOption *option, gpointer user_data
gtk_printer_option_set_get_type
GType
void
gtk_printer_option_set_new
GtkPrinterOptionSet *
void
gtk_printer_option_set_add
void
GtkPrinterOptionSet *set, GtkPrinterOption *option
gtk_printer_option_set_remove
void
GtkPrinterOptionSet *set, GtkPrinterOption *option
gtk_printer_option_set_lookup
GtkPrinterOption *
GtkPrinterOptionSet *set, const char *name
gtk_printer_option_set_foreach
void
GtkPrinterOptionSet *set, GtkPrinterOptionSetFunc func, gpointer user_data
gtk_printer_option_set_clear_conflicts
void
GtkPrinterOptionSet *set
gtk_printer_option_set_get_groups
GList *
GtkPrinterOptionSet *set
gtk_printer_option_set_foreach_in_group
void
GtkPrinterOptionSet *set, const char *group, GtkPrinterOptionSetFunc func, gpointer user_data
GTK_TYPE_PRINTER_OPTION_WIDGET
#define GTK_TYPE_PRINTER_OPTION_WIDGET (gtk_printer_option_widget_get_type ())
GTK_PRINTER_OPTION_WIDGET
#define GTK_PRINTER_OPTION_WIDGET(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_PRINTER_OPTION_WIDGET, GtkPrinterOptionWidget))
GTK_PRINTER_OPTION_WIDGET_CLASS
#define GTK_PRINTER_OPTION_WIDGET_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_PRINTER_OPTION_WIDGET, GtkPrinterOptionWidgetClass))
GTK_IS_PRINTER_OPTION_WIDGET
#define GTK_IS_PRINTER_OPTION_WIDGET(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_PRINTER_OPTION_WIDGET))
GTK_IS_PRINTER_OPTION_WIDGET_CLASS
#define GTK_IS_PRINTER_OPTION_WIDGET_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_PRINTER_OPTION_WIDGET))
GTK_PRINTER_OPTION_WIDGET_GET_CLASS
#define GTK_PRINTER_OPTION_WIDGET_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_PRINTER_OPTION_WIDGET, GtkPrinterOptionWidgetClass))
GtkPrinterOptionWidgetPrivate
typedef struct GtkPrinterOptionWidgetPrivate GtkPrinterOptionWidgetPrivate;
GtkPrinterOptionWidget
struct _GtkPrinterOptionWidget
{
GtkBox parent_instance;
GtkPrinterOptionWidgetPrivate *priv;
};
GtkPrinterOptionWidgetClass
struct _GtkPrinterOptionWidgetClass
{
GtkBoxClass parent_class;
void (*changed) (GtkPrinterOptionWidget *widget);
/* Padding for future expansion */
void (*_gtk_reserved1) (void);
void (*_gtk_reserved2) (void);
void (*_gtk_reserved3) (void);
void (*_gtk_reserved4) (void);
};
gtk_printer_option_widget_get_type
GType
void
gtk_printer_option_widget_new
GtkWidget *
GtkPrinterOption *source
gtk_printer_option_widget_set_source
void
GtkPrinterOptionWidget *setting, GtkPrinterOption *source
gtk_printer_option_widget_has_external_label
gboolean
GtkPrinterOptionWidget *setting
gtk_printer_option_widget_get_external_label
GtkWidget *
GtkPrinterOptionWidget *setting
gtk_printer_option_widget_get_value
const gchar *
GtkPrinterOptionWidget *setting
GTK_TYPE_PRINT_JOB
#define GTK_TYPE_PRINT_JOB (gtk_print_job_get_type ())
GTK_PRINT_JOB
#define GTK_PRINT_JOB(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_PRINT_JOB, GtkPrintJob))
GTK_IS_PRINT_JOB
#define GTK_IS_PRINT_JOB(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_PRINT_JOB))
GtkPrintJobCompleteFunc
void
GtkPrintJob *print_job, gpointer user_data, const GError *error
gtk_print_job_get_type
GType
void
gtk_print_job_new
GtkPrintJob *
const gchar *title, GtkPrinter *printer, GtkPrintSettings *settings, GtkPageSetup *page_setup
gtk_print_job_get_settings
GtkPrintSettings *
GtkPrintJob *job
gtk_print_job_get_printer
GtkPrinter *
GtkPrintJob *job
gtk_print_job_get_title
const gchar *
GtkPrintJob *job
gtk_print_job_get_status
GtkPrintStatus
GtkPrintJob *job
gtk_print_job_set_source_file
gboolean
GtkPrintJob *job, const gchar *filename, GError **error
gtk_print_job_set_source_fd
gboolean
GtkPrintJob *job, int fd, GError **error
gtk_print_job_get_surface
cairo_surface_t *
GtkPrintJob *job, GError **error
gtk_print_job_set_track_print_status
void
GtkPrintJob *job, gboolean track_status
gtk_print_job_get_track_print_status
gboolean
GtkPrintJob *job
gtk_print_job_send
void
GtkPrintJob *job, GtkPrintJobCompleteFunc callback, gpointer user_data, GDestroyNotify dnotify
gtk_print_job_get_pages
GtkPrintPages
GtkPrintJob *job
gtk_print_job_set_pages
void
GtkPrintJob *job, GtkPrintPages pages
gtk_print_job_get_page_ranges
GtkPageRange *
GtkPrintJob *job, gint *n_ranges
gtk_print_job_set_page_ranges
void
GtkPrintJob *job, GtkPageRange *ranges, gint n_ranges
gtk_print_job_get_page_set
GtkPageSet
GtkPrintJob *job
gtk_print_job_set_page_set
void
GtkPrintJob *job, GtkPageSet page_set
gtk_print_job_get_num_copies
gint
GtkPrintJob *job
gtk_print_job_set_num_copies
void
GtkPrintJob *job, gint num_copies
gtk_print_job_get_scale
gdouble
GtkPrintJob *job
gtk_print_job_set_scale
void
GtkPrintJob *job, gdouble scale
gtk_print_job_get_n_up
guint
GtkPrintJob *job
gtk_print_job_set_n_up
void
GtkPrintJob *job, guint n_up
gtk_print_job_get_n_up_layout
GtkNumberUpLayout
GtkPrintJob *job
gtk_print_job_set_n_up_layout
void
GtkPrintJob *job, GtkNumberUpLayout layout
gtk_print_job_get_rotate
gboolean
GtkPrintJob *job
gtk_print_job_set_rotate
void
GtkPrintJob *job, gboolean rotate
gtk_print_job_get_collate
gboolean
GtkPrintJob *job
gtk_print_job_set_collate
void
GtkPrintJob *job, gboolean collate
gtk_print_job_get_reverse
gboolean
GtkPrintJob *job
gtk_print_job_set_reverse
void
GtkPrintJob *job, gboolean reverse
GtkPrintJob
gtk_print_operation_portal_run_dialog
GtkPrintOperationResult
GtkPrintOperation *op, gboolean show_dialog, GtkWindow *parent, gboolean *do_print
gtk_print_operation_portal_run_dialog_async
void
GtkPrintOperation *op, gboolean show_dialog, GtkWindow *parent, GtkPrintOperationPrintFunc print_cb
gtk_print_operation_portal_launch_preview
void
GtkPrintOperation *op, cairo_surface_t *surface, GtkWindow *parent, const char *filename
GTK_TYPE_PRINT_OPERATION
#define GTK_TYPE_PRINT_OPERATION (gtk_print_operation_get_type ())
GTK_PRINT_OPERATION
#define GTK_PRINT_OPERATION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_PRINT_OPERATION, GtkPrintOperation))
GTK_PRINT_OPERATION_CLASS
#define GTK_PRINT_OPERATION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_PRINT_OPERATION, GtkPrintOperationClass))
GTK_IS_PRINT_OPERATION
#define GTK_IS_PRINT_OPERATION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_PRINT_OPERATION))
GTK_IS_PRINT_OPERATION_CLASS
#define GTK_IS_PRINT_OPERATION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_PRINT_OPERATION))
GTK_PRINT_OPERATION_GET_CLASS
#define GTK_PRINT_OPERATION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_PRINT_OPERATION, GtkPrintOperationClass))
GtkPrintStatus
typedef enum {
GTK_PRINT_STATUS_INITIAL,
GTK_PRINT_STATUS_PREPARING,
GTK_PRINT_STATUS_GENERATING_DATA,
GTK_PRINT_STATUS_SENDING_DATA,
GTK_PRINT_STATUS_PENDING,
GTK_PRINT_STATUS_PENDING_ISSUE,
GTK_PRINT_STATUS_PRINTING,
GTK_PRINT_STATUS_FINISHED,
GTK_PRINT_STATUS_FINISHED_ABORTED
} GtkPrintStatus;
GtkPrintOperationResult
typedef enum {
GTK_PRINT_OPERATION_RESULT_ERROR,
GTK_PRINT_OPERATION_RESULT_APPLY,
GTK_PRINT_OPERATION_RESULT_CANCEL,
GTK_PRINT_OPERATION_RESULT_IN_PROGRESS
} GtkPrintOperationResult;
GtkPrintOperationAction
typedef enum {
GTK_PRINT_OPERATION_ACTION_PRINT_DIALOG,
GTK_PRINT_OPERATION_ACTION_PRINT,
GTK_PRINT_OPERATION_ACTION_PREVIEW,
GTK_PRINT_OPERATION_ACTION_EXPORT
} GtkPrintOperationAction;
GtkPrintOperation
struct _GtkPrintOperation
{
GObject parent_instance;
/*< private >*/
GtkPrintOperationPrivate *priv;
};
GtkPrintOperationClass
struct _GtkPrintOperationClass
{
GObjectClass parent_class;
/*< public >*/
void (*done) (GtkPrintOperation *operation,
GtkPrintOperationResult result);
void (*begin_print) (GtkPrintOperation *operation,
GtkPrintContext *context);
gboolean (*paginate) (GtkPrintOperation *operation,
GtkPrintContext *context);
void (*request_page_setup) (GtkPrintOperation *operation,
GtkPrintContext *context,
gint page_nr,
GtkPageSetup *setup);
void (*draw_page) (GtkPrintOperation *operation,
GtkPrintContext *context,
gint page_nr);
void (*end_print) (GtkPrintOperation *operation,
GtkPrintContext *context);
void (*status_changed) (GtkPrintOperation *operation);
GtkWidget *(*create_custom_widget) (GtkPrintOperation *operation);
void (*custom_widget_apply) (GtkPrintOperation *operation,
GtkWidget *widget);
gboolean (*preview) (GtkPrintOperation *operation,
GtkPrintOperationPreview *preview,
GtkPrintContext *context,
GtkWindow *parent);
void (*update_custom_widget) (GtkPrintOperation *operation,
GtkWidget *widget,
GtkPageSetup *setup,
GtkPrintSettings *settings);
/*< private >*/
gpointer padding[8];
};
GTK_PRINT_ERROR
#define GTK_PRINT_ERROR gtk_print_error_quark ()
GtkPrintError
typedef enum
{
GTK_PRINT_ERROR_GENERAL,
GTK_PRINT_ERROR_INTERNAL_ERROR,
GTK_PRINT_ERROR_NOMEM,
GTK_PRINT_ERROR_INVALID_FILE
} GtkPrintError;
gtk_print_error_quark
GQuark
void
gtk_print_operation_get_type
GType
void
gtk_print_operation_new
GtkPrintOperation *
void
gtk_print_operation_set_default_page_setup
void
GtkPrintOperation *op, GtkPageSetup *default_page_setup
gtk_print_operation_get_default_page_setup
GtkPageSetup *
GtkPrintOperation *op
gtk_print_operation_set_print_settings
void
GtkPrintOperation *op, GtkPrintSettings *print_settings
gtk_print_operation_get_print_settings
GtkPrintSettings *
GtkPrintOperation *op
gtk_print_operation_set_job_name
void
GtkPrintOperation *op, const gchar *job_name
gtk_print_operation_set_n_pages
void
GtkPrintOperation *op, gint n_pages
gtk_print_operation_set_current_page
void
GtkPrintOperation *op, gint current_page
gtk_print_operation_set_use_full_page
void
GtkPrintOperation *op, gboolean full_page
gtk_print_operation_set_unit
void
GtkPrintOperation *op, GtkUnit unit
gtk_print_operation_set_export_filename
void
GtkPrintOperation *op, const gchar *filename
gtk_print_operation_set_track_print_status
void
GtkPrintOperation *op, gboolean track_status
gtk_print_operation_set_show_progress
void
GtkPrintOperation *op, gboolean show_progress
gtk_print_operation_set_allow_async
void
GtkPrintOperation *op, gboolean allow_async
gtk_print_operation_set_custom_tab_label
void
GtkPrintOperation *op, const gchar *label
gtk_print_operation_run
GtkPrintOperationResult
GtkPrintOperation *op, GtkPrintOperationAction action, GtkWindow *parent, GError **error
gtk_print_operation_get_error
void
GtkPrintOperation *op, GError **error
gtk_print_operation_get_status
GtkPrintStatus
GtkPrintOperation *op
gtk_print_operation_get_status_string
const gchar *
GtkPrintOperation *op
gtk_print_operation_is_finished
gboolean
GtkPrintOperation *op
gtk_print_operation_cancel
void
GtkPrintOperation *op
gtk_print_operation_draw_page_finish
void
GtkPrintOperation *op
gtk_print_operation_set_defer_drawing
void
GtkPrintOperation *op
gtk_print_operation_set_support_selection
void
GtkPrintOperation *op, gboolean support_selection
gtk_print_operation_get_support_selection
gboolean
GtkPrintOperation *op
gtk_print_operation_set_has_selection
void
GtkPrintOperation *op, gboolean has_selection
gtk_print_operation_get_has_selection
gboolean
GtkPrintOperation *op
gtk_print_operation_set_embed_page_setup
void
GtkPrintOperation *op, gboolean embed
gtk_print_operation_get_embed_page_setup
gboolean
GtkPrintOperation *op
gtk_print_operation_get_n_pages_to_print
gint
GtkPrintOperation *op
gtk_print_run_page_setup_dialog
GtkPageSetup *
GtkWindow *parent, GtkPageSetup *page_setup, GtkPrintSettings *settings
GtkPageSetupDoneFunc
void
GtkPageSetup *page_setup, gpointer data
gtk_print_run_page_setup_dialog_async
void
GtkWindow *parent, GtkPageSetup *page_setup, GtkPrintSettings *settings, GtkPageSetupDoneFunc done_cb, gpointer data
GtkPrintOperationPrivate
GTK_TYPE_PRINT_OPERATION_PREVIEW
#define GTK_TYPE_PRINT_OPERATION_PREVIEW (gtk_print_operation_preview_get_type ())
GTK_PRINT_OPERATION_PREVIEW
#define GTK_PRINT_OPERATION_PREVIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_PRINT_OPERATION_PREVIEW, GtkPrintOperationPreview))
GTK_IS_PRINT_OPERATION_PREVIEW
#define GTK_IS_PRINT_OPERATION_PREVIEW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_PRINT_OPERATION_PREVIEW))
GTK_PRINT_OPERATION_PREVIEW_GET_IFACE
#define GTK_PRINT_OPERATION_PREVIEW_GET_IFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), GTK_TYPE_PRINT_OPERATION_PREVIEW, GtkPrintOperationPreviewIface))
GtkPrintOperationPreviewIface
struct _GtkPrintOperationPreviewIface
{
GTypeInterface g_iface;
/* signals */
void (*ready) (GtkPrintOperationPreview *preview,
GtkPrintContext *context);
void (*got_page_size) (GtkPrintOperationPreview *preview,
GtkPrintContext *context,
GtkPageSetup *page_setup);
/* methods */
void (*render_page) (GtkPrintOperationPreview *preview,
gint page_nr);
gboolean (*is_selected) (GtkPrintOperationPreview *preview,
gint page_nr);
void (*end_preview) (GtkPrintOperationPreview *preview);
/* Padding for future expansion */
void (*_gtk_reserved1) (void);
void (*_gtk_reserved2) (void);
void (*_gtk_reserved3) (void);
void (*_gtk_reserved4) (void);
void (*_gtk_reserved5) (void);
void (*_gtk_reserved6) (void);
void (*_gtk_reserved7) (void);
void (*_gtk_reserved8) (void);
};
gtk_print_operation_preview_get_type
GType
void
gtk_print_operation_preview_render_page
void
GtkPrintOperationPreview *preview, gint page_nr
gtk_print_operation_preview_end_preview
void
GtkPrintOperationPreview *preview
gtk_print_operation_preview_is_selected
gboolean
GtkPrintOperationPreview *preview, gint page_nr
GtkPrintOperationPreview
GTK_TYPE_PRINT_SETTINGS
#define GTK_TYPE_PRINT_SETTINGS (gtk_print_settings_get_type ())
GTK_PRINT_SETTINGS
#define GTK_PRINT_SETTINGS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_PRINT_SETTINGS, GtkPrintSettings))
GTK_IS_PRINT_SETTINGS
#define GTK_IS_PRINT_SETTINGS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_PRINT_SETTINGS))
GtkPrintSettingsFunc
void
const gchar *key, const gchar *value, gpointer user_data
GtkPageRange
struct _GtkPageRange
{
gint start;
gint end;
};
gtk_print_settings_get_type
GType
void
gtk_print_settings_new
GtkPrintSettings *
void
gtk_print_settings_copy
GtkPrintSettings *
GtkPrintSettings *other
gtk_print_settings_new_from_file
GtkPrintSettings *
const gchar *file_name, GError **error
gtk_print_settings_load_file
gboolean
GtkPrintSettings *settings, const gchar *file_name, GError **error
gtk_print_settings_to_file
gboolean
GtkPrintSettings *settings, const gchar *file_name, GError **error
gtk_print_settings_new_from_key_file
GtkPrintSettings *
GKeyFile *key_file, const gchar *group_name, GError **error
gtk_print_settings_load_key_file
gboolean
GtkPrintSettings *settings, GKeyFile *key_file, const gchar *group_name, GError **error
gtk_print_settings_to_key_file
void
GtkPrintSettings *settings, GKeyFile *key_file, const gchar *group_name
gtk_print_settings_has_key
gboolean
GtkPrintSettings *settings, const gchar *key
gtk_print_settings_get
const gchar *
GtkPrintSettings *settings, const gchar *key
gtk_print_settings_set
void
GtkPrintSettings *settings, const gchar *key, const gchar *value
gtk_print_settings_unset
void
GtkPrintSettings *settings, const gchar *key
gtk_print_settings_foreach
void
GtkPrintSettings *settings, GtkPrintSettingsFunc func, gpointer user_data
gtk_print_settings_get_bool
gboolean
GtkPrintSettings *settings, const gchar *key
gtk_print_settings_set_bool
void
GtkPrintSettings *settings, const gchar *key, gboolean value
gtk_print_settings_get_double
gdouble
GtkPrintSettings *settings, const gchar *key
gtk_print_settings_get_double_with_default
gdouble
GtkPrintSettings *settings, const gchar *key, gdouble def
gtk_print_settings_set_double
void
GtkPrintSettings *settings, const gchar *key, gdouble value
gtk_print_settings_get_length
gdouble
GtkPrintSettings *settings, const gchar *key, GtkUnit unit
gtk_print_settings_set_length
void
GtkPrintSettings *settings, const gchar *key, gdouble value, GtkUnit unit
gtk_print_settings_get_int
gint
GtkPrintSettings *settings, const gchar *key
gtk_print_settings_get_int_with_default
gint
GtkPrintSettings *settings, const gchar *key, gint def
gtk_print_settings_set_int
void
GtkPrintSettings *settings, const gchar *key, gint value
GTK_PRINT_SETTINGS_PRINTER
#define GTK_PRINT_SETTINGS_PRINTER "printer"
GTK_PRINT_SETTINGS_ORIENTATION
#define GTK_PRINT_SETTINGS_ORIENTATION "orientation"
GTK_PRINT_SETTINGS_PAPER_FORMAT
#define GTK_PRINT_SETTINGS_PAPER_FORMAT "paper-format"
GTK_PRINT_SETTINGS_PAPER_WIDTH
#define GTK_PRINT_SETTINGS_PAPER_WIDTH "paper-width"
GTK_PRINT_SETTINGS_PAPER_HEIGHT
#define GTK_PRINT_SETTINGS_PAPER_HEIGHT "paper-height"
GTK_PRINT_SETTINGS_N_COPIES
#define GTK_PRINT_SETTINGS_N_COPIES "n-copies"
GTK_PRINT_SETTINGS_DEFAULT_SOURCE
#define GTK_PRINT_SETTINGS_DEFAULT_SOURCE "default-source"
GTK_PRINT_SETTINGS_QUALITY
#define GTK_PRINT_SETTINGS_QUALITY "quality"
GTK_PRINT_SETTINGS_RESOLUTION
#define GTK_PRINT_SETTINGS_RESOLUTION "resolution"
GTK_PRINT_SETTINGS_USE_COLOR
#define GTK_PRINT_SETTINGS_USE_COLOR "use-color"
GTK_PRINT_SETTINGS_DUPLEX
#define GTK_PRINT_SETTINGS_DUPLEX "duplex"
GTK_PRINT_SETTINGS_COLLATE
#define GTK_PRINT_SETTINGS_COLLATE "collate"
GTK_PRINT_SETTINGS_REVERSE
#define GTK_PRINT_SETTINGS_REVERSE "reverse"
GTK_PRINT_SETTINGS_MEDIA_TYPE
#define GTK_PRINT_SETTINGS_MEDIA_TYPE "media-type"
GTK_PRINT_SETTINGS_DITHER
#define GTK_PRINT_SETTINGS_DITHER "dither"
GTK_PRINT_SETTINGS_SCALE
#define GTK_PRINT_SETTINGS_SCALE "scale"
GTK_PRINT_SETTINGS_PRINT_PAGES
#define GTK_PRINT_SETTINGS_PRINT_PAGES "print-pages"
GTK_PRINT_SETTINGS_PAGE_RANGES
#define GTK_PRINT_SETTINGS_PAGE_RANGES "page-ranges"
GTK_PRINT_SETTINGS_PAGE_SET
#define GTK_PRINT_SETTINGS_PAGE_SET "page-set"
GTK_PRINT_SETTINGS_FINISHINGS
#define GTK_PRINT_SETTINGS_FINISHINGS "finishings"
GTK_PRINT_SETTINGS_NUMBER_UP
#define GTK_PRINT_SETTINGS_NUMBER_UP "number-up"
GTK_PRINT_SETTINGS_NUMBER_UP_LAYOUT
#define GTK_PRINT_SETTINGS_NUMBER_UP_LAYOUT "number-up-layout"
GTK_PRINT_SETTINGS_OUTPUT_BIN
#define GTK_PRINT_SETTINGS_OUTPUT_BIN "output-bin"
GTK_PRINT_SETTINGS_RESOLUTION_X
#define GTK_PRINT_SETTINGS_RESOLUTION_X "resolution-x"
GTK_PRINT_SETTINGS_RESOLUTION_Y
#define GTK_PRINT_SETTINGS_RESOLUTION_Y "resolution-y"
GTK_PRINT_SETTINGS_PRINTER_LPI
#define GTK_PRINT_SETTINGS_PRINTER_LPI "printer-lpi"
GTK_PRINT_SETTINGS_OUTPUT_DIR
#define GTK_PRINT_SETTINGS_OUTPUT_DIR "output-dir"
GTK_PRINT_SETTINGS_OUTPUT_BASENAME
#define GTK_PRINT_SETTINGS_OUTPUT_BASENAME "output-basename"
GTK_PRINT_SETTINGS_OUTPUT_FILE_FORMAT
#define GTK_PRINT_SETTINGS_OUTPUT_FILE_FORMAT "output-file-format"
GTK_PRINT_SETTINGS_OUTPUT_URI
#define GTK_PRINT_SETTINGS_OUTPUT_URI "output-uri"
GTK_PRINT_SETTINGS_WIN32_DRIVER_VERSION
#define GTK_PRINT_SETTINGS_WIN32_DRIVER_VERSION "win32-driver-version"
GTK_PRINT_SETTINGS_WIN32_DRIVER_EXTRA
#define GTK_PRINT_SETTINGS_WIN32_DRIVER_EXTRA "win32-driver-extra"
gtk_print_settings_get_printer
const gchar *
GtkPrintSettings *settings
gtk_print_settings_set_printer
void
GtkPrintSettings *settings, const gchar *printer
gtk_print_settings_get_orientation
GtkPageOrientation
GtkPrintSettings *settings
gtk_print_settings_set_orientation
void
GtkPrintSettings *settings, GtkPageOrientation orientation
gtk_print_settings_get_paper_size
GtkPaperSize *
GtkPrintSettings *settings
gtk_print_settings_set_paper_size
void
GtkPrintSettings *settings, GtkPaperSize *paper_size
gtk_print_settings_get_paper_width
gdouble
GtkPrintSettings *settings, GtkUnit unit
gtk_print_settings_set_paper_width
void
GtkPrintSettings *settings, gdouble width, GtkUnit unit
gtk_print_settings_get_paper_height
gdouble
GtkPrintSettings *settings, GtkUnit unit
gtk_print_settings_set_paper_height
void
GtkPrintSettings *settings, gdouble height, GtkUnit unit
gtk_print_settings_get_use_color
gboolean
GtkPrintSettings *settings
gtk_print_settings_set_use_color
void
GtkPrintSettings *settings, gboolean use_color
gtk_print_settings_get_collate
gboolean
GtkPrintSettings *settings
gtk_print_settings_set_collate
void
GtkPrintSettings *settings, gboolean collate
gtk_print_settings_get_reverse
gboolean
GtkPrintSettings *settings
gtk_print_settings_set_reverse
void
GtkPrintSettings *settings, gboolean reverse
gtk_print_settings_get_duplex
GtkPrintDuplex
GtkPrintSettings *settings
gtk_print_settings_set_duplex
void
GtkPrintSettings *settings, GtkPrintDuplex duplex
gtk_print_settings_get_quality
GtkPrintQuality
GtkPrintSettings *settings
gtk_print_settings_set_quality
void
GtkPrintSettings *settings, GtkPrintQuality quality
gtk_print_settings_get_n_copies
gint
GtkPrintSettings *settings
gtk_print_settings_set_n_copies
void
GtkPrintSettings *settings, gint num_copies
gtk_print_settings_get_number_up
gint
GtkPrintSettings *settings
gtk_print_settings_set_number_up
void
GtkPrintSettings *settings, gint number_up
gtk_print_settings_get_number_up_layout
GtkNumberUpLayout
GtkPrintSettings *settings
gtk_print_settings_set_number_up_layout
void
GtkPrintSettings *settings, GtkNumberUpLayout number_up_layout
gtk_print_settings_get_resolution
gint
GtkPrintSettings *settings
gtk_print_settings_set_resolution
void
GtkPrintSettings *settings, gint resolution
gtk_print_settings_get_resolution_x
gint
GtkPrintSettings *settings
gtk_print_settings_get_resolution_y
gint
GtkPrintSettings *settings
gtk_print_settings_set_resolution_xy
void
GtkPrintSettings *settings, gint resolution_x, gint resolution_y
gtk_print_settings_get_printer_lpi
gdouble
GtkPrintSettings *settings
gtk_print_settings_set_printer_lpi
void
GtkPrintSettings *settings, gdouble lpi
gtk_print_settings_get_scale
gdouble
GtkPrintSettings *settings
gtk_print_settings_set_scale
void
GtkPrintSettings *settings, gdouble scale
gtk_print_settings_get_print_pages
GtkPrintPages
GtkPrintSettings *settings
gtk_print_settings_set_print_pages
void
GtkPrintSettings *settings, GtkPrintPages pages
gtk_print_settings_get_page_ranges
GtkPageRange *
GtkPrintSettings *settings, gint *num_ranges
gtk_print_settings_set_page_ranges
void
GtkPrintSettings *settings, GtkPageRange *page_ranges, gint num_ranges
gtk_print_settings_get_page_set
GtkPageSet
GtkPrintSettings *settings
gtk_print_settings_set_page_set
void
GtkPrintSettings *settings, GtkPageSet page_set
gtk_print_settings_get_default_source
const gchar *
GtkPrintSettings *settings
gtk_print_settings_set_default_source
void
GtkPrintSettings *settings, const gchar *default_source
gtk_print_settings_get_media_type
const gchar *
GtkPrintSettings *settings
gtk_print_settings_set_media_type
void
GtkPrintSettings *settings, const gchar *media_type
gtk_print_settings_get_dither
const gchar *
GtkPrintSettings *settings
gtk_print_settings_set_dither
void
GtkPrintSettings *settings, const gchar *dither
gtk_print_settings_get_finishings
const gchar *
GtkPrintSettings *settings
gtk_print_settings_set_finishings
void
GtkPrintSettings *settings, const gchar *finishings
gtk_print_settings_get_output_bin
const gchar *
GtkPrintSettings *settings
gtk_print_settings_set_output_bin
void
GtkPrintSettings *settings, const gchar *output_bin
gtk_print_settings_to_gvariant
GVariant *
GtkPrintSettings *settings
gtk_print_settings_new_from_gvariant
GtkPrintSettings *
GVariant *variant
GtkPrintSettings
GTK_TYPE_PRINT_UNIX_DIALOG
#define GTK_TYPE_PRINT_UNIX_DIALOG (gtk_print_unix_dialog_get_type ())
GTK_PRINT_UNIX_DIALOG
#define GTK_PRINT_UNIX_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_PRINT_UNIX_DIALOG, GtkPrintUnixDialog))
GTK_IS_PRINT_UNIX_DIALOG
#define GTK_IS_PRINT_UNIX_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_PRINT_UNIX_DIALOG))
gtk_print_unix_dialog_get_type
GType
void
gtk_print_unix_dialog_new
GtkWidget *
const gchar *title, GtkWindow *parent
gtk_print_unix_dialog_set_page_setup
void
GtkPrintUnixDialog *dialog, GtkPageSetup *page_setup
gtk_print_unix_dialog_get_page_setup
GtkPageSetup *
GtkPrintUnixDialog *dialog
gtk_print_unix_dialog_set_current_page
void
GtkPrintUnixDialog *dialog, gint current_page
gtk_print_unix_dialog_get_current_page
gint
GtkPrintUnixDialog *dialog
gtk_print_unix_dialog_set_settings
void
GtkPrintUnixDialog *dialog, GtkPrintSettings *settings
gtk_print_unix_dialog_get_settings
GtkPrintSettings *
GtkPrintUnixDialog *dialog
gtk_print_unix_dialog_get_selected_printer
GtkPrinter *
GtkPrintUnixDialog *dialog
gtk_print_unix_dialog_add_custom_tab
void
GtkPrintUnixDialog *dialog, GtkWidget *child, GtkWidget *tab_label
gtk_print_unix_dialog_set_manual_capabilities
void
GtkPrintUnixDialog *dialog, GtkPrintCapabilities capabilities
gtk_print_unix_dialog_get_manual_capabilities
GtkPrintCapabilities
GtkPrintUnixDialog *dialog
gtk_print_unix_dialog_set_support_selection
void
GtkPrintUnixDialog *dialog, gboolean support_selection
gtk_print_unix_dialog_get_support_selection
gboolean
GtkPrintUnixDialog *dialog
gtk_print_unix_dialog_set_has_selection
void
GtkPrintUnixDialog *dialog, gboolean has_selection
gtk_print_unix_dialog_get_has_selection
gboolean
GtkPrintUnixDialog *dialog
gtk_print_unix_dialog_set_embed_page_setup
void
GtkPrintUnixDialog *dialog, gboolean embed
gtk_print_unix_dialog_get_embed_page_setup
gboolean
GtkPrintUnixDialog *dialog
gtk_print_unix_dialog_get_page_setup_set
gboolean
GtkPrintUnixDialog *dialog
GtkPrintUnixDialog
MM_PER_INCH
#define MM_PER_INCH 25.4
POINTS_PER_INCH
#define POINTS_PER_INCH 72
GTK_TYPE_PROGRESS_BAR
#define GTK_TYPE_PROGRESS_BAR (gtk_progress_bar_get_type ())
GTK_PROGRESS_BAR
#define GTK_PROGRESS_BAR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_PROGRESS_BAR, GtkProgressBar))
GTK_IS_PROGRESS_BAR
#define GTK_IS_PROGRESS_BAR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_PROGRESS_BAR))
gtk_progress_bar_get_type
GType
void
gtk_progress_bar_new
GtkWidget *
void
gtk_progress_bar_pulse
void
GtkProgressBar *pbar
gtk_progress_bar_set_text
void
GtkProgressBar *pbar, const gchar *text
gtk_progress_bar_set_fraction
void
GtkProgressBar *pbar, gdouble fraction
gtk_progress_bar_set_pulse_step
void
GtkProgressBar *pbar, gdouble fraction
gtk_progress_bar_set_inverted
void
GtkProgressBar *pbar, gboolean inverted
gtk_progress_bar_get_text
const gchar *
GtkProgressBar *pbar
gtk_progress_bar_get_fraction
gdouble
GtkProgressBar *pbar
gtk_progress_bar_get_pulse_step
gdouble
GtkProgressBar *pbar
gtk_progress_bar_get_inverted
gboolean
GtkProgressBar *pbar
gtk_progress_bar_set_ellipsize
void
GtkProgressBar *pbar, PangoEllipsizeMode mode
gtk_progress_bar_get_ellipsize
PangoEllipsizeMode
GtkProgressBar *pbar
gtk_progress_bar_set_show_text
void
GtkProgressBar *pbar, gboolean show_text
gtk_progress_bar_get_show_text
gboolean
GtkProgressBar *pbar
GtkProgressBar
GTK_TYPE_PROPERTY_LOOKUP_LIST_MODEL
#define GTK_TYPE_PROPERTY_LOOKUP_LIST_MODEL (gtk_property_lookup_list_model_get_type ())
GTK_PROPERTY_LOOKUP_LIST_MODEL
#define GTK_PROPERTY_LOOKUP_LIST_MODEL(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GTK_TYPE_PROPERTY_LOOKUP_LIST_MODEL, GtkPropertyLookupListModel))
GTK_PROPERTY_LOOKUP_LIST_MODEL_CLASS
#define GTK_PROPERTY_LOOKUP_LIST_MODEL_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GTK_TYPE_PROPERTY_LOOKUP_LIST_MODEL, GtkPropertyLookupListModelClass))
GTK_IS_PROPERTY_LOOKUP_LIST_MODEL
#define GTK_IS_PROPERTY_LOOKUP_LIST_MODEL(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GTK_TYPE_PROPERTY_LOOKUP_LIST_MODEL))
GTK_IS_PROPERTY_LOOKUP_LIST_MODEL_CLASS
#define GTK_IS_PROPERTY_LOOKUP_LIST_MODEL_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GTK_TYPE_PROPERTY_LOOKUP_LIST_MODEL))
GTK_PROPERTY_LOOKUP_LIST_MODEL_GET_CLASS
#define GTK_PROPERTY_LOOKUP_LIST_MODEL_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GTK_TYPE_PROPERTY_LOOKUP_LIST_MODEL, GtkPropertyLookupListModelClass))
gtk_property_lookup_list_model_get_type
GType
void
gtk_property_lookup_list_model_new
GtkPropertyLookupListModel *
GType item_type, const char *property_name
gtk_property_lookup_list_model_set_object
void
GtkPropertyLookupListModel *self, gpointer object
gtk_property_lookup_list_model_get_object
gpointer
GtkPropertyLookupListModel *self
GtkPropertyLookupListModel
GtkPropertyLookupListModelClass
GTK_TYPE_QUERY
#define GTK_TYPE_QUERY (gtk_query_get_type ())
GTK_QUERY
#define GTK_QUERY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_QUERY, GtkQuery))
GTK_QUERY_CLASS
#define GTK_QUERY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_QUERY, GtkQueryClass))
GTK_IS_QUERY
#define GTK_IS_QUERY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_QUERY))
GTK_IS_QUERY_CLASS
#define GTK_IS_QUERY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_QUERY))
GTK_QUERY_GET_CLASS
#define GTK_QUERY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_QUERY, GtkQueryClass))
GtkQuery
struct _GtkQuery
{
GObject parent;
};
GtkQueryClass
struct _GtkQueryClass
{
GObjectClass parent_class;
};
gtk_query_get_type
GType
void
gtk_query_new
GtkQuery *
void
gtk_query_get_text
const gchar *
GtkQuery *query
gtk_query_set_text
void
GtkQuery *query, const gchar *text
gtk_query_get_location
GFile *
GtkQuery *query
gtk_query_set_location
void
GtkQuery *query, GFile *file
gtk_query_matches_string
gboolean
GtkQuery *query, const gchar *string
GtkQueryPrivate
GTK_TYPE_RADIO_BUTTON
#define GTK_TYPE_RADIO_BUTTON (gtk_radio_button_get_type ())
GTK_RADIO_BUTTON
#define GTK_RADIO_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_RADIO_BUTTON, GtkRadioButton))
GTK_IS_RADIO_BUTTON
#define GTK_IS_RADIO_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_RADIO_BUTTON))
gtk_radio_button_get_type
GType
void
gtk_radio_button_new
GtkWidget *
GSList *group
gtk_radio_button_new_from_widget
GtkWidget *
GtkRadioButton *radio_group_member
gtk_radio_button_new_with_label
GtkWidget *
GSList *group, const gchar *label
gtk_radio_button_new_with_label_from_widget
GtkWidget *
GtkRadioButton *radio_group_member, const gchar *label
gtk_radio_button_new_with_mnemonic
GtkWidget *
GSList *group, const gchar *label
gtk_radio_button_new_with_mnemonic_from_widget
GtkWidget *
GtkRadioButton *radio_group_member, const gchar *label
gtk_radio_button_get_group
GSList *
GtkRadioButton *radio_button
gtk_radio_button_set_group
void
GtkRadioButton *radio_button, GSList *group
gtk_radio_button_join_group
void
GtkRadioButton *radio_button, GtkRadioButton *group_source
GtkRadioButton
GTK_TYPE_RANGE
#define GTK_TYPE_RANGE (gtk_range_get_type ())
GTK_RANGE
#define GTK_RANGE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_RANGE, GtkRange))
GTK_RANGE_CLASS
#define GTK_RANGE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_RANGE, GtkRangeClass))
GTK_IS_RANGE
#define GTK_IS_RANGE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_RANGE))
GTK_IS_RANGE_CLASS
#define GTK_IS_RANGE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_RANGE))
GTK_RANGE_GET_CLASS
#define GTK_RANGE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_RANGE, GtkRangeClass))
GtkRange
struct _GtkRange
{
GtkWidget parent_instance;
};
GtkRangeClass
struct _GtkRangeClass
{
GtkWidgetClass parent_class;
void (* value_changed) (GtkRange *range);
void (* adjust_bounds) (GtkRange *range,
gdouble new_value);
/* action signals for keybindings */
void (* move_slider) (GtkRange *range,
GtkScrollType scroll);
/* Virtual functions */
void (* get_range_border) (GtkRange *range,
GtkBorder *border_);
gboolean (* change_value) (GtkRange *range,
GtkScrollType scroll,
gdouble new_value);
/*< private > */
gpointer padding[8];
};
gtk_range_get_type
GType
void
gtk_range_set_adjustment
void
GtkRange *range, GtkAdjustment *adjustment
gtk_range_get_adjustment
GtkAdjustment *
GtkRange *range
gtk_range_set_inverted
void
GtkRange *range, gboolean setting
gtk_range_get_inverted
gboolean
GtkRange *range
gtk_range_set_flippable
void
GtkRange *range, gboolean flippable
gtk_range_get_flippable
gboolean
GtkRange *range
gtk_range_set_slider_size_fixed
void
GtkRange *range, gboolean size_fixed
gtk_range_get_slider_size_fixed
gboolean
GtkRange *range
gtk_range_get_range_rect
void
GtkRange *range, GdkRectangle *range_rect
gtk_range_get_slider_range
void
GtkRange *range, gint *slider_start, gint *slider_end
gtk_range_set_increments
void
GtkRange *range, gdouble step, gdouble page
gtk_range_set_range
void
GtkRange *range, gdouble min, gdouble max
gtk_range_set_value
void
GtkRange *range, gdouble value
gtk_range_get_value
gdouble
GtkRange *range
gtk_range_set_show_fill_level
void
GtkRange *range, gboolean show_fill_level
gtk_range_get_show_fill_level
gboolean
GtkRange *range
gtk_range_set_restrict_to_fill_level
void
GtkRange *range, gboolean restrict_to_fill_level
gtk_range_get_restrict_to_fill_level
gboolean
GtkRange *range
gtk_range_set_fill_level
void
GtkRange *range, gdouble fill_level
gtk_range_get_fill_level
gdouble
GtkRange *range
gtk_range_set_round_digits
void
GtkRange *range, gint round_digits
gtk_range_get_round_digits
gint
GtkRange *range
GTK_TYPE_RECENT_INFO
#define GTK_TYPE_RECENT_INFO (gtk_recent_info_get_type ())
GTK_TYPE_RECENT_MANAGER
#define GTK_TYPE_RECENT_MANAGER (gtk_recent_manager_get_type ())
GTK_RECENT_MANAGER
#define GTK_RECENT_MANAGER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_RECENT_MANAGER, GtkRecentManager))
GTK_IS_RECENT_MANAGER
#define GTK_IS_RECENT_MANAGER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_RECENT_MANAGER))
GTK_RECENT_MANAGER_CLASS
#define GTK_RECENT_MANAGER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_RECENT_MANAGER, GtkRecentManagerClass))
GTK_IS_RECENT_MANAGER_CLASS
#define GTK_IS_RECENT_MANAGER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_RECENT_MANAGER))
GTK_RECENT_MANAGER_GET_CLASS
#define GTK_RECENT_MANAGER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_RECENT_MANAGER, GtkRecentManagerClass))
GtkRecentData
struct _GtkRecentData
{
gchar *display_name;
gchar *description;
gchar *mime_type;
gchar *app_name;
gchar *app_exec;
gchar **groups;
gboolean is_private;
};
GtkRecentManager
struct _GtkRecentManager
{
/*< private >*/
GObject parent_instance;
GtkRecentManagerPrivate *priv;
};
GtkRecentManagerClass
struct _GtkRecentManagerClass
{
/*< private >*/
GObjectClass parent_class;
void (*changed) (GtkRecentManager *manager);
/* padding for future expansion */
void (*_gtk_recent1) (void);
void (*_gtk_recent2) (void);
void (*_gtk_recent3) (void);
void (*_gtk_recent4) (void);
};
GtkRecentManagerError
typedef enum
{
GTK_RECENT_MANAGER_ERROR_NOT_FOUND,
GTK_RECENT_MANAGER_ERROR_INVALID_URI,
GTK_RECENT_MANAGER_ERROR_INVALID_ENCODING,
GTK_RECENT_MANAGER_ERROR_NOT_REGISTERED,
GTK_RECENT_MANAGER_ERROR_READ,
GTK_RECENT_MANAGER_ERROR_WRITE,
GTK_RECENT_MANAGER_ERROR_UNKNOWN
} GtkRecentManagerError;
GTK_RECENT_MANAGER_ERROR
#define GTK_RECENT_MANAGER_ERROR (gtk_recent_manager_error_quark ())
gtk_recent_manager_error_quark
GQuark
void
gtk_recent_manager_get_type
GType
void
gtk_recent_manager_new
GtkRecentManager *
void
gtk_recent_manager_get_default
GtkRecentManager *
void
gtk_recent_manager_add_item
gboolean
GtkRecentManager *manager, const gchar *uri
gtk_recent_manager_add_full
gboolean
GtkRecentManager *manager, const gchar *uri, const GtkRecentData *recent_data
gtk_recent_manager_remove_item
gboolean
GtkRecentManager *manager, const gchar *uri, GError **error
gtk_recent_manager_lookup_item
GtkRecentInfo *
GtkRecentManager *manager, const gchar *uri, GError **error
gtk_recent_manager_has_item
gboolean
GtkRecentManager *manager, const gchar *uri
gtk_recent_manager_move_item
gboolean
GtkRecentManager *manager, const gchar *uri, const gchar *new_uri, GError **error
gtk_recent_manager_get_items
GList *
GtkRecentManager *manager
gtk_recent_manager_purge_items
gint
GtkRecentManager *manager, GError **error
gtk_recent_info_get_type
GType
void
gtk_recent_info_ref
GtkRecentInfo *
GtkRecentInfo *info
gtk_recent_info_unref
void
GtkRecentInfo *info
gtk_recent_info_get_uri
const gchar *
GtkRecentInfo *info
gtk_recent_info_get_display_name
const gchar *
GtkRecentInfo *info
gtk_recent_info_get_description
const gchar *
GtkRecentInfo *info
gtk_recent_info_get_mime_type
const gchar *
GtkRecentInfo *info
gtk_recent_info_get_added
time_t
GtkRecentInfo *info
gtk_recent_info_get_modified
time_t
GtkRecentInfo *info
gtk_recent_info_get_visited
time_t
GtkRecentInfo *info
gtk_recent_info_get_private_hint
gboolean
GtkRecentInfo *info
gtk_recent_info_get_application_info
gboolean
GtkRecentInfo *info, const gchar *app_name, const gchar **app_exec, guint *count, time_t *time_
gtk_recent_info_create_app_info
GAppInfo *
GtkRecentInfo *info, const gchar *app_name, GError **error
gtk_recent_info_get_applications
gchar **
GtkRecentInfo *info, gsize *length
gtk_recent_info_last_application
gchar *
GtkRecentInfo *info
gtk_recent_info_has_application
gboolean
GtkRecentInfo *info, const gchar *app_name
gtk_recent_info_get_groups
gchar **
GtkRecentInfo *info, gsize *length
gtk_recent_info_has_group
gboolean
GtkRecentInfo *info, const gchar *group_name
gtk_recent_info_get_gicon
GIcon *
GtkRecentInfo *info
gtk_recent_info_get_short_name
gchar *
GtkRecentInfo *info
gtk_recent_info_get_uri_display
gchar *
GtkRecentInfo *info
gtk_recent_info_get_age
gint
GtkRecentInfo *info
gtk_recent_info_is_local
gboolean
GtkRecentInfo *info
gtk_recent_info_exists
gboolean
GtkRecentInfo *info
gtk_recent_info_match
gboolean
GtkRecentInfo *info_a, GtkRecentInfo *info_b
GtkRecentInfo
GtkRecentManagerPrivate
gtk_render_check
void
GtkStyleContext *context, cairo_t *cr, gdouble x, gdouble y, gdouble width, gdouble height
gtk_render_option
void
GtkStyleContext *context, cairo_t *cr, gdouble x, gdouble y, gdouble width, gdouble height
gtk_render_arrow
void
GtkStyleContext *context, cairo_t *cr, gdouble angle, gdouble x, gdouble y, gdouble size
gtk_render_background
void
GtkStyleContext *context, cairo_t *cr, gdouble x, gdouble y, gdouble width, gdouble height
gtk_render_frame
void
GtkStyleContext *context, cairo_t *cr, gdouble x, gdouble y, gdouble width, gdouble height
gtk_render_expander
void
GtkStyleContext *context, cairo_t *cr, gdouble x, gdouble y, gdouble width, gdouble height
gtk_render_focus
void
GtkStyleContext *context, cairo_t *cr, gdouble x, gdouble y, gdouble width, gdouble height
gtk_render_layout
void
GtkStyleContext *context, cairo_t *cr, gdouble x, gdouble y, PangoLayout *layout
gtk_render_line
void
GtkStyleContext *context, cairo_t *cr, gdouble x0, gdouble y0, gdouble x1, gdouble y1
gtk_render_slider
void
GtkStyleContext *context, cairo_t *cr, gdouble x, gdouble y, gdouble width, gdouble height, GtkOrientation orientation
gtk_render_handle
void
GtkStyleContext *context, cairo_t *cr, gdouble x, gdouble y, gdouble width, gdouble height
gtk_render_activity
void
GtkStyleContext *context, cairo_t *cr, gdouble x, gdouble y, gdouble width, gdouble height
gtk_render_icon
void
GtkStyleContext *context, cairo_t *cr, GdkTexture *texture, gdouble x, gdouble y
GTK_TYPE_REVEALER
#define GTK_TYPE_REVEALER (gtk_revealer_get_type ())
GTK_REVEALER
#define GTK_REVEALER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_REVEALER, GtkRevealer))
GTK_IS_REVEALER
#define GTK_IS_REVEALER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_REVEALER))
GtkRevealerTransitionType
typedef enum {
GTK_REVEALER_TRANSITION_TYPE_NONE,
GTK_REVEALER_TRANSITION_TYPE_CROSSFADE,
GTK_REVEALER_TRANSITION_TYPE_SLIDE_RIGHT,
GTK_REVEALER_TRANSITION_TYPE_SLIDE_LEFT,
GTK_REVEALER_TRANSITION_TYPE_SLIDE_UP,
GTK_REVEALER_TRANSITION_TYPE_SLIDE_DOWN,
GTK_REVEALER_TRANSITION_TYPE_SWING_RIGHT,
GTK_REVEALER_TRANSITION_TYPE_SWING_LEFT,
GTK_REVEALER_TRANSITION_TYPE_SWING_UP,
GTK_REVEALER_TRANSITION_TYPE_SWING_DOWN
} GtkRevealerTransitionType;
gtk_revealer_get_type
GType
void
gtk_revealer_new
GtkWidget *
void
gtk_revealer_get_reveal_child
gboolean
GtkRevealer *revealer
gtk_revealer_set_reveal_child
void
GtkRevealer *revealer, gboolean reveal_child
gtk_revealer_get_child_revealed
gboolean
GtkRevealer *revealer
gtk_revealer_get_transition_duration
guint
GtkRevealer *revealer
gtk_revealer_set_transition_duration
void
GtkRevealer *revealer, guint duration
gtk_revealer_set_transition_type
void
GtkRevealer *revealer, GtkRevealerTransitionType transition
gtk_revealer_get_transition_type
GtkRevealerTransitionType
GtkRevealer *revealer
GtkRevealer
GTK_TYPE_ROOT
#define GTK_TYPE_ROOT (gtk_root_get_type ())
gtk_root_get_display
GdkDisplay *
GtkRoot *self
gtk_root_set_focus
void
GtkRoot *self, GtkWidget *focus
gtk_root_get_focus
GtkWidget *
GtkRoot *self
GtkRoot
GtkRootInterface
GtkRootInterface
struct _GtkRootInterface
{
/*< private >*/
GTypeInterface g_iface;
/*< public >*/
GdkDisplay * (* get_display) (GtkRoot *self);
GtkConstraintSolver * (* get_constraint_solver) (GtkRoot *self);
};
gtk_root_get_constraint_solver
GtkConstraintSolver *
GtkRoot *self
GtkRootProperties
typedef enum {
GTK_ROOT_PROP_FOCUS_WIDGET,
GTK_ROOT_NUM_PROPERTIES
} GtkRootProperties;
gtk_root_install_properties
guint
GObjectClass *object_class, guint first_prop
GTK_TYPE_SCALE
#define GTK_TYPE_SCALE (gtk_scale_get_type ())
GTK_SCALE
#define GTK_SCALE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_SCALE, GtkScale))
GTK_SCALE_CLASS
#define GTK_SCALE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_SCALE, GtkScaleClass))
GTK_IS_SCALE
#define GTK_IS_SCALE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_SCALE))
GTK_IS_SCALE_CLASS
#define GTK_IS_SCALE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_SCALE))
GTK_SCALE_GET_CLASS
#define GTK_SCALE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_SCALE, GtkScaleClass))
GtkScale
struct _GtkScale
{
GtkRange parent_instance;
};
GtkScaleClass
struct _GtkScaleClass
{
GtkRangeClass parent_class;
void (* get_layout_offsets) (GtkScale *scale,
gint *x,
gint *y);
/*< private >*/
gpointer padding[8];
};
GtkScaleFormatValueFunc
char *
GtkScale *scale, double value, gpointer user_data
gtk_scale_get_type
GType
void
gtk_scale_new
GtkWidget *
GtkOrientation orientation, GtkAdjustment *adjustment
gtk_scale_new_with_range
GtkWidget *
GtkOrientation orientation, gdouble min, gdouble max, gdouble step
gtk_scale_set_digits
void
GtkScale *scale, gint digits
gtk_scale_get_digits
gint
GtkScale *scale
gtk_scale_set_draw_value
void
GtkScale *scale, gboolean draw_value
gtk_scale_get_draw_value
gboolean
GtkScale *scale
gtk_scale_set_has_origin
void
GtkScale *scale, gboolean has_origin
gtk_scale_get_has_origin
gboolean
GtkScale *scale
gtk_scale_set_value_pos
void
GtkScale *scale, GtkPositionType pos
gtk_scale_get_value_pos
GtkPositionType
GtkScale *scale
gtk_scale_get_layout
PangoLayout *
GtkScale *scale
gtk_scale_get_layout_offsets
void
GtkScale *scale, gint *x, gint *y
gtk_scale_add_mark
void
GtkScale *scale, gdouble value, GtkPositionType position, const gchar *markup
gtk_scale_clear_marks
void
GtkScale *scale
gtk_scale_set_format_value_func
void
GtkScale *scale, GtkScaleFormatValueFunc func, gpointer user_data, GDestroyNotify destroy_notify
GTK_TYPE_SCALE_BUTTON
#define GTK_TYPE_SCALE_BUTTON (gtk_scale_button_get_type ())
GTK_SCALE_BUTTON
#define GTK_SCALE_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_SCALE_BUTTON, GtkScaleButton))
GTK_SCALE_BUTTON_CLASS
#define GTK_SCALE_BUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_SCALE_BUTTON, GtkScaleButtonClass))
GTK_IS_SCALE_BUTTON
#define GTK_IS_SCALE_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_SCALE_BUTTON))
GTK_IS_SCALE_BUTTON_CLASS
#define GTK_IS_SCALE_BUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_SCALE_BUTTON))
GTK_SCALE_BUTTON_GET_CLASS
#define GTK_SCALE_BUTTON_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_SCALE_BUTTON, GtkScaleButtonClass))
GtkScaleButton
struct _GtkScaleButton
{
GtkButton parent_instance;
};
GtkScaleButtonClass
struct _GtkScaleButtonClass
{
GtkButtonClass parent_class;
/* signals */
void (* value_changed) (GtkScaleButton *button,
gdouble value);
/*< private >*/
gpointer padding[8];
};
gtk_scale_button_get_type
GType
void
gtk_scale_button_new
GtkWidget *
gdouble min, gdouble max, gdouble step, const gchar **icons
gtk_scale_button_set_icons
void
GtkScaleButton *button, const gchar **icons
gtk_scale_button_get_value
gdouble
GtkScaleButton *button
gtk_scale_button_set_value
void
GtkScaleButton *button, gdouble value
gtk_scale_button_get_adjustment
GtkAdjustment *
GtkScaleButton *button
gtk_scale_button_set_adjustment
void
GtkScaleButton *button, GtkAdjustment *adjustment
gtk_scale_button_get_plus_button
GtkWidget *
GtkScaleButton *button
gtk_scale_button_get_minus_button
GtkWidget *
GtkScaleButton *button
gtk_scale_button_get_popup
GtkWidget *
GtkScaleButton *button
GTK_TYPE_SCROLLABLE
#define GTK_TYPE_SCROLLABLE (gtk_scrollable_get_type ())
GTK_SCROLLABLE
#define GTK_SCROLLABLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_SCROLLABLE, GtkScrollable))
GTK_IS_SCROLLABLE
#define GTK_IS_SCROLLABLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_SCROLLABLE))
GTK_SCROLLABLE_GET_IFACE
#define GTK_SCROLLABLE_GET_IFACE(inst) (G_TYPE_INSTANCE_GET_INTERFACE ((inst), GTK_TYPE_SCROLLABLE, GtkScrollableInterface))
GtkScrollableInterface
struct _GtkScrollableInterface
{
GTypeInterface base_iface;
gboolean (* get_border) (GtkScrollable *scrollable,
GtkBorder *border);
};
gtk_scrollable_get_type
GType
void
gtk_scrollable_get_hadjustment
GtkAdjustment *
GtkScrollable *scrollable
gtk_scrollable_set_hadjustment
void
GtkScrollable *scrollable, GtkAdjustment *hadjustment
gtk_scrollable_get_vadjustment
GtkAdjustment *
GtkScrollable *scrollable
gtk_scrollable_set_vadjustment
void
GtkScrollable *scrollable, GtkAdjustment *vadjustment
gtk_scrollable_get_hscroll_policy
GtkScrollablePolicy
GtkScrollable *scrollable
gtk_scrollable_set_hscroll_policy
void
GtkScrollable *scrollable, GtkScrollablePolicy policy
gtk_scrollable_get_vscroll_policy
GtkScrollablePolicy
GtkScrollable *scrollable
gtk_scrollable_set_vscroll_policy
void
GtkScrollable *scrollable, GtkScrollablePolicy policy
gtk_scrollable_get_border
gboolean
GtkScrollable *scrollable, GtkBorder *border
GtkScrollable
GTK_TYPE_SCROLLBAR
#define GTK_TYPE_SCROLLBAR (gtk_scrollbar_get_type ())
GTK_SCROLLBAR
#define GTK_SCROLLBAR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_SCROLLBAR, GtkScrollbar))
GTK_IS_SCROLLBAR
#define GTK_IS_SCROLLBAR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_SCROLLBAR))
gtk_scrollbar_get_type
GType
void
gtk_scrollbar_new
GtkWidget *
GtkOrientation orientation, GtkAdjustment *adjustment
gtk_scrollbar_set_adjustment
void
GtkScrollbar *self, GtkAdjustment *adjustment
gtk_scrollbar_get_adjustment
GtkAdjustment *
GtkScrollbar *self
GtkScrollbar
GTK_TYPE_SCROLLED_WINDOW
#define GTK_TYPE_SCROLLED_WINDOW (gtk_scrolled_window_get_type ())
GTK_SCROLLED_WINDOW
#define GTK_SCROLLED_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_SCROLLED_WINDOW, GtkScrolledWindow))
GTK_IS_SCROLLED_WINDOW
#define GTK_IS_SCROLLED_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_SCROLLED_WINDOW))
GtkCornerType
typedef enum
{
GTK_CORNER_TOP_LEFT,
GTK_CORNER_BOTTOM_LEFT,
GTK_CORNER_TOP_RIGHT,
GTK_CORNER_BOTTOM_RIGHT
} GtkCornerType;
GtkPolicyType
typedef enum
{
GTK_POLICY_ALWAYS,
GTK_POLICY_AUTOMATIC,
GTK_POLICY_NEVER,
GTK_POLICY_EXTERNAL
} GtkPolicyType;
gtk_scrolled_window_get_type
GType
void
gtk_scrolled_window_new
GtkWidget *
GtkAdjustment *hadjustment, GtkAdjustment *vadjustment
gtk_scrolled_window_set_hadjustment
void
GtkScrolledWindow *scrolled_window, GtkAdjustment *hadjustment
gtk_scrolled_window_set_vadjustment
void
GtkScrolledWindow *scrolled_window, GtkAdjustment *vadjustment
gtk_scrolled_window_get_hadjustment
GtkAdjustment *
GtkScrolledWindow *scrolled_window
gtk_scrolled_window_get_vadjustment
GtkAdjustment *
GtkScrolledWindow *scrolled_window
gtk_scrolled_window_get_hscrollbar
GtkWidget *
GtkScrolledWindow *scrolled_window
gtk_scrolled_window_get_vscrollbar
GtkWidget *
GtkScrolledWindow *scrolled_window
gtk_scrolled_window_set_policy
void
GtkScrolledWindow *scrolled_window, GtkPolicyType hscrollbar_policy, GtkPolicyType vscrollbar_policy
gtk_scrolled_window_get_policy
void
GtkScrolledWindow *scrolled_window, GtkPolicyType *hscrollbar_policy, GtkPolicyType *vscrollbar_policy
gtk_scrolled_window_set_placement
void
GtkScrolledWindow *scrolled_window, GtkCornerType window_placement
gtk_scrolled_window_unset_placement
void
GtkScrolledWindow *scrolled_window
gtk_scrolled_window_get_placement
GtkCornerType
GtkScrolledWindow *scrolled_window
gtk_scrolled_window_set_shadow_type
void
GtkScrolledWindow *scrolled_window, GtkShadowType type
gtk_scrolled_window_get_shadow_type
GtkShadowType
GtkScrolledWindow *scrolled_window
gtk_scrolled_window_get_min_content_width
gint
GtkScrolledWindow *scrolled_window
gtk_scrolled_window_set_min_content_width
void
GtkScrolledWindow *scrolled_window, gint width
gtk_scrolled_window_get_min_content_height
gint
GtkScrolledWindow *scrolled_window
gtk_scrolled_window_set_min_content_height
void
GtkScrolledWindow *scrolled_window, gint height
gtk_scrolled_window_set_kinetic_scrolling
void
GtkScrolledWindow *scrolled_window, gboolean kinetic_scrolling
gtk_scrolled_window_get_kinetic_scrolling
gboolean
GtkScrolledWindow *scrolled_window
gtk_scrolled_window_set_capture_button_press
void
GtkScrolledWindow *scrolled_window, gboolean capture_button_press
gtk_scrolled_window_get_capture_button_press
gboolean
GtkScrolledWindow *scrolled_window
gtk_scrolled_window_set_overlay_scrolling
void
GtkScrolledWindow *scrolled_window, gboolean overlay_scrolling
gtk_scrolled_window_get_overlay_scrolling
gboolean
GtkScrolledWindow *scrolled_window
gtk_scrolled_window_set_max_content_width
void
GtkScrolledWindow *scrolled_window, gint width
gtk_scrolled_window_get_max_content_width
gint
GtkScrolledWindow *scrolled_window
gtk_scrolled_window_set_max_content_height
void
GtkScrolledWindow *scrolled_window, gint height
gtk_scrolled_window_get_max_content_height
gint
GtkScrolledWindow *scrolled_window
gtk_scrolled_window_set_propagate_natural_width
void
GtkScrolledWindow *scrolled_window, gboolean propagate
gtk_scrolled_window_get_propagate_natural_width
gboolean
GtkScrolledWindow *scrolled_window
gtk_scrolled_window_set_propagate_natural_height
void
GtkScrolledWindow *scrolled_window, gboolean propagate
gtk_scrolled_window_get_propagate_natural_height
gboolean
GtkScrolledWindow *scrolled_window
GtkScrolledWindow
GTK_TYPE_SEARCH_BAR
#define GTK_TYPE_SEARCH_BAR (gtk_search_bar_get_type ())
GTK_SEARCH_BAR
#define GTK_SEARCH_BAR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_SEARCH_BAR, GtkSearchBar))
GTK_IS_SEARCH_BAR
#define GTK_IS_SEARCH_BAR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_SEARCH_BAR))
gtk_search_bar_get_type
GType
void
gtk_search_bar_new
GtkWidget *
void
gtk_search_bar_connect_entry
void
GtkSearchBar *bar, GtkEditable *entry
gtk_search_bar_get_search_mode
gboolean
GtkSearchBar *bar
gtk_search_bar_set_search_mode
void
GtkSearchBar *bar, gboolean search_mode
gtk_search_bar_get_show_close_button
gboolean
GtkSearchBar *bar
gtk_search_bar_set_show_close_button
void
GtkSearchBar *bar, gboolean visible
gtk_search_bar_set_key_capture_widget
void
GtkSearchBar *bar, GtkWidget *widget
gtk_search_bar_get_key_capture_widget
GtkWidget *
GtkSearchBar *bar
GtkSearchBar
GTK_TYPE_SEARCH_ENGINE
#define GTK_TYPE_SEARCH_ENGINE (_gtk_search_engine_get_type ())
GTK_SEARCH_ENGINE
#define GTK_SEARCH_ENGINE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_SEARCH_ENGINE, GtkSearchEngine))
GTK_SEARCH_ENGINE_CLASS
#define GTK_SEARCH_ENGINE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_SEARCH_ENGINE, GtkSearchEngineClass))
GTK_IS_SEARCH_ENGINE
#define GTK_IS_SEARCH_ENGINE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_SEARCH_ENGINE))
GTK_IS_SEARCH_ENGINE_CLASS
#define GTK_IS_SEARCH_ENGINE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_SEARCH_ENGINE))
GTK_SEARCH_ENGINE_GET_CLASS
#define GTK_SEARCH_ENGINE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_SEARCH_ENGINE, GtkSearchEngineClass))
GtkSearchHit
struct _GtkSearchHit
{
GFile *file;
GFileInfo *info; /* may be NULL */
};
GtkSearchEngine
struct _GtkSearchEngine
{
GObject parent;
GtkSearchEnginePrivate *priv;
};
GtkSearchEngineClass
struct _GtkSearchEngineClass
{
GObjectClass parent_class;
/* VTable */
void (*set_query) (GtkSearchEngine *engine,
GtkQuery *query);
void (*start) (GtkSearchEngine *engine);
void (*stop) (GtkSearchEngine *engine);
/* Signals */
void (*hits_added) (GtkSearchEngine *engine,
GList *hits);
void (*finished) (GtkSearchEngine *engine);
void (*error) (GtkSearchEngine *engine,
const gchar *error_message);
};
GtkSearchEnginePrivate
GTK_TYPE_SEARCH_ENGINE_MODEL
#define GTK_TYPE_SEARCH_ENGINE_MODEL (_gtk_search_engine_model_get_type ())
GTK_SEARCH_ENGINE_MODEL
#define GTK_SEARCH_ENGINE_MODEL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_SEARCH_ENGINE_MODEL, GtkSearchEngineModel))
GTK_SEARCH_ENGINE_MODEL_CLASS
#define GTK_SEARCH_ENGINE_MODEL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_SEARCH_ENGINE_MODEL, GtkSearchEngineModelClass))
GTK_IS_SEARCH_ENGINE_MODEL
#define GTK_IS_SEARCH_ENGINE_MODEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_SEARCH_ENGINE_MODEL))
GTK_IS_SEARCH_ENGINE_MODEL_CLASS
#define GTK_IS_SEARCH_ENGINE_MODEL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_SEARCH_ENGINE_MODEL))
GTK_SEARCH_ENGINE_MODEL_GET_CLASS
#define GTK_SEARCH_ENGINE_MODEL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_SEARCH_ENGINE_MODEL, GtkSearchEngineModelClass))
GtkSearchEngineModel
GtkSearchEngineModelClass
GTK_TYPE_SEARCH_ENGINE_QUARTZ
#define GTK_TYPE_SEARCH_ENGINE_QUARTZ (_gtk_search_engine_quartz_get_type ())
GTK_SEARCH_ENGINE_QUARTZ
#define GTK_SEARCH_ENGINE_QUARTZ(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_SEARCH_ENGINE_QUARTZ, GtkSearchEngineQuartz))
GTK_SEARCH_ENGINE_QUARTZ_CLASS
#define GTK_SEARCH_ENGINE_QUARTZ_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_SEARCH_ENGINE_QUARTZ, GtkSearchEngineQuartzClass))
GTK_IS_SEARCH_ENGINE_QUARTZ
#define GTK_IS_SEARCH_ENGINE_QUARTZ(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_SEARCH_ENGINE_QUARTZ))
GTK_IS_SEARCH_ENGINE_QUARTZ_CLASS
#define GTK_IS_SEARCH_ENGINE_QUARTZ_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_SEARCH_ENGINE_QUARTZ))
GTK_SEARCH_ENGINE_QUARTZ_GET_CLASS
#define GTK_SEARCH_ENGINE_QUARTZ_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_SEARCH_ENGINE_QUARTZ, GtkSearchEngineQuartzClass))
GtkSearchEngineQuartz
struct _GtkSearchEngineQuartz
{
GtkSearchEngine parent;
GtkSearchEngineQuartzPrivate *priv;
};
GtkSearchEngineQuartzClass
struct _GtkSearchEngineQuartzClass
{
GtkSearchEngineClass parent_class;
};
GtkSearchEngineQuartzPrivate
GTK_TYPE_SEARCH_ENGINE_TRACKER
#define GTK_TYPE_SEARCH_ENGINE_TRACKER (_gtk_search_engine_tracker_get_type ())
GTK_SEARCH_ENGINE_TRACKER
#define GTK_SEARCH_ENGINE_TRACKER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_SEARCH_ENGINE_TRACKER, GtkSearchEngineTracker))
GTK_SEARCH_ENGINE_TRACKER_CLASS
#define GTK_SEARCH_ENGINE_TRACKER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_SEARCH_ENGINE_TRACKER, GtkSearchEngineTrackerClass))
GTK_IS_SEARCH_ENGINE_TRACKER
#define GTK_IS_SEARCH_ENGINE_TRACKER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_SEARCH_ENGINE_TRACKER))
GTK_IS_SEARCH_ENGINE_TRACKER_CLASS
#define GTK_IS_SEARCH_ENGINE_TRACKER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_SEARCH_ENGINE_TRACKER))
GTK_SEARCH_ENGINE_TRACKER_GET_CLASS
#define GTK_SEARCH_ENGINE_TRACKER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_SEARCH_ENGINE_TRACKER, GtkSearchEngineTrackerClass))
GtkSearchEngineTracker
GtkSearchEngineTrackerClass
GTK_TYPE_SEARCH_ENTRY
#define GTK_TYPE_SEARCH_ENTRY (gtk_search_entry_get_type ())
GTK_SEARCH_ENTRY
#define GTK_SEARCH_ENTRY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_SEARCH_ENTRY, GtkSearchEntry))
GTK_IS_SEARCH_ENTRY
#define GTK_IS_SEARCH_ENTRY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_SEARCH_ENTRY))
gtk_search_entry_get_type
GType
void
gtk_search_entry_new
GtkWidget *
void
gtk_search_entry_set_key_capture_widget
void
GtkSearchEntry *entry, GtkWidget *widget
gtk_search_entry_get_key_capture_widget
GtkWidget *
GtkSearchEntry *entry
GtkSearchEntry
GTK_TYPE_SELECTION_DATA
#define GTK_TYPE_SELECTION_DATA (gtk_selection_data_get_type ())
gtk_selection_data_get_target
GdkAtom
const GtkSelectionData *selection_data
gtk_selection_data_get_data_type
GdkAtom
const GtkSelectionData *selection_data
gtk_selection_data_get_format
gint
const GtkSelectionData *selection_data
gtk_selection_data_get_data
const guchar *
const GtkSelectionData *selection_data
gtk_selection_data_get_length
gint
const GtkSelectionData *selection_data
gtk_selection_data_get_data_with_length
const guchar *
const GtkSelectionData *selection_data, gint *length
gtk_selection_data_get_display
GdkDisplay *
const GtkSelectionData *selection_data
gtk_selection_data_set
void
GtkSelectionData *selection_data, GdkAtom type, gint format, const guchar *data, gint length
gtk_selection_data_set_text
gboolean
GtkSelectionData *selection_data, const gchar *str, gint len
gtk_selection_data_get_text
guchar *
const GtkSelectionData *selection_data
gtk_selection_data_set_pixbuf
gboolean
GtkSelectionData *selection_data, GdkPixbuf *pixbuf
gtk_selection_data_get_pixbuf
GdkPixbuf *
const GtkSelectionData *selection_data
gtk_selection_data_set_texture
gboolean
GtkSelectionData *selection_data, GdkTexture *texture
gtk_selection_data_get_texture
GdkTexture *
const GtkSelectionData *selection_data
gtk_selection_data_set_uris
gboolean
GtkSelectionData *selection_data, gchar **uris
gtk_selection_data_get_uris
gchar **
const GtkSelectionData *selection_data
gtk_selection_data_get_targets
gboolean
const GtkSelectionData *selection_data, GdkAtom **targets, gint *n_atoms
gtk_selection_data_targets_include_text
gboolean
const GtkSelectionData *selection_data
gtk_selection_data_targets_include_image
gboolean
const GtkSelectionData *selection_data, gboolean writable
gtk_selection_data_targets_include_uri
gboolean
const GtkSelectionData *selection_data
gtk_targets_include_text
gboolean
GdkAtom *targets, gint n_targets
gtk_targets_include_image
gboolean
GdkAtom *targets, gint n_targets, gboolean writable
gtk_targets_include_uri
gboolean
GdkAtom *targets, gint n_targets
gtk_selection_data_get_type
GType
void
gtk_selection_data_copy
GtkSelectionData *
const GtkSelectionData *data
gtk_selection_data_free
void
GtkSelectionData *data
GTK_TYPE_SELECTION_MODEL
#define GTK_TYPE_SELECTION_MODEL (gtk_selection_model_get_type ())
GtkSelectionModelInterface
struct _GtkSelectionModelInterface
{
/*< private >*/
GTypeInterface g_iface;
/*< public >*/
gboolean (* is_selected) (GtkSelectionModel *model,
guint position);
gboolean (* select_item) (GtkSelectionModel *model,
guint position,
gboolean exclusive);
gboolean (* unselect_item) (GtkSelectionModel *model,
guint position);
gboolean (* select_range) (GtkSelectionModel *model,
guint position,
guint n_items,
gboolean exclusive);
gboolean (* unselect_range) (GtkSelectionModel *model,
guint position,
guint n_items);
gboolean (* select_all) (GtkSelectionModel *model);
gboolean (* unselect_all) (GtkSelectionModel *model);
void (* query_range) (GtkSelectionModel *model,
guint position,
guint *start_range,
guint *n_items,
gboolean *selected);
};
gtk_selection_model_is_selected
gboolean
GtkSelectionModel *model, guint position
gtk_selection_model_select_item
gboolean
GtkSelectionModel *model, guint position, gboolean exclusive
gtk_selection_model_unselect_item
gboolean
GtkSelectionModel *model, guint position
gtk_selection_model_select_range
gboolean
GtkSelectionModel *model, guint position, guint n_items, gboolean exclusive
gtk_selection_model_unselect_range
gboolean
GtkSelectionModel *model, guint position, guint n_items
gtk_selection_model_select_all
gboolean
GtkSelectionModel *model
gtk_selection_model_unselect_all
gboolean
GtkSelectionModel *model
gtk_selection_model_query_range
void
GtkSelectionModel *model, guint position, guint *start_range, guint *n_items, gboolean *selected
gtk_selection_model_selection_changed
void
GtkSelectionModel *model, guint position, guint n_items
GtkSelectionModel
GTK_TYPE_SEPARATOR
#define GTK_TYPE_SEPARATOR (gtk_separator_get_type ())
GTK_SEPARATOR
#define GTK_SEPARATOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_SEPARATOR, GtkSeparator))
GTK_IS_SEPARATOR
#define GTK_IS_SEPARATOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_SEPARATOR))
gtk_separator_get_type
GType
void
gtk_separator_new
GtkWidget *
GtkOrientation orientation
GtkSeparator
GTK_TYPE_SETTINGS
#define GTK_TYPE_SETTINGS (gtk_settings_get_type ())
GTK_SETTINGS
#define GTK_SETTINGS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_SETTINGS, GtkSettings))
GTK_IS_SETTINGS
#define GTK_IS_SETTINGS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_SETTINGS))
GtkSettings
struct _GtkSettings
{
GObject parent_instance;
};
GtkSettingsValue
struct _GtkSettingsValue
{
/* origin should be something like "filename:linenumber" for rc files,
* or e.g. "XProperty" for other sources
*/
gchar *origin;
/* valid types are LONG, DOUBLE and STRING corresponding to the token parsed,
* or a GSTRING holding an unparsed statement
*/
GValue value;
};
gtk_settings_get_type
GType
void
gtk_settings_get_default
GtkSettings *
void
gtk_settings_get_for_display
GtkSettings *
GdkDisplay *display
gtk_settings_reset_property
void
GtkSettings *settings, const gchar *name
GTK_TYPE_SHORTCUT_LABEL
#define GTK_TYPE_SHORTCUT_LABEL (gtk_shortcut_label_get_type())
GTK_SHORTCUT_LABEL
#define GTK_SHORTCUT_LABEL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_SHORTCUT_LABEL, GtkShortcutLabel))
GTK_IS_SHORTCUT_LABEL
#define GTK_IS_SHORTCUT_LABEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_SHORTCUT_LABEL))
gtk_shortcut_label_get_type
GType
void
gtk_shortcut_label_new
GtkWidget *
const gchar *accelerator
gtk_shortcut_label_get_accelerator
const gchar *
GtkShortcutLabel *self
gtk_shortcut_label_set_accelerator
void
GtkShortcutLabel *self, const gchar *accelerator
gtk_shortcut_label_get_disabled_text
const gchar *
GtkShortcutLabel *self
gtk_shortcut_label_set_disabled_text
void
GtkShortcutLabel *self, const gchar *disabled_text
GtkShortcutLabel
GtkShortcutLabelClass
GTK_TYPE_SHORTCUTS_GROUP
#define GTK_TYPE_SHORTCUTS_GROUP (gtk_shortcuts_group_get_type ())
GTK_SHORTCUTS_GROUP
#define GTK_SHORTCUTS_GROUP(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_SHORTCUTS_GROUP, GtkShortcutsGroup))
GTK_IS_SHORTCUTS_GROUP
#define GTK_IS_SHORTCUTS_GROUP(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_SHORTCUTS_GROUP))
gtk_shortcuts_group_get_type
GType
void
GtkShortcutsGroup
GtkShortcutsGroupClass
GTK_TYPE_SHORTCUTS_SECTION
#define GTK_TYPE_SHORTCUTS_SECTION (gtk_shortcuts_section_get_type ())
GTK_SHORTCUTS_SECTION
#define GTK_SHORTCUTS_SECTION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_SHORTCUTS_SECTION, GtkShortcutsSection))
GTK_IS_SHORTCUTS_SECTION
#define GTK_IS_SHORTCUTS_SECTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_SHORTCUTS_SECTION))
gtk_shortcuts_section_get_type
GType
void
GtkShortcutsSection
GtkShortcutsSectionClass
GTK_TYPE_SHORTCUTS_SHORTCUT
#define GTK_TYPE_SHORTCUTS_SHORTCUT (gtk_shortcuts_shortcut_get_type())
GTK_SHORTCUTS_SHORTCUT
#define GTK_SHORTCUTS_SHORTCUT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_SHORTCUTS_SHORTCUT, GtkShortcutsShortcut))
GTK_IS_SHORTCUTS_SHORTCUT
#define GTK_IS_SHORTCUTS_SHORTCUT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_SHORTCUTS_SHORTCUT))
GtkShortcutType
typedef enum {
GTK_SHORTCUT_ACCELERATOR,
GTK_SHORTCUT_GESTURE_PINCH,
GTK_SHORTCUT_GESTURE_STRETCH,
GTK_SHORTCUT_GESTURE_ROTATE_CLOCKWISE,
GTK_SHORTCUT_GESTURE_ROTATE_COUNTERCLOCKWISE,
GTK_SHORTCUT_GESTURE_TWO_FINGER_SWIPE_LEFT,
GTK_SHORTCUT_GESTURE_TWO_FINGER_SWIPE_RIGHT,
GTK_SHORTCUT_GESTURE,
GTK_SHORTCUT_GESTURE_SWIPE_LEFT,
GTK_SHORTCUT_GESTURE_SWIPE_RIGHT
} GtkShortcutType;
gtk_shortcuts_shortcut_get_type
GType
void
GtkShortcutsShortcut
GtkShortcutsShortcutClass
GTK_TYPE_SHORTCUTS_WINDOW
#define GTK_TYPE_SHORTCUTS_WINDOW (gtk_shortcuts_window_get_type ())
GTK_SHORTCUTS_WINDOW
#define GTK_SHORTCUTS_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_SHORTCUTS_WINDOW, GtkShortcutsWindow))
GTK_IS_SHORTCUTS_WINDOW
#define GTK_IS_SHORTCUTS_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_SHORTCUTS_WINDOW))
GtkShortcutsWindow
struct _GtkShortcutsWindow
{
GtkWindow window;
};
gtk_shortcuts_window_get_type
GType
void
GtkShortcutsWindowClass
gtk_show_uri_on_window
gboolean
GtkWindow *parent, const char *uri, guint32 timestamp, GError **error
GTK_TYPE_SINGLE_SELECTION
#define GTK_TYPE_SINGLE_SELECTION (gtk_single_selection_get_type ())
gtk_single_selection_new
GtkSingleSelection *
GListModel *model
gtk_single_selection_get_model
GListModel *
GtkSingleSelection *self
gtk_single_selection_get_selected
guint
GtkSingleSelection *self
gtk_single_selection_set_selected
void
GtkSingleSelection *self, guint position
gtk_single_selection_get_selected_item
gpointer
GtkSingleSelection *self
gtk_single_selection_get_autoselect
gboolean
GtkSingleSelection *self
gtk_single_selection_set_autoselect
void
GtkSingleSelection *self, gboolean autoselect
gtk_single_selection_get_can_unselect
gboolean
GtkSingleSelection *self
gtk_single_selection_set_can_unselect
void
GtkSingleSelection *self, gboolean can_unselect
GtkSingleSelection
GTK_TYPE_SIZE_GROUP
#define GTK_TYPE_SIZE_GROUP (gtk_size_group_get_type ())
GTK_SIZE_GROUP
#define GTK_SIZE_GROUP(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_SIZE_GROUP, GtkSizeGroup))
GTK_IS_SIZE_GROUP
#define GTK_IS_SIZE_GROUP(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_SIZE_GROUP))
GtkSizeGroup
struct _GtkSizeGroup
{
GObject parent_instance;
};
gtk_size_group_get_type
GType
void
gtk_size_group_new
GtkSizeGroup *
GtkSizeGroupMode mode
gtk_size_group_set_mode
void
GtkSizeGroup *size_group, GtkSizeGroupMode mode
gtk_size_group_get_mode
GtkSizeGroupMode
GtkSizeGroup *size_group
gtk_size_group_add_widget
void
GtkSizeGroup *size_group, GtkWidget *widget
gtk_size_group_remove_widget
void
GtkSizeGroup *size_group, GtkWidget *widget
gtk_size_group_get_widgets
GSList *
GtkSizeGroup *size_group
GtkRequestedSize
struct _GtkRequestedSize
{
gpointer data;
gint minimum_size;
gint natural_size;
};
gtk_distribute_natural_allocation
gint
gint extra_space, guint n_requested_sizes, GtkRequestedSize *sizes
GTK_TYPE_SLICE_LIST_MODEL
#define GTK_TYPE_SLICE_LIST_MODEL (gtk_slice_list_model_get_type ())
gtk_slice_list_model_new
GtkSliceListModel *
GListModel *model, guint offset, guint size
gtk_slice_list_model_new_for_type
GtkSliceListModel *
GType item_type
gtk_slice_list_model_set_model
void
GtkSliceListModel *self, GListModel *model
gtk_slice_list_model_get_model
GListModel *
GtkSliceListModel *self
gtk_slice_list_model_set_offset
void
GtkSliceListModel *self, guint offset
gtk_slice_list_model_get_offset
guint
GtkSliceListModel *self
gtk_slice_list_model_set_size
void
GtkSliceListModel *self, guint size
gtk_slice_list_model_get_size
guint
GtkSliceListModel *self
GtkSliceListModel
GTK_TYPE_SNAPSHOT
#define GTK_TYPE_SNAPSHOT (gtk_snapshot_get_type ())
GTK_SNAPSHOT
#define GTK_SNAPSHOT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_SNAPSHOT, GtkSnapshot))
GTK_IS_SNAPSHOT
#define GTK_IS_SNAPSHOT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_SNAPSHOT))
gtk_snapshot_get_type
GType
void
gtk_snapshot_new
GtkSnapshot *
void
gtk_snapshot_free_to_node
GskRenderNode *
GtkSnapshot *snapshot
gtk_snapshot_free_to_paintable
GdkPaintable *
GtkSnapshot *snapshot, const graphene_size_t *size
gtk_snapshot_to_node
GskRenderNode *
GtkSnapshot *snapshot
gtk_snapshot_to_paintable
GdkPaintable *
GtkSnapshot *snapshot, const graphene_size_t *size
gtk_snapshot_push_debug
void
GtkSnapshot *snapshot, const char *message, ...
gtk_snapshot_push_opacity
void
GtkSnapshot *snapshot, double opacity
gtk_snapshot_push_blur
void
GtkSnapshot *snapshot, double radius
gtk_snapshot_push_color_matrix
void
GtkSnapshot *snapshot, const graphene_matrix_t*color_matrix, const graphene_vec4_t *color_offset
gtk_snapshot_push_repeat
void
GtkSnapshot *snapshot, const graphene_rect_t *bounds, const graphene_rect_t *child_bounds
gtk_snapshot_push_clip
void
GtkSnapshot *snapshot, const graphene_rect_t *bounds
gtk_snapshot_push_rounded_clip
void
GtkSnapshot *snapshot, const GskRoundedRect *bounds
gtk_snapshot_push_shadow
void
GtkSnapshot *snapshot, const GskShadow *shadow, gsize n_shadows
gtk_snapshot_push_blend
void
GtkSnapshot *snapshot, GskBlendMode blend_mode
gtk_snapshot_push_cross_fade
void
GtkSnapshot *snapshot, double progress
gtk_snapshot_pop
void
GtkSnapshot *snapshot
gtk_snapshot_save
void
GtkSnapshot *snapshot
gtk_snapshot_restore
void
GtkSnapshot *snapshot
gtk_snapshot_transform
void
GtkSnapshot *snapshot, GskTransform *transform
gtk_snapshot_transform_matrix
void
GtkSnapshot *snapshot, const graphene_matrix_t*matrix
gtk_snapshot_translate
void
GtkSnapshot *snapshot, const graphene_point_t *point
gtk_snapshot_translate_3d
void
GtkSnapshot *snapshot, const graphene_point3d_t*point
gtk_snapshot_rotate
void
GtkSnapshot *snapshot, float angle
gtk_snapshot_rotate_3d
void
GtkSnapshot *snapshot, float angle, const graphene_vec3_t *axis
gtk_snapshot_scale
void
GtkSnapshot *snapshot, float factor_x, float factor_y
gtk_snapshot_scale_3d
void
GtkSnapshot *snapshot, float factor_x, float factor_y, float factor_z
gtk_snapshot_perspective
void
GtkSnapshot *snapshot, float depth
gtk_snapshot_append_node
void
GtkSnapshot *snapshot, GskRenderNode *node
gtk_snapshot_append_cairo
cairo_t *
GtkSnapshot *snapshot, const graphene_rect_t *bounds
gtk_snapshot_append_texture
void
GtkSnapshot *snapshot, GdkTexture *texture, const graphene_rect_t *bounds
gtk_snapshot_append_color
void
GtkSnapshot *snapshot, const GdkRGBA *color, const graphene_rect_t *bounds
gtk_snapshot_append_linear_gradient
void
GtkSnapshot *snapshot, const graphene_rect_t *bounds, const graphene_point_t *start_point, const graphene_point_t *end_point, const GskColorStop *stops, gsize n_stops
gtk_snapshot_append_repeating_linear_gradient
void
GtkSnapshot *snapshot, const graphene_rect_t *bounds, const graphene_point_t *start_point, const graphene_point_t *end_point, const GskColorStop *stops, gsize n_stops
gtk_snapshot_append_border
void
GtkSnapshot *snapshot, const GskRoundedRect *outline, const float border_width[4], const GdkRGBA border_color[4]
gtk_snapshot_append_inset_shadow
void
GtkSnapshot *snapshot, const GskRoundedRect *outline, const GdkRGBA *color, float dx, float dy, float spread, float blur_radius
gtk_snapshot_append_outset_shadow
void
GtkSnapshot *snapshot, const GskRoundedRect *outline, const GdkRGBA *color, float dx, float dy, float spread, float blur_radius
gtk_snapshot_append_layout
void
GtkSnapshot *snapshot, PangoLayout *layout, const GdkRGBA *color
gtk_snapshot_render_background
void
GtkSnapshot *snapshot, GtkStyleContext *context, gdouble x, gdouble y, gdouble width, gdouble height
gtk_snapshot_render_frame
void
GtkSnapshot *snapshot, GtkStyleContext *context, gdouble x, gdouble y, gdouble width, gdouble height
gtk_snapshot_render_focus
void
GtkSnapshot *snapshot, GtkStyleContext *context, gdouble x, gdouble y, gdouble width, gdouble height
gtk_snapshot_render_layout
void
GtkSnapshot *snapshot, GtkStyleContext *context, gdouble x, gdouble y, PangoLayout *layout
gtk_snapshot_render_insertion_cursor
void
GtkSnapshot *snapshot, GtkStyleContext *context, gdouble x, gdouble y, PangoLayout *layout, int index, PangoDirection direction
GtkSnapshotClass
GTK_TYPE_SORT_LIST_MODEL
#define GTK_TYPE_SORT_LIST_MODEL (gtk_sort_list_model_get_type ())
gtk_sort_list_model_new
GtkSortListModel *
GListModel *model, GCompareDataFunc sort_func, gpointer user_data, GDestroyNotify user_destroy
gtk_sort_list_model_new_for_type
GtkSortListModel *
GType item_type
gtk_sort_list_model_set_sort_func
void
GtkSortListModel *self, GCompareDataFunc sort_func, gpointer user_data, GDestroyNotify user_destroy
gtk_sort_list_model_has_sort
gboolean
GtkSortListModel *self
gtk_sort_list_model_set_model
void
GtkSortListModel *self, GListModel *model
gtk_sort_list_model_get_model
GListModel *
GtkSortListModel *self
gtk_sort_list_model_resort
void
GtkSortListModel *self
GtkSortListModel
GTK_TYPE_SPIN_BUTTON
#define GTK_TYPE_SPIN_BUTTON (gtk_spin_button_get_type ())
GTK_SPIN_BUTTON
#define GTK_SPIN_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_SPIN_BUTTON, GtkSpinButton))
GTK_IS_SPIN_BUTTON
#define GTK_IS_SPIN_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_SPIN_BUTTON))
GTK_INPUT_ERROR
#define GTK_INPUT_ERROR -1
GtkSpinButtonUpdatePolicy
typedef enum
{
GTK_UPDATE_ALWAYS,
GTK_UPDATE_IF_VALID
} GtkSpinButtonUpdatePolicy;
GtkSpinType
typedef enum
{
GTK_SPIN_STEP_FORWARD,
GTK_SPIN_STEP_BACKWARD,
GTK_SPIN_PAGE_FORWARD,
GTK_SPIN_PAGE_BACKWARD,
GTK_SPIN_HOME,
GTK_SPIN_END,
GTK_SPIN_USER_DEFINED
} GtkSpinType;
gtk_spin_button_get_type
GType
void
gtk_spin_button_configure
void
GtkSpinButton *spin_button, GtkAdjustment *adjustment, gdouble climb_rate, guint digits
gtk_spin_button_new
GtkWidget *
GtkAdjustment *adjustment, gdouble climb_rate, guint digits
gtk_spin_button_new_with_range
GtkWidget *
gdouble min, gdouble max, gdouble step
gtk_spin_button_set_adjustment
void
GtkSpinButton *spin_button, GtkAdjustment *adjustment
gtk_spin_button_get_adjustment
GtkAdjustment *
GtkSpinButton *spin_button
gtk_spin_button_set_digits
void
GtkSpinButton *spin_button, guint digits
gtk_spin_button_get_digits
guint
GtkSpinButton *spin_button
gtk_spin_button_set_increments
void
GtkSpinButton *spin_button, gdouble step, gdouble page
gtk_spin_button_get_increments
void
GtkSpinButton *spin_button, gdouble *step, gdouble *page
gtk_spin_button_set_range
void
GtkSpinButton *spin_button, gdouble min, gdouble max
gtk_spin_button_get_range
void
GtkSpinButton *spin_button, gdouble *min, gdouble *max
gtk_spin_button_get_value
gdouble
GtkSpinButton *spin_button
gtk_spin_button_get_value_as_int
gint
GtkSpinButton *spin_button
gtk_spin_button_set_value
void
GtkSpinButton *spin_button, gdouble value
gtk_spin_button_set_update_policy
void
GtkSpinButton *spin_button, GtkSpinButtonUpdatePolicy policy
gtk_spin_button_get_update_policy
GtkSpinButtonUpdatePolicy
GtkSpinButton *spin_button
gtk_spin_button_set_numeric
void
GtkSpinButton *spin_button, gboolean numeric
gtk_spin_button_get_numeric
gboolean
GtkSpinButton *spin_button
gtk_spin_button_spin
void
GtkSpinButton *spin_button, GtkSpinType direction, gdouble increment
gtk_spin_button_set_wrap
void
GtkSpinButton *spin_button, gboolean wrap
gtk_spin_button_get_wrap
gboolean
GtkSpinButton *spin_button
gtk_spin_button_set_snap_to_ticks
void
GtkSpinButton *spin_button, gboolean snap_to_ticks
gtk_spin_button_get_snap_to_ticks
gboolean
GtkSpinButton *spin_button
gtk_spin_button_update
void
GtkSpinButton *spin_button
GtkSpinButton
GTK_TYPE_SPINNER
#define GTK_TYPE_SPINNER (gtk_spinner_get_type ())
GTK_SPINNER
#define GTK_SPINNER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_SPINNER, GtkSpinner))
GTK_IS_SPINNER
#define GTK_IS_SPINNER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_SPINNER))
gtk_spinner_get_type
GType
void
gtk_spinner_new
GtkWidget *
void
gtk_spinner_start
void
GtkSpinner *spinner
gtk_spinner_stop
void
GtkSpinner *spinner
GtkSpinner
GTK_TYPE_STACK
#define GTK_TYPE_STACK (gtk_stack_get_type ())
GTK_STACK
#define GTK_STACK(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_STACK, GtkStack))
GTK_IS_STACK
#define GTK_IS_STACK(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_STACK))
GTK_TYPE_STACK_PAGE
#define GTK_TYPE_STACK_PAGE (gtk_stack_page_get_type ())
GTK_STACK_PAGE
#define GTK_STACK_PAGE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_STACK_PAGE, GtkStackPage))
GTK_IS_STACK_PAGE
#define GTK_IS_STACK_PAGE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_STACK_PAGE))
GtkStackTransitionType
typedef enum {
GTK_STACK_TRANSITION_TYPE_NONE,
GTK_STACK_TRANSITION_TYPE_CROSSFADE,
GTK_STACK_TRANSITION_TYPE_SLIDE_RIGHT,
GTK_STACK_TRANSITION_TYPE_SLIDE_LEFT,
GTK_STACK_TRANSITION_TYPE_SLIDE_UP,
GTK_STACK_TRANSITION_TYPE_SLIDE_DOWN,
GTK_STACK_TRANSITION_TYPE_SLIDE_LEFT_RIGHT,
GTK_STACK_TRANSITION_TYPE_SLIDE_UP_DOWN,
GTK_STACK_TRANSITION_TYPE_OVER_UP,
GTK_STACK_TRANSITION_TYPE_OVER_DOWN,
GTK_STACK_TRANSITION_TYPE_OVER_LEFT,
GTK_STACK_TRANSITION_TYPE_OVER_RIGHT,
GTK_STACK_TRANSITION_TYPE_UNDER_UP,
GTK_STACK_TRANSITION_TYPE_UNDER_DOWN,
GTK_STACK_TRANSITION_TYPE_UNDER_LEFT,
GTK_STACK_TRANSITION_TYPE_UNDER_RIGHT,
GTK_STACK_TRANSITION_TYPE_OVER_UP_DOWN,
GTK_STACK_TRANSITION_TYPE_OVER_DOWN_UP,
GTK_STACK_TRANSITION_TYPE_OVER_LEFT_RIGHT,
GTK_STACK_TRANSITION_TYPE_OVER_RIGHT_LEFT,
GTK_STACK_TRANSITION_TYPE_ROTATE_LEFT,
GTK_STACK_TRANSITION_TYPE_ROTATE_RIGHT,
GTK_STACK_TRANSITION_TYPE_ROTATE_LEFT_RIGHT
} GtkStackTransitionType;
gtk_stack_page_get_type
GType
void
gtk_stack_get_type
GType
void
gtk_stack_new
GtkWidget *
void
gtk_stack_add_named
GtkStackPage *
GtkStack *stack, GtkWidget *child, const gchar *name
gtk_stack_add_titled
GtkStackPage *
GtkStack *stack, GtkWidget *child, const gchar *name, const gchar *title
gtk_stack_get_page
GtkStackPage *
GtkStack *stack, GtkWidget *child
gtk_stack_page_get_child
GtkWidget *
GtkStackPage *page
gtk_stack_get_child_by_name
GtkWidget *
GtkStack *stack, const gchar *name
gtk_stack_set_visible_child
void
GtkStack *stack, GtkWidget *child
gtk_stack_get_visible_child
GtkWidget *
GtkStack *stack
gtk_stack_set_visible_child_name
void
GtkStack *stack, const gchar *name
gtk_stack_get_visible_child_name
const gchar *
GtkStack *stack
gtk_stack_set_visible_child_full
void
GtkStack *stack, const gchar *name, GtkStackTransitionType transition
gtk_stack_set_homogeneous
void
GtkStack *stack, gboolean homogeneous
gtk_stack_get_homogeneous
gboolean
GtkStack *stack
gtk_stack_set_hhomogeneous
void
GtkStack *stack, gboolean hhomogeneous
gtk_stack_get_hhomogeneous
gboolean
GtkStack *stack
gtk_stack_set_vhomogeneous
void
GtkStack *stack, gboolean vhomogeneous
gtk_stack_get_vhomogeneous
gboolean
GtkStack *stack
gtk_stack_set_transition_duration
void
GtkStack *stack, guint duration
gtk_stack_get_transition_duration
guint
GtkStack *stack
gtk_stack_set_transition_type
void
GtkStack *stack, GtkStackTransitionType transition
gtk_stack_get_transition_type
GtkStackTransitionType
GtkStack *stack
gtk_stack_get_transition_running
gboolean
GtkStack *stack
gtk_stack_set_interpolate_size
void
GtkStack *stack, gboolean interpolate_size
gtk_stack_get_interpolate_size
gboolean
GtkStack *stack
gtk_stack_get_pages
GtkSelectionModel *
GtkStack *stack
GtkStack
GtkStackPage
GTK_TYPE_STACK_SIDEBAR
#define GTK_TYPE_STACK_SIDEBAR (gtk_stack_sidebar_get_type ())
GTK_STACK_SIDEBAR
#define GTK_STACK_SIDEBAR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_STACK_SIDEBAR, GtkStackSidebar))
GTK_IS_STACK_SIDEBAR
#define GTK_IS_STACK_SIDEBAR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_STACK_SIDEBAR))
gtk_stack_sidebar_get_type
GType
void
gtk_stack_sidebar_new
GtkWidget *
void
gtk_stack_sidebar_set_stack
void
GtkStackSidebar *self, GtkStack *stack
gtk_stack_sidebar_get_stack
GtkStack *
GtkStackSidebar *self
GtkStackSidebar
GTK_TYPE_STACK_SWITCHER
#define GTK_TYPE_STACK_SWITCHER (gtk_stack_switcher_get_type ())
GTK_STACK_SWITCHER
#define GTK_STACK_SWITCHER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_STACK_SWITCHER, GtkStackSwitcher))
GTK_IS_STACK_SWITCHER
#define GTK_IS_STACK_SWITCHER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_STACK_SWITCHER))
gtk_stack_switcher_get_type
GType
void
gtk_stack_switcher_new
GtkWidget *
void
gtk_stack_switcher_set_stack
void
GtkStackSwitcher *switcher, GtkStack *stack
gtk_stack_switcher_get_stack
GtkStack *
GtkStackSwitcher *switcher
GtkStackSwitcher
GTK_TYPE_STATUSBAR
#define GTK_TYPE_STATUSBAR (gtk_statusbar_get_type ())
GTK_STATUSBAR
#define GTK_STATUSBAR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_STATUSBAR, GtkStatusbar))
GTK_IS_STATUSBAR
#define GTK_IS_STATUSBAR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_STATUSBAR))
gtk_statusbar_get_type
GType
void
gtk_statusbar_new
GtkWidget *
void
gtk_statusbar_get_context_id
guint
GtkStatusbar *statusbar, const gchar *context_description
gtk_statusbar_push
guint
GtkStatusbar *statusbar, guint context_id, const gchar *text
gtk_statusbar_pop
void
GtkStatusbar *statusbar, guint context_id
gtk_statusbar_remove
void
GtkStatusbar *statusbar, guint context_id, guint message_id
gtk_statusbar_remove_all
void
GtkStatusbar *statusbar, guint context_id
gtk_statusbar_get_message_area
GtkWidget *
GtkStatusbar *statusbar
GtkStatusbar
GTK_TYPE_STYLE_CONTEXT
#define GTK_TYPE_STYLE_CONTEXT (gtk_style_context_get_type ())
GTK_STYLE_CONTEXT
#define GTK_STYLE_CONTEXT(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GTK_TYPE_STYLE_CONTEXT, GtkStyleContext))
GTK_STYLE_CONTEXT_CLASS
#define GTK_STYLE_CONTEXT_CLASS(c) (G_TYPE_CHECK_CLASS_CAST ((c), GTK_TYPE_STYLE_CONTEXT, GtkStyleContextClass))
GTK_IS_STYLE_CONTEXT
#define GTK_IS_STYLE_CONTEXT(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GTK_TYPE_STYLE_CONTEXT))
GTK_IS_STYLE_CONTEXT_CLASS
#define GTK_IS_STYLE_CONTEXT_CLASS(c) (G_TYPE_CHECK_CLASS_TYPE ((c), GTK_TYPE_STYLE_CONTEXT))
GTK_STYLE_CONTEXT_GET_CLASS
#define GTK_STYLE_CONTEXT_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GTK_TYPE_STYLE_CONTEXT, GtkStyleContextClass))
GtkStyleContext
struct _GtkStyleContext
{
GObject parent_object;
};
GtkStyleContextClass
struct _GtkStyleContextClass
{
GObjectClass parent_class;
void (* changed) (GtkStyleContext *context);
/* Padding for future expansion */
void (*_gtk_reserved1) (void);
void (*_gtk_reserved2) (void);
void (*_gtk_reserved3) (void);
void (*_gtk_reserved4) (void);
};
GTK_STYLE_CLASS_CELL
#define GTK_STYLE_CLASS_CELL "cell"
GTK_STYLE_CLASS_DIM_LABEL
#define GTK_STYLE_CLASS_DIM_LABEL "dim-label"
GTK_STYLE_CLASS_ENTRY
#define GTK_STYLE_CLASS_ENTRY "entry"
GTK_STYLE_CLASS_LABEL
#define GTK_STYLE_CLASS_LABEL "label"
GTK_STYLE_CLASS_COMBOBOX_ENTRY
#define GTK_STYLE_CLASS_COMBOBOX_ENTRY "combobox-entry"
GTK_STYLE_CLASS_BUTTON
#define GTK_STYLE_CLASS_BUTTON "button"
GTK_STYLE_CLASS_LIST
#define GTK_STYLE_CLASS_LIST "list"
GTK_STYLE_CLASS_LIST_ROW
#define GTK_STYLE_CLASS_LIST_ROW "list-row"
GTK_STYLE_CLASS_CALENDAR
#define GTK_STYLE_CLASS_CALENDAR "calendar"
GTK_STYLE_CLASS_SLIDER
#define GTK_STYLE_CLASS_SLIDER "slider"
GTK_STYLE_CLASS_BACKGROUND
#define GTK_STYLE_CLASS_BACKGROUND "background"
GTK_STYLE_CLASS_RUBBERBAND
#define GTK_STYLE_CLASS_RUBBERBAND "rubberband"
GTK_STYLE_CLASS_CSD
#define GTK_STYLE_CLASS_CSD "csd"
GTK_STYLE_CLASS_TOOLTIP
#define GTK_STYLE_CLASS_TOOLTIP "tooltip"
GTK_STYLE_CLASS_MENU
#define GTK_STYLE_CLASS_MENU "menu"
GTK_STYLE_CLASS_CONTEXT_MENU
#define GTK_STYLE_CLASS_CONTEXT_MENU "context-menu"
GTK_STYLE_CLASS_TOUCH_SELECTION
#define GTK_STYLE_CLASS_TOUCH_SELECTION "touch-selection"
GTK_STYLE_CLASS_MENUBAR
#define GTK_STYLE_CLASS_MENUBAR "menubar"
GTK_STYLE_CLASS_MENUITEM
#define GTK_STYLE_CLASS_MENUITEM "menuitem"
GTK_STYLE_CLASS_TOOLBAR
#define GTK_STYLE_CLASS_TOOLBAR "toolbar"
GTK_STYLE_CLASS_STATUSBAR
#define GTK_STYLE_CLASS_STATUSBAR "statusbar"
GTK_STYLE_CLASS_RADIO
#define GTK_STYLE_CLASS_RADIO "radio"
GTK_STYLE_CLASS_CHECK
#define GTK_STYLE_CLASS_CHECK "check"
GTK_STYLE_CLASS_DEFAULT
#define GTK_STYLE_CLASS_DEFAULT "default"
GTK_STYLE_CLASS_TROUGH
#define GTK_STYLE_CLASS_TROUGH "trough"
GTK_STYLE_CLASS_SCROLLBAR
#define GTK_STYLE_CLASS_SCROLLBAR "scrollbar"
GTK_STYLE_CLASS_SCROLLBARS_JUNCTION
#define GTK_STYLE_CLASS_SCROLLBARS_JUNCTION "scrollbars-junction"
GTK_STYLE_CLASS_SCALE
#define GTK_STYLE_CLASS_SCALE "scale"
GTK_STYLE_CLASS_SCALE_HAS_MARKS_ABOVE
#define GTK_STYLE_CLASS_SCALE_HAS_MARKS_ABOVE "scale-has-marks-above"
GTK_STYLE_CLASS_SCALE_HAS_MARKS_BELOW
#define GTK_STYLE_CLASS_SCALE_HAS_MARKS_BELOW "scale-has-marks-below"
GTK_STYLE_CLASS_HEADER
#define GTK_STYLE_CLASS_HEADER "header"
GTK_STYLE_CLASS_ACCELERATOR
#define GTK_STYLE_CLASS_ACCELERATOR "accelerator"
GTK_STYLE_CLASS_RAISED
#define GTK_STYLE_CLASS_RAISED "raised"
GTK_STYLE_CLASS_LINKED
#define GTK_STYLE_CLASS_LINKED "linked"
GTK_STYLE_CLASS_DOCK
#define GTK_STYLE_CLASS_DOCK "dock"
GTK_STYLE_CLASS_PROGRESSBAR
#define GTK_STYLE_CLASS_PROGRESSBAR "progressbar"
GTK_STYLE_CLASS_SPINNER
#define GTK_STYLE_CLASS_SPINNER "spinner"
GTK_STYLE_CLASS_MARK
#define GTK_STYLE_CLASS_MARK "mark"
GTK_STYLE_CLASS_EXPANDER
#define GTK_STYLE_CLASS_EXPANDER "expander"
GTK_STYLE_CLASS_SPINBUTTON
#define GTK_STYLE_CLASS_SPINBUTTON "spinbutton"
GTK_STYLE_CLASS_NOTEBOOK
#define GTK_STYLE_CLASS_NOTEBOOK "notebook"
GTK_STYLE_CLASS_VIEW
#define GTK_STYLE_CLASS_VIEW "view"
GTK_STYLE_CLASS_SIDEBAR
#define GTK_STYLE_CLASS_SIDEBAR "sidebar"
GTK_STYLE_CLASS_IMAGE
#define GTK_STYLE_CLASS_IMAGE "image"
GTK_STYLE_CLASS_HIGHLIGHT
#define GTK_STYLE_CLASS_HIGHLIGHT "highlight"
GTK_STYLE_CLASS_FRAME
#define GTK_STYLE_CLASS_FRAME "frame"
GTK_STYLE_CLASS_DND
#define GTK_STYLE_CLASS_DND "dnd"
GTK_STYLE_CLASS_PANE_SEPARATOR
#define GTK_STYLE_CLASS_PANE_SEPARATOR "pane-separator"
GTK_STYLE_CLASS_SEPARATOR
#define GTK_STYLE_CLASS_SEPARATOR "separator"
GTK_STYLE_CLASS_INFO
#define GTK_STYLE_CLASS_INFO "info"
GTK_STYLE_CLASS_WARNING
#define GTK_STYLE_CLASS_WARNING "warning"
GTK_STYLE_CLASS_QUESTION
#define GTK_STYLE_CLASS_QUESTION "question"
GTK_STYLE_CLASS_ERROR
#define GTK_STYLE_CLASS_ERROR "error"
GTK_STYLE_CLASS_HORIZONTAL
#define GTK_STYLE_CLASS_HORIZONTAL "horizontal"
GTK_STYLE_CLASS_VERTICAL
#define GTK_STYLE_CLASS_VERTICAL "vertical"
GTK_STYLE_CLASS_TOP
#define GTK_STYLE_CLASS_TOP "top"
GTK_STYLE_CLASS_BOTTOM
#define GTK_STYLE_CLASS_BOTTOM "bottom"
GTK_STYLE_CLASS_LEFT
#define GTK_STYLE_CLASS_LEFT "left"
GTK_STYLE_CLASS_RIGHT
#define GTK_STYLE_CLASS_RIGHT "right"
GTK_STYLE_CLASS_PULSE
#define GTK_STYLE_CLASS_PULSE "pulse"
GTK_STYLE_CLASS_ARROW
#define GTK_STYLE_CLASS_ARROW "arrow"
GTK_STYLE_CLASS_OSD
#define GTK_STYLE_CLASS_OSD "osd"
GTK_STYLE_CLASS_LEVEL_BAR
#define GTK_STYLE_CLASS_LEVEL_BAR "level-bar"
GTK_STYLE_CLASS_CURSOR_HANDLE
#define GTK_STYLE_CLASS_CURSOR_HANDLE "cursor-handle"
GTK_STYLE_CLASS_INSERTION_CURSOR
#define GTK_STYLE_CLASS_INSERTION_CURSOR "insertion-cursor"
GTK_STYLE_CLASS_TITLEBAR
#define GTK_STYLE_CLASS_TITLEBAR "titlebar"
GTK_STYLE_CLASS_TITLE
#define GTK_STYLE_CLASS_TITLE "title"
GTK_STYLE_CLASS_SUBTITLE
#define GTK_STYLE_CLASS_SUBTITLE "subtitle"
GTK_STYLE_CLASS_NEEDS_ATTENTION
#define GTK_STYLE_CLASS_NEEDS_ATTENTION "needs-attention"
GTK_STYLE_CLASS_SUGGESTED_ACTION
#define GTK_STYLE_CLASS_SUGGESTED_ACTION "suggested-action"
GTK_STYLE_CLASS_DESTRUCTIVE_ACTION
#define GTK_STYLE_CLASS_DESTRUCTIVE_ACTION "destructive-action"
GTK_STYLE_CLASS_POPOVER
#define GTK_STYLE_CLASS_POPOVER "popover"
GTK_STYLE_CLASS_POPUP
#define GTK_STYLE_CLASS_POPUP "popup"
GTK_STYLE_CLASS_MESSAGE_DIALOG
#define GTK_STYLE_CLASS_MESSAGE_DIALOG "message-dialog"
GTK_STYLE_CLASS_FLAT
#define GTK_STYLE_CLASS_FLAT "flat"
GTK_STYLE_CLASS_READ_ONLY
#define GTK_STYLE_CLASS_READ_ONLY "read-only"
GTK_STYLE_CLASS_OVERSHOOT
#define GTK_STYLE_CLASS_OVERSHOOT "overshoot"
GTK_STYLE_CLASS_UNDERSHOOT
#define GTK_STYLE_CLASS_UNDERSHOOT "undershoot"
GTK_STYLE_CLASS_PAPER
#define GTK_STYLE_CLASS_PAPER "paper"
GTK_STYLE_CLASS_MONOSPACE
#define GTK_STYLE_CLASS_MONOSPACE "monospace"
GTK_STYLE_CLASS_WIDE
#define GTK_STYLE_CLASS_WIDE "wide"
gtk_style_context_get_type
GType
void
gtk_style_context_add_provider_for_display
void
GdkDisplay *display, GtkStyleProvider *provider, guint priority
gtk_style_context_remove_provider_for_display
void
GdkDisplay *display, GtkStyleProvider *provider
gtk_style_context_add_provider
void
GtkStyleContext *context, GtkStyleProvider *provider, guint priority
gtk_style_context_remove_provider
void
GtkStyleContext *context, GtkStyleProvider *provider
gtk_style_context_save
void
GtkStyleContext *context
gtk_style_context_restore
void
GtkStyleContext *context
gtk_style_context_set_state
void
GtkStyleContext *context, GtkStateFlags flags
gtk_style_context_get_state
GtkStateFlags
GtkStyleContext *context
gtk_style_context_set_scale
void
GtkStyleContext *context, gint scale
gtk_style_context_get_scale
gint
GtkStyleContext *context
gtk_style_context_get_parent
GtkStyleContext *
GtkStyleContext *context
gtk_style_context_list_classes
GList *
GtkStyleContext *context
gtk_style_context_add_class
void
GtkStyleContext *context, const gchar *class_name
gtk_style_context_remove_class
void
GtkStyleContext *context, const gchar *class_name
gtk_style_context_has_class
gboolean
GtkStyleContext *context, const gchar *class_name
gtk_style_context_set_display
void
GtkStyleContext *context, GdkDisplay *display
gtk_style_context_get_display
GdkDisplay *
GtkStyleContext *context
gtk_style_context_lookup_color
gboolean
GtkStyleContext *context, const gchar *color_name, GdkRGBA *color
gtk_style_context_get_color
void
GtkStyleContext *context, GdkRGBA *color
gtk_style_context_get_border
void
GtkStyleContext *context, GtkBorder *border
gtk_style_context_get_padding
void
GtkStyleContext *context, GtkBorder *padding
gtk_style_context_get_margin
void
GtkStyleContext *context, GtkBorder *margin
gtk_style_context_reset_widgets
void
GdkDisplay *display
gtk_render_insertion_cursor
void
GtkStyleContext *context, cairo_t *cr, gdouble x, gdouble y, PangoLayout *layout, int index, PangoDirection direction
GtkStyleContextPrintFlags
typedef enum {
GTK_STYLE_CONTEXT_PRINT_NONE = 0,
GTK_STYLE_CONTEXT_PRINT_RECURSE = 1 << 0,
GTK_STYLE_CONTEXT_PRINT_SHOW_STYLE = 1 << 1,
GTK_STYLE_CONTEXT_PRINT_SHOW_CHANGE = 1 << 2
} GtkStyleContextPrintFlags;
gtk_style_context_to_string
char *
GtkStyleContext *context, GtkStyleContextPrintFlags flags
GTK_TYPE_STYLE_PROVIDER
#define GTK_TYPE_STYLE_PROVIDER (gtk_style_provider_get_type ())
GTK_STYLE_PROVIDER
#define GTK_STYLE_PROVIDER(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GTK_TYPE_STYLE_PROVIDER, GtkStyleProvider))
GTK_IS_STYLE_PROVIDER
#define GTK_IS_STYLE_PROVIDER(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GTK_TYPE_STYLE_PROVIDER))
GTK_STYLE_PROVIDER_PRIORITY_FALLBACK
#define GTK_STYLE_PROVIDER_PRIORITY_FALLBACK 1
GTK_STYLE_PROVIDER_PRIORITY_THEME
#define GTK_STYLE_PROVIDER_PRIORITY_THEME 200
GTK_STYLE_PROVIDER_PRIORITY_SETTINGS
#define GTK_STYLE_PROVIDER_PRIORITY_SETTINGS 400
GTK_STYLE_PROVIDER_PRIORITY_APPLICATION
#define GTK_STYLE_PROVIDER_PRIORITY_APPLICATION 600
GTK_STYLE_PROVIDER_PRIORITY_USER
#define GTK_STYLE_PROVIDER_PRIORITY_USER 800
gtk_style_provider_get_type
GType
void
GtkStyleProvider
GTK_TYPE_SWITCH
#define GTK_TYPE_SWITCH (gtk_switch_get_type ())
GTK_SWITCH
#define GTK_SWITCH(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_SWITCH, GtkSwitch))
GTK_IS_SWITCH
#define GTK_IS_SWITCH(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_SWITCH))
gtk_switch_get_type
GType
void
gtk_switch_new
GtkWidget *
void
gtk_switch_set_active
void
GtkSwitch *self, gboolean is_active
gtk_switch_get_active
gboolean
GtkSwitch *self
gtk_switch_set_state
void
GtkSwitch *self, gboolean state
gtk_switch_get_state
gboolean
GtkSwitch *self
GtkSwitch
gtk_test_init
void
int *argcp, char ***argvp, ...
gtk_test_register_all_types
void
void
gtk_test_list_all_types
const GType *
guint *n_types
gtk_test_widget_wait_for_draw
void
GtkWidget *widget
GTK_TYPE_TEXT
#define GTK_TYPE_TEXT (gtk_text_get_type ())
GTK_TEXT
#define GTK_TEXT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_TEXT, GtkText))
GTK_IS_TEXT
#define GTK_IS_TEXT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_TEXT))
GtkText
struct _GtkText
{
/*< private >*/
GtkWidget parent_instance;
};
gtk_text_get_type
GType
void
gtk_text_new
GtkWidget *
void
gtk_text_new_with_buffer
GtkWidget *
GtkEntryBuffer *buffer
gtk_text_get_buffer
GtkEntryBuffer *
GtkText *self
gtk_text_set_buffer
void
GtkText *self, GtkEntryBuffer *buffer
gtk_text_set_visibility
void
GtkText *self, gboolean visible
gtk_text_get_visibility
gboolean
GtkText *self
gtk_text_set_invisible_char
void
GtkText *self, gunichar ch
gtk_text_get_invisible_char
gunichar
GtkText *self
gtk_text_unset_invisible_char
void
GtkText *self
gtk_text_set_overwrite_mode
void
GtkText *self, gboolean overwrite
gtk_text_get_overwrite_mode
gboolean
GtkText *self
gtk_text_set_max_length
void
GtkText *self, int length
gtk_text_get_max_length
gint
GtkText *self
gtk_text_get_text_length
guint16
GtkText *self
gtk_text_set_activates_default
void
GtkText *self, gboolean activates
gtk_text_get_activates_default
gboolean
GtkText *self
gtk_text_get_placeholder_text
const char *
GtkText *self
gtk_text_set_placeholder_text
void
GtkText *self, const char *text
gtk_text_set_input_purpose
void
GtkText *self, GtkInputPurpose purpose
gtk_text_get_input_purpose
GtkInputPurpose
GtkText *self
gtk_text_set_input_hints
void
GtkText *self, GtkInputHints hints
gtk_text_get_input_hints
GtkInputHints
GtkText *self
gtk_text_set_attributes
void
GtkText *self, PangoAttrList *attrs
gtk_text_get_attributes
PangoAttrList *
GtkText *self
gtk_text_set_tabs
void
GtkText *self, PangoTabArray *tabs
gtk_text_get_tabs
PangoTabArray *
GtkText *self
gtk_text_grab_focus_without_selecting
gboolean
GtkText *self
gtk_text_set_extra_menu
void
GtkText *self, GMenuModel *model
gtk_text_get_extra_menu
GMenuModel *
GtkText *self
GTK_TYPE_TEXT_ATTRIBUTES
#define GTK_TYPE_TEXT_ATTRIBUTES (gtk_text_attributes_get_type ())
GtkTextAppearance
struct _GtkTextAppearance
{
GdkRGBA *bg_rgba;
GdkRGBA *fg_rgba;
GdkRGBA *underline_rgba;
GdkRGBA *strikethrough_rgba;
/* super/subscript rise, can be negative */
gint rise;
guint underline : 4; /* PangoUnderline */
guint strikethrough : 1;
/* Whether to use background-related values; this is irrelevant for
* the values struct when in a tag, but is used for the composite
* values struct; it's true if any of the tags being composited
* had background stuff set.
*/
guint draw_bg : 1;
/* These are only used when we are actually laying out and rendering
* a paragraph; not when a GtkTextAppearance is part of a
* GtkTextAttributes.
*/
guint inside_selection : 1;
guint is_text : 1;
};
GtkTextAttributes
struct _GtkTextAttributes
{
guint refcount;
GtkTextAppearance appearance;
GtkJustification justification;
GtkTextDirection direction;
PangoFontDescription *font;
gdouble font_scale;
gint left_margin;
gint right_margin;
gint indent;
gint pixels_above_lines;
gint pixels_below_lines;
gint pixels_inside_wrap;
PangoTabArray *tabs;
GtkWrapMode wrap_mode;
PangoLanguage *language;
guint invisible : 1;
guint bg_full_height : 1;
guint editable : 1;
guint no_fallback: 1;
GdkRGBA *pg_bg_rgba;
gint letter_spacing;
gchar *font_features;
};
gtk_text_attributes_new
GtkTextAttributes *
void
gtk_text_attributes_copy
GtkTextAttributes *
GtkTextAttributes *src
gtk_text_attributes_copy_values
void
GtkTextAttributes *src, GtkTextAttributes *dest
gtk_text_attributes_unref
void
GtkTextAttributes *values
gtk_text_attributes_ref
GtkTextAttributes *
GtkTextAttributes *values
gtk_text_attributes_get_type
GType
void
DEBUG_VALIDATION_AND_SCROLLING
#define DEBUG_VALIDATION_AND_SCROLLING
DV
#define DV(x) (x)
GtkTextLineData
struct _GtkTextLineData {
gpointer view_id;
GtkTextLineData *next;
gint height;
gint top_ink : 16;
gint bottom_ink : 16;
signed int width : 24;
guint valid : 8; /* Actually a boolean */
};
GtkTextLine
struct _GtkTextLine {
GtkTextBTreeNode *parent; /* Pointer to parent node containing
* line. */
GtkTextLine *next; /* Next in linked list of lines with
* same parent node in B-tree. NULL
* means end of list. */
GtkTextLineSegment *segments; /* First in ordered list of segments
* that make up the line. */
GtkTextLineData *views; /* data stored here by views */
guchar dir_strong; /* BiDi algo dir of line */
guchar dir_propagated_back; /* BiDi algo dir of next line */
guchar dir_propagated_forward; /* BiDi algo dir of prev line */
};
GtkTextBufferTargetInfo
typedef enum
{
GTK_TEXT_BUFFER_TARGET_INFO_BUFFER_CONTENTS = - 1,
GTK_TEXT_BUFFER_TARGET_INFO_RICH_TEXT = - 2,
GTK_TEXT_BUFFER_TARGET_INFO_TEXT = - 3
} GtkTextBufferTargetInfo;
GTK_TYPE_TEXT_BUFFER
#define GTK_TYPE_TEXT_BUFFER (gtk_text_buffer_get_type ())
GTK_TEXT_BUFFER
#define GTK_TEXT_BUFFER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_TEXT_BUFFER, GtkTextBuffer))
GTK_TEXT_BUFFER_CLASS
#define GTK_TEXT_BUFFER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_TEXT_BUFFER, GtkTextBufferClass))
GTK_IS_TEXT_BUFFER
#define GTK_IS_TEXT_BUFFER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_TEXT_BUFFER))
GTK_IS_TEXT_BUFFER_CLASS
#define GTK_IS_TEXT_BUFFER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_TEXT_BUFFER))
GTK_TEXT_BUFFER_GET_CLASS
#define GTK_TEXT_BUFFER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_TEXT_BUFFER, GtkTextBufferClass))
GtkTextBuffer
struct _GtkTextBuffer
{
GObject parent_instance;
GtkTextBufferPrivate *priv;
};
GtkTextBufferClass
struct _GtkTextBufferClass
{
GObjectClass parent_class;
void (* insert_text) (GtkTextBuffer *buffer,
GtkTextIter *pos,
const gchar *new_text,
gint new_text_length);
void (* insert_texture) (GtkTextBuffer *buffer,
GtkTextIter *iter,
GdkTexture *texture);
void (* insert_child_anchor) (GtkTextBuffer *buffer,
GtkTextIter *iter,
GtkTextChildAnchor *anchor);
void (* delete_range) (GtkTextBuffer *buffer,
GtkTextIter *start,
GtkTextIter *end);
void (* changed) (GtkTextBuffer *buffer);
void (* modified_changed) (GtkTextBuffer *buffer);
void (* mark_set) (GtkTextBuffer *buffer,
const GtkTextIter *location,
GtkTextMark *mark);
void (* mark_deleted) (GtkTextBuffer *buffer,
GtkTextMark *mark);
void (* apply_tag) (GtkTextBuffer *buffer,
GtkTextTag *tag,
const GtkTextIter *start,
const GtkTextIter *end);
void (* remove_tag) (GtkTextBuffer *buffer,
GtkTextTag *tag,
const GtkTextIter *start,
const GtkTextIter *end);
void (* begin_user_action) (GtkTextBuffer *buffer);
void (* end_user_action) (GtkTextBuffer *buffer);
void (* paste_done) (GtkTextBuffer *buffer,
GdkClipboard *clipboard);
void (* undo) (GtkTextBuffer *buffer);
void (* redo) (GtkTextBuffer *buffer);
/*< private >*/
/* Padding for future expansion */
void (*_gtk_reserved1) (void);
void (*_gtk_reserved2) (void);
void (*_gtk_reserved3) (void);
void (*_gtk_reserved4) (void);
};
gtk_text_buffer_get_type
GType
void
gtk_text_buffer_new
GtkTextBuffer *
GtkTextTagTable *table
gtk_text_buffer_get_line_count
gint
GtkTextBuffer *buffer
gtk_text_buffer_get_char_count
gint
GtkTextBuffer *buffer
gtk_text_buffer_get_tag_table
GtkTextTagTable *
GtkTextBuffer *buffer
gtk_text_buffer_set_text
void
GtkTextBuffer *buffer, const gchar *text, gint len
gtk_text_buffer_insert
void
GtkTextBuffer *buffer, GtkTextIter *iter, const gchar *text, gint len
gtk_text_buffer_insert_at_cursor
void
GtkTextBuffer *buffer, const gchar *text, gint len
gtk_text_buffer_insert_interactive
gboolean
GtkTextBuffer *buffer, GtkTextIter *iter, const gchar *text, gint len, gboolean default_editable
gtk_text_buffer_insert_interactive_at_cursor
gboolean
GtkTextBuffer *buffer, const gchar *text, gint len, gboolean default_editable
gtk_text_buffer_insert_range
void
GtkTextBuffer *buffer, GtkTextIter *iter, const GtkTextIter *start, const GtkTextIter *end
gtk_text_buffer_insert_range_interactive
gboolean
GtkTextBuffer *buffer, GtkTextIter *iter, const GtkTextIter *start, const GtkTextIter *end, gboolean default_editable
gtk_text_buffer_insert_with_tags
void
GtkTextBuffer *buffer, GtkTextIter *iter, const gchar *text, gint len, GtkTextTag *first_tag, ...
gtk_text_buffer_insert_with_tags_by_name
void
GtkTextBuffer *buffer, GtkTextIter *iter, const gchar *text, gint len, const gchar *first_tag_name, ...
gtk_text_buffer_insert_markup
void
GtkTextBuffer *buffer, GtkTextIter *iter, const gchar *markup, gint len
gtk_text_buffer_delete
void
GtkTextBuffer *buffer, GtkTextIter *start, GtkTextIter *end
gtk_text_buffer_delete_interactive
gboolean
GtkTextBuffer *buffer, GtkTextIter *start_iter, GtkTextIter *end_iter, gboolean default_editable
gtk_text_buffer_backspace
gboolean
GtkTextBuffer *buffer, GtkTextIter *iter, gboolean interactive, gboolean default_editable
gtk_text_buffer_get_text
gchar *
GtkTextBuffer *buffer, const GtkTextIter *start, const GtkTextIter *end, gboolean include_hidden_chars
gtk_text_buffer_get_slice
gchar *
GtkTextBuffer *buffer, const GtkTextIter *start, const GtkTextIter *end, gboolean include_hidden_chars
gtk_text_buffer_insert_texture
void
GtkTextBuffer *buffer, GtkTextIter *iter, GdkTexture *texture
gtk_text_buffer_insert_child_anchor
void
GtkTextBuffer *buffer, GtkTextIter *iter, GtkTextChildAnchor *anchor
gtk_text_buffer_create_child_anchor
GtkTextChildAnchor *
GtkTextBuffer *buffer, GtkTextIter *iter
gtk_text_buffer_add_mark
void
GtkTextBuffer *buffer, GtkTextMark *mark, const GtkTextIter *where
gtk_text_buffer_create_mark
GtkTextMark *
GtkTextBuffer *buffer, const gchar *mark_name, const GtkTextIter *where, gboolean left_gravity
gtk_text_buffer_move_mark
void
GtkTextBuffer *buffer, GtkTextMark *mark, const GtkTextIter *where
gtk_text_buffer_delete_mark
void
GtkTextBuffer *buffer, GtkTextMark *mark
gtk_text_buffer_get_mark
GtkTextMark *
GtkTextBuffer *buffer, const gchar *name
gtk_text_buffer_move_mark_by_name
void
GtkTextBuffer *buffer, const gchar *name, const GtkTextIter *where
gtk_text_buffer_delete_mark_by_name
void
GtkTextBuffer *buffer, const gchar *name
gtk_text_buffer_get_insert
GtkTextMark *
GtkTextBuffer *buffer
gtk_text_buffer_get_selection_bound
GtkTextMark *
GtkTextBuffer *buffer
gtk_text_buffer_place_cursor
void
GtkTextBuffer *buffer, const GtkTextIter *where
gtk_text_buffer_select_range
void
GtkTextBuffer *buffer, const GtkTextIter *ins, const GtkTextIter *bound
gtk_text_buffer_apply_tag
void
GtkTextBuffer *buffer, GtkTextTag *tag, const GtkTextIter *start, const GtkTextIter *end
gtk_text_buffer_remove_tag
void
GtkTextBuffer *buffer, GtkTextTag *tag, const GtkTextIter *start, const GtkTextIter *end
gtk_text_buffer_apply_tag_by_name
void
GtkTextBuffer *buffer, const gchar *name, const GtkTextIter *start, const GtkTextIter *end
gtk_text_buffer_remove_tag_by_name
void
GtkTextBuffer *buffer, const gchar *name, const GtkTextIter *start, const GtkTextIter *end
gtk_text_buffer_remove_all_tags
void
GtkTextBuffer *buffer, const GtkTextIter *start, const GtkTextIter *end
gtk_text_buffer_create_tag
GtkTextTag *
GtkTextBuffer *buffer, const gchar *tag_name, const gchar *first_property_name, ...
gtk_text_buffer_get_iter_at_line_offset
void
GtkTextBuffer *buffer, GtkTextIter *iter, gint line_number, gint char_offset
gtk_text_buffer_get_iter_at_line_index
void
GtkTextBuffer *buffer, GtkTextIter *iter, gint line_number, gint byte_index
gtk_text_buffer_get_iter_at_offset
void
GtkTextBuffer *buffer, GtkTextIter *iter, gint char_offset
gtk_text_buffer_get_iter_at_line
void
GtkTextBuffer *buffer, GtkTextIter *iter, gint line_number
gtk_text_buffer_get_start_iter
void
GtkTextBuffer *buffer, GtkTextIter *iter
gtk_text_buffer_get_end_iter
void
GtkTextBuffer *buffer, GtkTextIter *iter
gtk_text_buffer_get_bounds
void
GtkTextBuffer *buffer, GtkTextIter *start, GtkTextIter *end
gtk_text_buffer_get_iter_at_mark
void
GtkTextBuffer *buffer, GtkTextIter *iter, GtkTextMark *mark
gtk_text_buffer_get_iter_at_child_anchor
void
GtkTextBuffer *buffer, GtkTextIter *iter, GtkTextChildAnchor *anchor
gtk_text_buffer_get_modified
gboolean
GtkTextBuffer *buffer
gtk_text_buffer_set_modified
void
GtkTextBuffer *buffer, gboolean setting
gtk_text_buffer_get_has_selection
gboolean
GtkTextBuffer *buffer
gtk_text_buffer_add_selection_clipboard
void
GtkTextBuffer *buffer, GdkClipboard *clipboard
gtk_text_buffer_remove_selection_clipboard
void
GtkTextBuffer *buffer, GdkClipboard *clipboard
gtk_text_buffer_cut_clipboard
void
GtkTextBuffer *buffer, GdkClipboard *clipboard, gboolean default_editable
gtk_text_buffer_copy_clipboard
void
GtkTextBuffer *buffer, GdkClipboard *clipboard
gtk_text_buffer_paste_clipboard
void
GtkTextBuffer *buffer, GdkClipboard *clipboard, GtkTextIter *override_location, gboolean default_editable
gtk_text_buffer_get_selection_bounds
gboolean
GtkTextBuffer *buffer, GtkTextIter *start, GtkTextIter *end
gtk_text_buffer_delete_selection
gboolean
GtkTextBuffer *buffer, gboolean interactive, gboolean default_editable
gtk_text_buffer_get_selection_content
GdkContentProvider *
GtkTextBuffer *buffer
gtk_text_buffer_get_can_undo
gboolean
GtkTextBuffer *buffer
gtk_text_buffer_get_can_redo
gboolean
GtkTextBuffer *buffer
gtk_text_buffer_get_enable_undo
gboolean
GtkTextBuffer *buffer
gtk_text_buffer_set_enable_undo
void
GtkTextBuffer *buffer, gboolean enable_undo
gtk_text_buffer_get_max_undo_levels
guint
GtkTextBuffer *buffer
gtk_text_buffer_set_max_undo_levels
void
GtkTextBuffer *buffer, guint max_undo_levels
gtk_text_buffer_undo
void
GtkTextBuffer *buffer
gtk_text_buffer_redo
void
GtkTextBuffer *buffer
gtk_text_buffer_begin_irreversible_action
void
GtkTextBuffer *buffer
gtk_text_buffer_end_irreversible_action
void
GtkTextBuffer *buffer
gtk_text_buffer_begin_user_action
void
GtkTextBuffer *buffer
gtk_text_buffer_end_user_action
void
GtkTextBuffer *buffer
GtkTextBTree
GtkTextBufferPrivate
GTK_TYPE_TEXT_CHILD_ANCHOR
#define GTK_TYPE_TEXT_CHILD_ANCHOR (gtk_text_child_anchor_get_type ())
GTK_TEXT_CHILD_ANCHOR
#define GTK_TEXT_CHILD_ANCHOR(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), GTK_TYPE_TEXT_CHILD_ANCHOR, GtkTextChildAnchor))
GTK_TEXT_CHILD_ANCHOR_CLASS
#define GTK_TEXT_CHILD_ANCHOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_TEXT_CHILD_ANCHOR, GtkTextChildAnchorClass))
GTK_IS_TEXT_CHILD_ANCHOR
#define GTK_IS_TEXT_CHILD_ANCHOR(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), GTK_TYPE_TEXT_CHILD_ANCHOR))
GTK_IS_TEXT_CHILD_ANCHOR_CLASS
#define GTK_IS_TEXT_CHILD_ANCHOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_TEXT_CHILD_ANCHOR))
GTK_TEXT_CHILD_ANCHOR_GET_CLASS
#define GTK_TEXT_CHILD_ANCHOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_TEXT_CHILD_ANCHOR, GtkTextChildAnchorClass))
GtkTextChildAnchor
struct _GtkTextChildAnchor
{
GObject parent_instance;
/*< private >*/
gpointer segment;
};
GtkTextChildAnchorClass
struct _GtkTextChildAnchorClass
{
GObjectClass parent_class;
/* Padding for future expansion */
void (*_gtk_reserved1) (void);
void (*_gtk_reserved2) (void);
void (*_gtk_reserved3) (void);
void (*_gtk_reserved4) (void);
};
gtk_text_child_anchor_get_type
GType
void
gtk_text_child_anchor_new
GtkTextChildAnchor *
void
gtk_text_child_anchor_get_widgets
GList *
GtkTextChildAnchor *anchor
gtk_text_child_anchor_get_deleted
gboolean
GtkTextChildAnchor *anchor
GtkTextSearchFlags
typedef enum {
GTK_TEXT_SEARCH_VISIBLE_ONLY = 1 << 0,
GTK_TEXT_SEARCH_TEXT_ONLY = 1 << 1,
GTK_TEXT_SEARCH_CASE_INSENSITIVE = 1 << 2
/* Possible future plans: SEARCH_REGEXP */
} GtkTextSearchFlags;
GTK_TYPE_TEXT_ITER
#define GTK_TYPE_TEXT_ITER (gtk_text_iter_get_type ())
GtkTextIter
struct _GtkTextIter {
/* GtkTextIter is an opaque datatype; ignore all these fields.
* Initialize the iter with gtk_text_buffer_get_iter_*
* functions
*/
/*< private >*/
gpointer dummy1;
gpointer dummy2;
gint dummy3;
gint dummy4;
gint dummy5;
gint dummy6;
gint dummy7;
gint dummy8;
gpointer dummy9;
gpointer dummy10;
gint dummy11;
gint dummy12;
/* padding */
gint dummy13;
gpointer dummy14;
};
gtk_text_iter_get_buffer
GtkTextBuffer *
const GtkTextIter *iter
gtk_text_iter_copy
GtkTextIter *
const GtkTextIter *iter
gtk_text_iter_free
void
GtkTextIter *iter
gtk_text_iter_assign
void
GtkTextIter *iter, const GtkTextIter *other
gtk_text_iter_get_type
GType
void
gtk_text_iter_get_offset
gint
const GtkTextIter *iter
gtk_text_iter_get_line
gint
const GtkTextIter *iter
gtk_text_iter_get_line_offset
gint
const GtkTextIter *iter
gtk_text_iter_get_line_index
gint
const GtkTextIter *iter
gtk_text_iter_get_visible_line_offset
gint
const GtkTextIter *iter
gtk_text_iter_get_visible_line_index
gint
const GtkTextIter *iter
gtk_text_iter_get_char
gunichar
const GtkTextIter *iter
gtk_text_iter_get_slice
gchar *
const GtkTextIter *start, const GtkTextIter *end
gtk_text_iter_get_text
gchar *
const GtkTextIter *start, const GtkTextIter *end
gtk_text_iter_get_visible_slice
gchar *
const GtkTextIter *start, const GtkTextIter *end
gtk_text_iter_get_visible_text
gchar *
const GtkTextIter *start, const GtkTextIter *end
gtk_text_iter_get_texture
GdkTexture *
const GtkTextIter *iter
gtk_text_iter_get_marks
GSList *
const GtkTextIter *iter
gtk_text_iter_get_child_anchor
GtkTextChildAnchor *
const GtkTextIter *iter
gtk_text_iter_get_toggled_tags
GSList *
const GtkTextIter *iter, gboolean toggled_on
gtk_text_iter_starts_tag
gboolean
const GtkTextIter *iter, GtkTextTag *tag
gtk_text_iter_ends_tag
gboolean
const GtkTextIter *iter, GtkTextTag *tag
gtk_text_iter_toggles_tag
gboolean
const GtkTextIter *iter, GtkTextTag *tag
gtk_text_iter_has_tag
gboolean
const GtkTextIter *iter, GtkTextTag *tag
gtk_text_iter_get_tags
GSList *
const GtkTextIter *iter
gtk_text_iter_editable
gboolean
const GtkTextIter *iter, gboolean default_setting
gtk_text_iter_can_insert
gboolean
const GtkTextIter *iter, gboolean default_editability
gtk_text_iter_starts_word
gboolean
const GtkTextIter *iter
gtk_text_iter_ends_word
gboolean
const GtkTextIter *iter
gtk_text_iter_inside_word
gboolean
const GtkTextIter *iter
gtk_text_iter_starts_sentence
gboolean
const GtkTextIter *iter
gtk_text_iter_ends_sentence
gboolean
const GtkTextIter *iter
gtk_text_iter_inside_sentence
gboolean
const GtkTextIter *iter
gtk_text_iter_starts_line
gboolean
const GtkTextIter *iter
gtk_text_iter_ends_line
gboolean
const GtkTextIter *iter
gtk_text_iter_is_cursor_position
gboolean
const GtkTextIter *iter
gtk_text_iter_get_chars_in_line
gint
const GtkTextIter *iter
gtk_text_iter_get_bytes_in_line
gint
const GtkTextIter *iter
gtk_text_iter_get_language
PangoLanguage *
const GtkTextIter *iter
gtk_text_iter_is_end
gboolean
const GtkTextIter *iter
gtk_text_iter_is_start
gboolean
const GtkTextIter *iter
gtk_text_iter_forward_char
gboolean
GtkTextIter *iter
gtk_text_iter_backward_char
gboolean
GtkTextIter *iter
gtk_text_iter_forward_chars
gboolean
GtkTextIter *iter, gint count
gtk_text_iter_backward_chars
gboolean
GtkTextIter *iter, gint count
gtk_text_iter_forward_line
gboolean
GtkTextIter *iter
gtk_text_iter_backward_line
gboolean
GtkTextIter *iter
gtk_text_iter_forward_lines
gboolean
GtkTextIter *iter, gint count
gtk_text_iter_backward_lines
gboolean
GtkTextIter *iter, gint count
gtk_text_iter_forward_word_end
gboolean
GtkTextIter *iter
gtk_text_iter_backward_word_start
gboolean
GtkTextIter *iter
gtk_text_iter_forward_word_ends
gboolean
GtkTextIter *iter, gint count
gtk_text_iter_backward_word_starts
gboolean
GtkTextIter *iter, gint count
gtk_text_iter_forward_visible_line
gboolean
GtkTextIter *iter
gtk_text_iter_backward_visible_line
gboolean
GtkTextIter *iter
gtk_text_iter_forward_visible_lines
gboolean
GtkTextIter *iter, gint count
gtk_text_iter_backward_visible_lines
gboolean
GtkTextIter *iter, gint count
gtk_text_iter_forward_visible_word_end
gboolean
GtkTextIter *iter
gtk_text_iter_backward_visible_word_start
gboolean
GtkTextIter *iter
gtk_text_iter_forward_visible_word_ends
gboolean
GtkTextIter *iter, gint count
gtk_text_iter_backward_visible_word_starts
gboolean
GtkTextIter *iter, gint count
gtk_text_iter_forward_sentence_end
gboolean
GtkTextIter *iter
gtk_text_iter_backward_sentence_start
gboolean
GtkTextIter *iter
gtk_text_iter_forward_sentence_ends
gboolean
GtkTextIter *iter, gint count
gtk_text_iter_backward_sentence_starts
gboolean
GtkTextIter *iter, gint count
gtk_text_iter_forward_cursor_position
gboolean
GtkTextIter *iter
gtk_text_iter_backward_cursor_position
gboolean
GtkTextIter *iter
gtk_text_iter_forward_cursor_positions
gboolean
GtkTextIter *iter, gint count
gtk_text_iter_backward_cursor_positions
gboolean
GtkTextIter *iter, gint count
gtk_text_iter_forward_visible_cursor_position
gboolean
GtkTextIter *iter
gtk_text_iter_backward_visible_cursor_position
gboolean
GtkTextIter *iter
gtk_text_iter_forward_visible_cursor_positions
gboolean
GtkTextIter *iter, gint count
gtk_text_iter_backward_visible_cursor_positions
gboolean
GtkTextIter *iter, gint count
gtk_text_iter_set_offset
void
GtkTextIter *iter, gint char_offset
gtk_text_iter_set_line
void
GtkTextIter *iter, gint line_number
gtk_text_iter_set_line_offset
void
GtkTextIter *iter, gint char_on_line
gtk_text_iter_set_line_index
void
GtkTextIter *iter, gint byte_on_line
gtk_text_iter_forward_to_end
void
GtkTextIter *iter
gtk_text_iter_forward_to_line_end
gboolean
GtkTextIter *iter
gtk_text_iter_set_visible_line_offset
void
GtkTextIter *iter, gint char_on_line
gtk_text_iter_set_visible_line_index
void
GtkTextIter *iter, gint byte_on_line
gtk_text_iter_forward_to_tag_toggle
gboolean
GtkTextIter *iter, GtkTextTag *tag
gtk_text_iter_backward_to_tag_toggle
gboolean
GtkTextIter *iter, GtkTextTag *tag
GtkTextCharPredicate
gboolean
gunichar ch, gpointer user_data
gtk_text_iter_forward_find_char
gboolean
GtkTextIter *iter, GtkTextCharPredicate pred, gpointer user_data, const GtkTextIter *limit
gtk_text_iter_backward_find_char
gboolean
GtkTextIter *iter, GtkTextCharPredicate pred, gpointer user_data, const GtkTextIter *limit
gtk_text_iter_forward_search
gboolean
const GtkTextIter *iter, const gchar *str, GtkTextSearchFlags flags, GtkTextIter *match_start, GtkTextIter *match_end, const GtkTextIter *limit
gtk_text_iter_backward_search
gboolean
const GtkTextIter *iter, const gchar *str, GtkTextSearchFlags flags, GtkTextIter *match_start, GtkTextIter *match_end, const GtkTextIter *limit
gtk_text_iter_equal
gboolean
const GtkTextIter *lhs, const GtkTextIter *rhs
gtk_text_iter_compare
gint
const GtkTextIter *lhs, const GtkTextIter *rhs
gtk_text_iter_in_range
gboolean
const GtkTextIter *iter, const GtkTextIter *start, const GtkTextIter *end
gtk_text_iter_order
void
GtkTextIter *first, GtkTextIter *second
GtkTextBuffer
GTK_TYPE_TEXT_MARK
#define GTK_TYPE_TEXT_MARK (gtk_text_mark_get_type ())
GTK_TEXT_MARK
#define GTK_TEXT_MARK(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), GTK_TYPE_TEXT_MARK, GtkTextMark))
GTK_TEXT_MARK_CLASS
#define GTK_TEXT_MARK_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_TEXT_MARK, GtkTextMarkClass))
GTK_IS_TEXT_MARK
#define GTK_IS_TEXT_MARK(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), GTK_TYPE_TEXT_MARK))
GTK_IS_TEXT_MARK_CLASS
#define GTK_IS_TEXT_MARK_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_TEXT_MARK))
GTK_TEXT_MARK_GET_CLASS
#define GTK_TEXT_MARK_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_TEXT_MARK, GtkTextMarkClass))
GtkTextMark
struct _GtkTextMark
{
GObject parent_instance;
/*< private >*/
gpointer segment;
};
GtkTextMarkClass
struct _GtkTextMarkClass
{
GObjectClass parent_class;
/*< private >*/
gpointer padding[8];
};
gtk_text_mark_get_type
GType
void
gtk_text_mark_new
GtkTextMark *
const gchar *name, gboolean left_gravity
gtk_text_mark_set_visible
void
GtkTextMark *mark, gboolean setting
gtk_text_mark_get_visible
gboolean
GtkTextMark *mark
gtk_text_mark_get_name
const gchar *
GtkTextMark *mark
gtk_text_mark_get_deleted
gboolean
GtkTextMark *mark
gtk_text_mark_get_buffer
GtkTextBuffer *
GtkTextMark *mark
gtk_text_mark_get_left_gravity
gboolean
GtkTextMark *mark
GTK_TEXT_CLASS
#define GTK_TEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_TEXT, GtkTextClass))
GTK_IS_TEXT_CLASS
#define GTK_IS_TEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_TEXT))
GTK_TEXT_GET_CLASS
#define GTK_TEXT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_TEXT, GtkTextClass))
GtkTextClass
struct _GtkTextClass
{
GtkWidgetClass parent_class;
/* Action signals
*/
void (* activate) (GtkText *self);
void (* move_cursor) (GtkText *self,
GtkMovementStep step,
gint count,
gboolean extend);
void (* insert_at_cursor) (GtkText *self,
const gchar *str);
void (* delete_from_cursor) (GtkText *self,
GtkDeleteType type,
gint count);
void (* backspace) (GtkText *self);
void (* cut_clipboard) (GtkText *self);
void (* copy_clipboard) (GtkText *self);
void (* paste_clipboard) (GtkText *self);
void (* toggle_overwrite) (GtkText *self);
void (* insert_emoji) (GtkText *self);
void (* undo) (GtkText *self);
void (* redo) (GtkText *self);
};
gtk_text_get_display_text
char *
GtkText *entry, int start_pos, int end_pos
gtk_text_get_im_context
GtkIMContext *
GtkText *entry
gtk_text_enter_text
void
GtkText *entry, const char *text
gtk_text_set_positions
void
GtkText *entry, int current_pos, int selection_bound
gtk_text_get_layout
PangoLayout *
GtkText *entry
gtk_text_get_layout_offsets
void
GtkText *entry, int *x, int *y
gtk_text_reset_im_context
void
GtkText *entry
gtk_text_get_key_controller
GtkEventController *
GtkText *entry
GtkTextTagInfo
struct _GtkTextTagInfo {
GtkTextTag *tag;
GtkTextBTreeNode *tag_root; /* highest-level node containing the tag */
gint toggle_count; /* total toggles of this tag below tag_root */
};
GtkTextToggleBody
struct _GtkTextToggleBody {
GtkTextTagInfo *info; /* Tag that starts or ends here. */
gboolean inNodeCounts; /* TRUE means this toggle has been
* accounted for in node toggle
* counts; FALSE means it hasn't, yet. */
};
GtkTextSegSplitFunc
GtkTextLineSegment *
GtkTextLineSegment *seg, gint index
GtkTextSegDeleteFunc
gboolean
GtkTextLineSegment *seg, GtkTextLine *line, gboolean tree_gone
GtkTextSegCleanupFunc
GtkTextLineSegment *
GtkTextLineSegment *seg, GtkTextLine *line
GtkTextSegLineChangeFunc
void
GtkTextLineSegment *seg, GtkTextLine *line
GtkTextSegCheckFunc
void
GtkTextLineSegment *seg, GtkTextLine *line
GtkTextLineSegmentClass
struct _GtkTextLineSegmentClass {
const char *name; /* Name of this kind of segment. */
gboolean leftGravity; /* If a segment has zero size (e.g. a
* mark or tag toggle), does it
* attach to character to its left
* or right? 1 means left, 0 means
* right. */
GtkTextSegSplitFunc splitFunc; /* Procedure to split large segment
* into two smaller ones. */
GtkTextSegDeleteFunc deleteFunc; /* Procedure to call to delete
* segment. */
GtkTextSegCleanupFunc cleanupFunc; /* After any change to a line, this
* procedure is invoked for all
* segments left in the line to
* perform any cleanup they wish
* (e.g. joining neighboring
* segments). */
GtkTextSegLineChangeFunc lineChangeFunc;
/* Invoked when a segment is about
* to be moved from its current line
* to an earlier line because of
* a deletion. The line is that
* for the segment's old line.
* CleanupFunc will be invoked after
* the deletion is finished. */
GtkTextSegCheckFunc checkFunc; /* Called during consistency checks
* to check internal consistency of
* segment. */
};
GtkTextLineSegment
struct _GtkTextLineSegment {
const GtkTextLineSegmentClass *type; /* Pointer to record describing
* segment's type. */
GtkTextLineSegment *next; /* Next in list of segments for this
* line, or NULL for end of list. */
int char_count; /* # of chars of index space occupied */
int byte_count; /* Size of this segment (# of bytes
* of index space it occupies). */
union {
char chars[4]; /* Characters that make up character
* info. Actual length varies to
* hold as many characters as needed.*/
GtkTextToggleBody toggle; /* Information about tag toggle. */
GtkTextMarkBody mark; /* Information about mark. */
GtkTextTexture texture; /* Child texture */
GtkTextChildBody child; /* Child widget */
} body;
};
gtk_text_line_segment_split
GtkTextLineSegment *
const GtkTextIter *iter
GTK_TYPE_TEXT_TAG
#define GTK_TYPE_TEXT_TAG (gtk_text_tag_get_type ())
GTK_TEXT_TAG
#define GTK_TEXT_TAG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_TEXT_TAG, GtkTextTag))
GTK_TEXT_TAG_CLASS
#define GTK_TEXT_TAG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_TEXT_TAG, GtkTextTagClass))
GTK_IS_TEXT_TAG
#define GTK_IS_TEXT_TAG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_TEXT_TAG))
GTK_IS_TEXT_TAG_CLASS
#define GTK_IS_TEXT_TAG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_TEXT_TAG))
GTK_TEXT_TAG_GET_CLASS
#define GTK_TEXT_TAG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_TEXT_TAG, GtkTextTagClass))
GtkTextTag
struct _GtkTextTag
{
GObject parent_instance;
GtkTextTagPrivate *priv;
};
GtkTextTagClass
struct _GtkTextTagClass
{
GObjectClass parent_class;
/*< private >*/
gpointer padding[8];
};
gtk_text_tag_get_type
GType
void
gtk_text_tag_new
GtkTextTag *
const gchar *name
gtk_text_tag_get_priority
gint
GtkTextTag *tag
gtk_text_tag_set_priority
void
GtkTextTag *tag, gint priority
gtk_text_tag_changed
void
GtkTextTag *tag, gboolean size_changed
GtkTextIter
GtkTextTagPrivate
GtkTextTagTable
GtkTextTagTableForeach
void
GtkTextTag *tag, gpointer data
GTK_TYPE_TEXT_TAG_TABLE
#define GTK_TYPE_TEXT_TAG_TABLE (gtk_text_tag_table_get_type ())
GTK_TEXT_TAG_TABLE
#define GTK_TEXT_TAG_TABLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_TEXT_TAG_TABLE, GtkTextTagTable))
GTK_IS_TEXT_TAG_TABLE
#define GTK_IS_TEXT_TAG_TABLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_TEXT_TAG_TABLE))
gtk_text_tag_table_get_type
GType
void
gtk_text_tag_table_new
GtkTextTagTable *
void
gtk_text_tag_table_add
gboolean
GtkTextTagTable *table, GtkTextTag *tag
gtk_text_tag_table_remove
void
GtkTextTagTable *table, GtkTextTag *tag
gtk_text_tag_table_lookup
GtkTextTag *
GtkTextTagTable *table, const gchar *name
gtk_text_tag_table_foreach
void
GtkTextTagTable *table, GtkTextTagTableForeach func, gpointer data
gtk_text_tag_table_get_size
gint
GtkTextTagTable *table
GTK_TEXT_UNKNOWN_CHAR
#define GTK_TEXT_UNKNOWN_CHAR 0xFFFC
GTK_TEXT_UNKNOWN_CHAR_UTF8_LEN
#define GTK_TEXT_UNKNOWN_CHAR_UTF8_LEN 3
gtk_text_unknown_char_utf8_gtk_tests_only
const gchar *
void
gtk_text_byte_begins_utf8_char
gboolean
const gchar *byte
GtkTextCounter
GtkTextLineSegment
GtkTextLineSegmentClass
GtkTextMarkBody
GtkTextToggleBody
gtk_text_util_create_drag_icon
GdkPaintable *
GtkWidget *widget, gchar *text, gssize len
gtk_text_util_create_rich_drag_icon
GdkPaintable *
GtkWidget *widget, GtkTextBuffer *buffer, GtkTextIter *start, GtkTextIter *end
GTK_TYPE_TEXT_VIEW
#define GTK_TYPE_TEXT_VIEW (gtk_text_view_get_type ())
GTK_TEXT_VIEW
#define GTK_TEXT_VIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_TEXT_VIEW, GtkTextView))
GTK_TEXT_VIEW_CLASS
#define GTK_TEXT_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_TEXT_VIEW, GtkTextViewClass))
GTK_IS_TEXT_VIEW
#define GTK_IS_TEXT_VIEW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_TEXT_VIEW))
GTK_IS_TEXT_VIEW_CLASS
#define GTK_IS_TEXT_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_TEXT_VIEW))
GTK_TEXT_VIEW_GET_CLASS
#define GTK_TEXT_VIEW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_TEXT_VIEW, GtkTextViewClass))
GtkTextWindowType
typedef enum
{
GTK_TEXT_WINDOW_WIDGET = 1,
GTK_TEXT_WINDOW_TEXT,
GTK_TEXT_WINDOW_LEFT,
GTK_TEXT_WINDOW_RIGHT,
GTK_TEXT_WINDOW_TOP,
GTK_TEXT_WINDOW_BOTTOM
} GtkTextWindowType;
GtkTextViewLayer
typedef enum
{
GTK_TEXT_VIEW_LAYER_BELOW_TEXT,
GTK_TEXT_VIEW_LAYER_ABOVE_TEXT
} GtkTextViewLayer;
GtkTextExtendSelection
typedef enum
{
GTK_TEXT_EXTEND_SELECTION_WORD,
GTK_TEXT_EXTEND_SELECTION_LINE
} GtkTextExtendSelection;
GTK_TEXT_VIEW_PRIORITY_VALIDATE
#define GTK_TEXT_VIEW_PRIORITY_VALIDATE (GDK_PRIORITY_REDRAW + 5)
GtkTextView
struct _GtkTextView
{
GtkContainer parent_instance;
/*< private >*/
GtkTextViewPrivate *priv;
};
GtkTextViewClass
struct _GtkTextViewClass
{
GtkContainerClass parent_class;
/*< public >*/
void (* move_cursor) (GtkTextView *text_view,
GtkMovementStep step,
gint count,
gboolean extend_selection);
void (* set_anchor) (GtkTextView *text_view);
void (* insert_at_cursor) (GtkTextView *text_view,
const gchar *str);
void (* delete_from_cursor) (GtkTextView *text_view,
GtkDeleteType type,
gint count);
void (* backspace) (GtkTextView *text_view);
void (* cut_clipboard) (GtkTextView *text_view);
void (* copy_clipboard) (GtkTextView *text_view);
void (* paste_clipboard) (GtkTextView *text_view);
void (* toggle_overwrite) (GtkTextView *text_view);
GtkTextBuffer * (* create_buffer) (GtkTextView *text_view);
void (* snapshot_layer) (GtkTextView *text_view,
GtkTextViewLayer layer,
GtkSnapshot *snapshot);
gboolean (* extend_selection) (GtkTextView *text_view,
GtkTextExtendSelection granularity,
const GtkTextIter *location,
GtkTextIter *start,
GtkTextIter *end);
void (* insert_emoji) (GtkTextView *text_view);
/*< private >*/
gpointer padding[8];
};
gtk_text_view_get_type
GType
void
gtk_text_view_new
GtkWidget *
void
gtk_text_view_new_with_buffer
GtkWidget *
GtkTextBuffer *buffer
gtk_text_view_set_buffer
void
GtkTextView *text_view, GtkTextBuffer *buffer
gtk_text_view_get_buffer
GtkTextBuffer *
GtkTextView *text_view
gtk_text_view_scroll_to_iter
gboolean
GtkTextView *text_view, GtkTextIter *iter, gdouble within_margin, gboolean use_align, gdouble xalign, gdouble yalign
gtk_text_view_scroll_to_mark
void
GtkTextView *text_view, GtkTextMark *mark, gdouble within_margin, gboolean use_align, gdouble xalign, gdouble yalign
gtk_text_view_scroll_mark_onscreen
void
GtkTextView *text_view, GtkTextMark *mark
gtk_text_view_move_mark_onscreen
gboolean
GtkTextView *text_view, GtkTextMark *mark
gtk_text_view_place_cursor_onscreen
gboolean
GtkTextView *text_view
gtk_text_view_get_visible_rect
void
GtkTextView *text_view, GdkRectangle *visible_rect
gtk_text_view_set_cursor_visible
void
GtkTextView *text_view, gboolean setting
gtk_text_view_get_cursor_visible
gboolean
GtkTextView *text_view
gtk_text_view_reset_cursor_blink
void
GtkTextView *text_view
gtk_text_view_get_cursor_locations
void
GtkTextView *text_view, const GtkTextIter *iter, GdkRectangle *strong, GdkRectangle *weak
gtk_text_view_get_iter_location
void
GtkTextView *text_view, const GtkTextIter *iter, GdkRectangle *location
gtk_text_view_get_iter_at_location
gboolean
GtkTextView *text_view, GtkTextIter *iter, gint x, gint y
gtk_text_view_get_iter_at_position
gboolean
GtkTextView *text_view, GtkTextIter *iter, gint *trailing, gint x, gint y
gtk_text_view_get_line_yrange
void
GtkTextView *text_view, const GtkTextIter *iter, gint *y, gint *height
gtk_text_view_get_line_at_y
void
GtkTextView *text_view, GtkTextIter *target_iter, gint y, gint *line_top
gtk_text_view_buffer_to_window_coords
void
GtkTextView *text_view, GtkTextWindowType win, gint buffer_x, gint buffer_y, gint *window_x, gint *window_y
gtk_text_view_window_to_buffer_coords
void
GtkTextView *text_view, GtkTextWindowType win, gint window_x, gint window_y, gint *buffer_x, gint *buffer_y
gtk_text_view_forward_display_line
gboolean
GtkTextView *text_view, GtkTextIter *iter
gtk_text_view_backward_display_line
gboolean
GtkTextView *text_view, GtkTextIter *iter
gtk_text_view_forward_display_line_end
gboolean
GtkTextView *text_view, GtkTextIter *iter
gtk_text_view_backward_display_line_start
gboolean
GtkTextView *text_view, GtkTextIter *iter
gtk_text_view_starts_display_line
gboolean
GtkTextView *text_view, const GtkTextIter *iter
gtk_text_view_move_visually
gboolean
GtkTextView *text_view, GtkTextIter *iter, gint count
gtk_text_view_im_context_filter_keypress
gboolean
GtkTextView *text_view, GdkEventKey *event
gtk_text_view_reset_im_context
void
GtkTextView *text_view
gtk_text_view_get_gutter
GtkWidget *
GtkTextView *text_view, GtkTextWindowType win
gtk_text_view_set_gutter
void
GtkTextView *text_view, GtkTextWindowType win, GtkWidget *widget
gtk_text_view_add_child_at_anchor
void
GtkTextView *text_view, GtkWidget *child, GtkTextChildAnchor *anchor
gtk_text_view_add_overlay
void
GtkTextView *text_view, GtkWidget *child, gint xpos, gint ypos
gtk_text_view_move_overlay
void
GtkTextView *text_view, GtkWidget *child, gint xpos, gint ypos
gtk_text_view_set_wrap_mode
void
GtkTextView *text_view, GtkWrapMode wrap_mode
gtk_text_view_get_wrap_mode
GtkWrapMode
GtkTextView *text_view
gtk_text_view_set_editable
void
GtkTextView *text_view, gboolean setting
gtk_text_view_get_editable
gboolean
GtkTextView *text_view
gtk_text_view_set_overwrite
void
GtkTextView *text_view, gboolean overwrite
gtk_text_view_get_overwrite
gboolean
GtkTextView *text_view
gtk_text_view_set_accepts_tab
void
GtkTextView *text_view, gboolean accepts_tab
gtk_text_view_get_accepts_tab
gboolean
GtkTextView *text_view
gtk_text_view_set_pixels_above_lines
void
GtkTextView *text_view, gint pixels_above_lines
gtk_text_view_get_pixels_above_lines
gint
GtkTextView *text_view
gtk_text_view_set_pixels_below_lines
void
GtkTextView *text_view, gint pixels_below_lines
gtk_text_view_get_pixels_below_lines
gint
GtkTextView *text_view
gtk_text_view_set_pixels_inside_wrap
void
GtkTextView *text_view, gint pixels_inside_wrap
gtk_text_view_get_pixels_inside_wrap
gint
GtkTextView *text_view
gtk_text_view_set_justification
void
GtkTextView *text_view, GtkJustification justification
gtk_text_view_get_justification
GtkJustification
GtkTextView *text_view
gtk_text_view_set_left_margin
void
GtkTextView *text_view, gint left_margin
gtk_text_view_get_left_margin
gint
GtkTextView *text_view
gtk_text_view_set_right_margin
void
GtkTextView *text_view, gint right_margin
gtk_text_view_get_right_margin
gint
GtkTextView *text_view
gtk_text_view_set_top_margin
void
GtkTextView *text_view, gint top_margin
gtk_text_view_get_top_margin
gint
GtkTextView *text_view
gtk_text_view_set_bottom_margin
void
GtkTextView *text_view, gint bottom_margin
gtk_text_view_get_bottom_margin
gint
GtkTextView *text_view
gtk_text_view_set_indent
void
GtkTextView *text_view, gint indent
gtk_text_view_get_indent
gint
GtkTextView *text_view
gtk_text_view_set_tabs
void
GtkTextView *text_view, PangoTabArray *tabs
gtk_text_view_get_tabs
PangoTabArray *
GtkTextView *text_view
gtk_text_view_set_input_purpose
void
GtkTextView *text_view, GtkInputPurpose purpose
gtk_text_view_get_input_purpose
GtkInputPurpose
GtkTextView *text_view
gtk_text_view_set_input_hints
void
GtkTextView *text_view, GtkInputHints hints
gtk_text_view_get_input_hints
GtkInputHints
GtkTextView *text_view
gtk_text_view_set_monospace
void
GtkTextView *text_view, gboolean monospace
gtk_text_view_get_monospace
gboolean
GtkTextView *text_view
gtk_text_view_set_extra_menu
void
GtkTextView *text_view, GMenuModel *model
gtk_text_view_get_extra_menu
GMenuModel *
GtkTextView *text_view
GtkTextViewPrivate
GTK_TYPE_TEXT_VIEW_CHILD
#define GTK_TYPE_TEXT_VIEW_CHILD (gtk_text_view_child_get_type())
gtk_text_view_child_new
GtkWidget *
GtkTextWindowType window_type
gtk_text_view_child_get_window_type
GtkTextWindowType
GtkTextViewChild *self
gtk_text_view_child_add_overlay
void
GtkTextViewChild *self, GtkWidget *widget, int xpos, int ypos
gtk_text_view_child_move_overlay
void
GtkTextViewChild *self, GtkWidget *widget, int xpos, int ypos
gtk_text_view_child_set_offset
void
GtkTextViewChild *child, int xoffset, int yoffset
GtkTextViewChild
GTK_TYPE_TOGGLE_BUTTON
#define GTK_TYPE_TOGGLE_BUTTON (gtk_toggle_button_get_type ())
GTK_TOGGLE_BUTTON
#define GTK_TOGGLE_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_TOGGLE_BUTTON, GtkToggleButton))
GTK_TOGGLE_BUTTON_CLASS
#define GTK_TOGGLE_BUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_TOGGLE_BUTTON, GtkToggleButtonClass))
GTK_IS_TOGGLE_BUTTON
#define GTK_IS_TOGGLE_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_TOGGLE_BUTTON))
GTK_IS_TOGGLE_BUTTON_CLASS
#define GTK_IS_TOGGLE_BUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_TOGGLE_BUTTON))
GTK_TOGGLE_BUTTON_GET_CLASS
#define GTK_TOGGLE_BUTTON_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_TOGGLE_BUTTON, GtkToggleButtonClass))
GtkToggleButton
struct _GtkToggleButton
{
/*< private >*/
GtkButton button;
};
GtkToggleButtonClass
struct _GtkToggleButtonClass
{
GtkButtonClass parent_class;
void (* toggled) (GtkToggleButton *toggle_button);
/*< private >*/
gpointer padding[8];
};
gtk_toggle_button_get_type
GType
void
gtk_toggle_button_new
GtkWidget *
void
gtk_toggle_button_new_with_label
GtkWidget *
const gchar *label
gtk_toggle_button_new_with_mnemonic
GtkWidget *
const gchar *label
gtk_toggle_button_set_active
void
GtkToggleButton *toggle_button, gboolean is_active
gtk_toggle_button_get_active
gboolean
GtkToggleButton *toggle_button
gtk_toggle_button_toggled
void
GtkToggleButton *toggle_button
GTK_TYPE_TOOLTIP
#define GTK_TYPE_TOOLTIP (gtk_tooltip_get_type ())
GTK_TOOLTIP
#define GTK_TOOLTIP(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_TOOLTIP, GtkTooltip))
GTK_IS_TOOLTIP
#define GTK_IS_TOOLTIP(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_TOOLTIP))
gtk_tooltip_get_type
GType
void
gtk_tooltip_set_markup
void
GtkTooltip *tooltip, const gchar *markup
gtk_tooltip_set_text
void
GtkTooltip *tooltip, const gchar *text
gtk_tooltip_set_icon
void
GtkTooltip *tooltip, GdkPaintable *paintable
gtk_tooltip_set_icon_from_icon_name
void
GtkTooltip *tooltip, const gchar *icon_name
gtk_tooltip_set_icon_from_gicon
void
GtkTooltip *tooltip, GIcon *gicon
gtk_tooltip_set_custom
void
GtkTooltip *tooltip, GtkWidget *custom_widget
gtk_tooltip_set_tip_area
void
GtkTooltip *tooltip, const GdkRectangle *rect
GTK_TYPE_TRASH_MONITOR
#define GTK_TYPE_TRASH_MONITOR (_gtk_trash_monitor_get_type ())
GTK_TRASH_MONITOR
#define GTK_TRASH_MONITOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_TRASH_MONITOR, GtkTrashMonitor))
GTK_TRASH_MONITOR_CLASS
#define GTK_TRASH_MONITOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_TRASH_MONITOR, GtkTrashMonitorClass))
GTK_IS_TRASH_MONITOR
#define GTK_IS_TRASH_MONITOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_TRASH_MONITOR))
GTK_IS_TRASH_MONITOR_CLASS
#define GTK_IS_TRASH_MONITOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_TRASH_MONITOR))
GTK_TRASH_MONITOR_GET_CLASS
#define GTK_TRASH_MONITOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_TRASH_MONITOR, GtkTrashMonitorClass))
GtkTrashMonitor
GtkTrashMonitorClass
GtkTreeDataList
struct _GtkTreeDataList
{
GtkTreeDataList *next;
union {
gint v_int;
gint8 v_char;
guint8 v_uchar;
guint v_uint;
glong v_long;
gulong v_ulong;
gint64 v_int64;
guint64 v_uint64;
gfloat v_float;
gdouble v_double;
gpointer v_pointer;
} data;
};
GTK_TYPE_TREE_DRAG_SOURCE
#define GTK_TYPE_TREE_DRAG_SOURCE (gtk_tree_drag_source_get_type ())
GTK_TREE_DRAG_SOURCE
#define GTK_TREE_DRAG_SOURCE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_TREE_DRAG_SOURCE, GtkTreeDragSource))
GTK_IS_TREE_DRAG_SOURCE
#define GTK_IS_TREE_DRAG_SOURCE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_TREE_DRAG_SOURCE))
GTK_TREE_DRAG_SOURCE_GET_IFACE
#define GTK_TREE_DRAG_SOURCE_GET_IFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), GTK_TYPE_TREE_DRAG_SOURCE, GtkTreeDragSourceIface))
GtkTreeDragSourceIface
struct _GtkTreeDragSourceIface
{
/*< private >*/
GTypeInterface g_iface;
/*< public >*/
/* VTable - not signals */
gboolean (* row_draggable) (GtkTreeDragSource *drag_source,
GtkTreePath *path);
gboolean (* drag_data_get) (GtkTreeDragSource *drag_source,
GtkTreePath *path,
GtkSelectionData *selection_data);
gboolean (* drag_data_delete) (GtkTreeDragSource *drag_source,
GtkTreePath *path);
};
gtk_tree_drag_source_get_type
GType
void
gtk_tree_drag_source_row_draggable
gboolean
GtkTreeDragSource *drag_source, GtkTreePath *path
gtk_tree_drag_source_drag_data_delete
gboolean
GtkTreeDragSource *drag_source, GtkTreePath *path
gtk_tree_drag_source_drag_data_get
gboolean
GtkTreeDragSource *drag_source, GtkTreePath *path, GtkSelectionData *selection_data
GTK_TYPE_TREE_DRAG_DEST
#define GTK_TYPE_TREE_DRAG_DEST (gtk_tree_drag_dest_get_type ())
GTK_TREE_DRAG_DEST
#define GTK_TREE_DRAG_DEST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_TREE_DRAG_DEST, GtkTreeDragDest))
GTK_IS_TREE_DRAG_DEST
#define GTK_IS_TREE_DRAG_DEST(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_TREE_DRAG_DEST))
GTK_TREE_DRAG_DEST_GET_IFACE
#define GTK_TREE_DRAG_DEST_GET_IFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), GTK_TYPE_TREE_DRAG_DEST, GtkTreeDragDestIface))
GtkTreeDragDestIface
struct _GtkTreeDragDestIface
{
/*< private >*/
GTypeInterface g_iface;
/*< public >*/
/* VTable - not signals */
gboolean (* drag_data_received) (GtkTreeDragDest *drag_dest,
GtkTreePath *dest,
GtkSelectionData *selection_data);
gboolean (* row_drop_possible) (GtkTreeDragDest *drag_dest,
GtkTreePath *dest_path,
GtkSelectionData *selection_data);
};
gtk_tree_drag_dest_get_type
GType
void
gtk_tree_drag_dest_drag_data_received
gboolean
GtkTreeDragDest *drag_dest, GtkTreePath *dest, GtkSelectionData *selection_data
gtk_tree_drag_dest_row_drop_possible
gboolean
GtkTreeDragDest *drag_dest, GtkTreePath *dest_path, GtkSelectionData *selection_data
gtk_tree_set_row_drag_data
gboolean
GtkSelectionData *selection_data, GtkTreeModel *tree_model, GtkTreePath *path
gtk_tree_get_row_drag_data
gboolean
GtkSelectionData *selection_data, GtkTreeModel **tree_model, GtkTreePath **path
GtkTreeDragDest
GtkTreeDragSource
GTK_TYPE_TREE_LIST_MODEL
#define GTK_TYPE_TREE_LIST_MODEL (gtk_tree_list_model_get_type ())
GTK_TYPE_TREE_LIST_ROW
#define GTK_TYPE_TREE_LIST_ROW (gtk_tree_list_row_get_type ())
GtkTreeListModelCreateModelFunc
GListModel *
gpointer item, gpointer user_data
gtk_tree_list_model_new
GtkTreeListModel *
gboolean passthrough, GListModel *root, gboolean autoexpand, GtkTreeListModelCreateModelFunc create_func, gpointer user_data, GDestroyNotify user_destroy
gtk_tree_list_model_get_model
GListModel *
GtkTreeListModel *self
gtk_tree_list_model_get_passthrough
gboolean
GtkTreeListModel *self
gtk_tree_list_model_set_autoexpand
void
GtkTreeListModel *self, gboolean autoexpand
gtk_tree_list_model_get_autoexpand
gboolean
GtkTreeListModel *self
gtk_tree_list_model_get_child_row
GtkTreeListRow *
GtkTreeListModel *self, guint position
gtk_tree_list_model_get_row
GtkTreeListRow *
GtkTreeListModel *self, guint position
gtk_tree_list_row_get_item
gpointer
GtkTreeListRow *self
gtk_tree_list_row_set_expanded
void
GtkTreeListRow *self, gboolean expanded
gtk_tree_list_row_get_expanded
gboolean
GtkTreeListRow *self
gtk_tree_list_row_is_expandable
gboolean
GtkTreeListRow *self
gtk_tree_list_row_get_position
guint
GtkTreeListRow *self
gtk_tree_list_row_get_depth
guint
GtkTreeListRow *self
gtk_tree_list_row_get_children
GListModel *
GtkTreeListRow *self
gtk_tree_list_row_get_parent
GtkTreeListRow *
GtkTreeListRow *self
gtk_tree_list_row_get_child_row
GtkTreeListRow *
GtkTreeListRow *self, guint position
GtkTreeListModel
GtkTreeListRow
GTK_TYPE_TREE_MODEL
#define GTK_TYPE_TREE_MODEL (gtk_tree_model_get_type ())
GTK_TREE_MODEL
#define GTK_TREE_MODEL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_TREE_MODEL, GtkTreeModel))
GTK_IS_TREE_MODEL
#define GTK_IS_TREE_MODEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_TREE_MODEL))
GTK_TREE_MODEL_GET_IFACE
#define GTK_TREE_MODEL_GET_IFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), GTK_TYPE_TREE_MODEL, GtkTreeModelIface))
GTK_TYPE_TREE_ITER
#define GTK_TYPE_TREE_ITER (gtk_tree_iter_get_type ())
GTK_TYPE_TREE_PATH
#define GTK_TYPE_TREE_PATH (gtk_tree_path_get_type ())
GTK_TYPE_TREE_ROW_REFERENCE
#define GTK_TYPE_TREE_ROW_REFERENCE (gtk_tree_row_reference_get_type ())
GtkTreeModelForeachFunc
gboolean
GtkTreeModel *model, GtkTreePath *path, GtkTreeIter *iter, gpointer data
GtkTreeModelFlags
typedef enum
{
GTK_TREE_MODEL_ITERS_PERSIST = 1 << 0,
GTK_TREE_MODEL_LIST_ONLY = 1 << 1
} GtkTreeModelFlags;
GtkTreeIter
struct _GtkTreeIter
{
gint stamp;
gpointer user_data;
gpointer user_data2;
gpointer user_data3;
};
GtkTreeModelIface
struct _GtkTreeModelIface
{
/*< private >*/
GTypeInterface g_iface;
/*< public >*/
/* Signals */
void (* row_changed) (GtkTreeModel *tree_model,
GtkTreePath *path,
GtkTreeIter *iter);
void (* row_inserted) (GtkTreeModel *tree_model,
GtkTreePath *path,
GtkTreeIter *iter);
void (* row_has_child_toggled) (GtkTreeModel *tree_model,
GtkTreePath *path,
GtkTreeIter *iter);
void (* row_deleted) (GtkTreeModel *tree_model,
GtkTreePath *path);
void (* rows_reordered) (GtkTreeModel *tree_model,
GtkTreePath *path,
GtkTreeIter *iter,
gint *new_order);
/* Virtual Table */
GtkTreeModelFlags (* get_flags) (GtkTreeModel *tree_model);
gint (* get_n_columns) (GtkTreeModel *tree_model);
GType (* get_column_type) (GtkTreeModel *tree_model,
gint index_);
gboolean (* get_iter) (GtkTreeModel *tree_model,
GtkTreeIter *iter,
GtkTreePath *path);
GtkTreePath *(* get_path) (GtkTreeModel *tree_model,
GtkTreeIter *iter);
void (* get_value) (GtkTreeModel *tree_model,
GtkTreeIter *iter,
gint column,
GValue *value);
gboolean (* iter_next) (GtkTreeModel *tree_model,
GtkTreeIter *iter);
gboolean (* iter_previous) (GtkTreeModel *tree_model,
GtkTreeIter *iter);
gboolean (* iter_children) (GtkTreeModel *tree_model,
GtkTreeIter *iter,
GtkTreeIter *parent);
gboolean (* iter_has_child) (GtkTreeModel *tree_model,
GtkTreeIter *iter);
gint (* iter_n_children) (GtkTreeModel *tree_model,
GtkTreeIter *iter);
gboolean (* iter_nth_child) (GtkTreeModel *tree_model,
GtkTreeIter *iter,
GtkTreeIter *parent,
gint n);
gboolean (* iter_parent) (GtkTreeModel *tree_model,
GtkTreeIter *iter,
GtkTreeIter *child);
void (* ref_node) (GtkTreeModel *tree_model,
GtkTreeIter *iter);
void (* unref_node) (GtkTreeModel *tree_model,
GtkTreeIter *iter);
};
gtk_tree_path_new
GtkTreePath *
void
gtk_tree_path_new_from_string
GtkTreePath *
const gchar *path
gtk_tree_path_new_from_indices
GtkTreePath *
gint first_index, ...
gtk_tree_path_new_from_indicesv
GtkTreePath *
gint *indices, gsize length
gtk_tree_path_to_string
gchar *
GtkTreePath *path
gtk_tree_path_new_first
GtkTreePath *
void
gtk_tree_path_append_index
void
GtkTreePath *path, gint index_
gtk_tree_path_prepend_index
void
GtkTreePath *path, gint index_
gtk_tree_path_get_depth
gint
GtkTreePath *path
gtk_tree_path_get_indices
gint *
GtkTreePath *path
gtk_tree_path_get_indices_with_depth
gint *
GtkTreePath *path, gint *depth
gtk_tree_path_free
void
GtkTreePath *path
gtk_tree_path_copy
GtkTreePath *
const GtkTreePath *path
gtk_tree_path_get_type
GType
void
gtk_tree_path_compare
gint
const GtkTreePath *a, const GtkTreePath *b
gtk_tree_path_next
void
GtkTreePath *path
gtk_tree_path_prev
gboolean
GtkTreePath *path
gtk_tree_path_up
gboolean
GtkTreePath *path
gtk_tree_path_down
void
GtkTreePath *path
gtk_tree_path_is_ancestor
gboolean
GtkTreePath *path, GtkTreePath *descendant
gtk_tree_path_is_descendant
gboolean
GtkTreePath *path, GtkTreePath *ancestor
gtk_tree_row_reference_get_type
GType
void
gtk_tree_row_reference_new
GtkTreeRowReference *
GtkTreeModel *model, GtkTreePath *path
gtk_tree_row_reference_new_proxy
GtkTreeRowReference *
GObject *proxy, GtkTreeModel *model, GtkTreePath *path
gtk_tree_row_reference_get_path
GtkTreePath *
GtkTreeRowReference *reference
gtk_tree_row_reference_get_model
GtkTreeModel *
GtkTreeRowReference *reference
gtk_tree_row_reference_valid
gboolean
GtkTreeRowReference *reference
gtk_tree_row_reference_copy
GtkTreeRowReference *
GtkTreeRowReference *reference
gtk_tree_row_reference_free
void
GtkTreeRowReference *reference
gtk_tree_row_reference_inserted
void
GObject *proxy, GtkTreePath *path
gtk_tree_row_reference_deleted
void
GObject *proxy, GtkTreePath *path
gtk_tree_row_reference_reordered
void
GObject *proxy, GtkTreePath *path, GtkTreeIter *iter, gint *new_order
gtk_tree_iter_copy
GtkTreeIter *
GtkTreeIter *iter
gtk_tree_iter_free
void
GtkTreeIter *iter
gtk_tree_iter_get_type
GType
void
gtk_tree_model_get_type
GType
void
gtk_tree_model_get_flags
GtkTreeModelFlags
GtkTreeModel *tree_model
gtk_tree_model_get_n_columns
gint
GtkTreeModel *tree_model
gtk_tree_model_get_column_type
GType
GtkTreeModel *tree_model, gint index_
gtk_tree_model_get_iter
gboolean
GtkTreeModel *tree_model, GtkTreeIter *iter, GtkTreePath *path
gtk_tree_model_get_iter_from_string
gboolean
GtkTreeModel *tree_model, GtkTreeIter *iter, const gchar *path_string
gtk_tree_model_get_string_from_iter
gchar *
GtkTreeModel *tree_model, GtkTreeIter *iter
gtk_tree_model_get_iter_first
gboolean
GtkTreeModel *tree_model, GtkTreeIter *iter
gtk_tree_model_get_path
GtkTreePath *
GtkTreeModel *tree_model, GtkTreeIter *iter
gtk_tree_model_get_value
void
GtkTreeModel *tree_model, GtkTreeIter *iter, gint column, GValue *value
gtk_tree_model_iter_previous
gboolean
GtkTreeModel *tree_model, GtkTreeIter *iter
gtk_tree_model_iter_next
gboolean
GtkTreeModel *tree_model, GtkTreeIter *iter
gtk_tree_model_iter_children
gboolean
GtkTreeModel *tree_model, GtkTreeIter *iter, GtkTreeIter *parent
gtk_tree_model_iter_has_child
gboolean
GtkTreeModel *tree_model, GtkTreeIter *iter
gtk_tree_model_iter_n_children
gint
GtkTreeModel *tree_model, GtkTreeIter *iter
gtk_tree_model_iter_nth_child
gboolean
GtkTreeModel *tree_model, GtkTreeIter *iter, GtkTreeIter *parent, gint n
gtk_tree_model_iter_parent
gboolean
GtkTreeModel *tree_model, GtkTreeIter *iter, GtkTreeIter *child
gtk_tree_model_ref_node
void
GtkTreeModel *tree_model, GtkTreeIter *iter
gtk_tree_model_unref_node
void
GtkTreeModel *tree_model, GtkTreeIter *iter
gtk_tree_model_get
void
GtkTreeModel *tree_model, GtkTreeIter *iter, ...
gtk_tree_model_get_valist
void
GtkTreeModel *tree_model, GtkTreeIter *iter, va_list var_args
gtk_tree_model_foreach
void
GtkTreeModel *model, GtkTreeModelForeachFunc func, gpointer user_data
gtk_tree_model_row_changed
void
GtkTreeModel *tree_model, GtkTreePath *path, GtkTreeIter *iter
gtk_tree_model_row_inserted
void
GtkTreeModel *tree_model, GtkTreePath *path, GtkTreeIter *iter
gtk_tree_model_row_has_child_toggled
void
GtkTreeModel *tree_model, GtkTreePath *path, GtkTreeIter *iter
gtk_tree_model_row_deleted
void
GtkTreeModel *tree_model, GtkTreePath *path
gtk_tree_model_rows_reordered
void
GtkTreeModel *tree_model, GtkTreePath *path, GtkTreeIter *iter, gint *new_order
gtk_tree_model_rows_reordered_with_length
void
GtkTreeModel *tree_model, GtkTreePath *path, GtkTreeIter *iter, gint *new_order, gint length
GtkTreeModel
GtkTreePath
GtkTreeRowReference
GTK_TYPE_TREE_MODEL_FILTER
#define GTK_TYPE_TREE_MODEL_FILTER (gtk_tree_model_filter_get_type ())
GTK_TREE_MODEL_FILTER
#define GTK_TREE_MODEL_FILTER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_TREE_MODEL_FILTER, GtkTreeModelFilter))
GTK_TREE_MODEL_FILTER_CLASS
#define GTK_TREE_MODEL_FILTER_CLASS(vtable) (G_TYPE_CHECK_CLASS_CAST ((vtable), GTK_TYPE_TREE_MODEL_FILTER, GtkTreeModelFilterClass))
GTK_IS_TREE_MODEL_FILTER
#define GTK_IS_TREE_MODEL_FILTER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_TREE_MODEL_FILTER))
GTK_IS_TREE_MODEL_FILTER_CLASS
#define GTK_IS_TREE_MODEL_FILTER_CLASS(vtable) (G_TYPE_CHECK_CLASS_TYPE ((vtable), GTK_TYPE_TREE_MODEL_FILTER))
GTK_TREE_MODEL_FILTER_GET_CLASS
#define GTK_TREE_MODEL_FILTER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_TREE_MODEL_FILTER, GtkTreeModelFilterClass))
GtkTreeModelFilterVisibleFunc
gboolean
GtkTreeModel *model, GtkTreeIter *iter, gpointer data
GtkTreeModelFilterModifyFunc
void
GtkTreeModel *model, GtkTreeIter *iter, GValue *value, gint column, gpointer data
GtkTreeModelFilter
struct _GtkTreeModelFilter
{
GObject parent;
/*< private >*/
GtkTreeModelFilterPrivate *priv;
};
GtkTreeModelFilterClass
struct _GtkTreeModelFilterClass
{
GObjectClass parent_class;
gboolean (* visible) (GtkTreeModelFilter *self,
GtkTreeModel *child_model,
GtkTreeIter *iter);
void (* modify) (GtkTreeModelFilter *self,
GtkTreeModel *child_model,
GtkTreeIter *iter,
GValue *value,
gint column);
/*< private >*/
gpointer padding[8];
};
gtk_tree_model_filter_get_type
GType
void
gtk_tree_model_filter_new
GtkTreeModel *
GtkTreeModel *child_model, GtkTreePath *root
gtk_tree_model_filter_set_visible_func
void
GtkTreeModelFilter *filter, GtkTreeModelFilterVisibleFunc func, gpointer data, GDestroyNotify destroy
gtk_tree_model_filter_set_modify_func
void
GtkTreeModelFilter *filter, gint n_columns, GType *types, GtkTreeModelFilterModifyFunc func, gpointer data, GDestroyNotify destroy
gtk_tree_model_filter_set_visible_column
void
GtkTreeModelFilter *filter, gint column
gtk_tree_model_filter_get_model
GtkTreeModel *
GtkTreeModelFilter *filter
gtk_tree_model_filter_convert_child_iter_to_iter
gboolean
GtkTreeModelFilter *filter, GtkTreeIter *filter_iter, GtkTreeIter *child_iter
gtk_tree_model_filter_convert_iter_to_child_iter
void
GtkTreeModelFilter *filter, GtkTreeIter *child_iter, GtkTreeIter *filter_iter
gtk_tree_model_filter_convert_child_path_to_path
GtkTreePath *
GtkTreeModelFilter *filter, GtkTreePath *child_path
gtk_tree_model_filter_convert_path_to_child_path
GtkTreePath *
GtkTreeModelFilter *filter, GtkTreePath *filter_path
gtk_tree_model_filter_refilter
void
GtkTreeModelFilter *filter
gtk_tree_model_filter_clear_cache
void
GtkTreeModelFilter *filter
GtkTreeModelFilterPrivate
GTK_TYPE_TREE_MODEL_SORT
#define GTK_TYPE_TREE_MODEL_SORT (gtk_tree_model_sort_get_type ())
GTK_TREE_MODEL_SORT
#define GTK_TREE_MODEL_SORT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_TREE_MODEL_SORT, GtkTreeModelSort))
GTK_TREE_MODEL_SORT_CLASS
#define GTK_TREE_MODEL_SORT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_TREE_MODEL_SORT, GtkTreeModelSortClass))
GTK_IS_TREE_MODEL_SORT
#define GTK_IS_TREE_MODEL_SORT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_TREE_MODEL_SORT))
GTK_IS_TREE_MODEL_SORT_CLASS
#define GTK_IS_TREE_MODEL_SORT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_TREE_MODEL_SORT))
GTK_TREE_MODEL_SORT_GET_CLASS
#define GTK_TREE_MODEL_SORT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_TREE_MODEL_SORT, GtkTreeModelSortClass))
GtkTreeModelSort
struct _GtkTreeModelSort
{
GObject parent;
/* < private > */
GtkTreeModelSortPrivate *priv;
};
GtkTreeModelSortClass
struct _GtkTreeModelSortClass
{
GObjectClass parent_class;
/* < private > */
gpointer padding[8];
};
gtk_tree_model_sort_get_type
GType
void
gtk_tree_model_sort_new_with_model
GtkTreeModel *
GtkTreeModel *child_model
gtk_tree_model_sort_get_model
GtkTreeModel *
GtkTreeModelSort *tree_model
gtk_tree_model_sort_convert_child_path_to_path
GtkTreePath *
GtkTreeModelSort *tree_model_sort, GtkTreePath *child_path
gtk_tree_model_sort_convert_child_iter_to_iter
gboolean
GtkTreeModelSort *tree_model_sort, GtkTreeIter *sort_iter, GtkTreeIter *child_iter
gtk_tree_model_sort_convert_path_to_child_path
GtkTreePath *
GtkTreeModelSort *tree_model_sort, GtkTreePath *sorted_path
gtk_tree_model_sort_convert_iter_to_child_iter
void
GtkTreeModelSort *tree_model_sort, GtkTreeIter *child_iter, GtkTreeIter *sorted_iter
gtk_tree_model_sort_reset_default_sort_func
void
GtkTreeModelSort *tree_model_sort
gtk_tree_model_sort_clear_cache
void
GtkTreeModelSort *tree_model_sort
gtk_tree_model_sort_iter_is_valid
gboolean
GtkTreeModelSort *tree_model_sort, GtkTreeIter *iter
GtkTreeModelSortPrivate
GTK_TYPE_TREE_POPOVER
#define GTK_TYPE_TREE_POPOVER (gtk_tree_popover_get_type ())
gtk_tree_popover_set_model
void
GtkTreePopover *popover, GtkTreeModel *model
gtk_tree_popover_set_row_separator_func
void
GtkTreePopover *popover, GtkTreeViewRowSeparatorFunc func, gpointer data, GDestroyNotify destroy
gtk_tree_popover_set_active
void
GtkTreePopover *popover, int item
gtk_tree_popover_open_submenu
void
GtkTreePopover *popover, const char *name
GtkTreePopover
GtkTreeRBNodeColor
typedef enum
{
GTK_TREE_RBNODE_BLACK = 1 << 0,
GTK_TREE_RBNODE_RED = 1 << 1,
GTK_TREE_RBNODE_IS_PARENT = 1 << 2,
GTK_TREE_RBNODE_IS_SELECTED = 1 << 3,
GTK_TREE_RBNODE_IS_PRELIT = 1 << 4,
GTK_TREE_RBNODE_INVALID = 1 << 7,
GTK_TREE_RBNODE_COLUMN_INVALID = 1 << 8,
GTK_TREE_RBNODE_DESCENDANTS_INVALID = 1 << 9,
GTK_TREE_RBNODE_NON_COLORS = GTK_TREE_RBNODE_IS_PARENT |
GTK_TREE_RBNODE_IS_SELECTED |
GTK_TREE_RBNODE_IS_PRELIT |
GTK_TREE_RBNODE_INVALID |
GTK_TREE_RBNODE_COLUMN_INVALID |
GTK_TREE_RBNODE_DESCENDANTS_INVALID
} GtkTreeRBNodeColor;
GtkTreeRBTreeTraverseFunc
void
GtkTreeRBTree *tree, GtkTreeRBNode *node, gpointer data
GtkTreeRBTree
struct _GtkTreeRBTree
{
GtkTreeRBNode *root;
GtkTreeRBTree *parent_tree;
GtkTreeRBNode *parent_node;
};
GtkTreeRBNode
struct _GtkTreeRBNode
{
guint flags : 14;
/* count is the number of nodes beneath us, plus 1 for ourselves.
* i.e. node->left->count + node->right->count + 1
*/
gint count;
GtkTreeRBNode *left;
GtkTreeRBNode *right;
GtkTreeRBNode *parent;
/* count the number of total nodes beneath us, including nodes
* of children trees.
* i.e. node->left->count + node->right->count + node->children->root->count + 1
*/
guint total_count;
/* this is the total of sizes of
* node->left, node->right, our own height, and the height
* of all trees in ->children, iff children exists because
* the thing is expanded.
*/
gint offset;
/* Child trees */
GtkTreeRBTree *children;
};
GTK_TREE_RBNODE_GET_COLOR
#define GTK_TREE_RBNODE_GET_COLOR(node) (node?(((node->flags>K_TREE_RBNODE_RED)==GTK_TREE_RBNODE_RED)?GTK_TREE_RBNODE_RED:GTK_TREE_RBNODE_BLACK):GTK_TREE_RBNODE_BLACK)
GTK_TREE_RBNODE_SET_COLOR
#define GTK_TREE_RBNODE_SET_COLOR(node,color) if((node->flags&color)!=color)node->flags=node->flags^(GTK_TREE_RBNODE_RED|GTK_TREE_RBNODE_BLACK)
GTK_TREE_RBNODE_GET_HEIGHT
#define GTK_TREE_RBNODE_GET_HEIGHT(node) (node->offset-(node->left->offset+node->right->offset+(node->children?node->children->root->offset:0)))
GTK_TREE_RBNODE_SET_FLAG
#define GTK_TREE_RBNODE_SET_FLAG(node, flag) G_STMT_START{ (node->flags|=flag); }G_STMT_END
GTK_TREE_RBNODE_UNSET_FLAG
#define GTK_TREE_RBNODE_UNSET_FLAG(node, flag) G_STMT_START{ (node->flags&=~(flag)); }G_STMT_END
GTK_TREE_RBNODE_FLAG_SET
#define GTK_TREE_RBNODE_FLAG_SET(node, flag) (node?(((node->flags&flag)==flag)?TRUE:FALSE):FALSE)
gtk_tree_rbtree_new
GtkTreeRBTree *
void
gtk_tree_rbtree_free
void
GtkTreeRBTree *tree
gtk_tree_rbtree_remove
void
GtkTreeRBTree *tree
gtk_tree_rbtree_destroy
void
GtkTreeRBTree *tree
gtk_tree_rbtree_insert_before
GtkTreeRBNode *
GtkTreeRBTree *tree, GtkTreeRBNode *node, gint height, gboolean valid
gtk_tree_rbtree_insert_after
GtkTreeRBNode *
GtkTreeRBTree *tree, GtkTreeRBNode *node, gint height, gboolean valid
gtk_tree_rbtree_remove_node
void
GtkTreeRBTree *tree, GtkTreeRBNode *node
gtk_tree_rbtree_is_nil
gboolean
GtkTreeRBNode *node
gtk_tree_rbtree_reorder
void
GtkTreeRBTree *tree, gint *new_order, gint length
gtk_tree_rbtree_contains
gboolean
GtkTreeRBTree *tree, GtkTreeRBTree *potential_child
gtk_tree_rbtree_find_count
GtkTreeRBNode *
GtkTreeRBTree *tree, gint count
gtk_tree_rbtree_node_set_height
void
GtkTreeRBTree *tree, GtkTreeRBNode *node, gint height
gtk_tree_rbtree_node_mark_invalid
void
GtkTreeRBTree *tree, GtkTreeRBNode *node
gtk_tree_rbtree_node_mark_valid
void
GtkTreeRBTree *tree, GtkTreeRBNode *node
gtk_tree_rbtree_column_invalid
void
GtkTreeRBTree *tree
gtk_tree_rbtree_mark_invalid
void
GtkTreeRBTree *tree
gtk_tree_rbtree_set_fixed_height
void
GtkTreeRBTree *tree, gint height, gboolean mark_valid
gtk_tree_rbtree_node_find_offset
gint
GtkTreeRBTree *tree, GtkTreeRBNode *node
gtk_tree_rbtree_node_get_index
guint
GtkTreeRBTree *tree, GtkTreeRBNode *node
gtk_tree_rbtree_find_index
gboolean
GtkTreeRBTree *tree, guint index, GtkTreeRBTree **new_tree, GtkTreeRBNode **new_node
gtk_tree_rbtree_find_offset
gint
GtkTreeRBTree *tree, gint offset, GtkTreeRBTree **new_tree, GtkTreeRBNode **new_node
gtk_tree_rbtree_traverse
void
GtkTreeRBTree *tree, GtkTreeRBNode *node, GTraverseType order, GtkTreeRBTreeTraverseFunc func, gpointer data
gtk_tree_rbtree_first
GtkTreeRBNode *
GtkTreeRBTree *tree
gtk_tree_rbtree_next
GtkTreeRBNode *
GtkTreeRBTree *tree, GtkTreeRBNode *node
gtk_tree_rbtree_prev
GtkTreeRBNode *
GtkTreeRBTree *tree, GtkTreeRBNode *node
gtk_tree_rbtree_next_full
void
GtkTreeRBTree *tree, GtkTreeRBNode *node, GtkTreeRBTree **new_tree, GtkTreeRBNode **new_node
gtk_tree_rbtree_prev_full
void
GtkTreeRBTree *tree, GtkTreeRBNode *node, GtkTreeRBTree **new_tree, GtkTreeRBNode **new_node
gtk_tree_rbtree_get_depth
gint
GtkTreeRBTree *tree
GtkTreeRBTreeView
GTK_TYPE_TREE_SELECTION
#define GTK_TYPE_TREE_SELECTION (gtk_tree_selection_get_type ())
GTK_TREE_SELECTION
#define GTK_TREE_SELECTION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_TREE_SELECTION, GtkTreeSelection))
GTK_IS_TREE_SELECTION
#define GTK_IS_TREE_SELECTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_TREE_SELECTION))
GtkTreeSelectionFunc
gboolean
GtkTreeSelection *selection, GtkTreeModel *model, GtkTreePath *path, gboolean path_currently_selected, gpointer data
GtkTreeSelectionForeachFunc
void
GtkTreeModel *model, GtkTreePath *path, GtkTreeIter *iter, gpointer data
gtk_tree_selection_get_type
GType
void
gtk_tree_selection_set_mode
void
GtkTreeSelection *selection, GtkSelectionMode type
gtk_tree_selection_get_mode
GtkSelectionMode
GtkTreeSelection *selection
gtk_tree_selection_set_select_function
void
GtkTreeSelection *selection, GtkTreeSelectionFunc func, gpointer data, GDestroyNotify destroy
gtk_tree_selection_get_user_data
gpointer
GtkTreeSelection *selection
gtk_tree_selection_get_tree_view
GtkTreeView *
GtkTreeSelection *selection
gtk_tree_selection_get_select_function
GtkTreeSelectionFunc
GtkTreeSelection *selection
gtk_tree_selection_get_selected
gboolean
GtkTreeSelection *selection, GtkTreeModel **model, GtkTreeIter *iter
gtk_tree_selection_get_selected_rows
GList *
GtkTreeSelection *selection, GtkTreeModel **model
gtk_tree_selection_count_selected_rows
gint
GtkTreeSelection *selection
gtk_tree_selection_selected_foreach
void
GtkTreeSelection *selection, GtkTreeSelectionForeachFunc func, gpointer data
gtk_tree_selection_select_path
void
GtkTreeSelection *selection, GtkTreePath *path
gtk_tree_selection_unselect_path
void
GtkTreeSelection *selection, GtkTreePath *path
gtk_tree_selection_select_iter
void
GtkTreeSelection *selection, GtkTreeIter *iter
gtk_tree_selection_unselect_iter
void
GtkTreeSelection *selection, GtkTreeIter *iter
gtk_tree_selection_path_is_selected
gboolean
GtkTreeSelection *selection, GtkTreePath *path
gtk_tree_selection_iter_is_selected
gboolean
GtkTreeSelection *selection, GtkTreeIter *iter
gtk_tree_selection_select_all
void
GtkTreeSelection *selection
gtk_tree_selection_unselect_all
void
GtkTreeSelection *selection
gtk_tree_selection_select_range
void
GtkTreeSelection *selection, GtkTreePath *start_path, GtkTreePath *end_path
gtk_tree_selection_unselect_range
void
GtkTreeSelection *selection, GtkTreePath *start_path, GtkTreePath *end_path
GTK_TYPE_TREE_SORTABLE
#define GTK_TYPE_TREE_SORTABLE (gtk_tree_sortable_get_type ())
GTK_TREE_SORTABLE
#define GTK_TREE_SORTABLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_TREE_SORTABLE, GtkTreeSortable))
GTK_TREE_SORTABLE_CLASS
#define GTK_TREE_SORTABLE_CLASS(obj) (G_TYPE_CHECK_CLASS_CAST ((obj), GTK_TYPE_TREE_SORTABLE, GtkTreeSortableIface))
GTK_IS_TREE_SORTABLE
#define GTK_IS_TREE_SORTABLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_TREE_SORTABLE))
GTK_TREE_SORTABLE_GET_IFACE
#define GTK_TREE_SORTABLE_GET_IFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), GTK_TYPE_TREE_SORTABLE, GtkTreeSortableIface))
GTK_TREE_SORTABLE_DEFAULT_SORT_COLUMN_ID
#define GTK_TREE_SORTABLE_DEFAULT_SORT_COLUMN_ID (-1)
GTK_TREE_SORTABLE_UNSORTED_SORT_COLUMN_ID
#define GTK_TREE_SORTABLE_UNSORTED_SORT_COLUMN_ID (-2)
GtkTreeIterCompareFunc
gint
GtkTreeModel *model, GtkTreeIter *a, GtkTreeIter *b, gpointer user_data
GtkTreeSortableIface
struct _GtkTreeSortableIface
{
/*< private >*/
GTypeInterface g_iface;
/*< public >*/
/* signals */
void (* sort_column_changed) (GtkTreeSortable *sortable);
/* virtual table */
gboolean (* get_sort_column_id) (GtkTreeSortable *sortable,
gint *sort_column_id,
GtkSortType *order);
void (* set_sort_column_id) (GtkTreeSortable *sortable,
gint sort_column_id,
GtkSortType order);
void (* set_sort_func) (GtkTreeSortable *sortable,
gint sort_column_id,
GtkTreeIterCompareFunc sort_func,
gpointer user_data,
GDestroyNotify destroy);
void (* set_default_sort_func) (GtkTreeSortable *sortable,
GtkTreeIterCompareFunc sort_func,
gpointer user_data,
GDestroyNotify destroy);
gboolean (* has_default_sort_func) (GtkTreeSortable *sortable);
};
gtk_tree_sortable_get_type
GType
void
gtk_tree_sortable_sort_column_changed
void
GtkTreeSortable *sortable
gtk_tree_sortable_get_sort_column_id
gboolean
GtkTreeSortable *sortable, gint *sort_column_id, GtkSortType *order
gtk_tree_sortable_set_sort_column_id
void
GtkTreeSortable *sortable, gint sort_column_id, GtkSortType order
gtk_tree_sortable_set_sort_func
void
GtkTreeSortable *sortable, gint sort_column_id, GtkTreeIterCompareFunc sort_func, gpointer user_data, GDestroyNotify destroy
gtk_tree_sortable_set_default_sort_func
void
GtkTreeSortable *sortable, GtkTreeIterCompareFunc sort_func, gpointer user_data, GDestroyNotify destroy
gtk_tree_sortable_has_default_sort_func
gboolean
GtkTreeSortable *sortable
GtkTreeSortable
GTK_TYPE_TREE_STORE
#define GTK_TYPE_TREE_STORE (gtk_tree_store_get_type ())
GTK_TREE_STORE
#define GTK_TREE_STORE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_TREE_STORE, GtkTreeStore))
GTK_TREE_STORE_CLASS
#define GTK_TREE_STORE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_TREE_STORE, GtkTreeStoreClass))
GTK_IS_TREE_STORE
#define GTK_IS_TREE_STORE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_TREE_STORE))
GTK_IS_TREE_STORE_CLASS
#define GTK_IS_TREE_STORE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_TREE_STORE))
GTK_TREE_STORE_GET_CLASS
#define GTK_TREE_STORE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_TREE_STORE, GtkTreeStoreClass))
GtkTreeStore
struct _GtkTreeStore
{
GObject parent;
GtkTreeStorePrivate *priv;
};
GtkTreeStoreClass
struct _GtkTreeStoreClass
{
GObjectClass parent_class;
/*< private >*/
gpointer padding[8];
};
gtk_tree_store_get_type
GType
void
gtk_tree_store_new
GtkTreeStore *
gint n_columns, ...
gtk_tree_store_newv
GtkTreeStore *
gint n_columns, GType *types
gtk_tree_store_set_column_types
void
GtkTreeStore *tree_store, gint n_columns, GType *types
gtk_tree_store_set_value
void
GtkTreeStore *tree_store, GtkTreeIter *iter, gint column, GValue *value
gtk_tree_store_set
void
GtkTreeStore *tree_store, GtkTreeIter *iter, ...
gtk_tree_store_set_valuesv
void
GtkTreeStore *tree_store, GtkTreeIter *iter, gint *columns, GValue *values, gint n_values
gtk_tree_store_set_valist
void
GtkTreeStore *tree_store, GtkTreeIter *iter, va_list var_args
gtk_tree_store_remove
gboolean
GtkTreeStore *tree_store, GtkTreeIter *iter
gtk_tree_store_insert
void
GtkTreeStore *tree_store, GtkTreeIter *iter, GtkTreeIter *parent, gint position
gtk_tree_store_insert_before
void
GtkTreeStore *tree_store, GtkTreeIter *iter, GtkTreeIter *parent, GtkTreeIter *sibling
gtk_tree_store_insert_after
void
GtkTreeStore *tree_store, GtkTreeIter *iter, GtkTreeIter *parent, GtkTreeIter *sibling
gtk_tree_store_insert_with_values
void
GtkTreeStore *tree_store, GtkTreeIter *iter, GtkTreeIter *parent, gint position, ...
gtk_tree_store_insert_with_valuesv
void
GtkTreeStore *tree_store, GtkTreeIter *iter, GtkTreeIter *parent, gint position, gint *columns, GValue *values, gint n_values
gtk_tree_store_prepend
void
GtkTreeStore *tree_store, GtkTreeIter *iter, GtkTreeIter *parent
gtk_tree_store_append
void
GtkTreeStore *tree_store, GtkTreeIter *iter, GtkTreeIter *parent
gtk_tree_store_is_ancestor
gboolean
GtkTreeStore *tree_store, GtkTreeIter *iter, GtkTreeIter *descendant
gtk_tree_store_iter_depth
gint
GtkTreeStore *tree_store, GtkTreeIter *iter
gtk_tree_store_clear
void
GtkTreeStore *tree_store
gtk_tree_store_iter_is_valid
gboolean
GtkTreeStore *tree_store, GtkTreeIter *iter
gtk_tree_store_reorder
void
GtkTreeStore *tree_store, GtkTreeIter *parent, gint *new_order
gtk_tree_store_swap
void
GtkTreeStore *tree_store, GtkTreeIter *a, GtkTreeIter *b
gtk_tree_store_move_before
void
GtkTreeStore *tree_store, GtkTreeIter *iter, GtkTreeIter *position
gtk_tree_store_move_after
void
GtkTreeStore *tree_store, GtkTreeIter *iter, GtkTreeIter *position
GtkTreeStorePrivate
GtkTreeViewDropPosition
typedef enum
{
/* drop before/after this row */
GTK_TREE_VIEW_DROP_BEFORE,
GTK_TREE_VIEW_DROP_AFTER,
/* drop as a child of this row (with fallback to before or after
* if into is not possible)
*/
GTK_TREE_VIEW_DROP_INTO_OR_BEFORE,
GTK_TREE_VIEW_DROP_INTO_OR_AFTER
} GtkTreeViewDropPosition;
GTK_TYPE_TREE_VIEW
#define GTK_TYPE_TREE_VIEW (gtk_tree_view_get_type ())
GTK_TREE_VIEW
#define GTK_TREE_VIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_TREE_VIEW, GtkTreeView))
GTK_IS_TREE_VIEW
#define GTK_IS_TREE_VIEW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_TREE_VIEW))
GtkTreeViewColumnDropFunc
gboolean
GtkTreeView *tree_view, GtkTreeViewColumn *column, GtkTreeViewColumn *prev_column, GtkTreeViewColumn *next_column, gpointer data
GtkTreeViewMappingFunc
void
GtkTreeView *tree_view, GtkTreePath *path, gpointer user_data
GtkTreeViewSearchEqualFunc
gboolean
GtkTreeModel *model, gint column, const gchar *key, GtkTreeIter *iter, gpointer search_data
GtkTreeViewRowSeparatorFunc
gboolean
GtkTreeModel *model, GtkTreeIter *iter, gpointer data
gtk_tree_view_get_type
GType
void
gtk_tree_view_new
GtkWidget *
void
gtk_tree_view_new_with_model
GtkWidget *
GtkTreeModel *model
gtk_tree_view_get_model
GtkTreeModel *
GtkTreeView *tree_view
gtk_tree_view_set_model
void
GtkTreeView *tree_view, GtkTreeModel *model
gtk_tree_view_get_selection
GtkTreeSelection *
GtkTreeView *tree_view
gtk_tree_view_get_headers_visible
gboolean
GtkTreeView *tree_view
gtk_tree_view_set_headers_visible
void
GtkTreeView *tree_view, gboolean headers_visible
gtk_tree_view_columns_autosize
void
GtkTreeView *tree_view
gtk_tree_view_get_headers_clickable
gboolean
GtkTreeView *tree_view
gtk_tree_view_set_headers_clickable
void
GtkTreeView *tree_view, gboolean setting
gtk_tree_view_get_activate_on_single_click
gboolean
GtkTreeView *tree_view
gtk_tree_view_set_activate_on_single_click
void
GtkTreeView *tree_view, gboolean single
gtk_tree_view_append_column
gint
GtkTreeView *tree_view, GtkTreeViewColumn *column
gtk_tree_view_remove_column
gint
GtkTreeView *tree_view, GtkTreeViewColumn *column
gtk_tree_view_insert_column
gint
GtkTreeView *tree_view, GtkTreeViewColumn *column, gint position
gtk_tree_view_insert_column_with_attributes
gint
GtkTreeView *tree_view, gint position, const gchar *title, GtkCellRenderer *cell, ...
gtk_tree_view_insert_column_with_data_func
gint
GtkTreeView *tree_view, gint position, const gchar *title, GtkCellRenderer *cell, GtkTreeCellDataFunc func, gpointer data, GDestroyNotify dnotify
gtk_tree_view_get_n_columns
guint
GtkTreeView *tree_view
gtk_tree_view_get_column
GtkTreeViewColumn *
GtkTreeView *tree_view, gint n
gtk_tree_view_get_columns
GList *
GtkTreeView *tree_view
gtk_tree_view_move_column_after
void
GtkTreeView *tree_view, GtkTreeViewColumn *column, GtkTreeViewColumn *base_column
gtk_tree_view_set_expander_column
void
GtkTreeView *tree_view, GtkTreeViewColumn *column
gtk_tree_view_get_expander_column
GtkTreeViewColumn *
GtkTreeView *tree_view
gtk_tree_view_set_column_drag_function
void
GtkTreeView *tree_view, GtkTreeViewColumnDropFunc func, gpointer user_data, GDestroyNotify destroy
gtk_tree_view_scroll_to_point
void
GtkTreeView *tree_view, gint tree_x, gint tree_y
gtk_tree_view_scroll_to_cell
void
GtkTreeView *tree_view, GtkTreePath *path, GtkTreeViewColumn *column, gboolean use_align, gfloat row_align, gfloat col_align
gtk_tree_view_row_activated
void
GtkTreeView *tree_view, GtkTreePath *path, GtkTreeViewColumn *column
gtk_tree_view_expand_all
void
GtkTreeView *tree_view
gtk_tree_view_collapse_all
void
GtkTreeView *tree_view
gtk_tree_view_expand_to_path
void
GtkTreeView *tree_view, GtkTreePath *path
gtk_tree_view_expand_row
gboolean
GtkTreeView *tree_view, GtkTreePath *path, gboolean open_all
gtk_tree_view_collapse_row
gboolean
GtkTreeView *tree_view, GtkTreePath *path
gtk_tree_view_map_expanded_rows
void
GtkTreeView *tree_view, GtkTreeViewMappingFunc func, gpointer data
gtk_tree_view_row_expanded
gboolean
GtkTreeView *tree_view, GtkTreePath *path
gtk_tree_view_set_reorderable
void
GtkTreeView *tree_view, gboolean reorderable
gtk_tree_view_get_reorderable
gboolean
GtkTreeView *tree_view
gtk_tree_view_set_cursor
void
GtkTreeView *tree_view, GtkTreePath *path, GtkTreeViewColumn *focus_column, gboolean start_editing
gtk_tree_view_set_cursor_on_cell
void
GtkTreeView *tree_view, GtkTreePath *path, GtkTreeViewColumn *focus_column, GtkCellRenderer *focus_cell, gboolean start_editing
gtk_tree_view_get_cursor
void
GtkTreeView *tree_view, GtkTreePath **path, GtkTreeViewColumn **focus_column
gtk_tree_view_get_path_at_pos
gboolean
GtkTreeView *tree_view, gint x, gint y, GtkTreePath **path, GtkTreeViewColumn **column, gint *cell_x, gint *cell_y
gtk_tree_view_get_cell_area
void
GtkTreeView *tree_view, GtkTreePath *path, GtkTreeViewColumn *column, GdkRectangle *rect
gtk_tree_view_get_background_area
void
GtkTreeView *tree_view, GtkTreePath *path, GtkTreeViewColumn *column, GdkRectangle *rect
gtk_tree_view_get_visible_rect
void
GtkTreeView *tree_view, GdkRectangle *visible_rect
gtk_tree_view_get_visible_range
gboolean
GtkTreeView *tree_view, GtkTreePath **start_path, GtkTreePath **end_path
gtk_tree_view_is_blank_at_pos
gboolean
GtkTreeView *tree_view, gint x, gint y, GtkTreePath **path, GtkTreeViewColumn **column, gint *cell_x, gint *cell_y
gtk_tree_view_enable_model_drag_source
void
GtkTreeView *tree_view, GdkModifierType start_button_mask, GdkContentFormats *formats, GdkDragAction actions
gtk_tree_view_enable_model_drag_dest
GtkDropTarget *
GtkTreeView *tree_view, GdkContentFormats *formats, GdkDragAction actions
gtk_tree_view_unset_rows_drag_source
void
GtkTreeView *tree_view
gtk_tree_view_unset_rows_drag_dest
void
GtkTreeView *tree_view
gtk_tree_view_set_drag_dest_row
void
GtkTreeView *tree_view, GtkTreePath *path, GtkTreeViewDropPosition pos
gtk_tree_view_get_drag_dest_row
void
GtkTreeView *tree_view, GtkTreePath **path, GtkTreeViewDropPosition *pos
gtk_tree_view_get_dest_row_at_pos
gboolean
GtkTreeView *tree_view, gint drag_x, gint drag_y, GtkTreePath **path, GtkTreeViewDropPosition *pos
gtk_tree_view_create_row_drag_icon
GdkPaintable *
GtkTreeView *tree_view, GtkTreePath *path
gtk_tree_view_set_enable_search
void
GtkTreeView *tree_view, gboolean enable_search
gtk_tree_view_get_enable_search
gboolean
GtkTreeView *tree_view
gtk_tree_view_get_search_column
gint
GtkTreeView *tree_view
gtk_tree_view_set_search_column
void
GtkTreeView *tree_view, gint column
gtk_tree_view_get_search_equal_func
GtkTreeViewSearchEqualFunc
GtkTreeView *tree_view
gtk_tree_view_set_search_equal_func
void
GtkTreeView *tree_view, GtkTreeViewSearchEqualFunc search_equal_func, gpointer search_user_data, GDestroyNotify search_destroy
gtk_tree_view_get_search_entry
GtkEditable *
GtkTreeView *tree_view
gtk_tree_view_set_search_entry
void
GtkTreeView *tree_view, GtkEditable *entry
gtk_tree_view_convert_widget_to_tree_coords
void
GtkTreeView *tree_view, gint wx, gint wy, gint *tx, gint *ty
gtk_tree_view_convert_tree_to_widget_coords
void
GtkTreeView *tree_view, gint tx, gint ty, gint *wx, gint *wy
gtk_tree_view_convert_widget_to_bin_window_coords
void
GtkTreeView *tree_view, gint wx, gint wy, gint *bx, gint *by
gtk_tree_view_convert_bin_window_to_widget_coords
void
GtkTreeView *tree_view, gint bx, gint by, gint *wx, gint *wy
gtk_tree_view_convert_tree_to_bin_window_coords
void
GtkTreeView *tree_view, gint tx, gint ty, gint *bx, gint *by
gtk_tree_view_convert_bin_window_to_tree_coords
void
GtkTreeView *tree_view, gint bx, gint by, gint *tx, gint *ty
gtk_tree_view_set_fixed_height_mode
void
GtkTreeView *tree_view, gboolean enable
gtk_tree_view_get_fixed_height_mode
gboolean
GtkTreeView *tree_view
gtk_tree_view_set_hover_selection
void
GtkTreeView *tree_view, gboolean hover
gtk_tree_view_get_hover_selection
gboolean
GtkTreeView *tree_view
gtk_tree_view_set_hover_expand
void
GtkTreeView *tree_view, gboolean expand
gtk_tree_view_get_hover_expand
gboolean
GtkTreeView *tree_view
gtk_tree_view_set_rubber_banding
void
GtkTreeView *tree_view, gboolean enable
gtk_tree_view_get_rubber_banding
gboolean
GtkTreeView *tree_view
gtk_tree_view_is_rubber_banding_active
gboolean
GtkTreeView *tree_view
gtk_tree_view_get_row_separator_func
GtkTreeViewRowSeparatorFunc
GtkTreeView *tree_view
gtk_tree_view_set_row_separator_func
void
GtkTreeView *tree_view, GtkTreeViewRowSeparatorFunc func, gpointer data, GDestroyNotify destroy
gtk_tree_view_get_grid_lines
GtkTreeViewGridLines
GtkTreeView *tree_view
gtk_tree_view_set_grid_lines
void
GtkTreeView *tree_view, GtkTreeViewGridLines grid_lines
gtk_tree_view_get_enable_tree_lines
gboolean
GtkTreeView *tree_view
gtk_tree_view_set_enable_tree_lines
void
GtkTreeView *tree_view, gboolean enabled
gtk_tree_view_set_show_expanders
void
GtkTreeView *tree_view, gboolean enabled
gtk_tree_view_get_show_expanders
gboolean
GtkTreeView *tree_view
gtk_tree_view_set_level_indentation
void
GtkTreeView *tree_view, gint indentation
gtk_tree_view_get_level_indentation
gint
GtkTreeView *tree_view
gtk_tree_view_set_tooltip_row
void
GtkTreeView *tree_view, GtkTooltip *tooltip, GtkTreePath *path
gtk_tree_view_set_tooltip_cell
void
GtkTreeView *tree_view, GtkTooltip *tooltip, GtkTreePath *path, GtkTreeViewColumn *column, GtkCellRenderer *cell
gtk_tree_view_get_tooltip_context
gboolean
GtkTreeView *tree_view, gint *x, gint *y, gboolean keyboard_tip, GtkTreeModel **model, GtkTreePath **path, GtkTreeIter *iter
gtk_tree_view_set_tooltip_column
void
GtkTreeView *tree_view, gint column
gtk_tree_view_get_tooltip_column
gint
GtkTreeView *tree_view
GtkTreeSelection
GtkTreeView
GTK_TYPE_TREE_VIEW_COLUMN
#define GTK_TYPE_TREE_VIEW_COLUMN (gtk_tree_view_column_get_type ())
GTK_TREE_VIEW_COLUMN
#define GTK_TREE_VIEW_COLUMN(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_TREE_VIEW_COLUMN, GtkTreeViewColumn))
GTK_IS_TREE_VIEW_COLUMN
#define GTK_IS_TREE_VIEW_COLUMN(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_TREE_VIEW_COLUMN))
GtkTreeViewColumnSizing
typedef enum
{
GTK_TREE_VIEW_COLUMN_GROW_ONLY,
GTK_TREE_VIEW_COLUMN_AUTOSIZE,
GTK_TREE_VIEW_COLUMN_FIXED
} GtkTreeViewColumnSizing;
GtkTreeCellDataFunc
void
GtkTreeViewColumn *tree_column, GtkCellRenderer *cell, GtkTreeModel *tree_model, GtkTreeIter *iter, gpointer data
gtk_tree_view_column_get_type
GType
void
gtk_tree_view_column_new
GtkTreeViewColumn *
void
gtk_tree_view_column_new_with_area
GtkTreeViewColumn *
GtkCellArea *area
gtk_tree_view_column_new_with_attributes
GtkTreeViewColumn *
const gchar *title, GtkCellRenderer *cell, ...
gtk_tree_view_column_pack_start
void
GtkTreeViewColumn *tree_column, GtkCellRenderer *cell, gboolean expand
gtk_tree_view_column_pack_end
void
GtkTreeViewColumn *tree_column, GtkCellRenderer *cell, gboolean expand
gtk_tree_view_column_clear
void
GtkTreeViewColumn *tree_column
gtk_tree_view_column_add_attribute
void
GtkTreeViewColumn *tree_column, GtkCellRenderer *cell_renderer, const gchar *attribute, gint column
gtk_tree_view_column_set_attributes
void
GtkTreeViewColumn *tree_column, GtkCellRenderer *cell_renderer, ...
gtk_tree_view_column_set_cell_data_func
void
GtkTreeViewColumn *tree_column, GtkCellRenderer *cell_renderer, GtkTreeCellDataFunc func, gpointer func_data, GDestroyNotify destroy
gtk_tree_view_column_clear_attributes
void
GtkTreeViewColumn *tree_column, GtkCellRenderer *cell_renderer
gtk_tree_view_column_set_spacing
void
GtkTreeViewColumn *tree_column, gint spacing
gtk_tree_view_column_get_spacing
gint
GtkTreeViewColumn *tree_column
gtk_tree_view_column_set_visible
void
GtkTreeViewColumn *tree_column, gboolean visible
gtk_tree_view_column_get_visible
gboolean
GtkTreeViewColumn *tree_column
gtk_tree_view_column_set_resizable
void
GtkTreeViewColumn *tree_column, gboolean resizable
gtk_tree_view_column_get_resizable
gboolean
GtkTreeViewColumn *tree_column
gtk_tree_view_column_set_sizing
void
GtkTreeViewColumn *tree_column, GtkTreeViewColumnSizing type
gtk_tree_view_column_get_sizing
GtkTreeViewColumnSizing
GtkTreeViewColumn *tree_column
gtk_tree_view_column_get_x_offset
gint
GtkTreeViewColumn *tree_column
gtk_tree_view_column_get_width
gint
GtkTreeViewColumn *tree_column
gtk_tree_view_column_get_fixed_width
gint
GtkTreeViewColumn *tree_column
gtk_tree_view_column_set_fixed_width
void
GtkTreeViewColumn *tree_column, gint fixed_width
gtk_tree_view_column_set_min_width
void
GtkTreeViewColumn *tree_column, gint min_width
gtk_tree_view_column_get_min_width
gint
GtkTreeViewColumn *tree_column
gtk_tree_view_column_set_max_width
void
GtkTreeViewColumn *tree_column, gint max_width
gtk_tree_view_column_get_max_width
gint
GtkTreeViewColumn *tree_column
gtk_tree_view_column_clicked
void
GtkTreeViewColumn *tree_column
gtk_tree_view_column_set_title
void
GtkTreeViewColumn *tree_column, const gchar *title
gtk_tree_view_column_get_title
const gchar *
GtkTreeViewColumn *tree_column
gtk_tree_view_column_set_expand
void
GtkTreeViewColumn *tree_column, gboolean expand
gtk_tree_view_column_get_expand
gboolean
GtkTreeViewColumn *tree_column
gtk_tree_view_column_set_clickable
void
GtkTreeViewColumn *tree_column, gboolean clickable
gtk_tree_view_column_get_clickable
gboolean
GtkTreeViewColumn *tree_column
gtk_tree_view_column_set_widget
void
GtkTreeViewColumn *tree_column, GtkWidget *widget
gtk_tree_view_column_get_widget
GtkWidget *
GtkTreeViewColumn *tree_column
gtk_tree_view_column_set_alignment
void
GtkTreeViewColumn *tree_column, gfloat xalign
gtk_tree_view_column_get_alignment
gfloat
GtkTreeViewColumn *tree_column
gtk_tree_view_column_set_reorderable
void
GtkTreeViewColumn *tree_column, gboolean reorderable
gtk_tree_view_column_get_reorderable
gboolean
GtkTreeViewColumn *tree_column
gtk_tree_view_column_set_sort_column_id
void
GtkTreeViewColumn *tree_column, gint sort_column_id
gtk_tree_view_column_get_sort_column_id
gint
GtkTreeViewColumn *tree_column
gtk_tree_view_column_set_sort_indicator
void
GtkTreeViewColumn *tree_column, gboolean setting
gtk_tree_view_column_get_sort_indicator
gboolean
GtkTreeViewColumn *tree_column
gtk_tree_view_column_set_sort_order
void
GtkTreeViewColumn *tree_column, GtkSortType order
gtk_tree_view_column_get_sort_order
GtkSortType
GtkTreeViewColumn *tree_column
gtk_tree_view_column_cell_set_cell_data
void
GtkTreeViewColumn *tree_column, GtkTreeModel *tree_model, GtkTreeIter *iter, gboolean is_expander, gboolean is_expanded
gtk_tree_view_column_cell_get_size
void
GtkTreeViewColumn *tree_column, int *x_offset, int *y_offset, int *width, int *height
gtk_tree_view_column_cell_is_visible
gboolean
GtkTreeViewColumn *tree_column
gtk_tree_view_column_focus_cell
void
GtkTreeViewColumn *tree_column, GtkCellRenderer *cell
gtk_tree_view_column_cell_get_position
gboolean
GtkTreeViewColumn *tree_column, GtkCellRenderer *cell_renderer, gint *x_offset, gint *width
gtk_tree_view_column_queue_resize
void
GtkTreeViewColumn *tree_column
gtk_tree_view_column_get_tree_view
GtkWidget *
GtkTreeViewColumn *tree_column
gtk_tree_view_column_get_button
GtkWidget *
GtkTreeViewColumn *tree_column
GtkTreeViewColumn
GtkSnapshot
typedef GdkSnapshot GtkSnapshot;
GTK_INVALID_LIST_POSITION
#define GTK_INVALID_LIST_POSITION (G_MAXUINT)
GtkAdjustment
GtkBuilder
GtkBuilderScope
GtkClipboard
GtkCssStyleChange
GtkEventController
GtkGesture
GtkLayoutManager
GtkNative
GtkRequisition
GtkRoot
GtkSelectionData
GtkSettings
GtkStyleContext
GtkTooltip
GtkWidget
GtkWindow
GTK_TYPE_VIDEO
#define GTK_TYPE_VIDEO (gtk_video_get_type ())
gtk_video_new
GtkWidget *
void
gtk_video_new_for_media_stream
GtkWidget *
GtkMediaStream *stream
gtk_video_new_for_file
GtkWidget *
GFile *file
gtk_video_new_for_filename
GtkWidget *
const char *filename
gtk_video_new_for_resource
GtkWidget *
const char *resource_path
gtk_video_get_media_stream
GtkMediaStream *
GtkVideo *self
gtk_video_set_media_stream
void
GtkVideo *self, GtkMediaStream *stream
gtk_video_get_file
GFile *
GtkVideo *self
gtk_video_set_file
void
GtkVideo *self, GFile *file
gtk_video_set_filename
void
GtkVideo *self, const char *filename
gtk_video_set_resource
void
GtkVideo *self, const char *resource_path
gtk_video_get_autoplay
gboolean
GtkVideo *self
gtk_video_set_autoplay
void
GtkVideo *self, gboolean autoplay
gtk_video_get_loop
gboolean
GtkVideo *self
gtk_video_set_loop
void
GtkVideo *self, gboolean loop
GtkVideo
GTK_TYPE_VIEWPORT
#define GTK_TYPE_VIEWPORT (gtk_viewport_get_type ())
GTK_VIEWPORT
#define GTK_VIEWPORT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_VIEWPORT, GtkViewport))
GTK_IS_VIEWPORT
#define GTK_IS_VIEWPORT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_VIEWPORT))
gtk_viewport_get_type
GType
void
gtk_viewport_new
GtkWidget *
GtkAdjustment *hadjustment, GtkAdjustment *vadjustment
gtk_viewport_set_shadow_type
void
GtkViewport *viewport, GtkShadowType type
gtk_viewport_get_shadow_type
GtkShadowType
GtkViewport *viewport
GtkViewport
GTK_TYPE_VOLUME_BUTTON
#define GTK_TYPE_VOLUME_BUTTON (gtk_volume_button_get_type ())
GTK_VOLUME_BUTTON
#define GTK_VOLUME_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_VOLUME_BUTTON, GtkVolumeButton))
GTK_IS_VOLUME_BUTTON
#define GTK_IS_VOLUME_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_VOLUME_BUTTON))
GtkVolumeButton
struct _GtkVolumeButton
{
GtkScaleButton parent;
};
gtk_volume_button_get_type
GType
void
gtk_volume_button_new
GtkWidget *
void
GTK_TYPE_WIDGET
#define GTK_TYPE_WIDGET (gtk_widget_get_type ())
GTK_WIDGET
#define GTK_WIDGET(widget) (G_TYPE_CHECK_INSTANCE_CAST ((widget), GTK_TYPE_WIDGET, GtkWidget))
GTK_WIDGET_CLASS
#define GTK_WIDGET_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_WIDGET, GtkWidgetClass))
GTK_IS_WIDGET
#define GTK_IS_WIDGET(widget) (G_TYPE_CHECK_INSTANCE_TYPE ((widget), GTK_TYPE_WIDGET))
GTK_IS_WIDGET_CLASS
#define GTK_IS_WIDGET_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_WIDGET))
GTK_WIDGET_GET_CLASS
#define GTK_WIDGET_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_WIDGET, GtkWidgetClass))
GTK_TYPE_REQUISITION
#define GTK_TYPE_REQUISITION (gtk_requisition_get_type ())
GtkAllocation
typedef GdkRectangle GtkAllocation;
GtkCallback
void
GtkWidget *widget, gpointer data
GtkTickCallback
gboolean
GtkWidget *widget, GdkFrameClock *frame_clock, gpointer user_data
GtkRequisition
struct _GtkRequisition
{
gint width;
gint height;
};
GtkWidget
struct _GtkWidget
{
GInitiallyUnowned parent_instance;
/*< private >*/
GtkWidgetPrivate *priv;
};
GtkWidgetClass
struct _GtkWidgetClass
{
GInitiallyUnownedClass parent_class;
/*< public >*/
guint activate_signal;
/* basics */
void (* destroy) (GtkWidget *widget);
void (* show) (GtkWidget *widget);
void (* hide) (GtkWidget *widget);
void (* map) (GtkWidget *widget);
void (* unmap) (GtkWidget *widget);
void (* realize) (GtkWidget *widget);
void (* unrealize) (GtkWidget *widget);
void (* root) (GtkWidget *widget);
void (* unroot) (GtkWidget *widget);
void (* size_allocate) (GtkWidget *widget,
int width,
int height,
int baseline);
void (* state_flags_changed) (GtkWidget *widget,
GtkStateFlags previous_state_flags);
void (* direction_changed) (GtkWidget *widget,
GtkTextDirection previous_direction);
void (* grab_notify) (GtkWidget *widget,
gboolean was_grabbed);
/* size requests */
GtkSizeRequestMode (* get_request_mode) (GtkWidget *widget);
void (* measure) (GtkWidget *widget,
GtkOrientation orientation,
int for_size,
int *minimum,
int *natural,
int *minimum_baseline,
int *natural_baseline);
/* Mnemonics */
gboolean (* mnemonic_activate) (GtkWidget *widget,
gboolean group_cycling);
/* explicit focus */
gboolean (* grab_focus) (GtkWidget *widget);
gboolean (* focus) (GtkWidget *widget,
GtkDirectionType direction);
/* keyboard navigation */
void (* move_focus) (GtkWidget *widget,
GtkDirectionType direction);
gboolean (* keynav_failed) (GtkWidget *widget,
GtkDirectionType direction);
/* Signals used only for keybindings */
gboolean (* popup_menu) (GtkWidget *widget);
/* accessibility support
*/
AtkObject * (* get_accessible) (GtkWidget *widget);
gboolean (* can_activate_accel) (GtkWidget *widget,
guint signal_id);
gboolean (* query_tooltip) (GtkWidget *widget,
gint x,
gint y,
gboolean keyboard_tooltip,
GtkTooltip *tooltip);
void (* compute_expand) (GtkWidget *widget,
gboolean *hexpand_p,
gboolean *vexpand_p);
void (* css_changed) (GtkWidget *widget,
GtkCssStyleChange *change);
void (* snapshot) (GtkWidget *widget,
GtkSnapshot *snapshot);
gboolean (* contains) (GtkWidget *widget,
gdouble x,
gdouble y);
/*< private >*/
GtkWidgetClassPrivate *priv;
gpointer padding[8];
};
gtk_widget_get_type
GType
void
gtk_widget_new
GtkWidget *
GType type, const gchar *first_property_name, ...
gtk_widget_destroy
void
GtkWidget *widget
gtk_widget_destroyed
void
GtkWidget *widget, GtkWidget **widget_pointer
gtk_widget_unparent
void
GtkWidget *widget
gtk_widget_show
void
GtkWidget *widget
gtk_widget_hide
void
GtkWidget *widget
gtk_widget_map
void
GtkWidget *widget
gtk_widget_unmap
void
GtkWidget *widget
gtk_widget_realize
void
GtkWidget *widget
gtk_widget_unrealize
void
GtkWidget *widget
gtk_widget_queue_draw
void
GtkWidget *widget
gtk_widget_queue_resize
void
GtkWidget *widget
gtk_widget_queue_allocate
void
GtkWidget *widget
gtk_widget_get_frame_clock
GdkFrameClock *
GtkWidget *widget
gtk_widget_size_allocate
void
GtkWidget *widget, const GtkAllocation *allocation, int baseline
gtk_widget_allocate
void
GtkWidget *widget, int width, int height, int baseline, GskTransform *transform
gtk_widget_get_request_mode
GtkSizeRequestMode
GtkWidget *widget
gtk_widget_measure
void
GtkWidget *widget, GtkOrientation orientation, int for_size, int *minimum, int *natural, int *minimum_baseline, int *natural_baseline
gtk_widget_get_preferred_size
void
GtkWidget *widget, GtkRequisition *minimum_size, GtkRequisition *natural_size
gtk_widget_set_layout_manager
void
GtkWidget *widget, GtkLayoutManager *layout_manager
gtk_widget_get_layout_manager
GtkLayoutManager *
GtkWidget *widget
gtk_widget_class_set_layout_manager_type
void
GtkWidgetClass *widget_class, GType type
gtk_widget_class_get_layout_manager_type
GType
GtkWidgetClass *widget_class
gtk_widget_add_accelerator
void
GtkWidget *widget, const gchar *accel_signal, GtkAccelGroup *accel_group, guint accel_key, GdkModifierType accel_mods, GtkAccelFlags accel_flags
gtk_widget_remove_accelerator
gboolean
GtkWidget *widget, GtkAccelGroup *accel_group, guint accel_key, GdkModifierType accel_mods
gtk_widget_set_accel_path
void
GtkWidget *widget, const gchar *accel_path, GtkAccelGroup *accel_group
gtk_widget_list_accel_closures
GList *
GtkWidget *widget
gtk_widget_can_activate_accel
gboolean
GtkWidget *widget, guint signal_id
gtk_widget_mnemonic_activate
gboolean
GtkWidget *widget, gboolean group_cycling
gtk_widget_event
gboolean
GtkWidget *widget, GdkEvent *event
gtk_widget_activate
gboolean
GtkWidget *widget
gtk_widget_set_can_focus
void
GtkWidget *widget, gboolean can_focus
gtk_widget_get_can_focus
gboolean
GtkWidget *widget
gtk_widget_has_focus
gboolean
GtkWidget *widget
gtk_widget_is_focus
gboolean
GtkWidget *widget
gtk_widget_has_visible_focus
gboolean
GtkWidget *widget
gtk_widget_grab_focus
gboolean
GtkWidget *widget
gtk_widget_set_focus_on_click
void
GtkWidget *widget, gboolean focus_on_click
gtk_widget_get_focus_on_click
gboolean
GtkWidget *widget
gtk_widget_set_can_target
void
GtkWidget *widget, gboolean can_target
gtk_widget_get_can_target
gboolean
GtkWidget *widget
gtk_widget_has_default
gboolean
GtkWidget *widget
gtk_widget_set_receives_default
void
GtkWidget *widget, gboolean receives_default
gtk_widget_get_receives_default
gboolean
GtkWidget *widget
gtk_widget_has_grab
gboolean
GtkWidget *widget
gtk_widget_device_is_shadowed
gboolean
GtkWidget *widget, GdkDevice *device
gtk_widget_set_name
void
GtkWidget *widget, const gchar *name
gtk_widget_get_name
const gchar *
GtkWidget *widget
gtk_widget_set_state_flags
void
GtkWidget *widget, GtkStateFlags flags, gboolean clear
gtk_widget_unset_state_flags
void
GtkWidget *widget, GtkStateFlags flags
gtk_widget_get_state_flags
GtkStateFlags
GtkWidget *widget
gtk_widget_set_sensitive
void
GtkWidget *widget, gboolean sensitive
gtk_widget_get_sensitive
gboolean
GtkWidget *widget
gtk_widget_is_sensitive
gboolean
GtkWidget *widget
gtk_widget_set_visible
void
GtkWidget *widget, gboolean visible
gtk_widget_get_visible
gboolean
GtkWidget *widget
gtk_widget_is_visible
gboolean
GtkWidget *widget
gtk_widget_is_drawable
gboolean
GtkWidget *widget
gtk_widget_get_realized
gboolean
GtkWidget *widget
gtk_widget_get_mapped
gboolean
GtkWidget *widget
gtk_widget_set_parent
void
GtkWidget *widget, GtkWidget *parent
gtk_widget_get_parent
GtkWidget *
GtkWidget *widget
gtk_widget_get_root
GtkRoot *
GtkWidget *widget
gtk_widget_get_native
GtkNative *
GtkWidget *widget
gtk_widget_set_child_visible
void
GtkWidget *widget, gboolean child_visible
gtk_widget_get_child_visible
gboolean
GtkWidget *widget
gtk_widget_get_allocated_width
int
GtkWidget *widget
gtk_widget_get_allocated_height
int
GtkWidget *widget
gtk_widget_get_allocated_baseline
int
GtkWidget *widget
gtk_widget_get_allocation
void
GtkWidget *widget, GtkAllocation *allocation
gtk_widget_compute_transform
gboolean
GtkWidget *widget, GtkWidget *target, graphene_matrix_t *out_transform
gtk_widget_compute_bounds
gboolean
GtkWidget *widget, GtkWidget *target, graphene_rect_t *out_bounds
gtk_widget_compute_point
gboolean
GtkWidget *widget, GtkWidget *target, const graphene_point_t *point, graphene_point_t *out_point
gtk_widget_get_width
int
GtkWidget *widget
gtk_widget_get_height
int
GtkWidget *widget
gtk_widget_child_focus
gboolean
GtkWidget *widget, GtkDirectionType direction
gtk_widget_keynav_failed
gboolean
GtkWidget *widget, GtkDirectionType direction
gtk_widget_error_bell
void
GtkWidget *widget
gtk_widget_set_size_request
void
GtkWidget *widget, gint width, gint height
gtk_widget_get_size_request
void
GtkWidget *widget, gint *width, gint *height
gtk_widget_set_opacity
void
GtkWidget *widget, double opacity
gtk_widget_get_opacity
double
GtkWidget *widget
gtk_widget_set_overflow
void
GtkWidget *widget, GtkOverflow overflow
gtk_widget_get_overflow
GtkOverflow
GtkWidget *widget
gtk_widget_get_ancestor
GtkWidget *
GtkWidget *widget, GType widget_type
gtk_widget_get_scale_factor
gint
GtkWidget *widget
gtk_widget_get_display
GdkDisplay *
GtkWidget *widget
gtk_widget_get_settings
GtkSettings *
GtkWidget *widget
gtk_widget_get_clipboard
GdkClipboard *
GtkWidget *widget
gtk_widget_get_primary_clipboard
GdkClipboard *
GtkWidget *widget
gtk_widget_get_hexpand
gboolean
GtkWidget *widget
gtk_widget_set_hexpand
void
GtkWidget *widget, gboolean expand
gtk_widget_get_hexpand_set
gboolean
GtkWidget *widget
gtk_widget_set_hexpand_set
void
GtkWidget *widget, gboolean set
gtk_widget_get_vexpand
gboolean
GtkWidget *widget
gtk_widget_set_vexpand
void
GtkWidget *widget, gboolean expand
gtk_widget_get_vexpand_set
gboolean
GtkWidget *widget
gtk_widget_set_vexpand_set
void
GtkWidget *widget, gboolean set
gtk_widget_compute_expand
gboolean
GtkWidget *widget, GtkOrientation orientation
gtk_widget_get_support_multidevice
gboolean
GtkWidget *widget
gtk_widget_set_support_multidevice
void
GtkWidget *widget, gboolean support_multidevice
gtk_widget_class_set_accessible_type
void
GtkWidgetClass *widget_class, GType type
gtk_widget_class_set_accessible_role
void
GtkWidgetClass *widget_class, AtkRole role
gtk_widget_get_accessible
AtkObject *
GtkWidget *widget
gtk_widget_get_halign
GtkAlign
GtkWidget *widget
gtk_widget_set_halign
void
GtkWidget *widget, GtkAlign align
gtk_widget_get_valign
GtkAlign
GtkWidget *widget
gtk_widget_set_valign
void
GtkWidget *widget, GtkAlign align
gtk_widget_get_margin_start
gint
GtkWidget *widget
gtk_widget_set_margin_start
void
GtkWidget *widget, gint margin
gtk_widget_get_margin_end
gint
GtkWidget *widget
gtk_widget_set_margin_end
void
GtkWidget *widget, gint margin
gtk_widget_get_margin_top
gint
GtkWidget *widget
gtk_widget_set_margin_top
void
GtkWidget *widget, gint margin
gtk_widget_get_margin_bottom
gint
GtkWidget *widget
gtk_widget_set_margin_bottom
void
GtkWidget *widget, gint margin
gtk_widget_is_ancestor
gboolean
GtkWidget *widget, GtkWidget *ancestor
gtk_widget_translate_coordinates
gboolean
GtkWidget *src_widget, GtkWidget *dest_widget, gint src_x, gint src_y, gint *dest_x, gint *dest_y
gtk_widget_contains
gboolean
GtkWidget *widget, gdouble x, gdouble y
gtk_widget_pick
GtkWidget *
GtkWidget *widget, gdouble x, gdouble y, GtkPickFlags flags
gtk_widget_add_controller
void
GtkWidget *widget, GtkEventController *controller
gtk_widget_remove_controller
void
GtkWidget *widget, GtkEventController *controller
gtk_widget_reset_style
void
GtkWidget *widget
gtk_widget_create_pango_context
PangoContext *
GtkWidget *widget
gtk_widget_get_pango_context
PangoContext *
GtkWidget *widget
gtk_widget_set_font_options
void
GtkWidget *widget, const cairo_font_options_t *options
gtk_widget_get_font_options
const cairo_font_options_t *
GtkWidget *widget
gtk_widget_create_pango_layout
PangoLayout *
GtkWidget *widget, const gchar *text
gtk_widget_set_direction
void
GtkWidget *widget, GtkTextDirection dir
gtk_widget_get_direction
GtkTextDirection
GtkWidget *widget
gtk_widget_set_default_direction
void
GtkTextDirection dir
gtk_widget_get_default_direction
GtkTextDirection
void
gtk_widget_input_shape_combine_region
void
GtkWidget *widget, cairo_region_t *region
gtk_widget_set_cursor
void
GtkWidget *widget, GdkCursor *cursor
gtk_widget_set_cursor_from_name
void
GtkWidget *widget, const char *name
gtk_widget_get_cursor
GdkCursor *
GtkWidget *widget
gtk_widget_list_mnemonic_labels
GList *
GtkWidget *widget
gtk_widget_add_mnemonic_label
void
GtkWidget *widget, GtkWidget *label
gtk_widget_remove_mnemonic_label
void
GtkWidget *widget, GtkWidget *label
gtk_widget_trigger_tooltip_query
void
GtkWidget *widget
gtk_widget_set_tooltip_text
void
GtkWidget *widget, const gchar *text
gtk_widget_get_tooltip_text
gchar *
GtkWidget *widget
gtk_widget_set_tooltip_markup
void
GtkWidget *widget, const gchar *markup
gtk_widget_get_tooltip_markup
gchar *
GtkWidget *widget
gtk_widget_set_has_tooltip
void
GtkWidget *widget, gboolean has_tooltip
gtk_widget_get_has_tooltip
gboolean
GtkWidget *widget
gtk_requisition_get_type
GType
void
gtk_requisition_new
GtkRequisition *
void
gtk_requisition_copy
GtkRequisition *
const GtkRequisition *requisition
gtk_requisition_free
void
GtkRequisition *requisition
gtk_widget_in_destruction
gboolean
GtkWidget *widget
gtk_widget_get_style_context
GtkStyleContext *
GtkWidget *widget
gtk_widget_class_set_css_name
void
GtkWidgetClass *widget_class, const char *name
gtk_widget_class_get_css_name
const char *
GtkWidgetClass *widget_class
gtk_widget_get_modifier_mask
GdkModifierType
GtkWidget *widget, GdkModifierIntent intent
gtk_widget_add_tick_callback
guint
GtkWidget *widget, GtkTickCallback callback, gpointer user_data, GDestroyNotify notify
gtk_widget_remove_tick_callback
void
GtkWidget *widget, guint id
gtk_widget_class_bind_template_callback
#define gtk_widget_class_bind_template_callback(widget_class, callback) \
gtk_widget_class_bind_template_callback_full (GTK_WIDGET_CLASS (widget_class), \
#callback, \
G_CALLBACK (callback))
gtk_widget_class_bind_template_child
#define gtk_widget_class_bind_template_child(widget_class, TypeName, member_name) \
gtk_widget_class_bind_template_child_full (widget_class, \
#member_name, \
FALSE, \
G_STRUCT_OFFSET (TypeName, member_name))
gtk_widget_class_bind_template_child_internal
#define gtk_widget_class_bind_template_child_internal(widget_class, TypeName, member_name) \
gtk_widget_class_bind_template_child_full (widget_class, \
#member_name, \
TRUE, \
G_STRUCT_OFFSET (TypeName, member_name))
gtk_widget_class_bind_template_child_private
#define gtk_widget_class_bind_template_child_private(widget_class, TypeName, member_name) \
gtk_widget_class_bind_template_child_full (widget_class, \
#member_name, \
FALSE, \
G_PRIVATE_OFFSET (TypeName, member_name))
gtk_widget_class_bind_template_child_internal_private
#define gtk_widget_class_bind_template_child_internal_private(widget_class, TypeName, member_name) \
gtk_widget_class_bind_template_child_full (widget_class, \
#member_name, \
TRUE, \
G_PRIVATE_OFFSET (TypeName, member_name))
gtk_widget_init_template
void
GtkWidget *widget
gtk_widget_get_template_child
GObject *
GtkWidget *widget, GType widget_type, const gchar *name
gtk_widget_class_set_template
void
GtkWidgetClass *widget_class, GBytes *template_bytes
gtk_widget_class_set_template_from_resource
void
GtkWidgetClass *widget_class, const gchar *resource_name
gtk_widget_class_bind_template_callback_full
void
GtkWidgetClass *widget_class, const gchar *callback_name, GCallback callback_symbol
gtk_widget_class_set_template_scope
void
GtkWidgetClass *widget_class, GtkBuilderScope *scope
gtk_widget_class_bind_template_child_full
void
GtkWidgetClass *widget_class, const gchar *name, gboolean internal_child, gssize struct_offset
gtk_widget_insert_action_group
void
GtkWidget *widget, const gchar *name, GActionGroup *group
gtk_widget_activate_action
gboolean
GtkWidget *widget, const char *name, const char *format_string, ...
gtk_widget_activate_action_variant
gboolean
GtkWidget *widget, const char *name, GVariant *args
gtk_widget_activate_default
void
GtkWidget *widget
gtk_widget_set_font_map
void
GtkWidget *widget, PangoFontMap *font_map
gtk_widget_get_font_map
PangoFontMap *
GtkWidget *widget
gtk_widget_get_first_child
GtkWidget *
GtkWidget *widget
gtk_widget_get_last_child
GtkWidget *
GtkWidget *widget
gtk_widget_get_next_sibling
GtkWidget *
GtkWidget *widget
gtk_widget_get_prev_sibling
GtkWidget *
GtkWidget *widget
gtk_widget_observe_children
GListModel *
GtkWidget *widget
gtk_widget_observe_controllers
GListModel *
GtkWidget *widget
gtk_widget_insert_after
void
GtkWidget *widget, GtkWidget *parent, GtkWidget *previous_sibling
gtk_widget_insert_before
void
GtkWidget *widget, GtkWidget *parent, GtkWidget *next_sibling
gtk_widget_set_focus_child
void
GtkWidget *widget, GtkWidget *child
gtk_widget_get_focus_child
GtkWidget *
GtkWidget *widget
gtk_widget_snapshot_child
void
GtkWidget *widget, GtkWidget *child, GtkSnapshot *snapshot
gtk_widget_should_layout
gboolean
GtkWidget *widget
gtk_widget_add_css_class
void
GtkWidget *widget, const char *css_class
gtk_widget_remove_css_class
void
GtkWidget *widget, const char *css_class
gtk_widget_has_css_class
gboolean
GtkWidget *widget, const char *css_class
GtkWidgetActionActivateFunc
void
GtkWidget *widget, const char *action_name, GVariant *parameter
gtk_widget_class_install_action
void
GtkWidgetClass *widget_class, const char *action_name, const char *parameter_type, GtkWidgetActionActivateFunc activate
gtk_widget_class_install_property_action
void
GtkWidgetClass *widget_class, const char *action_name, const char *property_name
gtk_widget_class_query_action
gboolean
GtkWidgetClass *widget_class, guint index_, GType *owner, const char **action_name, const GVariantType **parameter_type, const char **property_name
gtk_widget_action_set_enabled
void
GtkWidget *widget, const char *action_name, gboolean enabled
GtkWidgetClassPrivate
GtkWidgetPrivate
GTK_TYPE_WIDGET_PAINTABLE
#define GTK_TYPE_WIDGET_PAINTABLE (gtk_widget_paintable_get_type ())
gtk_widget_paintable_new
GdkPaintable *
GtkWidget *widget
gtk_widget_paintable_get_widget
GtkWidget *
GtkWidgetPaintable *self
gtk_widget_paintable_set_widget
void
GtkWidgetPaintable *self, GtkWidget *widget
GtkWidgetPaintable
GTK_TYPE_WINDOW
#define GTK_TYPE_WINDOW (gtk_window_get_type ())
GTK_WINDOW
#define GTK_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_WINDOW, GtkWindow))
GTK_WINDOW_CLASS
#define GTK_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_WINDOW, GtkWindowClass))
GTK_IS_WINDOW
#define GTK_IS_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_WINDOW))
GTK_IS_WINDOW_CLASS
#define GTK_IS_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_WINDOW))
GTK_WINDOW_GET_CLASS
#define GTK_WINDOW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_WINDOW, GtkWindowClass))
GtkWindow
struct _GtkWindow
{
GtkBin parent_instance;
};
GtkWindowClass
struct _GtkWindowClass
{
GtkBinClass parent_class;
/*< public >*/
/* G_SIGNAL_ACTION signals for keybindings */
void (* activate_focus) (GtkWindow *window);
void (* activate_default) (GtkWindow *window);
void (* keys_changed) (GtkWindow *window);
gboolean (* enable_debugging) (GtkWindow *window,
gboolean toggle);
gboolean (* close_request) (GtkWindow *window);
/*< private >*/
gpointer padding[8];
};
GtkWindowType
typedef enum
{
GTK_WINDOW_TOPLEVEL,
GTK_WINDOW_POPUP
} GtkWindowType;
gtk_window_get_type
GType
void
gtk_window_new
GtkWidget *
GtkWindowType type
gtk_window_set_title
void
GtkWindow *window, const gchar *title
gtk_window_get_title
const gchar *
GtkWindow *window
gtk_window_set_startup_id
void
GtkWindow *window, const gchar *startup_id
gtk_window_add_accel_group
void
GtkWindow *window, GtkAccelGroup *accel_group
gtk_window_remove_accel_group
void
GtkWindow *window, GtkAccelGroup *accel_group
gtk_window_set_focus
void
GtkWindow *window, GtkWidget *focus
gtk_window_get_focus
GtkWidget *
GtkWindow *window
gtk_window_set_default_widget
void
GtkWindow *window, GtkWidget *default_widget
gtk_window_get_default_widget
GtkWidget *
GtkWindow *window
gtk_window_set_transient_for
void
GtkWindow *window, GtkWindow *parent
gtk_window_get_transient_for
GtkWindow *
GtkWindow *window
gtk_window_set_attached_to
void
GtkWindow *window, GtkWidget *attach_widget
gtk_window_get_attached_to
GtkWidget *
GtkWindow *window
gtk_window_set_type_hint
void
GtkWindow *window, GdkSurfaceTypeHint hint
gtk_window_get_type_hint
GdkSurfaceTypeHint
GtkWindow *window
gtk_window_set_accept_focus
void
GtkWindow *window, gboolean setting
gtk_window_get_accept_focus
gboolean
GtkWindow *window
gtk_window_set_focus_on_map
void
GtkWindow *window, gboolean setting
gtk_window_get_focus_on_map
gboolean
GtkWindow *window
gtk_window_set_destroy_with_parent
void
GtkWindow *window, gboolean setting
gtk_window_get_destroy_with_parent
gboolean
GtkWindow *window
gtk_window_set_hide_on_close
void
GtkWindow *window, gboolean setting
gtk_window_get_hide_on_close
gboolean
GtkWindow *window
gtk_window_set_mnemonics_visible
void
GtkWindow *window, gboolean setting
gtk_window_get_mnemonics_visible
gboolean
GtkWindow *window
gtk_window_set_focus_visible
void
GtkWindow *window, gboolean setting
gtk_window_get_focus_visible
gboolean
GtkWindow *window
gtk_window_set_resizable
void
GtkWindow *window, gboolean resizable
gtk_window_get_resizable
gboolean
GtkWindow *window
gtk_window_set_display
void
GtkWindow *window, GdkDisplay *display
gtk_window_is_active
gboolean
GtkWindow *window
gtk_window_set_decorated
void
GtkWindow *window, gboolean setting
gtk_window_get_decorated
gboolean
GtkWindow *window
gtk_window_set_deletable
void
GtkWindow *window, gboolean setting
gtk_window_get_deletable
gboolean
GtkWindow *window
gtk_window_set_icon_name
void
GtkWindow *window, const gchar *name
gtk_window_get_icon_name
const gchar *
GtkWindow *window
gtk_window_set_default_icon_name
void
const gchar *name
gtk_window_get_default_icon_name
const gchar *
void
gtk_window_set_auto_startup_notification
void
gboolean setting
gtk_window_set_modal
void
GtkWindow *window, gboolean modal
gtk_window_get_modal
gboolean
GtkWindow *window
gtk_window_get_toplevels
GListModel *
void
gtk_window_list_toplevels
GList *
void
gtk_window_set_has_user_ref_count
void
GtkWindow *window, gboolean setting
gtk_window_add_mnemonic
void
GtkWindow *window, guint keyval, GtkWidget *target
gtk_window_remove_mnemonic
void
GtkWindow *window, guint keyval, GtkWidget *target
gtk_window_mnemonic_activate
gboolean
GtkWindow *window, guint keyval, GdkModifierType modifier
gtk_window_set_mnemonic_modifier
void
GtkWindow *window, GdkModifierType modifier
gtk_window_get_mnemonic_modifier
GdkModifierType
GtkWindow *window
gtk_window_activate_key
gboolean
GtkWindow *window, GdkEventKey *event
gtk_window_propagate_key_event
gboolean
GtkWindow *window, GdkEventKey *event
gtk_window_present
void
GtkWindow *window
gtk_window_present_with_time
void
GtkWindow *window, guint32 timestamp
gtk_window_minimize
void
GtkWindow *window
gtk_window_unminimize
void
GtkWindow *window
gtk_window_stick
void
GtkWindow *window
gtk_window_unstick
void
GtkWindow *window
gtk_window_maximize
void
GtkWindow *window
gtk_window_unmaximize
void
GtkWindow *window
gtk_window_fullscreen
void
GtkWindow *window
gtk_window_unfullscreen
void
GtkWindow *window
gtk_window_fullscreen_on_monitor
void
GtkWindow *window, GdkMonitor *monitor
gtk_window_close
void
GtkWindow *window
gtk_window_set_keep_above
void
GtkWindow *window, gboolean setting
gtk_window_set_keep_below
void
GtkWindow *window, gboolean setting
gtk_window_begin_resize_drag
void
GtkWindow *window, GdkSurfaceEdge edge, gint button, gint x, gint y, guint32 timestamp
gtk_window_begin_move_drag
void
GtkWindow *window, gint button, gint x, gint y, guint32 timestamp
gtk_window_set_default_size
void
GtkWindow *window, gint width, gint height
gtk_window_get_default_size
void
GtkWindow *window, gint *width, gint *height
gtk_window_resize
void
GtkWindow *window, gint width, gint height
gtk_window_get_size
void
GtkWindow *window, gint *width, gint *height
gtk_window_get_group
GtkWindowGroup *
GtkWindow *window
gtk_window_has_group
gboolean
GtkWindow *window
gtk_window_get_window_type
GtkWindowType
GtkWindow *window
gtk_window_get_application
GtkApplication *
GtkWindow *window
gtk_window_set_application
void
GtkWindow *window, GtkApplication *application
gtk_window_set_titlebar
void
GtkWindow *window, GtkWidget *titlebar
gtk_window_get_titlebar
GtkWidget *
GtkWindow *window
gtk_window_is_maximized
gboolean
GtkWindow *window
gtk_window_set_interactive_debugging
void
gboolean enable
GtkWindowGeometryInfo
GtkWindowGroup
GtkWindowGroupClass
GtkWindowGroupPrivate
GTK_TYPE_WINDOW_GROUP
#define GTK_TYPE_WINDOW_GROUP (gtk_window_group_get_type ())
GTK_WINDOW_GROUP
#define GTK_WINDOW_GROUP(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), GTK_TYPE_WINDOW_GROUP, GtkWindowGroup))
GTK_WINDOW_GROUP_CLASS
#define GTK_WINDOW_GROUP_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_WINDOW_GROUP, GtkWindowGroupClass))
GTK_IS_WINDOW_GROUP
#define GTK_IS_WINDOW_GROUP(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), GTK_TYPE_WINDOW_GROUP))
GTK_IS_WINDOW_GROUP_CLASS
#define GTK_IS_WINDOW_GROUP_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_WINDOW_GROUP))
GTK_WINDOW_GROUP_GET_CLASS
#define GTK_WINDOW_GROUP_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_WINDOW_GROUP, GtkWindowGroupClass))
GtkWindowGroup
struct _GtkWindowGroup
{
GObject parent_instance;
GtkWindowGroupPrivate *priv;
};
GtkWindowGroupClass
struct _GtkWindowGroupClass
{
GObjectClass parent_class;
/* Padding for future expansion */
void (*_gtk_reserved1) (void);
void (*_gtk_reserved2) (void);
void (*_gtk_reserved3) (void);
void (*_gtk_reserved4) (void);
};
gtk_window_group_get_type
GType
void
gtk_window_group_new
GtkWindowGroup *
void
gtk_window_group_add_window
void
GtkWindowGroup *window_group, GtkWindow *window
gtk_window_group_remove_window
void
GtkWindowGroup *window_group, GtkWindow *window
gtk_window_group_list_windows
GList *
GtkWindowGroup *window_group
gtk_window_group_get_current_grab
GtkWidget *
GtkWindowGroup *window_group
gtk_window_group_get_current_device_grab
GtkWidget *
GtkWindowGroup *window_group, GdkDevice *device
get_language_name
const char *
PangoLanguage *language
get_language_name_for_tag
const char *
guint32 tag
NamedTag
typedef struct {
unsigned int tag;
const char *name;
} NamedTag;
MAKE_TAG
#define MAKE_TAG(a,b,c,d) (unsigned int)(((a) << 24) | ((b) << 16) | ((c) << 8) | (d))
get_script_name
const char *
GUnicodeScript script
get_script_name_for_tag
const char *
guint32 tag
GTK_TYPE_BOOLEAN_CELL_ACCESSIBLE
#define GTK_TYPE_BOOLEAN_CELL_ACCESSIBLE (gtk_boolean_cell_accessible_get_type ())
GTK_BOOLEAN_CELL_ACCESSIBLE
#define GTK_BOOLEAN_CELL_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_BOOLEAN_CELL_ACCESSIBLE, GtkBooleanCellAccessible))
GTK_BOOLEAN_CELL_ACCESSIBLE_CLASS
#define GTK_BOOLEAN_CELL_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GAIL_BOOLEAN_CELL, GtkBooleanCellAccessibleClass))
GTK_IS_BOOLEAN_CELL_ACCESSIBLE
#define GTK_IS_BOOLEAN_CELL_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_BOOLEAN_CELL_ACCESSIBLE))
GTK_IS_BOOLEAN_CELL_ACCESSIBLE_CLASS
#define GTK_IS_BOOLEAN_CELL_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_BOOLEAN_CELL_ACCESSIBLE))
GTK_BOOLEAN_CELL_ACCESSIBLE_GET_CLASS
#define GTK_BOOLEAN_CELL_ACCESSIBLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_BOOLEAN_CELL_ACCESSIBLE, GtkBooleanCellAccessibleClass))
GtkBooleanCellAccessible
struct _GtkBooleanCellAccessible
{
GtkRendererCellAccessible parent;
GtkBooleanCellAccessiblePrivate *priv;
};
GtkBooleanCellAccessibleClass
struct _GtkBooleanCellAccessibleClass
{
GtkRendererCellAccessibleClass parent_class;
};
gtk_boolean_cell_accessible_get_type
GType
void
GtkBooleanCellAccessiblePrivate
GTK_TYPE_BUTTON_ACCESSIBLE
#define GTK_TYPE_BUTTON_ACCESSIBLE (gtk_button_accessible_get_type ())
GTK_BUTTON_ACCESSIBLE
#define GTK_BUTTON_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_BUTTON_ACCESSIBLE, GtkButtonAccessible))
GTK_BUTTON_ACCESSIBLE_CLASS
#define GTK_BUTTON_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_BUTTON_ACCESSIBLE, GtkButtonAccessibleClass))
GTK_IS_BUTTON_ACCESSIBLE
#define GTK_IS_BUTTON_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_BUTTON_ACCESSIBLE))
GTK_IS_BUTTON_ACCESSIBLE_CLASS
#define GTK_IS_BUTTON_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_BUTTON_ACCESSIBLE))
GTK_BUTTON_ACCESSIBLE_GET_CLASS
#define GTK_BUTTON_ACCESSIBLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_BUTTON_ACCESSIBLE, GtkButtonAccessibleClass))
GtkButtonAccessible
struct _GtkButtonAccessible
{
GtkContainerAccessible parent;
GtkButtonAccessiblePrivate *priv;
};
GtkButtonAccessibleClass
struct _GtkButtonAccessibleClass
{
GtkContainerAccessibleClass parent_class;
};
gtk_button_accessible_get_type
GType
void
GtkButtonAccessiblePrivate
GTK_TYPE_CELL_ACCESSIBLE
#define GTK_TYPE_CELL_ACCESSIBLE (gtk_cell_accessible_get_type ())
GTK_CELL_ACCESSIBLE
#define GTK_CELL_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_CELL_ACCESSIBLE, GtkCellAccessible))
GTK_CELL_ACCESSIBLE_CLASS
#define GTK_CELL_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_CELL_ACCESSIBLE, GtkCellAccessibleClass))
GTK_IS_CELL_ACCESSIBLE
#define GTK_IS_CELL_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_CELL_ACCESSIBLE))
GTK_IS_CELL_ACCESSIBLE_CLASS
#define GTK_IS_CELL_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_CELL_ACCESSIBLE))
GTK_CELL_ACCESSIBLE_GET_CLASS
#define GTK_CELL_ACCESSIBLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_CELL_ACCESSIBLE, GtkCellAccessibleClass))
GtkCellAccessible
struct _GtkCellAccessible
{
GtkAccessible parent;
GtkCellAccessiblePrivate *priv;
};
GtkCellAccessibleClass
struct _GtkCellAccessibleClass
{
GtkAccessibleClass parent_class;
void (*update_cache) (GtkCellAccessible *cell,
gboolean emit_signal);
};
gtk_cell_accessible_get_type
GType
void
GtkCellAccessiblePrivate
GTK_TYPE_CELL_ACCESSIBLE_PARENT
#define GTK_TYPE_CELL_ACCESSIBLE_PARENT (gtk_cell_accessible_parent_get_type ())
GTK_IS_CELL_ACCESSIBLE_PARENT
#define GTK_IS_CELL_ACCESSIBLE_PARENT(obj) G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_CELL_ACCESSIBLE_PARENT)
GTK_CELL_ACCESSIBLE_PARENT
#define GTK_CELL_ACCESSIBLE_PARENT(obj) G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_CELL_ACCESSIBLE_PARENT, GtkCellAccessibleParent)
GTK_CELL_ACCESSIBLE_PARENT_GET_IFACE
#define GTK_CELL_ACCESSIBLE_PARENT_GET_IFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), GTK_TYPE_CELL_ACCESSIBLE_PARENT, GtkCellAccessibleParentIface))
GtkCellAccessibleParentIface
struct _GtkCellAccessibleParentIface
{
GTypeInterface parent;
void ( *get_cell_extents) (GtkCellAccessibleParent *parent,
GtkCellAccessible *cell,
gint *x,
gint *y,
gint *width,
gint *height,
AtkCoordType coord_type);
void ( *get_cell_area) (GtkCellAccessibleParent *parent,
GtkCellAccessible *cell,
GdkRectangle *cell_rect);
gboolean ( *grab_focus) (GtkCellAccessibleParent *parent,
GtkCellAccessible *cell);
int ( *get_child_index) (GtkCellAccessibleParent *parent,
GtkCellAccessible *cell);
GtkCellRendererState
( *get_renderer_state) (GtkCellAccessibleParent *parent,
GtkCellAccessible *cell);
/* actions */
void ( *expand_collapse) (GtkCellAccessibleParent *parent,
GtkCellAccessible *cell);
void ( *activate) (GtkCellAccessibleParent *parent,
GtkCellAccessible *cell);
void ( *edit) (GtkCellAccessibleParent *parent,
GtkCellAccessible *cell);
/* end of actions */
void ( *update_relationset) (GtkCellAccessibleParent *parent,
GtkCellAccessible *cell,
AtkRelationSet *relationset);
void ( *get_cell_position) (GtkCellAccessibleParent *parent,
GtkCellAccessible *cell,
gint *row,
gint *column);
GPtrArray * ( *get_column_header_cells) (GtkCellAccessibleParent *parent,
GtkCellAccessible *cell);
GPtrArray * ( *get_row_header_cells) (GtkCellAccessibleParent *parent,
GtkCellAccessible *cell);
};
gtk_cell_accessible_parent_get_type
GType
void
gtk_cell_accessible_parent_get_cell_extents
void
GtkCellAccessibleParent *parent, GtkCellAccessible *cell, gint *x, gint *y, gint *width, gint *height, AtkCoordType coord_type
gtk_cell_accessible_parent_get_cell_area
void
GtkCellAccessibleParent *parent, GtkCellAccessible *cell, GdkRectangle *cell_rect
gtk_cell_accessible_parent_grab_focus
gboolean
GtkCellAccessibleParent *parent, GtkCellAccessible *cell
gtk_cell_accessible_parent_get_child_index
int
GtkCellAccessibleParent *parent, GtkCellAccessible *cell
gtk_cell_accessible_parent_get_renderer_state
GtkCellRendererState
GtkCellAccessibleParent *parent, GtkCellAccessible *cell
gtk_cell_accessible_parent_expand_collapse
void
GtkCellAccessibleParent *parent, GtkCellAccessible *cell
gtk_cell_accessible_parent_activate
void
GtkCellAccessibleParent *parent, GtkCellAccessible *cell
gtk_cell_accessible_parent_edit
void
GtkCellAccessibleParent *parent, GtkCellAccessible *cell
gtk_cell_accessible_parent_update_relationset
void
GtkCellAccessibleParent *parent, GtkCellAccessible *cell, AtkRelationSet *relationset
gtk_cell_accessible_parent_get_cell_position
void
GtkCellAccessibleParent *parent, GtkCellAccessible *cell, gint *row, gint *column
gtk_cell_accessible_parent_get_column_header_cells
GPtrArray *
GtkCellAccessibleParent *parent, GtkCellAccessible *cell
gtk_cell_accessible_parent_get_row_header_cells
GPtrArray *
GtkCellAccessibleParent *parent, GtkCellAccessible *cell
GtkCellAccessibleParent
GTK_TYPE_COLOR_SWATCH_ACCESSIBLE
#define GTK_TYPE_COLOR_SWATCH_ACCESSIBLE (_gtk_color_swatch_accessible_get_type ())
GTK_COLOR_SWATCH_ACCESSIBLE
#define GTK_COLOR_SWATCH_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_COLOR_SWATCH_ACCESSIBLE, GtkColorSwatchAccessible))
GTK_COLOR_SWATCH_ACCESSIBLE_CLASS
#define GTK_COLOR_SWATCH_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_COLOR_SWATCH_ACCESSIBLE, GtkColorSwatchAccessibleClass))
GTK_IS_COLOR_SWATCH_ACCESSIBLE
#define GTK_IS_COLOR_SWATCH_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_COLOR_SWATCH_ACCESSIBLE))
GTK_IS_COLOR_SWATCH_ACCESSIBLE_CLASS
#define GTK_IS_COLOR_SWATCH_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_COLOR_SWATCH_ACCESSIBLE))
GTK_COLOR_SWATCH_ACCESSIBLE_GET_CLASS
#define GTK_COLOR_SWATCH_ACCESSIBLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_COLOR_SWATCH_ACCESSIBLE, GtkColorSwatchAccessibleClass))
GtkColorSwatchAccessible
struct _GtkColorSwatchAccessible
{
GtkWidgetAccessible parent;
GtkColorSwatchAccessiblePrivate *priv;
};
GtkColorSwatchAccessibleClass
struct _GtkColorSwatchAccessibleClass
{
GtkWidgetAccessibleClass parent_class;
};
GtkColorSwatchAccessiblePrivate
GTK_TYPE_COMBO_BOX_ACCESSIBLE
#define GTK_TYPE_COMBO_BOX_ACCESSIBLE (gtk_combo_box_accessible_get_type ())
GTK_COMBO_BOX_ACCESSIBLE
#define GTK_COMBO_BOX_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_COMBO_BOX_ACCESSIBLE, GtkComboBoxAccessible))
GTK_COMBO_BOX_ACCESSIBLE_CLASS
#define GTK_COMBO_BOX_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_COMBO_BOX_ACCESSIBLE, GtkComboBoxAccessibleClass))
GTK_IS_COMBO_BOX_ACCESSIBLE
#define GTK_IS_COMBO_BOX_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_COMBO_BOX_ACCESSIBLE))
GTK_IS_COMBO_BOX_ACCESSIBLE_CLASS
#define GTK_IS_COMBO_BOX_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_COMBO_BOX_ACCESSIBLE))
GTK_COMBO_BOX_ACCESSIBLE_GET_CLASS
#define GTK_COMBO_BOX_ACCESSIBLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_COMBO_BOX_ACCESSIBLE, GtkComboBoxAccessibleClass))
GtkComboBoxAccessible
struct _GtkComboBoxAccessible
{
GtkContainerAccessible parent;
GtkComboBoxAccessiblePrivate *priv;
};
GtkComboBoxAccessibleClass
struct _GtkComboBoxAccessibleClass
{
GtkContainerAccessibleClass parent_class;
};
gtk_combo_box_accessible_get_type
GType
void
GtkComboBoxAccessiblePrivate
GTK_TYPE_COMPOSITE_ACCESSIBLE
#define GTK_TYPE_COMPOSITE_ACCESSIBLE (gtk_composite_accessible_get_type ())
GTK_COMPOSITE_ACCESSIBLE
#define GTK_COMPOSITE_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_COMPOSITE_ACCESSIBLE, GtkCompositeAccessible))
GTK_COMPOSITE_ACCESSIBLE_CLASS
#define GTK_COMPOSITE_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_COMPOSITE_ACCESSIBLE, GtkCompositeAccessibleClass))
GTK_IS_COMPOSITE_ACCESSIBLE
#define GTK_IS_COMPOSITE_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_COMPOSITE_ACCESSIBLE))
GTK_IS_COMPOSITE_ACCESSIBLE_CLASS
#define GTK_IS_COMPOSITE_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_COMPOSITE_ACCESSIBLE))
GTK_COMPOSITE_ACCESSIBLE_GET_CLASS
#define GTK_COMPOSITE_ACCESSIBLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_COMPOSITE_ACCESSIBLE, GtkCompositeAccessibleClass))
GtkCompositeAccessible
struct _GtkCompositeAccessible
{
GtkWidgetAccessible parent;
};
GtkCompositeAccessibleClass
struct _GtkCompositeAccessibleClass
{
GtkWidgetAccessibleClass parent_class;
};
gtk_composite_accessible_get_type
GType
void
GTK_TYPE_CONTAINER_ACCESSIBLE
#define GTK_TYPE_CONTAINER_ACCESSIBLE (gtk_container_accessible_get_type ())
GTK_CONTAINER_ACCESSIBLE
#define GTK_CONTAINER_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_CONTAINER_ACCESSIBLE, GtkContainerAccessible))
GTK_CONTAINER_ACCESSIBLE_CLASS
#define GTK_CONTAINER_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_CONTAINER_ACCESSIBLE, GtkContainerAccessibleClass))
GTK_IS_CONTAINER_ACCESSIBLE
#define GTK_IS_CONTAINER_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_CONTAINER_ACCESSIBLE))
GTK_IS_CONTAINER_ACCESSIBLE_CLASS
#define GTK_IS_CONTAINER_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_CONTAINER_ACCESSIBLE))
GTK_CONTAINER_ACCESSIBLE_GET_CLASS
#define GTK_CONTAINER_ACCESSIBLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_CONTAINER_ACCESSIBLE, GtkContainerAccessibleClass))
GtkContainerAccessible
struct _GtkContainerAccessible
{
GtkWidgetAccessible parent;
GtkContainerAccessiblePrivate *priv;
};
GtkContainerAccessibleClass
struct _GtkContainerAccessibleClass
{
GtkWidgetAccessibleClass parent_class;
gint (*add_gtk) (GtkContainer *container,
GtkWidget *widget,
gpointer data);
gint (*remove_gtk) (GtkContainer *container,
GtkWidget *widget,
gpointer data);
};
gtk_container_accessible_get_type
GType
void
GtkContainerAccessiblePrivate
GTK_TYPE_CONTAINER_CELL_ACCESSIBLE
#define GTK_TYPE_CONTAINER_CELL_ACCESSIBLE (gtk_container_cell_accessible_get_type ())
GTK_CONTAINER_CELL_ACCESSIBLE
#define GTK_CONTAINER_CELL_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_CONTAINER_CELL_ACCESSIBLE, GtkContainerCellAccessible))
GTK_CONTAINER_CELL_ACCESSIBLE_CLASS
#define GTK_CONTAINER_CELL_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_CONTAINER_CELL_ACCESSIBLE, GtkContainerCellAccessibleClass))
GTK_IS_CONTAINER_CELL_ACCESSIBLE
#define GTK_IS_CONTAINER_CELL_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_CONTAINER_CELL_ACCESSIBLE))
GTK_IS_CONTAINER_CELL_ACCESSIBLE_CLASS
#define GTK_IS_CONTAINER_CELL_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_CONTAINER_CELL_ACCESSIBLE))
GTK_CONTAINER_CELL_ACCESSIBLE_GET_CLASS
#define GTK_CONTAINER_CELL_ACCESSIBLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_CONTAINER_CELL_ACCESSIBLE, GtkContainerCellAccessibleClass))
GtkContainerCellAccessible
struct _GtkContainerCellAccessible
{
GtkCellAccessible parent;
GtkContainerCellAccessiblePrivate *priv;
};
GtkContainerCellAccessibleClass
struct _GtkContainerCellAccessibleClass
{
GtkCellAccessibleClass parent_class;
};
gtk_container_cell_accessible_get_type
GType
void
gtk_container_cell_accessible_new
GtkContainerCellAccessible *
void
gtk_container_cell_accessible_add_child
void
GtkContainerCellAccessible *container, GtkCellAccessible *child
gtk_container_cell_accessible_remove_child
void
GtkContainerCellAccessible *container, GtkCellAccessible *child
gtk_container_cell_accessible_get_children
GList *
GtkContainerCellAccessible *container
GtkContainerCellAccessiblePrivate
GTK_TYPE_ENTRY_ACCESSIBLE
#define GTK_TYPE_ENTRY_ACCESSIBLE (gtk_entry_accessible_get_type ())
GTK_ENTRY_ACCESSIBLE
#define GTK_ENTRY_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_ENTRY_ACCESSIBLE, GtkEntryAccessible))
GTK_ENTRY_ACCESSIBLE_CLASS
#define GTK_ENTRY_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_ENTRY_ACCESSIBLE, GtkEntryAccessibleClass))
GTK_IS_ENTRY_ACCESSIBLE
#define GTK_IS_ENTRY_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_ENTRY_ACCESSIBLE))
GTK_IS_ENTRY_ACCESSIBLE_CLASS
#define GTK_IS_ENTRY_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_ENTRY_ACCESSIBLE))
GTK_ENTRY_ACCESSIBLE_GET_CLASS
#define GTK_ENTRY_ACCESSIBLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_ENTRY_ACCESSIBLE, GtkEntryAccessibleClass))
GtkEntryAccessible
struct _GtkEntryAccessible
{
GtkWidgetAccessible parent;
GtkEntryAccessiblePrivate *priv;
};
GtkEntryAccessibleClass
struct _GtkEntryAccessibleClass
{
GtkWidgetAccessibleClass parent_class;
};
gtk_entry_accessible_get_type
GType
void
gtk_entry_icon_accessible_get_type
GType
void
GtkEntryAccessiblePrivate
GTK_TYPE_EXPANDER_ACCESSIBLE
#define GTK_TYPE_EXPANDER_ACCESSIBLE (gtk_expander_accessible_get_type ())
GTK_EXPANDER_ACCESSIBLE
#define GTK_EXPANDER_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_EXPANDER_ACCESSIBLE, GtkExpanderAccessible))
GTK_EXPANDER_ACCESSIBLE_CLASS
#define GTK_EXPANDER_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_EXPANDER_ACCESSIBLE, GtkExpanderAccessibleClass))
GTK_IS_EXPANDER_ACCESSIBLE
#define GTK_IS_EXPANDER_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_EXPANDER_ACCESSIBLE))
GTK_IS_EXPANDER_ACCESSIBLE_CLASS
#define GTK_IS_EXPANDER_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_EXPANDER_ACCESSIBLE))
GTK_EXPANDER_ACCESSIBLE_GET_CLASS
#define GTK_EXPANDER_ACCESSIBLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_EXPANDER_ACCESSIBLE, GtkExpanderAccessibleClass))
GtkExpanderAccessible
struct _GtkExpanderAccessible
{
GtkContainerAccessible parent;
GtkExpanderAccessiblePrivate *priv;
};
GtkExpanderAccessibleClass
struct _GtkExpanderAccessibleClass
{
GtkContainerAccessibleClass parent_class;
};
gtk_expander_accessible_get_type
GType
void
GtkExpanderAccessiblePrivate
GTK_TYPE_FLOW_BOX_ACCESSIBLE
#define GTK_TYPE_FLOW_BOX_ACCESSIBLE (gtk_flow_box_accessible_get_type ())
GTK_FLOW_BOX_ACCESSIBLE
#define GTK_FLOW_BOX_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_FLOW_BOX_ACCESSIBLE, GtkFlowBoxAccessible))
GTK_FLOW_BOX_ACCESSIBLE_CLASS
#define GTK_FLOW_BOX_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_FLOW_BOX_ACCESSIBLE, GtkFlowBoxAccessibleClass))
GTK_IS_FLOW_BOX_ACCESSIBLE
#define GTK_IS_FLOW_BOX_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_FLOW_BOX_ACCESSIBLE))
GTK_IS_FLOW_BOX_ACCESSIBLE_CLASS
#define GTK_IS_FLOW_BOX_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_FLOW_BOX_ACCESSIBLE))
GTK_FLOW_BOX_ACCESSIBLE_GET_CLASS
#define GTK_FLOW_BOX_ACCESSIBLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_FLOW_BOX_ACCESSIBLE, GtkFlowBoxAccessibleClass))
GtkFlowBoxAccessible
struct _GtkFlowBoxAccessible
{
GtkContainerAccessible parent;
GtkFlowBoxAccessiblePrivate *priv;
};
GtkFlowBoxAccessibleClass
struct _GtkFlowBoxAccessibleClass
{
GtkContainerAccessibleClass parent_class;
};
gtk_flow_box_accessible_get_type
GType
void
GtkFlowBoxAccessiblePrivate
GTK_TYPE_FLOW_BOX_CHILD_ACCESSIBLE
#define GTK_TYPE_FLOW_BOX_CHILD_ACCESSIBLE (gtk_flow_box_child_accessible_get_type ())
GTK_FLOW_BOX_CHILD_ACCESSIBLE
#define GTK_FLOW_BOX_CHILD_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_FLOW_BOX_CHILD_ACCESSIBLE, GtkFlowBoxChildAccessible))
GTK_FLOW_BOX_CHILD_ACCESSIBLE_CLASS
#define GTK_FLOW_BOX_CHILD_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_FLOW_BOX_CHILD_ACCESSIBLE, GtkFlowBoxChildAccessibleClass))
GTK_IS_FLOW_BOX_CHILD_ACCESSIBLE
#define GTK_IS_FLOW_BOX_CHILD_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_FLOW_BOX_CHILD_ACCESSIBLE))
GTK_IS_FLOW_BOX_CHILD_ACCESSIBLE_CLASS
#define GTK_IS_FLOW_BOX_CHILD_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_FLOW_BOX_CHILD_ACCESSIBLE))
GTK_FLOW_BOX_CHILD_ACCESSIBLE_GET_CLASS
#define GTK_FLOW_BOX_CHILD_ACCESSIBLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_FLOW_BOX_CHILD_ACCESSIBLE, GtkFlowBoxChildAccessibleClass))
GtkFlowBoxChildAccessible
struct _GtkFlowBoxChildAccessible
{
GtkContainerAccessible parent;
};
GtkFlowBoxChildAccessibleClass
struct _GtkFlowBoxChildAccessibleClass
{
GtkContainerAccessibleClass parent_class;
};
gtk_flow_box_child_accessible_get_type
GType
void
GTK_TYPE_FRAME_ACCESSIBLE
#define GTK_TYPE_FRAME_ACCESSIBLE (gtk_frame_accessible_get_type ())
GTK_FRAME_ACCESSIBLE
#define GTK_FRAME_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_FRAME_ACCESSIBLE, GtkFrameAccessible))
GTK_FRAME_ACCESSIBLE_CLASS
#define GTK_FRAME_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_FRAME_ACCESSIBLE, GtkFrameAccessibleClass))
GTK_IS_FRAME_ACCESSIBLE
#define GTK_IS_FRAME_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_FRAME_ACCESSIBLE))
GTK_IS_FRAME_ACCESSIBLE_CLASS
#define GTK_IS_FRAME_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_FRAME_ACCESSIBLE))
GTK_FRAME_ACCESSIBLE_GET_CLASS
#define GTK_FRAME_ACCESSIBLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_FRAME_ACCESSIBLE, GtkFrameAccessibleClass))
GtkFrameAccessible
struct _GtkFrameAccessible
{
GtkContainerAccessible parent;
GtkFrameAccessiblePrivate *priv;
};
GtkFrameAccessibleClass
struct _GtkFrameAccessibleClass
{
GtkContainerAccessibleClass parent_class;
};
gtk_frame_accessible_get_type
GType
void
GtkFrameAccessiblePrivate
GTK_TYPE_ICON_VIEW_ACCESSIBLE
#define GTK_TYPE_ICON_VIEW_ACCESSIBLE (gtk_icon_view_accessible_get_type ())
GTK_ICON_VIEW_ACCESSIBLE
#define GTK_ICON_VIEW_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_ICON_VIEW_ACCESSIBLE, GtkIconViewAccessible))
GTK_ICON_VIEW_ACCESSIBLE_CLASS
#define GTK_ICON_VIEW_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_ICON_VIEW_ACCESSIBLE, GtkIconViewAccessibleClass))
GTK_IS_ICON_VIEW_ACCESSIBLE
#define GTK_IS_ICON_VIEW_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_ICON_VIEW_ACCESSIBLE))
GTK_IS_ICON_VIEW_ACCESSIBLE_CLASS
#define GTK_IS_ICON_VIEW_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_ICON_VIEW_ACCESSIBLE))
GTK_ICON_VIEW_ACCESSIBLE_GET_CLASS
#define GTK_ICON_VIEW_ACCESSIBLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_ICON_VIEW_ACCESSIBLE, GtkIconViewAccessibleClass))
GtkIconViewAccessible
struct _GtkIconViewAccessible
{
GtkContainerAccessible parent;
GtkIconViewAccessiblePrivate *priv;
};
GtkIconViewAccessibleClass
struct _GtkIconViewAccessibleClass
{
GtkContainerAccessibleClass parent_class;
};
gtk_icon_view_accessible_get_type
GType
void
GtkIconViewAccessiblePrivate
GTK_TYPE_IMAGE_ACCESSIBLE
#define GTK_TYPE_IMAGE_ACCESSIBLE (gtk_image_accessible_get_type ())
GTK_IMAGE_ACCESSIBLE
#define GTK_IMAGE_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_IMAGE_ACCESSIBLE, GtkImageAccessible))
GTK_IMAGE_ACCESSIBLE_CLASS
#define GTK_IMAGE_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_IMAGE_ACCESSIBLE, GtkImageAccessibleClass))
GTK_IS_IMAGE_ACCESSIBLE
#define GTK_IS_IMAGE_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_IMAGE_ACCESSIBLE))
GTK_IS_IMAGE_ACCESSIBLE_CLASS
#define GTK_IS_IMAGE_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_IMAGE_ACCESSIBLE))
GTK_IMAGE_ACCESSIBLE_GET_CLASS
#define GTK_IMAGE_ACCESSIBLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_IMAGE_ACCESSIBLE, GtkImageAccessibleClass))
GtkImageAccessible
struct _GtkImageAccessible
{
GtkWidgetAccessible parent;
GtkImageAccessiblePrivate *priv;
};
GtkImageAccessibleClass
struct _GtkImageAccessibleClass
{
GtkWidgetAccessibleClass parent_class;
};
gtk_image_accessible_get_type
GType
void
GtkImageAccessiblePrivate
GTK_TYPE_IMAGE_CELL_ACCESSIBLE
#define GTK_TYPE_IMAGE_CELL_ACCESSIBLE (gtk_image_cell_accessible_get_type ())
GTK_IMAGE_CELL_ACCESSIBLE
#define GTK_IMAGE_CELL_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_IMAGE_CELL_ACCESSIBLE, GtkImageCellAccessible))
GTK_IMAGE_CELL_ACCESSIBLE_CLASS
#define GTK_IMAGE_CELL_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_IMAGE_CELL_ACCESSIBLE, GtkImageCellAccessibleClass))
GTK_IS_IMAGE_CELL_ACCESSIBLE
#define GTK_IS_IMAGE_CELL_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_IMAGE_CELL_ACCESSIBLE))
GTK_IS_IMAGE_CELL_ACCESSIBLE_CLASS
#define GTK_IS_IMAGE_CELL_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_IMAGE_CELL_ACCESSIBLE))
GTK_IMAGE_CELL_ACCESSIBLE_GET_CLASS
#define GTK_IMAGE_CELL_ACCESSIBLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_IMAGE_CELL_ACCESSIBLE, GtkImageCellAccessibleClass))
GtkImageCellAccessible
struct _GtkImageCellAccessible
{
GtkRendererCellAccessible parent;
GtkImageCellAccessiblePrivate *priv;
};
GtkImageCellAccessibleClass
struct _GtkImageCellAccessibleClass
{
GtkRendererCellAccessibleClass parent_class;
};
gtk_image_cell_accessible_get_type
GType
void
GtkImageCellAccessiblePrivate
GTK_TYPE_LABEL_ACCESSIBLE
#define GTK_TYPE_LABEL_ACCESSIBLE (gtk_label_accessible_get_type ())
GTK_LABEL_ACCESSIBLE
#define GTK_LABEL_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_LABEL_ACCESSIBLE, GtkLabelAccessible))
GTK_LABEL_ACCESSIBLE_CLASS
#define GTK_LABEL_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_LABEL_ACCESSIBLE, GtkLabelAccessibleClass))
GTK_IS_LABEL_ACCESSIBLE
#define GTK_IS_LABEL_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_LABEL_ACCESSIBLE))
GTK_IS_LABEL_ACCESSIBLE_CLASS
#define GTK_IS_LABEL_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_LABEL_ACCESSIBLE))
GTK_LABEL_ACCESSIBLE_GET_CLASS
#define GTK_LABEL_ACCESSIBLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_LABEL_ACCESSIBLE, GtkLabelAccessibleClass))
GtkLabelAccessible
struct _GtkLabelAccessible
{
GtkWidgetAccessible parent;
GtkLabelAccessiblePrivate *priv;
};
GtkLabelAccessibleClass
struct _GtkLabelAccessibleClass
{
GtkWidgetAccessibleClass parent_class;
};
gtk_label_accessible_get_type
GType
void
GtkLabelAccessiblePrivate
GTK_TYPE_LEVEL_BAR_ACCESSIBLE
#define GTK_TYPE_LEVEL_BAR_ACCESSIBLE (gtk_level_bar_accessible_get_type ())
GTK_LEVEL_BAR_ACCESSIBLE
#define GTK_LEVEL_BAR_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_LEVEL_BAR_ACCESSIBLE, GtkLevelBarAccessible))
GTK_LEVEL_BAR_ACCESSIBLE_CLASS
#define GTK_LEVEL_BAR_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_LEVEL_BAR_ACCESSIBLE, GtkLevelBarAccessibleClass))
GTK_IS_LEVEL_BAR_ACCESSIBLE
#define GTK_IS_LEVEL_BAR_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_LEVEL_BAR_ACCESSIBLE))
GTK_IS_LEVEL_BAR_ACCESSIBLE_CLASS
#define GTK_IS_LEVEL_BAR_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_LEVEL_BAR_ACCESSIBLE))
GTK_LEVEL_BAR_ACCESSIBLE_GET_CLASS
#define GTK_LEVEL_BAR_ACCESSIBLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_LEVEL_BAR_ACCESSIBLE, GtkLevelBarAccessibleClass))
GtkLevelBarAccessible
struct _GtkLevelBarAccessible
{
GtkWidgetAccessible parent;
GtkLevelBarAccessiblePrivate *priv;
};
GtkLevelBarAccessibleClass
struct _GtkLevelBarAccessibleClass
{
GtkWidgetAccessibleClass parent_class;
};
gtk_level_bar_accessible_get_type
GType
void
GtkLevelBarAccessiblePrivate
GTK_TYPE_LINK_BUTTON_ACCESSIBLE
#define GTK_TYPE_LINK_BUTTON_ACCESSIBLE (gtk_link_button_accessible_get_type ())
GTK_LINK_BUTTON_ACCESSIBLE
#define GTK_LINK_BUTTON_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_LINK_BUTTON_ACCESSIBLE, GtkLinkButtonAccessible))
GTK_LINK_BUTTON_ACCESSIBLE_CLASS
#define GTK_LINK_BUTTON_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_LINK_BUTTON_ACCESSIBLE, GtkLinkButtonAccessibleClass))
GTK_IS_LINK_BUTTON_ACCESSIBLE
#define GTK_IS_LINK_BUTTON_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_LINK_BUTTON_ACCESSIBLE))
GTK_IS_LINK_BUTTON_ACCESSIBLE_CLASS
#define GTK_IS_LINK_BUTTON_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_LINK_BUTTON_ACCESSIBLE))
GTK_LINK_BUTTON_ACCESSIBLE_GET_CLASS
#define GTK_LINK_BUTTON_ACCESSIBLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_LINK_BUTTON_ACCESSIBLE, GtkLinkButtonAccessibleClass))
GtkLinkButtonAccessible
struct _GtkLinkButtonAccessible
{
GtkButtonAccessible parent;
GtkLinkButtonAccessiblePrivate *priv;
};
GtkLinkButtonAccessibleClass
struct _GtkLinkButtonAccessibleClass
{
GtkButtonAccessibleClass parent_class;
};
gtk_link_button_accessible_get_type
GType
void
GtkLinkButtonAccessiblePrivate
GTK_TYPE_LIST_BOX_ACCESSIBLE
#define GTK_TYPE_LIST_BOX_ACCESSIBLE (gtk_list_box_accessible_get_type ())
GTK_LIST_BOX_ACCESSIBLE
#define GTK_LIST_BOX_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_LIST_BOX_ACCESSIBLE, GtkListBoxAccessible))
GTK_LIST_BOX_ACCESSIBLE_CLASS
#define GTK_LIST_BOX_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_LIST_BOX_ACCESSIBLE, GtkListBoxAccessibleClass))
GTK_IS_LIST_BOX_ACCESSIBLE
#define GTK_IS_LIST_BOX_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_LIST_BOX_ACCESSIBLE))
GTK_IS_LIST_BOX_ACCESSIBLE_CLASS
#define GTK_IS_LIST_BOX_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_LIST_BOX_ACCESSIBLE))
GTK_LIST_BOX_ACCESSIBLE_GET_CLASS
#define GTK_LIST_BOX_ACCESSIBLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_LIST_BOX_ACCESSIBLE, GtkListBoxAccessibleClass))
GtkListBoxAccessible
struct _GtkListBoxAccessible
{
GtkContainerAccessible parent;
GtkListBoxAccessiblePrivate *priv;
};
GtkListBoxAccessibleClass
struct _GtkListBoxAccessibleClass
{
GtkContainerAccessibleClass parent_class;
};
gtk_list_box_accessible_get_type
GType
void
GtkListBoxAccessiblePrivate
GTK_TYPE_LIST_BOX_ROW_ACCESSIBLE
#define GTK_TYPE_LIST_BOX_ROW_ACCESSIBLE (gtk_list_box_row_accessible_get_type ())
GTK_LIST_BOX_ROW_ACCESSIBLE
#define GTK_LIST_BOX_ROW_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_LIST_BOX_ROW_ACCESSIBLE, GtkListBoxRowAccessible))
GTK_LIST_BOX_ROW_ACCESSIBLE_CLASS
#define GTK_LIST_BOX_ROW_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_LIST_BOX_ROW_ACCESSIBLE, GtkListBoxRowAccessibleClass))
GTK_IS_LIST_BOX_ROW_ACCESSIBLE
#define GTK_IS_LIST_BOX_ROW_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_LIST_BOX_ROW_ACCESSIBLE))
GTK_IS_LIST_BOX_ROW_ACCESSIBLE_CLASS
#define GTK_IS_LIST_BOX_ROW_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_LIST_BOX_ROW_ACCESSIBLE))
GTK_LIST_BOX_ROW_ACCESSIBLE_GET_CLASS
#define GTK_LIST_BOX_ROW_ACCESSIBLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_LIST_BOX_ROW_ACCESSIBLE, GtkListBoxRowAccessibleClass))
GtkListBoxRowAccessible
struct _GtkListBoxRowAccessible
{
GtkContainerAccessible parent;
};
GtkListBoxRowAccessibleClass
struct _GtkListBoxRowAccessibleClass
{
GtkContainerAccessibleClass parent_class;
};
gtk_list_box_row_accessible_get_type
GType
void
GTK_TYPE_LOCK_BUTTON_ACCESSIBLE
#define GTK_TYPE_LOCK_BUTTON_ACCESSIBLE (gtk_lock_button_accessible_get_type ())
GTK_LOCK_BUTTON_ACCESSIBLE
#define GTK_LOCK_BUTTON_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_LOCK_BUTTON_ACCESSIBLE, GtkLockButtonAccessible))
GTK_LOCK_BUTTON_ACCESSIBLE_CLASS
#define GTK_LOCK_BUTTON_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_LOCK_BUTTON_ACCESSIBLE, GtkLockButtonAccessibleClass))
GTK_IS_LOCK_BUTTON_ACCESSIBLE
#define GTK_IS_LOCK_BUTTON_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_LOCK_BUTTON_ACCESSIBLE))
GTK_IS_LOCK_BUTTON_ACCESSIBLE_CLASS
#define GTK_IS_LOCK_BUTTON_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_LOCK_BUTTON_ACCESSIBLE))
GTK_LOCK_BUTTON_ACCESSIBLE_GET_CLASS
#define GTK_LOCK_BUTTON_ACCESSIBLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_LOCK_BUTTON_ACCESSIBLE, GtkLockButtonAccessibleClass))
GtkLockButtonAccessible
struct _GtkLockButtonAccessible
{
GtkButtonAccessible parent;
GtkLockButtonAccessiblePrivate *priv;
};
GtkLockButtonAccessibleClass
struct _GtkLockButtonAccessibleClass
{
GtkButtonAccessibleClass parent_class;
};
gtk_lock_button_accessible_get_type
GType
void
GtkLockButtonAccessiblePrivate
GTK_TYPE_MENU_BUTTON_ACCESSIBLE
#define GTK_TYPE_MENU_BUTTON_ACCESSIBLE (gtk_menu_button_accessible_get_type ())
GTK_MENU_BUTTON_ACCESSIBLE
#define GTK_MENU_BUTTON_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_MENU_BUTTON_ACCESSIBLE, GtkMenuButtonAccessible))
GTK_MENU_BUTTON_ACCESSIBLE_CLASS
#define GTK_MENU_BUTTON_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_MENU_BUTTON_ACCESSIBLE, GtkMenuButtonAccessibleClass))
GTK_IS_MENU_BUTTON_ACCESSIBLE
#define GTK_IS_MENU_BUTTON_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_MENU_BUTTON_ACCESSIBLE))
GTK_IS_MENU_BUTTON_ACCESSIBLE_CLASS
#define GTK_IS_MENU_BUTTON_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_MENU_BUTTON_ACCESSIBLE))
GTK_MENU_BUTTON_ACCESSIBLE_GET_CLASS
#define GTK_MENU_BUTTON_ACCESSIBLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_MENU_BUTTON_ACCESSIBLE, GtkMenuButtonAccessibleClass))
GtkMenuButtonAccessible
struct _GtkMenuButtonAccessible
{
GtkWidgetAccessible parent;
GtkMenuButtonAccessiblePrivate *priv;
};
GtkMenuButtonAccessibleClass
struct _GtkMenuButtonAccessibleClass
{
GtkWidgetAccessibleClass parent_class;
};
gtk_menu_button_accessible_get_type
GType
void
GtkMenuButtonAccessiblePrivate
GTK_TYPE_NOTEBOOK_ACCESSIBLE
#define GTK_TYPE_NOTEBOOK_ACCESSIBLE (gtk_notebook_accessible_get_type ())
GTK_NOTEBOOK_ACCESSIBLE
#define GTK_NOTEBOOK_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_NOTEBOOK_ACCESSIBLE, GtkNotebookAccessible))
GTK_NOTEBOOK_ACCESSIBLE_CLASS
#define GTK_NOTEBOOK_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_NOTEBOOK_ACCESSIBLE, GtkNotebookAccessibleClass))
GTK_IS_NOTEBOOK_ACCESSIBLE
#define GTK_IS_NOTEBOOK_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_NOTEBOOK_ACCESSIBLE))
GTK_IS_NOTEBOOK_ACCESSIBLE_CLASS
#define GTK_IS_NOTEBOOK_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_NOTEBOOK_ACCESSIBLE))
GTK_NOTEBOOK_ACCESSIBLE_GET_CLASS
#define GTK_NOTEBOOK_ACCESSIBLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_NOTEBOOK_ACCESSIBLE, GtkNotebookAccessibleClass))
GtkNotebookAccessible
struct _GtkNotebookAccessible
{
GtkContainerAccessible parent;
GtkNotebookAccessiblePrivate *priv;
};
GtkNotebookAccessibleClass
struct _GtkNotebookAccessibleClass
{
GtkContainerAccessibleClass parent_class;
};
gtk_notebook_accessible_get_type
GType
void
GtkNotebookAccessiblePrivate
GTK_TYPE_NOTEBOOK_PAGE_ACCESSIBLE
#define GTK_TYPE_NOTEBOOK_PAGE_ACCESSIBLE (gtk_notebook_page_accessible_get_type ())
GTK_NOTEBOOK_PAGE_ACCESSIBLE
#define GTK_NOTEBOOK_PAGE_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj),GTK_TYPE_NOTEBOOK_PAGE_ACCESSIBLE, GtkNotebookPageAccessible))
GTK_NOTEBOOK_PAGE_ACCESSIBLE_CLASS
#define GTK_NOTEBOOK_PAGE_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_NOTEBOOK_PAGE_ACCESSIBLE, GtkNotebookPageAccessibleClass))
GTK_IS_NOTEBOOK_PAGE_ACCESSIBLE
#define GTK_IS_NOTEBOOK_PAGE_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_NOTEBOOK_PAGE_ACCESSIBLE))
GTK_IS_NOTEBOOK_PAGE_ACCESSIBLE_CLASS
#define GTK_IS_NOTEBOOK_PAGE_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_NOTEBOOK_PAGE_ACCESSIBLE))
GTK_NOTEBOOK_PAGE_ACCESSIBLE_GET_CLASS
#define GTK_NOTEBOOK_PAGE_ACCESSIBLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_NOTEBOOK_PAGE_ACCESSIBLE, GtkNotebookPageAccessibleClass))
GtkNotebookPageAccessible
struct _GtkNotebookPageAccessible
{
AtkObject parent;
GtkNotebookPageAccessiblePrivate *priv;
};
GtkNotebookPageAccessibleClass
struct _GtkNotebookPageAccessibleClass
{
AtkObjectClass parent_class;
};
gtk_notebook_page_accessible_get_type
GType
void
gtk_notebook_page_accessible_new
AtkObject *
GtkNotebookAccessible *notebook, GtkWidget *child
gtk_notebook_page_accessible_invalidate
void
GtkNotebookPageAccessible *page
GtkNotebookPageAccessiblePrivate
GTK_TYPE_PANED_ACCESSIBLE
#define GTK_TYPE_PANED_ACCESSIBLE (gtk_paned_accessible_get_type ())
GTK_PANED_ACCESSIBLE
#define GTK_PANED_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_PANED_ACCESSIBLE, GtkPanedAccessible))
GTK_PANED_ACCESSIBLE_CLASS
#define GTK_PANED_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_PANED_ACCESSIBLE, GtkPanedAccessibleClass))
GTK_IS_PANED_ACCESSIBLE
#define GTK_IS_PANED_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_PANED_ACCESSIBLE))
GTK_IS_PANED_ACCESSIBLE_CLASS
#define GTK_IS_PANED_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_PANED_ACCESSIBLE))
GTK_PANED_ACCESSIBLE_GET_CLASS
#define GTK_PANED_ACCESSIBLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_PANED_ACCESSIBLE, GtkPanedAccessibleClass))
GtkPanedAccessible
struct _GtkPanedAccessible
{
GtkContainerAccessible parent;
GtkPanedAccessiblePrivate *priv;
};
GtkPanedAccessibleClass
struct _GtkPanedAccessibleClass
{
GtkContainerAccessibleClass parent_class;
};
gtk_paned_accessible_get_type
GType
void
GtkPanedAccessiblePrivate
GTK_TYPE_PICTURE_ACCESSIBLE
#define GTK_TYPE_PICTURE_ACCESSIBLE (gtk_picture_accessible_get_type ())
GtkPictureAccessible
GTK_TYPE_POPOVER_ACCESSIBLE
#define GTK_TYPE_POPOVER_ACCESSIBLE (gtk_popover_accessible_get_type ())
GTK_POPOVER_ACCESSIBLE
#define GTK_POPOVER_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_POPOVER_ACCESSIBLE, GtkPopoverAccessible))
GTK_POPOVER_ACCESSIBLE_CLASS
#define GTK_POPOVER_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_POPOVER_ACCESSIBLE, GtkPopoverAccessibleClass))
GTK_IS_POPOVER_ACCESSIBLE
#define GTK_IS_POPOVER_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_POPOVER_ACCESSIBLE))
GTK_IS_POPOVER_ACCESSIBLE_CLASS
#define GTK_IS_POPOVER_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_POPOVER_ACCESSIBLE))
GTK_POPOVER_ACCESSIBLE_GET_CLASS
#define GTK_POPOVER_ACCESSIBLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_POPOVER_ACCESSIBLE, GtkPopoverAccessibleClass))
GtkPopoverAccessible
struct _GtkPopoverAccessible
{
GtkContainerAccessible parent;
};
GtkPopoverAccessibleClass
struct _GtkPopoverAccessibleClass
{
GtkContainerAccessibleClass parent_class;
};
gtk_popover_accessible_get_type
GType
void
GTK_TYPE_PROGRESS_BAR_ACCESSIBLE
#define GTK_TYPE_PROGRESS_BAR_ACCESSIBLE (gtk_progress_bar_accessible_get_type ())
GTK_PROGRESS_BAR_ACCESSIBLE
#define GTK_PROGRESS_BAR_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_PROGRESS_BAR_ACCESSIBLE, GtkProgressBarAccessible))
GTK_PROGRESS_BAR_ACCESSIBLE_CLASS
#define GTK_PROGRESS_BAR_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_PROGRESS_BAR_ACCESSIBLE, GtkProgressBarAccessibleClass))
GTK_IS_PROGRESS_BAR_ACCESSIBLE
#define GTK_IS_PROGRESS_BAR_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_PROGRESS_BAR_ACCESSIBLE))
GTK_IS_PROGRESS_BAR_ACCESSIBLE_CLASS
#define GTK_IS_PROGRESS_BAR_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_PROGRESS_BAR_ACCESSIBLE))
GTK_PROGRESS_BAR_ACCESSIBLE_GET_CLASS
#define GTK_PROGRESS_BAR_ACCESSIBLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_PROGRESS_BAR_ACCESSIBLE, GtkProgressBarAccessibleClass))
GtkProgressBarAccessible
struct _GtkProgressBarAccessible
{
GtkWidgetAccessible parent;
GtkProgressBarAccessiblePrivate *priv;
};
GtkProgressBarAccessibleClass
struct _GtkProgressBarAccessibleClass
{
GtkWidgetAccessibleClass parent_class;
};
gtk_progress_bar_accessible_get_type
GType
void
GtkProgressBarAccessiblePrivate
GTK_TYPE_RADIO_BUTTON_ACCESSIBLE
#define GTK_TYPE_RADIO_BUTTON_ACCESSIBLE (gtk_radio_button_accessible_get_type ())
GTK_RADIO_BUTTON_ACCESSIBLE
#define GTK_RADIO_BUTTON_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_RADIO_BUTTON_ACCESSIBLE, GtkRadioButtonAccessible))
GTK_RADIO_BUTTON_ACCESSIBLE_CLASS
#define GTK_RADIO_BUTTON_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_RADIO_BUTTON_ACCESSIBLE, GtkRadioButtonAccessibleClass))
GTK_IS_RADIO_BUTTON_ACCESSIBLE
#define GTK_IS_RADIO_BUTTON_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_RADIO_BUTTON_ACCESSIBLE))
GTK_IS_RADIO_BUTTON_ACCESSIBLE_CLASS
#define GTK_IS_RADIO_BUTTON_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_RADIO_BUTTON_ACCESSIBLE))
GTK_RADIO_BUTTON_ACCESSIBLE_GET_CLASS
#define GTK_RADIO_BUTTON_ACCESSIBLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_RADIO_BUTTON_ACCESSIBLE, GtkRadioButtonAccessibleClass))
GtkRadioButtonAccessible
struct _GtkRadioButtonAccessible
{
GtkToggleButtonAccessible parent;
GtkRadioButtonAccessiblePrivate *priv;
};
GtkRadioButtonAccessibleClass
struct _GtkRadioButtonAccessibleClass
{
GtkToggleButtonAccessibleClass parent_class;
};
gtk_radio_button_accessible_get_type
GType
void
GtkRadioButtonAccessiblePrivate
GTK_TYPE_RANGE_ACCESSIBLE
#define GTK_TYPE_RANGE_ACCESSIBLE (gtk_range_accessible_get_type ())
GTK_RANGE_ACCESSIBLE
#define GTK_RANGE_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_RANGE_ACCESSIBLE, GtkRangeAccessible))
GTK_RANGE_ACCESSIBLE_CLASS
#define GTK_RANGE_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_RANGE_ACCESSIBLE, GtkRangeAccessibleClass))
GTK_IS_RANGE_ACCESSIBLE
#define GTK_IS_RANGE_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_RANGE_ACCESSIBLE))
GTK_IS_RANGE_ACCESSIBLE_CLASS
#define GTK_IS_RANGE_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_RANGE_ACCESSIBLE))
GTK_RANGE_ACCESSIBLE_GET_CLASS
#define GTK_RANGE_ACCESSIBLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_RANGE_ACCESSIBLE, GtkRangeAccessibleClass))
GtkRangeAccessible
struct _GtkRangeAccessible
{
GtkWidgetAccessible parent;
GtkRangeAccessiblePrivate *priv;
};
GtkRangeAccessibleClass
struct _GtkRangeAccessibleClass
{
GtkWidgetAccessibleClass parent_class;
};
gtk_range_accessible_get_type
GType
void
GtkRangeAccessiblePrivate
GTK_TYPE_RENDERER_CELL_ACCESSIBLE
#define GTK_TYPE_RENDERER_CELL_ACCESSIBLE (gtk_renderer_cell_accessible_get_type ())
GTK_RENDERER_CELL_ACCESSIBLE
#define GTK_RENDERER_CELL_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_RENDERER_CELL_ACCESSIBLE, GtkRendererCellAccessible))
GTK_RENDERER_CELL_ACCESSIBLE_CLASS
#define GTK_RENDERER_CELL_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_RENDERER_CELL_ACCESSIBLE, GtkRendererCellAccessibleClass))
GTK_IS_RENDERER_CELL_ACCESSIBLE
#define GTK_IS_RENDERER_CELL_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_RENDERER_CELL_ACCESSIBLE))
GTK_IS_RENDERER_CELL_ACCESSIBLE_CLASS
#define GTK_IS_RENDERER_CELL_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_RENDERER_CELL_ACCESSIBLE))
GTK_RENDERER_CELL_ACCESSIBLE_GET_CLASS
#define GTK_RENDERER_CELL_ACCESSIBLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_RENDERER_CELL_ACCESSIBLE, GtkRendererCellAccessibleClass))
GtkRendererCellAccessible
struct _GtkRendererCellAccessible
{
GtkCellAccessible parent;
GtkRendererCellAccessiblePrivate *priv;
};
GtkRendererCellAccessibleClass
struct _GtkRendererCellAccessibleClass
{
GtkCellAccessibleClass parent_class;
};
gtk_renderer_cell_accessible_get_type
GType
void
gtk_renderer_cell_accessible_new
AtkObject *
GtkCellRenderer * renderer
GtkRendererCellAccessiblePrivate
GTK_TYPE_SCALE_ACCESSIBLE
#define GTK_TYPE_SCALE_ACCESSIBLE (gtk_scale_accessible_get_type ())
GTK_SCALE_ACCESSIBLE
#define GTK_SCALE_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_SCALE_ACCESSIBLE, GtkScaleAccessible))
GTK_SCALE_ACCESSIBLE_CLASS
#define GTK_SCALE_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_SCALE_ACCESSIBLE, GtkScaleAccessibleClass))
GTK_IS_SCALE_ACCESSIBLE
#define GTK_IS_SCALE_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_SCALE_ACCESSIBLE))
GTK_IS_SCALE_ACCESSIBLE_CLASS
#define GTK_IS_SCALE_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_SCALE_ACCESSIBLE))
GTK_SCALE_ACCESSIBLE_GET_CLASS
#define GTK_SCALE_ACCESSIBLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_SCALE_ACCESSIBLE, GtkScaleAccessibleClass))
GtkScaleAccessible
struct _GtkScaleAccessible
{
GtkRangeAccessible parent;
GtkScaleAccessiblePrivate *priv;
};
GtkScaleAccessibleClass
struct _GtkScaleAccessibleClass
{
GtkRangeAccessibleClass parent_class;
};
gtk_scale_accessible_get_type
GType
void
GtkScaleAccessiblePrivate
GTK_TYPE_SCALE_BUTTON_ACCESSIBLE
#define GTK_TYPE_SCALE_BUTTON_ACCESSIBLE (gtk_scale_button_accessible_get_type ())
GTK_SCALE_BUTTON_ACCESSIBLE
#define GTK_SCALE_BUTTON_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_SCALE_BUTTON_ACCESSIBLE, GtkScaleButtonAccessible))
GTK_SCALE_BUTTON_ACCESSIBLE_CLASS
#define GTK_SCALE_BUTTON_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_SCALE_BUTTON_ACCESSIBLE, GtkScaleButtonAccessibleClass))
GTK_IS_SCALE_BUTTON_ACCESSIBLE
#define GTK_IS_SCALE_BUTTON_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_SCALE_BUTTON_ACCESSIBLE))
GTK_IS_SCALE_BUTTON_ACCESSIBLE_CLASS
#define GTK_IS_SCALE_BUTTON_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_SCALE_BUTTON_ACCESSIBLE))
GTK_SCALE_BUTTON_ACCESSIBLE_GET_CLASS
#define GTK_SCALE_BUTTON_ACCESSIBLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_SCALE_BUTTON_ACCESSIBLE, GtkScaleButtonAccessibleClass))
GtkScaleButtonAccessible
struct _GtkScaleButtonAccessible
{
GtkButtonAccessible parent;
GtkScaleButtonAccessiblePrivate *priv;
};
GtkScaleButtonAccessibleClass
struct _GtkScaleButtonAccessibleClass
{
GtkButtonAccessibleClass parent_class;
};
gtk_scale_button_accessible_get_type
GType
void
GtkScaleButtonAccessiblePrivate
GTK_TYPE_SCROLLED_WINDOW_ACCESSIBLE
#define GTK_TYPE_SCROLLED_WINDOW_ACCESSIBLE (gtk_scrolled_window_accessible_get_type ())
GTK_SCROLLED_WINDOW_ACCESSIBLE
#define GTK_SCROLLED_WINDOW_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_SCROLLED_WINDOW_ACCESSIBLE, GtkScrolledWindowAccessible))
GTK_SCROLLED_WINDOW_ACCESSIBLE_CLASS
#define GTK_SCROLLED_WINDOW_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_SCROLLED_WINDOW_ACCESSIBLE, GtkScrolledWindowAccessibleClass))
GTK_IS_SCROLLED_WINDOW_ACCESSIBLE
#define GTK_IS_SCROLLED_WINDOW_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_SCROLLED_WINDOW_ACCESSIBLE))
GTK_IS_SCROLLED_WINDOW_ACCESSIBLE_CLASS
#define GTK_IS_SCROLLED_WINDOW_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_SCROLLED_WINDOW_ACCESSIBLE))
GTK_SCROLLED_WINDOW_ACCESSIBLE_GET_CLASS
#define GTK_SCROLLED_WINDOW_ACCESSIBLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_SCROLLED_WINDOW_ACCESSIBLE, GtkScrolledWindowAccessibleClass))
GtkScrolledWindowAccessible
struct _GtkScrolledWindowAccessible
{
GtkContainerAccessible parent;
GtkScrolledWindowAccessiblePrivate *priv;
};
GtkScrolledWindowAccessibleClass
struct _GtkScrolledWindowAccessibleClass
{
GtkContainerAccessibleClass parent_class;
};
gtk_scrolled_window_accessible_get_type
GType
void
GtkScrolledWindowAccessiblePrivate
GTK_TYPE_SPIN_BUTTON_ACCESSIBLE
#define GTK_TYPE_SPIN_BUTTON_ACCESSIBLE (gtk_spin_button_accessible_get_type ())
GTK_SPIN_BUTTON_ACCESSIBLE
#define GTK_SPIN_BUTTON_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_SPIN_BUTTON_ACCESSIBLE, GtkSpinButtonAccessible))
GTK_SPIN_BUTTON_ACCESSIBLE_CLASS
#define GTK_SPIN_BUTTON_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_SPIN_BUTTON_ACCESSIBLE, GtkSpinButtonAccessibleClass))
GTK_IS_SPIN_BUTTON_ACCESSIBLE
#define GTK_IS_SPIN_BUTTON_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_SPIN_BUTTON_ACCESSIBLE))
GTK_IS_SPIN_BUTTON_ACCESSIBLE_CLASS
#define GTK_IS_SPIN_BUTTON_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_SPIN_BUTTON_ACCESSIBLE))
GTK_SPIN_BUTTON_ACCESSIBLE_GET_CLASS
#define GTK_SPIN_BUTTON_ACCESSIBLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_SPIN_BUTTON_ACCESSIBLE, GtkSpinButtonAccessibleClass))
GtkSpinButtonAccessible
struct _GtkSpinButtonAccessible
{
GtkEntryAccessible parent;
GtkSpinButtonAccessiblePrivate *priv;
};
GtkSpinButtonAccessibleClass
struct _GtkSpinButtonAccessibleClass
{
GtkEntryAccessibleClass parent_class;
};
gtk_spin_button_accessible_get_type
GType
void
GtkSpinButtonAccessiblePrivate
GTK_TYPE_SPINNER_ACCESSIBLE
#define GTK_TYPE_SPINNER_ACCESSIBLE (gtk_spinner_accessible_get_type ())
GTK_SPINNER_ACCESSIBLE
#define GTK_SPINNER_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_SPINNER_ACCESSIBLE, GtkSpinnerAccessible))
GTK_SPINNER_ACCESSIBLE_CLASS
#define GTK_SPINNER_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_SPINNER_ACCESSIBLE, GtkSpinnerAccessibleClass))
GTK_IS_SPINNER_ACCESSIBLE
#define GTK_IS_SPINNER_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_SPINNER_ACCESSIBLE))
GTK_IS_SPINNER_ACCESSIBLE_CLASS
#define GTK_IS_SPINNER_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_SPINNER_ACCESSIBLE))
GTK_SPINNER_ACCESSIBLE_GET_CLASS
#define GTK_SPINNER_ACCESSIBLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_SPINNER_ACCESSIBLE, GtkSpinnerAccessibleClass))
GtkSpinnerAccessible
struct _GtkSpinnerAccessible
{
GtkWidgetAccessible parent;
GtkSpinnerAccessiblePrivate *priv;
};
GtkSpinnerAccessibleClass
struct _GtkSpinnerAccessibleClass
{
GtkWidgetAccessibleClass parent_class;
};
gtk_spinner_accessible_get_type
GType
void
GtkSpinnerAccessiblePrivate
GTK_TYPE_STACK_ACCESSIBLE
#define GTK_TYPE_STACK_ACCESSIBLE (gtk_stack_accessible_get_type ())
GTK_STACK_ACCESSIBLE
#define GTK_STACK_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_STACK_ACCESSIBLE, GtkStackAccessible))
GTK_STACK_ACCESSIBLE_CLASS
#define GTK_STACK_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_STACK_ACCESSIBLE, GtkStackAccessibleClass))
GTK_IS_STACK_ACCESSIBLE
#define GTK_IS_STACK_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_STACK_ACCESSIBLE))
GTK_IS_STACK_ACCESSIBLE_CLASS
#define GTK_IS_STACK_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_STACK_ACCESSIBLE))
GTK_STACK_ACCESSIBLE_GET_CLASS
#define GTK_STACK_ACCESSIBLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_STACK_ACCESSIBLE, GtkStackAccessibleClass))
GtkStackAccessible
struct _GtkStackAccessible
{
GtkContainerAccessible parent;
};
GtkStackAccessibleClass
struct _GtkStackAccessibleClass
{
GtkContainerAccessibleClass parent_class;
};
gtk_stack_accessible_get_type
GType
void
gtk_stack_accessible_update_visible_child
void
GtkStack *stack, GtkWidget *old_visible_child, GtkWidget *new_visible_child
GTK_TYPE_STATUSBAR_ACCESSIBLE
#define GTK_TYPE_STATUSBAR_ACCESSIBLE (gtk_statusbar_accessible_get_type ())
GTK_STATUSBAR_ACCESSIBLE
#define GTK_STATUSBAR_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_STATUSBAR_ACCESSIBLE, GtkStatusbarAccessible))
GTK_STATUSBAR_ACCESSIBLE_CLASS
#define GTK_STATUSBAR_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_STATUSBAR_ACCESSIBLE, GtkStatusbarAccessibleClass))
GTK_IS_STATUSBAR_ACCESSIBLE
#define GTK_IS_STATUSBAR_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_STATUSBAR_ACCESSIBLE))
GTK_IS_STATUSBAR_ACCESSIBLE_CLASS
#define GTK_IS_STATUSBAR_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_STATUSBAR_ACCESSIBLE))
GTK_STATUSBAR_ACCESSIBLE_GET_CLASS
#define GTK_STATUSBAR_ACCESSIBLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_STATUSBAR_ACCESSIBLE, GtkStatusbarAccessibleClass))
GtkStatusbarAccessible
struct _GtkStatusbarAccessible
{
GtkContainerAccessible parent;
GtkStatusbarAccessiblePrivate *priv;
};
GtkStatusbarAccessibleClass
struct _GtkStatusbarAccessibleClass
{
GtkContainerAccessibleClass parent_class;
};
gtk_statusbar_accessible_get_type
GType
void
GtkStatusbarAccessiblePrivate
GTK_TYPE_SWITCH_ACCESSIBLE
#define GTK_TYPE_SWITCH_ACCESSIBLE (gtk_switch_accessible_get_type ())
GTK_SWITCH_ACCESSIBLE
#define GTK_SWITCH_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_SWITCH_ACCESSIBLE, GtkSwitchAccessible))
GTK_SWITCH_ACCESSIBLE_CLASS
#define GTK_SWITCH_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_SWITCH_ACCESSIBLE, GtkSwitchAccessibleClass))
GTK_IS_SWITCH_ACCESSIBLE
#define GTK_IS_SWITCH_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_SWITCH_ACCESSIBLE))
GTK_IS_SWITCH_ACCESSIBLE_CLASS
#define GTK_IS_SWITCH_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_SWITCH_ACCESSIBLE))
GTK_SWITCH_ACCESSIBLE_GET_CLASS
#define GTK_SWITCH_ACCESSIBLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_SWITCH_ACCESSIBLE, GtkSwitchAccessibleClass))
GtkSwitchAccessible
struct _GtkSwitchAccessible
{
GtkWidgetAccessible parent;
GtkSwitchAccessiblePrivate *priv;
};
GtkSwitchAccessibleClass
struct _GtkSwitchAccessibleClass
{
GtkWidgetAccessibleClass parent_class;
};
gtk_switch_accessible_get_type
GType
void
GtkSwitchAccessiblePrivate
GTK_TYPE_TEXT_ACCESSIBLE
#define GTK_TYPE_TEXT_ACCESSIBLE (gtk_text_accessible_get_type ())
GTK_TEXT_ACCESSIBLE
#define GTK_TEXT_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_TEXT_ACCESSIBLE, GtkTextAccessible))
GTK_TEXT_ACCESSIBLE_CLASS
#define GTK_TEXT_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_TEXT_ACCESSIBLE, GtkTextAccessibleClass))
GTK_IS_TEXT_ACCESSIBLE
#define GTK_IS_TEXT_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_TEXT_ACCESSIBLE))
GTK_IS_TEXT_ACCESSIBLE_CLASS
#define GTK_IS_TEXT_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_TEXT_ACCESSIBLE))
GTK_TEXT_ACCESSIBLE_GET_CLASS
#define GTK_TEXT_ACCESSIBLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_TEXT_ACCESSIBLE, GtkTextAccessibleClass))
GtkTextAccessible
struct _GtkTextAccessible
{
GtkWidgetAccessible parent;
GtkTextAccessiblePrivate *priv;
};
GtkTextAccessibleClass
struct _GtkTextAccessibleClass
{
GtkWidgetAccessibleClass parent_class;
};
gtk_text_accessible_get_type
GType
void
GtkTextAccessiblePrivate
GTK_TYPE_TEXT_CELL_ACCESSIBLE
#define GTK_TYPE_TEXT_CELL_ACCESSIBLE (gtk_text_cell_accessible_get_type ())
GTK_TEXT_CELL_ACCESSIBLE
#define GTK_TEXT_CELL_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_TEXT_CELL_ACCESSIBLE, GtkTextCellAccessible))
GTK_TEXT_CELL_ACCESSIBLE_CLASS
#define GTK_TEXT_CELL_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TEXT_CELL_ACCESSIBLE, GtkTextCellAccessibleClass))
GTK_IS_TEXT_CELL_ACCESSIBLE
#define GTK_IS_TEXT_CELL_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_TEXT_CELL_ACCESSIBLE))
GTK_IS_TEXT_CELL_ACCESSIBLE_CLASS
#define GTK_IS_TEXT_CELL_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_TEXT_CELL_ACCESSIBLE))
GTK_TEXT_CELL_ACCESSIBLE_GET_CLASS
#define GTK_TEXT_CELL_ACCESSIBLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_TEXT_CELL_ACCESSIBLE, GtkTextCellAccessibleClass))
GtkTextCellAccessible
struct _GtkTextCellAccessible
{
GtkRendererCellAccessible parent;
GtkTextCellAccessiblePrivate *priv;
};
GtkTextCellAccessibleClass
struct _GtkTextCellAccessibleClass
{
GtkRendererCellAccessibleClass parent_class;
};
gtk_text_cell_accessible_get_type
GType
void
GtkTextCellAccessiblePrivate
GTK_TYPE_TEXT_VIEW_ACCESSIBLE
#define GTK_TYPE_TEXT_VIEW_ACCESSIBLE (gtk_text_view_accessible_get_type ())
GTK_TEXT_VIEW_ACCESSIBLE
#define GTK_TEXT_VIEW_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_TEXT_VIEW_ACCESSIBLE, GtkTextViewAccessible))
GTK_TEXT_VIEW_ACCESSIBLE_CLASS
#define GTK_TEXT_VIEW_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_TEXT_VIEW_ACCESSIBLE, GtkTextViewAccessibleClass))
GTK_IS_TEXT_VIEW_ACCESSIBLE
#define GTK_IS_TEXT_VIEW_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_TEXT_VIEW_ACCESSIBLE))
GTK_IS_TEXT_VIEW_ACCESSIBLE_CLASS
#define GTK_IS_TEXT_VIEW_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_TEXT_VIEW_ACCESSIBLE))
GTK_TEXT_VIEW_ACCESSIBLE_GET_CLASS
#define GTK_TEXT_VIEW_ACCESSIBLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_TEXT_VIEW_ACCESSIBLE, GtkTextViewAccessibleClass))
GtkTextViewAccessible
struct _GtkTextViewAccessible
{
GtkContainerAccessible parent;
GtkTextViewAccessiblePrivate *priv;
};
GtkTextViewAccessibleClass
struct _GtkTextViewAccessibleClass
{
GtkContainerAccessibleClass parent_class;
};
gtk_text_view_accessible_get_type
GType
void
GtkTextViewAccessiblePrivate
GTK_TYPE_TOGGLE_BUTTON_ACCESSIBLE
#define GTK_TYPE_TOGGLE_BUTTON_ACCESSIBLE (gtk_toggle_button_accessible_get_type ())
GTK_TOGGLE_BUTTON_ACCESSIBLE
#define GTK_TOGGLE_BUTTON_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_TOGGLE_BUTTON_ACCESSIBLE, GtkToggleButtonAccessible))
GTK_TOGGLE_BUTTON_ACCESSIBLE_CLASS
#define GTK_TOGGLE_BUTTON_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_TOGGLE_BUTTON_ACCESSIBLE, GtkToggleButtonAccessibleClass))
GTK_IS_TOGGLE_BUTTON_ACCESSIBLE
#define GTK_IS_TOGGLE_BUTTON_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_TOGGLE_BUTTON_ACCESSIBLE))
GTK_IS_TOGGLE_BUTTON_ACCESSIBLE_CLASS
#define GTK_IS_TOGGLE_BUTTON_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_TOGGLE_BUTTON_ACCESSIBLE))
GTK_TOGGLE_BUTTON_ACCESSIBLE_GET_CLASS
#define GTK_TOGGLE_BUTTON_ACCESSIBLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_TOGGLE_BUTTON_ACCESSIBLE, GtkToggleButtonAccessibleClass))
GtkToggleButtonAccessible
struct _GtkToggleButtonAccessible
{
GtkButtonAccessible parent;
GtkToggleButtonAccessiblePrivate *priv;
};
GtkToggleButtonAccessibleClass
struct _GtkToggleButtonAccessibleClass
{
GtkButtonAccessibleClass parent_class;
};
gtk_toggle_button_accessible_get_type
GType
void
GtkToggleButtonAccessiblePrivate
GTK_TYPE_TOPLEVEL_ACCESSIBLE
#define GTK_TYPE_TOPLEVEL_ACCESSIBLE (gtk_toplevel_accessible_get_type ())
GTK_TOPLEVEL_ACCESSIBLE
#define GTK_TOPLEVEL_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_TOPLEVEL_ACCESSIBLE, GtkToplevelAccessible))
GTK_TOPLEVEL_ACCESSIBLE_CLASS
#define GTK_TOPLEVEL_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_TOPLEVEL_ACCESSIBLE, GtkToplevelAccessibleClass))
GTK_IS_TOPLEVEL_ACCESSIBLE
#define GTK_IS_TOPLEVEL_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_TOPLEVEL_ACCESSIBLE))
GTK_IS_TOPLEVEL_ACCESSIBLE_CLASS
#define GTK_IS_TOPLEVEL_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_TOPLEVEL_ACCESSIBLE))
GTK_TOPLEVEL_ACCESSIBLE_GET_CLASS
#define GTK_TOPLEVEL_ACCESSIBLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_TOPLEVEL_ACCESSIBLE, GtkToplevelAccessibleClass))
GtkToplevelAccessible
struct _GtkToplevelAccessible
{
AtkObject parent;
GtkToplevelAccessiblePrivate *priv;
};
GtkToplevelAccessibleClass
struct _GtkToplevelAccessibleClass
{
AtkObjectClass parent_class;
};
gtk_toplevel_accessible_get_type
GType
void
gtk_toplevel_accessible_get_children
GList *
GtkToplevelAccessible *accessible
GtkToplevelAccessiblePrivate
GTK_TYPE_TREE_VIEW_ACCESSIBLE
#define GTK_TYPE_TREE_VIEW_ACCESSIBLE (gtk_tree_view_accessible_get_type ())
GTK_TREE_VIEW_ACCESSIBLE
#define GTK_TREE_VIEW_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_TREE_VIEW_ACCESSIBLE, GtkTreeViewAccessible))
GTK_TREE_VIEW_ACCESSIBLE_CLASS
#define GTK_TREE_VIEW_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_TREE_VIEW_ACCESSIBLE, GtkTreeViewAccessibleClass))
GTK_IS_TREE_VIEW_ACCESSIBLE
#define GTK_IS_TREE_VIEW_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_TREE_VIEW_ACCESSIBLE))
GTK_IS_TREE_VIEW_ACCESSIBLE_CLASS
#define GTK_IS_TREE_VIEW_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_TREE_VIEW_ACCESSIBLE))
GTK_TREE_VIEW_ACCESSIBLE_GET_CLASS
#define GTK_TREE_VIEW_ACCESSIBLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_TREE_VIEW_ACCESSIBLE, GtkTreeViewAccessibleClass))
GtkTreeViewAccessible
struct _GtkTreeViewAccessible
{
GtkContainerAccessible parent;
GtkTreeViewAccessiblePrivate *priv;
};
GtkTreeViewAccessibleClass
struct _GtkTreeViewAccessibleClass
{
GtkContainerAccessibleClass parent_class;
};
gtk_tree_view_accessible_get_type
GType
void
GtkTreeViewAccessiblePrivate
GTK_TYPE_WIDGET_ACCESSIBLE
#define GTK_TYPE_WIDGET_ACCESSIBLE (gtk_widget_accessible_get_type ())
GTK_WIDGET_ACCESSIBLE
#define GTK_WIDGET_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_WIDGET_ACCESSIBLE, GtkWidgetAccessible))
GTK_WIDGET_ACCESSIBLE_CLASS
#define GTK_WIDGET_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_WIDGET_ACCESSIBLE, GtkWidgetAccessibleClass))
GTK_IS_WIDGET_ACCESSIBLE
#define GTK_IS_WIDGET_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_WIDGET_ACCESSIBLE))
GTK_IS_WIDGET_ACCESSIBLE_CLASS
#define GTK_IS_WIDGET_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_WIDGET_ACCESSIBLE))
GTK_WIDGET_ACCESSIBLE_GET_CLASS
#define GTK_WIDGET_ACCESSIBLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_WIDGET_ACCESSIBLE, GtkWidgetAccessibleClass))
GtkWidgetAccessible
struct _GtkWidgetAccessible
{
GtkAccessible parent;
GtkWidgetAccessiblePrivate *priv;
};
GtkWidgetAccessibleClass
struct _GtkWidgetAccessibleClass
{
GtkAccessibleClass parent_class;
/*
* Signal handler for notify signal on GTK widget
*/
void (*notify_gtk) (GObject *object,
GParamSpec *pspec);
};
gtk_widget_accessible_get_type
GType
void
GtkWidgetAccessiblePrivate
GTK_TYPE_WINDOW_ACCESSIBLE
#define GTK_TYPE_WINDOW_ACCESSIBLE (gtk_window_accessible_get_type ())
GTK_WINDOW_ACCESSIBLE
#define GTK_WINDOW_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_WINDOW_ACCESSIBLE, GtkWindowAccessible))
GTK_WINDOW_ACCESSIBLE_CLASS
#define GTK_WINDOW_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_WINDOW_ACCESSIBLE, GtkWindowAccessibleClass))
GTK_IS_WINDOW_ACCESSIBLE
#define GTK_IS_WINDOW_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_WINDOW_ACCESSIBLE))
GTK_IS_WINDOW_ACCESSIBLE_CLASS
#define GTK_IS_WINDOW_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_WINDOW_ACCESSIBLE))
GTK_WINDOW_ACCESSIBLE_GET_CLASS
#define GTK_WINDOW_ACCESSIBLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_WINDOW_ACCESSIBLE, GtkWindowAccessibleClass))
GtkWindowAccessible
struct _GtkWindowAccessible
{
GtkContainerAccessible parent;
GtkWindowAccessiblePrivate *priv;
};
GtkWindowAccessibleClass
struct _GtkWindowAccessibleClass
{
GtkContainerAccessibleClass parent_class;
};
gtk_window_accessible_get_type
GType
void
GtkWindowAccessiblePrivate
gtk_css_data_url_parse
GBytes *
const char *url, char **out_mimetype, GError **error
GtkCssParserError
typedef enum
{
GTK_CSS_PARSER_ERROR_FAILED,
GTK_CSS_PARSER_ERROR_SYNTAX,
GTK_CSS_PARSER_ERROR_IMPORT,
GTK_CSS_PARSER_ERROR_NAME,
GTK_CSS_PARSER_ERROR_UNKNOWN_VALUE
} GtkCssParserError;
GtkCssParserWarning
typedef enum
{
GTK_CSS_PARSER_WARNING_DEPRECATED,
GTK_CSS_PARSER_WARNING_SYNTAX,
GTK_CSS_PARSER_WARNING_UNIMPLEMENTED
} GtkCssParserWarning;
GTK_CSS_PARSER_ERROR
#define GTK_CSS_PARSER_ERROR (gtk_css_parser_error_quark ())
gtk_css_parser_error_quark
GQuark
void
GTK_CSS_PARSER_WARNING
#define GTK_CSS_PARSER_WARNING (gtk_css_parser_warning_quark ())
gtk_css_parser_warning_quark
GQuark
void
GtkCssLocation
struct _GtkCssLocation
{
gsize bytes;
gsize chars;
gsize lines;
gsize line_bytes;
gsize line_chars;
};
gtk_css_location_init
void
GtkCssLocation *location
gtk_css_location_advance
void
GtkCssLocation *location, gsize bytes, gsize chars
gtk_css_location_advance_newline
void
GtkCssLocation *location, gboolean is_windows
GTK_TYPE_CSS_SECTION
#define GTK_TYPE_CSS_SECTION (gtk_css_section_get_type ())
gtk_css_section_get_type
GType
void
gtk_css_section_new
GtkCssSection *
GFile *file, const GtkCssLocation *start, const GtkCssLocation *end
gtk_css_section_ref
GtkCssSection *
GtkCssSection *section
gtk_css_section_unref
void
GtkCssSection *section
gtk_css_section_print
void
const GtkCssSection *section, GString *string
gtk_css_section_to_string
char *
const GtkCssSection *section
gtk_css_section_get_parent
GtkCssSection *
const GtkCssSection *section
gtk_css_section_get_file
GFile *
const GtkCssSection *section
gtk_css_section_get_start_location
const GtkCssLocation *
const GtkCssSection *section
gtk_css_section_get_end_location
const GtkCssLocation *
const GtkCssSection *section
GtkCssSection
GtkCssTokenType
typedef enum {
/* no content */
GTK_CSS_TOKEN_EOF,
GTK_CSS_TOKEN_WHITESPACE,
GTK_CSS_TOKEN_OPEN_PARENS,
GTK_CSS_TOKEN_CLOSE_PARENS,
GTK_CSS_TOKEN_OPEN_SQUARE,
GTK_CSS_TOKEN_CLOSE_SQUARE,
GTK_CSS_TOKEN_OPEN_CURLY,
GTK_CSS_TOKEN_CLOSE_CURLY,
GTK_CSS_TOKEN_COMMA,
GTK_CSS_TOKEN_COLON,
GTK_CSS_TOKEN_SEMICOLON,
GTK_CSS_TOKEN_CDO,
GTK_CSS_TOKEN_CDC,
GTK_CSS_TOKEN_INCLUDE_MATCH,
GTK_CSS_TOKEN_DASH_MATCH,
GTK_CSS_TOKEN_PREFIX_MATCH,
GTK_CSS_TOKEN_SUFFIX_MATCH,
GTK_CSS_TOKEN_SUBSTRING_MATCH,
GTK_CSS_TOKEN_COLUMN,
GTK_CSS_TOKEN_BAD_STRING,
GTK_CSS_TOKEN_BAD_URL,
GTK_CSS_TOKEN_COMMENT,
/* delim */
GTK_CSS_TOKEN_DELIM,
/* string */
GTK_CSS_TOKEN_STRING,
GTK_CSS_TOKEN_IDENT,
GTK_CSS_TOKEN_FUNCTION,
GTK_CSS_TOKEN_AT_KEYWORD,
GTK_CSS_TOKEN_HASH_UNRESTRICTED,
GTK_CSS_TOKEN_HASH_ID,
GTK_CSS_TOKEN_URL,
/* number */
GTK_CSS_TOKEN_SIGNED_INTEGER,
GTK_CSS_TOKEN_SIGNLESS_INTEGER,
GTK_CSS_TOKEN_SIGNED_NUMBER,
GTK_CSS_TOKEN_SIGNLESS_NUMBER,
GTK_CSS_TOKEN_PERCENTAGE,
/* dimension */
GTK_CSS_TOKEN_SIGNED_INTEGER_DIMENSION,
GTK_CSS_TOKEN_SIGNLESS_INTEGER_DIMENSION,
GTK_CSS_TOKEN_DIMENSION
} GtkCssTokenType;
GtkCssStringToken
struct _GtkCssStringToken {
GtkCssTokenType type;
char *string;
};
GtkCssDelimToken
struct _GtkCssDelimToken {
GtkCssTokenType type;
gunichar delim;
};
GtkCssNumberToken
struct _GtkCssNumberToken {
GtkCssTokenType type;
double number;
};
GtkCssDimensionToken
struct _GtkCssDimensionToken {
GtkCssTokenType type;
double value;
char *dimension;
};
GtkCssToken
union _GtkCssToken {
GtkCssTokenType type;
GtkCssStringToken string;
GtkCssDelimToken delim;
GtkCssNumberToken number;
GtkCssDimensionToken dimension;
};
gtk_css_token_clear
void
GtkCssToken *token
gtk_css_token_is_finite
gboolean
const GtkCssToken *token
gtk_css_token_is_preserved
gboolean
const GtkCssToken *token, GtkCssTokenType *out_closing
gtk_css_token_is
#define gtk_css_token_is(token, _type) ((token)->type == (_type))
gtk_css_token_is_ident
gboolean
const GtkCssToken *token, const char *ident
gtk_css_token_is_function
gboolean
const GtkCssToken *token, const char *ident
gtk_css_token_is_delim
gboolean
const GtkCssToken *token, gunichar delim
gtk_css_token_print
void
const GtkCssToken *token, GString *string
gtk_css_token_to_string
char *
const GtkCssToken *token
gtk_css_tokenizer_new
GtkCssTokenizer *
GBytes *bytes
gtk_css_tokenizer_ref
GtkCssTokenizer *
GtkCssTokenizer *tokenizer
gtk_css_tokenizer_unref
void
GtkCssTokenizer *tokenizer
gtk_css_tokenizer_get_location
const GtkCssLocation *
GtkCssTokenizer *tokenizer
gtk_css_tokenizer_read_token
gboolean
GtkCssTokenizer *tokenizer, GtkCssToken *token, GError **error
GtkCssTokenizer
GTK_TYPE_INSPECTOR_ACTION_EDITOR
#define GTK_TYPE_INSPECTOR_ACTION_EDITOR (gtk_inspector_action_editor_get_type())
GTK_INSPECTOR_ACTION_EDITOR
#define GTK_INSPECTOR_ACTION_EDITOR(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_INSPECTOR_ACTION_EDITOR, GtkInspectorActionEditor))
GTK_INSPECTOR_ACTION_EDITOR_CLASS
#define GTK_INSPECTOR_ACTION_EDITOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_INSPECTOR_ACTION_EDITOR, GtkInspectorActionEditorClass))
GTK_INSPECTOR_IS_ACTION_EDITOR
#define GTK_INSPECTOR_IS_ACTION_EDITOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_INSPECTOR_ACTION_EDITOR))
GTK_INSPECTOR_IS_ACTION_EDITOR_CLASS
#define GTK_INSPECTOR_IS_ACTION_EDITOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GTK_TYPE_INSPECTOR_ACTION_EDITOR))
GTK_INSPECTOR_ACTION_EDITOR_GET_CLASS
#define GTK_INSPECTOR_ACTION_EDITOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_INSPECTOR_ACTION_EDITOR, GtkInspectorActionEditorClass))
gtk_inspector_action_editor_get_type
GType
void
gtk_inspector_action_editor_new
GtkWidget *
GActionGroup *group, const gchar *name, GtkSizeGroup *activate
gtk_inspector_action_editor_update
void
GtkInspectorActionEditor *r, gboolean enabled, GVariant *state
GtkInspectorActionEditorPrivate
GTK_TYPE_INSPECTOR_ACTIONS
#define GTK_TYPE_INSPECTOR_ACTIONS (gtk_inspector_actions_get_type())
GTK_INSPECTOR_ACTIONS
#define GTK_INSPECTOR_ACTIONS(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_INSPECTOR_ACTIONS, GtkInspectorActions))
GTK_INSPECTOR_ACTIONS_CLASS
#define GTK_INSPECTOR_ACTIONS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_INSPECTOR_ACTIONS, GtkInspectorActionsClass))
GTK_INSPECTOR_IS_ACTIONS
#define GTK_INSPECTOR_IS_ACTIONS(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_INSPECTOR_ACTIONS))
GTK_INSPECTOR_IS_ACTIONS_CLASS
#define GTK_INSPECTOR_IS_ACTIONS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GTK_TYPE_INSPECTOR_ACTIONS))
GTK_INSPECTOR_ACTIONS_GET_CLASS
#define GTK_INSPECTOR_ACTIONS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_INSPECTOR_ACTIONS, GtkInspectorActionsClass))
gtk_inspector_actions_get_type
GType
void
gtk_inspector_actions_set_object
void
GtkInspectorActions *sl, GObject *object
GtkInspectorActionsPrivate
GTK_TYPE_CELL_RENDERER_GRAPH
#define GTK_TYPE_CELL_RENDERER_GRAPH (gtk_cell_renderer_graph_get_type ())
GTK_CELL_RENDERER_GRAPH
#define GTK_CELL_RENDERER_GRAPH(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_CELL_RENDERER_GRAPH, GtkCellRendererGraph))
GTK_CELL_RENDERER_GRAPH_CLASS
#define GTK_CELL_RENDERER_GRAPH_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_CELL_RENDERER_GRAPH, GtkCellRendererGraphClass))
GTK_IS_CELL_RENDERER_GRAPH
#define GTK_IS_CELL_RENDERER_GRAPH(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_CELL_RENDERER_GRAPH))
GTK_IS_CELL_RENDERER_GRAPH_CLASS
#define GTK_IS_CELL_RENDERER_GRAPH_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_CELL_RENDERER_GRAPH))
GTK_CELL_RENDERER_GRAPH_GET_CLASS
#define GTK_CELL_RENDERER_GRAPH_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_CELL_RENDERER_GRAPH, GtkCellRendererGraphClass))
GtkCellRendererGraph
struct _GtkCellRendererGraph
{
GtkCellRenderer parent;
/*< private >*/
GtkCellRendererGraphPrivate *priv;
};
GtkCellRendererGraphClass
struct _GtkCellRendererGraphClass
{
GtkCellRendererClass parent_class;
/* Padding for future expansion */
void (*_gtk_reserved1) (void);
void (*_gtk_reserved2) (void);
void (*_gtk_reserved3) (void);
void (*_gtk_reserved4) (void);
};
gtk_cell_renderer_graph_get_type
GType
void
gtk_cell_renderer_graph_new
GtkCellRenderer *
void
GtkCellRendererGraphPrivate
GTK_TYPE_INSPECTOR_CONTROLLERS
#define GTK_TYPE_INSPECTOR_CONTROLLERS (gtk_inspector_controllers_get_type())
GTK_INSPECTOR_CONTROLLERS
#define GTK_INSPECTOR_CONTROLLERS(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_INSPECTOR_CONTROLLERS, GtkInspectorControllers))
GTK_INSPECTOR_CONTROLLERS_CLASS
#define GTK_INSPECTOR_CONTROLLERS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_INSPECTOR_CONTROLLERS, GtkInspectorControllersClass))
GTK_INSPECTOR_IS_GESTURES
#define GTK_INSPECTOR_IS_GESTURES(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_INSPECTOR_CONTROLLERS))
GTK_INSPECTOR_IS_GESTURES_CLASS
#define GTK_INSPECTOR_IS_GESTURES_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GTK_TYPE_INSPECTOR_CONTROLLERS))
GTK_INSPECTOR_CONTROLLERS_GET_CLASS
#define GTK_INSPECTOR_CONTROLLERS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_INSPECTOR_CONTROLLERS, GtkInspectorControllersClass))
gtk_inspector_controllers_get_type
GType
void
gtk_inspector_controllers_set_object
void
GtkInspectorControllers *sl, GObject *object
GtkInspectorControllersPrivate
GTK_TYPE_INSPECTOR_CSS_EDITOR
#define GTK_TYPE_INSPECTOR_CSS_EDITOR (gtk_inspector_css_editor_get_type())
GTK_INSPECTOR_CSS_EDITOR
#define GTK_INSPECTOR_CSS_EDITOR(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_INSPECTOR_CSS_EDITOR, GtkInspectorCssEditor))
GTK_INSPECTOR_CSS_EDITOR_CLASS
#define GTK_INSPECTOR_CSS_EDITOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_INSPECTOR_CSS_EDITOR, GtkInspectorCssEditorClass))
GTK_INSPECTOR_IS_CSS_EDITOR
#define GTK_INSPECTOR_IS_CSS_EDITOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_INSPECTOR_CSS_EDITOR))
GTK_INSPECTOR_IS_CSS_EDITOR_CLASS
#define GTK_INSPECTOR_IS_CSS_EDITOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GTK_TYPE_INSPECTOR_CSS_EDITOR))
GTK_INSPECTOR_CSS_EDITOR_GET_CLASS
#define GTK_INSPECTOR_CSS_EDITOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_INSPECTOR_CSS_EDITOR, GtkInspectorCssEditorClass))
gtk_inspector_css_editor_get_type
GType
void
gtk_inspector_css_editor_set_display
void
GtkInspectorCssEditor *ce, GdkDisplay *display
GtkInspectorCssEditorPrivate
GTK_TYPE_INSPECTOR_CSS_NODE_TREE
#define GTK_TYPE_INSPECTOR_CSS_NODE_TREE (gtk_inspector_css_node_tree_get_type())
GTK_INSPECTOR_CSS_NODE_TREE
#define GTK_INSPECTOR_CSS_NODE_TREE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_INSPECTOR_CSS_NODE_TREE, GtkInspectorCssNodeTree))
GTK_INSPECTOR_CSS_NODE_TREE_CLASS
#define GTK_INSPECTOR_CSS_NODE_TREE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_INSPECTOR_CSS_NODE_TREE, GtkInspectorCssNodeTreeClass))
GTK_INSPECTOR_IS_CSS_NODE_TREE
#define GTK_INSPECTOR_IS_CSS_NODE_TREE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_INSPECTOR_CSS_NODE_TREE))
GTK_INSPECTOR_IS_CSS_NODE_TREE_CLASS
#define GTK_INSPECTOR_IS_CSS_NODE_TREE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GTK_TYPE_INSPECTOR_CSS_NODE_TREE))
GTK_INSPECTOR_CSS_NODE_TREE_GET_CLASS
#define GTK_INSPECTOR_CSS_NODE_TREE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_INSPECTOR_CSS_NODE_TREE, GtkInspectorCssNodeTreeClass))
gtk_inspector_css_node_tree_get_type
GType
void
gtk_inspector_css_node_tree_set_object
void
GtkInspectorCssNodeTree *cnt, GObject *object
gtk_inspector_css_node_tree_get_node
GtkCssNode *
GtkInspectorCssNodeTree *cnt
gtk_inspector_css_node_tree_set_display
void
GtkInspectorCssNodeTree *cnt, GdkDisplay *display
GtkInspectorCssNodeTreePrivate
GTK_TYPE_INSPECTOR_DATA_LIST
#define GTK_TYPE_INSPECTOR_DATA_LIST (gtk_inspector_data_list_get_type())
GTK_INSPECTOR_DATA_LIST
#define GTK_INSPECTOR_DATA_LIST(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_INSPECTOR_DATA_LIST, GtkInspectorDataList))
GTK_INSPECTOR_DATA_LIST_CLASS
#define GTK_INSPECTOR_DATA_LIST_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_INSPECTOR_DATA_LIST, GtkInspectorDataListClass))
GTK_INSPECTOR_IS_DATA_LIST
#define GTK_INSPECTOR_IS_DATA_LIST(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_INSPECTOR_DATA_LIST))
GTK_INSPECTOR_IS_DATA_LIST_CLASS
#define GTK_INSPECTOR_IS_DATA_LIST_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GTK_TYPE_INSPECTOR_DATA_LIST))
GTK_INSPECTOR_DATA_LIST_GET_CLASS
#define GTK_INSPECTOR_DATA_LIST_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_INSPECTOR_DATA_LIST, GtkInspectorDataListClass))
gtk_inspector_data_list_get_type
GType
void
gtk_inspector_data_list_set_object
void
GtkInspectorDataList *sl, GObject *object
GtkInspectorDataListPrivate
GTK_TYPE_FOCUS_OVERLAY
#define GTK_TYPE_FOCUS_OVERLAY (gtk_focus_overlay_get_type ())
gtk_focus_overlay_new
GtkInspectorOverlay *
void
gtk_focus_overlay_set_color
void
GtkFocusOverlay *self, const GdkRGBA *color
GtkFocusOverlay
GTK_TYPE_FPS_OVERLAY
#define GTK_TYPE_FPS_OVERLAY (gtk_fps_overlay_get_type ())
gtk_fps_overlay_new
GtkInspectorOverlay *
void
GtkFpsOverlay
GTK_TYPE_INSPECTOR_GENERAL
#define GTK_TYPE_INSPECTOR_GENERAL (gtk_inspector_general_get_type())
GTK_INSPECTOR_GENERAL
#define GTK_INSPECTOR_GENERAL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_INSPECTOR_GENERAL, GtkInspectorGeneral))
GTK_INSPECTOR_GENERAL_CLASS
#define GTK_INSPECTOR_GENERAL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_INSPECTOR_GENERAL, GtkInspectorGeneralClass))
GTK_INSPECTOR_IS_GENERAL
#define GTK_INSPECTOR_IS_GENERAL(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_INSPECTOR_GENERAL))
GTK_INSPECTOR_IS_GENERAL_CLASS
#define GTK_INSPECTOR_IS_GENERAL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GTK_TYPE_INSPECTOR_GENERAL))
GTK_INSPECTOR_GENERAL_GET_CLASS
#define GTK_INSPECTOR_GENERAL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_INSPECTOR_GENERAL, GtkInspectorGeneralClass))
gtk_inspector_general_get_type
GType
void
gtk_inspector_general_set_display
void
GtkInspectorGeneral *general, GdkDisplay *display
GtkInspectorGeneralPrivate
GTK_TYPE_GRAPH_DATA
#define GTK_TYPE_GRAPH_DATA (gtk_graph_data_get_type ())
GTK_GRAPH_DATA
#define GTK_GRAPH_DATA(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_GRAPH_DATA, GtkGraphData))
GTK_GRAPH_DATA_CLASS
#define GTK_GRAPH_DATA_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_GRAPH_DATA, GtkGraphDataClass))
GTK_IS_GRAPH_DATA
#define GTK_IS_GRAPH_DATA(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_GRAPH_DATA))
GTK_IS_GRAPH_DATA_CLASS
#define GTK_IS_GRAPH_DATA_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_GRAPH_DATA))
GTK_GRAPH_DATA_GET_CLASS
#define GTK_GRAPH_DATA_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_GRAPH_DATA, GtkGraphDataClass))
GtkGraphData
struct _GtkGraphData
{
GObject object;
/*< private >*/
GtkGraphDataPrivate *priv;
};
GtkGraphDataClass
struct _GtkGraphDataClass
{
GObjectClass parent_class;
/* Padding for future expansion */
void (*_gtk_reserved1) (void);
void (*_gtk_reserved2) (void);
void (*_gtk_reserved3) (void);
void (*_gtk_reserved4) (void);
};
gtk_graph_data_get_type
GType
void
gtk_graph_data_new
GtkGraphData *
guint n_values
gtk_graph_data_get_n_values
guint
GtkGraphData *data
gtk_graph_data_get_value
double
GtkGraphData *data, guint i
gtk_graph_data_get_minimum
double
GtkGraphData *data
gtk_graph_data_get_maximum
double
GtkGraphData *data
gtk_graph_data_prepend_value
void
GtkGraphData *data, double value
GtkGraphDataPrivate
GTK_TYPE_TREE_MODEL_CSS_NODE
#define GTK_TYPE_TREE_MODEL_CSS_NODE (gtk_tree_model_css_node_get_type ())
GTK_TREE_MODEL_CSS_NODE
#define GTK_TREE_MODEL_CSS_NODE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_TREE_MODEL_CSS_NODE, GtkTreeModelCssNode))
GTK_TREE_MODEL_CSS_NODE_CLASS
#define GTK_TREE_MODEL_CSS_NODE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_TREE_MODEL_CSS_NODE, GtkTreeModelCssNodeClass))
GTK_IS_TREE_MODEL_CSS_NODE
#define GTK_IS_TREE_MODEL_CSS_NODE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_TREE_MODEL_CSS_NODE))
GTK_IS_TREE_MODEL_CSS_NODE_CLASS
#define GTK_IS_TREE_MODEL_CSS_NODE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_TREE_MODEL_CSS_NODE))
GTK_TREE_MODEL_CSS_NODE_GET_CLASS
#define GTK_TREE_MODEL_CSS_NODE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_TREE_MODEL_CSS_NODE, GtkTreeModelCssNodeClass))
GtkTreeModelCssNodeGetFunc
void
GtkTreeModelCssNode *model, GtkCssNode *node, int column, GValue *value
GtkTreeModelCssNode
struct _GtkTreeModelCssNode
{
GObject parent;
GtkTreeModelCssNodePrivate *priv;
};
GtkTreeModelCssNodeClass
struct _GtkTreeModelCssNodeClass
{
GObjectClass parent_class;
};
gtk_tree_model_css_node_get_type
GType
void
gtk_tree_model_css_node_new
GtkTreeModel *
GtkTreeModelCssNodeGetFunc get_func, gint n_columns, ...
gtk_tree_model_css_node_newv
GtkTreeModel *
GtkTreeModelCssNodeGetFunc get_func, gint n_columns, GType *types
gtk_tree_model_css_node_set_root_node
void
GtkTreeModelCssNode *model, GtkCssNode *node
gtk_tree_model_css_node_get_root_node
GtkCssNode *
GtkTreeModelCssNode *model
gtk_tree_model_css_node_get_node_from_iter
GtkCssNode *
GtkTreeModelCssNode *model, GtkTreeIter *iter
gtk_tree_model_css_node_get_iter_from_node
void
GtkTreeModelCssNode *model, GtkTreeIter *iter, GtkCssNode *node
GtkTreeModelCssNodePrivate
GTK_TYPE_HIGHLIGHT_OVERLAY
#define GTK_TYPE_HIGHLIGHT_OVERLAY (gtk_highlight_overlay_get_type ())
gtk_highlight_overlay_new
GtkInspectorOverlay *
GtkWidget *widget
gtk_highlight_overlay_get_widget
GtkWidget *
GtkHighlightOverlay *self
gtk_highlight_overlay_set_color
void
GtkHighlightOverlay *self, const GdkRGBA *color
GtkHighlightOverlay
gtk_inspector_init
void
void
GTK_TYPE_INSPECTOR_OVERLAY
#define GTK_TYPE_INSPECTOR_OVERLAY (gtk_inspector_overlay_get_type ())
GtkInspectorOverlayClass
struct _GtkInspectorOverlayClass
{
GObjectClass parent_class;
void (* snapshot) (GtkInspectorOverlay *self,
GtkSnapshot *snapshot,
GskRenderNode *node,
GtkWidget *widget);
void (* queue_draw) (GtkInspectorOverlay *self);
};
gtk_inspector_overlay_snapshot
void
GtkInspectorOverlay *self, GtkSnapshot *snapshot, GskRenderNode *node, GtkWidget *widget
gtk_inspector_overlay_queue_draw
void
GtkInspectorOverlay *self
GtkInspectorOverlay
GTK_TYPE_LAYOUT_OVERLAY
#define GTK_TYPE_LAYOUT_OVERLAY (gtk_layout_overlay_get_type ())
gtk_layout_overlay_new
GtkInspectorOverlay *
void
GtkLayoutOverlay
GTK_TYPE_INSPECTOR_LOGS
#define GTK_TYPE_INSPECTOR_LOGS (gtk_inspector_logs_get_type())
GTK_INSPECTOR_LOGS
#define GTK_INSPECTOR_LOGS(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_INSPECTOR_LOGS, GtkInspectorLogs))
GTK_INSPECTOR_LOGS_CLASS
#define GTK_INSPECTOR_LOGS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_INSPECTOR_LOGS, GtkInspectorLogsClass))
GTK_INSPECTOR_IS_LOGS
#define GTK_INSPECTOR_IS_LOGS(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_INSPECTOR_LOGS))
GTK_INSPECTOR_IS_LOGS_CLASS
#define GTK_INSPECTOR_IS_LOGS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GTK_TYPE_INSPECTOR_LOGS))
GTK_INSPECTOR_LOGS_GET_CLASS
#define GTK_INSPECTOR_LOGS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_INSPECTOR_LOGS, GtkInspectorLogsClass))
gtk_inspector_logs_get_type
GType
void
gtk_inspector_logs_set_display
void
GtkInspectorLogs *logs, GdkDisplay *display
GtkInspectorLogsPrivate
GTK_TYPE_INSPECTOR_MAGNIFIER
#define GTK_TYPE_INSPECTOR_MAGNIFIER (gtk_inspector_magnifier_get_type())
GTK_INSPECTOR_MAGNIFIER
#define GTK_INSPECTOR_MAGNIFIER(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_INSPECTOR_MAGNIFIER, GtkInspectorMagnifier))
GTK_INSPECTOR_MAGNIFIER_CLASS
#define GTK_INSPECTOR_MAGNIFIER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_INSPECTOR_MAGNIFIER, GtkInspectorMagnifierClass))
GTK_INSPECTOR_IS_MAGNIFIER
#define GTK_INSPECTOR_IS_MAGNIFIER(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_INSPECTOR_MAGNIFIER))
GTK_INSPECTOR_IS_MAGNIFIER_CLASS
#define GTK_INSPECTOR_IS_MAGNIFIER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GTK_TYPE_INSPECTOR_MAGNIFIER))
GTK_INSPECTOR_MAGNIFIER_GET_CLASS
#define GTK_INSPECTOR_MAGNIFIER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_INSPECTOR_MAGNIFIER, GtkInspectorMagnifierClass))
gtk_inspector_magnifier_get_type
GType
void
gtk_inspector_magnifier_set_object
void
GtkInspectorMagnifier *sl, GObject *object
GtkInspectorMagnifierPrivate
GTK_TYPE_INSPECTOR_MENU
#define GTK_TYPE_INSPECTOR_MENU (gtk_inspector_menu_get_type())
GTK_INSPECTOR_MENU
#define GTK_INSPECTOR_MENU(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_INSPECTOR_MENU, GtkInspectorMenu))
GTK_INSPECTOR_MENU_CLASS
#define GTK_INSPECTOR_MENU_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_INSPECTOR_MENU, GtkInspectorMenuClass))
GTK_INSPECTOR_IS_MENU
#define GTK_INSPECTOR_IS_MENU(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_INSPECTOR_MENU))
GTK_INSPECTOR_IS_MENU_CLASS
#define GTK_INSPECTOR_IS_MENU_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GTK_TYPE_INSPECTOR_MENU))
GTK_INSPECTOR_MENU_GET_CLASS
#define GTK_INSPECTOR_MENU_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_INSPECTOR_MENU, GtkInspectorMenuClass))
gtk_inspector_menu_get_type
GType
void
gtk_inspector_menu_set_object
void
GtkInspectorMenu *sl, GObject *object
GtkInspectorMenuPrivate
GTK_TYPE_INSPECTOR_MISC_INFO
#define GTK_TYPE_INSPECTOR_MISC_INFO (gtk_inspector_misc_info_get_type())
GTK_INSPECTOR_MISC_INFO
#define GTK_INSPECTOR_MISC_INFO(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_INSPECTOR_MISC_INFO, GtkInspectorMiscInfo))
GTK_INSPECTOR_MISC_INFO_CLASS
#define GTK_INSPECTOR_MISC_INFO_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_INSPECTOR_MISC_INFO, GtkInspectorMiscInfoClass))
GTK_INSPECTOR_IS_MISC_INFO
#define GTK_INSPECTOR_IS_MISC_INFO(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_INSPECTOR_MISC_INFO))
GTK_INSPECTOR_IS_MISC_INFO_CLASS
#define GTK_INSPECTOR_IS_MISC_INFO_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GTK_TYPE_INSPECTOR_MISC_INFO))
GTK_INSPECTOR_MISC_INFO_GET_CLASS
#define GTK_INSPECTOR_MISC_INFO_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_INSPECTOR_MISC_INFO, GtkInspectorMiscInfoClass))
gtk_inspector_misc_info_get_type
GType
void
gtk_inspector_misc_info_set_object
void
GtkInspectorMiscInfo *sl, GObject *object
GtkInspectorMiscInfoPrivate
GTK_TYPE_INSPECTOR_OBJECT_TREE
#define GTK_TYPE_INSPECTOR_OBJECT_TREE (gtk_inspector_object_tree_get_type())
GTK_INSPECTOR_OBJECT_TREE
#define GTK_INSPECTOR_OBJECT_TREE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_INSPECTOR_OBJECT_TREE, GtkInspectorObjectTree))
GTK_INSPECTOR_OBJECT_TREE_CLASS
#define GTK_INSPECTOR_OBJECT_TREE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_INSPECTOR_OBJECT_TREE, GtkInspectorObjectTreeClass))
GTK_INSPECTOR_IS_OBJECT_TREE
#define GTK_INSPECTOR_IS_OBJECT_TREE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_INSPECTOR_OBJECT_TREE))
GTK_INSPECTOR_IS_OBJECT_TREE_CLASS
#define GTK_INSPECTOR_IS_OBJECT_TREE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GTK_TYPE_INSPECTOR_OBJECT_TREE))
GTK_INSPECTOR_OBJECT_TREE_GET_CLASS
#define GTK_INSPECTOR_OBJECT_TREE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_INSPECTOR_OBJECT_TREE, GtkInspectorObjectTreeClass))
object_selected
void
GtkInspectorObjectTree *wt, GObject *object
object_activated
void
GtkInspectorObjectTree *wt, GObject *object
gtk_inspector_object_tree_get_type
GType
void
gtk_inspector_get_object_title
char *
GObject *object
gtk_inspector_object_tree_select_object
void
GtkInspectorObjectTree *wt, GObject *object
gtk_inspector_object_tree_activate_object
void
GtkInspectorObjectTree *wt, GObject *object
gtk_inspector_object_tree_get_selected
GObject *
GtkInspectorObjectTree *wt
gtk_inspector_object_tree_set_display
void
GtkInspectorObjectTree *wt, GdkDisplay *display
GtkInspectorObjectTreePrivate
GTK_TYPE_INSPECTOR_PROP_EDITOR
#define GTK_TYPE_INSPECTOR_PROP_EDITOR (gtk_inspector_prop_editor_get_type())
GTK_INSPECTOR_PROP_EDITOR
#define GTK_INSPECTOR_PROP_EDITOR(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_INSPECTOR_PROP_EDITOR, GtkInspectorPropEditor))
GTK_INSPECTOR_PROP_EDITOR_CLASS
#define GTK_INSPECTOR_PROP_EDITOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_INSPECTOR_PROP_EDITOR, GtkInspectorPropEditorClass))
GTK_INSPECTOR_IS_PROP_EDITOR
#define GTK_INSPECTOR_IS_PROP_EDITOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_INSPECTOR_PROP_EDITOR))
GTK_INSPECTOR_IS_PROP_EDITOR_CLASS
#define GTK_INSPECTOR_IS_PROP_EDITOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GTK_TYPE_INSPECTOR_PROP_EDITOR))
GTK_INSPECTOR_PROP_EDITOR_GET_CLASS
#define GTK_INSPECTOR_PROP_EDITOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_INSPECTOR_PROP_EDITOR, GtkInspectorPropEditorClass))
show_object
void
GtkInspectorPropEditor *editor, GObject *object, const gchar *name, const gchar *tab
gtk_inspector_prop_editor_get_type
GType
void
gtk_inspector_prop_editor_new
GtkWidget *
GObject *object, const gchar *name, GtkSizeGroup *values
gtk_inspector_prop_editor_should_expand
gboolean
GtkInspectorPropEditor *editor
GtkInspectorPropEditorPrivate
GTK_TYPE_INSPECTOR_PROP_LIST
#define GTK_TYPE_INSPECTOR_PROP_LIST (gtk_inspector_prop_list_get_type())
GTK_INSPECTOR_PROP_LIST
#define GTK_INSPECTOR_PROP_LIST(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_INSPECTOR_PROP_LIST, GtkInspectorPropList))
GTK_INSPECTOR_PROP_LIST_CLASS
#define GTK_INSPECTOR_PROP_LIST_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_INSPECTOR_PROP_LIST, GtkInspectorPropListClass))
GTK_INSPECTOR_IS_PROP_LIST
#define GTK_INSPECTOR_IS_PROP_LIST(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_INSPECTOR_PROP_LIST))
GTK_INSPECTOR_IS_PROP_LIST_CLASS
#define GTK_INSPECTOR_IS_PROP_LIST_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GTK_TYPE_INSPECTOR_PROP_LIST))
GTK_INSPECTOR_PROP_LIST_GET_CLASS
#define GTK_INSPECTOR_PROP_LIST_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_INSPECTOR_PROP_LIST, GtkInspectorPropListClass))
gtk_inspector_prop_list_get_type
GType
void
gtk_inspector_prop_list_set_object
gboolean
GtkInspectorPropList *pl, GObject *object
gtk_inspector_prop_list_set_layout_child
void
GtkInspectorPropList *pl, GObject *object
strdup_value_contents
void
const GValue *value, gchar **contents, gchar **type
GtkInspectorPropListPrivate
GTK_TYPE_INSPECTOR_RECORDER
#define GTK_TYPE_INSPECTOR_RECORDER (gtk_inspector_recorder_get_type())
GTK_INSPECTOR_RECORDER
#define GTK_INSPECTOR_RECORDER(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_INSPECTOR_RECORDER, GtkInspectorRecorder))
GTK_INSPECTOR_RECORDER_CLASS
#define GTK_INSPECTOR_RECORDER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_INSPECTOR_RECORDER, GtkInspectorRecorderClass))
GTK_INSPECTOR_IS_RECORDER
#define GTK_INSPECTOR_IS_RECORDER(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_INSPECTOR_RECORDER))
GTK_INSPECTOR_IS_RECORDER_CLASS
#define GTK_INSPECTOR_IS_RECORDER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GTK_TYPE_INSPECTOR_RECORDER))
GTK_INSPECTOR_RECORDER_GET_CLASS
#define GTK_INSPECTOR_RECORDER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_INSPECTOR_RECORDER, GtkInspectorRecorderClass))
gtk_inspector_recorder_get_type
GType
void
gtk_inspector_recorder_set_recording
void
GtkInspectorRecorder *recorder, gboolean record
gtk_inspector_recorder_is_recording
gboolean
GtkInspectorRecorder *recorder
gtk_inspector_recorder_set_debug_nodes
void
GtkInspectorRecorder *recorder, gboolean debug_nodes
gtk_inspector_recorder_record_render
void
GtkInspectorRecorder *recorder, GtkWidget *widget, GskRenderer *renderer, GdkSurface *surface, const cairo_region_t *region, GskRenderNode *node
GtkInspectorRecorderPrivate
GTK_TYPE_INSPECTOR_RECORDING
#define GTK_TYPE_INSPECTOR_RECORDING (gtk_inspector_recording_get_type())
GTK_INSPECTOR_RECORDING
#define GTK_INSPECTOR_RECORDING(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_INSPECTOR_RECORDING, GtkInspectorRecording))
GTK_INSPECTOR_RECORDING_CLASS
#define GTK_INSPECTOR_RECORDING_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_INSPECTOR_RECORDING, GtkInspectorRecordingClass))
GTK_INSPECTOR_IS_RECORDING
#define GTK_INSPECTOR_IS_RECORDING(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_INSPECTOR_RECORDING))
GTK_INSPECTOR_IS_RECORDING_CLASS
#define GTK_INSPECTOR_IS_RECORDING_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GTK_TYPE_INSPECTOR_RECORDING))
GTK_INSPECTOR_RECORDING_GET_CLASS
#define GTK_INSPECTOR_RECORDING_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_INSPECTOR_RECORDING, GtkInspectorRecordingClass))
gtk_inspector_recording_get_type
GType
void
gtk_inspector_recording_get_timestamp
gint64
GtkInspectorRecording *recording
GtkInspectorRecordingPrivate
GTK_TYPE_INSPECTOR_RENDER_RECORDING
#define GTK_TYPE_INSPECTOR_RENDER_RECORDING (gtk_inspector_render_recording_get_type())
GTK_INSPECTOR_RENDER_RECORDING
#define GTK_INSPECTOR_RENDER_RECORDING(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_INSPECTOR_RENDER_RECORDING, GtkInspectorRenderRecording))
GTK_INSPECTOR_RENDER_RECORDING_CLASS
#define GTK_INSPECTOR_RENDER_RECORDING_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_INSPECTOR_RENDER_RECORDING, GtkInspectorRenderRecordingClass))
GTK_INSPECTOR_IS_RENDER_RECORDING
#define GTK_INSPECTOR_IS_RENDER_RECORDING(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_INSPECTOR_RENDER_RECORDING))
GTK_INSPECTOR_IS_RENDER_RECORDING_CLASS
#define GTK_INSPECTOR_IS_RENDER_RECORDING_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GTK_TYPE_INSPECTOR_RENDER_RECORDING))
GTK_INSPECTOR_RENDER_RECORDING_GET_CLASS
#define GTK_INSPECTOR_RENDER_RECORDING_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_INSPECTOR_RENDER_RECORDING, GtkInspectorRenderRecordingClass))
gtk_inspector_render_recording_get_type
GType
void
gtk_inspector_render_recording_new
GtkInspectorRecording *
gint64 timestamp, GskProfiler *profiler, const GdkRectangle *area, const cairo_region_t *clip_region, GskRenderNode *node
gtk_inspector_render_recording_get_node
GskRenderNode *
GtkInspectorRenderRecording *recording
gtk_inspector_render_recording_get_clip_region
const cairo_region_t *
GtkInspectorRenderRecording *recording
gtk_inspector_render_recording_get_area
const cairo_rectangle_int_t *
GtkInspectorRenderRecording *recording
gtk_inspector_render_recording_get_profiler_info
const char *
GtkInspectorRenderRecording *recording
GtkInspectorRenderRecordingPrivate
GTK_TYPE_INSPECTOR_RESOURCE_LIST
#define GTK_TYPE_INSPECTOR_RESOURCE_LIST (gtk_inspector_resource_list_get_type())
GTK_INSPECTOR_RESOURCE_LIST
#define GTK_INSPECTOR_RESOURCE_LIST(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_INSPECTOR_RESOURCE_LIST, GtkInspectorResourceList))
GTK_INSPECTOR_RESOURCE_LIST_CLASS
#define GTK_INSPECTOR_RESOURCE_LIST_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_INSPECTOR_RESOURCE_LIST, GtkInspectorResourceListClass))
GTK_INSPECTOR_IS_RESOURCE_LIST
#define GTK_INSPECTOR_IS_RESOURCE_LIST(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_INSPECTOR_RESOURCE_LIST))
GTK_INSPECTOR_IS_RESOURCE_LIST_CLASS
#define GTK_INSPECTOR_IS_RESOURCE_LIST_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GTK_TYPE_INSPECTOR_RESOURCE_LIST))
GTK_INSPECTOR_RESOURCE_LIST_GET_CLASS
#define GTK_INSPECTOR_RESOURCE_LIST_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_INSPECTOR_RESOURCE_LIST, GtkInspectorResourceListClass))
gtk_inspector_resource_list_get_type
GType
void
GtkInspectorResourceListPrivate
GTK_TYPE_INSPECTOR_SIZE_GROUPS
#define GTK_TYPE_INSPECTOR_SIZE_GROUPS (gtk_inspector_size_groups_get_type())
GTK_INSPECTOR_SIZE_GROUPS
#define GTK_INSPECTOR_SIZE_GROUPS(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_INSPECTOR_SIZE_GROUPS, GtkInspectorSizeGroups))
GTK_INSPECTOR_SIZE_GROUPS_CLASS
#define GTK_INSPECTOR_SIZE_GROUPS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_INSPECTOR_SIZE_GROUPS, GtkInspectorSizeGroupsClass))
GTK_INSPECTOR_IS_SIZE_GROUPS
#define GTK_INSPECTOR_IS_SIZE_GROUPS(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_INSPECTOR_SIZE_GROUPS))
GTK_INSPECTOR_IS_SIZE_GROUPS_CLASS
#define GTK_INSPECTOR_IS_SIZE_GROUPS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GTK_TYPE_INSPECTOR_SIZE_GROUPS))
GTK_INSPECTOR_SIZE_GROUPS_GET_CLASS
#define GTK_INSPECTOR_SIZE_GROUPS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_INSPECTOR_SIZE_GROUPS, GtkInspectorSizeGroupsClass))
gtk_inspector_size_groups_get_type
GType
void
gtk_inspector_size_groups_set_object
void
GtkInspectorSizeGroups *sl, GObject *object
GTK_TYPE_INSPECTOR_START_RECORDING
#define GTK_TYPE_INSPECTOR_START_RECORDING (gtk_inspector_start_recording_get_type())
GTK_INSPECTOR_START_RECORDING
#define GTK_INSPECTOR_START_RECORDING(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_INSPECTOR_START_RECORDING, GtkInspectorStartRecording))
GTK_INSPECTOR_START_RECORDING_CLASS
#define GTK_INSPECTOR_START_RECORDING_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_INSPECTOR_START_RECORDING, GtkInspectorStartRecordingClass))
GTK_INSPECTOR_IS_START_RECORDING
#define GTK_INSPECTOR_IS_START_RECORDING(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_INSPECTOR_START_RECORDING))
GTK_INSPECTOR_IS_START_RECORDING_CLASS
#define GTK_INSPECTOR_IS_START_RECORDING_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GTK_TYPE_INSPECTOR_START_RECORDING))
GTK_INSPECTOR_START_RECORDING_GET_CLASS
#define GTK_INSPECTOR_START_RECORDING_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_INSPECTOR_START_RECORDING, GtkInspectorStartRecordingClass))
gtk_inspector_start_recording_get_type
GType
void
gtk_inspector_start_recording_new
GtkInspectorRecording *
void
GtkInspectorStartRecordingPrivate
GTK_TYPE_INSPECTOR_STATISTICS
#define GTK_TYPE_INSPECTOR_STATISTICS (gtk_inspector_statistics_get_type())
GTK_INSPECTOR_STATISTICS
#define GTK_INSPECTOR_STATISTICS(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_INSPECTOR_STATISTICS, GtkInspectorStatistics))
GTK_INSPECTOR_STATISTICS_CLASS
#define GTK_INSPECTOR_STATISTICS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_INSPECTOR_STATISTICS, GtkInspectorStatisticsClass))
GTK_INSPECTOR_IS_STATISTICS
#define GTK_INSPECTOR_IS_STATISTICS(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_INSPECTOR_STATISTICS))
GTK_INSPECTOR_IS_STATISTICS_CLASS
#define GTK_INSPECTOR_IS_STATISTICS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GTK_TYPE_INSPECTOR_STATISTICS))
GTK_INSPECTOR_STATISTICS_GET_CLASS
#define GTK_INSPECTOR_STATISTICS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_INSPECTOR_STATISTICS, GtkInspectorStatisticsClass))
gtk_inspector_statistics_get_type
GType
void
GtkInspectorStatisticsPrivate
GTK_TYPE_INSPECTOR_STRV_EDITOR
#define GTK_TYPE_INSPECTOR_STRV_EDITOR (gtk_inspector_strv_editor_get_type())
GTK_INSPECTOR_STRV_EDITOR
#define GTK_INSPECTOR_STRV_EDITOR(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_INSPECTOR_STRV_EDITOR, GtkInspectorStrvEditor))
GTK_INSPECTOR_STRV_EDITOR_CLASS
#define GTK_INSPECTOR_STRV_EDITOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_INSPECTOR_STRV_EDITOR, GtkInspectorStrvEditorClass))
GTK_INSPECTOR_IS_STRV_EDITOR
#define GTK_INSPECTOR_IS_STRV_EDITOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_INSPECTOR_STRV_EDITOR))
GTK_INSPECTOR_IS_STRV_EDITOR_CLASS
#define GTK_INSPECTOR_IS_STRV_EDITOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GTK_TYPE_INSPECTOR_STRV_EDITOR))
GTK_INSPECTOR_STRV_EDITOR_GET_CLASS
#define GTK_INSPECTOR_STRV_EDITOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_INSPECTOR_STRV_EDITOR, GtkInspectorStrvEditorClass))
changed
void
GtkInspectorStrvEditor *editor
gtk_inspector_strv_editor_get_type
GType
void
gtk_inspector_strv_editor_set_strv
void
GtkInspectorStrvEditor *editor, gchar **strv
gtk_inspector_strv_editor_get_strv
gchar **
GtkInspectorStrvEditor *editor
RowPredicate
gboolean
GtkTreeModel *model, GtkTreeIter *iter, gpointer data
gtk_tree_walk_new
GtkTreeWalk *
GtkTreeModel *model, RowPredicate predicate, gpointer data, GDestroyNotify destroy
gtk_tree_walk_free
void
GtkTreeWalk *walk
gtk_tree_walk_reset
void
GtkTreeWalk *walk, GtkTreeIter *iter
gtk_tree_walk_next_match
gboolean
GtkTreeWalk *walk, gboolean force_move, gboolean backwards, GtkTreeIter *iter
gtk_tree_walk_get_position
gboolean
GtkTreeWalk *walk, GtkTreeIter *iter
GtkTreeWalk
GTK_TYPE_INSPECTOR_TYPE_POPOVER
#define GTK_TYPE_INSPECTOR_TYPE_POPOVER (gtk_inspector_type_popover_get_type ())
gtk_inspector_type_popover_set_gtype
void
GtkInspectorTypePopover *self, GType gtype
GtkInspectorTypePopover
GTK_TYPE_UPDATES_OVERLAY
#define GTK_TYPE_UPDATES_OVERLAY (gtk_updates_overlay_get_type ())
gtk_updates_overlay_new
GtkInspectorOverlay *
void
GtkUpdatesOverlay
GTK_TYPE_INSPECTOR_VISUAL
#define GTK_TYPE_INSPECTOR_VISUAL (gtk_inspector_visual_get_type())
GTK_INSPECTOR_VISUAL
#define GTK_INSPECTOR_VISUAL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_INSPECTOR_VISUAL, GtkInspectorVisual))
GTK_INSPECTOR_VISUAL_CLASS
#define GTK_INSPECTOR_VISUAL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_INSPECTOR_VISUAL, GtkInspectorVisualClass))
GTK_INSPECTOR_IS_VISUAL
#define GTK_INSPECTOR_IS_VISUAL(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_INSPECTOR_VISUAL))
GTK_INSPECTOR_IS_VISUAL_CLASS
#define GTK_INSPECTOR_IS_VISUAL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GTK_TYPE_INSPECTOR_VISUAL))
GTK_INSPECTOR_VISUAL_GET_CLASS
#define GTK_INSPECTOR_VISUAL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_INSPECTOR_VISUAL, GtkInspectorVisualClass))
gtk_inspector_visual_get_type
GType
void
gtk_inspector_visual_set_display
void
GtkInspectorVisual *vis, GdkDisplay *display
GtkInspectorVisualPrivate
GTK_TYPE_INSPECTOR_WINDOW
#define GTK_TYPE_INSPECTOR_WINDOW (gtk_inspector_window_get_type())
GTK_INSPECTOR_WINDOW
#define GTK_INSPECTOR_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_INSPECTOR_WINDOW, GtkInspectorWindow))
GTK_INSPECTOR_WINDOW_CLASS
#define GTK_INSPECTOR_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_INSPECTOR_WINDOW, GtkInspectorWindowClass))
GTK_INSPECTOR_IS_WINDOW
#define GTK_INSPECTOR_IS_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_INSPECTOR_WINDOW))
GTK_INSPECTOR_IS_WINDOW_CLASS
#define GTK_INSPECTOR_IS_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GTK_TYPE_INSPECTOR_WINDOW))
GTK_INSPECTOR_WINDOW_GET_CLASS
#define GTK_INSPECTOR_WINDOW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_INSPECTOR_WINDOW, GtkInspectorWindowClass))
TREE_TEXT_SCALE
#define TREE_TEXT_SCALE 0.8
TREE_CHECKBOX_SIZE
#define TREE_CHECKBOX_SIZE (gint)(0.8 * 13)
gtk_inspector_window_get_type
GType
void
gtk_inspector_window_get
GtkWidget *
GdkDisplay *display
gtk_inspector_flash_widget
void
GtkInspectorWindow *iw, GtkWidget *widget
gtk_inspector_on_inspect
void
GtkWidget *widget, GtkInspectorWindow *iw
gtk_inspector_window_add_overlay
void
GtkInspectorWindow *iw, GtkInspectorOverlay *overlay
gtk_inspector_window_remove_overlay
void
GtkInspectorWindow *iw, GtkInspectorOverlay *overlay
gtk_inspector_window_select_widget_under_pointer
void
GtkInspectorWindow *iw
gtk_inspector_window_get_inspected_display
GdkDisplay *
GtkInspectorWindow *iw
gtk_inspector_is_recording
gboolean
GtkWidget *widget
gtk_inspector_prepare_render
GskRenderNode *
GtkWidget *widget, GskRenderer *renderer, GdkSurface *surface, const cairo_region_t *region, GskRenderNode *node
gtk_inspector_handle_event
gboolean
GdkEvent *event
_GtkMountOperationHandlerIface
struct __GtkMountOperationHandlerIface
{
GTypeInterface parent_iface;
gboolean (*handle_ask_password) (
_GtkMountOperationHandler *object,
GDBusMethodInvocation *invocation,
const gchar *arg_id,
const gchar *arg_message,
const gchar *arg_icon_name,
const gchar *arg_default_user,
const gchar *arg_default_domain,
guint arg_flags);
gboolean (*handle_ask_question) (
_GtkMountOperationHandler *object,
GDBusMethodInvocation *invocation,
const gchar *arg_id,
const gchar *arg_message,
const gchar *arg_icon_name,
const gchar *const *arg_choices);
gboolean (*handle_close) (
_GtkMountOperationHandler *object,
GDBusMethodInvocation *invocation);
gboolean (*handle_show_processes) (
_GtkMountOperationHandler *object,
GDBusMethodInvocation *invocation,
const gchar *arg_id,
const gchar *arg_message,
const gchar *arg_icon_name,
GVariant *arg_application_pids,
const gchar *const *arg_choices);
};
_GtkMountOperationHandlerProxy
struct __GtkMountOperationHandlerProxy
{
/*< private >*/
GDBusProxy parent_instance;
_GtkMountOperationHandlerProxyPrivate *priv;
};
_GtkMountOperationHandlerProxyClass
struct __GtkMountOperationHandlerProxyClass
{
GDBusProxyClass parent_class;
};
_GtkMountOperationHandlerSkeleton
struct __GtkMountOperationHandlerSkeleton
{
/*< private >*/
GDBusInterfaceSkeleton parent_instance;
_GtkMountOperationHandlerSkeletonPrivate *priv;
};
_GtkMountOperationHandlerSkeletonClass
struct __GtkMountOperationHandlerSkeletonClass
{
GDBusInterfaceSkeletonClass parent_class;
};
_GtkMountOperationHandler
_GtkMountOperationHandlerProxyPrivate
_GtkMountOperationHandlerSkeletonPrivate
GTK_TYPE_CSS_AFFECTS
#define GTK_TYPE_CSS_AFFECTS (_gtk_css_affects_get_type ())
GTK_TYPE_TEXT_HANDLE_POSITION
#define GTK_TYPE_TEXT_HANDLE_POSITION (_gtk_text_handle_position_get_type ())
GTK_TYPE_TEXT_HANDLE_MODE
#define GTK_TYPE_TEXT_HANDLE_MODE (_gtk_text_handle_mode_get_type ())
GTK_TYPE_LICENSE
#define GTK_TYPE_LICENSE (gtk_license_get_type ())
GTK_TYPE_ACCEL_FLAGS
#define GTK_TYPE_ACCEL_FLAGS (gtk_accel_flags_get_type ())
GTK_TYPE_APPLICATION_INHIBIT_FLAGS
#define GTK_TYPE_APPLICATION_INHIBIT_FLAGS (gtk_application_inhibit_flags_get_type ())
GTK_TYPE_ASSISTANT_PAGE_TYPE
#define GTK_TYPE_ASSISTANT_PAGE_TYPE (gtk_assistant_page_type_get_type ())
GTK_TYPE_BUILDER_ERROR
#define GTK_TYPE_BUILDER_ERROR (gtk_builder_error_get_type ())
GTK_TYPE_BUILDER_CLOSURE_FLAGS
#define GTK_TYPE_BUILDER_CLOSURE_FLAGS (gtk_builder_closure_flags_get_type ())
GTK_TYPE_CELL_RENDERER_STATE
#define GTK_TYPE_CELL_RENDERER_STATE (gtk_cell_renderer_state_get_type ())
GTK_TYPE_CELL_RENDERER_MODE
#define GTK_TYPE_CELL_RENDERER_MODE (gtk_cell_renderer_mode_get_type ())
GTK_TYPE_CELL_RENDERER_ACCEL_MODE
#define GTK_TYPE_CELL_RENDERER_ACCEL_MODE (gtk_cell_renderer_accel_mode_get_type ())
GTK_TYPE_DEBUG_FLAG
#define GTK_TYPE_DEBUG_FLAG (gtk_debug_flag_get_type ())
GTK_TYPE_DIALOG_FLAGS
#define GTK_TYPE_DIALOG_FLAGS (gtk_dialog_flags_get_type ())
GTK_TYPE_RESPONSE_TYPE
#define GTK_TYPE_RESPONSE_TYPE (gtk_response_type_get_type ())
GTK_TYPE_EDITABLE_PROPERTIES
#define GTK_TYPE_EDITABLE_PROPERTIES (gtk_editable_properties_get_type ())
GTK_TYPE_ENTRY_ICON_POSITION
#define GTK_TYPE_ENTRY_ICON_POSITION (gtk_entry_icon_position_get_type ())
GTK_TYPE_ALIGN
#define GTK_TYPE_ALIGN (gtk_align_get_type ())
GTK_TYPE_ARROW_TYPE
#define GTK_TYPE_ARROW_TYPE (gtk_arrow_type_get_type ())
GTK_TYPE_BASELINE_POSITION
#define GTK_TYPE_BASELINE_POSITION (gtk_baseline_position_get_type ())
GTK_TYPE_DELETE_TYPE
#define GTK_TYPE_DELETE_TYPE (gtk_delete_type_get_type ())
GTK_TYPE_DIRECTION_TYPE
#define GTK_TYPE_DIRECTION_TYPE (gtk_direction_type_get_type ())
GTK_TYPE_ICON_SIZE
#define GTK_TYPE_ICON_SIZE (gtk_icon_size_get_type ())
GTK_TYPE_SENSITIVITY_TYPE
#define GTK_TYPE_SENSITIVITY_TYPE (gtk_sensitivity_type_get_type ())
GTK_TYPE_TEXT_DIRECTION
#define GTK_TYPE_TEXT_DIRECTION (gtk_text_direction_get_type ())
GTK_TYPE_JUSTIFICATION
#define GTK_TYPE_JUSTIFICATION (gtk_justification_get_type ())
GTK_TYPE_MENU_DIRECTION_TYPE
#define GTK_TYPE_MENU_DIRECTION_TYPE (gtk_menu_direction_type_get_type ())
GTK_TYPE_MESSAGE_TYPE
#define GTK_TYPE_MESSAGE_TYPE (gtk_message_type_get_type ())
GTK_TYPE_MOVEMENT_STEP
#define GTK_TYPE_MOVEMENT_STEP (gtk_movement_step_get_type ())
GTK_TYPE_SCROLL_STEP
#define GTK_TYPE_SCROLL_STEP (gtk_scroll_step_get_type ())
GTK_TYPE_ORIENTATION
#define GTK_TYPE_ORIENTATION (gtk_orientation_get_type ())
GTK_TYPE_OVERFLOW
#define GTK_TYPE_OVERFLOW (gtk_overflow_get_type ())
GTK_TYPE_PACK_TYPE
#define GTK_TYPE_PACK_TYPE (gtk_pack_type_get_type ())
GTK_TYPE_POSITION_TYPE
#define GTK_TYPE_POSITION_TYPE (gtk_position_type_get_type ())
GTK_TYPE_RELIEF_STYLE
#define GTK_TYPE_RELIEF_STYLE (gtk_relief_style_get_type ())
GTK_TYPE_SCROLL_TYPE
#define GTK_TYPE_SCROLL_TYPE (gtk_scroll_type_get_type ())
GTK_TYPE_SELECTION_MODE
#define GTK_TYPE_SELECTION_MODE (gtk_selection_mode_get_type ())
GTK_TYPE_SHADOW_TYPE
#define GTK_TYPE_SHADOW_TYPE (gtk_shadow_type_get_type ())
GTK_TYPE_WRAP_MODE
#define GTK_TYPE_WRAP_MODE (gtk_wrap_mode_get_type ())
GTK_TYPE_SORT_TYPE
#define GTK_TYPE_SORT_TYPE (gtk_sort_type_get_type ())
GTK_TYPE_PRINT_PAGES
#define GTK_TYPE_PRINT_PAGES (gtk_print_pages_get_type ())
GTK_TYPE_PAGE_SET
#define GTK_TYPE_PAGE_SET (gtk_page_set_get_type ())
GTK_TYPE_NUMBER_UP_LAYOUT
#define GTK_TYPE_NUMBER_UP_LAYOUT (gtk_number_up_layout_get_type ())
GTK_TYPE_PAGE_ORIENTATION
#define GTK_TYPE_PAGE_ORIENTATION (gtk_page_orientation_get_type ())
GTK_TYPE_PRINT_QUALITY
#define GTK_TYPE_PRINT_QUALITY (gtk_print_quality_get_type ())
GTK_TYPE_PRINT_DUPLEX
#define GTK_TYPE_PRINT_DUPLEX (gtk_print_duplex_get_type ())
GTK_TYPE_UNIT
#define GTK_TYPE_UNIT (gtk_unit_get_type ())
GTK_TYPE_TREE_VIEW_GRID_LINES
#define GTK_TYPE_TREE_VIEW_GRID_LINES (gtk_tree_view_grid_lines_get_type ())
GTK_TYPE_SIZE_GROUP_MODE
#define GTK_TYPE_SIZE_GROUP_MODE (gtk_size_group_mode_get_type ())
GTK_TYPE_SIZE_REQUEST_MODE
#define GTK_TYPE_SIZE_REQUEST_MODE (gtk_size_request_mode_get_type ())
GTK_TYPE_SCROLLABLE_POLICY
#define GTK_TYPE_SCROLLABLE_POLICY (gtk_scrollable_policy_get_type ())
GTK_TYPE_STATE_FLAGS
#define GTK_TYPE_STATE_FLAGS (gtk_state_flags_get_type ())
GTK_TYPE_BORDER_STYLE
#define GTK_TYPE_BORDER_STYLE (gtk_border_style_get_type ())
GTK_TYPE_LEVEL_BAR_MODE
#define GTK_TYPE_LEVEL_BAR_MODE (gtk_level_bar_mode_get_type ())
GTK_TYPE_INPUT_PURPOSE
#define GTK_TYPE_INPUT_PURPOSE (gtk_input_purpose_get_type ())
GTK_TYPE_INPUT_HINTS
#define GTK_TYPE_INPUT_HINTS (gtk_input_hints_get_type ())
GTK_TYPE_PROPAGATION_PHASE
#define GTK_TYPE_PROPAGATION_PHASE (gtk_propagation_phase_get_type ())
GTK_TYPE_PROPAGATION_LIMIT
#define GTK_TYPE_PROPAGATION_LIMIT (gtk_propagation_limit_get_type ())
GTK_TYPE_EVENT_SEQUENCE_STATE
#define GTK_TYPE_EVENT_SEQUENCE_STATE (gtk_event_sequence_state_get_type ())
GTK_TYPE_PAN_DIRECTION
#define GTK_TYPE_PAN_DIRECTION (gtk_pan_direction_get_type ())
GTK_TYPE_POPOVER_CONSTRAINT
#define GTK_TYPE_POPOVER_CONSTRAINT (gtk_popover_constraint_get_type ())
GTK_TYPE_PLACES_OPEN_FLAGS
#define GTK_TYPE_PLACES_OPEN_FLAGS (gtk_places_open_flags_get_type ())
GTK_TYPE_PICK_FLAGS
#define GTK_TYPE_PICK_FLAGS (gtk_pick_flags_get_type ())
GTK_TYPE_CONSTRAINT_RELATION
#define GTK_TYPE_CONSTRAINT_RELATION (gtk_constraint_relation_get_type ())
GTK_TYPE_CONSTRAINT_STRENGTH
#define GTK_TYPE_CONSTRAINT_STRENGTH (gtk_constraint_strength_get_type ())
GTK_TYPE_CONSTRAINT_ATTRIBUTE
#define GTK_TYPE_CONSTRAINT_ATTRIBUTE (gtk_constraint_attribute_get_type ())
GTK_TYPE_CONSTRAINT_VFL_PARSER_ERROR
#define GTK_TYPE_CONSTRAINT_VFL_PARSER_ERROR (gtk_constraint_vfl_parser_error_get_type ())
GTK_TYPE_EVENT_CONTROLLER_SCROLL_FLAGS
#define GTK_TYPE_EVENT_CONTROLLER_SCROLL_FLAGS (gtk_event_controller_scroll_flags_get_type ())
GTK_TYPE_FILE_CHOOSER_ACTION
#define GTK_TYPE_FILE_CHOOSER_ACTION (gtk_file_chooser_action_get_type ())
GTK_TYPE_FILE_CHOOSER_CONFIRMATION
#define GTK_TYPE_FILE_CHOOSER_CONFIRMATION (gtk_file_chooser_confirmation_get_type ())
GTK_TYPE_FILE_CHOOSER_ERROR
#define GTK_TYPE_FILE_CHOOSER_ERROR (gtk_file_chooser_error_get_type ())
GTK_TYPE_FILE_FILTER_FLAGS
#define GTK_TYPE_FILE_FILTER_FLAGS (gtk_file_filter_flags_get_type ())
GTK_TYPE_FONT_CHOOSER_LEVEL
#define GTK_TYPE_FONT_CHOOSER_LEVEL (gtk_font_chooser_level_get_type ())
GTK_TYPE_ICON_LOOKUP_FLAGS
#define GTK_TYPE_ICON_LOOKUP_FLAGS (gtk_icon_lookup_flags_get_type ())
GTK_TYPE_ICON_THEME_ERROR
#define GTK_TYPE_ICON_THEME_ERROR (gtk_icon_theme_error_get_type ())
GTK_TYPE_ICON_VIEW_DROP_POSITION
#define GTK_TYPE_ICON_VIEW_DROP_POSITION (gtk_icon_view_drop_position_get_type ())
GTK_TYPE_IMAGE_TYPE
#define GTK_TYPE_IMAGE_TYPE (gtk_image_type_get_type ())
GTK_TYPE_BUTTONS_TYPE
#define GTK_TYPE_BUTTONS_TYPE (gtk_buttons_type_get_type ())
GTK_TYPE_NOTEBOOK_TAB
#define GTK_TYPE_NOTEBOOK_TAB (gtk_notebook_tab_get_type ())
GTK_TYPE_PAD_ACTION_TYPE
#define GTK_TYPE_PAD_ACTION_TYPE (gtk_pad_action_type_get_type ())
GTK_TYPE_POPOVER_MENU_FLAGS
#define GTK_TYPE_POPOVER_MENU_FLAGS (gtk_popover_menu_flags_get_type ())
GTK_TYPE_PRINT_STATUS
#define GTK_TYPE_PRINT_STATUS (gtk_print_status_get_type ())
GTK_TYPE_PRINT_OPERATION_RESULT
#define GTK_TYPE_PRINT_OPERATION_RESULT (gtk_print_operation_result_get_type ())
GTK_TYPE_PRINT_OPERATION_ACTION
#define GTK_TYPE_PRINT_OPERATION_ACTION (gtk_print_operation_action_get_type ())
GTK_TYPE_PRINT_ERROR
#define GTK_TYPE_PRINT_ERROR (gtk_print_error_get_type ())
GTK_TYPE_RECENT_MANAGER_ERROR
#define GTK_TYPE_RECENT_MANAGER_ERROR (gtk_recent_manager_error_get_type ())
GTK_TYPE_REVEALER_TRANSITION_TYPE
#define GTK_TYPE_REVEALER_TRANSITION_TYPE (gtk_revealer_transition_type_get_type ())
GTK_TYPE_CORNER_TYPE
#define GTK_TYPE_CORNER_TYPE (gtk_corner_type_get_type ())
GTK_TYPE_POLICY_TYPE
#define GTK_TYPE_POLICY_TYPE (gtk_policy_type_get_type ())
GTK_TYPE_SHORTCUT_TYPE
#define GTK_TYPE_SHORTCUT_TYPE (gtk_shortcut_type_get_type ())
GTK_TYPE_SPIN_BUTTON_UPDATE_POLICY
#define GTK_TYPE_SPIN_BUTTON_UPDATE_POLICY (gtk_spin_button_update_policy_get_type ())
GTK_TYPE_SPIN_TYPE
#define GTK_TYPE_SPIN_TYPE (gtk_spin_type_get_type ())
GTK_TYPE_STACK_TRANSITION_TYPE
#define GTK_TYPE_STACK_TRANSITION_TYPE (gtk_stack_transition_type_get_type ())
GTK_TYPE_STYLE_CONTEXT_PRINT_FLAGS
#define GTK_TYPE_STYLE_CONTEXT_PRINT_FLAGS (gtk_style_context_print_flags_get_type ())
GTK_TYPE_TEXT_BUFFER_TARGET_INFO
#define GTK_TYPE_TEXT_BUFFER_TARGET_INFO (gtk_text_buffer_target_info_get_type ())
GTK_TYPE_TEXT_SEARCH_FLAGS
#define GTK_TYPE_TEXT_SEARCH_FLAGS (gtk_text_search_flags_get_type ())
GTK_TYPE_TEXT_WINDOW_TYPE
#define GTK_TYPE_TEXT_WINDOW_TYPE (gtk_text_window_type_get_type ())
GTK_TYPE_TEXT_VIEW_LAYER
#define GTK_TYPE_TEXT_VIEW_LAYER (gtk_text_view_layer_get_type ())
GTK_TYPE_TEXT_EXTEND_SELECTION
#define GTK_TYPE_TEXT_EXTEND_SELECTION (gtk_text_extend_selection_get_type ())
GTK_TYPE_TREE_MODEL_FLAGS
#define GTK_TYPE_TREE_MODEL_FLAGS (gtk_tree_model_flags_get_type ())
GTK_TYPE_TREE_VIEW_DROP_POSITION
#define GTK_TYPE_TREE_VIEW_DROP_POSITION (gtk_tree_view_drop_position_get_type ())
GTK_TYPE_TREE_VIEW_COLUMN_SIZING
#define GTK_TYPE_TREE_VIEW_COLUMN_SIZING (gtk_tree_view_column_sizing_get_type ())
GTK_TYPE_WINDOW_TYPE
#define GTK_TYPE_WINDOW_TYPE (gtk_window_type_get_type ())
GTK_MAJOR_VERSION
#define GTK_MAJOR_VERSION (3)
GTK_MINOR_VERSION
#define GTK_MINOR_VERSION (96)
GTK_MICRO_VERSION
#define GTK_MICRO_VERSION (0)
GTK_BINARY_AGE
#define GTK_BINARY_AGE (9600)
GTK_INTERFACE_AGE
#define GTK_INTERFACE_AGE (0)
GTK_CHECK_VERSION
#define GTK_CHECK_VERSION(major,minor,micro) \
(GTK_MAJOR_VERSION > (major) || \
(GTK_MAJOR_VERSION == (major) && GTK_MINOR_VERSION > (minor)) || \
(GTK_MAJOR_VERSION == (major) && GTK_MINOR_VERSION == (minor) && \
GTK_MICRO_VERSION >= (micro)))
zwp_text_input_v3_interface
extern const struct wl_interface zwp_text_input_v3_interface;
zwp_text_input_manager_v3_interface
extern const struct wl_interface zwp_text_input_manager_v3_interface;
ZWP_TEXT_INPUT_V3_CHANGE_CAUSE_ENUM
#define ZWP_TEXT_INPUT_V3_CHANGE_CAUSE_ENUM
zwp_text_input_v3_change_cause
enum zwp_text_input_v3_change_cause {
/**
* input method caused the change
*/
ZWP_TEXT_INPUT_V3_CHANGE_CAUSE_INPUT_METHOD = 0,
/**
* something else than the input method caused the change
*/
ZWP_TEXT_INPUT_V3_CHANGE_CAUSE_OTHER = 1,
};
ZWP_TEXT_INPUT_V3_CONTENT_HINT_ENUM
#define ZWP_TEXT_INPUT_V3_CONTENT_HINT_ENUM
zwp_text_input_v3_content_hint
enum zwp_text_input_v3_content_hint {
/**
* no special behavior
*/
ZWP_TEXT_INPUT_V3_CONTENT_HINT_NONE = 0x0,
/**
* suggest word completions
*/
ZWP_TEXT_INPUT_V3_CONTENT_HINT_COMPLETION = 0x1,
/**
* suggest word corrections
*/
ZWP_TEXT_INPUT_V3_CONTENT_HINT_SPELLCHECK = 0x2,
/**
* switch to uppercase letters at the start of a sentence
*/
ZWP_TEXT_INPUT_V3_CONTENT_HINT_AUTO_CAPITALIZATION = 0x4,
/**
* prefer lowercase letters
*/
ZWP_TEXT_INPUT_V3_CONTENT_HINT_LOWERCASE = 0x8,
/**
* prefer uppercase letters
*/
ZWP_TEXT_INPUT_V3_CONTENT_HINT_UPPERCASE = 0x10,
/**
* prefer casing for titles and headings (can be language dependent)
*/
ZWP_TEXT_INPUT_V3_CONTENT_HINT_TITLECASE = 0x20,
/**
* characters should be hidden
*/
ZWP_TEXT_INPUT_V3_CONTENT_HINT_HIDDEN_TEXT = 0x40,
/**
* typed text should not be stored
*/
ZWP_TEXT_INPUT_V3_CONTENT_HINT_SENSITIVE_DATA = 0x80,
/**
* just Latin characters should be entered
*/
ZWP_TEXT_INPUT_V3_CONTENT_HINT_LATIN = 0x100,
/**
* the text input is multiline
*/
ZWP_TEXT_INPUT_V3_CONTENT_HINT_MULTILINE = 0x200,
};
ZWP_TEXT_INPUT_V3_CONTENT_PURPOSE_ENUM
#define ZWP_TEXT_INPUT_V3_CONTENT_PURPOSE_ENUM
zwp_text_input_v3_content_purpose
enum zwp_text_input_v3_content_purpose {
/**
* default input, allowing all characters
*/
ZWP_TEXT_INPUT_V3_CONTENT_PURPOSE_NORMAL = 0,
/**
* allow only alphabetic characters
*/
ZWP_TEXT_INPUT_V3_CONTENT_PURPOSE_ALPHA = 1,
/**
* allow only digits
*/
ZWP_TEXT_INPUT_V3_CONTENT_PURPOSE_DIGITS = 2,
/**
* input a number (including decimal separator and sign)
*/
ZWP_TEXT_INPUT_V3_CONTENT_PURPOSE_NUMBER = 3,
/**
* input a phone number
*/
ZWP_TEXT_INPUT_V3_CONTENT_PURPOSE_PHONE = 4,
/**
* input an URL
*/
ZWP_TEXT_INPUT_V3_CONTENT_PURPOSE_URL = 5,
/**
* input an email address
*/
ZWP_TEXT_INPUT_V3_CONTENT_PURPOSE_EMAIL = 6,
/**
* input a name of a person
*/
ZWP_TEXT_INPUT_V3_CONTENT_PURPOSE_NAME = 7,
/**
* input a password (combine with sensitive_data hint)
*/
ZWP_TEXT_INPUT_V3_CONTENT_PURPOSE_PASSWORD = 8,
/**
* input is a numeric password (combine with sensitive_data hint)
*/
ZWP_TEXT_INPUT_V3_CONTENT_PURPOSE_PIN = 9,
/**
* input a date
*/
ZWP_TEXT_INPUT_V3_CONTENT_PURPOSE_DATE = 10,
/**
* input a time
*/
ZWP_TEXT_INPUT_V3_CONTENT_PURPOSE_TIME = 11,
/**
* input a date and time
*/
ZWP_TEXT_INPUT_V3_CONTENT_PURPOSE_DATETIME = 12,
/**
* input for a terminal
*/
ZWP_TEXT_INPUT_V3_CONTENT_PURPOSE_TERMINAL = 13,
};
zwp_text_input_v3_listener
struct zwp_text_input_v3_listener {
/**
* enter event
*
* Notification that this seat's text-input focus is on a certain
* surface.
*
* When the seat has the keyboard capability the text-input focus
* follows the keyboard focus. This event sets the current surface
* for the text-input object.
*/
void (*enter)(void *data,
struct zwp_text_input_v3 *zwp_text_input_v3,
struct wl_surface *surface);
/**
* leave event
*
* Notification that this seat's text-input focus is no longer on
* a certain surface. The client should reset any preedit string
* previously set.
*
* The leave notification clears the current surface. It is sent
* before the enter notification for the new focus.
*
* When the seat has the keyboard capability the text-input focus
* follows the keyboard focus.
*/
void (*leave)(void *data,
struct zwp_text_input_v3 *zwp_text_input_v3,
struct wl_surface *surface);
/**
* pre-edit
*
* Notify when a new composing text (pre-edit) should be set at
* the current cursor position. Any previously set composing text
* must be removed. Any previously existing selected text must be
* removed.
*
* The argument text contains the pre-edit string buffer.
*
* The parameters cursor_begin and cursor_end are counted in bytes
* relative to the beginning of the submitted text buffer. Cursor
* should be hidden when both are equal to -1.
*
* They could be represented by the client as a line if both values
* are the same, or as a text highlight otherwise.
*
* Values set with this event are double-buffered. They must be
* applied and reset to initial on the next zwp_text_input_v3.done
* event.
*
* The initial value of text is an empty string, and cursor_begin,
* cursor_end and cursor_hidden are all 0.
*/
void (*preedit_string)(void *data,
struct zwp_text_input_v3 *zwp_text_input_v3,
const char *text,
int32_t cursor_begin,
int32_t cursor_end);
/**
* text commit
*
* Notify when text should be inserted into the editor widget.
* The text to commit could be either just a single character after
* a key press or the result of some composing (pre-edit).
*
* Values set with this event are double-buffered. They must be
* applied and reset to initial on the next zwp_text_input_v3.done
* event.
*
* The initial value of text is an empty string.
*/
void (*commit_string)(void *data,
struct zwp_text_input_v3 *zwp_text_input_v3,
const char *text);
/**
* delete surrounding text
*
* Notify when the text around the current cursor position should
* be deleted.
*
* Before_length and after_length are the number of bytes before
* and after the current cursor index (excluding the selection) to
* delete.
*
* If a preedit text is present, in effect before_length is counted
* from the beginning of it, and after_length from its end (see
* done event sequence).
*
* Values set with this event are double-buffered. They must be
* applied and reset to initial on the next zwp_text_input_v3.done
* event.
*
* The initial values of both before_length and after_length are 0.
* @param before_length length of text before current cursor position
* @param after_length length of text after current cursor position
*/
void (*delete_surrounding_text)(void *data,
struct zwp_text_input_v3 *zwp_text_input_v3,
uint32_t before_length,
uint32_t after_length);
/**
* apply changes
*
* Instruct the application to apply changes to state requested
* by the preedit_string, commit_string and delete_surrounding_text
* events. The state relating to these events is double-buffered,
* and each one modifies the pending state. This event replaces the
* current state with the pending state.
*
* The application must proceed by evaluating the changes in the
* following order:
*
* 1. Replace existing preedit string with the cursor. 2. Delete
* requested surrounding text. 3. Insert commit string with the
* cursor at its end. 4. Calculate surrounding text to send. 5.
* Insert new preedit text in cursor position. 6. Place cursor
* inside preedit text.
*
* The serial number reflects the last state of the
* zwp_text_input_v3 object known to the compositor. The value of
* the serial argument must be equal to the number of commit
* requests already issued on that object. When the client receives
* a done event with a serial different than the number of past
* commit requests, it must proceed as normal, except it should not
* change the current state of the zwp_text_input_v3 object.
*/
void (*done)(void *data,
struct zwp_text_input_v3 *zwp_text_input_v3,
uint32_t serial);
};
zwp_text_input_v3_add_listener
int
struct zwp_text_input_v3 *zwp_text_input_v3, const struct zwp_text_input_v3_listener *listener, void *data
ZWP_TEXT_INPUT_V3_DESTROY
#define ZWP_TEXT_INPUT_V3_DESTROY 0
ZWP_TEXT_INPUT_V3_ENABLE
#define ZWP_TEXT_INPUT_V3_ENABLE 1
ZWP_TEXT_INPUT_V3_DISABLE
#define ZWP_TEXT_INPUT_V3_DISABLE 2
ZWP_TEXT_INPUT_V3_SET_SURROUNDING_TEXT
#define ZWP_TEXT_INPUT_V3_SET_SURROUNDING_TEXT 3
ZWP_TEXT_INPUT_V3_SET_TEXT_CHANGE_CAUSE
#define ZWP_TEXT_INPUT_V3_SET_TEXT_CHANGE_CAUSE 4
ZWP_TEXT_INPUT_V3_SET_CONTENT_TYPE
#define ZWP_TEXT_INPUT_V3_SET_CONTENT_TYPE 5
ZWP_TEXT_INPUT_V3_SET_CURSOR_RECTANGLE
#define ZWP_TEXT_INPUT_V3_SET_CURSOR_RECTANGLE 6
ZWP_TEXT_INPUT_V3_COMMIT
#define ZWP_TEXT_INPUT_V3_COMMIT 7
ZWP_TEXT_INPUT_V3_ENTER_SINCE_VERSION
#define ZWP_TEXT_INPUT_V3_ENTER_SINCE_VERSION 1
ZWP_TEXT_INPUT_V3_LEAVE_SINCE_VERSION
#define ZWP_TEXT_INPUT_V3_LEAVE_SINCE_VERSION 1
ZWP_TEXT_INPUT_V3_PREEDIT_STRING_SINCE_VERSION
#define ZWP_TEXT_INPUT_V3_PREEDIT_STRING_SINCE_VERSION 1
ZWP_TEXT_INPUT_V3_COMMIT_STRING_SINCE_VERSION
#define ZWP_TEXT_INPUT_V3_COMMIT_STRING_SINCE_VERSION 1
ZWP_TEXT_INPUT_V3_DELETE_SURROUNDING_TEXT_SINCE_VERSION
#define ZWP_TEXT_INPUT_V3_DELETE_SURROUNDING_TEXT_SINCE_VERSION 1
ZWP_TEXT_INPUT_V3_DONE_SINCE_VERSION
#define ZWP_TEXT_INPUT_V3_DONE_SINCE_VERSION 1
ZWP_TEXT_INPUT_V3_DESTROY_SINCE_VERSION
#define ZWP_TEXT_INPUT_V3_DESTROY_SINCE_VERSION 1
ZWP_TEXT_INPUT_V3_ENABLE_SINCE_VERSION
#define ZWP_TEXT_INPUT_V3_ENABLE_SINCE_VERSION 1
ZWP_TEXT_INPUT_V3_DISABLE_SINCE_VERSION
#define ZWP_TEXT_INPUT_V3_DISABLE_SINCE_VERSION 1
ZWP_TEXT_INPUT_V3_SET_SURROUNDING_TEXT_SINCE_VERSION
#define ZWP_TEXT_INPUT_V3_SET_SURROUNDING_TEXT_SINCE_VERSION 1
ZWP_TEXT_INPUT_V3_SET_TEXT_CHANGE_CAUSE_SINCE_VERSION
#define ZWP_TEXT_INPUT_V3_SET_TEXT_CHANGE_CAUSE_SINCE_VERSION 1
ZWP_TEXT_INPUT_V3_SET_CONTENT_TYPE_SINCE_VERSION
#define ZWP_TEXT_INPUT_V3_SET_CONTENT_TYPE_SINCE_VERSION 1
ZWP_TEXT_INPUT_V3_SET_CURSOR_RECTANGLE_SINCE_VERSION
#define ZWP_TEXT_INPUT_V3_SET_CURSOR_RECTANGLE_SINCE_VERSION 1
ZWP_TEXT_INPUT_V3_COMMIT_SINCE_VERSION
#define ZWP_TEXT_INPUT_V3_COMMIT_SINCE_VERSION 1
zwp_text_input_v3_set_user_data
void
struct zwp_text_input_v3 *zwp_text_input_v3, void *user_data
zwp_text_input_v3_get_user_data
void *
struct zwp_text_input_v3 *zwp_text_input_v3
zwp_text_input_v3_get_version
uint32_t
struct zwp_text_input_v3 *zwp_text_input_v3
zwp_text_input_v3_destroy
void
struct zwp_text_input_v3 *zwp_text_input_v3
zwp_text_input_v3_enable
void
struct zwp_text_input_v3 *zwp_text_input_v3
zwp_text_input_v3_disable
void
struct zwp_text_input_v3 *zwp_text_input_v3
zwp_text_input_v3_set_surrounding_text
void
struct zwp_text_input_v3 *zwp_text_input_v3, const char *text, int32_t cursor, int32_t anchor
zwp_text_input_v3_set_text_change_cause
void
struct zwp_text_input_v3 *zwp_text_input_v3, uint32_t cause
zwp_text_input_v3_set_content_type
void
struct zwp_text_input_v3 *zwp_text_input_v3, uint32_t hint, uint32_t purpose
zwp_text_input_v3_set_cursor_rectangle
void
struct zwp_text_input_v3 *zwp_text_input_v3, int32_t x, int32_t y, int32_t width, int32_t height
zwp_text_input_v3_commit
void
struct zwp_text_input_v3 *zwp_text_input_v3
ZWP_TEXT_INPUT_MANAGER_V3_DESTROY
#define ZWP_TEXT_INPUT_MANAGER_V3_DESTROY 0
ZWP_TEXT_INPUT_MANAGER_V3_GET_TEXT_INPUT
#define ZWP_TEXT_INPUT_MANAGER_V3_GET_TEXT_INPUT 1
ZWP_TEXT_INPUT_MANAGER_V3_DESTROY_SINCE_VERSION
#define ZWP_TEXT_INPUT_MANAGER_V3_DESTROY_SINCE_VERSION 1
ZWP_TEXT_INPUT_MANAGER_V3_GET_TEXT_INPUT_SINCE_VERSION
#define ZWP_TEXT_INPUT_MANAGER_V3_GET_TEXT_INPUT_SINCE_VERSION 1
zwp_text_input_manager_v3_set_user_data
void
struct zwp_text_input_manager_v3 *zwp_text_input_manager_v3, void *user_data
zwp_text_input_manager_v3_get_user_data
void *
struct zwp_text_input_manager_v3 *zwp_text_input_manager_v3
zwp_text_input_manager_v3_get_version
uint32_t
struct zwp_text_input_manager_v3 *zwp_text_input_manager_v3
zwp_text_input_manager_v3_destroy
void
struct zwp_text_input_manager_v3 *zwp_text_input_manager_v3
zwp_text_input_manager_v3_get_text_input
struct zwp_text_input_v3 *
struct zwp_text_input_manager_v3 *zwp_text_input_manager_v3, struct wl_seat *seat
wl_seat
struct wl_seat;
wl_surface
struct wl_surface;
zwp_text_input_manager_v3
struct zwp_text_input_manager_v3;
zwp_text_input_v3
struct zwp_text_input_v3;
GTK_TYPE_CSS_PARSER_ERROR
#define GTK_TYPE_CSS_PARSER_ERROR (gtk_css_parser_error_get_type ())
GTK_TYPE_CSS_PARSER_WARNING
#define GTK_TYPE_CSS_PARSER_WARNING (gtk_css_parser_warning_get_type ())
docs/reference/gtk/gtk4-decl.txt 0000664 0001750 0001750 00003655101 13620320471 016711 0 ustar mclasen mclasen
g_settings_set_mapping
GVariant *
const GValue *value, const GVariantType *expected_type, gpointer user_data
g_settings_get_mapping
gboolean
GValue *value, GVariant *variant, gpointer user_data
g_settings_mapping_is_compatible
gboolean
GType gvalue_type, const GVariantType *variant_type
GSK_TYPE_PANGO_RENDERER
#define GSK_TYPE_PANGO_RENDERER (gsk_pango_renderer_get_type ())
GSK_PANGO_RENDERER
#define GSK_PANGO_RENDERER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GSK_TYPE_PANGO_RENDERER, GskPangoRenderer))
GSK_IS_PANGO_RENDERER
#define GSK_IS_PANGO_RENDERER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GSK_TYPE_PANGO_RENDERER))
GSK_PANGO_RENDERER_CLASS
#define GSK_PANGO_RENDERER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GSK_TYPE_PANGO_RENDERER, GskPangoRendererClass))
GSK_IS_PANGO_RENDERER_CLASS
#define GSK_IS_PANGO_RENDERER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GSK_TYPE_PANGO_RENDERER))
GSK_PANGO_RENDERER_GET_CLASS
#define GSK_PANGO_RENDERER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GSK_TYPE_PANGO_RENDERER, GskPangoRendererClass))
GskPangoRendererState
typedef enum
{
GSK_PANGO_RENDERER_NORMAL,
GSK_PANGO_RENDERER_SELECTED,
GSK_PANGO_RENDERER_CURSOR
} GskPangoRendererState;
GskPangoShapeHandler
gboolean
PangoAttrShape *attr, GdkSnapshot *snapshot, double width, double height
GskPangoRenderer
struct _GskPangoRenderer
{
PangoRenderer parent_instance;
GtkWidget *widget;
GtkSnapshot *snapshot;
GdkRGBA fg_color;
graphene_rect_t bounds;
/* Error underline color for this widget */
GdkRGBA *error_color;
GskPangoRendererState state;
GskPangoShapeHandler shape_handler;
/* house-keeping options */
guint is_cached_renderer : 1;
};
GskPangoRendererClass
struct _GskPangoRendererClass
{
PangoRendererClass parent_class;
};
gsk_pango_renderer_get_type
GType
void
gsk_pango_renderer_set_state
void
GskPangoRenderer *crenderer, GskPangoRendererState state
gsk_pango_renderer_set_shape_handler
void
GskPangoRenderer *crenderer, GskPangoShapeHandler handler
gsk_pango_renderer_acquire
GskPangoRenderer *
void
gsk_pango_renderer_release
void
GskPangoRenderer *crenderer
GTK_TYPE_ABOUT_DIALOG
#define GTK_TYPE_ABOUT_DIALOG (gtk_about_dialog_get_type ())
GTK_ABOUT_DIALOG
#define GTK_ABOUT_DIALOG(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), GTK_TYPE_ABOUT_DIALOG, GtkAboutDialog))
GTK_IS_ABOUT_DIALOG
#define GTK_IS_ABOUT_DIALOG(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), GTK_TYPE_ABOUT_DIALOG))
GtkLicense
typedef enum {
GTK_LICENSE_UNKNOWN,
GTK_LICENSE_CUSTOM,
GTK_LICENSE_GPL_2_0,
GTK_LICENSE_GPL_3_0,
GTK_LICENSE_LGPL_2_1,
GTK_LICENSE_LGPL_3_0,
GTK_LICENSE_BSD,
GTK_LICENSE_MIT_X11,
GTK_LICENSE_ARTISTIC,
GTK_LICENSE_GPL_2_0_ONLY,
GTK_LICENSE_GPL_3_0_ONLY,
GTK_LICENSE_LGPL_2_1_ONLY,
GTK_LICENSE_LGPL_3_0_ONLY,
GTK_LICENSE_AGPL_3_0,
GTK_LICENSE_AGPL_3_0_ONLY
} GtkLicense;
gtk_about_dialog_get_type
GType
void
gtk_about_dialog_new
GtkWidget *
void
gtk_show_about_dialog
void
GtkWindow *parent, const gchar *first_property_name, ...
gtk_about_dialog_get_program_name
const gchar *
GtkAboutDialog *about
gtk_about_dialog_set_program_name
void
GtkAboutDialog *about, const gchar *name
gtk_about_dialog_get_version
const gchar *
GtkAboutDialog *about
gtk_about_dialog_set_version
void
GtkAboutDialog *about, const gchar *version
gtk_about_dialog_get_copyright
const gchar *
GtkAboutDialog *about
gtk_about_dialog_set_copyright
void
GtkAboutDialog *about, const gchar *copyright
gtk_about_dialog_get_comments
const gchar *
GtkAboutDialog *about
gtk_about_dialog_set_comments
void
GtkAboutDialog *about, const gchar *comments
gtk_about_dialog_get_license
const gchar *
GtkAboutDialog *about
gtk_about_dialog_set_license
void
GtkAboutDialog *about, const gchar *license
gtk_about_dialog_set_license_type
void
GtkAboutDialog *about, GtkLicense license_type
gtk_about_dialog_get_license_type
GtkLicense
GtkAboutDialog *about
gtk_about_dialog_get_wrap_license
gboolean
GtkAboutDialog *about
gtk_about_dialog_set_wrap_license
void
GtkAboutDialog *about, gboolean wrap_license
gtk_about_dialog_get_system_information
const gchar *
GtkAboutDialog *about
gtk_about_dialog_set_system_information
void
GtkAboutDialog *about, const gchar *system_information
gtk_about_dialog_get_website
const gchar *
GtkAboutDialog *about
gtk_about_dialog_set_website
void
GtkAboutDialog *about, const gchar *website
gtk_about_dialog_get_website_label
const gchar *
GtkAboutDialog *about
gtk_about_dialog_set_website_label
void
GtkAboutDialog *about, const gchar *website_label
gtk_about_dialog_get_authors
const gchar * const *
GtkAboutDialog *about
gtk_about_dialog_set_authors
void
GtkAboutDialog *about, const gchar **authors
gtk_about_dialog_get_documenters
const gchar * const *
GtkAboutDialog *about
gtk_about_dialog_set_documenters
void
GtkAboutDialog *about, const gchar **documenters
gtk_about_dialog_get_artists
const gchar * const *
GtkAboutDialog *about
gtk_about_dialog_set_artists
void
GtkAboutDialog *about, const gchar **artists
gtk_about_dialog_get_translator_credits
const gchar *
GtkAboutDialog *about
gtk_about_dialog_set_translator_credits
void
GtkAboutDialog *about, const gchar *translator_credits
gtk_about_dialog_get_logo
GdkPaintable *
GtkAboutDialog *about
gtk_about_dialog_set_logo
void
GtkAboutDialog *about, GdkPaintable *logo
gtk_about_dialog_get_logo_icon_name
const gchar *
GtkAboutDialog *about
gtk_about_dialog_set_logo_icon_name
void
GtkAboutDialog *about, const gchar *icon_name
gtk_about_dialog_add_credit_section
void
GtkAboutDialog *about, const gchar *section_name, const gchar **people
GtkAboutDialog
GTK_TYPE_ACCEL_GROUP
#define GTK_TYPE_ACCEL_GROUP (gtk_accel_group_get_type ())
GTK_ACCEL_GROUP
#define GTK_ACCEL_GROUP(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), GTK_TYPE_ACCEL_GROUP, GtkAccelGroup))
GTK_ACCEL_GROUP_CLASS
#define GTK_ACCEL_GROUP_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_ACCEL_GROUP, GtkAccelGroupClass))
GTK_IS_ACCEL_GROUP
#define GTK_IS_ACCEL_GROUP(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), GTK_TYPE_ACCEL_GROUP))
GTK_IS_ACCEL_GROUP_CLASS
#define GTK_IS_ACCEL_GROUP_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_ACCEL_GROUP))
GTK_ACCEL_GROUP_GET_CLASS
#define GTK_ACCEL_GROUP_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_ACCEL_GROUP, GtkAccelGroupClass))
GtkAccelFlags
typedef enum
{
GTK_ACCEL_VISIBLE = 1 << 0,
GTK_ACCEL_LOCKED = 1 << 1,
GTK_ACCEL_MASK = 0x07
} GtkAccelFlags;
GtkAccelGroupActivate
gboolean
GtkAccelGroup *accel_group, GObject *acceleratable, guint keyval, GdkModifierType modifier
GtkAccelGroupFindFunc
gboolean
GtkAccelKey *key, GClosure *closure, gpointer data
GtkAccelGroup
struct _GtkAccelGroup
{
GObject parent;
GtkAccelGroupPrivate *priv;
};
GtkAccelGroupClass
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);
void (*_gtk_reserved3) (void);
void (*_gtk_reserved4) (void);
};
GtkAccelKey
struct _GtkAccelKey
{
guint accel_key;
GdkModifierType accel_mods;
guint accel_flags : 16;
};
gtk_accel_group_get_type
GType
void
gtk_accel_group_new
GtkAccelGroup *
void
gtk_accel_group_get_is_locked
gboolean
GtkAccelGroup *accel_group
gtk_accel_group_get_modifier_mask
GdkModifierType
GtkAccelGroup *accel_group
gtk_accel_group_lock
void
GtkAccelGroup *accel_group
gtk_accel_group_unlock
void
GtkAccelGroup *accel_group
gtk_accel_group_connect
void
GtkAccelGroup *accel_group, guint accel_key, GdkModifierType accel_mods, GtkAccelFlags accel_flags, GClosure *closure
gtk_accel_group_connect_by_path
void
GtkAccelGroup *accel_group, const gchar *accel_path, GClosure *closure
gtk_accel_group_disconnect
gboolean
GtkAccelGroup *accel_group, GClosure *closure
gtk_accel_group_disconnect_key
gboolean
GtkAccelGroup *accel_group, guint accel_key, GdkModifierType accel_mods
gtk_accel_group_activate
gboolean
GtkAccelGroup *accel_group, GQuark accel_quark, GObject *acceleratable, guint accel_key, GdkModifierType accel_mods
gtk_accel_groups_activate
gboolean
GObject *object, guint accel_key, GdkModifierType accel_mods
gtk_accel_groups_from_object
GSList *
GObject *object
gtk_accel_group_find
GtkAccelKey *
GtkAccelGroup *accel_group, GtkAccelGroupFindFunc find_func, gpointer data
gtk_accel_group_from_accel_closure
GtkAccelGroup *
GClosure *closure
gtk_accelerator_valid
gboolean
guint keyval, GdkModifierType modifiers
gtk_accelerator_parse
void
const gchar *accelerator, guint *accelerator_key, GdkModifierType *accelerator_mods
gtk_accelerator_parse_with_keycode
void
const gchar *accelerator, guint *accelerator_key, guint **accelerator_codes, GdkModifierType *accelerator_mods
gtk_accelerator_name
gchar *
guint accelerator_key, GdkModifierType accelerator_mods
gtk_accelerator_name_with_keycode
gchar *
GdkDisplay *display, guint accelerator_key, guint keycode, GdkModifierType accelerator_mods
gtk_accelerator_get_label
gchar *
guint accelerator_key, GdkModifierType accelerator_mods
gtk_accelerator_get_label_with_keycode
gchar *
GdkDisplay *display, guint accelerator_key, guint keycode, GdkModifierType accelerator_mods
gtk_accelerator_set_default_mod_mask
void
GdkModifierType default_mod_mask
gtk_accelerator_get_default_mod_mask
GdkModifierType
void
gtk_accel_group_query
GtkAccelGroupEntry *
GtkAccelGroup *accel_group, guint accel_key, GdkModifierType accel_mods, guint *n_entries
GtkAccelGroupEntry
struct _GtkAccelGroupEntry
{
GtkAccelKey key;
GClosure *closure;
GQuark accel_path_quark;
};
GtkAccelGroupPrivate
GTK_TYPE_ACCEL_LABEL
#define GTK_TYPE_ACCEL_LABEL (gtk_accel_label_get_type ())
GTK_ACCEL_LABEL
#define GTK_ACCEL_LABEL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_ACCEL_LABEL, GtkAccelLabel))
GTK_IS_ACCEL_LABEL
#define GTK_IS_ACCEL_LABEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_ACCEL_LABEL))
gtk_accel_label_get_type
GType
void
gtk_accel_label_new
GtkWidget *
const gchar *string
gtk_accel_label_get_accel_widget
GtkWidget *
GtkAccelLabel *accel_label
gtk_accel_label_get_accel_width
guint
GtkAccelLabel *accel_label
gtk_accel_label_set_accel_widget
void
GtkAccelLabel *accel_label, GtkWidget *accel_widget
gtk_accel_label_set_accel_closure
void
GtkAccelLabel *accel_label, GClosure *accel_closure
gtk_accel_label_get_accel_closure
GClosure *
GtkAccelLabel *accel_label
gtk_accel_label_refetch
gboolean
GtkAccelLabel *accel_label
gtk_accel_label_set_accel
void
GtkAccelLabel *accel_label, guint accelerator_key, GdkModifierType accelerator_mods
gtk_accel_label_get_accel
void
GtkAccelLabel *accel_label, guint *accelerator_key, GdkModifierType *accelerator_mods
gtk_accel_label_set_label
void
GtkAccelLabel *accel_label, const char *text
gtk_accel_label_get_label
const char *
GtkAccelLabel *accel_label
gtk_accel_label_set_use_underline
void
GtkAccelLabel *accel_label, gboolean setting
gtk_accel_label_get_use_underline
gboolean
GtkAccelLabel *accel_label
GtkAccelLabel
GTK_ACCEL_LABEL_GET_CLASS
#define GTK_ACCEL_LABEL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_ACCEL_LABEL, GtkAccelLabelClass))
GtkAccelLabelClass
GTK_TYPE_ACCEL_MAP
#define GTK_TYPE_ACCEL_MAP (gtk_accel_map_get_type ())
GTK_ACCEL_MAP
#define GTK_ACCEL_MAP(accel_map) (G_TYPE_CHECK_INSTANCE_CAST ((accel_map), GTK_TYPE_ACCEL_MAP, GtkAccelMap))
GTK_ACCEL_MAP_CLASS
#define GTK_ACCEL_MAP_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_ACCEL_MAP, GtkAccelMapClass))
GTK_IS_ACCEL_MAP
#define GTK_IS_ACCEL_MAP(accel_map) (G_TYPE_CHECK_INSTANCE_TYPE ((accel_map), GTK_TYPE_ACCEL_MAP))
GTK_IS_ACCEL_MAP_CLASS
#define GTK_IS_ACCEL_MAP_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_ACCEL_MAP))
GTK_ACCEL_MAP_GET_CLASS
#define GTK_ACCEL_MAP_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_ACCEL_MAP, GtkAccelMapClass))
GtkAccelMapForeach
void
gpointer data, const gchar *accel_path, guint accel_key, GdkModifierType accel_mods, gboolean changed
gtk_accel_map_add_entry
void
const gchar *accel_path, guint accel_key, GdkModifierType accel_mods
gtk_accel_map_lookup_entry
gboolean
const gchar *accel_path, GtkAccelKey *key
gtk_accel_map_change_entry
gboolean
const gchar *accel_path, guint accel_key, GdkModifierType accel_mods, gboolean replace
gtk_accel_map_load
void
const gchar *file_name
gtk_accel_map_save
void
const gchar *file_name
gtk_accel_map_foreach
void
gpointer data, GtkAccelMapForeach foreach_func
gtk_accel_map_load_fd
void
gint fd
gtk_accel_map_load_scanner
void
GScanner *scanner
gtk_accel_map_save_fd
void
gint fd
gtk_accel_map_lock_path
void
const gchar *accel_path
gtk_accel_map_unlock_path
void
const gchar *accel_path
gtk_accel_map_add_filter
void
const gchar *filter_pattern
gtk_accel_map_foreach_unfiltered
void
gpointer data, GtkAccelMapForeach foreach_func
gtk_accel_map_get_type
GType
void
gtk_accel_map_get
GtkAccelMap *
void
GtkAccelMap
GtkAccelMapClass
GTK_TYPE_ACCESSIBLE
#define GTK_TYPE_ACCESSIBLE (gtk_accessible_get_type ())
GTK_ACCESSIBLE
#define GTK_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_ACCESSIBLE, GtkAccessible))
GTK_ACCESSIBLE_CLASS
#define GTK_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_ACCESSIBLE, GtkAccessibleClass))
GTK_IS_ACCESSIBLE
#define GTK_IS_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_ACCESSIBLE))
GTK_IS_ACCESSIBLE_CLASS
#define GTK_IS_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_ACCESSIBLE))
GTK_ACCESSIBLE_GET_CLASS
#define GTK_ACCESSIBLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_ACCESSIBLE, GtkAccessibleClass))
GtkAccessible
struct _GtkAccessible
{
AtkObject parent;
/*< private >*/
GtkAccessiblePrivate *priv;
};
GtkAccessibleClass
struct _GtkAccessibleClass
{
AtkObjectClass parent_class;
void (*widget_set) (GtkAccessible *accessible);
void (*widget_unset) (GtkAccessible *accessible);
/* Padding for future expansion */
void (*_gtk_reserved3) (void);
void (*_gtk_reserved4) (void);
};
gtk_accessible_get_type
GType
void
gtk_accessible_set_widget
void
GtkAccessible *accessible, GtkWidget *widget
gtk_accessible_get_widget
GtkWidget *
GtkAccessible *accessible
GtkAccessiblePrivate
GTK_TYPE_ACTIONABLE
#define GTK_TYPE_ACTIONABLE (gtk_actionable_get_type ())
GTK_ACTIONABLE
#define GTK_ACTIONABLE(inst) (G_TYPE_CHECK_INSTANCE_CAST ((inst), \
GTK_TYPE_ACTIONABLE, GtkActionable))
GTK_IS_ACTIONABLE
#define GTK_IS_ACTIONABLE(inst) (G_TYPE_CHECK_INSTANCE_TYPE ((inst), \
GTK_TYPE_ACTIONABLE))
GTK_ACTIONABLE_GET_IFACE
#define GTK_ACTIONABLE_GET_IFACE(inst) (G_TYPE_INSTANCE_GET_INTERFACE ((inst), \
GTK_TYPE_ACTIONABLE, GtkActionableInterface))
GtkActionableInterface
struct _GtkActionableInterface
{
/*< private >*/
GTypeInterface g_iface;
/*< public >*/
const gchar * (* get_action_name) (GtkActionable *actionable);
void (* set_action_name) (GtkActionable *actionable,
const gchar *action_name);
GVariant * (* get_action_target_value) (GtkActionable *actionable);
void (* set_action_target_value) (GtkActionable *actionable,
GVariant *target_value);
};
gtk_actionable_get_type
GType
void
gtk_actionable_get_action_name
const gchar *
GtkActionable *actionable
gtk_actionable_set_action_name
void
GtkActionable *actionable, const gchar *action_name
gtk_actionable_get_action_target_value
GVariant *
GtkActionable *actionable
gtk_actionable_set_action_target_value
void
GtkActionable *actionable, GVariant *target_value
gtk_actionable_set_action_target
void
GtkActionable *actionable, const gchar *format_string, ...
gtk_actionable_set_detailed_action_name
void
GtkActionable *actionable, const gchar *detailed_action_name
GtkActionable
GTK_TYPE_ACTION_BAR
#define GTK_TYPE_ACTION_BAR (gtk_action_bar_get_type ())
GTK_ACTION_BAR
#define GTK_ACTION_BAR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_ACTION_BAR, GtkActionBar))
GTK_IS_ACTION_BAR
#define GTK_IS_ACTION_BAR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_ACTION_BAR))
gtk_action_bar_get_type
GType
void
gtk_action_bar_new
GtkWidget *
void
gtk_action_bar_get_center_widget
GtkWidget *
GtkActionBar *action_bar
gtk_action_bar_set_center_widget
void
GtkActionBar *action_bar, GtkWidget *center_widget
gtk_action_bar_pack_start
void
GtkActionBar *action_bar, GtkWidget *child
gtk_action_bar_pack_end
void
GtkActionBar *action_bar, GtkWidget *child
gtk_action_bar_set_revealed
void
GtkActionBar *action_bar, gboolean revealed
gtk_action_bar_get_revealed
gboolean
GtkActionBar *action_bar
GtkActionBar
GTK_TYPE_ACTION_OBSERVABLE
#define GTK_TYPE_ACTION_OBSERVABLE (gtk_action_observable_get_type ())
GTK_ACTION_OBSERVABLE
#define GTK_ACTION_OBSERVABLE(inst) (G_TYPE_CHECK_INSTANCE_CAST ((inst), \
GTK_TYPE_ACTION_OBSERVABLE, GtkActionObservable))
GTK_IS_ACTION_OBSERVABLE
#define GTK_IS_ACTION_OBSERVABLE(inst) (G_TYPE_CHECK_INSTANCE_TYPE ((inst), \
GTK_TYPE_ACTION_OBSERVABLE))
GTK_ACTION_OBSERVABLE_GET_IFACE
#define GTK_ACTION_OBSERVABLE_GET_IFACE(inst) (G_TYPE_INSTANCE_GET_INTERFACE ((inst), \
GTK_TYPE_ACTION_OBSERVABLE, \
GtkActionObservableInterface))
GtkActionObservableInterface
struct _GtkActionObservableInterface
{
GTypeInterface g_iface;
void (* register_observer) (GtkActionObservable *observable,
const gchar *action_name,
GtkActionObserver *observer);
void (* unregister_observer) (GtkActionObservable *observable,
const gchar *action_name,
GtkActionObserver *observer);
};
gtk_action_observable_get_type
GType
void
gtk_action_observable_register_observer
void
GtkActionObservable *observable, const gchar *action_name, GtkActionObserver *observer
gtk_action_observable_unregister_observer
void
GtkActionObservable *observable, const gchar *action_name, GtkActionObserver *observer
GTK_TYPE_ACTION_OBSERVER
#define GTK_TYPE_ACTION_OBSERVER (gtk_action_observer_get_type ())
GTK_ACTION_OBSERVER
#define GTK_ACTION_OBSERVER(inst) (G_TYPE_CHECK_INSTANCE_CAST ((inst), \
GTK_TYPE_ACTION_OBSERVER, GtkActionObserver))
GTK_IS_ACTION_OBSERVER
#define GTK_IS_ACTION_OBSERVER(inst) (G_TYPE_CHECK_INSTANCE_TYPE ((inst), \
GTK_TYPE_ACTION_OBSERVER))
GTK_ACTION_OBSERVER_GET_IFACE
#define GTK_ACTION_OBSERVER_GET_IFACE(inst) (G_TYPE_INSTANCE_GET_INTERFACE ((inst), \
GTK_TYPE_ACTION_OBSERVER, GtkActionObserverInterface))
GtkActionObserverInterface
struct _GtkActionObserverInterface
{
GTypeInterface g_iface;
void (* action_added) (GtkActionObserver *observer,
GtkActionObservable *observable,
const gchar *action_name,
const GVariantType *parameter_type,
gboolean enabled,
GVariant *state);
void (* action_enabled_changed) (GtkActionObserver *observer,
GtkActionObservable *observable,
const gchar *action_name,
gboolean enabled);
void (* action_state_changed) (GtkActionObserver *observer,
GtkActionObservable *observable,
const gchar *action_name,
GVariant *state);
void (* action_removed) (GtkActionObserver *observer,
GtkActionObservable *observable,
const gchar *action_name);
void (* primary_accel_changed) (GtkActionObserver *observer,
GtkActionObservable *observable,
const gchar *action_name,
const gchar *action_and_target);
};
gtk_action_observer_get_type
GType
void
gtk_action_observer_action_added
void
GtkActionObserver *observer, GtkActionObservable *observable, const gchar *action_name, const GVariantType *parameter_type, gboolean enabled, GVariant *state
gtk_action_observer_action_enabled_changed
void
GtkActionObserver *observer, GtkActionObservable *observable, const gchar *action_name, gboolean enabled
gtk_action_observer_action_state_changed
void
GtkActionObserver *observer, GtkActionObservable *observable, const gchar *action_name, GVariant *state
gtk_action_observer_action_removed
void
GtkActionObserver *observer, GtkActionObservable *observable, const gchar *action_name
gtk_action_observer_primary_accel_changed
void
GtkActionObserver *observer, GtkActionObservable *observable, const gchar *action_name, const gchar *action_and_target
GtkActionObservable
GtkActionObserver
GTK_TYPE_ADJUSTMENT
#define GTK_TYPE_ADJUSTMENT (gtk_adjustment_get_type ())
GTK_ADJUSTMENT
#define GTK_ADJUSTMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_ADJUSTMENT, GtkAdjustment))
GTK_ADJUSTMENT_CLASS
#define GTK_ADJUSTMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_ADJUSTMENT, GtkAdjustmentClass))
GTK_IS_ADJUSTMENT
#define GTK_IS_ADJUSTMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_ADJUSTMENT))
GTK_IS_ADJUSTMENT_CLASS
#define GTK_IS_ADJUSTMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_ADJUSTMENT))
GTK_ADJUSTMENT_GET_CLASS
#define GTK_ADJUSTMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_ADJUSTMENT, GtkAdjustmentClass))
GtkAdjustment
struct _GtkAdjustment
{
GInitiallyUnowned parent_instance;
};
GtkAdjustmentClass
struct _GtkAdjustmentClass
{
GInitiallyUnownedClass parent_class;
void (* changed) (GtkAdjustment *adjustment);
void (* value_changed) (GtkAdjustment *adjustment);
/* Padding for future expansion */
void (*_gtk_reserved1) (void);
void (*_gtk_reserved2) (void);
void (*_gtk_reserved3) (void);
void (*_gtk_reserved4) (void);
};
gtk_adjustment_get_type
GType
void
gtk_adjustment_new
GtkAdjustment *
gdouble value, gdouble lower, gdouble upper, gdouble step_increment, gdouble page_increment, gdouble page_size
gtk_adjustment_clamp_page
void
GtkAdjustment *adjustment, gdouble lower, gdouble upper
gtk_adjustment_get_value
gdouble
GtkAdjustment *adjustment
gtk_adjustment_set_value
void
GtkAdjustment *adjustment, gdouble value
gtk_adjustment_get_lower
gdouble
GtkAdjustment *adjustment
gtk_adjustment_set_lower
void
GtkAdjustment *adjustment, gdouble lower
gtk_adjustment_get_upper
gdouble
GtkAdjustment *adjustment
gtk_adjustment_set_upper
void
GtkAdjustment *adjustment, gdouble upper
gtk_adjustment_get_step_increment
gdouble
GtkAdjustment *adjustment
gtk_adjustment_set_step_increment
void
GtkAdjustment *adjustment, gdouble step_increment
gtk_adjustment_get_page_increment
gdouble
GtkAdjustment *adjustment
gtk_adjustment_set_page_increment
void
GtkAdjustment *adjustment, gdouble page_increment
gtk_adjustment_get_page_size
gdouble
GtkAdjustment *adjustment
gtk_adjustment_set_page_size
void
GtkAdjustment *adjustment, gdouble page_size
gtk_adjustment_configure
void
GtkAdjustment *adjustment, gdouble value, gdouble lower, gdouble upper, gdouble step_increment, gdouble page_increment, gdouble page_size
gtk_adjustment_get_minimum_increment
gdouble
GtkAdjustment *adjustment
GTK_TYPE_APP_CHOOSER
#define GTK_TYPE_APP_CHOOSER (gtk_app_chooser_get_type ())
GTK_APP_CHOOSER
#define GTK_APP_CHOOSER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_APP_CHOOSER, GtkAppChooser))
GTK_IS_APP_CHOOSER
#define GTK_IS_APP_CHOOSER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_APP_CHOOSER))
gtk_app_chooser_get_type
GType
void
gtk_app_chooser_get_app_info
GAppInfo *
GtkAppChooser *self
gtk_app_chooser_get_content_type
gchar *
GtkAppChooser *self
gtk_app_chooser_refresh
void
GtkAppChooser *self
GtkAppChooser
GTK_TYPE_APP_CHOOSER_BUTTON
#define GTK_TYPE_APP_CHOOSER_BUTTON (gtk_app_chooser_button_get_type ())
GTK_APP_CHOOSER_BUTTON
#define GTK_APP_CHOOSER_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_APP_CHOOSER_BUTTON, GtkAppChooserButton))
GTK_IS_APP_CHOOSER_BUTTON
#define GTK_IS_APP_CHOOSER_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_APP_CHOOSER_BUTTON))
gtk_app_chooser_button_get_type
GType
void
gtk_app_chooser_button_new
GtkWidget *
const gchar *content_type
gtk_app_chooser_button_append_separator
void
GtkAppChooserButton *self
gtk_app_chooser_button_append_custom_item
void
GtkAppChooserButton *self, const gchar *name, const gchar *label, GIcon *icon
gtk_app_chooser_button_set_active_custom_item
void
GtkAppChooserButton *self, const gchar *name
gtk_app_chooser_button_set_show_dialog_item
void
GtkAppChooserButton *self, gboolean setting
gtk_app_chooser_button_get_show_dialog_item
gboolean
GtkAppChooserButton *self
gtk_app_chooser_button_set_heading
void
GtkAppChooserButton *self, const gchar *heading
gtk_app_chooser_button_get_heading
const gchar *
GtkAppChooserButton *self
gtk_app_chooser_button_set_show_default_item
void
GtkAppChooserButton *self, gboolean setting
gtk_app_chooser_button_get_show_default_item
gboolean
GtkAppChooserButton *self
GtkAppChooserButton
GTK_TYPE_APP_CHOOSER_DIALOG
#define GTK_TYPE_APP_CHOOSER_DIALOG (gtk_app_chooser_dialog_get_type ())
GTK_APP_CHOOSER_DIALOG
#define GTK_APP_CHOOSER_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_APP_CHOOSER_DIALOG, GtkAppChooserDialog))
GTK_IS_APP_CHOOSER_DIALOG
#define GTK_IS_APP_CHOOSER_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_APP_CHOOSER_DIALOG))
gtk_app_chooser_dialog_get_type
GType
void
gtk_app_chooser_dialog_new
GtkWidget *
GtkWindow *parent, GtkDialogFlags flags, GFile *file
gtk_app_chooser_dialog_new_for_content_type
GtkWidget *
GtkWindow *parent, GtkDialogFlags flags, const gchar *content_type
gtk_app_chooser_dialog_get_widget
GtkWidget *
GtkAppChooserDialog *self
gtk_app_chooser_dialog_set_heading
void
GtkAppChooserDialog *self, const gchar *heading
gtk_app_chooser_dialog_get_heading
const gchar *
GtkAppChooserDialog *self
GtkAppChooserDialog
GTK_TYPE_APP_CHOOSER_WIDGET
#define GTK_TYPE_APP_CHOOSER_WIDGET (gtk_app_chooser_widget_get_type ())
GTK_APP_CHOOSER_WIDGET
#define GTK_APP_CHOOSER_WIDGET(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_APP_CHOOSER_WIDGET, GtkAppChooserWidget))
GTK_IS_APP_CHOOSER_WIDGET
#define GTK_IS_APP_CHOOSER_WIDGET(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_APP_CHOOSER_WIDGET))
gtk_app_chooser_widget_get_type
GType
void
gtk_app_chooser_widget_new
GtkWidget *
const gchar *content_type
gtk_app_chooser_widget_set_show_default
void
GtkAppChooserWidget *self, gboolean setting
gtk_app_chooser_widget_get_show_default
gboolean
GtkAppChooserWidget *self
gtk_app_chooser_widget_set_show_recommended
void
GtkAppChooserWidget *self, gboolean setting
gtk_app_chooser_widget_get_show_recommended
gboolean
GtkAppChooserWidget *self
gtk_app_chooser_widget_set_show_fallback
void
GtkAppChooserWidget *self, gboolean setting
gtk_app_chooser_widget_get_show_fallback
gboolean
GtkAppChooserWidget *self
gtk_app_chooser_widget_set_show_other
void
GtkAppChooserWidget *self, gboolean setting
gtk_app_chooser_widget_get_show_other
gboolean
GtkAppChooserWidget *self
gtk_app_chooser_widget_set_show_all
void
GtkAppChooserWidget *self, gboolean setting
gtk_app_chooser_widget_get_show_all
gboolean
GtkAppChooserWidget *self
gtk_app_chooser_widget_set_default_text
void
GtkAppChooserWidget *self, const gchar *text
gtk_app_chooser_widget_get_default_text
const gchar *
GtkAppChooserWidget *self
GtkAppChooserWidget
GTK_TYPE_APPLICATION
#define GTK_TYPE_APPLICATION (gtk_application_get_type ())
GTK_APPLICATION
#define GTK_APPLICATION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_APPLICATION, GtkApplication))
GTK_APPLICATION_CLASS
#define GTK_APPLICATION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_APPLICATION, GtkApplicationClass))
GTK_IS_APPLICATION
#define GTK_IS_APPLICATION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_APPLICATION))
GTK_IS_APPLICATION_CLASS
#define GTK_IS_APPLICATION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_APPLICATION))
GTK_APPLICATION_GET_CLASS
#define GTK_APPLICATION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_APPLICATION, GtkApplicationClass))
GtkApplication
struct _GtkApplication
{
GApplication parent_instance;
};
GtkApplicationClass
struct _GtkApplicationClass
{
GApplicationClass parent_class;
/*< public >*/
void (*window_added) (GtkApplication *application,
GtkWindow *window);
void (*window_removed) (GtkApplication *application,
GtkWindow *window);
/*< private >*/
gpointer padding[8];
};
gtk_application_get_type
GType
void
gtk_application_new
GtkApplication *
const gchar *application_id, GApplicationFlags flags
gtk_application_add_window
void
GtkApplication *application, GtkWindow *window
gtk_application_remove_window
void
GtkApplication *application, GtkWindow *window
gtk_application_get_windows
GList *
GtkApplication *application
gtk_application_get_app_menu
GMenuModel *
GtkApplication *application
gtk_application_set_app_menu
void
GtkApplication *application, GMenuModel *app_menu
gtk_application_get_menubar
GMenuModel *
GtkApplication *application
gtk_application_set_menubar
void
GtkApplication *application, GMenuModel *menubar
GtkApplicationInhibitFlags
typedef enum
{
GTK_APPLICATION_INHIBIT_LOGOUT = (1 << 0),
GTK_APPLICATION_INHIBIT_SWITCH = (1 << 1),
GTK_APPLICATION_INHIBIT_SUSPEND = (1 << 2),
GTK_APPLICATION_INHIBIT_IDLE = (1 << 3)
} GtkApplicationInhibitFlags;
gtk_application_inhibit
guint
GtkApplication *application, GtkWindow *window, GtkApplicationInhibitFlags flags, const gchar *reason
gtk_application_uninhibit
void
GtkApplication *application, guint cookie
gtk_application_get_window_by_id
GtkWindow *
GtkApplication *application, guint id
gtk_application_get_active_window
GtkWindow *
GtkApplication *application
gtk_application_list_action_descriptions
gchar **
GtkApplication *application
gtk_application_get_accels_for_action
gchar **
GtkApplication *application, const gchar *detailed_action_name
gtk_application_get_actions_for_accel
gchar **
GtkApplication *application, const gchar *accel
gtk_application_set_accels_for_action
void
GtkApplication *application, const gchar *detailed_action_name, const gchar * const *accels
gtk_application_prefers_app_menu
gboolean
GtkApplication *application
gtk_application_get_menu_by_id
GMenu *
GtkApplication *application, const gchar *id
GTK_TYPE_APPLICATION_WINDOW
#define GTK_TYPE_APPLICATION_WINDOW (gtk_application_window_get_type ())
GTK_APPLICATION_WINDOW
#define GTK_APPLICATION_WINDOW(inst) (G_TYPE_CHECK_INSTANCE_CAST ((inst), \
GTK_TYPE_APPLICATION_WINDOW, GtkApplicationWindow))
GTK_APPLICATION_WINDOW_CLASS
#define GTK_APPLICATION_WINDOW_CLASS(class) (G_TYPE_CHECK_CLASS_CAST ((class), \
GTK_TYPE_APPLICATION_WINDOW, GtkApplicationWindowClass))
GTK_IS_APPLICATION_WINDOW
#define GTK_IS_APPLICATION_WINDOW(inst) (G_TYPE_CHECK_INSTANCE_TYPE ((inst), \
GTK_TYPE_APPLICATION_WINDOW))
GTK_IS_APPLICATION_WINDOW_CLASS
#define GTK_IS_APPLICATION_WINDOW_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), \
GTK_TYPE_APPLICATION_WINDOW))
GTK_APPLICATION_WINDOW_GET_CLASS
#define GTK_APPLICATION_WINDOW_GET_CLASS(inst) (G_TYPE_INSTANCE_GET_CLASS ((inst), \
GTK_TYPE_APPLICATION_WINDOW, GtkApplicationWindowClass))
GtkApplicationWindow
struct _GtkApplicationWindow
{
GtkWindow parent_instance;
};
GtkApplicationWindowClass
struct _GtkApplicationWindowClass
{
GtkWindowClass parent_class;
/*< private >*/
gpointer padding[8];
};
gtk_application_window_get_type
GType
void
gtk_application_window_new
GtkWidget *
GtkApplication *application
gtk_application_window_set_show_menubar
void
GtkApplicationWindow *window, gboolean show_menubar
gtk_application_window_get_show_menubar
gboolean
GtkApplicationWindow *window
gtk_application_window_get_id
guint
GtkApplicationWindow *window
gtk_application_window_set_help_overlay
void
GtkApplicationWindow *window, GtkShortcutsWindow *help_overlay
gtk_application_window_get_help_overlay
GtkShortcutsWindow *
GtkApplicationWindow *window
GTK_TYPE_ASPECT_FRAME
#define GTK_TYPE_ASPECT_FRAME (gtk_aspect_frame_get_type ())
GTK_ASPECT_FRAME
#define GTK_ASPECT_FRAME(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_ASPECT_FRAME, GtkAspectFrame))
GTK_IS_ASPECT_FRAME
#define GTK_IS_ASPECT_FRAME(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_ASPECT_FRAME))
gtk_aspect_frame_get_type
GType
void
gtk_aspect_frame_new
GtkWidget *
const gchar *label, gfloat xalign, gfloat yalign, gfloat ratio, gboolean obey_child
gtk_aspect_frame_set
void
GtkAspectFrame *aspect_frame, gfloat xalign, gfloat yalign, gfloat ratio, gboolean obey_child
GtkAspectFrame
GTK_TYPE_ASSISTANT
#define GTK_TYPE_ASSISTANT (gtk_assistant_get_type ())
GTK_ASSISTANT
#define GTK_ASSISTANT(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GTK_TYPE_ASSISTANT, GtkAssistant))
GTK_IS_ASSISTANT
#define GTK_IS_ASSISTANT(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GTK_TYPE_ASSISTANT))
GtkAssistantPageType
typedef enum
{
GTK_ASSISTANT_PAGE_CONTENT,
GTK_ASSISTANT_PAGE_INTRO,
GTK_ASSISTANT_PAGE_CONFIRM,
GTK_ASSISTANT_PAGE_SUMMARY,
GTK_ASSISTANT_PAGE_PROGRESS,
GTK_ASSISTANT_PAGE_CUSTOM
} GtkAssistantPageType;
GTK_TYPE_ASSISTANT_PAGE
#define GTK_TYPE_ASSISTANT_PAGE (gtk_assistant_page_get_type ())
GTK_ASSISTANT_PAGE
#define GTK_ASSISTANT_PAGE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_ASSISTANT_PAGE, GtkAssistantPage))
GTK_IS_ASSISTANT_PAGE
#define GTK_IS_ASSISTANT_PAGE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_ASSISTANT_PAGE))
GtkAssistantPageFunc
gint
gint current_page, gpointer data
gtk_assistant_page_get_type
GType
void
gtk_assistant_get_type
GType
void
gtk_assistant_new
GtkWidget *
void
gtk_assistant_next_page
void
GtkAssistant *assistant
gtk_assistant_previous_page
void
GtkAssistant *assistant
gtk_assistant_get_current_page
gint
GtkAssistant *assistant
gtk_assistant_set_current_page
void
GtkAssistant *assistant, gint page_num
gtk_assistant_get_n_pages
gint
GtkAssistant *assistant
gtk_assistant_get_nth_page
GtkWidget *
GtkAssistant *assistant, gint page_num
gtk_assistant_prepend_page
gint
GtkAssistant *assistant, GtkWidget *page
gtk_assistant_append_page
gint
GtkAssistant *assistant, GtkWidget *page
gtk_assistant_insert_page
gint
GtkAssistant *assistant, GtkWidget *page, gint position
gtk_assistant_remove_page
void
GtkAssistant *assistant, gint page_num
gtk_assistant_set_forward_page_func
void
GtkAssistant *assistant, GtkAssistantPageFunc page_func, gpointer data, GDestroyNotify destroy
gtk_assistant_set_page_type
void
GtkAssistant *assistant, GtkWidget *page, GtkAssistantPageType type
gtk_assistant_get_page_type
GtkAssistantPageType
GtkAssistant *assistant, GtkWidget *page
gtk_assistant_set_page_title
void
GtkAssistant *assistant, GtkWidget *page, const gchar *title
gtk_assistant_get_page_title
const gchar *
GtkAssistant *assistant, GtkWidget *page
gtk_assistant_set_page_complete
void
GtkAssistant *assistant, GtkWidget *page, gboolean complete
gtk_assistant_get_page_complete
gboolean
GtkAssistant *assistant, GtkWidget *page
gtk_assistant_add_action_widget
void
GtkAssistant *assistant, GtkWidget *child
gtk_assistant_remove_action_widget
void
GtkAssistant *assistant, GtkWidget *child
gtk_assistant_update_buttons_state
void
GtkAssistant *assistant
gtk_assistant_commit
void
GtkAssistant *assistant
gtk_assistant_get_page
GtkAssistantPage *
GtkAssistant *assistant, GtkWidget *child
gtk_assistant_page_get_child
GtkWidget *
GtkAssistantPage *page
gtk_assistant_get_pages
GListModel *
GtkAssistant *assistant
GtkAssistant
GtkAssistantPage
GTK_TYPE_BIN
#define GTK_TYPE_BIN (gtk_bin_get_type ())
GTK_BIN
#define GTK_BIN(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_BIN, GtkBin))
GTK_BIN_CLASS
#define GTK_BIN_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_BIN, GtkBinClass))
GTK_IS_BIN
#define GTK_IS_BIN(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_BIN))
GTK_IS_BIN_CLASS
#define GTK_IS_BIN_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_BIN))
GTK_BIN_GET_CLASS
#define GTK_BIN_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_BIN, GtkBinClass))
GtkBin
struct _GtkBin
{
GtkContainer parent_instance;
};
GtkBinClass
struct _GtkBinClass
{
GtkContainerClass parent_class;
/*< private >*/
gpointer padding[8];
};
gtk_bin_get_type
GType
void
gtk_bin_get_child
GtkWidget *
GtkBin *bin
GtkBindingCallback
void
GtkWidget *widget, GVariant *args, gpointer user_data
gtk_binding_set_new
GtkBindingSet *
const gchar *set_name
gtk_binding_set_by_class
GtkBindingSet *
gpointer object_class
gtk_binding_set_find
GtkBindingSet *
const gchar *set_name
gtk_bindings_activate
gboolean
GObject *object, guint keyval, GdkModifierType modifiers
gtk_bindings_activate_event
gboolean
GObject *object, GdkEventKey *event
gtk_binding_set_activate
gboolean
GtkBindingSet *binding_set, guint keyval, GdkModifierType modifiers, GObject *object
gtk_binding_entry_skip
void
GtkBindingSet *binding_set, guint keyval, GdkModifierType modifiers
gtk_binding_entry_add_signal
void
GtkBindingSet *binding_set, guint keyval, GdkModifierType modifiers, const gchar *signal_name, guint n_args, ...
gtk_binding_entry_add_signal_from_string
GTokenType
GtkBindingSet *binding_set, const gchar *signal_desc
gtk_binding_entry_add_action_variant
void
GtkBindingSet *binding_set, guint keyval, GdkModifierType modifiers, const char *action_name, GVariant *args
gtk_binding_entry_add_action
void
GtkBindingSet *binding_set, guint keyval, GdkModifierType modifiers, const char *action_name, const char *format_string, ...
gtk_binding_entry_add_callback
void
GtkBindingSet *binding_set, guint keyval, GdkModifierType modifiers, GtkBindingCallback callback, GVariant *args, gpointer user_data, GDestroyNotify user_destroy
gtk_binding_entry_remove
void
GtkBindingSet *binding_set, guint keyval, GdkModifierType modifiers
GtkBindingSet
GTK_TYPE_BIN_LAYOUT
#define GTK_TYPE_BIN_LAYOUT (gtk_bin_layout_get_type ())
gtk_bin_layout_new
GtkLayoutManager *
void
GtkBinLayout
GtkBookmarksChangedFunc
void
gpointer data
GTK_TYPE_BORDER
#define GTK_TYPE_BORDER (gtk_border_get_type ())
GtkBorder
struct _GtkBorder
{
gint16 left;
gint16 right;
gint16 top;
gint16 bottom;
};
gtk_border_get_type
GType
void
gtk_border_new
GtkBorder *
void
gtk_border_copy
GtkBorder *
const GtkBorder *border_
gtk_border_free
void
GtkBorder *border_
GTK_TYPE_BOX
#define GTK_TYPE_BOX (gtk_box_get_type ())
GTK_BOX
#define GTK_BOX(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_BOX, GtkBox))
GTK_BOX_CLASS
#define GTK_BOX_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_BOX, GtkBoxClass))
GTK_IS_BOX
#define GTK_IS_BOX(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_BOX))
GTK_IS_BOX_CLASS
#define GTK_IS_BOX_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_BOX))
GTK_BOX_GET_CLASS
#define GTK_BOX_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_BOX, GtkBoxClass))
GtkBox
struct _GtkBox
{
GtkContainer parent_instance;
};
GtkBoxClass
struct _GtkBoxClass
{
GtkContainerClass parent_class;
/*< private >*/
gpointer padding[8];
};
gtk_box_get_type
GType
void
gtk_box_new
GtkWidget *
GtkOrientation orientation, gint spacing
gtk_box_set_homogeneous
void
GtkBox *box, gboolean homogeneous
gtk_box_get_homogeneous
gboolean
GtkBox *box
gtk_box_set_spacing
void
GtkBox *box, gint spacing
gtk_box_get_spacing
gint
GtkBox *box
gtk_box_set_baseline_position
void
GtkBox *box, GtkBaselinePosition position
gtk_box_get_baseline_position
GtkBaselinePosition
GtkBox *box
gtk_box_insert_child_after
void
GtkBox *box, GtkWidget *child, GtkWidget *sibling
gtk_box_reorder_child_after
void
GtkBox *box, GtkWidget *child, GtkWidget *sibling
GTK_TYPE_BOX_LAYOUT
#define GTK_TYPE_BOX_LAYOUT (gtk_box_layout_get_type())
gtk_box_layout_new
GtkLayoutManager *
GtkOrientation orientation
gtk_box_layout_set_homogeneous
void
GtkBoxLayout *box_layout, gboolean homogeneous
gtk_box_layout_get_homogeneous
gboolean
GtkBoxLayout *box_layout
gtk_box_layout_set_spacing
void
GtkBoxLayout *box_layout, guint spacing
gtk_box_layout_get_spacing
guint
GtkBoxLayout *box_layout
gtk_box_layout_set_baseline_position
void
GtkBoxLayout *box_layout, GtkBaselinePosition position
gtk_box_layout_get_baseline_position
GtkBaselinePosition
GtkBoxLayout *box_layout
GtkBoxLayout
GTK_TYPE_BUILDABLE
#define GTK_TYPE_BUILDABLE (gtk_buildable_get_type ())
GTK_BUILDABLE
#define GTK_BUILDABLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_BUILDABLE, GtkBuildable))
GTK_BUILDABLE_CLASS
#define GTK_BUILDABLE_CLASS(obj) (G_TYPE_CHECK_CLASS_CAST ((obj), GTK_TYPE_BUILDABLE, GtkBuildableIface))
GTK_IS_BUILDABLE
#define GTK_IS_BUILDABLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_BUILDABLE))
GTK_BUILDABLE_GET_IFACE
#define GTK_BUILDABLE_GET_IFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), GTK_TYPE_BUILDABLE, GtkBuildableIface))
GtkBuildableParser
struct _GtkBuildableParser
{
/* Called for open tags */
void (*start_element) (GtkBuildableParseContext *context,
const gchar *element_name,
const gchar **attribute_names,
const gchar **attribute_values,
gpointer user_data,
GError **error);
/* Called for close tags */
void (*end_element) (GtkBuildableParseContext *context,
const gchar *element_name,
gpointer user_data,
GError **error);
/* Called for character data */
/* text is not nul-terminated */
void (*text) (GtkBuildableParseContext *context,
const gchar *text,
gsize text_len,
gpointer user_data,
GError **error);
/* Called on error, including one set by other
* methods in the vtable. The GError should not be freed.
*/
void (*error) (GtkBuildableParseContext *context,
GError *error,
gpointer user_data);
gpointer padding[4];
};
GtkBuildableIface
struct _GtkBuildableIface
{
GTypeInterface g_iface;
/* virtual table */
void (* set_name) (GtkBuildable *buildable,
const gchar *name);
const gchar * (* get_name) (GtkBuildable *buildable);
void (* add_child) (GtkBuildable *buildable,
GtkBuilder *builder,
GObject *child,
const gchar *type);
void (* set_buildable_property) (GtkBuildable *buildable,
GtkBuilder *builder,
const gchar *name,
const GValue *value);
GObject * (* construct_child) (GtkBuildable *buildable,
GtkBuilder *builder,
const gchar *name);
gboolean (* custom_tag_start) (GtkBuildable *buildable,
GtkBuilder *builder,
GObject *child,
const gchar *tagname,
GtkBuildableParser *parser,
gpointer *data);
void (* custom_tag_end) (GtkBuildable *buildable,
GtkBuilder *builder,
GObject *child,
const gchar *tagname,
gpointer data);
void (* custom_finished) (GtkBuildable *buildable,
GtkBuilder *builder,
GObject *child,
const gchar *tagname,
gpointer data);
void (* parser_finished) (GtkBuildable *buildable,
GtkBuilder *builder);
GObject * (* get_internal_child) (GtkBuildable *buildable,
GtkBuilder *builder,
const gchar *childname);
};
gtk_buildable_get_type
GType
void
gtk_buildable_set_name
void
GtkBuildable *buildable, const gchar *name
gtk_buildable_get_name
const gchar *
GtkBuildable *buildable
gtk_buildable_add_child
void
GtkBuildable *buildable, GtkBuilder *builder, GObject *child, const gchar *type
gtk_buildable_set_buildable_property
void
GtkBuildable *buildable, GtkBuilder *builder, const gchar *name, const GValue *value
gtk_buildable_construct_child
GObject *
GtkBuildable *buildable, GtkBuilder *builder, const gchar *name
gtk_buildable_custom_tag_start
gboolean
GtkBuildable *buildable, GtkBuilder *builder, GObject *child, const gchar *tagname, GtkBuildableParser *parser, gpointer *data
gtk_buildable_custom_tag_end
void
GtkBuildable *buildable, GtkBuilder *builder, GObject *child, const gchar *tagname, gpointer data
gtk_buildable_custom_finished
void
GtkBuildable *buildable, GtkBuilder *builder, GObject *child, const gchar *tagname, gpointer data
gtk_buildable_parser_finished
void
GtkBuildable *buildable, GtkBuilder *builder
gtk_buildable_get_internal_child
GObject *
GtkBuildable *buildable, GtkBuilder *builder, const gchar *childname
gtk_buildable_parse_context_push
void
GtkBuildableParseContext *context, const GtkBuildableParser *parser, gpointer user_data
gtk_buildable_parse_context_pop
gpointer
GtkBuildableParseContext *context
gtk_buildable_parse_context_get_element
const char *
GtkBuildableParseContext *context
gtk_buildable_parse_context_get_element_stack
GPtrArray *
GtkBuildableParseContext *context
gtk_buildable_parse_context_get_position
void
GtkBuildableParseContext *context, gint *line_number, gint *char_number
GtkBuildable
GtkBuildableParseContext
GTK_TYPE_BUILDER
#define GTK_TYPE_BUILDER (gtk_builder_get_type ())
GTK_BUILDER
#define GTK_BUILDER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_BUILDER, GtkBuilder))
GTK_BUILDER_CLASS
#define GTK_BUILDER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_BUILDER, GtkBuilderClass))
GTK_IS_BUILDER
#define GTK_IS_BUILDER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_BUILDER))
GTK_IS_BUILDER_CLASS
#define GTK_IS_BUILDER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_BUILDER))
GTK_BUILDER_GET_CLASS
#define GTK_BUILDER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_BUILDER, GtkBuilderClass))
GTK_BUILDER_ERROR
#define GTK_BUILDER_ERROR (gtk_builder_error_quark ())
GtkBuilderError
typedef enum
{
GTK_BUILDER_ERROR_INVALID_TYPE_FUNCTION,
GTK_BUILDER_ERROR_UNHANDLED_TAG,
GTK_BUILDER_ERROR_MISSING_ATTRIBUTE,
GTK_BUILDER_ERROR_INVALID_ATTRIBUTE,
GTK_BUILDER_ERROR_INVALID_TAG,
GTK_BUILDER_ERROR_MISSING_PROPERTY_VALUE,
GTK_BUILDER_ERROR_INVALID_VALUE,
GTK_BUILDER_ERROR_VERSION_MISMATCH,
GTK_BUILDER_ERROR_DUPLICATE_ID,
GTK_BUILDER_ERROR_OBJECT_TYPE_REFUSED,
GTK_BUILDER_ERROR_TEMPLATE_MISMATCH,
GTK_BUILDER_ERROR_INVALID_PROPERTY,
GTK_BUILDER_ERROR_INVALID_SIGNAL,
GTK_BUILDER_ERROR_INVALID_ID,
GTK_BUILDER_ERROR_INVALID_FUNCTION
} GtkBuilderError;
gtk_builder_error_quark
GQuark
void
gtk_builder_get_type
GType
void
gtk_builder_new
GtkBuilder *
void
gtk_builder_add_from_file
gboolean
GtkBuilder *builder, const gchar *filename, GError **error
gtk_builder_add_from_resource
gboolean
GtkBuilder *builder, const gchar *resource_path, GError **error
gtk_builder_add_from_string
gboolean
GtkBuilder *builder, const gchar *buffer, gssize length, GError **error
gtk_builder_add_objects_from_file
gboolean
GtkBuilder *builder, const gchar *filename, gchar **object_ids, GError **error
gtk_builder_add_objects_from_resource
gboolean
GtkBuilder *builder, const gchar *resource_path, gchar **object_ids, GError **error
gtk_builder_add_objects_from_string
gboolean
GtkBuilder *builder, const gchar *buffer, gssize length, gchar **object_ids, GError **error
gtk_builder_get_object
GObject *
GtkBuilder *builder, const gchar *name
gtk_builder_get_objects
GSList *
GtkBuilder *builder
gtk_builder_expose_object
void
GtkBuilder *builder, const gchar *name, GObject *object
gtk_builder_get_current_object
GObject *
GtkBuilder *builder
gtk_builder_set_current_object
void
GtkBuilder *builder, GObject *current_object
gtk_builder_set_translation_domain
void
GtkBuilder *builder, const gchar *domain
gtk_builder_get_translation_domain
const gchar *
GtkBuilder *builder
gtk_builder_get_scope
GtkBuilderScope *
GtkBuilder *builder
gtk_builder_set_scope
void
GtkBuilder *builder, GtkBuilderScope *scope
gtk_builder_get_type_from_name
GType
GtkBuilder *builder, const char *type_name
gtk_builder_value_from_string
gboolean
GtkBuilder *builder, GParamSpec *pspec, const gchar *string, GValue *value, GError **error
gtk_builder_value_from_string_type
gboolean
GtkBuilder *builder, GType type, const gchar *string, GValue *value, GError **error
gtk_builder_new_from_file
GtkBuilder *
const gchar *filename
gtk_builder_new_from_resource
GtkBuilder *
const gchar *resource_path
gtk_builder_new_from_string
GtkBuilder *
const gchar *string, gssize length
gtk_builder_create_closure
GClosure *
GtkBuilder *builder, const char *function_name, GtkBuilderClosureFlags flags, GObject *object, GError **error
GTK_BUILDER_WARN_INVALID_CHILD_TYPE
#define GTK_BUILDER_WARN_INVALID_CHILD_TYPE(object, type) \
g_warning ("'%s' is not a valid child type of '%s'", type, g_type_name (G_OBJECT_TYPE (object)))
gtk_builder_extend_with_template
gboolean
GtkBuilder *builder, GtkWidget *widget, GType template_type, const gchar *buffer, gssize length, GError **error
GtkBuilderClass
GTK_TYPE_BUILDER_SCOPE
#define GTK_TYPE_BUILDER_SCOPE (gtk_builder_scope_get_type ())
GtkBuilderClosureFlags
typedef enum {
GTK_BUILDER_CLOSURE_SWAPPED = (1 << 0)
} GtkBuilderClosureFlags;
GtkBuilderScopeInterface
struct _GtkBuilderScopeInterface
{
/*< private >*/
GTypeInterface g_iface;
/*< public >*/
GType (* get_type_from_name) (GtkBuilderScope *self,
GtkBuilder *builder,
const char *type_name);
GType (* get_type_from_function) (GtkBuilderScope *self,
GtkBuilder *builder,
const char *function_name);
GClosure * (* create_closure) (GtkBuilderScope *self,
GtkBuilder *builder,
const char *function_name,
GtkBuilderClosureFlags flags,
GObject *object,
GError **error);
};
GtkBuilderCScopeClass
struct _GtkBuilderCScopeClass
{
GObjectClass parent_class;
};
GTK_TYPE_BUILDER_CSCOPE
#define GTK_TYPE_BUILDER_CSCOPE (gtk_builder_cscope_get_type ())
gtk_builder_cscope_new
GtkBuilderScope *
void
gtk_builder_cscope_add_callback_symbol
void
GtkBuilderCScope *self, const gchar *callback_name, GCallback callback_symbol
gtk_builder_cscope_add_callback_symbols
void
GtkBuilderCScope *self, const gchar *first_callback_name, GCallback first_callback_symbol, ...
gtk_builder_cscope_lookup_callback_symbol
GCallback
GtkBuilderCScope *self, const gchar *callback_name
GtkBuilderCScope
GtkBuilderCScopeClass
GtkBuilderScope
gtk_builder_scope_get_type_from_name
GType
GtkBuilderScope *self, GtkBuilder *builder, const char *type_name
gtk_builder_scope_get_type_from_function
GType
GtkBuilderScope *self, GtkBuilder *builder, const char *function_name
gtk_builder_scope_create_closure
GClosure *
GtkBuilderScope *self, GtkBuilder *builder, const char *function_name, GtkBuilderClosureFlags flags, GObject *object, GError **error
GTK_TYPE_BUILTIN_ICON
#define GTK_TYPE_BUILTIN_ICON (gtk_builtin_icon_get_type ())
gtk_builtin_icon_new
GtkWidget *
const char *css_name
gtk_builtin_icon_set_css_name
void
GtkBuiltinIcon *self, const char *css_name
GtkBuiltinIcon
GTK_TYPE_BUTTON
#define GTK_TYPE_BUTTON (gtk_button_get_type ())
GTK_BUTTON
#define GTK_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_BUTTON, GtkButton))
GTK_BUTTON_CLASS
#define GTK_BUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_BUTTON, GtkButtonClass))
GTK_IS_BUTTON
#define GTK_IS_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_BUTTON))
GTK_IS_BUTTON_CLASS
#define GTK_IS_BUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_BUTTON))
GTK_BUTTON_GET_CLASS
#define GTK_BUTTON_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_BUTTON, GtkButtonClass))
GtkButton
struct _GtkButton
{
/*< private >*/
GtkBin parent_instance;
};
GtkButtonClass
struct _GtkButtonClass
{
GtkBinClass parent_class;
/*< public >*/
void (* clicked) (GtkButton *button);
void (* activate) (GtkButton *button);
/*< private >*/
gpointer padding[8];
};
gtk_button_get_type
GType
void
gtk_button_new
GtkWidget *
void
gtk_button_new_with_label
GtkWidget *
const gchar *label
gtk_button_new_from_icon_name
GtkWidget *
const gchar *icon_name
gtk_button_new_with_mnemonic
GtkWidget *
const gchar *label
gtk_button_set_relief
void
GtkButton *button, GtkReliefStyle relief
gtk_button_get_relief
GtkReliefStyle
GtkButton *button
gtk_button_set_label
void
GtkButton *button, const gchar *label
gtk_button_get_label
const gchar *
GtkButton *button
gtk_button_set_use_underline
void
GtkButton *button, gboolean use_underline
gtk_button_get_use_underline
gboolean
GtkButton *button
gtk_button_set_icon_name
void
GtkButton *button, const char *icon_name
gtk_button_get_icon_name
const char *
GtkButton *button
GtkButtonPrivate
GTK_TYPE_CALENDAR
#define GTK_TYPE_CALENDAR (gtk_calendar_get_type ())
GTK_CALENDAR
#define GTK_CALENDAR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_CALENDAR, GtkCalendar))
GTK_IS_CALENDAR
#define GTK_IS_CALENDAR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_CALENDAR))
gtk_calendar_get_type
GType
void
gtk_calendar_new
GtkWidget *
void
gtk_calendar_select_day
void
GtkCalendar *self, GDateTime *date
gtk_calendar_mark_day
void
GtkCalendar *calendar, guint day
gtk_calendar_unmark_day
void
GtkCalendar *calendar, guint day
gtk_calendar_clear_marks
void
GtkCalendar *calendar
gtk_calendar_set_show_week_numbers
void
GtkCalendar *self, gboolean value
gtk_calendar_get_show_week_numbers
gboolean
GtkCalendar *self
gtk_calendar_set_show_heading
void
GtkCalendar *self, gboolean value
gtk_calendar_get_show_heading
gboolean
GtkCalendar *self
gtk_calendar_set_show_day_names
void
GtkCalendar *self, gboolean value
gtk_calendar_get_show_day_names
gboolean
GtkCalendar *self
gtk_calendar_get_date
GDateTime *
GtkCalendar *self
gtk_calendar_get_day_is_marked
gboolean
GtkCalendar *calendar, guint day
GtkCalendar
GTK_TYPE_CELL_AREA
#define GTK_TYPE_CELL_AREA (gtk_cell_area_get_type ())
GTK_CELL_AREA
#define GTK_CELL_AREA(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_CELL_AREA, GtkCellArea))
GTK_CELL_AREA_CLASS
#define GTK_CELL_AREA_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_CELL_AREA, GtkCellAreaClass))
GTK_IS_CELL_AREA
#define GTK_IS_CELL_AREA(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_CELL_AREA))
GTK_IS_CELL_AREA_CLASS
#define GTK_IS_CELL_AREA_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_CELL_AREA))
GTK_CELL_AREA_GET_CLASS
#define GTK_CELL_AREA_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_CELL_AREA, GtkCellAreaClass))
GTK_CELL_AREA_WARN_INVALID_CELL_PROPERTY_ID
#define GTK_CELL_AREA_WARN_INVALID_CELL_PROPERTY_ID(object, property_id, pspec) \
G_OBJECT_WARN_INVALID_PSPEC ((object), "cell property id", (property_id), (pspec))
GtkCellCallback
gboolean
GtkCellRenderer *renderer, gpointer data
GtkCellAllocCallback
gboolean
GtkCellRenderer *renderer, const GdkRectangle *cell_area, const GdkRectangle *cell_background, gpointer data
GtkCellArea
struct _GtkCellArea
{
/*< private >*/
GInitiallyUnowned parent_instance;
};
GtkCellAreaClass
struct _GtkCellAreaClass
{
/*< private >*/
GInitiallyUnownedClass parent_class;
/*< public >*/
/* Basic methods */
void (* add) (GtkCellArea *area,
GtkCellRenderer *renderer);
void (* remove) (GtkCellArea *area,
GtkCellRenderer *renderer);
void (* foreach) (GtkCellArea *area,
GtkCellCallback callback,
gpointer callback_data);
void (* foreach_alloc) (GtkCellArea *area,
GtkCellAreaContext *context,
GtkWidget *widget,
const GdkRectangle *cell_area,
const GdkRectangle *background_area,
GtkCellAllocCallback callback,
gpointer callback_data);
gint (* event) (GtkCellArea *area,
GtkCellAreaContext *context,
GtkWidget *widget,
GdkEvent *event,
const GdkRectangle *cell_area,
GtkCellRendererState flags);
void (* snapshot) (GtkCellArea *area,
GtkCellAreaContext *context,
GtkWidget *widget,
GtkSnapshot *snapshot,
const GdkRectangle *background_area,
const GdkRectangle *cell_area,
GtkCellRendererState flags,
gboolean paint_focus);
void (* apply_attributes) (GtkCellArea *area,
GtkTreeModel *tree_model,
GtkTreeIter *iter,
gboolean is_expander,
gboolean is_expanded);
/* Geometry */
GtkCellAreaContext *(* create_context) (GtkCellArea *area);
GtkCellAreaContext *(* copy_context) (GtkCellArea *area,
GtkCellAreaContext *context);
GtkSizeRequestMode (* get_request_mode) (GtkCellArea *area);
void (* get_preferred_width) (GtkCellArea *area,
GtkCellAreaContext *context,
GtkWidget *widget,
gint *minimum_width,
gint *natural_width);
void (* get_preferred_height_for_width) (GtkCellArea *area,
GtkCellAreaContext *context,
GtkWidget *widget,
gint width,
gint *minimum_height,
gint *natural_height);
void (* get_preferred_height) (GtkCellArea *area,
GtkCellAreaContext *context,
GtkWidget *widget,
gint *minimum_height,
gint *natural_height);
void (* get_preferred_width_for_height) (GtkCellArea *area,
GtkCellAreaContext *context,
GtkWidget *widget,
gint height,
gint *minimum_width,
gint *natural_width);
/* Cell Properties */
void (* set_cell_property) (GtkCellArea *area,
GtkCellRenderer *renderer,
guint property_id,
const GValue *value,
GParamSpec *pspec);
void (* get_cell_property) (GtkCellArea *area,
GtkCellRenderer *renderer,
guint property_id,
GValue *value,
GParamSpec *pspec);
/* Focus */
gboolean (* focus) (GtkCellArea *area,
GtkDirectionType direction);
gboolean (* is_activatable) (GtkCellArea *area);
gboolean (* activate) (GtkCellArea *area,
GtkCellAreaContext *context,
GtkWidget *widget,
const GdkRectangle *cell_area,
GtkCellRendererState flags,
gboolean edit_only);
/*< private >*/
gpointer padding[8];
};
gtk_cell_area_get_type
GType
void
gtk_cell_area_add
void
GtkCellArea *area, GtkCellRenderer *renderer
gtk_cell_area_remove
void
GtkCellArea *area, GtkCellRenderer *renderer
gtk_cell_area_has_renderer
gboolean
GtkCellArea *area, GtkCellRenderer *renderer
gtk_cell_area_foreach
void
GtkCellArea *area, GtkCellCallback callback, gpointer callback_data
gtk_cell_area_foreach_alloc
void
GtkCellArea *area, GtkCellAreaContext *context, GtkWidget *widget, const GdkRectangle *cell_area, const GdkRectangle *background_area, GtkCellAllocCallback callback, gpointer callback_data
gtk_cell_area_event
gint
GtkCellArea *area, GtkCellAreaContext *context, GtkWidget *widget, GdkEvent *event, const GdkRectangle *cell_area, GtkCellRendererState flags
gtk_cell_area_snapshot
void
GtkCellArea *area, GtkCellAreaContext *context, GtkWidget *widget, GtkSnapshot *snapshot, const GdkRectangle *background_area, const GdkRectangle *cell_area, GtkCellRendererState flags, gboolean paint_focus
gtk_cell_area_get_cell_allocation
void
GtkCellArea *area, GtkCellAreaContext *context, GtkWidget *widget, GtkCellRenderer *renderer, const GdkRectangle *cell_area, GdkRectangle *allocation
gtk_cell_area_get_cell_at_position
GtkCellRenderer *
GtkCellArea *area, GtkCellAreaContext *context, GtkWidget *widget, const GdkRectangle *cell_area, gint x, gint y, GdkRectangle *alloc_area
gtk_cell_area_create_context
GtkCellAreaContext *
GtkCellArea *area
gtk_cell_area_copy_context
GtkCellAreaContext *
GtkCellArea *area, GtkCellAreaContext *context
gtk_cell_area_get_request_mode
GtkSizeRequestMode
GtkCellArea *area
gtk_cell_area_get_preferred_width
void
GtkCellArea *area, GtkCellAreaContext *context, GtkWidget *widget, gint *minimum_width, gint *natural_width
gtk_cell_area_get_preferred_height_for_width
void
GtkCellArea *area, GtkCellAreaContext *context, GtkWidget *widget, gint width, gint *minimum_height, gint *natural_height
gtk_cell_area_get_preferred_height
void
GtkCellArea *area, GtkCellAreaContext *context, GtkWidget *widget, gint *minimum_height, gint *natural_height
gtk_cell_area_get_preferred_width_for_height
void
GtkCellArea *area, GtkCellAreaContext *context, GtkWidget *widget, gint height, gint *minimum_width, gint *natural_width
gtk_cell_area_get_current_path_string
const gchar *
GtkCellArea *area
gtk_cell_area_apply_attributes
void
GtkCellArea *area, GtkTreeModel *tree_model, GtkTreeIter *iter, gboolean is_expander, gboolean is_expanded
gtk_cell_area_attribute_connect
void
GtkCellArea *area, GtkCellRenderer *renderer, const gchar *attribute, gint column
gtk_cell_area_attribute_disconnect
void
GtkCellArea *area, GtkCellRenderer *renderer, const gchar *attribute
gtk_cell_area_attribute_get_column
gint
GtkCellArea *area, GtkCellRenderer *renderer, const gchar *attribute
gtk_cell_area_class_install_cell_property
void
GtkCellAreaClass *aclass, guint property_id, GParamSpec *pspec
gtk_cell_area_class_find_cell_property
GParamSpec *
GtkCellAreaClass *aclass, const gchar *property_name
gtk_cell_area_class_list_cell_properties
GParamSpec **
GtkCellAreaClass *aclass, guint *n_properties
gtk_cell_area_add_with_properties
void
GtkCellArea *area, GtkCellRenderer *renderer, const gchar *first_prop_name, ...
gtk_cell_area_cell_set
void
GtkCellArea *area, GtkCellRenderer *renderer, const gchar *first_prop_name, ...
gtk_cell_area_cell_get
void
GtkCellArea *area, GtkCellRenderer *renderer, const gchar *first_prop_name, ...
gtk_cell_area_cell_set_valist
void
GtkCellArea *area, GtkCellRenderer *renderer, const gchar *first_property_name, va_list var_args
gtk_cell_area_cell_get_valist
void
GtkCellArea *area, GtkCellRenderer *renderer, const gchar *first_property_name, va_list var_args
gtk_cell_area_cell_set_property
void
GtkCellArea *area, GtkCellRenderer *renderer, const gchar *property_name, const GValue *value
gtk_cell_area_cell_get_property
void
GtkCellArea *area, GtkCellRenderer *renderer, const gchar *property_name, GValue *value
gtk_cell_area_is_activatable
gboolean
GtkCellArea *area
gtk_cell_area_activate
gboolean
GtkCellArea *area, GtkCellAreaContext *context, GtkWidget *widget, const GdkRectangle *cell_area, GtkCellRendererState flags, gboolean edit_only
gtk_cell_area_focus
gboolean
GtkCellArea *area, GtkDirectionType direction
gtk_cell_area_set_focus_cell
void
GtkCellArea *area, GtkCellRenderer *renderer
gtk_cell_area_get_focus_cell
GtkCellRenderer *
GtkCellArea *area
gtk_cell_area_add_focus_sibling
void
GtkCellArea *area, GtkCellRenderer *renderer, GtkCellRenderer *sibling
gtk_cell_area_remove_focus_sibling
void
GtkCellArea *area, GtkCellRenderer *renderer, GtkCellRenderer *sibling
gtk_cell_area_is_focus_sibling
gboolean
GtkCellArea *area, GtkCellRenderer *renderer, GtkCellRenderer *sibling
gtk_cell_area_get_focus_siblings
const GList *
GtkCellArea *area, GtkCellRenderer *renderer
gtk_cell_area_get_focus_from_sibling
GtkCellRenderer *
GtkCellArea *area, GtkCellRenderer *renderer
gtk_cell_area_get_edited_cell
GtkCellRenderer *
GtkCellArea *area
gtk_cell_area_get_edit_widget
GtkCellEditable *
GtkCellArea *area
gtk_cell_area_activate_cell
gboolean
GtkCellArea *area, GtkWidget *widget, GtkCellRenderer *renderer, GdkEvent *event, const GdkRectangle *cell_area, GtkCellRendererState flags
gtk_cell_area_stop_editing
void
GtkCellArea *area, gboolean canceled
gtk_cell_area_inner_cell_area
void
GtkCellArea *area, GtkWidget *widget, const GdkRectangle *cell_area, GdkRectangle *inner_area
gtk_cell_area_request_renderer
void
GtkCellArea *area, GtkCellRenderer *renderer, GtkOrientation orientation, GtkWidget *widget, gint for_size, gint *minimum_size, gint *natural_size
GtkCellAreaContext
GTK_TYPE_CELL_AREA_BOX
#define GTK_TYPE_CELL_AREA_BOX (gtk_cell_area_box_get_type ())
GTK_CELL_AREA_BOX
#define GTK_CELL_AREA_BOX(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_CELL_AREA_BOX, GtkCellAreaBox))
GTK_IS_CELL_AREA_BOX
#define GTK_IS_CELL_AREA_BOX(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_CELL_AREA_BOX))
gtk_cell_area_box_get_type
GType
void
gtk_cell_area_box_new
GtkCellArea *
void
gtk_cell_area_box_pack_start
void
GtkCellAreaBox *box, GtkCellRenderer *renderer, gboolean expand, gboolean align, gboolean fixed
gtk_cell_area_box_pack_end
void
GtkCellAreaBox *box, GtkCellRenderer *renderer, gboolean expand, gboolean align, gboolean fixed
gtk_cell_area_box_get_spacing
gint
GtkCellAreaBox *box
gtk_cell_area_box_set_spacing
void
GtkCellAreaBox *box, gint spacing
GtkCellAreaBox
GTK_TYPE_CELL_AREA_CONTEXT
#define GTK_TYPE_CELL_AREA_CONTEXT (gtk_cell_area_context_get_type ())
GTK_CELL_AREA_CONTEXT
#define GTK_CELL_AREA_CONTEXT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_CELL_AREA_CONTEXT, GtkCellAreaContext))
GTK_CELL_AREA_CONTEXT_CLASS
#define GTK_CELL_AREA_CONTEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_CELL_AREA_CONTEXT, GtkCellAreaContextClass))
GTK_IS_CELL_AREA_CONTEXT
#define GTK_IS_CELL_AREA_CONTEXT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_CELL_AREA_CONTEXT))
GTK_IS_CELL_AREA_CONTEXT_CLASS
#define GTK_IS_CELL_AREA_CONTEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_CELL_AREA_CONTEXT))
GTK_CELL_AREA_CONTEXT_GET_CLASS
#define GTK_CELL_AREA_CONTEXT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_CELL_AREA_CONTEXT, GtkCellAreaContextClass))
GtkCellAreaContext
struct _GtkCellAreaContext
{
/*< private >*/
GObject parent_instance;
};
GtkCellAreaContextClass
struct _GtkCellAreaContextClass
{
/*< private >*/
GObjectClass parent_class;
/*< public >*/
void (* allocate) (GtkCellAreaContext *context,
gint width,
gint height);
void (* reset) (GtkCellAreaContext *context);
void (* get_preferred_height_for_width) (GtkCellAreaContext *context,
gint width,
gint *minimum_height,
gint *natural_height);
void (* get_preferred_width_for_height) (GtkCellAreaContext *context,
gint height,
gint *minimum_width,
gint *natural_width);
/*< private >*/
gpointer padding[8];
};
gtk_cell_area_context_get_type
GType
void
gtk_cell_area_context_get_area
GtkCellArea *
GtkCellAreaContext *context
gtk_cell_area_context_allocate
void
GtkCellAreaContext *context, gint width, gint height
gtk_cell_area_context_reset
void
GtkCellAreaContext *context
gtk_cell_area_context_get_preferred_width
void
GtkCellAreaContext *context, gint *minimum_width, gint *natural_width
gtk_cell_area_context_get_preferred_height
void
GtkCellAreaContext *context, gint *minimum_height, gint *natural_height
gtk_cell_area_context_get_preferred_height_for_width
void
GtkCellAreaContext *context, gint width, gint *minimum_height, gint *natural_height
gtk_cell_area_context_get_preferred_width_for_height
void
GtkCellAreaContext *context, gint height, gint *minimum_width, gint *natural_width
gtk_cell_area_context_get_allocation
void
GtkCellAreaContext *context, gint *width, gint *height
gtk_cell_area_context_push_preferred_width
void
GtkCellAreaContext *context, gint minimum_width, gint natural_width
gtk_cell_area_context_push_preferred_height
void
GtkCellAreaContext *context, gint minimum_height, gint natural_height
GtkCellAreaContextPrivate
GTK_TYPE_CELL_EDITABLE
#define GTK_TYPE_CELL_EDITABLE (gtk_cell_editable_get_type ())
GTK_CELL_EDITABLE
#define GTK_CELL_EDITABLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_CELL_EDITABLE, GtkCellEditable))
GTK_CELL_EDITABLE_CLASS
#define GTK_CELL_EDITABLE_CLASS(obj) (G_TYPE_CHECK_CLASS_CAST ((obj), GTK_TYPE_CELL_EDITABLE, GtkCellEditableIface))
GTK_IS_CELL_EDITABLE
#define GTK_IS_CELL_EDITABLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_CELL_EDITABLE))
GTK_CELL_EDITABLE_GET_IFACE
#define GTK_CELL_EDITABLE_GET_IFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), GTK_TYPE_CELL_EDITABLE, GtkCellEditableIface))
GtkCellEditableIface
struct _GtkCellEditableIface
{
/*< private >*/
GTypeInterface g_iface;
/*< public >*/
/* signals */
void (* editing_done) (GtkCellEditable *cell_editable);
void (* remove_widget) (GtkCellEditable *cell_editable);
/* virtual table */
void (* start_editing) (GtkCellEditable *cell_editable,
GdkEvent *event);
};
gtk_cell_editable_get_type
GType
void
gtk_cell_editable_start_editing
void
GtkCellEditable *cell_editable, GdkEvent *event
gtk_cell_editable_editing_done
void
GtkCellEditable *cell_editable
gtk_cell_editable_remove_widget
void
GtkCellEditable *cell_editable
GtkCellEditable
GTK_TYPE_CELL_LAYOUT
#define GTK_TYPE_CELL_LAYOUT (gtk_cell_layout_get_type ())
GTK_CELL_LAYOUT
#define GTK_CELL_LAYOUT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_CELL_LAYOUT, GtkCellLayout))
GTK_IS_CELL_LAYOUT
#define GTK_IS_CELL_LAYOUT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_CELL_LAYOUT))
GTK_CELL_LAYOUT_GET_IFACE
#define GTK_CELL_LAYOUT_GET_IFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), GTK_TYPE_CELL_LAYOUT, GtkCellLayoutIface))
GtkCellLayoutDataFunc
void
GtkCellLayout *cell_layout, GtkCellRenderer *cell, GtkTreeModel *tree_model, GtkTreeIter *iter, gpointer data
GtkCellLayoutIface
struct _GtkCellLayoutIface
{
/*< private >*/
GTypeInterface g_iface;
/*< public >*/
/* Virtual Table */
void (* pack_start) (GtkCellLayout *cell_layout,
GtkCellRenderer *cell,
gboolean expand);
void (* pack_end) (GtkCellLayout *cell_layout,
GtkCellRenderer *cell,
gboolean expand);
void (* clear) (GtkCellLayout *cell_layout);
void (* add_attribute) (GtkCellLayout *cell_layout,
GtkCellRenderer *cell,
const gchar *attribute,
gint column);
void (* set_cell_data_func) (GtkCellLayout *cell_layout,
GtkCellRenderer *cell,
GtkCellLayoutDataFunc func,
gpointer func_data,
GDestroyNotify destroy);
void (* clear_attributes) (GtkCellLayout *cell_layout,
GtkCellRenderer *cell);
void (* reorder) (GtkCellLayout *cell_layout,
GtkCellRenderer *cell,
gint position);
GList* (* get_cells) (GtkCellLayout *cell_layout);
GtkCellArea *(* get_area) (GtkCellLayout *cell_layout);
};
gtk_cell_layout_get_type
GType
void
gtk_cell_layout_pack_start
void
GtkCellLayout *cell_layout, GtkCellRenderer *cell, gboolean expand
gtk_cell_layout_pack_end
void
GtkCellLayout *cell_layout, GtkCellRenderer *cell, gboolean expand
gtk_cell_layout_get_cells
GList *
GtkCellLayout *cell_layout
gtk_cell_layout_clear
void
GtkCellLayout *cell_layout
gtk_cell_layout_set_attributes
void
GtkCellLayout *cell_layout, GtkCellRenderer *cell, ...
gtk_cell_layout_add_attribute
void
GtkCellLayout *cell_layout, GtkCellRenderer *cell, const gchar *attribute, gint column
gtk_cell_layout_set_cell_data_func
void
GtkCellLayout *cell_layout, GtkCellRenderer *cell, GtkCellLayoutDataFunc func, gpointer func_data, GDestroyNotify destroy
gtk_cell_layout_clear_attributes
void
GtkCellLayout *cell_layout, GtkCellRenderer *cell
gtk_cell_layout_reorder
void
GtkCellLayout *cell_layout, GtkCellRenderer *cell, gint position
gtk_cell_layout_get_area
GtkCellArea *
GtkCellLayout *cell_layout
GtkCellLayout
GtkCellRendererState
typedef enum
{
GTK_CELL_RENDERER_SELECTED = 1 << 0,
GTK_CELL_RENDERER_PRELIT = 1 << 1,
GTK_CELL_RENDERER_INSENSITIVE = 1 << 2,
/* this flag means the cell is in the sort column/row */
GTK_CELL_RENDERER_SORTED = 1 << 3,
GTK_CELL_RENDERER_FOCUSED = 1 << 4,
GTK_CELL_RENDERER_EXPANDABLE = 1 << 5,
GTK_CELL_RENDERER_EXPANDED = 1 << 6
} GtkCellRendererState;
GtkCellRendererMode
typedef enum
{
GTK_CELL_RENDERER_MODE_INERT,
GTK_CELL_RENDERER_MODE_ACTIVATABLE,
GTK_CELL_RENDERER_MODE_EDITABLE
} GtkCellRendererMode;
GTK_TYPE_CELL_RENDERER
#define GTK_TYPE_CELL_RENDERER (gtk_cell_renderer_get_type ())
GTK_CELL_RENDERER
#define GTK_CELL_RENDERER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_CELL_RENDERER, GtkCellRenderer))
GTK_CELL_RENDERER_CLASS
#define GTK_CELL_RENDERER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_CELL_RENDERER, GtkCellRendererClass))
GTK_IS_CELL_RENDERER
#define GTK_IS_CELL_RENDERER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_CELL_RENDERER))
GTK_IS_CELL_RENDERER_CLASS
#define GTK_IS_CELL_RENDERER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_CELL_RENDERER))
GTK_CELL_RENDERER_GET_CLASS
#define GTK_CELL_RENDERER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_CELL_RENDERER, GtkCellRendererClass))
GtkCellRenderer
struct _GtkCellRenderer
{
GInitiallyUnowned parent_instance;
/*< private >*/
GtkCellRendererPrivate *priv;
};
GtkCellRendererClass
struct _GtkCellRendererClass
{
/*< private >*/
GInitiallyUnownedClass parent_class;
/*< public >*/
/* vtable - not signals */
GtkSizeRequestMode (* get_request_mode) (GtkCellRenderer *cell);
void (* get_preferred_width) (GtkCellRenderer *cell,
GtkWidget *widget,
gint *minimum_size,
gint *natural_size);
void (* get_preferred_height_for_width) (GtkCellRenderer *cell,
GtkWidget *widget,
gint width,
gint *minimum_height,
gint *natural_height);
void (* get_preferred_height) (GtkCellRenderer *cell,
GtkWidget *widget,
gint *minimum_size,
gint *natural_size);
void (* get_preferred_width_for_height) (GtkCellRenderer *cell,
GtkWidget *widget,
gint height,
gint *minimum_width,
gint *natural_width);
void (* get_aligned_area) (GtkCellRenderer *cell,
GtkWidget *widget,
GtkCellRendererState flags,
const GdkRectangle *cell_area,
GdkRectangle *aligned_area);
void (* get_size) (GtkCellRenderer *cell,
GtkWidget *widget,
const GdkRectangle *cell_area,
gint *x_offset,
gint *y_offset,
gint *width,
gint *height);
void (* snapshot) (GtkCellRenderer *cell,
GtkSnapshot *snapshot,
GtkWidget *widget,
const GdkRectangle *background_area,
const GdkRectangle *cell_area,
GtkCellRendererState flags);
gboolean (* activate) (GtkCellRenderer *cell,
GdkEvent *event,
GtkWidget *widget,
const gchar *path,
const GdkRectangle *background_area,
const GdkRectangle *cell_area,
GtkCellRendererState flags);
GtkCellEditable * (* start_editing) (GtkCellRenderer *cell,
GdkEvent *event,
GtkWidget *widget,
const gchar *path,
const GdkRectangle *background_area,
const GdkRectangle *cell_area,
GtkCellRendererState flags);
/* Signals */
void (* editing_canceled) (GtkCellRenderer *cell);
void (* editing_started) (GtkCellRenderer *cell,
GtkCellEditable *editable,
const gchar *path);
/*< private >*/
GtkCellRendererClassPrivate *priv;
gpointer padding[8];
};
gtk_cell_renderer_get_type
GType
void
gtk_cell_renderer_get_request_mode
GtkSizeRequestMode
GtkCellRenderer *cell
gtk_cell_renderer_get_preferred_width
void
GtkCellRenderer *cell, GtkWidget *widget, gint *minimum_size, gint *natural_size
gtk_cell_renderer_get_preferred_height_for_width
void
GtkCellRenderer *cell, GtkWidget *widget, gint width, gint *minimum_height, gint *natural_height
gtk_cell_renderer_get_preferred_height
void
GtkCellRenderer *cell, GtkWidget *widget, gint *minimum_size, gint *natural_size
gtk_cell_renderer_get_preferred_width_for_height
void
GtkCellRenderer *cell, GtkWidget *widget, gint height, gint *minimum_width, gint *natural_width
gtk_cell_renderer_get_preferred_size
void
GtkCellRenderer *cell, GtkWidget *widget, GtkRequisition *minimum_size, GtkRequisition *natural_size
gtk_cell_renderer_get_aligned_area
void
GtkCellRenderer *cell, GtkWidget *widget, GtkCellRendererState flags, const GdkRectangle *cell_area, GdkRectangle *aligned_area
gtk_cell_renderer_snapshot
void
GtkCellRenderer *cell, GtkSnapshot *snapshot, GtkWidget *widget, const GdkRectangle *background_area, const GdkRectangle *cell_area, GtkCellRendererState flags
gtk_cell_renderer_activate
gboolean
GtkCellRenderer *cell, GdkEvent *event, GtkWidget *widget, const gchar *path, const GdkRectangle *background_area, const GdkRectangle *cell_area, GtkCellRendererState flags
gtk_cell_renderer_start_editing
GtkCellEditable *
GtkCellRenderer *cell, GdkEvent *event, GtkWidget *widget, const gchar *path, const GdkRectangle *background_area, const GdkRectangle *cell_area, GtkCellRendererState flags
gtk_cell_renderer_set_fixed_size
void
GtkCellRenderer *cell, gint width, gint height
gtk_cell_renderer_get_fixed_size
void
GtkCellRenderer *cell, gint *width, gint *height
gtk_cell_renderer_set_alignment
void
GtkCellRenderer *cell, gfloat xalign, gfloat yalign
gtk_cell_renderer_get_alignment
void
GtkCellRenderer *cell, gfloat *xalign, gfloat *yalign
gtk_cell_renderer_set_padding
void
GtkCellRenderer *cell, gint xpad, gint ypad
gtk_cell_renderer_get_padding
void
GtkCellRenderer *cell, gint *xpad, gint *ypad
gtk_cell_renderer_set_visible
void
GtkCellRenderer *cell, gboolean visible
gtk_cell_renderer_get_visible
gboolean
GtkCellRenderer *cell
gtk_cell_renderer_set_sensitive
void
GtkCellRenderer *cell, gboolean sensitive
gtk_cell_renderer_get_sensitive
gboolean
GtkCellRenderer *cell
gtk_cell_renderer_is_activatable
gboolean
GtkCellRenderer *cell
gtk_cell_renderer_set_is_expander
void
GtkCellRenderer *cell, gboolean is_expander
gtk_cell_renderer_get_is_expander
gboolean
GtkCellRenderer *cell
gtk_cell_renderer_set_is_expanded
void
GtkCellRenderer *cell, gboolean is_expander
gtk_cell_renderer_get_is_expanded
gboolean
GtkCellRenderer *cell
gtk_cell_renderer_stop_editing
void
GtkCellRenderer *cell, gboolean canceled
gtk_cell_renderer_get_state
GtkStateFlags
GtkCellRenderer *cell, GtkWidget *widget, GtkCellRendererState cell_state
gtk_cell_renderer_class_set_accessible_type
void
GtkCellRendererClass *renderer_class, GType type
GtkCellRendererClassPrivate
GtkCellRendererPrivate
GTK_TYPE_CELL_RENDERER_ACCEL
#define GTK_TYPE_CELL_RENDERER_ACCEL (gtk_cell_renderer_accel_get_type ())
GTK_CELL_RENDERER_ACCEL
#define GTK_CELL_RENDERER_ACCEL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_CELL_RENDERER_ACCEL, GtkCellRendererAccel))
GTK_IS_CELL_RENDERER_ACCEL
#define GTK_IS_CELL_RENDERER_ACCEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_CELL_RENDERER_ACCEL))
GtkCellRendererAccelMode
typedef enum
{
GTK_CELL_RENDERER_ACCEL_MODE_GTK,
GTK_CELL_RENDERER_ACCEL_MODE_OTHER
} GtkCellRendererAccelMode;
gtk_cell_renderer_accel_get_type
GType
void
gtk_cell_renderer_accel_new
GtkCellRenderer *
void
GtkCellRendererAccel
GTK_TYPE_CELL_RENDERER_COMBO
#define GTK_TYPE_CELL_RENDERER_COMBO (gtk_cell_renderer_combo_get_type ())
GTK_CELL_RENDERER_COMBO
#define GTK_CELL_RENDERER_COMBO(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_CELL_RENDERER_COMBO, GtkCellRendererCombo))
GTK_IS_CELL_RENDERER_COMBO
#define GTK_IS_CELL_RENDERER_COMBO(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_CELL_RENDERER_COMBO))
gtk_cell_renderer_combo_get_type
GType
void
gtk_cell_renderer_combo_new
GtkCellRenderer *
void
GtkCellRendererCombo
GTK_TYPE_CELL_RENDERER_PIXBUF
#define GTK_TYPE_CELL_RENDERER_PIXBUF (gtk_cell_renderer_pixbuf_get_type ())
GTK_CELL_RENDERER_PIXBUF
#define GTK_CELL_RENDERER_PIXBUF(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_CELL_RENDERER_PIXBUF, GtkCellRendererPixbuf))
GTK_IS_CELL_RENDERER_PIXBUF
#define GTK_IS_CELL_RENDERER_PIXBUF(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_CELL_RENDERER_PIXBUF))
gtk_cell_renderer_pixbuf_get_type
GType
void
gtk_cell_renderer_pixbuf_new
GtkCellRenderer *
void
GtkCellRendererPixbuf
GTK_TYPE_CELL_RENDERER_PROGRESS
#define GTK_TYPE_CELL_RENDERER_PROGRESS (gtk_cell_renderer_progress_get_type ())
GTK_CELL_RENDERER_PROGRESS
#define GTK_CELL_RENDERER_PROGRESS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_CELL_RENDERER_PROGRESS, GtkCellRendererProgress))
GTK_IS_CELL_RENDERER_PROGRESS
#define GTK_IS_CELL_RENDERER_PROGRESS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_CELL_RENDERER_PROGRESS))
gtk_cell_renderer_progress_get_type
GType
void
gtk_cell_renderer_progress_new
GtkCellRenderer *
void
GtkCellRendererProgress
GTK_TYPE_CELL_RENDERER_SPIN
#define GTK_TYPE_CELL_RENDERER_SPIN (gtk_cell_renderer_spin_get_type ())
GTK_CELL_RENDERER_SPIN
#define GTK_CELL_RENDERER_SPIN(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_CELL_RENDERER_SPIN, GtkCellRendererSpin))
GTK_IS_CELL_RENDERER_SPIN
#define GTK_IS_CELL_RENDERER_SPIN(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_CELL_RENDERER_SPIN))
gtk_cell_renderer_spin_get_type
GType
void
gtk_cell_renderer_spin_new
GtkCellRenderer *
void
GtkCellRendererSpin
GTK_TYPE_CELL_RENDERER_SPINNER
#define GTK_TYPE_CELL_RENDERER_SPINNER (gtk_cell_renderer_spinner_get_type ())
GTK_CELL_RENDERER_SPINNER
#define GTK_CELL_RENDERER_SPINNER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_CELL_RENDERER_SPINNER, GtkCellRendererSpinner))
GTK_IS_CELL_RENDERER_SPINNER
#define GTK_IS_CELL_RENDERER_SPINNER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_CELL_RENDERER_SPINNER))
gtk_cell_renderer_spinner_get_type
GType
void
gtk_cell_renderer_spinner_new
GtkCellRenderer *
void
GtkCellRendererSpinner
GTK_TYPE_CELL_RENDERER_TEXT
#define GTK_TYPE_CELL_RENDERER_TEXT (gtk_cell_renderer_text_get_type ())
GTK_CELL_RENDERER_TEXT
#define GTK_CELL_RENDERER_TEXT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_CELL_RENDERER_TEXT, GtkCellRendererText))
GTK_CELL_RENDERER_TEXT_CLASS
#define GTK_CELL_RENDERER_TEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_CELL_RENDERER_TEXT, GtkCellRendererTextClass))
GTK_IS_CELL_RENDERER_TEXT
#define GTK_IS_CELL_RENDERER_TEXT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_CELL_RENDERER_TEXT))
GTK_IS_CELL_RENDERER_TEXT_CLASS
#define GTK_IS_CELL_RENDERER_TEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_CELL_RENDERER_TEXT))
GTK_CELL_RENDERER_TEXT_GET_CLASS
#define GTK_CELL_RENDERER_TEXT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_CELL_RENDERER_TEXT, GtkCellRendererTextClass))
GtkCellRendererText
struct _GtkCellRendererText
{
GtkCellRenderer parent;
};
GtkCellRendererTextClass
struct _GtkCellRendererTextClass
{
GtkCellRendererClass parent_class;
void (* edited) (GtkCellRendererText *cell_renderer_text,
const gchar *path,
const gchar *new_text);
/*< private >*/
gpointer padding[8];
};
gtk_cell_renderer_text_get_type
GType
void
gtk_cell_renderer_text_new
GtkCellRenderer *
void
gtk_cell_renderer_text_set_fixed_height_from_font
void
GtkCellRendererText *renderer, gint number_of_rows
GTK_TYPE_CELL_RENDERER_TOGGLE
#define GTK_TYPE_CELL_RENDERER_TOGGLE (gtk_cell_renderer_toggle_get_type ())
GTK_CELL_RENDERER_TOGGLE
#define GTK_CELL_RENDERER_TOGGLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_CELL_RENDERER_TOGGLE, GtkCellRendererToggle))
GTK_IS_CELL_RENDERER_TOGGLE
#define GTK_IS_CELL_RENDERER_TOGGLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_CELL_RENDERER_TOGGLE))
gtk_cell_renderer_toggle_get_type
GType
void
gtk_cell_renderer_toggle_new
GtkCellRenderer *
void
gtk_cell_renderer_toggle_get_radio
gboolean
GtkCellRendererToggle *toggle
gtk_cell_renderer_toggle_set_radio
void
GtkCellRendererToggle *toggle, gboolean radio
gtk_cell_renderer_toggle_get_active
gboolean
GtkCellRendererToggle *toggle
gtk_cell_renderer_toggle_set_active
void
GtkCellRendererToggle *toggle, gboolean setting
gtk_cell_renderer_toggle_get_activatable
gboolean
GtkCellRendererToggle *toggle
gtk_cell_renderer_toggle_set_activatable
void
GtkCellRendererToggle *toggle, gboolean setting
GtkCellRendererToggle
GTK_TYPE_CELL_VIEW
#define GTK_TYPE_CELL_VIEW (gtk_cell_view_get_type ())
GTK_CELL_VIEW
#define GTK_CELL_VIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_CELL_VIEW, GtkCellView))
GTK_IS_CELL_VIEW
#define GTK_IS_CELL_VIEW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_CELL_VIEW))
gtk_cell_view_get_type
GType
void
gtk_cell_view_new
GtkWidget *
void
gtk_cell_view_new_with_context
GtkWidget *
GtkCellArea *area, GtkCellAreaContext *context
gtk_cell_view_new_with_text
GtkWidget *
const gchar *text
gtk_cell_view_new_with_markup
GtkWidget *
const gchar *markup
gtk_cell_view_new_with_texture
GtkWidget *
GdkTexture *texture
gtk_cell_view_set_model
void
GtkCellView *cell_view, GtkTreeModel *model
gtk_cell_view_get_model
GtkTreeModel *
GtkCellView *cell_view
gtk_cell_view_set_displayed_row
void
GtkCellView *cell_view, GtkTreePath *path
gtk_cell_view_get_displayed_row
GtkTreePath *
GtkCellView *cell_view
gtk_cell_view_get_draw_sensitive
gboolean
GtkCellView *cell_view
gtk_cell_view_set_draw_sensitive
void
GtkCellView *cell_view, gboolean draw_sensitive
gtk_cell_view_get_fit_model
gboolean
GtkCellView *cell_view
gtk_cell_view_set_fit_model
void
GtkCellView *cell_view, gboolean fit_model
GtkCellView
GTK_TYPE_CENTER_BOX
#define GTK_TYPE_CENTER_BOX (gtk_center_box_get_type ())
GTK_CENTER_BOX
#define GTK_CENTER_BOX(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_CENTER_BOX, GtkCenterBox))
GTK_CENTER_BOX_CLASS
#define GTK_CENTER_BOX_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_CENTER_BOX, GtkCenterBoxClass))
GTK_IS_CENTER_BOX
#define GTK_IS_CENTER_BOX(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_CENTER_BOX))
GTK_IS_CENTER_BOX_CLASS
#define GTK_IS_CENTER_BOX_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_CENTER_BOX))
GTK_CENTER_BOX_GET_CLASS
#define GTK_CENTER_BOX_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_CENTER_BOX, GtkCenterBoxClass))
gtk_center_box_get_type
GType
void
gtk_center_box_new
GtkWidget *
void
gtk_center_box_set_start_widget
void
GtkCenterBox *self, GtkWidget *child
gtk_center_box_set_center_widget
void
GtkCenterBox *self, GtkWidget *child
gtk_center_box_set_end_widget
void
GtkCenterBox *self, GtkWidget *child
gtk_center_box_get_start_widget
GtkWidget *
GtkCenterBox *self
gtk_center_box_get_center_widget
GtkWidget *
GtkCenterBox *self
gtk_center_box_get_end_widget
GtkWidget *
GtkCenterBox *self
gtk_center_box_set_baseline_position
void
GtkCenterBox *self, GtkBaselinePosition position
gtk_center_box_get_baseline_position
GtkBaselinePosition
GtkCenterBox *self
GtkCenterBox
GtkCenterBoxClass
GTK_TYPE_CENTER_LAYOUT
#define GTK_TYPE_CENTER_LAYOUT (gtk_center_layout_get_type ())
gtk_center_layout_new
GtkLayoutManager *
void
gtk_center_layout_set_orientation
void
GtkCenterLayout *self, GtkOrientation orientation
gtk_center_layout_get_orientation
GtkOrientation
GtkCenterLayout *self
gtk_center_layout_set_baseline_position
void
GtkCenterLayout *self, GtkBaselinePosition baseline_position
gtk_center_layout_get_baseline_position
GtkBaselinePosition
GtkCenterLayout *self
gtk_center_layout_set_start_widget
void
GtkCenterLayout *self, GtkWidget *widget
gtk_center_layout_get_start_widget
GtkWidget *
GtkCenterLayout *self
gtk_center_layout_set_center_widget
void
GtkCenterLayout *self, GtkWidget *widget
gtk_center_layout_get_center_widget
GtkWidget *
GtkCenterLayout *self
gtk_center_layout_set_end_widget
void
GtkCenterLayout *self, GtkWidget *widget
gtk_center_layout_get_end_widget
GtkWidget *
GtkCenterLayout *self
GtkCenterLayout
GTK_TYPE_CHECK_BUTTON
#define GTK_TYPE_CHECK_BUTTON (gtk_check_button_get_type ())
GTK_CHECK_BUTTON
#define GTK_CHECK_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_CHECK_BUTTON, GtkCheckButton))
GTK_CHECK_BUTTON_CLASS
#define GTK_CHECK_BUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_CHECK_BUTTON, GtkCheckButtonClass))
GTK_IS_CHECK_BUTTON
#define GTK_IS_CHECK_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_CHECK_BUTTON))
GTK_IS_CHECK_BUTTON_CLASS
#define GTK_IS_CHECK_BUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_CHECK_BUTTON))
GTK_CHECK_BUTTON_GET_CLASS
#define GTK_CHECK_BUTTON_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_CHECK_BUTTON, GtkCheckButtonClass))
GtkCheckButton
struct _GtkCheckButton
{
GtkToggleButton toggle_button;
};
GtkCheckButtonClass
struct _GtkCheckButtonClass
{
GtkToggleButtonClass parent_class;
/*< private >*/
gpointer padding[8];
};
gtk_check_button_get_type
GType
void
gtk_check_button_new
GtkWidget *
void
gtk_check_button_new_with_label
GtkWidget *
const gchar *label
gtk_check_button_new_with_mnemonic
GtkWidget *
const gchar *label
gtk_check_button_set_draw_indicator
void
GtkCheckButton *check_button, gboolean draw_indicator
gtk_check_button_get_draw_indicator
gboolean
GtkCheckButton *check_button
gtk_check_button_set_inconsistent
void
GtkCheckButton *check_button, gboolean inconsistent
gtk_check_button_get_inconsistent
gboolean
GtkCheckButton *check_button
GTK_TYPE_COLOR_BUTTON
#define GTK_TYPE_COLOR_BUTTON (gtk_color_button_get_type ())
GTK_COLOR_BUTTON
#define GTK_COLOR_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_COLOR_BUTTON, GtkColorButton))
GTK_IS_COLOR_BUTTON
#define GTK_IS_COLOR_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_COLOR_BUTTON))
gtk_color_button_get_type
GType
void
gtk_color_button_new
GtkWidget *
void
gtk_color_button_new_with_rgba
GtkWidget *
const GdkRGBA *rgba
gtk_color_button_set_title
void
GtkColorButton *button, const gchar *title
gtk_color_button_get_title
const gchar *
GtkColorButton *button
GtkColorButton
GTK_TYPE_COLOR_CHOOSER
#define GTK_TYPE_COLOR_CHOOSER (gtk_color_chooser_get_type ())
GTK_COLOR_CHOOSER
#define GTK_COLOR_CHOOSER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_COLOR_CHOOSER, GtkColorChooser))
GTK_IS_COLOR_CHOOSER
#define GTK_IS_COLOR_CHOOSER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_COLOR_CHOOSER))
GTK_COLOR_CHOOSER_GET_IFACE
#define GTK_COLOR_CHOOSER_GET_IFACE(inst) (G_TYPE_INSTANCE_GET_INTERFACE ((inst), GTK_TYPE_COLOR_CHOOSER, GtkColorChooserInterface))
GtkColorChooserInterface
struct _GtkColorChooserInterface
{
GTypeInterface base_interface;
/* Methods */
void (* get_rgba) (GtkColorChooser *chooser,
GdkRGBA *color);
void (* set_rgba) (GtkColorChooser *chooser,
const GdkRGBA *color);
void (* add_palette) (GtkColorChooser *chooser,
GtkOrientation orientation,
gint colors_per_line,
gint n_colors,
GdkRGBA *colors);
/* Signals */
void (* color_activated) (GtkColorChooser *chooser,
const GdkRGBA *color);
/* Padding */
gpointer padding[12];
};
gtk_color_chooser_get_type
GType
void
gtk_color_chooser_get_rgba
void
GtkColorChooser *chooser, GdkRGBA *color
gtk_color_chooser_set_rgba
void
GtkColorChooser *chooser, const GdkRGBA *color
gtk_color_chooser_get_use_alpha
gboolean
GtkColorChooser *chooser
gtk_color_chooser_set_use_alpha
void
GtkColorChooser *chooser, gboolean use_alpha
gtk_color_chooser_add_palette
void
GtkColorChooser *chooser, GtkOrientation orientation, gint colors_per_line, gint n_colors, GdkRGBA *colors
GtkColorChooser
GTK_TYPE_COLOR_CHOOSER_DIALOG
#define GTK_TYPE_COLOR_CHOOSER_DIALOG (gtk_color_chooser_dialog_get_type ())
GTK_COLOR_CHOOSER_DIALOG
#define GTK_COLOR_CHOOSER_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_COLOR_CHOOSER_DIALOG, GtkColorChooserDialog))
GTK_IS_COLOR_CHOOSER_DIALOG
#define GTK_IS_COLOR_CHOOSER_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_COLOR_CHOOSER_DIALOG))
gtk_color_chooser_dialog_get_type
GType
void
gtk_color_chooser_dialog_new
GtkWidget *
const gchar *title, GtkWindow *parent
GtkColorChooserDialog
GTK_TYPE_COLOR_CHOOSER_WIDGET
#define GTK_TYPE_COLOR_CHOOSER_WIDGET (gtk_color_chooser_widget_get_type ())
GTK_COLOR_CHOOSER_WIDGET
#define GTK_COLOR_CHOOSER_WIDGET(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_COLOR_CHOOSER_WIDGET, GtkColorChooserWidget))
GTK_IS_COLOR_CHOOSER_WIDGET
#define GTK_IS_COLOR_CHOOSER_WIDGET(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_COLOR_CHOOSER_WIDGET))
gtk_color_chooser_widget_get_type
GType
void
gtk_color_chooser_widget_new
GtkWidget *
void
GtkColorChooserWidget
GTK_TYPE_COLOR_PICKER_KWIN
#define GTK_TYPE_COLOR_PICKER_KWIN gtk_color_picker_kwin_get_type ()
gtk_color_picker_kwin_new
GtkColorPicker *
void
GtkColorPickerKwin
GTK_TYPE_COLOR_PICKER_PORTAL
#define GTK_TYPE_COLOR_PICKER_PORTAL gtk_color_picker_portal_get_type ()
gtk_color_picker_portal_new
GtkColorPicker *
void
GtkColorPickerPortal
GTK_TYPE_COLOR_PICKER
#define GTK_TYPE_COLOR_PICKER (gtk_color_picker_get_type ())
GTK_COLOR_PICKER
#define GTK_COLOR_PICKER(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GTK_TYPE_COLOR_PICKER, GtkColorPicker))
GTK_IS_COLOR_PICKER
#define GTK_IS_COLOR_PICKER(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GTK_TYPE_COLOR_PICKER))
GTK_COLOR_PICKER_GET_INTERFACE
#define GTK_COLOR_PICKER_GET_INTERFACE(o) (G_TYPE_INSTANCE_GET_INTERFACE ((o), GTK_TYPE_COLOR_PICKER, GtkColorPickerInterface))
GtkColorPickerInterface
struct _GtkColorPickerInterface {
GTypeInterface g_iface;
void (* pick) (GtkColorPicker *picker,
GAsyncReadyCallback callback,
gpointer user_data);
GdkRGBA * (* pick_finish) (GtkColorPicker *picker,
GAsyncResult *res,
GError **error);
};
gtk_color_picker_get_type
GType
void
gtk_color_picker_new
GtkColorPicker *
void
gtk_color_picker_pick
void
GtkColorPicker *picker, GAsyncReadyCallback callback, gpointer user_data
gtk_color_picker_pick_finish
GdkRGBA *
GtkColorPicker *picker, GAsyncResult *res, GError **error
GtkColorPicker
GTK_TYPE_COLOR_PICKER_SHELL
#define GTK_TYPE_COLOR_PICKER_SHELL gtk_color_picker_shell_get_type ()
gtk_color_picker_shell_new
GtkColorPicker *
void
GtkColorPickerShell
gtk_hsv_to_rgb
void
float h, float s, float v, float *r, float *g, float *b
gtk_rgb_to_hsv
void
float r, float g, float b, float *h, float *s, float *v
GTK_TYPE_COMBO_BOX
#define GTK_TYPE_COMBO_BOX (gtk_combo_box_get_type ())
GTK_COMBO_BOX
#define GTK_COMBO_BOX(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_COMBO_BOX, GtkComboBox))
GTK_COMBO_BOX_CLASS
#define GTK_COMBO_BOX_CLASS(vtable) (G_TYPE_CHECK_CLASS_CAST ((vtable), GTK_TYPE_COMBO_BOX, GtkComboBoxClass))
GTK_IS_COMBO_BOX
#define GTK_IS_COMBO_BOX(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_COMBO_BOX))
GTK_IS_COMBO_BOX_CLASS
#define GTK_IS_COMBO_BOX_CLASS(vtable) (G_TYPE_CHECK_CLASS_TYPE ((vtable), GTK_TYPE_COMBO_BOX))
GTK_COMBO_BOX_GET_CLASS
#define GTK_COMBO_BOX_GET_CLASS(inst) (G_TYPE_INSTANCE_GET_CLASS ((inst), GTK_TYPE_COMBO_BOX, GtkComboBoxClass))
GtkComboBox
struct _GtkComboBox
{
GtkBin parent_instance;
};
GtkComboBoxClass
struct _GtkComboBoxClass
{
GtkBinClass parent_class;
/*< public >*/
/* signals */
void (* changed) (GtkComboBox *combo_box);
gchar *(* format_entry_text) (GtkComboBox *combo_box,
const gchar *path);
/*< private >*/
gpointer padding[8];
};
gtk_combo_box_get_type
GType
void
gtk_combo_box_new
GtkWidget *
void
gtk_combo_box_new_with_entry
GtkWidget *
void
gtk_combo_box_new_with_model
GtkWidget *
GtkTreeModel *model
gtk_combo_box_new_with_model_and_entry
GtkWidget *
GtkTreeModel *model
gtk_combo_box_get_active
gint
GtkComboBox *combo_box
gtk_combo_box_set_active
void
GtkComboBox *combo_box, gint index_
gtk_combo_box_get_active_iter
gboolean
GtkComboBox *combo_box, GtkTreeIter *iter
gtk_combo_box_set_active_iter
void
GtkComboBox *combo_box, GtkTreeIter *iter
gtk_combo_box_set_model
void
GtkComboBox *combo_box, GtkTreeModel *model
gtk_combo_box_get_model
GtkTreeModel *
GtkComboBox *combo_box
gtk_combo_box_get_row_separator_func
GtkTreeViewRowSeparatorFunc
GtkComboBox *combo_box
gtk_combo_box_set_row_separator_func
void
GtkComboBox *combo_box, GtkTreeViewRowSeparatorFunc func, gpointer data, GDestroyNotify destroy
gtk_combo_box_set_button_sensitivity
void
GtkComboBox *combo_box, GtkSensitivityType sensitivity
gtk_combo_box_get_button_sensitivity
GtkSensitivityType
GtkComboBox *combo_box
gtk_combo_box_get_has_entry
gboolean
GtkComboBox *combo_box
gtk_combo_box_set_entry_text_column
void
GtkComboBox *combo_box, gint text_column
gtk_combo_box_get_entry_text_column
gint
GtkComboBox *combo_box
gtk_combo_box_set_popup_fixed_width
void
GtkComboBox *combo_box, gboolean fixed
gtk_combo_box_get_popup_fixed_width
gboolean
GtkComboBox *combo_box
gtk_combo_box_popup
void
GtkComboBox *combo_box
gtk_combo_box_popup_for_device
void
GtkComboBox *combo_box, GdkDevice *device
gtk_combo_box_popdown
void
GtkComboBox *combo_box
gtk_combo_box_get_popup_accessible
AtkObject *
GtkComboBox *combo_box
gtk_combo_box_get_id_column
gint
GtkComboBox *combo_box
gtk_combo_box_set_id_column
void
GtkComboBox *combo_box, gint id_column
gtk_combo_box_get_active_id
const gchar *
GtkComboBox *combo_box
gtk_combo_box_set_active_id
gboolean
GtkComboBox *combo_box, const gchar *active_id
GTK_TYPE_COMBO_BOX_TEXT
#define GTK_TYPE_COMBO_BOX_TEXT (gtk_combo_box_text_get_type ())
GTK_COMBO_BOX_TEXT
#define GTK_COMBO_BOX_TEXT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_COMBO_BOX_TEXT, GtkComboBoxText))
GTK_IS_COMBO_BOX_TEXT
#define GTK_IS_COMBO_BOX_TEXT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_COMBO_BOX_TEXT))
gtk_combo_box_text_get_type
GType
void
gtk_combo_box_text_new
GtkWidget *
void
gtk_combo_box_text_new_with_entry
GtkWidget *
void
gtk_combo_box_text_append_text
void
GtkComboBoxText *combo_box, const gchar *text
gtk_combo_box_text_insert_text
void
GtkComboBoxText *combo_box, gint position, const gchar *text
gtk_combo_box_text_prepend_text
void
GtkComboBoxText *combo_box, const gchar *text
gtk_combo_box_text_remove
void
GtkComboBoxText *combo_box, gint position
gtk_combo_box_text_remove_all
void
GtkComboBoxText *combo_box
gtk_combo_box_text_get_active_text
gchar *
GtkComboBoxText *combo_box
gtk_combo_box_text_insert
void
GtkComboBoxText *combo_box, gint position, const gchar *id, const gchar *text
gtk_combo_box_text_append
void
GtkComboBoxText *combo_box, const gchar *id, const gchar *text
gtk_combo_box_text_prepend
void
GtkComboBoxText *combo_box, const gchar *id, const gchar *text
GtkComboBoxText
GtkComposeTable
struct _GtkComposeTable
{
guint16 *data;
gint max_seq_len;
gint n_seqs;
guint32 id;
};
GtkComposeTableCompact
struct _GtkComposeTableCompact
{
const guint16 *data;
gint max_seq_len;
gint n_index_size;
gint n_index_stride;
};
gtk_compose_table_new_with_file
GtkComposeTable *
const gchar *compose_file
gtk_compose_table_list_add_array
GSList *
GSList *compose_tables, const guint16 *data, gint max_seq_len, gint n_seqs
gtk_compose_table_list_add_file
GSList *
GSList *compose_tables, const gchar *compose_file
GTK_TYPE_CONSTRAINT_TARGET
#define GTK_TYPE_CONSTRAINT_TARGET (gtk_constraint_target_get_type ())
GTK_TYPE_CONSTRAINT
#define GTK_TYPE_CONSTRAINT (gtk_constraint_get_type ())
gtk_constraint_new
GtkConstraint *
gpointer target, GtkConstraintAttribute target_attribute, GtkConstraintRelation relation, gpointer source, GtkConstraintAttribute source_attribute, double multiplier, double constant, int strength
gtk_constraint_new_constant
GtkConstraint *
gpointer target, GtkConstraintAttribute target_attribute, GtkConstraintRelation relation, double constant, int strength
gtk_constraint_get_target
GtkConstraintTarget *
GtkConstraint *constraint
gtk_constraint_get_target_attribute
GtkConstraintAttribute
GtkConstraint *constraint
gtk_constraint_get_source
GtkConstraintTarget *
GtkConstraint *constraint
gtk_constraint_get_source_attribute
GtkConstraintAttribute
GtkConstraint *constraint
gtk_constraint_get_relation
GtkConstraintRelation
GtkConstraint *constraint
gtk_constraint_get_multiplier
double
GtkConstraint *constraint
gtk_constraint_get_constant
double
GtkConstraint *constraint
gtk_constraint_get_strength
int
GtkConstraint *constraint
gtk_constraint_is_required
gboolean
GtkConstraint *constraint
gtk_constraint_is_attached
gboolean
GtkConstraint *constraint
gtk_constraint_is_constant
gboolean
GtkConstraint *constraint
GtkConstraint
GtkConstraintTarget
GtkConstraintTargetInterface
GTK_TYPE_CONSTRAINT_GUIDE
#define GTK_TYPE_CONSTRAINT_GUIDE (gtk_constraint_guide_get_type ())
gtk_constraint_guide_new
GtkConstraintGuide *
void
gtk_constraint_guide_set_min_size
void
GtkConstraintGuide *guide, int width, int height
gtk_constraint_guide_get_min_size
void
GtkConstraintGuide *guide, int *width, int *height
gtk_constraint_guide_set_nat_size
void
GtkConstraintGuide *guide, int width, int height
gtk_constraint_guide_get_nat_size
void
GtkConstraintGuide *guide, int *width, int *height
gtk_constraint_guide_set_max_size
void
GtkConstraintGuide *guide, int width, int height
gtk_constraint_guide_get_max_size
void
GtkConstraintGuide *guide, int *width, int *height
gtk_constraint_guide_get_strength
GtkConstraintStrength
GtkConstraintGuide *guide
gtk_constraint_guide_set_strength
void
GtkConstraintGuide *guide, GtkConstraintStrength strength
gtk_constraint_guide_set_name
void
GtkConstraintGuide *guide, const char *name
gtk_constraint_guide_get_name
const char *
GtkConstraintGuide *guide
GtkConstraintGuide
GTK_TYPE_CONSTRAINT_LAYOUT
#define GTK_TYPE_CONSTRAINT_LAYOUT (gtk_constraint_layout_get_type ())
GTK_TYPE_CONSTRAINT_LAYOUT_CHILD
#define GTK_TYPE_CONSTRAINT_LAYOUT_CHILD (gtk_constraint_layout_child_get_type ())
GTK_CONSTRAINT_VFL_PARSER_ERROR
#define GTK_CONSTRAINT_VFL_PARSER_ERROR (gtk_constraint_vfl_parser_error_quark ())
gtk_constraint_vfl_parser_error_quark
GQuark
void
gtk_constraint_layout_new
GtkLayoutManager *
void
gtk_constraint_layout_add_constraint
void
GtkConstraintLayout *layout, GtkConstraint *constraint
gtk_constraint_layout_remove_constraint
void
GtkConstraintLayout *layout, GtkConstraint *constraint
gtk_constraint_layout_add_guide
void
GtkConstraintLayout *layout, GtkConstraintGuide *guide
gtk_constraint_layout_remove_guide
void
GtkConstraintLayout *layout, GtkConstraintGuide *guide
gtk_constraint_layout_remove_all_constraints
void
GtkConstraintLayout *layout
gtk_constraint_layout_add_constraints_from_description
GList *
GtkConstraintLayout *layout, const char * const lines[], gsize n_lines, int hspacing, int vspacing, GError **error, const char *first_view, ...
gtk_constraint_layout_add_constraints_from_descriptionv
GList *
GtkConstraintLayout *layout, const char * const lines[], gsize n_lines, int hspacing, int vspacing, GHashTable *views, GError **error
gtk_constraint_layout_observe_constraints
GListModel *
GtkConstraintLayout *layout
gtk_constraint_layout_observe_guides
GListModel *
GtkConstraintLayout *layout
GtkConstraintLayout
GtkConstraintLayoutChild
GTK_TYPE_CONTAINER
#define GTK_TYPE_CONTAINER (gtk_container_get_type ())
GTK_CONTAINER
#define GTK_CONTAINER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_CONTAINER, GtkContainer))
GTK_CONTAINER_CLASS
#define GTK_CONTAINER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_CONTAINER, GtkContainerClass))
GTK_IS_CONTAINER
#define GTK_IS_CONTAINER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_CONTAINER))
GTK_IS_CONTAINER_CLASS
#define GTK_IS_CONTAINER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_CONTAINER))
GTK_CONTAINER_GET_CLASS
#define GTK_CONTAINER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_CONTAINER, GtkContainerClass))
GtkContainer
struct _GtkContainer
{
GtkWidget widget;
};
GtkContainerClass
struct _GtkContainerClass
{
GtkWidgetClass parent_class;
/*< public >*/
void (*add) (GtkContainer *container,
GtkWidget *widget);
void (*remove) (GtkContainer *container,
GtkWidget *widget);
void (*forall) (GtkContainer *container,
GtkCallback callback,
gpointer callback_data);
void (*set_focus_child) (GtkContainer *container,
GtkWidget *child);
GType (*child_type) (GtkContainer *container);
/*< private >*/
gpointer padding[8];
};
gtk_container_get_type
GType
void
gtk_container_add
void
GtkContainer *container, GtkWidget *widget
gtk_container_remove
void
GtkContainer *container, GtkWidget *widget
gtk_container_foreach
void
GtkContainer *container, GtkCallback callback, gpointer callback_data
gtk_container_get_children
GList *
GtkContainer *container
gtk_container_set_focus_vadjustment
void
GtkContainer *container, GtkAdjustment *adjustment
gtk_container_get_focus_vadjustment
GtkAdjustment *
GtkContainer *container
gtk_container_set_focus_hadjustment
void
GtkContainer *container, GtkAdjustment *adjustment
gtk_container_get_focus_hadjustment
GtkAdjustment *
GtkContainer *container
gtk_container_child_type
GType
GtkContainer *container
gtk_container_forall
void
GtkContainer *container, GtkCallback callback, gpointer callback_data
GtkContainerPrivate
GTK_COUNTING_BLOOM_FILTER_BITS
#define GTK_COUNTING_BLOOM_FILTER_BITS (12)
GTK_COUNTING_BLOOM_FILTER_SIZE
#define GTK_COUNTING_BLOOM_FILTER_SIZE (1 << GTK_COUNTING_BLOOM_FILTER_BITS)
GtkCountingBloomFilter
struct _GtkCountingBloomFilter
{
guint8 buckets[GTK_COUNTING_BLOOM_FILTER_SIZE];
};
gtk_counting_bloom_filter_add
void
GtkCountingBloomFilter *self, guint16 hash static inline void gtk_counting_bloom_filter_remove (GtkCountingBloomFilter *self, guint16 hash static inline gboolean gtk_counting_bloom_filter_may_contain (const GtkCountingBloomFilter *self, guint16 hash /* * GTK_COUNTING_BLOOM_FILTER_INIT: * * Initialize the bloom filter. As bloom filters are always stack-allocated, * initialization should happen when defining them, like: * ```c * GtkCountingBloomFilter filter = GTK_COUNTING_BLOOM_FILTER_INIT; * ``` * * The filter does not need to be freed. */ #define GTK_COUNTING_BLOOM_FILTER_INIT;
gtk_counting_bloom_filter_remove
void
GtkCountingBloomFilter *self, guint16 hash
gtk_counting_bloom_filter_may_contain
gboolean
const GtkCountingBloomFilter *self, guint16 hash
gtk_css_boxes_init
void
GtkCssBoxes *boxes, GtkWidget *widget
gtk_css_boxes_init_content_box
void
GtkCssBoxes *boxes, GtkCssStyle *style, double x, double y, double width, double height
gtk_css_boxes_init_border_box
void
GtkCssBoxes *boxes, GtkCssStyle *style, double x, double y, double width, double height
gtk_css_boxes_rect_grow
void
GskRoundedRect *dest, GskRoundedRect *src, GtkCssValue *top, GtkCssValue *right, GtkCssValue *bottom, GtkCssValue *left
gtk_css_boxes_rect_shrink
void
GskRoundedRect *dest, GskRoundedRect *src, GtkCssValue *top_value, GtkCssValue *right_value, GtkCssValue *bottom_value, GtkCssValue *left_value
gtk_css_boxes_compute_padding_rect
void
GtkCssBoxes *boxes static inline const graphene_rect_t * gtk_css_boxes_get_rect (GtkCssBoxes *boxes, GtkCssArea area
gtk_css_boxes_compute_border_rect
void
GtkCssBoxes *boxes
gtk_css_boxes_compute_content_rect
void
GtkCssBoxes *boxes
gtk_css_boxes_compute_margin_rect
void
GtkCssBoxes *boxes
gtk_css_boxes_compute_outline_rect
void
GtkCssBoxes *boxes
gtk_css_boxes_get_margin_rect
const graphene_rect_t *
GtkCssBoxes *boxes
gtk_css_boxes_get_border_rect
const graphene_rect_t *
GtkCssBoxes *boxes
gtk_css_boxes_get_padding_rect
const graphene_rect_t *
GtkCssBoxes *boxes
gtk_css_boxes_get_content_rect
const graphene_rect_t *
GtkCssBoxes *boxes
gtk_css_boxes_get_outline_rect
const graphene_rect_t *
GtkCssBoxes *boxes
gtk_css_boxes_clamp_border_radius
void
GskRoundedRect *box
gtk_css_boxes_apply_border_radius
void
GskRoundedRect *box, const GtkCssValue *top_left, const GtkCssValue *top_right, const GtkCssValue *bottom_right, const GtkCssValue *bottom_left
gtk_css_boxes_shrink_border_radius
void
graphene_size_t *dest, const graphene_size_t *src, double width, double height
gtk_css_boxes_shrink_corners
void
GskRoundedRect *dest, const GskRoundedRect *src
gtk_css_boxes_compute_border_box
void
GtkCssBoxes *boxes
gtk_css_boxes_compute_padding_box
void
GtkCssBoxes *boxes
gtk_css_boxes_compute_content_box
void
GtkCssBoxes *boxes
gtk_css_boxes_compute_outline_box
void
GtkCssBoxes *boxes
gtk_css_boxes_get_box
const GskRoundedRect *
GtkCssBoxes *boxes, GtkCssArea area
gtk_css_boxes_get_border_box
const GskRoundedRect *
GtkCssBoxes *boxes
gtk_css_boxes_get_padding_box
const GskRoundedRect *
GtkCssBoxes *boxes
gtk_css_boxes_get_content_box
const GskRoundedRect *
GtkCssBoxes *boxes
gtk_css_boxes_get_outline_box
const GskRoundedRect *
GtkCssBoxes *boxes
GTK_TYPE_CSS_PROVIDER
#define GTK_TYPE_CSS_PROVIDER (gtk_css_provider_get_type ())
GTK_CSS_PROVIDER
#define GTK_CSS_PROVIDER(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GTK_TYPE_CSS_PROVIDER, GtkCssProvider))
GTK_IS_CSS_PROVIDER
#define GTK_IS_CSS_PROVIDER(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GTK_TYPE_CSS_PROVIDER))
GtkCssProvider
struct _GtkCssProvider
{
GObject parent_instance;
};
gtk_css_provider_get_type
GType
void
gtk_css_provider_new
GtkCssProvider *
void
gtk_css_provider_to_string
char *
GtkCssProvider *provider
gtk_css_provider_load_from_data
void
GtkCssProvider *css_provider, const gchar *data, gssize length
gtk_css_provider_load_from_file
void
GtkCssProvider *css_provider, GFile *file
gtk_css_provider_load_from_path
void
GtkCssProvider *css_provider, const gchar *path
gtk_css_provider_load_from_resource
void
GtkCssProvider *css_provider, const gchar *resource_path
gtk_css_provider_load_named
void
GtkCssProvider *provider, const char *name, const char *variant
GtkCssProviderClass
GtkCssProviderPrivate
GTK_TYPE_CUSTOM_LAYOUT
#define GTK_TYPE_CUSTOM_LAYOUT (gtk_custom_layout_get_type ())
GtkCustomRequestModeFunc
GtkSizeRequestMode
GtkWidget *widget
GtkCustomMeasureFunc
void
GtkWidget *widget, GtkOrientation orientation, int for_size, int *minimum, int *natural, int *minimum_baseline, int *natural_baseline
GtkCustomAllocateFunc
void
GtkWidget *widget, int width, int height, int baseline
gtk_custom_layout_new
GtkLayoutManager *
GtkCustomRequestModeFunc request_mode, GtkCustomMeasureFunc measure, GtkCustomAllocateFunc allocate
GtkCustomLayout
GTK_TYPE_CUSTOM_PAPER_UNIX_DIALOG
#define GTK_TYPE_CUSTOM_PAPER_UNIX_DIALOG (gtk_custom_paper_unix_dialog_get_type ())
GTK_CUSTOM_PAPER_UNIX_DIALOG
#define GTK_CUSTOM_PAPER_UNIX_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_CUSTOM_PAPER_UNIX_DIALOG, GtkCustomPaperUnixDialog))
GTK_CUSTOM_PAPER_UNIX_DIALOG_CLASS
#define GTK_CUSTOM_PAPER_UNIX_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_CUSTOM_PAPER_UNIX_DIALOG, GtkCustomPaperUnixDialogClass))
GTK_IS_CUSTOM_PAPER_UNIX_DIALOG
#define GTK_IS_CUSTOM_PAPER_UNIX_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_CUSTOM_PAPER_UNIX_DIALOG))
GTK_IS_CUSTOM_PAPER_UNIX_DIALOG_CLASS
#define GTK_IS_CUSTOM_PAPER_UNIX_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_CUSTOM_PAPER_UNIX_DIALOG))
GTK_CUSTOM_PAPER_UNIX_DIALOG_GET_CLASS
#define GTK_CUSTOM_PAPER_UNIX_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_CUSTOM_PAPER_UNIX_DIALOG, GtkCustomPaperUnixDialogClass))
GtkCustomPaperUnixDialog
struct _GtkCustomPaperUnixDialog
{
GtkDialog parent_instance;
GtkCustomPaperUnixDialogPrivate *priv;
};
GtkCustomPaperUnixDialogClass
struct _GtkCustomPaperUnixDialogClass
{
GtkDialogClass parent_class;
/*< private >*/
/* Padding for future expansion */
void (*_gtk_reserved1) (void);
void (*_gtk_reserved2) (void);
void (*_gtk_reserved3) (void);
void (*_gtk_reserved4) (void);
};
gtk_custom_paper_unix_dialog_get_type
GType
void
GtkCustomPaperUnixDialogPrivate
GtkDebugFlag
typedef enum {
GTK_DEBUG_TEXT = 1 << 0,
GTK_DEBUG_TREE = 1 << 1,
GTK_DEBUG_KEYBINDINGS = 1 << 2,
GTK_DEBUG_MODULES = 1 << 3,
GTK_DEBUG_GEOMETRY = 1 << 4,
GTK_DEBUG_ICONTHEME = 1 << 5,
GTK_DEBUG_PRINTING = 1 << 6,
GTK_DEBUG_BUILDER = 1 << 7,
GTK_DEBUG_SIZE_REQUEST = 1 << 8,
GTK_DEBUG_NO_CSS_CACHE = 1 << 9,
GTK_DEBUG_INTERACTIVE = 1 << 11,
GTK_DEBUG_TOUCHSCREEN = 1 << 12,
GTK_DEBUG_ACTIONS = 1 << 13,
GTK_DEBUG_RESIZE = 1 << 14,
GTK_DEBUG_LAYOUT = 1 << 15,
GTK_DEBUG_SNAPSHOT = 1 << 16,
GTK_DEBUG_CONSTRAINTS = 1 << 17,
} GtkDebugFlag;
GTK_DEBUG_CHECK
#define GTK_DEBUG_CHECK(type) G_UNLIKELY (gtk_get_debug_flags () & GTK_DEBUG_##type)
GTK_NOTE
#define GTK_NOTE(type,action) G_STMT_START { \
if (GTK_DEBUG_CHECK (type)) \
{ action; }; } G_STMT_END
gtk_get_debug_flags
guint
void
gtk_set_debug_flags
void
guint flags
GtkDialogFlags
typedef enum
{
GTK_DIALOG_MODAL = 1 << 0,
GTK_DIALOG_DESTROY_WITH_PARENT = 1 << 1,
GTK_DIALOG_USE_HEADER_BAR = 1 << 2
} GtkDialogFlags;
GtkResponseType
typedef enum
{
GTK_RESPONSE_NONE = -1,
GTK_RESPONSE_REJECT = -2,
GTK_RESPONSE_ACCEPT = -3,
GTK_RESPONSE_DELETE_EVENT = -4,
GTK_RESPONSE_OK = -5,
GTK_RESPONSE_CANCEL = -6,
GTK_RESPONSE_CLOSE = -7,
GTK_RESPONSE_YES = -8,
GTK_RESPONSE_NO = -9,
GTK_RESPONSE_APPLY = -10,
GTK_RESPONSE_HELP = -11
} GtkResponseType;
GTK_TYPE_DIALOG
#define GTK_TYPE_DIALOG (gtk_dialog_get_type ())
GTK_DIALOG
#define GTK_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_DIALOG, GtkDialog))
GTK_DIALOG_CLASS
#define GTK_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_DIALOG, GtkDialogClass))
GTK_IS_DIALOG
#define GTK_IS_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_DIALOG))
GTK_IS_DIALOG_CLASS
#define GTK_IS_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_DIALOG))
GTK_DIALOG_GET_CLASS
#define GTK_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_DIALOG, GtkDialogClass))
GtkDialog
struct _GtkDialog
{
GtkWindow parent_instance;
};
GtkDialogClass
struct _GtkDialogClass
{
GtkWindowClass parent_class;
/*< public >*/
void (* response) (GtkDialog *dialog, gint response_id);
/* Keybinding signals */
void (* close) (GtkDialog *dialog);
/*< private >*/
gpointer padding[8];
};
gtk_dialog_get_type
GType
void
gtk_dialog_new
GtkWidget *
void
gtk_dialog_new_with_buttons
GtkWidget *
const gchar *title, GtkWindow *parent, GtkDialogFlags flags, const gchar *first_button_text, ...
gtk_dialog_add_action_widget
void
GtkDialog *dialog, GtkWidget *child, gint response_id
gtk_dialog_add_button
GtkWidget *
GtkDialog *dialog, const gchar *button_text, gint response_id
gtk_dialog_add_buttons
void
GtkDialog *dialog, const gchar *first_button_text, ...
gtk_dialog_set_response_sensitive
void
GtkDialog *dialog, gint response_id, gboolean setting
gtk_dialog_set_default_response
void
GtkDialog *dialog, gint response_id
gtk_dialog_get_widget_for_response
GtkWidget *
GtkDialog *dialog, gint response_id
gtk_dialog_get_response_for_widget
gint
GtkDialog *dialog, GtkWidget *widget
gtk_dialog_response
void
GtkDialog *dialog, gint response_id
gtk_dialog_run
gint
GtkDialog *dialog
gtk_dialog_get_content_area
GtkWidget *
GtkDialog *dialog
gtk_dialog_get_header_bar
GtkWidget *
GtkDialog *dialog
GTK_TYPE_DROP_TARGET
#define GTK_TYPE_DROP_TARGET (gtk_drop_target_get_type ())
GTK_DROP_TARGET
#define GTK_DROP_TARGET(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GTK_TYPE_DROP_TARGET, GtkDropTarget))
GTK_DROP_TARGET_CLASS
#define GTK_DROP_TARGET_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GTK_TYPE_DROP_TARGET, GtkDropTargetClass))
GTK_IS_DROP_TARGET
#define GTK_IS_DROP_TARGET(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GTK_TYPE_DROP_TARGET))
GTK_IS_DROP_TARGET_CLASS
#define GTK_IS_DROP_TARGET_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GTK_TYPE_DROP_TARGET))
GTK_DROP_TARGET_GET_CLASS
#define GTK_DROP_TARGET_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GTK_TYPE_DROP_TARGET, GtkDropTargetClass))
gtk_drop_target_get_type
GType
void
gtk_drop_target_new
GtkDropTarget *
GdkContentFormats *formats, GdkDragAction actions
gtk_drop_target_set_formats
void
GtkDropTarget *dest, GdkContentFormats *formats
gtk_drop_target_get_formats
GdkContentFormats *
GtkDropTarget *dest
gtk_drop_target_set_actions
void
GtkDropTarget *dest, GdkDragAction actions
gtk_drop_target_get_actions
GdkDragAction
GtkDropTarget *dest
gtk_drop_target_get_drop
GdkDrop *
GtkDropTarget *dest
gtk_drop_target_find_mimetype
const char *
GtkDropTarget *dest
gtk_drop_target_read_selection
void
GtkDropTarget *dest, GdkAtom target, GCancellable *cancellable, GAsyncReadyCallback callback, gpointer user_data
gtk_drop_target_read_selection_finish
GtkSelectionData *
GtkDropTarget *dest, GAsyncResult *result, GError **error
gtk_drop_target_deny_drop
void
GtkDropTarget *dest, GdkDrop *drop
GtkDropTarget
GtkDropTargetClass
gtk_drag_dest_handle_event
void
GtkWidget *toplevel, GdkEvent *event
GTK_TYPE_DRAG_ICON
#define GTK_TYPE_DRAG_ICON (gtk_drag_icon_get_type ())
gtk_drag_icon_new_for_drag
GtkWidget *
GdkDrag *drag
gtk_drag_icon_set_from_paintable
void
GdkDrag *drag, GdkPaintable *paintable, int hot_x, int hot_y
GtkDragIcon
gtk_drag_icon_new
GtkWidget *
void
gtk_drag_icon_set_surface
void
GtkDragIcon *icon, GdkSurface *surface
gtk_drag_icon_set_widget
void
GtkDragIcon *icon, GtkWidget *widget
GTK_TYPE_DRAG_SOURCE
#define GTK_TYPE_DRAG_SOURCE (gtk_drag_source_get_type ())
GTK_DRAG_SOURCE
#define GTK_DRAG_SOURCE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GTK_TYPE_DRAG_SOURCE, GtkDragSource))
GTK_DRAG_SOURCE_CLASS
#define GTK_DRAG_SOURCE_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GTK_TYPE_DRAG_SOURCE, GtkDragSourceClass))
GTK_IS_DRAG_SOURCE
#define GTK_IS_DRAG_SOURCE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GTK_TYPE_DRAG_SOURCE))
GTK_IS_DRAG_SOURCE_CLASS
#define GTK_IS_DRAG_SOURCE_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GTK_TYPE_DRAG_SOURCE))
GTK_DRAG_SOURCE_GET_CLASS
#define GTK_DRAG_SOURCE_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GTK_TYPE_DRAG_SOURCE, GtkDragSourceClass))
gtk_drag_source_get_type
GType
void
gtk_drag_source_new
GtkDragSource *
void
gtk_drag_source_set_content
void
GtkDragSource *source, GdkContentProvider *content
gtk_drag_source_get_content
GdkContentProvider *
GtkDragSource *source
gtk_drag_source_set_actions
void
GtkDragSource *source, GdkDragAction actions
gtk_drag_source_get_actions
GdkDragAction
GtkDragSource *source
gtk_drag_source_set_icon
void
GtkDragSource *source, GdkPaintable *paintable, int hot_x, int hot_y
gtk_drag_source_drag_cancel
void
GtkDragSource *source
gtk_drag_source_get_drag
GdkDrag *
GtkDragSource *source
gtk_drag_check_threshold
gboolean
GtkWidget *widget, int start_x, int start_y, int current_x, int current_y
GtkDragSource
GtkDragSourceClass
GTK_TYPE_DRAWING_AREA
#define GTK_TYPE_DRAWING_AREA (gtk_drawing_area_get_type ())
GTK_DRAWING_AREA
#define GTK_DRAWING_AREA(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_DRAWING_AREA, GtkDrawingArea))
GTK_DRAWING_AREA_CLASS
#define GTK_DRAWING_AREA_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_DRAWING_AREA, GtkDrawingAreaClass))
GTK_IS_DRAWING_AREA
#define GTK_IS_DRAWING_AREA(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_DRAWING_AREA))
GTK_IS_DRAWING_AREA_CLASS
#define GTK_IS_DRAWING_AREA_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_DRAWING_AREA))
GTK_DRAWING_AREA_GET_CLASS
#define GTK_DRAWING_AREA_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_DRAWING_AREA, GtkDrawingAreaClass))
GtkDrawingAreaDrawFunc
void
GtkDrawingArea *drawing_area, cairo_t *cr, int width, int height, gpointer user_data
GtkDrawingArea
struct _GtkDrawingArea
{
GtkWidget widget;
};
GtkDrawingAreaClass
struct _GtkDrawingAreaClass
{
GtkWidgetClass parent_class;
/*< private >*/
gpointer padding[8];
};
gtk_drawing_area_get_type
GType
void
gtk_drawing_area_new
GtkWidget *
void
gtk_drawing_area_set_content_width
void
GtkDrawingArea *self, int width
gtk_drawing_area_get_content_width
int
GtkDrawingArea *self
gtk_drawing_area_set_content_height
void
GtkDrawingArea *self, int height
gtk_drawing_area_get_content_height
int
GtkDrawingArea *self
gtk_drawing_area_set_draw_func
void
GtkDrawingArea *self, GtkDrawingAreaDrawFunc draw_func, gpointer user_data, GDestroyNotify destroy
GTK_TYPE_EDITABLE
#define GTK_TYPE_EDITABLE (gtk_editable_get_type ())
GTK_EDITABLE
#define GTK_EDITABLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_EDITABLE, GtkEditable))
GTK_IS_EDITABLE
#define GTK_IS_EDITABLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_EDITABLE))
GTK_EDITABLE_GET_IFACE
#define GTK_EDITABLE_GET_IFACE(inst) (G_TYPE_INSTANCE_GET_INTERFACE ((inst), GTK_TYPE_EDITABLE, GtkEditableInterface))
GtkEditableInterface
struct _GtkEditableInterface
{
GTypeInterface base_iface;
/* signals */
void (* insert_text) (GtkEditable *editable,
const gchar *text,
int length,
int *position);
void (* delete_text) (GtkEditable *editable,
int start_pos,
int end_pos);
void (* changed) (GtkEditable *editable);
/* vtable */
const char * (* get_text) (GtkEditable *editable);
void (* do_insert_text) (GtkEditable *editable,
const char *text,
int length,
int *position);
void (* do_delete_text) (GtkEditable *editable,
int start_pos,
int end_pos);
gboolean (* get_selection_bounds) (GtkEditable *editable,
int *start_pos,
int *end_pos);
void (* set_selection_bounds) (GtkEditable *editable,
int start_pos,
int end_pos);
GtkEditable * (* get_delegate) (GtkEditable *editable);
};
gtk_editable_get_type
GType
void
gtk_editable_get_text
const char *
GtkEditable *editable
gtk_editable_set_text
void
GtkEditable *editable, const char *text
gtk_editable_get_chars
char *
GtkEditable *editable, int start_pos, int end_pos
gtk_editable_insert_text
void
GtkEditable *editable, const char *text, int length, int *position
gtk_editable_delete_text
void
GtkEditable *editable, int start_pos, int end_pos
gtk_editable_get_selection_bounds
gboolean
GtkEditable *editable, int *start_pos, int *end_pos
gtk_editable_delete_selection
void
GtkEditable *editable
gtk_editable_select_region
void
GtkEditable *editable, int start_pos, int end_pos
gtk_editable_set_position
void
GtkEditable *editable, int position
gtk_editable_get_position
int
GtkEditable *editable
gtk_editable_get_editable
gboolean
GtkEditable *editable
gtk_editable_set_editable
void
GtkEditable *editable, gboolean is_editable
gtk_editable_get_alignment
float
GtkEditable *editable
gtk_editable_set_alignment
void
GtkEditable *editable, float xalign
gtk_editable_get_width_chars
int
GtkEditable *editable
gtk_editable_set_width_chars
void
GtkEditable *editable, int n_chars
gtk_editable_get_max_width_chars
int
GtkEditable *editable
gtk_editable_set_max_width_chars
void
GtkEditable *editable, int n_chars
gtk_editable_get_enable_undo
gboolean
GtkEditable *editable
gtk_editable_set_enable_undo
void
GtkEditable *editable, gboolean enable_undo
GtkEditableProperties
typedef enum {
GTK_EDITABLE_PROP_TEXT,
GTK_EDITABLE_PROP_CURSOR_POSITION,
GTK_EDITABLE_PROP_SELECTION_BOUND,
GTK_EDITABLE_PROP_EDITABLE,
GTK_EDITABLE_PROP_WIDTH_CHARS,
GTK_EDITABLE_PROP_MAX_WIDTH_CHARS,
GTK_EDITABLE_PROP_XALIGN,
GTK_EDITABLE_PROP_ENABLE_UNDO,
GTK_EDITABLE_NUM_PROPERTIES
} GtkEditableProperties;
gtk_editable_install_properties
guint
GObjectClass *object_class, guint first_prop
gtk_editable_init_delegate
void
GtkEditable *editable
gtk_editable_finish_delegate
void
GtkEditable *editable
gtk_editable_delegate_set_property
gboolean
GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec
gtk_editable_delegate_get_property
gboolean
GObject *object, guint prop_id, GValue *value, GParamSpec *pspec
GtkEditable
GTK_TYPE_EMOJI_CHOOSER
#define GTK_TYPE_EMOJI_CHOOSER (gtk_emoji_chooser_get_type ())
GTK_EMOJI_CHOOSER
#define GTK_EMOJI_CHOOSER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_EMOJI_CHOOSER, GtkEmojiChooser))
GTK_EMOJI_CHOOSER_CLASS
#define GTK_EMOJI_CHOOSER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_EMOJI_CHOOSER, GtkEmojiChooserClass))
GTK_IS_EMOJI_CHOOSER
#define GTK_IS_EMOJI_CHOOSER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_EMOJI_CHOOSER))
GTK_IS_EMOJI_CHOOSER_CLASS
#define GTK_IS_EMOJI_CHOOSER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_EMOJI_CHOOSER))
GTK_EMOJI_CHOOSER_GET_CLASS
#define GTK_EMOJI_CHOOSER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_EMOJI_CHOOSER, GtkEmojiChooserClass))
gtk_emoji_chooser_get_type
GType
void
gtk_emoji_chooser_new
GtkWidget *
void
GtkEmojiChooser
GtkEmojiChooserClass
GTK_TYPE_EMOJI_COMPLETION
#define GTK_TYPE_EMOJI_COMPLETION (gtk_emoji_completion_get_type ())
GTK_EMOJI_COMPLETION
#define GTK_EMOJI_COMPLETION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_EMOJI_COMPLETION, GtkEmojiCompletion))
GTK_EMOJI_COMPLETION_CLASS
#define GTK_EMOJI_COMPLETION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_EMOJI_COMPLETION, GtkEmojiCompletionClass))
GTK_IS_EMOJI_COMPLETION
#define GTK_IS_EMOJI_COMPLETION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_EMOJI_COMPLETION))
GTK_IS_EMOJI_COMPLETION_CLASS
#define GTK_IS_EMOJI_COMPLETION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_EMOJI_COMPLETION))
GTK_EMOJI_COMPLETION_GET_CLASS
#define GTK_EMOJI_COMPLETION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_EMOJI_COMPLETION, GtkEmojiCompletionClass))
gtk_emoji_completion_get_type
GType
void
gtk_emoji_completion_new
GtkWidget *
GtkText *text
GtkEmojiCompletion
GtkEmojiCompletionClass
GTK_TYPE_ENTRY
#define GTK_TYPE_ENTRY (gtk_entry_get_type ())
GTK_ENTRY
#define GTK_ENTRY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_ENTRY, GtkEntry))
GTK_ENTRY_CLASS
#define GTK_ENTRY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_ENTRY, GtkEntryClass))
GTK_IS_ENTRY
#define GTK_IS_ENTRY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_ENTRY))
GTK_IS_ENTRY_CLASS
#define GTK_IS_ENTRY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_ENTRY))
GTK_ENTRY_GET_CLASS
#define GTK_ENTRY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_ENTRY, GtkEntryClass))
GtkEntryIconPosition
typedef enum
{
GTK_ENTRY_ICON_PRIMARY,
GTK_ENTRY_ICON_SECONDARY
} GtkEntryIconPosition;
GtkEntry
struct _GtkEntry
{
/*< private >*/
GtkWidget parent_instance;
};
GtkEntryClass
struct _GtkEntryClass
{
GtkWidgetClass parent_class;
/* Action signals
*/
void (* activate) (GtkEntry *entry);
/*< private >*/
gpointer padding[8];
};
gtk_entry_get_type
GType
void
gtk_entry_new
GtkWidget *
void
gtk_entry_new_with_buffer
GtkWidget *
GtkEntryBuffer *buffer
gtk_entry_get_buffer
GtkEntryBuffer *
GtkEntry *entry
gtk_entry_set_buffer
void
GtkEntry *entry, GtkEntryBuffer *buffer
gtk_entry_set_visibility
void
GtkEntry *entry, gboolean visible
gtk_entry_get_visibility
gboolean
GtkEntry *entry
gtk_entry_set_invisible_char
void
GtkEntry *entry, gunichar ch
gtk_entry_get_invisible_char
gunichar
GtkEntry *entry
gtk_entry_unset_invisible_char
void
GtkEntry *entry
gtk_entry_set_has_frame
void
GtkEntry *entry, gboolean setting
gtk_entry_get_has_frame
gboolean
GtkEntry *entry
gtk_entry_set_overwrite_mode
void
GtkEntry *entry, gboolean overwrite
gtk_entry_get_overwrite_mode
gboolean
GtkEntry *entry
gtk_entry_set_max_length
void
GtkEntry *entry, gint max
gtk_entry_get_max_length
gint
GtkEntry *entry
gtk_entry_get_text_length
guint16
GtkEntry *entry
gtk_entry_set_activates_default
void
GtkEntry *entry, gboolean setting
gtk_entry_get_activates_default
gboolean
GtkEntry *entry
gtk_entry_set_alignment
void
GtkEntry *entry, gfloat xalign
gtk_entry_get_alignment
gfloat
GtkEntry *entry
gtk_entry_set_completion
void
GtkEntry *entry, GtkEntryCompletion *completion
gtk_entry_get_completion
GtkEntryCompletion *
GtkEntry *entry
gtk_entry_set_progress_fraction
void
GtkEntry *entry, gdouble fraction
gtk_entry_get_progress_fraction
gdouble
GtkEntry *entry
gtk_entry_set_progress_pulse_step
void
GtkEntry *entry, gdouble fraction
gtk_entry_get_progress_pulse_step
gdouble
GtkEntry *entry
gtk_entry_progress_pulse
void
GtkEntry *entry
gtk_entry_get_placeholder_text
const gchar *
GtkEntry *entry
gtk_entry_set_placeholder_text
void
GtkEntry *entry, const gchar *text
gtk_entry_set_icon_from_paintable
void
GtkEntry *entry, GtkEntryIconPosition icon_pos, GdkPaintable *paintable
gtk_entry_set_icon_from_icon_name
void
GtkEntry *entry, GtkEntryIconPosition icon_pos, const gchar *icon_name
gtk_entry_set_icon_from_gicon
void
GtkEntry *entry, GtkEntryIconPosition icon_pos, GIcon *icon
gtk_entry_get_icon_storage_type
GtkImageType
GtkEntry *entry, GtkEntryIconPosition icon_pos
gtk_entry_get_icon_paintable
GdkPaintable *
GtkEntry *entry, GtkEntryIconPosition icon_pos
gtk_entry_get_icon_name
const gchar *
GtkEntry *entry, GtkEntryIconPosition icon_pos
gtk_entry_get_icon_gicon
GIcon *
GtkEntry *entry, GtkEntryIconPosition icon_pos
gtk_entry_set_icon_activatable
void
GtkEntry *entry, GtkEntryIconPosition icon_pos, gboolean activatable
gtk_entry_get_icon_activatable
gboolean
GtkEntry *entry, GtkEntryIconPosition icon_pos
gtk_entry_set_icon_sensitive
void
GtkEntry *entry, GtkEntryIconPosition icon_pos, gboolean sensitive
gtk_entry_get_icon_sensitive
gboolean
GtkEntry *entry, GtkEntryIconPosition icon_pos
gtk_entry_get_icon_at_pos
gint
GtkEntry *entry, gint x, gint y
gtk_entry_set_icon_tooltip_text
void
GtkEntry *entry, GtkEntryIconPosition icon_pos, const gchar *tooltip
gtk_entry_get_icon_tooltip_text
gchar *
GtkEntry *entry, GtkEntryIconPosition icon_pos
gtk_entry_set_icon_tooltip_markup
void
GtkEntry *entry, GtkEntryIconPosition icon_pos, const gchar *tooltip
gtk_entry_get_icon_tooltip_markup
gchar *
GtkEntry *entry, GtkEntryIconPosition icon_pos
gtk_entry_set_icon_drag_source
void
GtkEntry *entry, GtkEntryIconPosition icon_pos, GdkContentProvider *provider, GdkDragAction actions
gtk_entry_get_current_icon_drag_source
gint
GtkEntry *entry
gtk_entry_get_icon_area
void
GtkEntry *entry, GtkEntryIconPosition icon_pos, GdkRectangle *icon_area
gtk_entry_reset_im_context
void
GtkEntry *entry
gtk_entry_set_input_purpose
void
GtkEntry *entry, GtkInputPurpose purpose
gtk_entry_get_input_purpose
GtkInputPurpose
GtkEntry *entry
gtk_entry_set_input_hints
void
GtkEntry *entry, GtkInputHints hints
gtk_entry_get_input_hints
GtkInputHints
GtkEntry *entry
gtk_entry_set_attributes
void
GtkEntry *entry, PangoAttrList *attrs
gtk_entry_get_attributes
PangoAttrList *
GtkEntry *entry
gtk_entry_set_tabs
void
GtkEntry *entry, PangoTabArray *tabs
gtk_entry_get_tabs
PangoTabArray *
GtkEntry *entry
gtk_entry_grab_focus_without_selecting
gboolean
GtkEntry *entry
gtk_entry_set_extra_menu
void
GtkEntry *entry, GMenuModel *model
gtk_entry_get_extra_menu
GMenuModel *
GtkEntry *entry
GTK_ENTRY_BUFFER_MAX_SIZE
#define GTK_ENTRY_BUFFER_MAX_SIZE G_MAXUSHORT
GTK_TYPE_ENTRY_BUFFER
#define GTK_TYPE_ENTRY_BUFFER (gtk_entry_buffer_get_type ())
GTK_ENTRY_BUFFER
#define GTK_ENTRY_BUFFER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_ENTRY_BUFFER, GtkEntryBuffer))
GTK_ENTRY_BUFFER_CLASS
#define GTK_ENTRY_BUFFER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_ENTRY_BUFFER, GtkEntryBufferClass))
GTK_IS_ENTRY_BUFFER
#define GTK_IS_ENTRY_BUFFER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_ENTRY_BUFFER))
GTK_IS_ENTRY_BUFFER_CLASS
#define GTK_IS_ENTRY_BUFFER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_ENTRY_BUFFER))
GTK_ENTRY_BUFFER_GET_CLASS
#define GTK_ENTRY_BUFFER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_ENTRY_BUFFER, GtkEntryBufferClass))
GtkEntryBuffer
struct _GtkEntryBuffer
{
GObject parent_instance;
};
GtkEntryBufferClass
struct _GtkEntryBufferClass
{
GObjectClass parent_class;
/* Signals */
void (*inserted_text) (GtkEntryBuffer *buffer,
guint position,
const gchar *chars,
guint n_chars);
void (*deleted_text) (GtkEntryBuffer *buffer,
guint position,
guint n_chars);
/* Virtual Methods */
const gchar* (*get_text) (GtkEntryBuffer *buffer,
gsize *n_bytes);
guint (*get_length) (GtkEntryBuffer *buffer);
guint (*insert_text) (GtkEntryBuffer *buffer,
guint position,
const gchar *chars,
guint n_chars);
guint (*delete_text) (GtkEntryBuffer *buffer,
guint position,
guint n_chars);
/* Padding for future expansion */
void (*_gtk_reserved1) (void);
void (*_gtk_reserved2) (void);
void (*_gtk_reserved3) (void);
void (*_gtk_reserved4) (void);
void (*_gtk_reserved5) (void);
void (*_gtk_reserved6) (void);
void (*_gtk_reserved7) (void);
void (*_gtk_reserved8) (void);
};
gtk_entry_buffer_get_type
GType
void
gtk_entry_buffer_new
GtkEntryBuffer *
const gchar *initial_chars, gint n_initial_chars
gtk_entry_buffer_get_bytes
gsize
GtkEntryBuffer *buffer
gtk_entry_buffer_get_length
guint
GtkEntryBuffer *buffer
gtk_entry_buffer_get_text
const gchar *
GtkEntryBuffer *buffer
gtk_entry_buffer_set_text
void
GtkEntryBuffer *buffer, const gchar *chars, gint n_chars
gtk_entry_buffer_set_max_length
void
GtkEntryBuffer *buffer, gint max_length
gtk_entry_buffer_get_max_length
gint
GtkEntryBuffer *buffer
gtk_entry_buffer_insert_text
guint
GtkEntryBuffer *buffer, guint position, const gchar *chars, gint n_chars
gtk_entry_buffer_delete_text
guint
GtkEntryBuffer *buffer, guint position, gint n_chars
gtk_entry_buffer_emit_inserted_text
void
GtkEntryBuffer *buffer, guint position, const gchar *chars, guint n_chars
gtk_entry_buffer_emit_deleted_text
void
GtkEntryBuffer *buffer, guint position, guint n_chars
GTK_TYPE_ENTRY_COMPLETION
#define GTK_TYPE_ENTRY_COMPLETION (gtk_entry_completion_get_type ())
GTK_ENTRY_COMPLETION
#define GTK_ENTRY_COMPLETION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_ENTRY_COMPLETION, GtkEntryCompletion))
GTK_IS_ENTRY_COMPLETION
#define GTK_IS_ENTRY_COMPLETION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_ENTRY_COMPLETION))
GtkEntryCompletionMatchFunc
gboolean
GtkEntryCompletion *completion, const gchar *key, GtkTreeIter *iter, gpointer user_data
gtk_entry_completion_get_type
GType
void
gtk_entry_completion_new
GtkEntryCompletion *
void
gtk_entry_completion_new_with_area
GtkEntryCompletion *
GtkCellArea *area
gtk_entry_completion_get_entry
GtkWidget *
GtkEntryCompletion *completion
gtk_entry_completion_set_model
void
GtkEntryCompletion *completion, GtkTreeModel *model
gtk_entry_completion_get_model
GtkTreeModel *
GtkEntryCompletion *completion
gtk_entry_completion_set_match_func
void
GtkEntryCompletion *completion, GtkEntryCompletionMatchFunc func, gpointer func_data, GDestroyNotify func_notify
gtk_entry_completion_set_minimum_key_length
void
GtkEntryCompletion *completion, gint length
gtk_entry_completion_get_minimum_key_length
gint
GtkEntryCompletion *completion
gtk_entry_completion_compute_prefix
gchar *
GtkEntryCompletion *completion, const char *key
gtk_entry_completion_complete
void
GtkEntryCompletion *completion
gtk_entry_completion_insert_prefix
void
GtkEntryCompletion *completion
gtk_entry_completion_insert_action_text
void
GtkEntryCompletion *completion, gint index_, const gchar *text
gtk_entry_completion_insert_action_markup
void
GtkEntryCompletion *completion, gint index_, const gchar *markup
gtk_entry_completion_delete_action
void
GtkEntryCompletion *completion, gint index_
gtk_entry_completion_set_inline_completion
void
GtkEntryCompletion *completion, gboolean inline_completion
gtk_entry_completion_get_inline_completion
gboolean
GtkEntryCompletion *completion
gtk_entry_completion_set_inline_selection
void
GtkEntryCompletion *completion, gboolean inline_selection
gtk_entry_completion_get_inline_selection
gboolean
GtkEntryCompletion *completion
gtk_entry_completion_set_popup_completion
void
GtkEntryCompletion *completion, gboolean popup_completion
gtk_entry_completion_get_popup_completion
gboolean
GtkEntryCompletion *completion
gtk_entry_completion_set_popup_set_width
void
GtkEntryCompletion *completion, gboolean popup_set_width
gtk_entry_completion_get_popup_set_width
gboolean
GtkEntryCompletion *completion
gtk_entry_completion_set_popup_single_match
void
GtkEntryCompletion *completion, gboolean popup_single_match
gtk_entry_completion_get_popup_single_match
gboolean
GtkEntryCompletion *completion
gtk_entry_completion_get_completion_prefix
const gchar *
GtkEntryCompletion *completion
gtk_entry_completion_set_text_column
void
GtkEntryCompletion *completion, gint column
gtk_entry_completion_get_text_column
gint
GtkEntryCompletion *completion
GtkEntryCompletion
GtkAlign
typedef enum
{
GTK_ALIGN_FILL,
GTK_ALIGN_START,
GTK_ALIGN_END,
GTK_ALIGN_CENTER,
GTK_ALIGN_BASELINE
} GtkAlign;
GtkArrowType
typedef enum
{
GTK_ARROW_UP,
GTK_ARROW_DOWN,
GTK_ARROW_LEFT,
GTK_ARROW_RIGHT,
GTK_ARROW_NONE
} GtkArrowType;
GtkBaselinePosition
typedef enum
{
GTK_BASELINE_POSITION_TOP,
GTK_BASELINE_POSITION_CENTER,
GTK_BASELINE_POSITION_BOTTOM
} GtkBaselinePosition;
GtkDeleteType
typedef enum
{
GTK_DELETE_CHARS,
GTK_DELETE_WORD_ENDS,
GTK_DELETE_WORDS,
GTK_DELETE_DISPLAY_LINES,
GTK_DELETE_DISPLAY_LINE_ENDS,
GTK_DELETE_PARAGRAPH_ENDS,
GTK_DELETE_PARAGRAPHS,
GTK_DELETE_WHITESPACE
} GtkDeleteType;
GtkDirectionType
typedef enum
{
GTK_DIR_TAB_FORWARD,
GTK_DIR_TAB_BACKWARD,
GTK_DIR_UP,
GTK_DIR_DOWN,
GTK_DIR_LEFT,
GTK_DIR_RIGHT
} GtkDirectionType;
GtkIconSize
typedef enum
{
GTK_ICON_SIZE_INHERIT,
GTK_ICON_SIZE_NORMAL,
GTK_ICON_SIZE_LARGE
} GtkIconSize;
GtkSensitivityType
typedef enum
{
GTK_SENSITIVITY_AUTO,
GTK_SENSITIVITY_ON,
GTK_SENSITIVITY_OFF
} GtkSensitivityType;
GtkTextDirection
typedef enum
{
GTK_TEXT_DIR_NONE,
GTK_TEXT_DIR_LTR,
GTK_TEXT_DIR_RTL
} GtkTextDirection;
GtkJustification
typedef enum
{
GTK_JUSTIFY_LEFT,
GTK_JUSTIFY_RIGHT,
GTK_JUSTIFY_CENTER,
GTK_JUSTIFY_FILL
} GtkJustification;
GtkMenuDirectionType
typedef enum
{
GTK_MENU_DIR_PARENT,
GTK_MENU_DIR_CHILD,
GTK_MENU_DIR_NEXT,
GTK_MENU_DIR_PREV
} GtkMenuDirectionType;
GtkMessageType
typedef enum
{
GTK_MESSAGE_INFO,
GTK_MESSAGE_WARNING,
GTK_MESSAGE_QUESTION,
GTK_MESSAGE_ERROR,
GTK_MESSAGE_OTHER
} GtkMessageType;
GtkMovementStep
typedef enum
{
GTK_MOVEMENT_LOGICAL_POSITIONS,
GTK_MOVEMENT_VISUAL_POSITIONS,
GTK_MOVEMENT_WORDS,
GTK_MOVEMENT_DISPLAY_LINES,
GTK_MOVEMENT_DISPLAY_LINE_ENDS,
GTK_MOVEMENT_PARAGRAPHS,
GTK_MOVEMENT_PARAGRAPH_ENDS,
GTK_MOVEMENT_PAGES,
GTK_MOVEMENT_BUFFER_ENDS,
GTK_MOVEMENT_HORIZONTAL_PAGES
} GtkMovementStep;
GtkScrollStep
typedef enum
{
GTK_SCROLL_STEPS,
GTK_SCROLL_PAGES,
GTK_SCROLL_ENDS,
GTK_SCROLL_HORIZONTAL_STEPS,
GTK_SCROLL_HORIZONTAL_PAGES,
GTK_SCROLL_HORIZONTAL_ENDS
} GtkScrollStep;
GtkOrientation
typedef enum
{
GTK_ORIENTATION_HORIZONTAL,
GTK_ORIENTATION_VERTICAL
} GtkOrientation;
GtkOverflow
typedef enum
{
GTK_OVERFLOW_VISIBLE,
GTK_OVERFLOW_HIDDEN
} GtkOverflow;
GtkPackType
typedef enum
{
GTK_PACK_START,
GTK_PACK_END
} GtkPackType;
GtkPositionType
typedef enum
{
GTK_POS_LEFT,
GTK_POS_RIGHT,
GTK_POS_TOP,
GTK_POS_BOTTOM
} GtkPositionType;
GtkReliefStyle
typedef enum
{
GTK_RELIEF_NORMAL,
GTK_RELIEF_NONE
} GtkReliefStyle;
GtkScrollType
typedef enum
{
GTK_SCROLL_NONE,
GTK_SCROLL_JUMP,
GTK_SCROLL_STEP_BACKWARD,
GTK_SCROLL_STEP_FORWARD,
GTK_SCROLL_PAGE_BACKWARD,
GTK_SCROLL_PAGE_FORWARD,
GTK_SCROLL_STEP_UP,
GTK_SCROLL_STEP_DOWN,
GTK_SCROLL_PAGE_UP,
GTK_SCROLL_PAGE_DOWN,
GTK_SCROLL_STEP_LEFT,
GTK_SCROLL_STEP_RIGHT,
GTK_SCROLL_PAGE_LEFT,
GTK_SCROLL_PAGE_RIGHT,
GTK_SCROLL_START,
GTK_SCROLL_END
} GtkScrollType;
GtkSelectionMode
typedef enum
{
GTK_SELECTION_NONE,
GTK_SELECTION_SINGLE,
GTK_SELECTION_BROWSE,
GTK_SELECTION_MULTIPLE
} GtkSelectionMode;
GtkShadowType
typedef enum
{
GTK_SHADOW_NONE,
GTK_SHADOW_IN,
GTK_SHADOW_OUT,
GTK_SHADOW_ETCHED_IN,
GTK_SHADOW_ETCHED_OUT
} GtkShadowType;
GtkWrapMode
typedef enum
{
GTK_WRAP_NONE,
GTK_WRAP_CHAR,
GTK_WRAP_WORD,
GTK_WRAP_WORD_CHAR
} GtkWrapMode;
GtkSortType
typedef enum
{
GTK_SORT_ASCENDING,
GTK_SORT_DESCENDING
} GtkSortType;
GtkPrintPages
typedef enum
{
GTK_PRINT_PAGES_ALL,
GTK_PRINT_PAGES_CURRENT,
GTK_PRINT_PAGES_RANGES,
GTK_PRINT_PAGES_SELECTION
} GtkPrintPages;
GtkPageSet
typedef enum
{
GTK_PAGE_SET_ALL,
GTK_PAGE_SET_EVEN,
GTK_PAGE_SET_ODD
} GtkPageSet;
GtkNumberUpLayout
typedef enum
{
GTK_NUMBER_UP_LAYOUT_LEFT_TO_RIGHT_TOP_TO_BOTTOM, /*< nick=lrtb >*/
GTK_NUMBER_UP_LAYOUT_LEFT_TO_RIGHT_BOTTOM_TO_TOP, /*< nick=lrbt >*/
GTK_NUMBER_UP_LAYOUT_RIGHT_TO_LEFT_TOP_TO_BOTTOM, /*< nick=rltb >*/
GTK_NUMBER_UP_LAYOUT_RIGHT_TO_LEFT_BOTTOM_TO_TOP, /*< nick=rlbt >*/
GTK_NUMBER_UP_LAYOUT_TOP_TO_BOTTOM_LEFT_TO_RIGHT, /*< nick=tblr >*/
GTK_NUMBER_UP_LAYOUT_TOP_TO_BOTTOM_RIGHT_TO_LEFT, /*< nick=tbrl >*/
GTK_NUMBER_UP_LAYOUT_BOTTOM_TO_TOP_LEFT_TO_RIGHT, /*< nick=btlr >*/
GTK_NUMBER_UP_LAYOUT_BOTTOM_TO_TOP_RIGHT_TO_LEFT /*< nick=btrl >*/
} GtkNumberUpLayout;
GtkPageOrientation
typedef enum
{
GTK_PAGE_ORIENTATION_PORTRAIT,
GTK_PAGE_ORIENTATION_LANDSCAPE,
GTK_PAGE_ORIENTATION_REVERSE_PORTRAIT,
GTK_PAGE_ORIENTATION_REVERSE_LANDSCAPE
} GtkPageOrientation;
GtkPrintQuality
typedef enum
{
GTK_PRINT_QUALITY_LOW,
GTK_PRINT_QUALITY_NORMAL,
GTK_PRINT_QUALITY_HIGH,
GTK_PRINT_QUALITY_DRAFT
} GtkPrintQuality;
GtkPrintDuplex
typedef enum
{
GTK_PRINT_DUPLEX_SIMPLEX,
GTK_PRINT_DUPLEX_HORIZONTAL,
GTK_PRINT_DUPLEX_VERTICAL
} GtkPrintDuplex;
GtkUnit
typedef enum
{
GTK_UNIT_NONE,
GTK_UNIT_POINTS,
GTK_UNIT_INCH,
GTK_UNIT_MM
} GtkUnit;
GTK_UNIT_PIXEL
#define GTK_UNIT_PIXEL GTK_UNIT_NONE
GtkTreeViewGridLines
typedef enum
{
GTK_TREE_VIEW_GRID_LINES_NONE,
GTK_TREE_VIEW_GRID_LINES_HORIZONTAL,
GTK_TREE_VIEW_GRID_LINES_VERTICAL,
GTK_TREE_VIEW_GRID_LINES_BOTH
} GtkTreeViewGridLines;
GtkSizeGroupMode
typedef enum {
GTK_SIZE_GROUP_NONE,
GTK_SIZE_GROUP_HORIZONTAL,
GTK_SIZE_GROUP_VERTICAL,
GTK_SIZE_GROUP_BOTH
} GtkSizeGroupMode;
GtkSizeRequestMode
typedef enum
{
GTK_SIZE_REQUEST_HEIGHT_FOR_WIDTH = 0,
GTK_SIZE_REQUEST_WIDTH_FOR_HEIGHT,
GTK_SIZE_REQUEST_CONSTANT_SIZE
} GtkSizeRequestMode;
GtkScrollablePolicy
typedef enum
{
GTK_SCROLL_MINIMUM = 0,
GTK_SCROLL_NATURAL
} GtkScrollablePolicy;
GtkStateFlags
typedef enum
{
GTK_STATE_FLAG_NORMAL = 0,
GTK_STATE_FLAG_ACTIVE = 1 << 0,
GTK_STATE_FLAG_PRELIGHT = 1 << 1,
GTK_STATE_FLAG_SELECTED = 1 << 2,
GTK_STATE_FLAG_INSENSITIVE = 1 << 3,
GTK_STATE_FLAG_INCONSISTENT = 1 << 4,
GTK_STATE_FLAG_FOCUSED = 1 << 5,
GTK_STATE_FLAG_BACKDROP = 1 << 6,
GTK_STATE_FLAG_DIR_LTR = 1 << 7,
GTK_STATE_FLAG_DIR_RTL = 1 << 8,
GTK_STATE_FLAG_LINK = 1 << 9,
GTK_STATE_FLAG_VISITED = 1 << 10,
GTK_STATE_FLAG_CHECKED = 1 << 11,
GTK_STATE_FLAG_DROP_ACTIVE = 1 << 12,
GTK_STATE_FLAG_FOCUS_VISIBLE = 1 << 13
} GtkStateFlags;
GtkBorderStyle
typedef enum {
GTK_BORDER_STYLE_NONE,
GTK_BORDER_STYLE_HIDDEN,
GTK_BORDER_STYLE_SOLID,
GTK_BORDER_STYLE_INSET,
GTK_BORDER_STYLE_OUTSET,
GTK_BORDER_STYLE_DOTTED,
GTK_BORDER_STYLE_DASHED,
GTK_BORDER_STYLE_DOUBLE,
GTK_BORDER_STYLE_GROOVE,
GTK_BORDER_STYLE_RIDGE
} GtkBorderStyle;
GtkLevelBarMode
typedef enum {
GTK_LEVEL_BAR_MODE_CONTINUOUS,
GTK_LEVEL_BAR_MODE_DISCRETE
} GtkLevelBarMode;
GtkInputPurpose
typedef enum
{
GTK_INPUT_PURPOSE_FREE_FORM,
GTK_INPUT_PURPOSE_ALPHA,
GTK_INPUT_PURPOSE_DIGITS,
GTK_INPUT_PURPOSE_NUMBER,
GTK_INPUT_PURPOSE_PHONE,
GTK_INPUT_PURPOSE_URL,
GTK_INPUT_PURPOSE_EMAIL,
GTK_INPUT_PURPOSE_NAME,
GTK_INPUT_PURPOSE_PASSWORD,
GTK_INPUT_PURPOSE_PIN,
GTK_INPUT_PURPOSE_TERMINAL,
} GtkInputPurpose;
GtkInputHints
typedef enum
{
GTK_INPUT_HINT_NONE = 0,
GTK_INPUT_HINT_SPELLCHECK = 1 << 0,
GTK_INPUT_HINT_NO_SPELLCHECK = 1 << 1,
GTK_INPUT_HINT_WORD_COMPLETION = 1 << 2,
GTK_INPUT_HINT_LOWERCASE = 1 << 3,
GTK_INPUT_HINT_UPPERCASE_CHARS = 1 << 4,
GTK_INPUT_HINT_UPPERCASE_WORDS = 1 << 5,
GTK_INPUT_HINT_UPPERCASE_SENTENCES = 1 << 6,
GTK_INPUT_HINT_INHIBIT_OSK = 1 << 7,
GTK_INPUT_HINT_VERTICAL_WRITING = 1 << 8,
GTK_INPUT_HINT_EMOJI = 1 << 9,
GTK_INPUT_HINT_NO_EMOJI = 1 << 10
} GtkInputHints;
GtkPropagationPhase
typedef enum
{
GTK_PHASE_NONE,
GTK_PHASE_CAPTURE,
GTK_PHASE_BUBBLE,
GTK_PHASE_TARGET
} GtkPropagationPhase;
GtkPropagationLimit
typedef enum
{
GTK_LIMIT_NONE,
GTK_LIMIT_SAME_NATIVE
} GtkPropagationLimit;
GtkEventSequenceState
typedef enum
{
GTK_EVENT_SEQUENCE_NONE,
GTK_EVENT_SEQUENCE_CLAIMED,
GTK_EVENT_SEQUENCE_DENIED
} GtkEventSequenceState;
GtkPanDirection
typedef enum
{
GTK_PAN_DIRECTION_LEFT,
GTK_PAN_DIRECTION_RIGHT,
GTK_PAN_DIRECTION_UP,
GTK_PAN_DIRECTION_DOWN
} GtkPanDirection;
GtkPopoverConstraint
typedef enum
{
GTK_POPOVER_CONSTRAINT_NONE,
GTK_POPOVER_CONSTRAINT_WINDOW
} GtkPopoverConstraint;
GtkPlacesOpenFlags
typedef enum {
GTK_PLACES_OPEN_NORMAL = 1 << 0,
GTK_PLACES_OPEN_NEW_TAB = 1 << 1,
GTK_PLACES_OPEN_NEW_WINDOW = 1 << 2
} GtkPlacesOpenFlags;
GtkPickFlags
typedef enum {
GTK_PICK_DEFAULT = 0,
GTK_PICK_INSENSITIVE = 1 << 0,
GTK_PICK_NON_TARGETABLE = 1 << 1
} GtkPickFlags;
GtkConstraintRelation
typedef enum {
GTK_CONSTRAINT_RELATION_LE = -1,
GTK_CONSTRAINT_RELATION_EQ = 0,
GTK_CONSTRAINT_RELATION_GE = 1
} GtkConstraintRelation;
GtkConstraintStrength
typedef enum {
GTK_CONSTRAINT_STRENGTH_REQUIRED = 1001001000,
GTK_CONSTRAINT_STRENGTH_STRONG = 1000000000,
GTK_CONSTRAINT_STRENGTH_MEDIUM = 1000,
GTK_CONSTRAINT_STRENGTH_WEAK = 1
} GtkConstraintStrength;
GtkConstraintAttribute
typedef enum {
GTK_CONSTRAINT_ATTRIBUTE_NONE,
GTK_CONSTRAINT_ATTRIBUTE_LEFT,
GTK_CONSTRAINT_ATTRIBUTE_RIGHT,
GTK_CONSTRAINT_ATTRIBUTE_TOP,
GTK_CONSTRAINT_ATTRIBUTE_BOTTOM,
GTK_CONSTRAINT_ATTRIBUTE_START,
GTK_CONSTRAINT_ATTRIBUTE_END,
GTK_CONSTRAINT_ATTRIBUTE_WIDTH,
GTK_CONSTRAINT_ATTRIBUTE_HEIGHT,
GTK_CONSTRAINT_ATTRIBUTE_CENTER_X,
GTK_CONSTRAINT_ATTRIBUTE_CENTER_Y,
GTK_CONSTRAINT_ATTRIBUTE_BASELINE
} GtkConstraintAttribute;
GtkConstraintVflParserError
typedef enum {
GTK_CONSTRAINT_VFL_PARSER_ERROR_INVALID_SYMBOL,
GTK_CONSTRAINT_VFL_PARSER_ERROR_INVALID_ATTRIBUTE,
GTK_CONSTRAINT_VFL_PARSER_ERROR_INVALID_VIEW,
GTK_CONSTRAINT_VFL_PARSER_ERROR_INVALID_METRIC,
GTK_CONSTRAINT_VFL_PARSER_ERROR_INVALID_PRIORITY,
GTK_CONSTRAINT_VFL_PARSER_ERROR_INVALID_RELATION
} GtkConstraintVflParserError;
GTK_TYPE_EVENT_CONTROLLER
#define GTK_TYPE_EVENT_CONTROLLER (gtk_event_controller_get_type ())
GTK_EVENT_CONTROLLER
#define GTK_EVENT_CONTROLLER(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GTK_TYPE_EVENT_CONTROLLER, GtkEventController))
GTK_EVENT_CONTROLLER_CLASS
#define GTK_EVENT_CONTROLLER_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GTK_TYPE_EVENT_CONTROLLER, GtkEventControllerClass))
GTK_IS_EVENT_CONTROLLER
#define GTK_IS_EVENT_CONTROLLER(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GTK_TYPE_EVENT_CONTROLLER))
GTK_IS_EVENT_CONTROLLER_CLASS
#define GTK_IS_EVENT_CONTROLLER_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GTK_TYPE_EVENT_CONTROLLER))
GTK_EVENT_CONTROLLER_GET_CLASS
#define GTK_EVENT_CONTROLLER_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GTK_TYPE_EVENT_CONTROLLER, GtkEventControllerClass))
gtk_event_controller_get_type
GType
void
gtk_event_controller_get_widget
GtkWidget *
GtkEventController *controller
gtk_event_controller_handle_event
gboolean
GtkEventController *controller, const GdkEvent *event
gtk_event_controller_reset
void
GtkEventController *controller
gtk_event_controller_get_propagation_phase
GtkPropagationPhase
GtkEventController *controller
gtk_event_controller_set_propagation_phase
void
GtkEventController *controller, GtkPropagationPhase phase
gtk_event_controller_get_propagation_limit
GtkPropagationLimit
GtkEventController *controller
gtk_event_controller_set_propagation_limit
void
GtkEventController *controller, GtkPropagationLimit limit
gtk_event_controller_get_name
const char *
GtkEventController *controller
gtk_event_controller_set_name
void
GtkEventController *controller, const char *name
GtkEventControllerClass
GTK_TYPE_EVENT_CONTROLLER_KEY
#define GTK_TYPE_EVENT_CONTROLLER_KEY (gtk_event_controller_key_get_type ())
GTK_EVENT_CONTROLLER_KEY
#define GTK_EVENT_CONTROLLER_KEY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GTK_TYPE_EVENT_CONTROLLER_KEY, GtkEventControllerKey))
GTK_EVENT_CONTROLLER_KEY_CLASS
#define GTK_EVENT_CONTROLLER_KEY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GTK_TYPE_EVENT_CONTROLLER_KEY, GtkEventControllerKeyClass))
GTK_IS_EVENT_CONTROLLER_KEY
#define GTK_IS_EVENT_CONTROLLER_KEY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GTK_TYPE_EVENT_CONTROLLER_KEY))
GTK_IS_EVENT_CONTROLLER_KEY_CLASS
#define GTK_IS_EVENT_CONTROLLER_KEY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GTK_TYPE_EVENT_CONTROLLER_KEY))
GTK_EVENT_CONTROLLER_KEY_GET_CLASS
#define GTK_EVENT_CONTROLLER_KEY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GTK_TYPE_EVENT_CONTROLLER_KEY, GtkEventControllerKeyClass))
gtk_event_controller_key_get_type
GType
void
gtk_event_controller_key_new
GtkEventController *
void
gtk_event_controller_key_set_im_context
void
GtkEventControllerKey *controller, GtkIMContext *im_context
gtk_event_controller_key_get_im_context
GtkIMContext *
GtkEventControllerKey *controller
gtk_event_controller_key_forward
gboolean
GtkEventControllerKey *controller, GtkWidget *widget
gtk_event_controller_key_get_group
guint
GtkEventControllerKey *controller
gtk_event_controller_key_get_focus_origin
GtkWidget *
GtkEventControllerKey *controller
gtk_event_controller_key_get_focus_target
GtkWidget *
GtkEventControllerKey *controller
gtk_event_controller_key_contains_focus
gboolean
GtkEventControllerKey *self
gtk_event_controller_key_is_focus
gboolean
GtkEventControllerKey *self
GtkEventControllerKey
GtkEventControllerKeyClass
GTK_TYPE_EVENT_CONTROLLER_LEGACY
#define GTK_TYPE_EVENT_CONTROLLER_LEGACY (gtk_event_controller_legacy_get_type ())
GTK_EVENT_CONTROLLER_LEGACY
#define GTK_EVENT_CONTROLLER_LEGACY(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GTK_TYPE_EVENT_CONTROLLER_LEGACY, GtkEventControllerLegacy))
GTK_EVENT_CONTROLLER_LEGACY_CLASS
#define GTK_EVENT_CONTROLLER_LEGACY_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GTK_TYPE_EVENT_CONTROLLER_LEGACY, GtkEventControllerLegacyClass))
GTK_IS_EVENT_CONTROLLER_LEGACY
#define GTK_IS_EVENT_CONTROLLER_LEGACY(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GTK_TYPE_EVENT_CONTROLLER_LEGACY))
GTK_IS_EVENT_CONTROLLER_LEGACY_CLASS
#define GTK_IS_EVENT_CONTROLLER_LEGACY_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GTK_TYPE_EVENT_CONTROLLER_LEGACY))
GTK_EVENT_CONTROLLER_LEGACY_GET_CLASS
#define GTK_EVENT_CONTROLLER_LEGACY_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GTK_TYPE_EVENT_CONTROLLER_LEGACY, GtkEventControllerLegacyClass))
gtk_event_controller_legacy_get_type
GType
void
gtk_event_controller_legacy_new
GtkEventController *
void
GtkEventControllerLegacy
GtkEventControllerLegacyClass
GTK_TYPE_EVENT_CONTROLLER_MOTION
#define GTK_TYPE_EVENT_CONTROLLER_MOTION (gtk_event_controller_motion_get_type ())
GTK_EVENT_CONTROLLER_MOTION
#define GTK_EVENT_CONTROLLER_MOTION(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GTK_TYPE_EVENT_CONTROLLER_MOTION, GtkEventControllerMotion))
GTK_EVENT_CONTROLLER_MOTION_CLASS
#define GTK_EVENT_CONTROLLER_MOTION_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GTK_TYPE_EVENT_CONTROLLER_MOTION, GtkEventControllerMotionClass))
GTK_IS_EVENT_CONTROLLER_MOTION
#define GTK_IS_EVENT_CONTROLLER_MOTION(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GTK_TYPE_EVENT_CONTROLLER_MOTION))
GTK_IS_EVENT_CONTROLLER_MOTION_CLASS
#define GTK_IS_EVENT_CONTROLLER_MOTION_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GTK_TYPE_EVENT_CONTROLLER_MOTION))
GTK_EVENT_CONTROLLER_MOTION_GET_CLASS
#define GTK_EVENT_CONTROLLER_MOTION_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GTK_TYPE_EVENT_CONTROLLER_MOTION, GtkEventControllerMotionClass))
gtk_event_controller_motion_get_type
GType
void
gtk_event_controller_motion_new
GtkEventController *
void
gtk_event_controller_motion_get_pointer_origin
GtkWidget *
GtkEventControllerMotion *controller
gtk_event_controller_motion_get_pointer_target
GtkWidget *
GtkEventControllerMotion *controller
gtk_event_controller_motion_contains_pointer
gboolean
GtkEventControllerMotion *self
gtk_event_controller_motion_is_pointer
gboolean
GtkEventControllerMotion *self
GtkEventControllerMotion
GtkEventControllerMotionClass
GTK_TYPE_EVENT_CONTROLLER_SCROLL
#define GTK_TYPE_EVENT_CONTROLLER_SCROLL (gtk_event_controller_scroll_get_type ())
GTK_EVENT_CONTROLLER_SCROLL
#define GTK_EVENT_CONTROLLER_SCROLL(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GTK_TYPE_EVENT_CONTROLLER_SCROLL, GtkEventControllerScroll))
GTK_EVENT_CONTROLLER_SCROLL_CLASS
#define GTK_EVENT_CONTROLLER_SCROLL_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GTK_TYPE_EVENT_CONTROLLER_SCROLL, GtkEventControllerScrollClass))
GTK_IS_EVENT_CONTROLLER_SCROLL
#define GTK_IS_EVENT_CONTROLLER_SCROLL(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GTK_TYPE_EVENT_CONTROLLER_SCROLL))
GTK_IS_EVENT_CONTROLLER_SCROLL_CLASS
#define GTK_IS_EVENT_CONTROLLER_SCROLL_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GTK_TYPE_EVENT_CONTROLLER_SCROLL))
GTK_EVENT_CONTROLLER_SCROLL_GET_CLASS
#define GTK_EVENT_CONTROLLER_SCROLL_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GTK_TYPE_EVENT_CONTROLLER_SCROLL, GtkEventControllerScrollClass))
GtkEventControllerScrollFlags
typedef enum {
GTK_EVENT_CONTROLLER_SCROLL_NONE = 0,
GTK_EVENT_CONTROLLER_SCROLL_VERTICAL = 1 << 0,
GTK_EVENT_CONTROLLER_SCROLL_HORIZONTAL = 1 << 1,
GTK_EVENT_CONTROLLER_SCROLL_DISCRETE = 1 << 2,
GTK_EVENT_CONTROLLER_SCROLL_KINETIC = 1 << 3,
GTK_EVENT_CONTROLLER_SCROLL_BOTH_AXES = (GTK_EVENT_CONTROLLER_SCROLL_VERTICAL | GTK_EVENT_CONTROLLER_SCROLL_HORIZONTAL),
} GtkEventControllerScrollFlags;
gtk_event_controller_scroll_get_type
GType
void
gtk_event_controller_scroll_new
GtkEventController *
GtkEventControllerScrollFlags flags
gtk_event_controller_scroll_set_flags
void
GtkEventControllerScroll *scroll, GtkEventControllerScrollFlags flags
gtk_event_controller_scroll_get_flags
GtkEventControllerScrollFlags
GtkEventControllerScroll *scroll
GtkEventControllerScroll
GtkEventControllerScrollClass
GTK_TYPE_EXPANDER
#define GTK_TYPE_EXPANDER (gtk_expander_get_type ())
GTK_EXPANDER
#define GTK_EXPANDER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_EXPANDER, GtkExpander))
GTK_IS_EXPANDER
#define GTK_IS_EXPANDER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_EXPANDER))
gtk_expander_get_type
GType
void
gtk_expander_new
GtkWidget *
const gchar *label
gtk_expander_new_with_mnemonic
GtkWidget *
const gchar *label
gtk_expander_set_expanded
void
GtkExpander *expander, gboolean expanded
gtk_expander_get_expanded
gboolean
GtkExpander *expander
gtk_expander_set_label
void
GtkExpander *expander, const gchar *label
gtk_expander_get_label
const gchar *
GtkExpander *expander
gtk_expander_set_use_underline
void
GtkExpander *expander, gboolean use_underline
gtk_expander_get_use_underline
gboolean
GtkExpander *expander
gtk_expander_set_use_markup
void
GtkExpander *expander, gboolean use_markup
gtk_expander_get_use_markup
gboolean
GtkExpander *expander
gtk_expander_set_label_widget
void
GtkExpander *expander, GtkWidget *label_widget
gtk_expander_get_label_widget
GtkWidget *
GtkExpander *expander
gtk_expander_set_resize_toplevel
void
GtkExpander *expander, gboolean resize_toplevel
gtk_expander_get_resize_toplevel
gboolean
GtkExpander *expander
GtkExpander
GTK_TYPE_FILE_CHOOSER
#define GTK_TYPE_FILE_CHOOSER (gtk_file_chooser_get_type ())
GTK_FILE_CHOOSER
#define GTK_FILE_CHOOSER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_FILE_CHOOSER, GtkFileChooser))
GTK_IS_FILE_CHOOSER
#define GTK_IS_FILE_CHOOSER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_FILE_CHOOSER))
GtkFileChooserAction
typedef enum
{
GTK_FILE_CHOOSER_ACTION_OPEN,
GTK_FILE_CHOOSER_ACTION_SAVE,
GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER,
GTK_FILE_CHOOSER_ACTION_CREATE_FOLDER
} GtkFileChooserAction;
GtkFileChooserConfirmation
typedef enum
{
GTK_FILE_CHOOSER_CONFIRMATION_CONFIRM,
GTK_FILE_CHOOSER_CONFIRMATION_ACCEPT_FILENAME,
GTK_FILE_CHOOSER_CONFIRMATION_SELECT_AGAIN
} GtkFileChooserConfirmation;
gtk_file_chooser_get_type
GType
void
GTK_FILE_CHOOSER_ERROR
#define GTK_FILE_CHOOSER_ERROR (gtk_file_chooser_error_quark ())
GtkFileChooserError
typedef enum {
GTK_FILE_CHOOSER_ERROR_NONEXISTENT,
GTK_FILE_CHOOSER_ERROR_BAD_FILENAME,
GTK_FILE_CHOOSER_ERROR_ALREADY_EXISTS,
GTK_FILE_CHOOSER_ERROR_INCOMPLETE_HOSTNAME
} GtkFileChooserError;
gtk_file_chooser_error_quark
GQuark
void
gtk_file_chooser_set_action
void
GtkFileChooser *chooser, GtkFileChooserAction action
gtk_file_chooser_get_action
GtkFileChooserAction
GtkFileChooser *chooser
gtk_file_chooser_set_local_only
void
GtkFileChooser *chooser, gboolean local_only
gtk_file_chooser_get_local_only
gboolean
GtkFileChooser *chooser
gtk_file_chooser_set_select_multiple
void
GtkFileChooser *chooser, gboolean select_multiple
gtk_file_chooser_get_select_multiple
gboolean
GtkFileChooser *chooser
gtk_file_chooser_set_show_hidden
void
GtkFileChooser *chooser, gboolean show_hidden
gtk_file_chooser_get_show_hidden
gboolean
GtkFileChooser *chooser
gtk_file_chooser_set_do_overwrite_confirmation
void
GtkFileChooser *chooser, gboolean do_overwrite_confirmation
gtk_file_chooser_get_do_overwrite_confirmation
gboolean
GtkFileChooser *chooser
gtk_file_chooser_set_create_folders
void
GtkFileChooser *chooser, gboolean create_folders
gtk_file_chooser_get_create_folders
gboolean
GtkFileChooser *chooser
gtk_file_chooser_set_current_name
void
GtkFileChooser *chooser, const gchar *name
gtk_file_chooser_get_current_name
gchar *
GtkFileChooser *chooser
gtk_file_chooser_get_filename
gchar *
GtkFileChooser *chooser
gtk_file_chooser_set_filename
gboolean
GtkFileChooser *chooser, const char *filename
gtk_file_chooser_select_filename
gboolean
GtkFileChooser *chooser, const char *filename
gtk_file_chooser_unselect_filename
void
GtkFileChooser *chooser, const char *filename
gtk_file_chooser_select_all
void
GtkFileChooser *chooser
gtk_file_chooser_unselect_all
void
GtkFileChooser *chooser
gtk_file_chooser_get_filenames
GSList *
GtkFileChooser *chooser
gtk_file_chooser_set_current_folder
gboolean
GtkFileChooser *chooser, const gchar *filename
gtk_file_chooser_get_current_folder
gchar *
GtkFileChooser *chooser
gtk_file_chooser_get_uri
gchar *
GtkFileChooser *chooser
gtk_file_chooser_set_uri
gboolean
GtkFileChooser *chooser, const char *uri
gtk_file_chooser_select_uri
gboolean
GtkFileChooser *chooser, const char *uri
gtk_file_chooser_unselect_uri
void
GtkFileChooser *chooser, const char *uri
gtk_file_chooser_get_uris
GSList *
GtkFileChooser *chooser
gtk_file_chooser_set_current_folder_uri
gboolean
GtkFileChooser *chooser, const gchar *uri
gtk_file_chooser_get_current_folder_uri
gchar *
GtkFileChooser *chooser
gtk_file_chooser_get_file
GFile *
GtkFileChooser *chooser
gtk_file_chooser_set_file
gboolean
GtkFileChooser *chooser, GFile *file, GError **error
gtk_file_chooser_select_file
gboolean
GtkFileChooser *chooser, GFile *file, GError **error
gtk_file_chooser_unselect_file
void
GtkFileChooser *chooser, GFile *file
gtk_file_chooser_get_files
GSList *
GtkFileChooser *chooser
gtk_file_chooser_set_current_folder_file
gboolean
GtkFileChooser *chooser, GFile *file, GError **error
gtk_file_chooser_get_current_folder_file
GFile *
GtkFileChooser *chooser
gtk_file_chooser_set_preview_widget
void
GtkFileChooser *chooser, GtkWidget *preview_widget
gtk_file_chooser_get_preview_widget
GtkWidget *
GtkFileChooser *chooser
gtk_file_chooser_set_preview_widget_active
void
GtkFileChooser *chooser, gboolean active
gtk_file_chooser_get_preview_widget_active
gboolean
GtkFileChooser *chooser
gtk_file_chooser_set_use_preview_label
void
GtkFileChooser *chooser, gboolean use_label
gtk_file_chooser_get_use_preview_label
gboolean
GtkFileChooser *chooser
gtk_file_chooser_get_preview_filename
char *
GtkFileChooser *chooser
gtk_file_chooser_get_preview_uri
char *
GtkFileChooser *chooser
gtk_file_chooser_get_preview_file
GFile *
GtkFileChooser *chooser
gtk_file_chooser_set_extra_widget
void
GtkFileChooser *chooser, GtkWidget *extra_widget
gtk_file_chooser_get_extra_widget
GtkWidget *
GtkFileChooser *chooser
gtk_file_chooser_add_filter
void
GtkFileChooser *chooser, GtkFileFilter *filter
gtk_file_chooser_remove_filter
void
GtkFileChooser *chooser, GtkFileFilter *filter
gtk_file_chooser_list_filters
GSList *
GtkFileChooser *chooser
gtk_file_chooser_set_filter
void
GtkFileChooser *chooser, GtkFileFilter *filter
gtk_file_chooser_get_filter
GtkFileFilter *
GtkFileChooser *chooser
gtk_file_chooser_add_shortcut_folder
gboolean
GtkFileChooser *chooser, const char *folder, GError **error
gtk_file_chooser_remove_shortcut_folder
gboolean
GtkFileChooser *chooser, const char *folder, GError **error
gtk_file_chooser_list_shortcut_folders
GSList *
GtkFileChooser *chooser
gtk_file_chooser_add_shortcut_folder_uri
gboolean
GtkFileChooser *chooser, const char *uri, GError **error
gtk_file_chooser_remove_shortcut_folder_uri
gboolean
GtkFileChooser *chooser, const char *uri, GError **error
gtk_file_chooser_list_shortcut_folder_uris
GSList *
GtkFileChooser *chooser
gtk_file_chooser_add_choice
void
GtkFileChooser *chooser, const char *id, const char *label, const char **options, const char **option_labels
gtk_file_chooser_remove_choice
void
GtkFileChooser *chooser, const char *id
gtk_file_chooser_set_choice
void
GtkFileChooser *chooser, const char *id, const char *option
gtk_file_chooser_get_choice
const char *
GtkFileChooser *chooser, const char *id
GtkFileChooser
GTK_TYPE_FILE_CHOOSER_BUTTON
#define GTK_TYPE_FILE_CHOOSER_BUTTON (gtk_file_chooser_button_get_type ())
GTK_FILE_CHOOSER_BUTTON
#define GTK_FILE_CHOOSER_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_FILE_CHOOSER_BUTTON, GtkFileChooserButton))
GTK_IS_FILE_CHOOSER_BUTTON
#define GTK_IS_FILE_CHOOSER_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_FILE_CHOOSER_BUTTON))
gtk_file_chooser_button_get_type
GType
void
gtk_file_chooser_button_new
GtkWidget *
const gchar *title, GtkFileChooserAction action
gtk_file_chooser_button_new_with_dialog
GtkWidget *
GtkWidget *dialog
gtk_file_chooser_button_get_title
const gchar *
GtkFileChooserButton *button
gtk_file_chooser_button_set_title
void
GtkFileChooserButton *button, const gchar *title
gtk_file_chooser_button_get_width_chars
gint
GtkFileChooserButton *button
gtk_file_chooser_button_set_width_chars
void
GtkFileChooserButton *button, gint n_chars
GtkFileChooserButton
GTK_TYPE_FILE_CHOOSER_DIALOG
#define GTK_TYPE_FILE_CHOOSER_DIALOG (gtk_file_chooser_dialog_get_type ())
GTK_FILE_CHOOSER_DIALOG
#define GTK_FILE_CHOOSER_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_FILE_CHOOSER_DIALOG, GtkFileChooserDialog))
GTK_IS_FILE_CHOOSER_DIALOG
#define GTK_IS_FILE_CHOOSER_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_FILE_CHOOSER_DIALOG))
gtk_file_chooser_dialog_get_type
GType
void
gtk_file_chooser_dialog_new
GtkWidget *
const gchar *title, GtkWindow *parent, GtkFileChooserAction action, const gchar *first_button_text, ...
GtkFileChooserDialog
GTK_TYPE_FILE_CHOOSER_EMBED
#define GTK_TYPE_FILE_CHOOSER_EMBED (_gtk_file_chooser_embed_get_type ())
GTK_FILE_CHOOSER_EMBED
#define GTK_FILE_CHOOSER_EMBED(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_FILE_CHOOSER_EMBED, GtkFileChooserEmbed))
GTK_IS_FILE_CHOOSER_EMBED
#define GTK_IS_FILE_CHOOSER_EMBED(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_FILE_CHOOSER_EMBED))
GTK_FILE_CHOOSER_EMBED_GET_IFACE
#define GTK_FILE_CHOOSER_EMBED_GET_IFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), GTK_TYPE_FILE_CHOOSER_EMBED, GtkFileChooserEmbedIface))
GtkFileChooserEmbedIface
struct _GtkFileChooserEmbedIface
{
GTypeInterface base_iface;
/* Methods
*/
gboolean (*should_respond) (GtkFileChooserEmbed *chooser_embed);
void (*initial_focus) (GtkFileChooserEmbed *chooser_embed);
/* Signals
*/
void (*response_requested) (GtkFileChooserEmbed *chooser_embed);
};
GtkFileChooserEmbed
GTK_TYPE_FILE_CHOOSER_ENTRY
#define GTK_TYPE_FILE_CHOOSER_ENTRY (_gtk_file_chooser_entry_get_type ())
GTK_FILE_CHOOSER_ENTRY
#define GTK_FILE_CHOOSER_ENTRY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_FILE_CHOOSER_ENTRY, GtkFileChooserEntry))
GTK_IS_FILE_CHOOSER_ENTRY
#define GTK_IS_FILE_CHOOSER_ENTRY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_FILE_CHOOSER_ENTRY))
GtkFileChooserEntry
GTK_TYPE_FILE_CHOOSER_NATIVE
#define GTK_TYPE_FILE_CHOOSER_NATIVE (gtk_file_chooser_native_get_type ())
gtk_file_chooser_native_new
GtkFileChooserNative *
const gchar *title, GtkWindow *parent, GtkFileChooserAction action, const gchar *accept_label, const gchar *cancel_label
gtk_file_chooser_native_get_accept_label
const char *
GtkFileChooserNative *self
gtk_file_chooser_native_set_accept_label
void
GtkFileChooserNative *self, const char *accept_label
gtk_file_chooser_native_get_cancel_label
const char *
GtkFileChooserNative *self
gtk_file_chooser_native_set_cancel_label
void
GtkFileChooserNative *self, const char *cancel_label
GtkFileChooserNative
GTK_FILE_CHOOSER_DELEGATE_QUARK
#define GTK_FILE_CHOOSER_DELEGATE_QUARK (_gtk_file_chooser_delegate_get_quark ())
GtkFileChooserProp
typedef enum {
GTK_FILE_CHOOSER_PROP_FIRST = 0x1000,
GTK_FILE_CHOOSER_PROP_ACTION = GTK_FILE_CHOOSER_PROP_FIRST,
GTK_FILE_CHOOSER_PROP_FILTER,
GTK_FILE_CHOOSER_PROP_LOCAL_ONLY,
GTK_FILE_CHOOSER_PROP_PREVIEW_WIDGET,
GTK_FILE_CHOOSER_PROP_PREVIEW_WIDGET_ACTIVE,
GTK_FILE_CHOOSER_PROP_USE_PREVIEW_LABEL,
GTK_FILE_CHOOSER_PROP_EXTRA_WIDGET,
GTK_FILE_CHOOSER_PROP_SELECT_MULTIPLE,
GTK_FILE_CHOOSER_PROP_SHOW_HIDDEN,
GTK_FILE_CHOOSER_PROP_DO_OVERWRITE_CONFIRMATION,
GTK_FILE_CHOOSER_PROP_CREATE_FOLDERS,
GTK_FILE_CHOOSER_PROP_LAST = GTK_FILE_CHOOSER_PROP_CREATE_FOLDERS
} GtkFileChooserProp;
GTK_TYPE_FILE_CHOOSER_WIDGET
#define GTK_TYPE_FILE_CHOOSER_WIDGET (gtk_file_chooser_widget_get_type ())
GTK_FILE_CHOOSER_WIDGET
#define GTK_FILE_CHOOSER_WIDGET(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_FILE_CHOOSER_WIDGET, GtkFileChooserWidget))
GTK_IS_FILE_CHOOSER_WIDGET
#define GTK_IS_FILE_CHOOSER_WIDGET(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_FILE_CHOOSER_WIDGET))
gtk_file_chooser_widget_get_type
GType
void
gtk_file_chooser_widget_new
GtkWidget *
GtkFileChooserAction action
GtkFileChooserWidget
GTK_TYPE_FILE_FILTER
#define GTK_TYPE_FILE_FILTER (gtk_file_filter_get_type ())
GTK_FILE_FILTER
#define GTK_FILE_FILTER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_FILE_FILTER, GtkFileFilter))
GTK_IS_FILE_FILTER
#define GTK_IS_FILE_FILTER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_FILE_FILTER))
GtkFileFilterFlags
typedef enum {
GTK_FILE_FILTER_FILENAME = 1 << 0,
GTK_FILE_FILTER_URI = 1 << 1,
GTK_FILE_FILTER_DISPLAY_NAME = 1 << 2,
GTK_FILE_FILTER_MIME_TYPE = 1 << 3
} GtkFileFilterFlags;
GtkFileFilterFunc
gboolean
const GtkFileFilterInfo *filter_info, gpointer data
GtkFileFilterInfo
struct _GtkFileFilterInfo
{
GtkFileFilterFlags contains;
const gchar *filename;
const gchar *uri;
const gchar *display_name;
const gchar *mime_type;
};
gtk_file_filter_get_type
GType
void
gtk_file_filter_new
GtkFileFilter *
void
gtk_file_filter_set_name
void
GtkFileFilter *filter, const gchar *name
gtk_file_filter_get_name
const gchar *
GtkFileFilter *filter
gtk_file_filter_add_mime_type
void
GtkFileFilter *filter, const gchar *mime_type
gtk_file_filter_add_pattern
void
GtkFileFilter *filter, const gchar *pattern
gtk_file_filter_add_pixbuf_formats
void
GtkFileFilter *filter
gtk_file_filter_add_custom
void
GtkFileFilter *filter, GtkFileFilterFlags needed, GtkFileFilterFunc func, gpointer data, GDestroyNotify notify
gtk_file_filter_get_needed
GtkFileFilterFlags
GtkFileFilter *filter
gtk_file_filter_filter
gboolean
GtkFileFilter *filter, const GtkFileFilterInfo *filter_info
gtk_file_filter_to_gvariant
GVariant *
GtkFileFilter *filter
gtk_file_filter_new_from_gvariant
GtkFileFilter *
GVariant *variant
GtkFileFilter
GTK_TYPE_FILE_SYSTEM
#define GTK_TYPE_FILE_SYSTEM (_gtk_file_system_get_type ())
GTK_FILE_SYSTEM
#define GTK_FILE_SYSTEM(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GTK_TYPE_FILE_SYSTEM, GtkFileSystem))
GTK_FILE_SYSTEM_CLASS
#define GTK_FILE_SYSTEM_CLASS(c) (G_TYPE_CHECK_CLASS_CAST ((c), GTK_TYPE_FILE_SYSTEM, GtkFileSystemClass))
GTK_IS_FILE_SYSTEM
#define GTK_IS_FILE_SYSTEM(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GTK_TYPE_FILE_SYSTEM))
GTK_IS_FILE_SYSTEM_CLASS
#define GTK_IS_FILE_SYSTEM_CLASS(c) (G_TYPE_CHECK_CLASS_TYPE ((c), GTK_TYPE_FILE_SYSTEM))
GTK_FILE_SYSTEM_GET_CLASS
#define GTK_FILE_SYSTEM_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GTK_TYPE_FILE_SYSTEM, GtkFileSystemClass))
GtkFileSystem
typedef struct GtkFileSystem GtkFileSystem;
GtkFileSystemPrivate
typedef struct GtkFileSystemPrivate GtkFileSystemPrivate;
GtkFileSystemClass
typedef struct GtkFileSystemClass GtkFileSystemClass;
GtkFileSystemVolume
typedef struct GtkFileSystemVolume GtkFileSystemVolume; /* opaque struct */
GtkFileSystemGetInfoCallback
void
GCancellable *cancellable, GFileInfo *file_info, const GError *error, gpointer data
GtkFileSystemVolumeMountCallback
void
GCancellable *cancellable, GtkFileSystemVolume *volume, const GError *error, gpointer data
GTK_TYPE_FILE_SYSTEM_MODEL
#define GTK_TYPE_FILE_SYSTEM_MODEL (_gtk_file_system_model_get_type ())
GTK_FILE_SYSTEM_MODEL
#define GTK_FILE_SYSTEM_MODEL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_FILE_SYSTEM_MODEL, GtkFileSystemModel))
GTK_IS_FILE_SYSTEM_MODEL
#define GTK_IS_FILE_SYSTEM_MODEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_FILE_SYSTEM_MODEL))
GtkFileSystemModelGetValue
gboolean
GtkFileSystemModel *model, GFile *file, GFileInfo *info, int column, GValue *value, gpointer user_data
GtkFileSystemModel
GTK_TYPE_FILTER_LIST_MODEL
#define GTK_TYPE_FILTER_LIST_MODEL (gtk_filter_list_model_get_type ())
GtkFilterListModelFilterFunc
gboolean
gpointer item, gpointer user_data
gtk_filter_list_model_new
GtkFilterListModel *
GListModel *model, GtkFilterListModelFilterFunc filter_func, gpointer user_data, GDestroyNotify user_destroy
gtk_filter_list_model_new_for_type
GtkFilterListModel *
GType item_type
gtk_filter_list_model_set_filter_func
void
GtkFilterListModel *self, GtkFilterListModelFilterFunc filter_func, gpointer user_data, GDestroyNotify user_destroy
gtk_filter_list_model_set_model
void
GtkFilterListModel *self, GListModel *model
gtk_filter_list_model_get_model
GListModel *
GtkFilterListModel *self
gtk_filter_list_model_has_filter
gboolean
GtkFilterListModel *self
gtk_filter_list_model_refilter
void
GtkFilterListModel *self
GtkFilterListModel
GTK_TYPE_FIXED
#define GTK_TYPE_FIXED (gtk_fixed_get_type ())
GTK_FIXED
#define GTK_FIXED(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_FIXED, GtkFixed))
GTK_FIXED_CLASS
#define GTK_FIXED_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_FIXED, GtkFixedClass))
GTK_IS_FIXED
#define GTK_IS_FIXED(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_FIXED))
GTK_IS_FIXED_CLASS
#define GTK_IS_FIXED_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_FIXED))
GTK_FIXED_GET_CLASS
#define GTK_FIXED_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_FIXED, GtkFixedClass))
GtkFixed
struct _GtkFixed
{
GtkContainer parent_instance;
};
GtkFixedClass
struct _GtkFixedClass
{
GtkContainerClass parent_class;
/*< private >*/
gpointer padding[8];
};
gtk_fixed_get_type
GType
void
gtk_fixed_new
GtkWidget *
void
gtk_fixed_put
void
GtkFixed *fixed, GtkWidget *widget, gint x, gint y
gtk_fixed_move
void
GtkFixed *fixed, GtkWidget *widget, gint x, gint y
gtk_fixed_get_child_position
void
GtkFixed *fixed, GtkWidget *widget, gint *x, gint *y
gtk_fixed_set_child_transform
void
GtkFixed *fixed, GtkWidget *widget, GskTransform *transform
gtk_fixed_get_child_transform
GskTransform *
GtkFixed *fixed, GtkWidget *widget
GTK_TYPE_FIXED_LAYOUT
#define GTK_TYPE_FIXED_LAYOUT (gtk_fixed_layout_get_type ())
GTK_TYPE_FIXED_LAYOUT_CHILD
#define GTK_TYPE_FIXED_LAYOUT_CHILD (gtk_fixed_layout_child_get_type ())
gtk_fixed_layout_new
GtkLayoutManager *
void
gtk_fixed_layout_child_set_transform
void
GtkFixedLayoutChild *child, GskTransform *transform
gtk_fixed_layout_child_get_transform
GskTransform *
GtkFixedLayoutChild *child
GtkFixedLayout
GtkFixedLayoutChild
GTK_TYPE_FLATTEN_LIST_MODEL
#define GTK_TYPE_FLATTEN_LIST_MODEL (gtk_flatten_list_model_get_type ())
gtk_flatten_list_model_new
GtkFlattenListModel *
GType item_type, GListModel *model
gtk_flatten_list_model_set_model
void
GtkFlattenListModel *self, GListModel *model
gtk_flatten_list_model_get_model
GListModel *
GtkFlattenListModel *self
GtkFlattenListModel
GTK_TYPE_FLOW_BOX
#define GTK_TYPE_FLOW_BOX (gtk_flow_box_get_type ())
GTK_FLOW_BOX
#define GTK_FLOW_BOX(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_FLOW_BOX, GtkFlowBox))
GTK_IS_FLOW_BOX
#define GTK_IS_FLOW_BOX(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_FLOW_BOX))
GTK_TYPE_FLOW_BOX_CHILD
#define GTK_TYPE_FLOW_BOX_CHILD (gtk_flow_box_child_get_type ())
GTK_FLOW_BOX_CHILD
#define GTK_FLOW_BOX_CHILD(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_FLOW_BOX_CHILD, GtkFlowBoxChild))
GTK_FLOW_BOX_CHILD_CLASS
#define GTK_FLOW_BOX_CHILD_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_FLOW_BOX_CHILD, GtkFlowBoxChildClass))
GTK_IS_FLOW_BOX_CHILD
#define GTK_IS_FLOW_BOX_CHILD(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_FLOW_BOX_CHILD))
GTK_IS_FLOW_BOX_CHILD_CLASS
#define GTK_IS_FLOW_BOX_CHILD_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_FLOW_BOX_CHILD))
GTK_FLOW_BOX_CHILD_GET_CLASS
#define GTK_FLOW_BOX_CHILD_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), EG_TYPE_FLOW_BOX_CHILD, GtkFlowBoxChildClass))
GtkFlowBoxChild
struct _GtkFlowBoxChild
{
GtkBin parent_instance;
};
GtkFlowBoxChildClass
struct _GtkFlowBoxChildClass
{
GtkBinClass parent_class;
void (* activate) (GtkFlowBoxChild *child);
gpointer padding[8];
};
GtkFlowBoxCreateWidgetFunc
GtkWidget *
gpointer item, gpointer user_data
gtk_flow_box_child_get_type
GType
void
gtk_flow_box_child_new
GtkWidget *
void
gtk_flow_box_child_get_index
gint
GtkFlowBoxChild *child
gtk_flow_box_child_is_selected
gboolean
GtkFlowBoxChild *child
gtk_flow_box_child_changed
void
GtkFlowBoxChild *child
gtk_flow_box_get_type
GType
void
gtk_flow_box_new
GtkWidget *
void
gtk_flow_box_bind_model
void
GtkFlowBox *box, GListModel *model, GtkFlowBoxCreateWidgetFunc create_widget_func, gpointer user_data, GDestroyNotify user_data_free_func
gtk_flow_box_set_homogeneous
void
GtkFlowBox *box, gboolean homogeneous
gtk_flow_box_get_homogeneous
gboolean
GtkFlowBox *box
gtk_flow_box_set_row_spacing
void
GtkFlowBox *box, guint spacing
gtk_flow_box_get_row_spacing
guint
GtkFlowBox *box
gtk_flow_box_set_column_spacing
void
GtkFlowBox *box, guint spacing
gtk_flow_box_get_column_spacing
guint
GtkFlowBox *box
gtk_flow_box_set_min_children_per_line
void
GtkFlowBox *box, guint n_children
gtk_flow_box_get_min_children_per_line
guint
GtkFlowBox *box
gtk_flow_box_set_max_children_per_line
void
GtkFlowBox *box, guint n_children
gtk_flow_box_get_max_children_per_line
guint
GtkFlowBox *box
gtk_flow_box_set_activate_on_single_click
void
GtkFlowBox *box, gboolean single
gtk_flow_box_get_activate_on_single_click
gboolean
GtkFlowBox *box
gtk_flow_box_insert
void
GtkFlowBox *box, GtkWidget *widget, gint position
gtk_flow_box_get_child_at_index
GtkFlowBoxChild *
GtkFlowBox *box, gint idx
gtk_flow_box_get_child_at_pos
GtkFlowBoxChild *
GtkFlowBox *box, gint x, gint y
GtkFlowBoxForeachFunc
void
GtkFlowBox *box, GtkFlowBoxChild *child, gpointer user_data
gtk_flow_box_selected_foreach
void
GtkFlowBox *box, GtkFlowBoxForeachFunc func, gpointer data
gtk_flow_box_get_selected_children
GList *
GtkFlowBox *box
gtk_flow_box_select_child
void
GtkFlowBox *box, GtkFlowBoxChild *child
gtk_flow_box_unselect_child
void
GtkFlowBox *box, GtkFlowBoxChild *child
gtk_flow_box_select_all
void
GtkFlowBox *box
gtk_flow_box_unselect_all
void
GtkFlowBox *box
gtk_flow_box_set_selection_mode
void
GtkFlowBox *box, GtkSelectionMode mode
gtk_flow_box_get_selection_mode
GtkSelectionMode
GtkFlowBox *box
gtk_flow_box_set_hadjustment
void
GtkFlowBox *box, GtkAdjustment *adjustment
gtk_flow_box_set_vadjustment
void
GtkFlowBox *box, GtkAdjustment *adjustment
GtkFlowBoxFilterFunc
gboolean
GtkFlowBoxChild *child, gpointer user_data
gtk_flow_box_set_filter_func
void
GtkFlowBox *box, GtkFlowBoxFilterFunc filter_func, gpointer user_data, GDestroyNotify destroy
gtk_flow_box_invalidate_filter
void
GtkFlowBox *box
GtkFlowBoxSortFunc
gint
GtkFlowBoxChild *child1, GtkFlowBoxChild *child2, gpointer user_data
gtk_flow_box_set_sort_func
void
GtkFlowBox *box, GtkFlowBoxSortFunc sort_func, gpointer user_data, GDestroyNotify destroy
gtk_flow_box_invalidate_sort
void
GtkFlowBox *box
GtkFlowBox
GTK_TYPE_FONT_BUTTON
#define GTK_TYPE_FONT_BUTTON (gtk_font_button_get_type ())
GTK_FONT_BUTTON
#define GTK_FONT_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_FONT_BUTTON, GtkFontButton))
GTK_IS_FONT_BUTTON
#define GTK_IS_FONT_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_FONT_BUTTON))
gtk_font_button_get_type
GType
void
gtk_font_button_new
GtkWidget *
void
gtk_font_button_new_with_font
GtkWidget *
const gchar *fontname
gtk_font_button_get_title
const gchar *
GtkFontButton *font_button
gtk_font_button_set_title
void
GtkFontButton *font_button, const gchar *title
gtk_font_button_get_use_font
gboolean
GtkFontButton *font_button
gtk_font_button_set_use_font
void
GtkFontButton *font_button, gboolean use_font
gtk_font_button_get_use_size
gboolean
GtkFontButton *font_button
gtk_font_button_set_use_size
void
GtkFontButton *font_button, gboolean use_size
GtkFontButton
GtkFontFilterFunc
gboolean
const PangoFontFamily *family, const PangoFontFace *face, gpointer data
GtkFontChooserLevel
typedef enum {
GTK_FONT_CHOOSER_LEVEL_FAMILY = 0,
GTK_FONT_CHOOSER_LEVEL_STYLE = 1 << 0,
GTK_FONT_CHOOSER_LEVEL_SIZE = 1 << 1,
GTK_FONT_CHOOSER_LEVEL_VARIATIONS = 1 << 2,
GTK_FONT_CHOOSER_LEVEL_FEATURES = 1 << 3
} GtkFontChooserLevel;
GTK_TYPE_FONT_CHOOSER
#define GTK_TYPE_FONT_CHOOSER (gtk_font_chooser_get_type ())
GTK_FONT_CHOOSER
#define GTK_FONT_CHOOSER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_FONT_CHOOSER, GtkFontChooser))
GTK_IS_FONT_CHOOSER
#define GTK_IS_FONT_CHOOSER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_FONT_CHOOSER))
GTK_FONT_CHOOSER_GET_IFACE
#define GTK_FONT_CHOOSER_GET_IFACE(inst) (G_TYPE_INSTANCE_GET_INTERFACE ((inst), GTK_TYPE_FONT_CHOOSER, GtkFontChooserIface))
GtkFontChooserIface
struct _GtkFontChooserIface
{
GTypeInterface base_iface;
/* Methods */
PangoFontFamily * (* get_font_family) (GtkFontChooser *fontchooser);
PangoFontFace * (* get_font_face) (GtkFontChooser *fontchooser);
gint (* get_font_size) (GtkFontChooser *fontchooser);
void (* set_filter_func) (GtkFontChooser *fontchooser,
GtkFontFilterFunc filter,
gpointer user_data,
GDestroyNotify destroy);
/* Signals */
void (* font_activated) (GtkFontChooser *chooser,
const gchar *fontname);
/* More methods */
void (* set_font_map) (GtkFontChooser *fontchooser,
PangoFontMap *fontmap);
PangoFontMap * (* get_font_map) (GtkFontChooser *fontchooser);
/* Padding */
gpointer padding[10];
};
gtk_font_chooser_get_type
GType
void
gtk_font_chooser_get_font_family
PangoFontFamily *
GtkFontChooser *fontchooser
gtk_font_chooser_get_font_face
PangoFontFace *
GtkFontChooser *fontchooser
gtk_font_chooser_get_font_size
gint
GtkFontChooser *fontchooser
gtk_font_chooser_get_font_desc
PangoFontDescription *
GtkFontChooser *fontchooser
gtk_font_chooser_set_font_desc
void
GtkFontChooser *fontchooser, const PangoFontDescription *font_desc
gtk_font_chooser_get_font
gchar *
GtkFontChooser *fontchooser
gtk_font_chooser_set_font
void
GtkFontChooser *fontchooser, const gchar *fontname
gtk_font_chooser_get_preview_text
gchar *
GtkFontChooser *fontchooser
gtk_font_chooser_set_preview_text
void
GtkFontChooser *fontchooser, const gchar *text
gtk_font_chooser_get_show_preview_entry
gboolean
GtkFontChooser *fontchooser
gtk_font_chooser_set_show_preview_entry
void
GtkFontChooser *fontchooser, gboolean show_preview_entry
gtk_font_chooser_set_filter_func
void
GtkFontChooser *fontchooser, GtkFontFilterFunc filter, gpointer user_data, GDestroyNotify destroy
gtk_font_chooser_set_font_map
void
GtkFontChooser *fontchooser, PangoFontMap *fontmap
gtk_font_chooser_get_font_map
PangoFontMap *
GtkFontChooser *fontchooser
gtk_font_chooser_set_level
void
GtkFontChooser *fontchooser, GtkFontChooserLevel level
gtk_font_chooser_get_level
GtkFontChooserLevel
GtkFontChooser *fontchooser
gtk_font_chooser_get_font_features
char *
GtkFontChooser *fontchooser
gtk_font_chooser_get_language
char *
GtkFontChooser *fontchooser
gtk_font_chooser_set_language
void
GtkFontChooser *fontchooser, const char *language
GtkFontChooser
GTK_TYPE_FONT_CHOOSER_DIALOG
#define GTK_TYPE_FONT_CHOOSER_DIALOG (gtk_font_chooser_dialog_get_type ())
GTK_FONT_CHOOSER_DIALOG
#define GTK_FONT_CHOOSER_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_FONT_CHOOSER_DIALOG, GtkFontChooserDialog))
GTK_IS_FONT_CHOOSER_DIALOG
#define GTK_IS_FONT_CHOOSER_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_FONT_CHOOSER_DIALOG))
gtk_font_chooser_dialog_get_type
GType
void
gtk_font_chooser_dialog_new
GtkWidget *
const gchar *title, GtkWindow *parent
GtkFontChooserDialog
GTK_FONT_CHOOSER_DELEGATE_QUARK
#define GTK_FONT_CHOOSER_DELEGATE_QUARK (_gtk_font_chooser_delegate_get_quark ())
GtkFontChooserProp
typedef enum {
GTK_FONT_CHOOSER_PROP_FIRST = 0x4000,
GTK_FONT_CHOOSER_PROP_FONT,
GTK_FONT_CHOOSER_PROP_FONT_DESC,
GTK_FONT_CHOOSER_PROP_PREVIEW_TEXT,
GTK_FONT_CHOOSER_PROP_SHOW_PREVIEW_ENTRY,
GTK_FONT_CHOOSER_PROP_LEVEL,
GTK_FONT_CHOOSER_PROP_FONT_FEATURES,
GTK_FONT_CHOOSER_PROP_LANGUAGE,
GTK_FONT_CHOOSER_PROP_LAST
} GtkFontChooserProp;
GTK_TYPE_FONT_CHOOSER_WIDGET
#define GTK_TYPE_FONT_CHOOSER_WIDGET (gtk_font_chooser_widget_get_type ())
GTK_FONT_CHOOSER_WIDGET
#define GTK_FONT_CHOOSER_WIDGET(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_FONT_CHOOSER_WIDGET, GtkFontChooserWidget))
GTK_IS_FONT_CHOOSER_WIDGET
#define GTK_IS_FONT_CHOOSER_WIDGET(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_FONT_CHOOSER_WIDGET))
gtk_font_chooser_widget_get_type
GType
void
gtk_font_chooser_widget_new
GtkWidget *
void
GtkFontChooserWidget
GTK_TYPE_FRAME
#define GTK_TYPE_FRAME (gtk_frame_get_type ())
GTK_FRAME
#define GTK_FRAME(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_FRAME, GtkFrame))
GTK_FRAME_CLASS
#define GTK_FRAME_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_FRAME, GtkFrameClass))
GTK_IS_FRAME
#define GTK_IS_FRAME(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_FRAME))
GTK_IS_FRAME_CLASS
#define GTK_IS_FRAME_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_FRAME))
GTK_FRAME_GET_CLASS
#define GTK_FRAME_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_FRAME, GtkFrameClass))
GtkFrame
struct _GtkFrame
{
GtkBin parent_instance;
};
GtkFrameClass
struct _GtkFrameClass
{
GtkBinClass parent_class;
/*< public >*/
void (*compute_child_allocation) (GtkFrame *frame,
GtkAllocation *allocation);
/*< private >*/
gpointer padding[8];
};
gtk_frame_get_type
GType
void
gtk_frame_new
GtkWidget *
const gchar *label
gtk_frame_set_label
void
GtkFrame *frame, const gchar *label
gtk_frame_get_label
const gchar *
GtkFrame *frame
gtk_frame_set_label_widget
void
GtkFrame *frame, GtkWidget *label_widget
gtk_frame_get_label_widget
GtkWidget *
GtkFrame *frame
gtk_frame_set_label_align
void
GtkFrame *frame, gfloat xalign
gtk_frame_get_label_align
gfloat
GtkFrame *frame
gtk_frame_set_shadow_type
void
GtkFrame *frame, GtkShadowType type
gtk_frame_get_shadow_type
GtkShadowType
GtkFrame *frame
GTK_TYPE_GESTURE
#define GTK_TYPE_GESTURE (gtk_gesture_get_type ())
GTK_GESTURE
#define GTK_GESTURE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GTK_TYPE_GESTURE, GtkGesture))
GTK_GESTURE_CLASS
#define GTK_GESTURE_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GTK_TYPE_GESTURE, GtkGestureClass))
GTK_IS_GESTURE
#define GTK_IS_GESTURE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GTK_TYPE_GESTURE))
GTK_IS_GESTURE_CLASS
#define GTK_IS_GESTURE_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GTK_TYPE_GESTURE))
GTK_GESTURE_GET_CLASS
#define GTK_GESTURE_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GTK_TYPE_GESTURE, GtkGestureClass))
gtk_gesture_get_type
GType
void
gtk_gesture_get_device
GdkDevice *
GtkGesture *gesture
gtk_gesture_set_state
gboolean
GtkGesture *gesture, GtkEventSequenceState state
gtk_gesture_get_sequence_state
GtkEventSequenceState
GtkGesture *gesture, GdkEventSequence *sequence
gtk_gesture_set_sequence_state
gboolean
GtkGesture *gesture, GdkEventSequence *sequence, GtkEventSequenceState state
gtk_gesture_get_sequences
GList *
GtkGesture *gesture
gtk_gesture_get_last_updated_sequence
GdkEventSequence *
GtkGesture *gesture
gtk_gesture_handles_sequence
gboolean
GtkGesture *gesture, GdkEventSequence *sequence
gtk_gesture_get_last_event
const GdkEvent *
GtkGesture *gesture, GdkEventSequence *sequence
gtk_gesture_get_point
gboolean
GtkGesture *gesture, GdkEventSequence *sequence, gdouble *x, gdouble *y
gtk_gesture_get_bounding_box
gboolean
GtkGesture *gesture, GdkRectangle *rect
gtk_gesture_get_bounding_box_center
gboolean
GtkGesture *gesture, gdouble *x, gdouble *y
gtk_gesture_is_active
gboolean
GtkGesture *gesture
gtk_gesture_is_recognized
gboolean
GtkGesture *gesture
gtk_gesture_group
void
GtkGesture *group_gesture, GtkGesture *gesture
gtk_gesture_ungroup
void
GtkGesture *gesture
gtk_gesture_get_group
GList *
GtkGesture *gesture
gtk_gesture_is_grouped_with
gboolean
GtkGesture *gesture, GtkGesture *other
GtkGestureClass
GTK_TYPE_GESTURE_CLICK
#define GTK_TYPE_GESTURE_CLICK (gtk_gesture_click_get_type ())
GTK_GESTURE_CLICK
#define GTK_GESTURE_CLICK(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GTK_TYPE_GESTURE_CLICK, GtkGestureClick))
GTK_GESTURE_CLICK_CLASS
#define GTK_GESTURE_CLICK_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GTK_TYPE_GESTURE_CLICK, GtkGestureClickClass))
GTK_IS_GESTURE_CLICK
#define GTK_IS_GESTURE_CLICK(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GTK_TYPE_GESTURE_CLICK))
GTK_IS_GESTURE_CLICK_CLASS
#define GTK_IS_GESTURE_CLICK_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GTK_TYPE_GESTURE_CLICK))
GTK_GESTURE_CLICK_GET_CLASS
#define GTK_GESTURE_CLICK_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GTK_TYPE_GESTURE_CLICK, GtkGestureClickClass))
gtk_gesture_click_get_type
GType
void
gtk_gesture_click_new
GtkGesture *
void
gtk_gesture_click_set_area
void
GtkGestureClick *gesture, const GdkRectangle *rect
gtk_gesture_click_get_area
gboolean
GtkGestureClick *gesture, GdkRectangle *rect
GtkGestureClick
GtkGestureClickClass
GtkGestureClick
struct _GtkGestureClick
{
GtkGestureSingle parent_instance;
};
GtkGestureClickClass
struct _GtkGestureClickClass
{
GtkGestureSingleClass parent_class;
void (* pressed) (GtkGestureClick *gesture,
gint n_press,
gdouble x,
gdouble y);
void (* released) (GtkGestureClick *gesture,
gint n_press,
gdouble x,
gdouble y);
void (* stopped) (GtkGestureClick *gesture);
/**/
gpointer padding[10];
};
GTK_TYPE_GESTURE_DRAG
#define GTK_TYPE_GESTURE_DRAG (gtk_gesture_drag_get_type ())
GTK_GESTURE_DRAG
#define GTK_GESTURE_DRAG(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GTK_TYPE_GESTURE_DRAG, GtkGestureDrag))
GTK_GESTURE_DRAG_CLASS
#define GTK_GESTURE_DRAG_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GTK_TYPE_GESTURE_DRAG, GtkGestureDragClass))
GTK_IS_GESTURE_DRAG
#define GTK_IS_GESTURE_DRAG(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GTK_TYPE_GESTURE_DRAG))
GTK_IS_GESTURE_DRAG_CLASS
#define GTK_IS_GESTURE_DRAG_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GTK_TYPE_GESTURE_DRAG))
GTK_GESTURE_DRAG_GET_CLASS
#define GTK_GESTURE_DRAG_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GTK_TYPE_GESTURE_DRAG, GtkGestureDragClass))
gtk_gesture_drag_get_type
GType
void
gtk_gesture_drag_new
GtkGesture *
void
gtk_gesture_drag_get_start_point
gboolean
GtkGestureDrag *gesture, gdouble *x, gdouble *y
gtk_gesture_drag_get_offset
gboolean
GtkGestureDrag *gesture, gdouble *x, gdouble *y
GtkGestureDrag
GtkGestureDragClass
GTK_TYPE_GESTURE_LONG_PRESS
#define GTK_TYPE_GESTURE_LONG_PRESS (gtk_gesture_long_press_get_type ())
GTK_GESTURE_LONG_PRESS
#define GTK_GESTURE_LONG_PRESS(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GTK_TYPE_GESTURE_LONG_PRESS, GtkGestureLongPress))
GTK_GESTURE_LONG_PRESS_CLASS
#define GTK_GESTURE_LONG_PRESS_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GTK_TYPE_GESTURE_LONG_PRESS, GtkGestureLongPressClass))
GTK_IS_GESTURE_LONG_PRESS
#define GTK_IS_GESTURE_LONG_PRESS(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GTK_TYPE_GESTURE_LONG_PRESS))
GTK_IS_GESTURE_LONG_PRESS_CLASS
#define GTK_IS_GESTURE_LONG_PRESS_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GTK_TYPE_GESTURE_LONG_PRESS))
GTK_GESTURE_LONG_PRESS_GET_CLASS
#define GTK_GESTURE_LONG_PRESS_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GTK_TYPE_GESTURE_LONG_PRESS, GtkGestureLongPressClass))
gtk_gesture_long_press_get_type
GType
void
gtk_gesture_long_press_new
GtkGesture *
void
gtk_gesture_long_press_set_delay_factor
void
GtkGestureLongPress *gesture, double delay_factor
gtk_gesture_long_press_get_delay_factor
double
GtkGestureLongPress *gesture
GtkGestureLongPress
GtkGestureLongPressClass
GTK_TYPE_GESTURE_PAN
#define GTK_TYPE_GESTURE_PAN (gtk_gesture_pan_get_type ())
GTK_GESTURE_PAN
#define GTK_GESTURE_PAN(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GTK_TYPE_GESTURE_PAN, GtkGesturePan))
GTK_GESTURE_PAN_CLASS
#define GTK_GESTURE_PAN_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GTK_TYPE_GESTURE_PAN, GtkGesturePanClass))
GTK_IS_GESTURE_PAN
#define GTK_IS_GESTURE_PAN(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GTK_TYPE_GESTURE_PAN))
GTK_IS_GESTURE_PAN_CLASS
#define GTK_IS_GESTURE_PAN_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GTK_TYPE_GESTURE_PAN))
GTK_GESTURE_PAN_GET_CLASS
#define GTK_GESTURE_PAN_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GTK_TYPE_GESTURE_PAN, GtkGesturePanClass))
gtk_gesture_pan_get_type
GType
void
gtk_gesture_pan_new
GtkGesture *
GtkOrientation orientation
gtk_gesture_pan_get_orientation
GtkOrientation
GtkGesturePan *gesture
gtk_gesture_pan_set_orientation
void
GtkGesturePan *gesture, GtkOrientation orientation
GtkGesturePan
GtkGesturePanClass
GTK_TYPE_GESTURE_ROTATE
#define GTK_TYPE_GESTURE_ROTATE (gtk_gesture_rotate_get_type ())
GTK_GESTURE_ROTATE
#define GTK_GESTURE_ROTATE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GTK_TYPE_GESTURE_ROTATE, GtkGestureRotate))
GTK_GESTURE_ROTATE_CLASS
#define GTK_GESTURE_ROTATE_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GTK_TYPE_GESTURE_ROTATE, GtkGestureRotateClass))
GTK_IS_GESTURE_ROTATE
#define GTK_IS_GESTURE_ROTATE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GTK_TYPE_GESTURE_ROTATE))
GTK_IS_GESTURE_ROTATE_CLASS
#define GTK_IS_GESTURE_ROTATE_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GTK_TYPE_GESTURE_ROTATE))
GTK_GESTURE_ROTATE_GET_CLASS
#define GTK_GESTURE_ROTATE_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GTK_TYPE_GESTURE_ROTATE, GtkGestureRotateClass))
gtk_gesture_rotate_get_type
GType
void
gtk_gesture_rotate_new
GtkGesture *
void
gtk_gesture_rotate_get_angle_delta
gdouble
GtkGestureRotate *gesture
GtkGestureRotate
GtkGestureRotateClass
GTK_TYPE_GESTURE_SINGLE
#define GTK_TYPE_GESTURE_SINGLE (gtk_gesture_single_get_type ())
GTK_GESTURE_SINGLE
#define GTK_GESTURE_SINGLE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GTK_TYPE_GESTURE_SINGLE, GtkGestureSingle))
GTK_GESTURE_SINGLE_CLASS
#define GTK_GESTURE_SINGLE_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GTK_TYPE_GESTURE_SINGLE, GtkGestureSingleClass))
GTK_IS_GESTURE_SINGLE
#define GTK_IS_GESTURE_SINGLE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GTK_TYPE_GESTURE_SINGLE))
GTK_IS_GESTURE_SINGLE_CLASS
#define GTK_IS_GESTURE_SINGLE_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GTK_TYPE_GESTURE_SINGLE))
GTK_GESTURE_SINGLE_GET_CLASS
#define GTK_GESTURE_SINGLE_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GTK_TYPE_GESTURE_SINGLE, GtkGestureSingleClass))
gtk_gesture_single_get_type
GType
void
gtk_gesture_single_get_touch_only
gboolean
GtkGestureSingle *gesture
gtk_gesture_single_set_touch_only
void
GtkGestureSingle *gesture, gboolean touch_only
gtk_gesture_single_get_exclusive
gboolean
GtkGestureSingle *gesture
gtk_gesture_single_set_exclusive
void
GtkGestureSingle *gesture, gboolean exclusive
gtk_gesture_single_get_button
guint
GtkGestureSingle *gesture
gtk_gesture_single_set_button
void
GtkGestureSingle *gesture, guint button
gtk_gesture_single_get_current_button
guint
GtkGestureSingle *gesture
gtk_gesture_single_get_current_sequence
GdkEventSequence *
GtkGestureSingle *gesture
GtkGestureSingle
GtkGestureSingleClass
GTK_TYPE_GESTURE_STYLUS
#define GTK_TYPE_GESTURE_STYLUS (gtk_gesture_stylus_get_type ())
GTK_GESTURE_STYLUS
#define GTK_GESTURE_STYLUS(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GTK_TYPE_GESTURE_STYLUS, GtkGestureStylus))
GTK_GESTURE_STYLUS_CLASS
#define GTK_GESTURE_STYLUS_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GTK_TYPE_GESTURE_STYLUS, GtkGestureStylusClass))
GTK_IS_GESTURE_STYLUS
#define GTK_IS_GESTURE_STYLUS(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GTK_TYPE_GESTURE_STYLUS))
GTK_IS_GESTURE_STYLUS_CLASS
#define GTK_IS_GESTURE_STYLUS_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GTK_TYPE_GESTURE_STYLUS))
GTK_GESTURE_STYLUS_GET_CLASS
#define GTK_GESTURE_STYLUS_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GTK_TYPE_GESTURE_STYLUS, GtkGestureStylusClass))
gtk_gesture_stylus_get_type
GType
void
gtk_gesture_stylus_new
GtkGesture *
void
gtk_gesture_stylus_get_axis
gboolean
GtkGestureStylus *gesture, GdkAxisUse axis, gdouble *value
gtk_gesture_stylus_get_axes
gboolean
GtkGestureStylus *gesture, GdkAxisUse axes[], gdouble **values
gtk_gesture_stylus_get_backlog
gboolean
GtkGestureStylus *gesture, GdkTimeCoord **backlog, guint *n_elems
gtk_gesture_stylus_get_device_tool
GdkDeviceTool *
GtkGestureStylus *gesture
GtkGestureStylus
GtkGestureStylusClass
GTK_TYPE_GESTURE_SWIPE
#define GTK_TYPE_GESTURE_SWIPE (gtk_gesture_swipe_get_type ())
GTK_GESTURE_SWIPE
#define GTK_GESTURE_SWIPE(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GTK_TYPE_GESTURE_SWIPE, GtkGestureSwipe))
GTK_GESTURE_SWIPE_CLASS
#define GTK_GESTURE_SWIPE_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GTK_TYPE_GESTURE_SWIPE, GtkGestureSwipeClass))
GTK_IS_GESTURE_SWIPE
#define GTK_IS_GESTURE_SWIPE(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GTK_TYPE_GESTURE_SWIPE))
GTK_IS_GESTURE_SWIPE_CLASS
#define GTK_IS_GESTURE_SWIPE_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GTK_TYPE_GESTURE_SWIPE))
GTK_GESTURE_SWIPE_GET_CLASS
#define GTK_GESTURE_SWIPE_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GTK_TYPE_GESTURE_SWIPE, GtkGestureSwipeClass))
gtk_gesture_swipe_get_type
GType
void
gtk_gesture_swipe_new
GtkGesture *
void
gtk_gesture_swipe_get_velocity
gboolean
GtkGestureSwipe *gesture, gdouble *velocity_x, gdouble *velocity_y
GtkGestureSwipe
GtkGestureSwipeClass
GTK_TYPE_GESTURE_ZOOM
#define GTK_TYPE_GESTURE_ZOOM (gtk_gesture_zoom_get_type ())
GTK_GESTURE_ZOOM
#define GTK_GESTURE_ZOOM(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GTK_TYPE_GESTURE_ZOOM, GtkGestureZoom))
GTK_GESTURE_ZOOM_CLASS
#define GTK_GESTURE_ZOOM_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GTK_TYPE_GESTURE_ZOOM, GtkGestureZoomClass))
GTK_IS_GESTURE_ZOOM
#define GTK_IS_GESTURE_ZOOM(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GTK_TYPE_GESTURE_ZOOM))
GTK_IS_GESTURE_ZOOM_CLASS
#define GTK_IS_GESTURE_ZOOM_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GTK_TYPE_GESTURE_ZOOM))
GTK_GESTURE_ZOOM_GET_CLASS
#define GTK_GESTURE_ZOOM_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GTK_TYPE_GESTURE_ZOOM, GtkGestureZoomClass))
gtk_gesture_zoom_get_type
GType
void
gtk_gesture_zoom_new
GtkGesture *
void
gtk_gesture_zoom_get_scale_delta
gdouble
GtkGestureZoom *gesture
GtkGestureZoom
GtkGestureZoomClass
GTK_TYPE_GL_AREA
#define GTK_TYPE_GL_AREA (gtk_gl_area_get_type ())
GTK_GL_AREA
#define GTK_GL_AREA(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_GL_AREA, GtkGLArea))
GTK_IS_GL_AREA
#define GTK_IS_GL_AREA(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_GL_AREA))
GTK_GL_AREA_CLASS
#define GTK_GL_AREA_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_GL_AREA, GtkGLAreaClass))
GTK_IS_GL_AREA_CLASS
#define GTK_IS_GL_AREA_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_GL_AREA))
GTK_GL_AREA_GET_CLASS
#define GTK_GL_AREA_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_GL_AREA, GtkGLAreaClass))
GtkGLArea
struct _GtkGLArea
{
/*< private >*/
GtkWidget parent_instance;
};
GtkGLAreaClass
struct _GtkGLAreaClass
{
/*< private >*/
GtkWidgetClass parent_class;
/*< public >*/
gboolean (* render) (GtkGLArea *area,
GdkGLContext *context);
void (* resize) (GtkGLArea *area,
int width,
int height);
GdkGLContext * (* create_context) (GtkGLArea *area);
/*< private >*/
gpointer _padding[8];
};
gtk_gl_area_get_type
GType
void
gtk_gl_area_new
GtkWidget *
void
gtk_gl_area_set_use_es
void
GtkGLArea *area, gboolean use_es
gtk_gl_area_get_use_es
gboolean
GtkGLArea *area
gtk_gl_area_set_required_version
void
GtkGLArea *area, gint major, gint minor
gtk_gl_area_get_required_version
void
GtkGLArea *area, gint *major, gint *minor
gtk_gl_area_get_has_depth_buffer
gboolean
GtkGLArea *area
gtk_gl_area_set_has_depth_buffer
void
GtkGLArea *area, gboolean has_depth_buffer
gtk_gl_area_get_has_stencil_buffer
gboolean
GtkGLArea *area
gtk_gl_area_set_has_stencil_buffer
void
GtkGLArea *area, gboolean has_stencil_buffer
gtk_gl_area_get_auto_render
gboolean
GtkGLArea *area
gtk_gl_area_set_auto_render
void
GtkGLArea *area, gboolean auto_render
gtk_gl_area_queue_render
void
GtkGLArea *area
gtk_gl_area_get_context
GdkGLContext *
GtkGLArea *area
gtk_gl_area_make_current
void
GtkGLArea *area
gtk_gl_area_attach_buffers
void
GtkGLArea *area
gtk_gl_area_set_error
void
GtkGLArea *area, const GError *error
gtk_gl_area_get_error
GError *
GtkGLArea *area
GTK_TYPE_GRID
#define GTK_TYPE_GRID (gtk_grid_get_type ())
GTK_GRID
#define GTK_GRID(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_GRID, GtkGrid))
GTK_GRID_CLASS
#define GTK_GRID_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_GRID, GtkGridClass))
GTK_IS_GRID
#define GTK_IS_GRID(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_GRID))
GTK_IS_GRID_CLASS
#define GTK_IS_GRID_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_GRID))
GTK_GRID_GET_CLASS
#define GTK_GRID_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_GRID, GtkGridClass))
GtkGrid
struct _GtkGrid
{
/*< private >*/
GtkContainer parent_instance;
};
GtkGridClass
struct _GtkGridClass
{
GtkContainerClass parent_class;
/*< private >*/
gpointer padding[8];
};
gtk_grid_get_type
GType
void
gtk_grid_new
GtkWidget *
void
gtk_grid_attach
void
GtkGrid *grid, GtkWidget *child, gint left, gint top, gint width, gint height
gtk_grid_attach_next_to
void
GtkGrid *grid, GtkWidget *child, GtkWidget *sibling, GtkPositionType side, gint width, gint height
gtk_grid_get_child_at
GtkWidget *
GtkGrid *grid, gint left, gint top
gtk_grid_insert_row
void
GtkGrid *grid, gint position
gtk_grid_insert_column
void
GtkGrid *grid, gint position
gtk_grid_remove_row
void
GtkGrid *grid, gint position
gtk_grid_remove_column
void
GtkGrid *grid, gint position
gtk_grid_insert_next_to
void
GtkGrid *grid, GtkWidget *sibling, GtkPositionType side
gtk_grid_set_row_homogeneous
void
GtkGrid *grid, gboolean homogeneous
gtk_grid_get_row_homogeneous
gboolean
GtkGrid *grid
gtk_grid_set_row_spacing
void
GtkGrid *grid, guint spacing
gtk_grid_get_row_spacing
guint
GtkGrid *grid
gtk_grid_set_column_homogeneous
void
GtkGrid *grid, gboolean homogeneous
gtk_grid_get_column_homogeneous
gboolean
GtkGrid *grid
gtk_grid_set_column_spacing
void
GtkGrid *grid, guint spacing
gtk_grid_get_column_spacing
guint
GtkGrid *grid
gtk_grid_set_row_baseline_position
void
GtkGrid *grid, gint row, GtkBaselinePosition pos
gtk_grid_get_row_baseline_position
GtkBaselinePosition
GtkGrid *grid, gint row
gtk_grid_set_baseline_row
void
GtkGrid *grid, gint row
gtk_grid_get_baseline_row
gint
GtkGrid *grid
gtk_grid_query_child
void
GtkGrid *grid, GtkWidget *child, gint *left, gint *top, gint *width, gint *height
GTK_TYPE_GRID_LAYOUT
#define GTK_TYPE_GRID_LAYOUT (gtk_grid_layout_get_type ())
GTK_TYPE_GRID_LAYOUT_CHILD
#define GTK_TYPE_GRID_LAYOUT_CHILD (gtk_grid_layout_child_get_type ())
gtk_grid_layout_new
GtkLayoutManager *
void
gtk_grid_layout_set_row_homogeneous
void
GtkGridLayout *grid, gboolean homogeneous
gtk_grid_layout_get_row_homogeneous
gboolean
GtkGridLayout *grid
gtk_grid_layout_set_row_spacing
void
GtkGridLayout *grid, guint spacing
gtk_grid_layout_get_row_spacing
guint
GtkGridLayout *grid
gtk_grid_layout_set_column_homogeneous
void
GtkGridLayout *grid, gboolean homogeneous
gtk_grid_layout_get_column_homogeneous
gboolean
GtkGridLayout *grid
gtk_grid_layout_set_column_spacing
void
GtkGridLayout *grid, guint spacing
gtk_grid_layout_get_column_spacing
guint
GtkGridLayout *grid
gtk_grid_layout_set_row_baseline_position
void
GtkGridLayout *grid, int row, GtkBaselinePosition pos
gtk_grid_layout_get_row_baseline_position
GtkBaselinePosition
GtkGridLayout *grid, int row
gtk_grid_layout_set_baseline_row
void
GtkGridLayout *grid, int row
gtk_grid_layout_get_baseline_row
int
GtkGridLayout *grid
gtk_grid_layout_child_set_top_attach
void
GtkGridLayoutChild *child, int attach
gtk_grid_layout_child_get_top_attach
int
GtkGridLayoutChild *child
gtk_grid_layout_child_set_left_attach
void
GtkGridLayoutChild *child, int attach
gtk_grid_layout_child_get_left_attach
int
GtkGridLayoutChild *child
gtk_grid_layout_child_set_column_span
void
GtkGridLayoutChild *child, int span
gtk_grid_layout_child_get_column_span
int
GtkGridLayoutChild *child
gtk_grid_layout_child_set_row_span
void
GtkGridLayoutChild *child, int span
gtk_grid_layout_child_get_row_span
int
GtkGridLayoutChild *child
GtkGridLayout
GtkGridLayoutChild
GTK_TYPE_HEADER_BAR
#define GTK_TYPE_HEADER_BAR (gtk_header_bar_get_type ())
GTK_HEADER_BAR
#define GTK_HEADER_BAR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_HEADER_BAR, GtkHeaderBar))
GTK_IS_HEADER_BAR
#define GTK_IS_HEADER_BAR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_HEADER_BAR))
gtk_header_bar_get_type
GType
void
gtk_header_bar_new
GtkWidget *
void
gtk_header_bar_set_title
void
GtkHeaderBar *bar, const gchar *title
gtk_header_bar_get_title
const gchar *
GtkHeaderBar *bar
gtk_header_bar_set_subtitle
void
GtkHeaderBar *bar, const gchar *subtitle
gtk_header_bar_get_subtitle
const gchar *
GtkHeaderBar *bar
gtk_header_bar_set_custom_title
void
GtkHeaderBar *bar, GtkWidget *title_widget
gtk_header_bar_get_custom_title
GtkWidget *
GtkHeaderBar *bar
gtk_header_bar_pack_start
void
GtkHeaderBar *bar, GtkWidget *child
gtk_header_bar_pack_end
void
GtkHeaderBar *bar, GtkWidget *child
gtk_header_bar_get_show_title_buttons
gboolean
GtkHeaderBar *bar
gtk_header_bar_set_show_title_buttons
void
GtkHeaderBar *bar, gboolean setting
gtk_header_bar_set_has_subtitle
void
GtkHeaderBar *bar, gboolean setting
gtk_header_bar_get_has_subtitle
gboolean
GtkHeaderBar *bar
gtk_header_bar_set_decoration_layout
void
GtkHeaderBar *bar, const gchar *layout
gtk_header_bar_get_decoration_layout
const gchar *
GtkHeaderBar *bar
GtkHeaderBar
GTK_TYPE_ICON_PAINTABLE
#define GTK_TYPE_ICON_PAINTABLE (gtk_icon_paintable_get_type ())
GTK_ICON_PAINTABLE
#define GTK_ICON_PAINTABLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_ICON_PAINTABLE, GtkIconPaintable))
GTK_IS_ICON_PAINTABLE
#define GTK_IS_ICON_PAINTABLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_ICON_PAINTABLE))
GTK_TYPE_ICON_THEME
#define GTK_TYPE_ICON_THEME (gtk_icon_theme_get_type ())
GTK_ICON_THEME
#define GTK_ICON_THEME(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_ICON_THEME, GtkIconTheme))
GTK_IS_ICON_THEME
#define GTK_IS_ICON_THEME(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_ICON_THEME))
GtkIconLookupFlags
typedef enum
{
GTK_ICON_LOOKUP_FORCE_REGULAR = 1 << 0,
GTK_ICON_LOOKUP_FORCE_SYMBOLIC = 1 << 1,
GTK_ICON_LOOKUP_PRELOAD = 1 << 2,
} GtkIconLookupFlags;
GTK_ICON_THEME_ERROR
#define GTK_ICON_THEME_ERROR gtk_icon_theme_error_quark ()
GtkIconThemeError
typedef enum {
GTK_ICON_THEME_NOT_FOUND,
GTK_ICON_THEME_FAILED
} GtkIconThemeError;
gtk_icon_theme_error_quark
GQuark
void
gtk_icon_theme_get_type
GType
void
gtk_icon_theme_new
GtkIconTheme *
void
gtk_icon_theme_get_for_display
GtkIconTheme *
GdkDisplay *display
gtk_icon_theme_set_display
void
GtkIconTheme *self, GdkDisplay *display
gtk_icon_theme_set_search_path
void
GtkIconTheme *self, const gchar *path[], gint n_elements
gtk_icon_theme_get_search_path
void
GtkIconTheme *self, gchar **path[], gint *n_elements
gtk_icon_theme_append_search_path
void
GtkIconTheme *self, const gchar *path
gtk_icon_theme_prepend_search_path
void
GtkIconTheme *self, const gchar *path
gtk_icon_theme_add_resource_path
void
GtkIconTheme *self, const gchar *path
gtk_icon_theme_set_custom_theme
void
GtkIconTheme *self, const gchar *theme_name
gtk_icon_theme_has_icon
gboolean
GtkIconTheme *self, const gchar *icon_name
gtk_icon_theme_get_icon_sizes
gint *
GtkIconTheme *self, const gchar *icon_name
gtk_icon_theme_lookup_icon
GtkIconPaintable *
GtkIconTheme *self, const char *icon_name, const char *fallbacks[], gint size, gint scale, GtkTextDirection direction, GtkIconLookupFlags flags
gtk_icon_theme_lookup_by_gicon
GtkIconPaintable *
GtkIconTheme *self, GIcon *icon, gint size, gint scale, GtkTextDirection direction, GtkIconLookupFlags flags
gtk_icon_paintable_new_for_file
GtkIconPaintable *
GFile *file, gint size, gint scale
gtk_icon_theme_list_icons
GList *
GtkIconTheme *self
gtk_icon_paintable_get_type
GType
void
gtk_icon_paintable_get_file
GFile *
GtkIconPaintable *self
gtk_icon_paintable_get_icon_name
const gchar *
GtkIconPaintable *self
gtk_icon_paintable_is_symbolic
gboolean
GtkIconPaintable *self
GtkIconPaintable
GtkIconTheme
GTK_TYPE_ICON_VIEW
#define GTK_TYPE_ICON_VIEW (gtk_icon_view_get_type ())
GTK_ICON_VIEW
#define GTK_ICON_VIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_ICON_VIEW, GtkIconView))
GTK_IS_ICON_VIEW
#define GTK_IS_ICON_VIEW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_ICON_VIEW))
GtkIconViewForeachFunc
void
GtkIconView *icon_view, GtkTreePath *path, gpointer data
GtkIconViewDropPosition
typedef enum
{
GTK_ICON_VIEW_NO_DROP,
GTK_ICON_VIEW_DROP_INTO,
GTK_ICON_VIEW_DROP_LEFT,
GTK_ICON_VIEW_DROP_RIGHT,
GTK_ICON_VIEW_DROP_ABOVE,
GTK_ICON_VIEW_DROP_BELOW
} GtkIconViewDropPosition;
gtk_icon_view_get_type
GType
void
gtk_icon_view_new
GtkWidget *
void
gtk_icon_view_new_with_area
GtkWidget *
GtkCellArea *area
gtk_icon_view_new_with_model
GtkWidget *
GtkTreeModel *model
gtk_icon_view_set_model
void
GtkIconView *icon_view, GtkTreeModel *model
gtk_icon_view_get_model
GtkTreeModel *
GtkIconView *icon_view
gtk_icon_view_set_text_column
void
GtkIconView *icon_view, gint column
gtk_icon_view_get_text_column
gint
GtkIconView *icon_view
gtk_icon_view_set_markup_column
void
GtkIconView *icon_view, gint column
gtk_icon_view_get_markup_column
gint
GtkIconView *icon_view
gtk_icon_view_set_pixbuf_column
void
GtkIconView *icon_view, gint column
gtk_icon_view_get_pixbuf_column
gint
GtkIconView *icon_view
gtk_icon_view_set_item_orientation
void
GtkIconView *icon_view, GtkOrientation orientation
gtk_icon_view_get_item_orientation
GtkOrientation
GtkIconView *icon_view
gtk_icon_view_set_columns
void
GtkIconView *icon_view, gint columns
gtk_icon_view_get_columns
gint
GtkIconView *icon_view
gtk_icon_view_set_item_width
void
GtkIconView *icon_view, gint item_width
gtk_icon_view_get_item_width
gint
GtkIconView *icon_view
gtk_icon_view_set_spacing
void
GtkIconView *icon_view, gint spacing
gtk_icon_view_get_spacing
gint
GtkIconView *icon_view
gtk_icon_view_set_row_spacing
void
GtkIconView *icon_view, gint row_spacing
gtk_icon_view_get_row_spacing
gint
GtkIconView *icon_view
gtk_icon_view_set_column_spacing
void
GtkIconView *icon_view, gint column_spacing
gtk_icon_view_get_column_spacing
gint
GtkIconView *icon_view
gtk_icon_view_set_margin
void
GtkIconView *icon_view, gint margin
gtk_icon_view_get_margin
gint
GtkIconView *icon_view
gtk_icon_view_set_item_padding
void
GtkIconView *icon_view, gint item_padding
gtk_icon_view_get_item_padding
gint
GtkIconView *icon_view
gtk_icon_view_get_path_at_pos
GtkTreePath *
GtkIconView *icon_view, gint x, gint y
gtk_icon_view_get_item_at_pos
gboolean
GtkIconView *icon_view, gint x, gint y, GtkTreePath **path, GtkCellRenderer **cell
gtk_icon_view_get_visible_range
gboolean
GtkIconView *icon_view, GtkTreePath **start_path, GtkTreePath **end_path
gtk_icon_view_set_activate_on_single_click
void
GtkIconView *icon_view, gboolean single
gtk_icon_view_get_activate_on_single_click
gboolean
GtkIconView *icon_view
gtk_icon_view_selected_foreach
void
GtkIconView *icon_view, GtkIconViewForeachFunc func, gpointer data
gtk_icon_view_set_selection_mode
void
GtkIconView *icon_view, GtkSelectionMode mode
gtk_icon_view_get_selection_mode
GtkSelectionMode
GtkIconView *icon_view
gtk_icon_view_select_path
void
GtkIconView *icon_view, GtkTreePath *path
gtk_icon_view_unselect_path
void
GtkIconView *icon_view, GtkTreePath *path
gtk_icon_view_path_is_selected
gboolean
GtkIconView *icon_view, GtkTreePath *path
gtk_icon_view_get_item_row
gint
GtkIconView *icon_view, GtkTreePath *path
gtk_icon_view_get_item_column
gint
GtkIconView *icon_view, GtkTreePath *path
gtk_icon_view_get_selected_items
GList *
GtkIconView *icon_view
gtk_icon_view_select_all
void
GtkIconView *icon_view
gtk_icon_view_unselect_all
void
GtkIconView *icon_view
gtk_icon_view_item_activated
void
GtkIconView *icon_view, GtkTreePath *path
gtk_icon_view_set_cursor
void
GtkIconView *icon_view, GtkTreePath *path, GtkCellRenderer *cell, gboolean start_editing
gtk_icon_view_get_cursor
gboolean
GtkIconView *icon_view, GtkTreePath **path, GtkCellRenderer **cell
gtk_icon_view_scroll_to_path
void
GtkIconView *icon_view, GtkTreePath *path, gboolean use_align, gfloat row_align, gfloat col_align
gtk_icon_view_enable_model_drag_source
void
GtkIconView *icon_view, GdkModifierType start_button_mask, GdkContentFormats *formats, GdkDragAction actions
gtk_icon_view_enable_model_drag_dest
GtkDropTarget *
GtkIconView *icon_view, GdkContentFormats *formats, GdkDragAction actions
gtk_icon_view_unset_model_drag_source
void
GtkIconView *icon_view
gtk_icon_view_unset_model_drag_dest
void
GtkIconView *icon_view
gtk_icon_view_set_reorderable
void
GtkIconView *icon_view, gboolean reorderable
gtk_icon_view_get_reorderable
gboolean
GtkIconView *icon_view
gtk_icon_view_set_drag_dest_item
void
GtkIconView *icon_view, GtkTreePath *path, GtkIconViewDropPosition pos
gtk_icon_view_get_drag_dest_item
void
GtkIconView *icon_view, GtkTreePath **path, GtkIconViewDropPosition *pos
gtk_icon_view_get_dest_item_at_pos
gboolean
GtkIconView *icon_view, gint drag_x, gint drag_y, GtkTreePath **path, GtkIconViewDropPosition *pos
gtk_icon_view_create_drag_icon
GdkPaintable *
GtkIconView *icon_view, GtkTreePath *path
gtk_icon_view_get_cell_rect
gboolean
GtkIconView *icon_view, GtkTreePath *path, GtkCellRenderer *cell, GdkRectangle *rect
gtk_icon_view_set_tooltip_item
void
GtkIconView *icon_view, GtkTooltip *tooltip, GtkTreePath *path
gtk_icon_view_set_tooltip_cell
void
GtkIconView *icon_view, GtkTooltip *tooltip, GtkTreePath *path, GtkCellRenderer *cell
gtk_icon_view_get_tooltip_context
gboolean
GtkIconView *icon_view, gint *x, gint *y, gboolean keyboard_tip, GtkTreeModel **model, GtkTreePath **path, GtkTreeIter *iter
gtk_icon_view_set_tooltip_column
void
GtkIconView *icon_view, gint column
gtk_icon_view_get_tooltip_column
gint
GtkIconView *icon_view
GtkIconView
GTK_TYPE_IMAGE
#define GTK_TYPE_IMAGE (gtk_image_get_type ())
GTK_IMAGE
#define GTK_IMAGE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_IMAGE, GtkImage))
GTK_IS_IMAGE
#define GTK_IS_IMAGE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_IMAGE))
GtkImageType
typedef enum
{
GTK_IMAGE_EMPTY,
GTK_IMAGE_ICON_NAME,
GTK_IMAGE_GICON,
GTK_IMAGE_PAINTABLE
} GtkImageType;
gtk_image_get_type
GType
void
gtk_image_new
GtkWidget *
void
gtk_image_new_from_file
GtkWidget *
const gchar *filename
gtk_image_new_from_resource
GtkWidget *
const gchar *resource_path
gtk_image_new_from_pixbuf
GtkWidget *
GdkPixbuf *pixbuf
gtk_image_new_from_paintable
GtkWidget *
GdkPaintable *paintable
gtk_image_new_from_icon_name
GtkWidget *
const gchar *icon_name
gtk_image_new_from_gicon
GtkWidget *
GIcon *icon
gtk_image_clear
void
GtkImage *image
gtk_image_set_from_file
void
GtkImage *image, const gchar *filename
gtk_image_set_from_resource
void
GtkImage *image, const gchar *resource_path
gtk_image_set_from_pixbuf
void
GtkImage *image, GdkPixbuf *pixbuf
gtk_image_set_from_paintable
void
GtkImage *image, GdkPaintable *paintable
gtk_image_set_from_icon_name
void
GtkImage *image, const gchar *icon_name
gtk_image_set_from_gicon
void
GtkImage *image, GIcon *icon
gtk_image_set_pixel_size
void
GtkImage *image, gint pixel_size
gtk_image_set_icon_size
void
GtkImage *image, GtkIconSize icon_size
gtk_image_get_storage_type
GtkImageType
GtkImage *image
gtk_image_get_paintable
GdkPaintable *
GtkImage *image
gtk_image_get_icon_name
const char *
GtkImage *image
gtk_image_get_gicon
GIcon *
GtkImage *image
gtk_image_get_pixel_size
gint
GtkImage *image
gtk_image_get_icon_size
GtkIconSize
GtkImage *image
GtkImage
GTK_TYPE_IM_CONTEXT
#define GTK_TYPE_IM_CONTEXT (gtk_im_context_get_type ())
GTK_IM_CONTEXT
#define GTK_IM_CONTEXT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_IM_CONTEXT, GtkIMContext))
GTK_IM_CONTEXT_CLASS
#define GTK_IM_CONTEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_IM_CONTEXT, GtkIMContextClass))
GTK_IS_IM_CONTEXT
#define GTK_IS_IM_CONTEXT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_IM_CONTEXT))
GTK_IS_IM_CONTEXT_CLASS
#define GTK_IS_IM_CONTEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_IM_CONTEXT))
GTK_IM_CONTEXT_GET_CLASS
#define GTK_IM_CONTEXT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_IM_CONTEXT, GtkIMContextClass))
GtkIMContext
struct _GtkIMContext
{
GObject parent_instance;
};
GtkIMContextClass
struct _GtkIMContextClass
{
/*< private >*/
GObjectClass parent_class;
/*< public >*/
/* Signals */
void (*preedit_start) (GtkIMContext *context);
void (*preedit_end) (GtkIMContext *context);
void (*preedit_changed) (GtkIMContext *context);
void (*commit) (GtkIMContext *context, const gchar *str);
gboolean (*retrieve_surrounding) (GtkIMContext *context);
gboolean (*delete_surrounding) (GtkIMContext *context,
gint offset,
gint n_chars);
/* Virtual functions */
void (*set_client_widget) (GtkIMContext *context,
GtkWidget *widget);
void (*get_preedit_string) (GtkIMContext *context,
gchar **str,
PangoAttrList **attrs,
gint *cursor_pos);
gboolean (*filter_keypress) (GtkIMContext *context,
GdkEventKey *event);
void (*focus_in) (GtkIMContext *context);
void (*focus_out) (GtkIMContext *context);
void (*reset) (GtkIMContext *context);
void (*set_cursor_location) (GtkIMContext *context,
GdkRectangle *area);
void (*set_use_preedit) (GtkIMContext *context,
gboolean use_preedit);
void (*set_surrounding) (GtkIMContext *context,
const gchar *text,
gint len,
gint cursor_index);
gboolean (*get_surrounding) (GtkIMContext *context,
gchar **text,
gint *cursor_index);
/*< private >*/
/* Padding for future expansion */
void (*_gtk_reserved1) (void);
void (*_gtk_reserved2) (void);
void (*_gtk_reserved3) (void);
void (*_gtk_reserved4) (void);
void (*_gtk_reserved5) (void);
void (*_gtk_reserved6) (void);
};
gtk_im_context_get_type
GType
void
gtk_im_context_set_client_widget
void
GtkIMContext *context, GtkWidget *widget
gtk_im_context_get_preedit_string
void
GtkIMContext *context, gchar **str, PangoAttrList **attrs, gint *cursor_pos
gtk_im_context_filter_keypress
gboolean
GtkIMContext *context, GdkEventKey *event
gtk_im_context_focus_in
void
GtkIMContext *context
gtk_im_context_focus_out
void
GtkIMContext *context
gtk_im_context_reset
void
GtkIMContext *context
gtk_im_context_set_cursor_location
void
GtkIMContext *context, const GdkRectangle *area
gtk_im_context_set_use_preedit
void
GtkIMContext *context, gboolean use_preedit
gtk_im_context_set_surrounding
void
GtkIMContext *context, const gchar *text, gint len, gint cursor_index
gtk_im_context_get_surrounding
gboolean
GtkIMContext *context, gchar **text, gint *cursor_index
gtk_im_context_delete_surrounding
gboolean
GtkIMContext *context, gint offset, gint n_chars
gtk_im_context_broadway_get_type
GType
void
GTK_TYPE_IM_CONTEXT_IME
#define GTK_TYPE_IM_CONTEXT_IME (gtk_im_context_ime_get_type ())
GTK_IM_CONTEXT_IME
#define GTK_IM_CONTEXT_IME(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_IM_CONTEXT_IME, GtkIMContextIME))
GTK_IM_CONTEXT_IME_CLASS
#define GTK_IM_CONTEXT_IME_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_IM_CONTEXT_IME, GtkIMContextIMEClass))
GTK_IS_IM_CONTEXT_IME
#define GTK_IS_IM_CONTEXT_IME(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_IM_CONTEXT_IME))
GTK_IS_IM_CONTEXT_IME_CLASS
#define GTK_IS_IM_CONTEXT_IME_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_IM_CONTEXT_IME))
GTK_IM_CONTEXT_IME_GET_CLASS
#define GTK_IM_CONTEXT_IME_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_IM_CONTEXT_IME, GtkIMContextIMEClass))
GtkIMContextIME
struct _GtkIMContextIME
{
GtkIMContext object;
GdkSurface *client_surface;
guint use_preedit : 1;
guint preediting : 1;
guint opened : 1;
guint focus : 1;
GdkRectangle cursor_location;
gchar *commit_string;
GtkIMContextIMEPrivate *priv;
};
GtkIMContextIMEClass
struct _GtkIMContextIMEClass
{
GtkIMContextClass parent_class;
};
gtk_im_context_ime_get_type
GType
void
gtk_im_context_ime_register_type
void
GTypeModule * type_module
gtk_im_context_ime_new
GtkIMContext *
void
GtkIMContextIMEPrivate
gtk_im_context_quartz_get_type
GType
void
GTK_MAX_COMPOSE_LEN
#define GTK_MAX_COMPOSE_LEN 7
GTK_TYPE_IM_CONTEXT_SIMPLE
#define GTK_TYPE_IM_CONTEXT_SIMPLE (gtk_im_context_simple_get_type ())
GTK_IM_CONTEXT_SIMPLE
#define GTK_IM_CONTEXT_SIMPLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_IM_CONTEXT_SIMPLE, GtkIMContextSimple))
GTK_IM_CONTEXT_SIMPLE_CLASS
#define GTK_IM_CONTEXT_SIMPLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_IM_CONTEXT_SIMPLE, GtkIMContextSimpleClass))
GTK_IS_IM_CONTEXT_SIMPLE
#define GTK_IS_IM_CONTEXT_SIMPLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_IM_CONTEXT_SIMPLE))
GTK_IS_IM_CONTEXT_SIMPLE_CLASS
#define GTK_IS_IM_CONTEXT_SIMPLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_IM_CONTEXT_SIMPLE))
GTK_IM_CONTEXT_SIMPLE_GET_CLASS
#define GTK_IM_CONTEXT_SIMPLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_IM_CONTEXT_SIMPLE, GtkIMContextSimpleClass))
GtkIMContextSimple
struct _GtkIMContextSimple
{
GtkIMContext object;
/*< private >*/
GtkIMContextSimplePrivate *priv;
};
GtkIMContextSimpleClass
struct _GtkIMContextSimpleClass
{
GtkIMContextClass parent_class;
};
gtk_im_context_simple_get_type
GType
void
gtk_im_context_simple_new
GtkIMContext *
void
gtk_im_context_simple_add_table
void
GtkIMContextSimple *context_simple, guint16 *data, gint max_seq_len, gint n_seqs
gtk_im_context_simple_add_compose_file
void
GtkIMContextSimple *context_simple, const gchar *compose_file
GtkIMContextSimplePrivate
gtk_im_context_wayland_get_type
GType
void
gtk_im_modules_init
void
void
GTK_IM_MODULE_EXTENSION_POINT_NAME
#define GTK_IM_MODULE_EXTENSION_POINT_NAME "gtk-im-module"
GTK_TYPE_IM_MULTICONTEXT
#define GTK_TYPE_IM_MULTICONTEXT (gtk_im_multicontext_get_type ())
GTK_IM_MULTICONTEXT
#define GTK_IM_MULTICONTEXT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_IM_MULTICONTEXT, GtkIMMulticontext))
GTK_IM_MULTICONTEXT_CLASS
#define GTK_IM_MULTICONTEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_IM_MULTICONTEXT, GtkIMMulticontextClass))
GTK_IS_IM_MULTICONTEXT
#define GTK_IS_IM_MULTICONTEXT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_IM_MULTICONTEXT))
GTK_IS_IM_MULTICONTEXT_CLASS
#define GTK_IS_IM_MULTICONTEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_IM_MULTICONTEXT))
GTK_IM_MULTICONTEXT_GET_CLASS
#define GTK_IM_MULTICONTEXT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_IM_MULTICONTEXT, GtkIMMulticontextClass))
GtkIMMulticontext
struct _GtkIMMulticontext
{
GtkIMContext object;
/*< private >*/
GtkIMMulticontextPrivate *priv;
};
GtkIMMulticontextClass
struct _GtkIMMulticontextClass
{
GtkIMContextClass parent_class;
/* Padding for future expansion */
void (*_gtk_reserved1) (void);
void (*_gtk_reserved2) (void);
void (*_gtk_reserved3) (void);
void (*_gtk_reserved4) (void);
};
gtk_im_multicontext_get_type
GType
void
gtk_im_multicontext_new
GtkIMContext *
void
gtk_im_multicontext_get_context_id
const char *
GtkIMMulticontext *context
gtk_im_multicontext_set_context_id
void
GtkIMMulticontext *context, const char *context_id
GtkIMMulticontextPrivate
GTK_TYPE_INFO_BAR
#define GTK_TYPE_INFO_BAR (gtk_info_bar_get_type())
GTK_INFO_BAR
#define GTK_INFO_BAR(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_INFO_BAR, GtkInfoBar))
GTK_IS_INFO_BAR
#define GTK_IS_INFO_BAR(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_INFO_BAR))
gtk_info_bar_get_type
GType
void
gtk_info_bar_new
GtkWidget *
void
gtk_info_bar_new_with_buttons
GtkWidget *
const gchar *first_button_text, ...
gtk_info_bar_get_action_area
GtkWidget *
GtkInfoBar *info_bar
gtk_info_bar_get_content_area
GtkWidget *
GtkInfoBar *info_bar
gtk_info_bar_add_action_widget
void
GtkInfoBar *info_bar, GtkWidget *child, gint response_id
gtk_info_bar_add_button
GtkWidget *
GtkInfoBar *info_bar, const gchar *button_text, gint response_id
gtk_info_bar_add_buttons
void
GtkInfoBar *info_bar, const gchar *first_button_text, ...
gtk_info_bar_set_response_sensitive
void
GtkInfoBar *info_bar, gint response_id, gboolean setting
gtk_info_bar_set_default_response
void
GtkInfoBar *info_bar, gint response_id
gtk_info_bar_response
void
GtkInfoBar *info_bar, gint response_id
gtk_info_bar_set_message_type
void
GtkInfoBar *info_bar, GtkMessageType message_type
gtk_info_bar_get_message_type
GtkMessageType
GtkInfoBar *info_bar
gtk_info_bar_set_show_close_button
void
GtkInfoBar *info_bar, gboolean setting
gtk_info_bar_get_show_close_button
gboolean
GtkInfoBar *info_bar
gtk_info_bar_set_revealed
void
GtkInfoBar *info_bar, gboolean revealed
gtk_info_bar_get_revealed
gboolean
GtkInfoBar *info_bar
GtkInfoBar
P_
#define P_(String) g_dgettext(GETTEXT_PACKAGE "-properties",String)
I_
#define I_(string) g_intern_static_string (string)
istring_is_inline
gboolean
const IString *str
istring_str
char *
IString *str
istring_clear
void
IString *str
istring_set
void
IString *str, const char *text, guint n_bytes, guint n_chars
istring_empty
gboolean
IString *str
istring_ends_with_space
gboolean
IString *str
istring_starts_with_space
gboolean
IString *str
istring_contains_unichar
gboolean
IString *str, gunichar ch
istring_only_contains_space
gboolean
IString *str
istring_contains_space
gboolean
IString *str
istring_prepend
void
IString *str, IString *other
istring_append
void
IString *str, IString *other
GtkKeyHash
GTK_TYPE_LABEL
#define GTK_TYPE_LABEL (gtk_label_get_type ())
GTK_LABEL
#define GTK_LABEL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_LABEL, GtkLabel))
GTK_IS_LABEL
#define GTK_IS_LABEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_LABEL))
gtk_label_get_type
GType
void
gtk_label_new
GtkWidget *
const gchar *str
gtk_label_new_with_mnemonic
GtkWidget *
const gchar *str
gtk_label_set_text
void
GtkLabel *label, const gchar *str
gtk_label_get_text
const gchar *
GtkLabel *label
gtk_label_set_attributes
void
GtkLabel *label, PangoAttrList *attrs
gtk_label_get_attributes
PangoAttrList *
GtkLabel *label
gtk_label_set_label
void
GtkLabel *label, const gchar *str
gtk_label_get_label
const gchar *
GtkLabel *label
gtk_label_set_markup
void
GtkLabel *label, const gchar *str
gtk_label_set_use_markup
void
GtkLabel *label, gboolean setting
gtk_label_get_use_markup
gboolean
GtkLabel *label
gtk_label_set_use_underline
void
GtkLabel *label, gboolean setting
gtk_label_get_use_underline
gboolean
GtkLabel *label
gtk_label_set_markup_with_mnemonic
void
GtkLabel *label, const gchar *str
gtk_label_get_mnemonic_keyval
guint
GtkLabel *label
gtk_label_set_mnemonic_widget
void
GtkLabel *label, GtkWidget *widget
gtk_label_get_mnemonic_widget
GtkWidget *
GtkLabel *label
gtk_label_set_text_with_mnemonic
void
GtkLabel *label, const gchar *str
gtk_label_set_justify
void
GtkLabel *label, GtkJustification jtype
gtk_label_get_justify
GtkJustification
GtkLabel *label
gtk_label_set_ellipsize
void
GtkLabel *label, PangoEllipsizeMode mode
gtk_label_get_ellipsize
PangoEllipsizeMode
GtkLabel *label
gtk_label_set_width_chars
void
GtkLabel *label, gint n_chars
gtk_label_get_width_chars
gint
GtkLabel *label
gtk_label_set_max_width_chars
void
GtkLabel *label, gint n_chars
gtk_label_get_max_width_chars
gint
GtkLabel *label
gtk_label_set_lines
void
GtkLabel *label, gint lines
gtk_label_get_lines
gint
GtkLabel *label
gtk_label_set_pattern
void
GtkLabel *label, const gchar *pattern
gtk_label_set_wrap
void
GtkLabel *label, gboolean wrap
gtk_label_get_wrap
gboolean
GtkLabel *label
gtk_label_set_wrap_mode
void
GtkLabel *label, PangoWrapMode wrap_mode
gtk_label_get_wrap_mode
PangoWrapMode
GtkLabel *label
gtk_label_set_selectable
void
GtkLabel *label, gboolean setting
gtk_label_get_selectable
gboolean
GtkLabel *label
gtk_label_select_region
void
GtkLabel *label, gint start_offset, gint end_offset
gtk_label_get_selection_bounds
gboolean
GtkLabel *label, gint *start, gint *end
gtk_label_get_layout
PangoLayout *
GtkLabel *label
gtk_label_get_layout_offsets
void
GtkLabel *label, gint *x, gint *y
gtk_label_set_single_line_mode
void
GtkLabel *label, gboolean single_line_mode
gtk_label_get_single_line_mode
gboolean
GtkLabel *label
gtk_label_get_current_uri
const gchar *
GtkLabel *label
gtk_label_set_track_visited_links
void
GtkLabel *label, gboolean track_links
gtk_label_get_track_visited_links
gboolean
GtkLabel *label
gtk_label_set_xalign
void
GtkLabel *label, gfloat xalign
gtk_label_get_xalign
gfloat
GtkLabel *label
gtk_label_set_yalign
void
GtkLabel *label, gfloat yalign
gtk_label_get_yalign
gfloat
GtkLabel *label
gtk_label_set_extra_menu
void
GtkLabel *label, GMenuModel *model
gtk_label_get_extra_menu
GMenuModel *
GtkLabel *label
GtkLabel
GTK_TYPE_LAYOUT_CHILD
#define GTK_TYPE_LAYOUT_CHILD (gtk_layout_child_get_type())
GtkLayoutChildClass
struct _GtkLayoutChildClass
{
/*< private >*/
GObjectClass parent_class;
};
gtk_layout_child_get_layout_manager
GtkLayoutManager *
GtkLayoutChild *layout_child
gtk_layout_child_get_child_widget
GtkWidget *
GtkLayoutChild *layout_child
GtkLayoutChild
GTK_TYPE_LAYOUT_MANAGER
#define GTK_TYPE_LAYOUT_MANAGER (gtk_layout_manager_get_type ())
GtkLayoutManagerClass
struct _GtkLayoutManagerClass
{
/*< private >*/
GObjectClass parent_class;
/*< public >*/
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);
/*< private >*/
gpointer _padding[16];
};
gtk_layout_manager_measure
void
GtkLayoutManager *manager, GtkWidget *widget, GtkOrientation orientation, int for_size, int *minimum, int *natural, int *minimum_baseline, int *natural_baseline
gtk_layout_manager_allocate
void
GtkLayoutManager *manager, GtkWidget *widget, int width, int height, int baseline
gtk_layout_manager_get_request_mode
GtkSizeRequestMode
GtkLayoutManager *manager
gtk_layout_manager_get_widget
GtkWidget *
GtkLayoutManager *manager
gtk_layout_manager_layout_changed
void
GtkLayoutManager *manager
gtk_layout_manager_get_layout_child
GtkLayoutChild *
GtkLayoutManager *manager, GtkWidget *child
GtkLayoutManager
gtk_layout_manager_set_widget
void
GtkLayoutManager *manager, GtkWidget *widget
gtk_layout_manager_remove_layout_child
void
GtkLayoutManager *manager, GtkWidget *widget
gtk_layout_manager_set_root
void
GtkLayoutManager *manager, GtkRoot *root
GTK_TYPE_LEVEL_BAR
#define GTK_TYPE_LEVEL_BAR (gtk_level_bar_get_type ())
GTK_LEVEL_BAR
#define GTK_LEVEL_BAR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_LEVEL_BAR, GtkLevelBar))
GTK_IS_LEVEL_BAR
#define GTK_IS_LEVEL_BAR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_LEVEL_BAR))
GTK_LEVEL_BAR_OFFSET_LOW
#define GTK_LEVEL_BAR_OFFSET_LOW "low"
GTK_LEVEL_BAR_OFFSET_HIGH
#define GTK_LEVEL_BAR_OFFSET_HIGH "high"
GTK_LEVEL_BAR_OFFSET_FULL
#define GTK_LEVEL_BAR_OFFSET_FULL "full"
gtk_level_bar_get_type
GType
void
gtk_level_bar_new
GtkWidget *
void
gtk_level_bar_new_for_interval
GtkWidget *
gdouble min_value, gdouble max_value
gtk_level_bar_set_mode
void
GtkLevelBar *self, GtkLevelBarMode mode
gtk_level_bar_get_mode
GtkLevelBarMode
GtkLevelBar *self
gtk_level_bar_set_value
void
GtkLevelBar *self, gdouble value
gtk_level_bar_get_value
gdouble
GtkLevelBar *self
gtk_level_bar_set_min_value
void
GtkLevelBar *self, gdouble value
gtk_level_bar_get_min_value
gdouble
GtkLevelBar *self
gtk_level_bar_set_max_value
void
GtkLevelBar *self, gdouble value
gtk_level_bar_get_max_value
gdouble
GtkLevelBar *self
gtk_level_bar_set_inverted
void
GtkLevelBar *self, gboolean inverted
gtk_level_bar_get_inverted
gboolean
GtkLevelBar *self
gtk_level_bar_add_offset_value
void
GtkLevelBar *self, const gchar *name, gdouble value
gtk_level_bar_remove_offset_value
void
GtkLevelBar *self, const gchar *name
gtk_level_bar_get_offset_value
gboolean
GtkLevelBar *self, const gchar *name, gdouble *value
GtkLevelBar
GTK_TYPE_LINK_BUTTON
#define GTK_TYPE_LINK_BUTTON (gtk_link_button_get_type ())
GTK_LINK_BUTTON
#define GTK_LINK_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_LINK_BUTTON, GtkLinkButton))
GTK_IS_LINK_BUTTON
#define GTK_IS_LINK_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_LINK_BUTTON))
gtk_link_button_get_type
GType
void
gtk_link_button_new
GtkWidget *
const gchar *uri
gtk_link_button_new_with_label
GtkWidget *
const gchar *uri, const gchar *label
gtk_link_button_get_uri
const gchar *
GtkLinkButton *link_button
gtk_link_button_set_uri
void
GtkLinkButton *link_button, const gchar *uri
gtk_link_button_get_visited
gboolean
GtkLinkButton *link_button
gtk_link_button_set_visited
void
GtkLinkButton *link_button, gboolean visited
GtkLinkButton
GTK_TYPE_LIST_BOX
#define GTK_TYPE_LIST_BOX (gtk_list_box_get_type ())
GTK_LIST_BOX
#define GTK_LIST_BOX(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_LIST_BOX, GtkListBox))
GTK_IS_LIST_BOX
#define GTK_IS_LIST_BOX(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_LIST_BOX))
GTK_TYPE_LIST_BOX_ROW
#define GTK_TYPE_LIST_BOX_ROW (gtk_list_box_row_get_type ())
GTK_LIST_BOX_ROW
#define GTK_LIST_BOX_ROW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_LIST_BOX_ROW, GtkListBoxRow))
GTK_LIST_BOX_ROW_CLASS
#define GTK_LIST_BOX_ROW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_LIST_BOX_ROW, GtkListBoxRowClass))
GTK_IS_LIST_BOX_ROW
#define GTK_IS_LIST_BOX_ROW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_LIST_BOX_ROW))
GTK_IS_LIST_BOX_ROW_CLASS
#define GTK_IS_LIST_BOX_ROW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_LIST_BOX_ROW))
GTK_LIST_BOX_ROW_GET_CLASS
#define GTK_LIST_BOX_ROW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_LIST_BOX_ROW, GtkListBoxRowClass))
GtkListBoxRow
struct _GtkListBoxRow
{
GtkBin parent_instance;
};
GtkListBoxRowClass
struct _GtkListBoxRowClass
{
GtkBinClass parent_class;
/*< public >*/
void (* activate) (GtkListBoxRow *row);
/*< private >*/
gpointer padding[8];
};
GtkListBoxFilterFunc
gboolean
GtkListBoxRow *row, gpointer user_data
GtkListBoxSortFunc
gint
GtkListBoxRow *row1, GtkListBoxRow *row2, gpointer user_data
GtkListBoxUpdateHeaderFunc
void
GtkListBoxRow *row, GtkListBoxRow *before, gpointer user_data
GtkListBoxCreateWidgetFunc
GtkWidget *
gpointer item, gpointer user_data
gtk_list_box_row_get_type
GType
void
gtk_list_box_row_new
GtkWidget *
void
gtk_list_box_row_get_header
GtkWidget *
GtkListBoxRow *row
gtk_list_box_row_set_header
void
GtkListBoxRow *row, GtkWidget *header
gtk_list_box_row_get_index
gint
GtkListBoxRow *row
gtk_list_box_row_changed
void
GtkListBoxRow *row
gtk_list_box_row_is_selected
gboolean
GtkListBoxRow *row
gtk_list_box_row_set_selectable
void
GtkListBoxRow *row, gboolean selectable
gtk_list_box_row_get_selectable
gboolean
GtkListBoxRow *row
gtk_list_box_row_set_activatable
void
GtkListBoxRow *row, gboolean activatable
gtk_list_box_row_get_activatable
gboolean
GtkListBoxRow *row
gtk_list_box_get_type
GType
void
gtk_list_box_prepend
void
GtkListBox *box, GtkWidget *child
gtk_list_box_insert
void
GtkListBox *box, GtkWidget *child, gint position
gtk_list_box_get_selected_row
GtkListBoxRow *
GtkListBox *box
gtk_list_box_get_row_at_index
GtkListBoxRow *
GtkListBox *box, gint index_
gtk_list_box_get_row_at_y
GtkListBoxRow *
GtkListBox *box, gint y
gtk_list_box_select_row
void
GtkListBox *box, GtkListBoxRow *row
gtk_list_box_set_placeholder
void
GtkListBox *box, GtkWidget *placeholder
gtk_list_box_set_adjustment
void
GtkListBox *box, GtkAdjustment *adjustment
gtk_list_box_get_adjustment
GtkAdjustment *
GtkListBox *box
GtkListBoxForeachFunc
void
GtkListBox *box, GtkListBoxRow *row, gpointer user_data
gtk_list_box_selected_foreach
void
GtkListBox *box, GtkListBoxForeachFunc func, gpointer data
gtk_list_box_get_selected_rows
GList *
GtkListBox *box
gtk_list_box_unselect_row
void
GtkListBox *box, GtkListBoxRow *row
gtk_list_box_select_all
void
GtkListBox *box
gtk_list_box_unselect_all
void
GtkListBox *box
gtk_list_box_set_selection_mode
void
GtkListBox *box, GtkSelectionMode mode
gtk_list_box_get_selection_mode
GtkSelectionMode
GtkListBox *box
gtk_list_box_set_filter_func
void
GtkListBox *box, GtkListBoxFilterFunc filter_func, gpointer user_data, GDestroyNotify destroy
gtk_list_box_set_header_func
void
GtkListBox *box, GtkListBoxUpdateHeaderFunc update_header, gpointer user_data, GDestroyNotify destroy
gtk_list_box_invalidate_filter
void
GtkListBox *box
gtk_list_box_invalidate_sort
void
GtkListBox *box
gtk_list_box_invalidate_headers
void
GtkListBox *box
gtk_list_box_set_sort_func
void
GtkListBox *box, GtkListBoxSortFunc sort_func, gpointer user_data, GDestroyNotify destroy
gtk_list_box_set_activate_on_single_click
void
GtkListBox *box, gboolean single
gtk_list_box_get_activate_on_single_click
gboolean
GtkListBox *box
gtk_list_box_drag_unhighlight_row
void
GtkListBox *box
gtk_list_box_drag_highlight_row
void
GtkListBox *box, GtkListBoxRow *row
gtk_list_box_new
GtkWidget *
void
gtk_list_box_bind_model
void
GtkListBox *box, GListModel *model, GtkListBoxCreateWidgetFunc create_widget_func, gpointer user_data, GDestroyNotify user_data_free_func
gtk_list_box_set_show_separators
void
GtkListBox *box, gboolean show_separators
gtk_list_box_get_show_separators
gboolean
GtkListBox *box
GtkListBox
GTK_TYPE_LIST_LIST_MODEL
#define GTK_TYPE_LIST_LIST_MODEL (gtk_list_list_model_get_type ())
GTK_LIST_LIST_MODEL
#define GTK_LIST_LIST_MODEL(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GTK_TYPE_LIST_LIST_MODEL, GtkListListModel))
GTK_LIST_LIST_MODEL_CLASS
#define GTK_LIST_LIST_MODEL_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GTK_TYPE_LIST_LIST_MODEL, GtkListListModelClass))
GTK_IS_LIST_LIST_MODEL
#define GTK_IS_LIST_LIST_MODEL(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GTK_TYPE_LIST_LIST_MODEL))
GTK_IS_LIST_LIST_MODEL_CLASS
#define GTK_IS_LIST_LIST_MODEL_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GTK_TYPE_LIST_LIST_MODEL))
GTK_LIST_LIST_MODEL_GET_CLASS
#define GTK_LIST_LIST_MODEL_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GTK_TYPE_LIST_LIST_MODEL, GtkListListModelClass))
gtk_list_list_model_get_type
GType
void
gtk_list_list_model_new
GtkListListModel *
GType item_type, gpointer (* get_first) (gpointer), gpointer (* get_next) (gpointer, gpointer), gpointer (* get_previous) (gpointer, gpointer), gpointer (* get_last) (gpointer), gpointer (* get_item) (gpointer, gpointer), gpointer data, GDestroyNotify notify
gtk_list_list_model_new_with_size
GtkListListModel *
GType item_type, guint n_items, gpointer (* get_first) (gpointer), gpointer (* get_next) (gpointer, gpointer), gpointer (* get_previous) (gpointer, gpointer), gpointer (* get_last) (gpointer), gpointer (* get_item) (gpointer, gpointer), gpointer data, GDestroyNotify notify
gtk_list_list_model_item_added
void
GtkListListModel *self, gpointer item
gtk_list_list_model_item_added_at
void
GtkListListModel *self, guint position
gtk_list_list_model_item_removed
void
GtkListListModel *self, gpointer previous
gtk_list_list_model_item_removed_at
void
GtkListListModel *self, guint position
gtk_list_list_model_clear
void
GtkListListModel *self
GtkListListModel
GtkListListModelClass
GTK_TYPE_LIST_STORE
#define GTK_TYPE_LIST_STORE (gtk_list_store_get_type ())
GTK_LIST_STORE
#define GTK_LIST_STORE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_LIST_STORE, GtkListStore))
GTK_LIST_STORE_CLASS
#define GTK_LIST_STORE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_LIST_STORE, GtkListStoreClass))
GTK_IS_LIST_STORE
#define GTK_IS_LIST_STORE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_LIST_STORE))
GTK_IS_LIST_STORE_CLASS
#define GTK_IS_LIST_STORE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_LIST_STORE))
GTK_LIST_STORE_GET_CLASS
#define GTK_LIST_STORE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_LIST_STORE, GtkListStoreClass))
GtkListStore
struct _GtkListStore
{
GObject parent;
/*< private >*/
GtkListStorePrivate *priv;
};
GtkListStoreClass
struct _GtkListStoreClass
{
GObjectClass parent_class;
/*< private >*/
gpointer padding[8];
};
gtk_list_store_get_type
GType
void
gtk_list_store_new
GtkListStore *
gint n_columns, ...
gtk_list_store_newv
GtkListStore *
gint n_columns, GType *types
gtk_list_store_set_column_types
void
GtkListStore *list_store, gint n_columns, GType *types
gtk_list_store_set_value
void
GtkListStore *list_store, GtkTreeIter *iter, gint column, GValue *value
gtk_list_store_set
void
GtkListStore *list_store, GtkTreeIter *iter, ...
gtk_list_store_set_valuesv
void
GtkListStore *list_store, GtkTreeIter *iter, gint *columns, GValue *values, gint n_values
gtk_list_store_set_valist
void
GtkListStore *list_store, GtkTreeIter *iter, va_list var_args
gtk_list_store_remove
gboolean
GtkListStore *list_store, GtkTreeIter *iter
gtk_list_store_insert
void
GtkListStore *list_store, GtkTreeIter *iter, gint position
gtk_list_store_insert_before
void
GtkListStore *list_store, GtkTreeIter *iter, GtkTreeIter *sibling
gtk_list_store_insert_after
void
GtkListStore *list_store, GtkTreeIter *iter, GtkTreeIter *sibling
gtk_list_store_insert_with_values
void
GtkListStore *list_store, GtkTreeIter *iter, gint position, ...
gtk_list_store_insert_with_valuesv
void
GtkListStore *list_store, GtkTreeIter *iter, gint position, gint *columns, GValue *values, gint n_values
gtk_list_store_prepend
void
GtkListStore *list_store, GtkTreeIter *iter
gtk_list_store_append
void
GtkListStore *list_store, GtkTreeIter *iter
gtk_list_store_clear
void
GtkListStore *list_store
gtk_list_store_iter_is_valid
gboolean
GtkListStore *list_store, GtkTreeIter *iter
gtk_list_store_reorder
void
GtkListStore *store, gint *new_order
gtk_list_store_swap
void
GtkListStore *store, GtkTreeIter *a, GtkTreeIter *b
gtk_list_store_move_after
void
GtkListStore *store, GtkTreeIter *iter, GtkTreeIter *position
gtk_list_store_move_before
void
GtkListStore *store, GtkTreeIter *iter, GtkTreeIter *position
GtkListStorePrivate
GTK_TYPE_LOCK_BUTTON
#define GTK_TYPE_LOCK_BUTTON (gtk_lock_button_get_type ())
GTK_LOCK_BUTTON
#define GTK_LOCK_BUTTON(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GTK_TYPE_LOCK_BUTTON, GtkLockButton))
GTK_IS_LOCK_BUTTON
#define GTK_IS_LOCK_BUTTON(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GTK_TYPE_LOCK_BUTTON))
gtk_lock_button_get_type
GType
void
gtk_lock_button_new
GtkWidget *
GPermission *permission
gtk_lock_button_get_permission
GPermission *
GtkLockButton *button
gtk_lock_button_set_permission
void
GtkLockButton *button, GPermission *permission
GtkLockButton
GTK_PRIORITY_RESIZE
#define GTK_PRIORITY_RESIZE (G_PRIORITY_HIGH_IDLE + 10)
gtk_get_major_version
guint
void
gtk_get_minor_version
guint
void
gtk_get_micro_version
guint
void
gtk_get_binary_age
guint
void
gtk_get_interface_age
guint
void
gtk_check_version
const gchar *
guint required_major, guint required_minor, guint required_micro
gtk_init
void
void
gtk_init_check
gboolean
void
gtk_is_initialized
gboolean
void
gtk_init_abi_check
void
int num_checks, size_t sizeof_GtkWindow, size_t sizeof_GtkBox
gtk_init_check_abi_check
gboolean
int num_checks, size_t sizeof_GtkWindow, size_t sizeof_GtkBox
gtk_disable_setlocale
void
void
gtk_get_default_language
PangoLanguage *
void
gtk_get_locale_direction
GtkTextDirection
void
gtk_grab_add
void
GtkWidget *widget
gtk_grab_get_current
GtkWidget *
void
gtk_grab_remove
void
GtkWidget *widget
gtk_device_grab_add
void
GtkWidget *widget, GdkDevice *device, gboolean block_others
gtk_device_grab_remove
void
GtkWidget *widget, GdkDevice *device
gtk_get_current_event
GdkEvent *
void
gtk_get_current_event_time
guint32
void
gtk_get_current_event_state
gboolean
GdkModifierType *state
gtk_get_current_event_device
GdkDevice *
void
gtk_get_event_widget
GtkWidget *
const GdkEvent *event
gtk_get_event_target
GtkWidget *
const GdkEvent *event
gtk_get_event_target_with_type
GtkWidget *
GdkEvent *event, GType type
GTK_TYPE_MAP_LIST_MODEL
#define GTK_TYPE_MAP_LIST_MODEL (gtk_map_list_model_get_type ())
GtkMapListModelMapFunc
gpointer
gpointer item, gpointer user_data
gtk_map_list_model_new
GtkMapListModel *
GType item_type, GListModel *model, GtkMapListModelMapFunc map_func, gpointer user_data, GDestroyNotify user_destroy
gtk_map_list_model_set_map_func
void
GtkMapListModel *self, GtkMapListModelMapFunc map_func, gpointer user_data, GDestroyNotify user_destroy
gtk_map_list_model_set_model
void
GtkMapListModel *self, GListModel *model
gtk_map_list_model_get_model
GListModel *
GtkMapListModel *self
gtk_map_list_model_has_map
gboolean
GtkMapListModel *self
GtkMapListModel
GTK_TYPE_MEDIA_CONTROLS
#define GTK_TYPE_MEDIA_CONTROLS (gtk_media_controls_get_type ())
gtk_media_controls_new
GtkWidget *
GtkMediaStream *stream
gtk_media_controls_get_media_stream
GtkMediaStream *
GtkMediaControls *controls
gtk_media_controls_set_media_stream
void
GtkMediaControls *controls, GtkMediaStream *stream
GtkMediaControls
GTK_MEDIA_FILE_EXTENSION_POINT_NAME
#define GTK_MEDIA_FILE_EXTENSION_POINT_NAME "gtk-media-file"
GTK_TYPE_MEDIA_FILE
#define GTK_TYPE_MEDIA_FILE (gtk_media_file_get_type ())
GtkMediaFileClass
struct _GtkMediaFileClass
{
GtkMediaStreamClass parent_class;
void (* open) (GtkMediaFile *self);
void (* close) (GtkMediaFile *self);
/* Padding for future expansion */
void (*_gtk_reserved1) (void);
void (*_gtk_reserved2) (void);
void (*_gtk_reserved3) (void);
void (*_gtk_reserved4) (void);
};
gtk_media_file_new
GtkMediaStream *
void
gtk_media_file_new_for_filename
GtkMediaStream *
const char *filename
gtk_media_file_new_for_resource
GtkMediaStream *
const char *resource_path
gtk_media_file_new_for_file
GtkMediaStream *
GFile *file
gtk_media_file_new_for_input_stream
GtkMediaStream *
GInputStream *stream
gtk_media_file_clear
void
GtkMediaFile *self
gtk_media_file_set_filename
void
GtkMediaFile *self, const char *filename
gtk_media_file_set_resource
void
GtkMediaFile *self, const char *resource_path
gtk_media_file_set_file
void
GtkMediaFile *self, GFile *file
gtk_media_file_get_file
GFile *
GtkMediaFile *self
gtk_media_file_set_input_stream
void
GtkMediaFile *self, GInputStream *stream
gtk_media_file_get_input_stream
GInputStream *
GtkMediaFile *self
GtkMediaFile
GTK_TYPE_MEDIA_STREAM
#define GTK_TYPE_MEDIA_STREAM (gtk_media_stream_get_type ())
GtkMediaStreamClass
struct _GtkMediaStreamClass
{
GObjectClass parent_class;
gboolean (* play) (GtkMediaStream *self);
void (* pause) (GtkMediaStream *self);
void (* seek) (GtkMediaStream *self,
gint64 timestamp);
void (* update_audio) (GtkMediaStream *self,
gboolean muted,
double volume);
void (* realize) (GtkMediaStream *self,
GdkSurface *surface);
void (* unrealize) (GtkMediaStream *self,
GdkSurface *surface);
/* Padding for future expansion */
void (*_gtk_reserved1) (void);
void (*_gtk_reserved2) (void);
void (*_gtk_reserved3) (void);
void (*_gtk_reserved4) (void);
void (*_gtk_reserved5) (void);
void (*_gtk_reserved6) (void);
void (*_gtk_reserved7) (void);
void (*_gtk_reserved8) (void);
};
gtk_media_stream_is_prepared
gboolean
GtkMediaStream *self
gtk_media_stream_get_error
const GError *
GtkMediaStream *self
gtk_media_stream_has_audio
gboolean
GtkMediaStream *self
gtk_media_stream_has_video
gboolean
GtkMediaStream *self
gtk_media_stream_play
void
GtkMediaStream *self
gtk_media_stream_pause
void
GtkMediaStream *self
gtk_media_stream_get_playing
gboolean
GtkMediaStream *self
gtk_media_stream_set_playing
void
GtkMediaStream *self, gboolean playing
gtk_media_stream_get_ended
gboolean
GtkMediaStream *self
gtk_media_stream_get_timestamp
gint64
GtkMediaStream *self
gtk_media_stream_get_duration
gint64
GtkMediaStream *self
gtk_media_stream_is_seekable
gboolean
GtkMediaStream *self
gtk_media_stream_is_seeking
gboolean
GtkMediaStream *self
gtk_media_stream_seek
void
GtkMediaStream *self, gint64 timestamp
gtk_media_stream_get_loop
gboolean
GtkMediaStream *self
gtk_media_stream_set_loop
void
GtkMediaStream *self, gboolean loop
gtk_media_stream_get_muted
gboolean
GtkMediaStream *self
gtk_media_stream_set_muted
void
GtkMediaStream *self, gboolean muted
gtk_media_stream_get_volume
double
GtkMediaStream *self
gtk_media_stream_set_volume
void
GtkMediaStream *self, double volume
gtk_media_stream_realize
void
GtkMediaStream *self, GdkSurface *surface
gtk_media_stream_unrealize
void
GtkMediaStream *self, GdkSurface *surface
gtk_media_stream_prepared
void
GtkMediaStream *self, gboolean has_audio, gboolean has_video, gboolean seekable, gint64 duration
gtk_media_stream_unprepared
void
GtkMediaStream *self
gtk_media_stream_update
void
GtkMediaStream *self, gint64 timestamp
gtk_media_stream_ended
void
GtkMediaStream *self
gtk_media_stream_seek_success
void
GtkMediaStream *self
gtk_media_stream_seek_failed
void
GtkMediaStream *self
gtk_media_stream_gerror
void
GtkMediaStream *self, GError *error
gtk_media_stream_error
void
GtkMediaStream *self, GQuark domain, gint code, const gchar *format, ...
gtk_media_stream_error_valist
void
GtkMediaStream *self, GQuark domain, gint code, const gchar *format, va_list args
GtkMediaStream
GTK_TYPE_MENU_BUTTON
#define GTK_TYPE_MENU_BUTTON (gtk_menu_button_get_type ())
GTK_MENU_BUTTON
#define GTK_MENU_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_MENU_BUTTON, GtkMenuButton))
GTK_IS_MENU_BUTTON
#define GTK_IS_MENU_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_MENU_BUTTON))
GtkMenuButtonCreatePopupFunc
void
GtkMenuButton *menu_button, gpointer user_data
gtk_menu_button_get_type
GType
void
gtk_menu_button_new
GtkWidget *
void
gtk_menu_button_set_popover
void
GtkMenuButton *menu_button, GtkWidget *popover
gtk_menu_button_get_popover
GtkPopover *
GtkMenuButton *menu_button
gtk_menu_button_set_direction
void
GtkMenuButton *menu_button, GtkArrowType direction
gtk_menu_button_get_direction
GtkArrowType
GtkMenuButton *menu_button
gtk_menu_button_set_menu_model
void
GtkMenuButton *menu_button, GMenuModel *menu_model
gtk_menu_button_get_menu_model
GMenuModel *
GtkMenuButton *menu_button
gtk_menu_button_set_align_widget
void
GtkMenuButton *menu_button, GtkWidget *align_widget
gtk_menu_button_get_align_widget
GtkWidget *
GtkMenuButton *menu_button
gtk_menu_button_set_icon_name
void
GtkMenuButton *menu_button, const char *icon_name
gtk_menu_button_get_icon_name
const char *
GtkMenuButton *menu_button
gtk_menu_button_set_label
void
GtkMenuButton *menu_button, const char *label
gtk_menu_button_get_label
const char *
GtkMenuButton *menu_button
gtk_menu_button_set_relief
void
GtkMenuButton *menu_button, GtkReliefStyle relief
gtk_menu_button_get_relief
GtkReliefStyle
GtkMenuButton *menu_button
gtk_menu_button_popup
void
GtkMenuButton *menu_button
gtk_menu_button_popdown
void
GtkMenuButton *menu_button
gtk_menu_button_set_create_popup_func
void
GtkMenuButton *menu_button, GtkMenuButtonCreatePopupFunc func, gpointer user_data, GDestroyNotify destroy_notify
GtkMenuButton
GTK_TYPE_MENU_SECTION_BOX
#define GTK_TYPE_MENU_SECTION_BOX (gtk_menu_section_box_get_type ())
GTK_MENU_SECTION_BOX
#define GTK_MENU_SECTION_BOX(inst) (G_TYPE_CHECK_INSTANCE_CAST ((inst), \
GTK_TYPE_MENU_SECTION_BOX, GtkMenuSectionBox))
GTK_MENU_SECTION_BOX_CLASS
#define GTK_MENU_SECTION_BOX_CLASS(class) (G_TYPE_CHECK_CLASS_CAST ((class), \
GTK_TYPE_MENU_SECTION_BOX, GtkMenuSectionBoxClass))
GTK_IS_MENU_SECTION_BOX
#define GTK_IS_MENU_SECTION_BOX(inst) (G_TYPE_CHECK_INSTANCE_TYPE ((inst), \
GTK_TYPE_MENU_SECTION_BOX))
GTK_IS_MENU_SECTION_BOX_CLASS
#define GTK_IS_MENU_SECTION_BOX_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE ((class), \
GTK_TYPE_MENU_SECTION_BOX))
GTK_MENU_SECTION_BOX_GET_CLASS
#define GTK_MENU_SECTION_BOX_GET_CLASS(inst) (G_TYPE_INSTANCE_GET_CLASS ((inst), \
GTK_TYPE_MENU_SECTION_BOX, GtkMenuSectionBoxClass))
gtk_menu_section_box_get_type
GType
void
gtk_menu_section_box_new_toplevel
void
GtkPopoverMenu *popover, GMenuModel *model, GtkPopoverMenuFlags flags
GtkMenuSectionBox
GTK_TYPE_MENU_TRACKER_ITEM
#define GTK_TYPE_MENU_TRACKER_ITEM (gtk_menu_tracker_item_get_type ())
GTK_MENU_TRACKER_ITEM
#define GTK_MENU_TRACKER_ITEM(inst) (G_TYPE_CHECK_INSTANCE_CAST ((inst), \
GTK_TYPE_MENU_TRACKER_ITEM, GtkMenuTrackerItem))
GTK_IS_MENU_TRACKER_ITEM
#define GTK_IS_MENU_TRACKER_ITEM(inst) (G_TYPE_CHECK_INSTANCE_TYPE ((inst), \
GTK_TYPE_MENU_TRACKER_ITEM))
GTK_TYPE_MENU_TRACKER_ITEM_ROLE
#define GTK_TYPE_MENU_TRACKER_ITEM_ROLE (gtk_menu_tracker_item_role_get_type ())
GtkMenuTrackerItemRole
typedef enum {
GTK_MENU_TRACKER_ITEM_ROLE_NORMAL,
GTK_MENU_TRACKER_ITEM_ROLE_CHECK,
GTK_MENU_TRACKER_ITEM_ROLE_RADIO,
} GtkMenuTrackerItemRole;
gtk_menu_tracker_item_get_type
GType
void
gtk_menu_tracker_item_role_get_type
GType
void
gtk_menu_tracker_item_get_special
const gchar *
GtkMenuTrackerItem *self
gtk_menu_tracker_item_get_display_hint
const gchar *
GtkMenuTrackerItem *self
gtk_menu_tracker_item_get_text_direction
const gchar *
GtkMenuTrackerItem *self
gtk_menu_tracker_item_get_is_separator
gboolean
GtkMenuTrackerItem *self
gtk_menu_tracker_item_get_has_link
gboolean
GtkMenuTrackerItem *self, const gchar *link_name
gtk_menu_tracker_item_get_label
const gchar *
GtkMenuTrackerItem *self
gtk_menu_tracker_item_get_icon
GIcon *
GtkMenuTrackerItem *self
gtk_menu_tracker_item_get_verb_icon
GIcon *
GtkMenuTrackerItem *self
gtk_menu_tracker_item_get_sensitive
gboolean
GtkMenuTrackerItem *self
gtk_menu_tracker_item_get_role
GtkMenuTrackerItemRole
GtkMenuTrackerItem *self
gtk_menu_tracker_item_get_toggled
gboolean
GtkMenuTrackerItem *self
gtk_menu_tracker_item_get_accel
const gchar *
GtkMenuTrackerItem *self
gtk_menu_tracker_item_may_disappear
gboolean
GtkMenuTrackerItem *self
gtk_menu_tracker_item_get_is_visible
gboolean
GtkMenuTrackerItem *self
gtk_menu_tracker_item_get_should_request_show
gboolean
GtkMenuTrackerItem *self
gtk_menu_tracker_item_activated
void
GtkMenuTrackerItem *self
gtk_menu_tracker_item_request_submenu_shown
void
GtkMenuTrackerItem *self, gboolean shown
gtk_menu_tracker_item_get_submenu_shown
gboolean
GtkMenuTrackerItem *self
GtkMenuTrackerItem
GtkMenuTrackerInsertFunc
void
GtkMenuTrackerItem *item, gint position, gpointer user_data
GtkMenuTrackerRemoveFunc
void
gint position, gpointer user_data
gtk_menu_tracker_new
GtkMenuTracker *
GtkActionObservable *observer, GMenuModel *model, gboolean with_separators, gboolean merge_sections, gboolean mac_os_mode, const gchar *action_namespace, GtkMenuTrackerInsertFunc insert_func, GtkMenuTrackerRemoveFunc remove_func, gpointer user_data
gtk_menu_tracker_new_for_item_link
GtkMenuTracker *
GtkMenuTrackerItem *item, const gchar *link_name, gboolean merge_sections, gboolean mac_os_mode, GtkMenuTrackerInsertFunc insert_func, GtkMenuTrackerRemoveFunc remove_func, gpointer user_data
gtk_menu_tracker_free
void
GtkMenuTracker *tracker
GtkMenuTracker
GTK_TYPE_MESSAGE_DIALOG
#define GTK_TYPE_MESSAGE_DIALOG (gtk_message_dialog_get_type ())
GTK_MESSAGE_DIALOG
#define GTK_MESSAGE_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_MESSAGE_DIALOG, GtkMessageDialog))
GTK_IS_MESSAGE_DIALOG
#define GTK_IS_MESSAGE_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_MESSAGE_DIALOG))
GtkMessageDialog
struct _GtkMessageDialog
{
GtkDialog parent_instance;
};
GtkButtonsType
typedef enum
{
GTK_BUTTONS_NONE,
GTK_BUTTONS_OK,
GTK_BUTTONS_CLOSE,
GTK_BUTTONS_CANCEL,
GTK_BUTTONS_YES_NO,
GTK_BUTTONS_OK_CANCEL
} GtkButtonsType;
gtk_message_dialog_get_type
GType
void
gtk_message_dialog_new
GtkWidget *
GtkWindow *parent, GtkDialogFlags flags, GtkMessageType type, GtkButtonsType buttons, const gchar *message_format, ...
gtk_message_dialog_new_with_markup
GtkWidget *
GtkWindow *parent, GtkDialogFlags flags, GtkMessageType type, GtkButtonsType buttons, const gchar *message_format, ...
gtk_message_dialog_set_markup
void
GtkMessageDialog *message_dialog, const gchar *str
gtk_message_dialog_format_secondary_text
void
GtkMessageDialog *message_dialog, const gchar *message_format, ...
gtk_message_dialog_format_secondary_markup
void
GtkMessageDialog *message_dialog, const gchar *message_format, ...
gtk_message_dialog_get_message_area
GtkWidget *
GtkMessageDialog *message_dialog
GtkMessageDialogClass
GtkMnemonicHash
typedef struct _GtkMnemnonicHash GtkMnemonicHash;
GtkMnemonicHashForeach
void
guint keyval, GSList *targets, gpointer data
GTK_TYPE_MODEL_BUTTON
#define GTK_TYPE_MODEL_BUTTON (gtk_model_button_get_type ())
GTK_MODEL_BUTTON
#define GTK_MODEL_BUTTON(inst) (G_TYPE_CHECK_INSTANCE_CAST ((inst), \
GTK_TYPE_MODEL_BUTTON, GtkModelButton))
GTK_IS_MODEL_BUTTON
#define GTK_IS_MODEL_BUTTON(inst) (G_TYPE_CHECK_INSTANCE_TYPE ((inst), \
GTK_TYPE_MODEL_BUTTON))
GtkButtonRole
typedef enum {
GTK_BUTTON_ROLE_NORMAL,
GTK_BUTTON_ROLE_CHECK,
GTK_BUTTON_ROLE_RADIO,
GTK_BUTTON_ROLE_TITLE
} GtkButtonRole;
GTK_TYPE_BUTTON_ROLE
#define GTK_TYPE_BUTTON_ROLE (gtk_button_role_get_type ())
gtk_button_role_get_type
GType
void
gtk_model_button_get_type
GType
void
gtk_model_button_new
GtkWidget *
void
GtkModelButton
GTK_TYPE_MOUNT_OPERATION
#define GTK_TYPE_MOUNT_OPERATION (gtk_mount_operation_get_type ())
GTK_MOUNT_OPERATION
#define GTK_MOUNT_OPERATION(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GTK_TYPE_MOUNT_OPERATION, GtkMountOperation))
GTK_MOUNT_OPERATION_CLASS
#define GTK_MOUNT_OPERATION_CLASS(k) (G_TYPE_CHECK_CLASS_CAST((k), GTK_TYPE_MOUNT_OPERATION, GtkMountOperationClass))
GTK_IS_MOUNT_OPERATION
#define GTK_IS_MOUNT_OPERATION(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GTK_TYPE_MOUNT_OPERATION))
GTK_IS_MOUNT_OPERATION_CLASS
#define GTK_IS_MOUNT_OPERATION_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GTK_TYPE_MOUNT_OPERATION))
GTK_MOUNT_OPERATION_GET_CLASS
#define GTK_MOUNT_OPERATION_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GTK_TYPE_MOUNT_OPERATION, GtkMountOperationClass))
GtkMountOperation
struct _GtkMountOperation
{
GMountOperation parent_instance;
GtkMountOperationPrivate *priv;
};
GtkMountOperationClass
struct _GtkMountOperationClass
{
GMountOperationClass parent_class;
/*< private >*/
/* Padding for future expansion */
void (*_gtk_reserved1) (void);
void (*_gtk_reserved2) (void);
void (*_gtk_reserved3) (void);
void (*_gtk_reserved4) (void);
};
gtk_mount_operation_get_type
GType
void
gtk_mount_operation_new
GMountOperation *
GtkWindow *parent
gtk_mount_operation_is_showing
gboolean
GtkMountOperation *op
gtk_mount_operation_set_parent
void
GtkMountOperation *op, GtkWindow *parent
gtk_mount_operation_get_parent
GtkWindow *
GtkMountOperation *op
gtk_mount_operation_set_display
void
GtkMountOperation *op, GdkDisplay *display
gtk_mount_operation_get_display
GdkDisplay *
GtkMountOperation *op
GtkMountOperationPrivate
GTK_TYPE_NATIVE
#define GTK_TYPE_NATIVE (gtk_native_get_type ())
GtkNativeInterface
struct _GtkNativeInterface
{
/*< private >*/
GTypeInterface g_iface;
/*< public >*/
GdkSurface * (* get_surface) (GtkNative *self);
GskRenderer * (* get_renderer) (GtkNative *self);
void (* get_surface_transform) (GtkNative *self,
int *x,
int *y);
void (* check_resize) (GtkNative *self);
};
gtk_native_get_for_surface
GtkWidget *
GdkSurface *surface
gtk_native_check_resize
void
GtkNative *self
gtk_native_get_surface
GdkSurface *
GtkNative *self
gtk_native_get_renderer
GskRenderer *
GtkNative *self
GtkNative
GTK_TYPE_NATIVE_DIALOG
#define GTK_TYPE_NATIVE_DIALOG (gtk_native_dialog_get_type ())
GtkNativeDialogClass
struct _GtkNativeDialogClass
{
GObjectClass parent_class;
void (* response) (GtkNativeDialog *self, gint response_id);
/* */
void (* show) (GtkNativeDialog *self);
void (* hide) (GtkNativeDialog *self);
/* Padding for future expansion */
void (*_gtk_reserved1) (void);
void (*_gtk_reserved2) (void);
void (*_gtk_reserved3) (void);
void (*_gtk_reserved4) (void);
};
gtk_native_dialog_show
void
GtkNativeDialog *self
gtk_native_dialog_hide
void
GtkNativeDialog *self
gtk_native_dialog_destroy
void
GtkNativeDialog *self
gtk_native_dialog_get_visible
gboolean
GtkNativeDialog *self
gtk_native_dialog_set_modal
void
GtkNativeDialog *self, gboolean modal
gtk_native_dialog_get_modal
gboolean
GtkNativeDialog *self
gtk_native_dialog_set_title
void
GtkNativeDialog *self, const char *title
gtk_native_dialog_get_title
const char *
GtkNativeDialog *self
gtk_native_dialog_set_transient_for
void
GtkNativeDialog *self, GtkWindow *parent
gtk_native_dialog_get_transient_for
GtkWindow *
GtkNativeDialog *self
gtk_native_dialog_run
gint
GtkNativeDialog *self
GtkNativeDialog
gtk_native_get_surface_transform
void
GtkNative *self, int *x, int *y
GTK_TYPE_NO_SELECTION
#define GTK_TYPE_NO_SELECTION (gtk_no_selection_get_type ())
gtk_no_selection_new
GtkNoSelection *
GListModel *model
gtk_no_selection_get_model
GListModel *
GtkNoSelection *self
GtkNoSelection
GTK_TYPE_NOTEBOOK
#define GTK_TYPE_NOTEBOOK (gtk_notebook_get_type ())
GTK_NOTEBOOK
#define GTK_NOTEBOOK(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_NOTEBOOK, GtkNotebook))
GTK_IS_NOTEBOOK
#define GTK_IS_NOTEBOOK(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_NOTEBOOK))
GTK_TYPE_NOTEBOOK_PAGE
#define GTK_TYPE_NOTEBOOK_PAGE (gtk_notebook_page_get_type ())
GTK_NOTEBOOK_PAGE
#define GTK_NOTEBOOK_PAGE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_NOTEBOOK_PAGE, GtkNotebookPage))
GTK_IS_NOTEBOOK_PAGE
#define GTK_IS_NOTEBOOK_PAGE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_NOTEBOOK_PAGE))
GtkNotebookTab
typedef enum
{
GTK_NOTEBOOK_TAB_FIRST,
GTK_NOTEBOOK_TAB_LAST
} GtkNotebookTab;
gtk_notebook_get_type
GType
void
gtk_notebook_new
GtkWidget *
void
gtk_notebook_append_page
gint
GtkNotebook *notebook, GtkWidget *child, GtkWidget *tab_label
gtk_notebook_append_page_menu
gint
GtkNotebook *notebook, GtkWidget *child, GtkWidget *tab_label, GtkWidget *menu_label
gtk_notebook_prepend_page
gint
GtkNotebook *notebook, GtkWidget *child, GtkWidget *tab_label
gtk_notebook_prepend_page_menu
gint
GtkNotebook *notebook, GtkWidget *child, GtkWidget *tab_label, GtkWidget *menu_label
gtk_notebook_insert_page
gint
GtkNotebook *notebook, GtkWidget *child, GtkWidget *tab_label, gint position
gtk_notebook_insert_page_menu
gint
GtkNotebook *notebook, GtkWidget *child, GtkWidget *tab_label, GtkWidget *menu_label, gint position
gtk_notebook_remove_page
void
GtkNotebook *notebook, gint page_num
gtk_notebook_set_group_name
void
GtkNotebook *notebook, const gchar *group_name
gtk_notebook_get_group_name
const gchar *
GtkNotebook *notebook
gtk_notebook_get_current_page
gint
GtkNotebook *notebook
gtk_notebook_get_nth_page
GtkWidget *
GtkNotebook *notebook, gint page_num
gtk_notebook_get_n_pages
gint
GtkNotebook *notebook
gtk_notebook_page_num
gint
GtkNotebook *notebook, GtkWidget *child
gtk_notebook_set_current_page
void
GtkNotebook *notebook, gint page_num
gtk_notebook_next_page
void
GtkNotebook *notebook
gtk_notebook_prev_page
void
GtkNotebook *notebook
gtk_notebook_set_show_border
void
GtkNotebook *notebook, gboolean show_border
gtk_notebook_get_show_border
gboolean
GtkNotebook *notebook
gtk_notebook_set_show_tabs
void
GtkNotebook *notebook, gboolean show_tabs
gtk_notebook_get_show_tabs
gboolean
GtkNotebook *notebook
gtk_notebook_set_tab_pos
void
GtkNotebook *notebook, GtkPositionType pos
gtk_notebook_get_tab_pos
GtkPositionType
GtkNotebook *notebook
gtk_notebook_set_scrollable
void
GtkNotebook *notebook, gboolean scrollable
gtk_notebook_get_scrollable
gboolean
GtkNotebook *notebook
gtk_notebook_popup_enable
void
GtkNotebook *notebook
gtk_notebook_popup_disable
void
GtkNotebook *notebook
gtk_notebook_get_tab_label
GtkWidget *
GtkNotebook *notebook, GtkWidget *child
gtk_notebook_set_tab_label
void
GtkNotebook *notebook, GtkWidget *child, GtkWidget *tab_label
gtk_notebook_set_tab_label_text
void
GtkNotebook *notebook, GtkWidget *child, const gchar *tab_text
gtk_notebook_get_tab_label_text
const gchar *
GtkNotebook *notebook, GtkWidget *child
gtk_notebook_get_menu_label
GtkWidget *
GtkNotebook *notebook, GtkWidget *child
gtk_notebook_set_menu_label
void
GtkNotebook *notebook, GtkWidget *child, GtkWidget *menu_label
gtk_notebook_set_menu_label_text
void
GtkNotebook *notebook, GtkWidget *child, const gchar *menu_text
gtk_notebook_get_menu_label_text
const gchar *
GtkNotebook *notebook, GtkWidget *child
gtk_notebook_reorder_child
void
GtkNotebook *notebook, GtkWidget *child, gint position
gtk_notebook_get_tab_reorderable
gboolean
GtkNotebook *notebook, GtkWidget *child
gtk_notebook_set_tab_reorderable
void
GtkNotebook *notebook, GtkWidget *child, gboolean reorderable
gtk_notebook_get_tab_detachable
gboolean
GtkNotebook *notebook, GtkWidget *child
gtk_notebook_set_tab_detachable
void
GtkNotebook *notebook, GtkWidget *child, gboolean detachable
gtk_notebook_detach_tab
void
GtkNotebook *notebook, GtkWidget *child
gtk_notebook_get_action_widget
GtkWidget *
GtkNotebook *notebook, GtkPackType pack_type
gtk_notebook_set_action_widget
void
GtkNotebook *notebook, GtkWidget *widget, GtkPackType pack_type
gtk_notebook_page_get_type
GType
void
gtk_notebook_get_page
GtkNotebookPage *
GtkNotebook *notebook, GtkWidget *child
gtk_notebook_page_get_child
GtkWidget *
GtkNotebookPage *page
gtk_notebook_get_pages
GListModel *
GtkNotebook *notebook
GtkNotebook
GtkNotebookPage
GTK_TYPE_ORIENTABLE
#define GTK_TYPE_ORIENTABLE (gtk_orientable_get_type ())
GTK_ORIENTABLE
#define GTK_ORIENTABLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_ORIENTABLE, GtkOrientable))
GTK_ORIENTABLE_CLASS
#define GTK_ORIENTABLE_CLASS(vtable) (G_TYPE_CHECK_CLASS_CAST ((vtable), GTK_TYPE_ORIENTABLE, GtkOrientableIface))
GTK_IS_ORIENTABLE
#define GTK_IS_ORIENTABLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_ORIENTABLE))
GTK_IS_ORIENTABLE_CLASS
#define GTK_IS_ORIENTABLE_CLASS(vtable) (G_TYPE_CHECK_CLASS_TYPE ((vtable), GTK_TYPE_ORIENTABLE))
GTK_ORIENTABLE_GET_IFACE
#define GTK_ORIENTABLE_GET_IFACE(inst) (G_TYPE_INSTANCE_GET_INTERFACE ((inst), GTK_TYPE_ORIENTABLE, GtkOrientableIface))
GtkOrientableIface
struct _GtkOrientableIface
{
GTypeInterface base_iface;
};
gtk_orientable_get_type
GType
void
gtk_orientable_set_orientation
void
GtkOrientable *orientable, GtkOrientation orientation
gtk_orientable_get_orientation
GtkOrientation
GtkOrientable *orientable
GtkOrientable
GTK_TYPE_OVERLAY
#define GTK_TYPE_OVERLAY (gtk_overlay_get_type ())
GTK_OVERLAY
#define GTK_OVERLAY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_OVERLAY, GtkOverlay))
GTK_IS_OVERLAY
#define GTK_IS_OVERLAY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_OVERLAY))
gtk_overlay_get_type
GType
void
gtk_overlay_new
GtkWidget *
void
gtk_overlay_add_overlay
void
GtkOverlay *overlay, GtkWidget *widget
gtk_overlay_get_measure_overlay
gboolean
GtkOverlay *overlay, GtkWidget *widget
gtk_overlay_set_measure_overlay
void
GtkOverlay *overlay, GtkWidget *widget, gboolean measure
gtk_overlay_get_clip_overlay
gboolean
GtkOverlay *overlay, GtkWidget *widget
gtk_overlay_set_clip_overlay
void
GtkOverlay *overlay, GtkWidget *widget, gboolean clip_overlay
GtkOverlay
GTK_TYPE_OVERLAY_LAYOUT
#define GTK_TYPE_OVERLAY_LAYOUT (gtk_overlay_layout_get_type ())
GTK_TYPE_OVERLAY_LAYOUT_CHILD
#define GTK_TYPE_OVERLAY_LAYOUT_CHILD (gtk_overlay_layout_child_get_type ())
gtk_overlay_layout_new
GtkLayoutManager *
void
gtk_overlay_layout_child_set_measure
void
GtkOverlayLayoutChild *child, gboolean measure
gtk_overlay_layout_child_get_measure
gboolean
GtkOverlayLayoutChild *child
gtk_overlay_layout_child_set_clip_overlay
void
GtkOverlayLayoutChild *child, gboolean clip_overlay
gtk_overlay_layout_child_get_clip_overlay
gboolean
GtkOverlayLayoutChild *child
GtkOverlayLayout
GtkOverlayLayoutChild
GTK_TYPE_PAD_CONTROLLER
#define GTK_TYPE_PAD_CONTROLLER (gtk_pad_controller_get_type ())
GTK_PAD_CONTROLLER
#define GTK_PAD_CONTROLLER(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GTK_TYPE_PAD_CONTROLLER, GtkPadController))
GTK_PAD_CONTROLLER_CLASS
#define GTK_PAD_CONTROLLER_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GTK_TYPE_PAD_CONTROLLER, GtkPadControllerClass))
GTK_IS_PAD_CONTROLLER
#define GTK_IS_PAD_CONTROLLER(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GTK_TYPE_PAD_CONTROLLER))
GTK_IS_PAD_CONTROLLER_CLASS
#define GTK_IS_PAD_CONTROLLER_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GTK_TYPE_PAD_CONTROLLER))
GTK_PAD_CONTROLLER_GET_CLASS
#define GTK_PAD_CONTROLLER_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GTK_TYPE_PAD_CONTROLLER, GtkPadControllerClass))
GtkPadActionType
typedef enum {
GTK_PAD_ACTION_BUTTON,
GTK_PAD_ACTION_RING,
GTK_PAD_ACTION_STRIP
} GtkPadActionType;
GtkPadActionEntry
struct _GtkPadActionEntry {
GtkPadActionType type;
gint index;
gint mode;
gchar *label;
gchar *action_name;
};
gtk_pad_controller_get_type
GType
void
gtk_pad_controller_new
GtkPadController *
GActionGroup *group, GdkDevice *pad
gtk_pad_controller_set_action_entries
void
GtkPadController *controller, const GtkPadActionEntry *entries, gint n_entries
gtk_pad_controller_set_action
void
GtkPadController *controller, GtkPadActionType type, gint index, gint mode, const gchar *label, const gchar *action_name
GtkPadController
GtkPadControllerClass
GTK_TYPE_PAGE_SETUP
#define GTK_TYPE_PAGE_SETUP (gtk_page_setup_get_type ())
GTK_PAGE_SETUP
#define GTK_PAGE_SETUP(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_PAGE_SETUP, GtkPageSetup))
GTK_IS_PAGE_SETUP
#define GTK_IS_PAGE_SETUP(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_PAGE_SETUP))
gtk_page_setup_get_type
GType
void
gtk_page_setup_new
GtkPageSetup *
void
gtk_page_setup_copy
GtkPageSetup *
GtkPageSetup *other
gtk_page_setup_get_orientation
GtkPageOrientation
GtkPageSetup *setup
gtk_page_setup_set_orientation
void
GtkPageSetup *setup, GtkPageOrientation orientation
gtk_page_setup_get_paper_size
GtkPaperSize *
GtkPageSetup *setup
gtk_page_setup_set_paper_size
void
GtkPageSetup *setup, GtkPaperSize *size
gtk_page_setup_get_top_margin
gdouble
GtkPageSetup *setup, GtkUnit unit
gtk_page_setup_set_top_margin
void
GtkPageSetup *setup, gdouble margin, GtkUnit unit
gtk_page_setup_get_bottom_margin
gdouble
GtkPageSetup *setup, GtkUnit unit
gtk_page_setup_set_bottom_margin
void
GtkPageSetup *setup, gdouble margin, GtkUnit unit
gtk_page_setup_get_left_margin
gdouble
GtkPageSetup *setup, GtkUnit unit
gtk_page_setup_set_left_margin
void
GtkPageSetup *setup, gdouble margin, GtkUnit unit
gtk_page_setup_get_right_margin
gdouble
GtkPageSetup *setup, GtkUnit unit
gtk_page_setup_set_right_margin
void
GtkPageSetup *setup, gdouble margin, GtkUnit unit
gtk_page_setup_set_paper_size_and_default_margins
void
GtkPageSetup *setup, GtkPaperSize *size
gtk_page_setup_get_paper_width
gdouble
GtkPageSetup *setup, GtkUnit unit
gtk_page_setup_get_paper_height
gdouble
GtkPageSetup *setup, GtkUnit unit
gtk_page_setup_get_page_width
gdouble
GtkPageSetup *setup, GtkUnit unit
gtk_page_setup_get_page_height
gdouble
GtkPageSetup *setup, GtkUnit unit
gtk_page_setup_new_from_file
GtkPageSetup *
const gchar *file_name, GError **error
gtk_page_setup_load_file
gboolean
GtkPageSetup *setup, const char *file_name, GError **error
gtk_page_setup_to_file
gboolean
GtkPageSetup *setup, const char *file_name, GError **error
gtk_page_setup_new_from_key_file
GtkPageSetup *
GKeyFile *key_file, const gchar *group_name, GError **error
gtk_page_setup_load_key_file
gboolean
GtkPageSetup *setup, GKeyFile *key_file, const gchar *group_name, GError **error
gtk_page_setup_to_key_file
void
GtkPageSetup *setup, GKeyFile *key_file, const gchar *group_name
gtk_page_setup_to_gvariant
GVariant *
GtkPageSetup *setup
gtk_page_setup_new_from_gvariant
GtkPageSetup *
GVariant *variant
GtkPageSetup
GTK_TYPE_PAGE_SETUP_UNIX_DIALOG
#define GTK_TYPE_PAGE_SETUP_UNIX_DIALOG (gtk_page_setup_unix_dialog_get_type ())
GTK_PAGE_SETUP_UNIX_DIALOG
#define GTK_PAGE_SETUP_UNIX_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_PAGE_SETUP_UNIX_DIALOG, GtkPageSetupUnixDialog))
GTK_IS_PAGE_SETUP_UNIX_DIALOG
#define GTK_IS_PAGE_SETUP_UNIX_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_PAGE_SETUP_UNIX_DIALOG))
gtk_page_setup_unix_dialog_get_type
GType
void
gtk_page_setup_unix_dialog_new
GtkWidget *
const gchar *title, GtkWindow *parent
gtk_page_setup_unix_dialog_set_page_setup
void
GtkPageSetupUnixDialog *dialog, GtkPageSetup *page_setup
gtk_page_setup_unix_dialog_get_page_setup
GtkPageSetup *
GtkPageSetupUnixDialog *dialog
gtk_page_setup_unix_dialog_set_print_settings
void
GtkPageSetupUnixDialog *dialog, GtkPrintSettings *print_settings
gtk_page_setup_unix_dialog_get_print_settings
GtkPrintSettings *
GtkPageSetupUnixDialog *dialog
GtkPageSetupUnixDialog
GTK_TYPE_PANED
#define GTK_TYPE_PANED (gtk_paned_get_type ())
GTK_PANED
#define GTK_PANED(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_PANED, GtkPaned))
GTK_IS_PANED
#define GTK_IS_PANED(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_PANED))
gtk_paned_get_type
GType
void
gtk_paned_new
GtkWidget *
GtkOrientation orientation
gtk_paned_add1
void
GtkPaned *paned, GtkWidget *child
gtk_paned_add2
void
GtkPaned *paned, GtkWidget *child
gtk_paned_pack1
void
GtkPaned *paned, GtkWidget *child, gboolean resize, gboolean shrink
gtk_paned_pack2
void
GtkPaned *paned, GtkWidget *child, gboolean resize, gboolean shrink
gtk_paned_get_position
gint
GtkPaned *paned
gtk_paned_set_position
void
GtkPaned *paned, gint position
gtk_paned_get_child1
GtkWidget *
GtkPaned *paned
gtk_paned_get_child2
GtkWidget *
GtkPaned *paned
gtk_paned_set_wide_handle
void
GtkPaned *paned, gboolean wide
gtk_paned_get_wide_handle
gboolean
GtkPaned *paned
GtkPaned
GTK_TYPE_PAPER_SIZE
#define GTK_TYPE_PAPER_SIZE (gtk_paper_size_get_type ())
GTK_PAPER_NAME_A3
#define GTK_PAPER_NAME_A3 "iso_a3"
GTK_PAPER_NAME_A4
#define GTK_PAPER_NAME_A4 "iso_a4"
GTK_PAPER_NAME_A5
#define GTK_PAPER_NAME_A5 "iso_a5"
GTK_PAPER_NAME_B5
#define GTK_PAPER_NAME_B5 "iso_b5"
GTK_PAPER_NAME_LETTER
#define GTK_PAPER_NAME_LETTER "na_letter"
GTK_PAPER_NAME_EXECUTIVE
#define GTK_PAPER_NAME_EXECUTIVE "na_executive"
GTK_PAPER_NAME_LEGAL
#define GTK_PAPER_NAME_LEGAL "na_legal"
gtk_paper_size_get_type
GType
void
gtk_paper_size_new
GtkPaperSize *
const gchar *name
gtk_paper_size_new_from_ppd
GtkPaperSize *
const gchar *ppd_name, const gchar *ppd_display_name, gdouble width, gdouble height
gtk_paper_size_new_from_ipp
GtkPaperSize *
const gchar *ipp_name, gdouble width, gdouble height
gtk_paper_size_new_custom
GtkPaperSize *
const gchar *name, const gchar *display_name, gdouble width, gdouble height, GtkUnit unit
gtk_paper_size_copy
GtkPaperSize *
GtkPaperSize *other
gtk_paper_size_free
void
GtkPaperSize *size
gtk_paper_size_is_equal
gboolean
GtkPaperSize *size1, GtkPaperSize *size2
gtk_paper_size_get_paper_sizes
GList *
gboolean include_custom
gtk_paper_size_get_name
const gchar *
GtkPaperSize *size
gtk_paper_size_get_display_name
const gchar *
GtkPaperSize *size
gtk_paper_size_get_ppd_name
const gchar *
GtkPaperSize *size
gtk_paper_size_get_width
gdouble
GtkPaperSize *size, GtkUnit unit
gtk_paper_size_get_height
gdouble
GtkPaperSize *size, GtkUnit unit
gtk_paper_size_is_custom
gboolean
GtkPaperSize *size
gtk_paper_size_is_ipp
gboolean
GtkPaperSize *size
gtk_paper_size_set_size
void
GtkPaperSize *size, gdouble width, gdouble height, GtkUnit unit
gtk_paper_size_get_default_top_margin
gdouble
GtkPaperSize *size, GtkUnit unit
gtk_paper_size_get_default_bottom_margin
gdouble
GtkPaperSize *size, GtkUnit unit
gtk_paper_size_get_default_left_margin
gdouble
GtkPaperSize *size, GtkUnit unit
gtk_paper_size_get_default_right_margin
gdouble
GtkPaperSize *size, GtkUnit unit
gtk_paper_size_get_default
const gchar *
void
gtk_paper_size_new_from_key_file
GtkPaperSize *
GKeyFile *key_file, const gchar *group_name, GError **error
gtk_paper_size_to_key_file
void
GtkPaperSize *size, GKeyFile *key_file, const gchar *group_name
gtk_paper_size_new_from_gvariant
GtkPaperSize *
GVariant *variant
gtk_paper_size_to_gvariant
GVariant *
GtkPaperSize *paper_size
GtkPaperSize
GTK_TYPE_PASSWORD_ENTRY
#define GTK_TYPE_PASSWORD_ENTRY (gtk_password_entry_get_type ())
GTK_PASSWORD_ENTRY
#define GTK_PASSWORD_ENTRY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_PASSWORD_ENTRY, GtkPasswordEntry))
GTK_IS_PASSWORD_ENTRY
#define GTK_IS_PASSWORD_ENTRY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_PASSWORD_ENTRY))
GtkPasswordEntry
struct _GtkPasswordEntry
{
GtkWidget parent;
};
gtk_password_entry_get_type
GType
void
gtk_password_entry_new
GtkWidget *
void
gtk_password_entry_set_show_peek_icon
void
GtkPasswordEntry *entry, gboolean show_peek_icon
gtk_password_entry_get_show_peek_icon
gboolean
GtkPasswordEntry *entry
gtk_password_entry_set_extra_menu
void
GtkPasswordEntry *entry, GMenuModel *model
gtk_password_entry_get_extra_menu
GMenuModel *
GtkPasswordEntry *entry
GtkPasswordEntryClass
GTK_TYPE_PATH_BAR
#define GTK_TYPE_PATH_BAR (gtk_path_bar_get_type ())
GTK_PATH_BAR
#define GTK_PATH_BAR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_PATH_BAR, GtkPathBar))
GTK_PATH_BAR_CLASS
#define GTK_PATH_BAR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_PATH_BAR, GtkPathBarClass))
GTK_IS_PATH_BAR
#define GTK_IS_PATH_BAR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_PATH_BAR))
GTK_IS_PATH_BAR_CLASS
#define GTK_IS_PATH_BAR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_PATH_BAR))
GTK_PATH_BAR_GET_CLASS
#define GTK_PATH_BAR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_PATH_BAR, GtkPathBarClass))
GtkPathBar
struct _GtkPathBar
{
GtkContainer parent_instance;
};
GtkPathBarClass
struct _GtkPathBarClass
{
GtkContainerClass parent_class;
void (* path_clicked) (GtkPathBar *path_bar,
GFile *file,
GFile *child_file,
gboolean child_is_hidden);
};
gtk_path_bar_get_type
GType
void
GTK_TYPE_PICTURE
#define GTK_TYPE_PICTURE (gtk_picture_get_type ())
gtk_picture_new
GtkWidget *
void
gtk_picture_new_for_paintable
GtkWidget *
GdkPaintable *paintable
gtk_picture_new_for_pixbuf
GtkWidget *
GdkPixbuf *pixbuf
gtk_picture_new_for_file
GtkWidget *
GFile *file
gtk_picture_new_for_filename
GtkWidget *
const gchar *filename
gtk_picture_new_for_resource
GtkWidget *
const gchar *resource_path
gtk_picture_set_paintable
void
GtkPicture *self, GdkPaintable *paintable
gtk_picture_get_paintable
GdkPaintable *
GtkPicture *self
gtk_picture_set_file
void
GtkPicture *self, GFile *file
gtk_picture_get_file
GFile *
GtkPicture *self
gtk_picture_set_filename
void
GtkPicture *self, const gchar *filename
gtk_picture_set_resource
void
GtkPicture *self, const gchar *resource_path
gtk_picture_set_pixbuf
void
GtkPicture *self, GdkPixbuf *pixbuf
gtk_picture_set_keep_aspect_ratio
void
GtkPicture *self, gboolean keep_aspect_ratio
gtk_picture_get_keep_aspect_ratio
gboolean
GtkPicture *self
gtk_picture_set_can_shrink
void
GtkPicture *self, gboolean can_shrink
gtk_picture_get_can_shrink
gboolean
GtkPicture *self
gtk_picture_set_alternative_text
void
GtkPicture *self, const char *alternative_text
gtk_picture_get_alternative_text
const char *
GtkPicture *self
GtkPicture
GTK_TYPE_POPOVER
#define GTK_TYPE_POPOVER (gtk_popover_get_type ())
GTK_POPOVER
#define GTK_POPOVER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_POPOVER, GtkPopover))
GTK_POPOVER_CLASS
#define GTK_POPOVER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_POPOVER, GtkPopoverClass))
GTK_IS_POPOVER
#define GTK_IS_POPOVER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_POPOVER))
GTK_IS_POPOVER_CLASS
#define GTK_IS_POPOVER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_POPOVER))
GTK_POPOVER_GET_CLASS
#define GTK_POPOVER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_POPOVER, GtkPopoverClass))
GtkPopover
struct _GtkPopover
{
GtkBin parent;
};
GtkPopoverClass
struct _GtkPopoverClass
{
GtkBinClass parent_class;
void (* closed) (GtkPopover *popover);
void (* activate_default) (GtkPopover *popover);
/*< private >*/
gpointer reserved[8];
};
gtk_popover_get_type
GType
void
gtk_popover_new
GtkWidget *
GtkWidget *relative_to
gtk_popover_set_relative_to
void
GtkPopover *popover, GtkWidget *relative_to
gtk_popover_get_relative_to
GtkWidget *
GtkPopover *popover
gtk_popover_set_pointing_to
void
GtkPopover *popover, const GdkRectangle *rect
gtk_popover_get_pointing_to
gboolean
GtkPopover *popover, GdkRectangle *rect
gtk_popover_set_position
void
GtkPopover *popover, GtkPositionType position
gtk_popover_get_position
GtkPositionType
GtkPopover *popover
gtk_popover_set_autohide
void
GtkPopover *popover, gboolean autohide
gtk_popover_get_autohide
gboolean
GtkPopover *popover
gtk_popover_set_has_arrow
void
GtkPopover *popover, gboolean has_arrow
gtk_popover_get_has_arrow
gboolean
GtkPopover *popover
gtk_popover_popup
void
GtkPopover *popover
gtk_popover_popdown
void
GtkPopover *popover
gtk_popover_set_default_widget
void
GtkPopover *popover, GtkWidget *widget
GTK_TYPE_POPOVER_MENU
#define GTK_TYPE_POPOVER_MENU (gtk_popover_menu_get_type ())
GTK_POPOVER_MENU
#define GTK_POPOVER_MENU(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GTK_TYPE_POPOVER_MENU, GtkPopoverMenu))
GTK_IS_POPOVER_MENU
#define GTK_IS_POPOVER_MENU(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GTK_TYPE_POPOVER_MENU))
gtk_popover_menu_get_type
GType
void
gtk_popover_menu_new_from_model
GtkWidget *
GtkWidget *relative_to, GMenuModel *model
GtkPopoverMenuFlags
typedef enum {
GTK_POPOVER_MENU_NESTED = 1 << 0
} GtkPopoverMenuFlags;
gtk_popover_menu_new_from_model_full
GtkWidget *
GtkWidget *relative_to, GMenuModel *model, GtkPopoverMenuFlags flags
gtk_popover_menu_set_menu_model
void
GtkPopoverMenu *popover, GMenuModel *model
gtk_popover_menu_get_menu_model
GMenuModel *
GtkPopoverMenu *popover
GtkPopoverMenu
GTK_TYPE_POPOVER_MENU_BAR
#define GTK_TYPE_POPOVER_MENU_BAR (gtk_popover_menu_bar_get_type ())
GTK_POPOVER_MENU_BAR
#define GTK_POPOVER_MENU_BAR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_POPOVER_MENU_BAR, GtkPopoverMenuBar))
GTK_IS_POPOVER_MENU_BAR
#define GTK_IS_POPOVER_MENU_BAR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_POPOVER_MENU_BAR))
gtk_popover_menu_bar_get_type
GType
void
gtk_popover_menu_bar_new_from_model
GtkWidget *
GMenuModel *model
gtk_popover_menu_bar_set_menu_model
void
GtkPopoverMenuBar *bar, GMenuModel *model
gtk_popover_menu_bar_get_menu_model
GMenuModel *
GtkPopoverMenuBar *bar
GtkPopoverMenuBar
gtk_popover_menu_bar_select_first
void
GtkPopoverMenuBar *bar
gtk_popover_menu_bar_get_viewable_menu_bars
GList *
GtkWindow *window
gtk_popover_menu_get_active_item
GtkWidget *
GtkPopoverMenu *menu
gtk_popover_menu_set_active_item
void
GtkPopoverMenu *menu, GtkWidget *item
gtk_popover_menu_get_open_submenu
GtkWidget *
GtkPopoverMenu *menu
gtk_popover_menu_set_open_submenu
void
GtkPopoverMenu *menu, GtkWidget *submenu
gtk_popover_menu_get_parent_menu
GtkWidget *
GtkPopoverMenu *menu
gtk_popover_menu_set_parent_menu
void
GtkPopoverMenu *menu, GtkWidget *parent
gtk_popover_menu_new
GtkWidget *
GtkWidget *relative_to
gtk_popover_menu_add_submenu
void
GtkPopoverMenu *popover, GtkWidget *submenu, const char *name
gtk_popover_menu_open_submenu
void
GtkPopoverMenu *popover, const gchar *name
START_PAGE_GENERAL
#define START_PAGE_GENERAL 0xffffffff
PD_RESULT_CANCEL
#define PD_RESULT_CANCEL 0
PD_RESULT_PRINT
#define PD_RESULT_PRINT 1
PD_RESULT_APPLY
#define PD_RESULT_APPLY 2
PD_NOCURRENTPAGE
#define PD_NOCURRENTPAGE 0x00800000
PD_CURRENTPAGE
#define PD_CURRENTPAGE 0x00400000
GtkPrintWin32Devnames
typedef struct {
char *driver;
char *device;
char *output;
int flags;
} GtkPrintWin32Devnames;
gtk_print_win32_devnames_free
void
GtkPrintWin32Devnames *devnames
gtk_print_win32_devnames_from_win32
GtkPrintWin32Devnames *
HGLOBAL global
gtk_print_win32_devnames_from_printer_name
GtkPrintWin32Devnames *
const char *printer
gtk_print_win32_devnames_to_win32
HGLOBAL
const GtkPrintWin32Devnames *devnames
gtk_print_win32_devnames_to_win32_from_printer_name
HGLOBAL
const char *printer
GTK_PRINT_BACKEND_ERROR
#define GTK_PRINT_BACKEND_ERROR (gtk_print_backend_error_quark ())
GtkPrintBackendError
typedef enum
{
/* TODO: add specific errors */
GTK_PRINT_BACKEND_ERROR_GENERIC
} GtkPrintBackendError;
gtk_print_backend_error_quark
GQuark
void
GTK_TYPE_PRINT_BACKEND
#define GTK_TYPE_PRINT_BACKEND (gtk_print_backend_get_type ())
GTK_PRINT_BACKEND
#define GTK_PRINT_BACKEND(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_PRINT_BACKEND, GtkPrintBackend))
GTK_PRINT_BACKEND_CLASS
#define GTK_PRINT_BACKEND_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_PRINT_BACKEND, GtkPrintBackendClass))
GTK_IS_PRINT_BACKEND
#define GTK_IS_PRINT_BACKEND(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_PRINT_BACKEND))
GTK_IS_PRINT_BACKEND_CLASS
#define GTK_IS_PRINT_BACKEND_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_PRINT_BACKEND))
GTK_PRINT_BACKEND_GET_CLASS
#define GTK_PRINT_BACKEND_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_PRINT_BACKEND, GtkPrintBackendClass))
GtkPrintBackendStatus
typedef enum
{
GTK_PRINT_BACKEND_STATUS_UNKNOWN,
GTK_PRINT_BACKEND_STATUS_OK,
GTK_PRINT_BACKEND_STATUS_UNAVAILABLE
} GtkPrintBackendStatus;
GtkPrintBackend
struct _GtkPrintBackend
{
GObject parent_instance;
GtkPrintBackendPrivate *priv;
};
GtkPrintBackendClass
struct _GtkPrintBackendClass
{
GObjectClass parent_class;
/* Global backend methods: */
void (*request_printer_list) (GtkPrintBackend *backend);
void (*print_stream) (GtkPrintBackend *backend,
GtkPrintJob *job,
GIOChannel *data_io,
GtkPrintJobCompleteFunc callback,
gpointer user_data,
GDestroyNotify dnotify);
/* Printer methods: */
void (*printer_request_details) (GtkPrinter *printer);
cairo_surface_t * (*printer_create_cairo_surface) (GtkPrinter *printer,
GtkPrintSettings *settings,
gdouble height,
gdouble width,
GIOChannel *cache_io);
GtkPrinterOptionSet * (*printer_get_options) (GtkPrinter *printer,
GtkPrintSettings *settings,
GtkPageSetup *page_setup,
GtkPrintCapabilities capabilities);
gboolean (*printer_mark_conflicts) (GtkPrinter *printer,
GtkPrinterOptionSet *options);
void (*printer_get_settings_from_options) (GtkPrinter *printer,
GtkPrinterOptionSet *options,
GtkPrintSettings *settings);
void (*printer_prepare_for_print) (GtkPrinter *printer,
GtkPrintJob *print_job,
GtkPrintSettings *settings,
GtkPageSetup *page_setup);
GList * (*printer_list_papers) (GtkPrinter *printer);
GtkPageSetup * (*printer_get_default_page_size) (GtkPrinter *printer);
gboolean (*printer_get_hard_margins) (GtkPrinter *printer,
gdouble *top,
gdouble *bottom,
gdouble *left,
gdouble *right);
GtkPrintCapabilities (*printer_get_capabilities) (GtkPrinter *printer);
/* Signals */
void (*printer_list_changed) (GtkPrintBackend *backend);
void (*printer_list_done) (GtkPrintBackend *backend);
void (*printer_added) (GtkPrintBackend *backend,
GtkPrinter *printer);
void (*printer_removed) (GtkPrintBackend *backend,
GtkPrinter *printer);
void (*printer_status_changed) (GtkPrintBackend *backend,
GtkPrinter *printer);
void (*request_password) (GtkPrintBackend *backend,
gpointer auth_info_required,
gpointer auth_info_default,
gpointer auth_info_display,
gpointer auth_info_visible,
const gchar *prompt,
gboolean can_store_auth_info);
/* not a signal */
void (*set_password) (GtkPrintBackend *backend,
gchar **auth_info_required,
gchar **auth_info,
gboolean store_auth_info);
gboolean (*printer_get_hard_margins_for_paper_size) (GtkPrinter *printer,
GtkPaperSize *paper_size,
gdouble *top,
gdouble *bottom,
gdouble *left,
gdouble *right);
};
GTK_PRINT_BACKEND_EXTENSION_POINT_NAME
#define GTK_PRINT_BACKEND_EXTENSION_POINT_NAME "gtk-print-backend"
gtk_print_backend_get_type
GType
void
gtk_print_backend_get_printer_list
GList *
GtkPrintBackend *print_backend
gtk_print_backend_printer_list_is_done
gboolean
GtkPrintBackend *print_backend
gtk_print_backend_find_printer
GtkPrinter *
GtkPrintBackend *print_backend, const gchar *printer_name
gtk_print_backend_print_stream
void
GtkPrintBackend *print_backend, GtkPrintJob *job, GIOChannel *data_io, GtkPrintJobCompleteFunc callback, gpointer user_data, GDestroyNotify dnotify
gtk_print_backend_load_modules
GList *
void
gtk_print_backend_destroy
void
GtkPrintBackend *print_backend
gtk_print_backend_set_password
void
GtkPrintBackend *backend, gchar **auth_info_required, gchar **auth_info, gboolean can_store_auth_info
gtk_print_backend_add_printer
void
GtkPrintBackend *print_backend, GtkPrinter *printer
gtk_print_backend_remove_printer
void
GtkPrintBackend *print_backend, GtkPrinter *printer
gtk_print_backend_set_list_done
void
GtkPrintBackend *backend
gtk_printer_is_new
gboolean
GtkPrinter *printer
gtk_printer_set_accepts_pdf
void
GtkPrinter *printer, gboolean val
gtk_printer_set_accepts_ps
void
GtkPrinter *printer, gboolean val
gtk_printer_set_is_new
void
GtkPrinter *printer, gboolean val
gtk_printer_set_is_active
void
GtkPrinter *printer, gboolean val
gtk_printer_set_is_paused
gboolean
GtkPrinter *printer, gboolean val
gtk_printer_set_is_accepting_jobs
gboolean
GtkPrinter *printer, gboolean val
gtk_printer_set_has_details
void
GtkPrinter *printer, gboolean val
gtk_printer_set_is_default
void
GtkPrinter *printer, gboolean val
gtk_printer_set_icon_name
void
GtkPrinter *printer, const gchar *icon
gtk_printer_set_job_count
gboolean
GtkPrinter *printer, gint count
gtk_printer_set_location
gboolean
GtkPrinter *printer, const gchar *location
gtk_printer_set_description
gboolean
GtkPrinter *printer, const gchar *description
gtk_printer_set_state_message
gboolean
GtkPrinter *printer, const gchar *message
gtk_print_backends_init
void
void
GtkPrintBackendPrivate
GTK_TYPE_PRINT_CONTEXT
#define GTK_TYPE_PRINT_CONTEXT (gtk_print_context_get_type ())
GTK_PRINT_CONTEXT
#define GTK_PRINT_CONTEXT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_PRINT_CONTEXT, GtkPrintContext))
GTK_IS_PRINT_CONTEXT
#define GTK_IS_PRINT_CONTEXT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_PRINT_CONTEXT))
gtk_print_context_get_type
GType
void
gtk_print_context_get_cairo_context
cairo_t *
GtkPrintContext *context
gtk_print_context_get_page_setup
GtkPageSetup *
GtkPrintContext *context
gtk_print_context_get_width
gdouble
GtkPrintContext *context
gtk_print_context_get_height
gdouble
GtkPrintContext *context
gtk_print_context_get_dpi_x
gdouble
GtkPrintContext *context
gtk_print_context_get_dpi_y
gdouble
GtkPrintContext *context
gtk_print_context_get_hard_margins
gboolean
GtkPrintContext *context, gdouble *top, gdouble *bottom, gdouble *left, gdouble *right
gtk_print_context_get_pango_fontmap
PangoFontMap *
GtkPrintContext *context
gtk_print_context_create_pango_context
PangoContext *
GtkPrintContext *context
gtk_print_context_create_pango_layout
PangoLayout *
GtkPrintContext *context
gtk_print_context_set_cairo_context
void
GtkPrintContext *context, cairo_t *cr, double dpi_x, double dpi_y
GtkPrintContext
GTK_TYPE_PRINT_CAPABILITIES
#define GTK_TYPE_PRINT_CAPABILITIES (gtk_print_capabilities_get_type ())
GtkPrintCapabilities
typedef enum
{
GTK_PRINT_CAPABILITY_PAGE_SET = 1 << 0,
GTK_PRINT_CAPABILITY_COPIES = 1 << 1,
GTK_PRINT_CAPABILITY_COLLATE = 1 << 2,
GTK_PRINT_CAPABILITY_REVERSE = 1 << 3,
GTK_PRINT_CAPABILITY_SCALE = 1 << 4,
GTK_PRINT_CAPABILITY_GENERATE_PDF = 1 << 5,
GTK_PRINT_CAPABILITY_GENERATE_PS = 1 << 6,
GTK_PRINT_CAPABILITY_PREVIEW = 1 << 7,
GTK_PRINT_CAPABILITY_NUMBER_UP = 1 << 8,
GTK_PRINT_CAPABILITY_NUMBER_UP_LAYOUT = 1 << 9
} GtkPrintCapabilities;
gtk_print_capabilities_get_type
GType
void
GTK_TYPE_PRINTER
#define GTK_TYPE_PRINTER (gtk_printer_get_type ())
GTK_PRINTER
#define GTK_PRINTER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_PRINTER, GtkPrinter))
GTK_IS_PRINTER
#define GTK_IS_PRINTER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_PRINTER))
gtk_printer_get_type
GType
void
gtk_printer_new
GtkPrinter *
const gchar *name, GtkPrintBackend *backend, gboolean virtual_
gtk_printer_get_backend
GtkPrintBackend *
GtkPrinter *printer
gtk_printer_get_name
const gchar *
GtkPrinter *printer
gtk_printer_get_state_message
const gchar *
GtkPrinter *printer
gtk_printer_get_description
const gchar *
GtkPrinter *printer
gtk_printer_get_location
const gchar *
GtkPrinter *printer
gtk_printer_get_icon_name
const gchar *
GtkPrinter *printer
gtk_printer_get_job_count
gint
GtkPrinter *printer
gtk_printer_is_active
gboolean
GtkPrinter *printer
gtk_printer_is_paused
gboolean
GtkPrinter *printer
gtk_printer_is_accepting_jobs
gboolean
GtkPrinter *printer
gtk_printer_is_virtual
gboolean
GtkPrinter *printer
gtk_printer_is_default
gboolean
GtkPrinter *printer
gtk_printer_accepts_pdf
gboolean
GtkPrinter *printer
gtk_printer_accepts_ps
gboolean
GtkPrinter *printer
gtk_printer_list_papers
GList *
GtkPrinter *printer
gtk_printer_get_default_page_size
GtkPageSetup *
GtkPrinter *printer
gtk_printer_compare
gint
GtkPrinter *a, GtkPrinter *b
gtk_printer_has_details
gboolean
GtkPrinter *printer
gtk_printer_request_details
void
GtkPrinter *printer
gtk_printer_get_capabilities
GtkPrintCapabilities
GtkPrinter *printer
gtk_printer_get_hard_margins
gboolean
GtkPrinter *printer, gdouble *top, gdouble *bottom, gdouble *left, gdouble *right
gtk_printer_get_hard_margins_for_paper_size
gboolean
GtkPrinter *printer, GtkPaperSize *paper_size, gdouble *top, gdouble *bottom, gdouble *left, gdouble *right
GtkPrinterFunc
gboolean
GtkPrinter *printer, gpointer data
gtk_enumerate_printers
void
GtkPrinterFunc func, gpointer data, GDestroyNotify destroy, gboolean wait
GtkPrintBackend
GtkPrinter
GTK_TYPE_PRINTER_OPTION
#define GTK_TYPE_PRINTER_OPTION (gtk_printer_option_get_type ())
GTK_PRINTER_OPTION
#define GTK_PRINTER_OPTION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_PRINTER_OPTION, GtkPrinterOption))
GTK_IS_PRINTER_OPTION
#define GTK_IS_PRINTER_OPTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_PRINTER_OPTION))
GTK_PRINTER_OPTION_GROUP_IMAGE_QUALITY
#define GTK_PRINTER_OPTION_GROUP_IMAGE_QUALITY "ImageQuality"
GTK_PRINTER_OPTION_GROUP_FINISHING
#define GTK_PRINTER_OPTION_GROUP_FINISHING "Finishing"
GtkPrinterOptionType
typedef enum {
GTK_PRINTER_OPTION_TYPE_BOOLEAN,
GTK_PRINTER_OPTION_TYPE_PICKONE,
GTK_PRINTER_OPTION_TYPE_PICKONE_PASSWORD,
GTK_PRINTER_OPTION_TYPE_PICKONE_PASSCODE,
GTK_PRINTER_OPTION_TYPE_PICKONE_REAL,
GTK_PRINTER_OPTION_TYPE_PICKONE_INT,
GTK_PRINTER_OPTION_TYPE_PICKONE_STRING,
GTK_PRINTER_OPTION_TYPE_ALTERNATIVE,
GTK_PRINTER_OPTION_TYPE_STRING,
GTK_PRINTER_OPTION_TYPE_FILESAVE,
GTK_PRINTER_OPTION_TYPE_INFO
} GtkPrinterOptionType;
GtkPrinterOption
struct _GtkPrinterOption
{
GObject parent_instance;
char *name;
char *display_text;
GtkPrinterOptionType type;
char *value;
int num_choices;
char **choices;
char **choices_display;
gboolean activates_default;
gboolean has_conflict;
char *group;
};
GtkPrinterOptionClass
struct _GtkPrinterOptionClass
{
GObjectClass parent_class;
void (*changed) (GtkPrinterOption *option);
/* Padding for future expansion */
void (*_gtk_reserved1) (void);
void (*_gtk_reserved2) (void);
void (*_gtk_reserved3) (void);
void (*_gtk_reserved4) (void);
};
gtk_printer_option_get_type
GType
void
gtk_printer_option_new
GtkPrinterOption *
const char *name, const char *display_text, GtkPrinterOptionType type
gtk_printer_option_set
void
GtkPrinterOption *option, const char *value
gtk_printer_option_set_has_conflict
void
GtkPrinterOption *option, gboolean has_conflict
gtk_printer_option_clear_has_conflict
void
GtkPrinterOption *option
gtk_printer_option_set_boolean
void
GtkPrinterOption *option, gboolean value
gtk_printer_option_allocate_choices
void
GtkPrinterOption *option, int num
gtk_printer_option_choices_from_array
void
GtkPrinterOption *option, int num_choices, char *choices[], char *choices_display[]
gtk_printer_option_has_choice
gboolean
GtkPrinterOption *option, const char *choice
gtk_printer_option_set_activates_default
void
GtkPrinterOption *option, gboolean activates
gtk_printer_option_get_activates_default
gboolean
GtkPrinterOption *option
GTK_TYPE_PRINTER_OPTION_SET
#define GTK_TYPE_PRINTER_OPTION_SET (gtk_printer_option_set_get_type ())
GTK_PRINTER_OPTION_SET
#define GTK_PRINTER_OPTION_SET(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_PRINTER_OPTION_SET, GtkPrinterOptionSet))
GTK_IS_PRINTER_OPTION_SET
#define GTK_IS_PRINTER_OPTION_SET(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_PRINTER_OPTION_SET))
GtkPrinterOptionSet
struct _GtkPrinterOptionSet
{
GObject parent_instance;
/*< private >*/
GPtrArray *array;
GHashTable *hash;
};
GtkPrinterOptionSetClass
struct _GtkPrinterOptionSetClass
{
GObjectClass parent_class;
void (*changed) (GtkPrinterOptionSet *option);
/* Padding for future expansion */
void (*_gtk_reserved1) (void);
void (*_gtk_reserved2) (void);
void (*_gtk_reserved3) (void);
void (*_gtk_reserved4) (void);
};
GtkPrinterOptionSetFunc
void
GtkPrinterOption *option, gpointer user_data
gtk_printer_option_set_get_type
GType
void
gtk_printer_option_set_new
GtkPrinterOptionSet *
void
gtk_printer_option_set_add
void
GtkPrinterOptionSet *set, GtkPrinterOption *option
gtk_printer_option_set_remove
void
GtkPrinterOptionSet *set, GtkPrinterOption *option
gtk_printer_option_set_lookup
GtkPrinterOption *
GtkPrinterOptionSet *set, const char *name
gtk_printer_option_set_foreach
void
GtkPrinterOptionSet *set, GtkPrinterOptionSetFunc func, gpointer user_data
gtk_printer_option_set_clear_conflicts
void
GtkPrinterOptionSet *set
gtk_printer_option_set_get_groups
GList *
GtkPrinterOptionSet *set
gtk_printer_option_set_foreach_in_group
void
GtkPrinterOptionSet *set, const char *group, GtkPrinterOptionSetFunc func, gpointer user_data
GTK_TYPE_PRINTER_OPTION_WIDGET
#define GTK_TYPE_PRINTER_OPTION_WIDGET (gtk_printer_option_widget_get_type ())
GTK_PRINTER_OPTION_WIDGET
#define GTK_PRINTER_OPTION_WIDGET(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_PRINTER_OPTION_WIDGET, GtkPrinterOptionWidget))
GTK_PRINTER_OPTION_WIDGET_CLASS
#define GTK_PRINTER_OPTION_WIDGET_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_PRINTER_OPTION_WIDGET, GtkPrinterOptionWidgetClass))
GTK_IS_PRINTER_OPTION_WIDGET
#define GTK_IS_PRINTER_OPTION_WIDGET(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_PRINTER_OPTION_WIDGET))
GTK_IS_PRINTER_OPTION_WIDGET_CLASS
#define GTK_IS_PRINTER_OPTION_WIDGET_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_PRINTER_OPTION_WIDGET))
GTK_PRINTER_OPTION_WIDGET_GET_CLASS
#define GTK_PRINTER_OPTION_WIDGET_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_PRINTER_OPTION_WIDGET, GtkPrinterOptionWidgetClass))
GtkPrinterOptionWidgetPrivate
typedef struct GtkPrinterOptionWidgetPrivate GtkPrinterOptionWidgetPrivate;
GtkPrinterOptionWidget
struct _GtkPrinterOptionWidget
{
GtkBox parent_instance;
GtkPrinterOptionWidgetPrivate *priv;
};
GtkPrinterOptionWidgetClass
struct _GtkPrinterOptionWidgetClass
{
GtkBoxClass parent_class;
void (*changed) (GtkPrinterOptionWidget *widget);
/* Padding for future expansion */
void (*_gtk_reserved1) (void);
void (*_gtk_reserved2) (void);
void (*_gtk_reserved3) (void);
void (*_gtk_reserved4) (void);
};
gtk_printer_option_widget_get_type
GType
void
gtk_printer_option_widget_new
GtkWidget *
GtkPrinterOption *source
gtk_printer_option_widget_set_source
void
GtkPrinterOptionWidget *setting, GtkPrinterOption *source
gtk_printer_option_widget_has_external_label
gboolean
GtkPrinterOptionWidget *setting
gtk_printer_option_widget_get_external_label
GtkWidget *
GtkPrinterOptionWidget *setting
gtk_printer_option_widget_get_value
const gchar *
GtkPrinterOptionWidget *setting
GTK_TYPE_PRINT_JOB
#define GTK_TYPE_PRINT_JOB (gtk_print_job_get_type ())
GTK_PRINT_JOB
#define GTK_PRINT_JOB(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_PRINT_JOB, GtkPrintJob))
GTK_IS_PRINT_JOB
#define GTK_IS_PRINT_JOB(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_PRINT_JOB))
GtkPrintJobCompleteFunc
void
GtkPrintJob *print_job, gpointer user_data, const GError *error
gtk_print_job_get_type
GType
void
gtk_print_job_new
GtkPrintJob *
const gchar *title, GtkPrinter *printer, GtkPrintSettings *settings, GtkPageSetup *page_setup
gtk_print_job_get_settings
GtkPrintSettings *
GtkPrintJob *job
gtk_print_job_get_printer
GtkPrinter *
GtkPrintJob *job
gtk_print_job_get_title
const gchar *
GtkPrintJob *job
gtk_print_job_get_status
GtkPrintStatus
GtkPrintJob *job
gtk_print_job_set_source_file
gboolean
GtkPrintJob *job, const gchar *filename, GError **error
gtk_print_job_set_source_fd
gboolean
GtkPrintJob *job, int fd, GError **error
gtk_print_job_get_surface
cairo_surface_t *
GtkPrintJob *job, GError **error
gtk_print_job_set_track_print_status
void
GtkPrintJob *job, gboolean track_status
gtk_print_job_get_track_print_status
gboolean
GtkPrintJob *job
gtk_print_job_send
void
GtkPrintJob *job, GtkPrintJobCompleteFunc callback, gpointer user_data, GDestroyNotify dnotify
gtk_print_job_get_pages
GtkPrintPages
GtkPrintJob *job
gtk_print_job_set_pages
void
GtkPrintJob *job, GtkPrintPages pages
gtk_print_job_get_page_ranges
GtkPageRange *
GtkPrintJob *job, gint *n_ranges
gtk_print_job_set_page_ranges
void
GtkPrintJob *job, GtkPageRange *ranges, gint n_ranges
gtk_print_job_get_page_set
GtkPageSet
GtkPrintJob *job
gtk_print_job_set_page_set
void
GtkPrintJob *job, GtkPageSet page_set
gtk_print_job_get_num_copies
gint
GtkPrintJob *job
gtk_print_job_set_num_copies
void
GtkPrintJob *job, gint num_copies
gtk_print_job_get_scale
gdouble
GtkPrintJob *job
gtk_print_job_set_scale
void
GtkPrintJob *job, gdouble scale
gtk_print_job_get_n_up
guint
GtkPrintJob *job
gtk_print_job_set_n_up
void
GtkPrintJob *job, guint n_up
gtk_print_job_get_n_up_layout
GtkNumberUpLayout
GtkPrintJob *job
gtk_print_job_set_n_up_layout
void
GtkPrintJob *job, GtkNumberUpLayout layout
gtk_print_job_get_rotate
gboolean
GtkPrintJob *job
gtk_print_job_set_rotate
void
GtkPrintJob *job, gboolean rotate
gtk_print_job_get_collate
gboolean
GtkPrintJob *job
gtk_print_job_set_collate
void
GtkPrintJob *job, gboolean collate
gtk_print_job_get_reverse
gboolean
GtkPrintJob *job
gtk_print_job_set_reverse
void
GtkPrintJob *job, gboolean reverse
GtkPrintJob
gtk_print_operation_portal_run_dialog
GtkPrintOperationResult
GtkPrintOperation *op, gboolean show_dialog, GtkWindow *parent, gboolean *do_print
gtk_print_operation_portal_run_dialog_async
void
GtkPrintOperation *op, gboolean show_dialog, GtkWindow *parent, GtkPrintOperationPrintFunc print_cb
gtk_print_operation_portal_launch_preview
void
GtkPrintOperation *op, cairo_surface_t *surface, GtkWindow *parent, const char *filename
GTK_TYPE_PRINT_OPERATION
#define GTK_TYPE_PRINT_OPERATION (gtk_print_operation_get_type ())
GTK_PRINT_OPERATION
#define GTK_PRINT_OPERATION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_PRINT_OPERATION, GtkPrintOperation))
GTK_PRINT_OPERATION_CLASS
#define GTK_PRINT_OPERATION_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_PRINT_OPERATION, GtkPrintOperationClass))
GTK_IS_PRINT_OPERATION
#define GTK_IS_PRINT_OPERATION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_PRINT_OPERATION))
GTK_IS_PRINT_OPERATION_CLASS
#define GTK_IS_PRINT_OPERATION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_PRINT_OPERATION))
GTK_PRINT_OPERATION_GET_CLASS
#define GTK_PRINT_OPERATION_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_PRINT_OPERATION, GtkPrintOperationClass))
GtkPrintStatus
typedef enum {
GTK_PRINT_STATUS_INITIAL,
GTK_PRINT_STATUS_PREPARING,
GTK_PRINT_STATUS_GENERATING_DATA,
GTK_PRINT_STATUS_SENDING_DATA,
GTK_PRINT_STATUS_PENDING,
GTK_PRINT_STATUS_PENDING_ISSUE,
GTK_PRINT_STATUS_PRINTING,
GTK_PRINT_STATUS_FINISHED,
GTK_PRINT_STATUS_FINISHED_ABORTED
} GtkPrintStatus;
GtkPrintOperationResult
typedef enum {
GTK_PRINT_OPERATION_RESULT_ERROR,
GTK_PRINT_OPERATION_RESULT_APPLY,
GTK_PRINT_OPERATION_RESULT_CANCEL,
GTK_PRINT_OPERATION_RESULT_IN_PROGRESS
} GtkPrintOperationResult;
GtkPrintOperationAction
typedef enum {
GTK_PRINT_OPERATION_ACTION_PRINT_DIALOG,
GTK_PRINT_OPERATION_ACTION_PRINT,
GTK_PRINT_OPERATION_ACTION_PREVIEW,
GTK_PRINT_OPERATION_ACTION_EXPORT
} GtkPrintOperationAction;
GtkPrintOperation
struct _GtkPrintOperation
{
GObject parent_instance;
/*< private >*/
GtkPrintOperationPrivate *priv;
};
GtkPrintOperationClass
struct _GtkPrintOperationClass
{
GObjectClass parent_class;
/*< public >*/
void (*done) (GtkPrintOperation *operation,
GtkPrintOperationResult result);
void (*begin_print) (GtkPrintOperation *operation,
GtkPrintContext *context);
gboolean (*paginate) (GtkPrintOperation *operation,
GtkPrintContext *context);
void (*request_page_setup) (GtkPrintOperation *operation,
GtkPrintContext *context,
gint page_nr,
GtkPageSetup *setup);
void (*draw_page) (GtkPrintOperation *operation,
GtkPrintContext *context,
gint page_nr);
void (*end_print) (GtkPrintOperation *operation,
GtkPrintContext *context);
void (*status_changed) (GtkPrintOperation *operation);
GtkWidget *(*create_custom_widget) (GtkPrintOperation *operation);
void (*custom_widget_apply) (GtkPrintOperation *operation,
GtkWidget *widget);
gboolean (*preview) (GtkPrintOperation *operation,
GtkPrintOperationPreview *preview,
GtkPrintContext *context,
GtkWindow *parent);
void (*update_custom_widget) (GtkPrintOperation *operation,
GtkWidget *widget,
GtkPageSetup *setup,
GtkPrintSettings *settings);
/*< private >*/
gpointer padding[8];
};
GTK_PRINT_ERROR
#define GTK_PRINT_ERROR gtk_print_error_quark ()
GtkPrintError
typedef enum
{
GTK_PRINT_ERROR_GENERAL,
GTK_PRINT_ERROR_INTERNAL_ERROR,
GTK_PRINT_ERROR_NOMEM,
GTK_PRINT_ERROR_INVALID_FILE
} GtkPrintError;
gtk_print_error_quark
GQuark
void
gtk_print_operation_get_type
GType
void
gtk_print_operation_new
GtkPrintOperation *
void
gtk_print_operation_set_default_page_setup
void
GtkPrintOperation *op, GtkPageSetup *default_page_setup
gtk_print_operation_get_default_page_setup
GtkPageSetup *
GtkPrintOperation *op
gtk_print_operation_set_print_settings
void
GtkPrintOperation *op, GtkPrintSettings *print_settings
gtk_print_operation_get_print_settings
GtkPrintSettings *
GtkPrintOperation *op
gtk_print_operation_set_job_name
void
GtkPrintOperation *op, const gchar *job_name
gtk_print_operation_set_n_pages
void
GtkPrintOperation *op, gint n_pages
gtk_print_operation_set_current_page
void
GtkPrintOperation *op, gint current_page
gtk_print_operation_set_use_full_page
void
GtkPrintOperation *op, gboolean full_page
gtk_print_operation_set_unit
void
GtkPrintOperation *op, GtkUnit unit
gtk_print_operation_set_export_filename
void
GtkPrintOperation *op, const gchar *filename
gtk_print_operation_set_track_print_status
void
GtkPrintOperation *op, gboolean track_status
gtk_print_operation_set_show_progress
void
GtkPrintOperation *op, gboolean show_progress
gtk_print_operation_set_allow_async
void
GtkPrintOperation *op, gboolean allow_async
gtk_print_operation_set_custom_tab_label
void
GtkPrintOperation *op, const gchar *label
gtk_print_operation_run
GtkPrintOperationResult
GtkPrintOperation *op, GtkPrintOperationAction action, GtkWindow *parent, GError **error
gtk_print_operation_get_error
void
GtkPrintOperation *op, GError **error
gtk_print_operation_get_status
GtkPrintStatus
GtkPrintOperation *op
gtk_print_operation_get_status_string
const gchar *
GtkPrintOperation *op
gtk_print_operation_is_finished
gboolean
GtkPrintOperation *op
gtk_print_operation_cancel
void
GtkPrintOperation *op
gtk_print_operation_draw_page_finish
void
GtkPrintOperation *op
gtk_print_operation_set_defer_drawing
void
GtkPrintOperation *op
gtk_print_operation_set_support_selection
void
GtkPrintOperation *op, gboolean support_selection
gtk_print_operation_get_support_selection
gboolean
GtkPrintOperation *op
gtk_print_operation_set_has_selection
void
GtkPrintOperation *op, gboolean has_selection
gtk_print_operation_get_has_selection
gboolean
GtkPrintOperation *op
gtk_print_operation_set_embed_page_setup
void
GtkPrintOperation *op, gboolean embed
gtk_print_operation_get_embed_page_setup
gboolean
GtkPrintOperation *op
gtk_print_operation_get_n_pages_to_print
gint
GtkPrintOperation *op
gtk_print_run_page_setup_dialog
GtkPageSetup *
GtkWindow *parent, GtkPageSetup *page_setup, GtkPrintSettings *settings
GtkPageSetupDoneFunc
void
GtkPageSetup *page_setup, gpointer data
gtk_print_run_page_setup_dialog_async
void
GtkWindow *parent, GtkPageSetup *page_setup, GtkPrintSettings *settings, GtkPageSetupDoneFunc done_cb, gpointer data
GtkPrintOperationPrivate
GTK_TYPE_PRINT_OPERATION_PREVIEW
#define GTK_TYPE_PRINT_OPERATION_PREVIEW (gtk_print_operation_preview_get_type ())
GTK_PRINT_OPERATION_PREVIEW
#define GTK_PRINT_OPERATION_PREVIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_PRINT_OPERATION_PREVIEW, GtkPrintOperationPreview))
GTK_IS_PRINT_OPERATION_PREVIEW
#define GTK_IS_PRINT_OPERATION_PREVIEW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_PRINT_OPERATION_PREVIEW))
GTK_PRINT_OPERATION_PREVIEW_GET_IFACE
#define GTK_PRINT_OPERATION_PREVIEW_GET_IFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), GTK_TYPE_PRINT_OPERATION_PREVIEW, GtkPrintOperationPreviewIface))
GtkPrintOperationPreviewIface
struct _GtkPrintOperationPreviewIface
{
GTypeInterface g_iface;
/* signals */
void (*ready) (GtkPrintOperationPreview *preview,
GtkPrintContext *context);
void (*got_page_size) (GtkPrintOperationPreview *preview,
GtkPrintContext *context,
GtkPageSetup *page_setup);
/* methods */
void (*render_page) (GtkPrintOperationPreview *preview,
gint page_nr);
gboolean (*is_selected) (GtkPrintOperationPreview *preview,
gint page_nr);
void (*end_preview) (GtkPrintOperationPreview *preview);
/* Padding for future expansion */
void (*_gtk_reserved1) (void);
void (*_gtk_reserved2) (void);
void (*_gtk_reserved3) (void);
void (*_gtk_reserved4) (void);
void (*_gtk_reserved5) (void);
void (*_gtk_reserved6) (void);
void (*_gtk_reserved7) (void);
void (*_gtk_reserved8) (void);
};
gtk_print_operation_preview_get_type
GType
void
gtk_print_operation_preview_render_page
void
GtkPrintOperationPreview *preview, gint page_nr
gtk_print_operation_preview_end_preview
void
GtkPrintOperationPreview *preview
gtk_print_operation_preview_is_selected
gboolean
GtkPrintOperationPreview *preview, gint page_nr
GtkPrintOperationPreview
GTK_TYPE_PRINT_SETTINGS
#define GTK_TYPE_PRINT_SETTINGS (gtk_print_settings_get_type ())
GTK_PRINT_SETTINGS
#define GTK_PRINT_SETTINGS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_PRINT_SETTINGS, GtkPrintSettings))
GTK_IS_PRINT_SETTINGS
#define GTK_IS_PRINT_SETTINGS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_PRINT_SETTINGS))
GtkPrintSettingsFunc
void
const gchar *key, const gchar *value, gpointer user_data
GtkPageRange
struct _GtkPageRange
{
gint start;
gint end;
};
gtk_print_settings_get_type
GType
void
gtk_print_settings_new
GtkPrintSettings *
void
gtk_print_settings_copy
GtkPrintSettings *
GtkPrintSettings *other
gtk_print_settings_new_from_file
GtkPrintSettings *
const gchar *file_name, GError **error
gtk_print_settings_load_file
gboolean
GtkPrintSettings *settings, const gchar *file_name, GError **error
gtk_print_settings_to_file
gboolean
GtkPrintSettings *settings, const gchar *file_name, GError **error
gtk_print_settings_new_from_key_file
GtkPrintSettings *
GKeyFile *key_file, const gchar *group_name, GError **error
gtk_print_settings_load_key_file
gboolean
GtkPrintSettings *settings, GKeyFile *key_file, const gchar *group_name, GError **error
gtk_print_settings_to_key_file
void
GtkPrintSettings *settings, GKeyFile *key_file, const gchar *group_name
gtk_print_settings_has_key
gboolean
GtkPrintSettings *settings, const gchar *key
gtk_print_settings_get
const gchar *
GtkPrintSettings *settings, const gchar *key
gtk_print_settings_set
void
GtkPrintSettings *settings, const gchar *key, const gchar *value
gtk_print_settings_unset
void
GtkPrintSettings *settings, const gchar *key
gtk_print_settings_foreach
void
GtkPrintSettings *settings, GtkPrintSettingsFunc func, gpointer user_data
gtk_print_settings_get_bool
gboolean
GtkPrintSettings *settings, const gchar *key
gtk_print_settings_set_bool
void
GtkPrintSettings *settings, const gchar *key, gboolean value
gtk_print_settings_get_double
gdouble
GtkPrintSettings *settings, const gchar *key
gtk_print_settings_get_double_with_default
gdouble
GtkPrintSettings *settings, const gchar *key, gdouble def
gtk_print_settings_set_double
void
GtkPrintSettings *settings, const gchar *key, gdouble value
gtk_print_settings_get_length
gdouble
GtkPrintSettings *settings, const gchar *key, GtkUnit unit
gtk_print_settings_set_length
void
GtkPrintSettings *settings, const gchar *key, gdouble value, GtkUnit unit
gtk_print_settings_get_int
gint
GtkPrintSettings *settings, const gchar *key
gtk_print_settings_get_int_with_default
gint
GtkPrintSettings *settings, const gchar *key, gint def
gtk_print_settings_set_int
void
GtkPrintSettings *settings, const gchar *key, gint value
GTK_PRINT_SETTINGS_PRINTER
#define GTK_PRINT_SETTINGS_PRINTER "printer"
GTK_PRINT_SETTINGS_ORIENTATION
#define GTK_PRINT_SETTINGS_ORIENTATION "orientation"
GTK_PRINT_SETTINGS_PAPER_FORMAT
#define GTK_PRINT_SETTINGS_PAPER_FORMAT "paper-format"
GTK_PRINT_SETTINGS_PAPER_WIDTH
#define GTK_PRINT_SETTINGS_PAPER_WIDTH "paper-width"
GTK_PRINT_SETTINGS_PAPER_HEIGHT
#define GTK_PRINT_SETTINGS_PAPER_HEIGHT "paper-height"
GTK_PRINT_SETTINGS_N_COPIES
#define GTK_PRINT_SETTINGS_N_COPIES "n-copies"
GTK_PRINT_SETTINGS_DEFAULT_SOURCE
#define GTK_PRINT_SETTINGS_DEFAULT_SOURCE "default-source"
GTK_PRINT_SETTINGS_QUALITY
#define GTK_PRINT_SETTINGS_QUALITY "quality"
GTK_PRINT_SETTINGS_RESOLUTION
#define GTK_PRINT_SETTINGS_RESOLUTION "resolution"
GTK_PRINT_SETTINGS_USE_COLOR
#define GTK_PRINT_SETTINGS_USE_COLOR "use-color"
GTK_PRINT_SETTINGS_DUPLEX
#define GTK_PRINT_SETTINGS_DUPLEX "duplex"
GTK_PRINT_SETTINGS_COLLATE
#define GTK_PRINT_SETTINGS_COLLATE "collate"
GTK_PRINT_SETTINGS_REVERSE
#define GTK_PRINT_SETTINGS_REVERSE "reverse"
GTK_PRINT_SETTINGS_MEDIA_TYPE
#define GTK_PRINT_SETTINGS_MEDIA_TYPE "media-type"
GTK_PRINT_SETTINGS_DITHER
#define GTK_PRINT_SETTINGS_DITHER "dither"
GTK_PRINT_SETTINGS_SCALE
#define GTK_PRINT_SETTINGS_SCALE "scale"
GTK_PRINT_SETTINGS_PRINT_PAGES
#define GTK_PRINT_SETTINGS_PRINT_PAGES "print-pages"
GTK_PRINT_SETTINGS_PAGE_RANGES
#define GTK_PRINT_SETTINGS_PAGE_RANGES "page-ranges"
GTK_PRINT_SETTINGS_PAGE_SET
#define GTK_PRINT_SETTINGS_PAGE_SET "page-set"
GTK_PRINT_SETTINGS_FINISHINGS
#define GTK_PRINT_SETTINGS_FINISHINGS "finishings"
GTK_PRINT_SETTINGS_NUMBER_UP
#define GTK_PRINT_SETTINGS_NUMBER_UP "number-up"
GTK_PRINT_SETTINGS_NUMBER_UP_LAYOUT
#define GTK_PRINT_SETTINGS_NUMBER_UP_LAYOUT "number-up-layout"
GTK_PRINT_SETTINGS_OUTPUT_BIN
#define GTK_PRINT_SETTINGS_OUTPUT_BIN "output-bin"
GTK_PRINT_SETTINGS_RESOLUTION_X
#define GTK_PRINT_SETTINGS_RESOLUTION_X "resolution-x"
GTK_PRINT_SETTINGS_RESOLUTION_Y
#define GTK_PRINT_SETTINGS_RESOLUTION_Y "resolution-y"
GTK_PRINT_SETTINGS_PRINTER_LPI
#define GTK_PRINT_SETTINGS_PRINTER_LPI "printer-lpi"
GTK_PRINT_SETTINGS_OUTPUT_DIR
#define GTK_PRINT_SETTINGS_OUTPUT_DIR "output-dir"
GTK_PRINT_SETTINGS_OUTPUT_BASENAME
#define GTK_PRINT_SETTINGS_OUTPUT_BASENAME "output-basename"
GTK_PRINT_SETTINGS_OUTPUT_FILE_FORMAT
#define GTK_PRINT_SETTINGS_OUTPUT_FILE_FORMAT "output-file-format"
GTK_PRINT_SETTINGS_OUTPUT_URI
#define GTK_PRINT_SETTINGS_OUTPUT_URI "output-uri"
GTK_PRINT_SETTINGS_WIN32_DRIVER_VERSION
#define GTK_PRINT_SETTINGS_WIN32_DRIVER_VERSION "win32-driver-version"
GTK_PRINT_SETTINGS_WIN32_DRIVER_EXTRA
#define GTK_PRINT_SETTINGS_WIN32_DRIVER_EXTRA "win32-driver-extra"
gtk_print_settings_get_printer
const gchar *
GtkPrintSettings *settings
gtk_print_settings_set_printer
void
GtkPrintSettings *settings, const gchar *printer
gtk_print_settings_get_orientation
GtkPageOrientation
GtkPrintSettings *settings
gtk_print_settings_set_orientation
void
GtkPrintSettings *settings, GtkPageOrientation orientation
gtk_print_settings_get_paper_size
GtkPaperSize *
GtkPrintSettings *settings
gtk_print_settings_set_paper_size
void
GtkPrintSettings *settings, GtkPaperSize *paper_size
gtk_print_settings_get_paper_width
gdouble
GtkPrintSettings *settings, GtkUnit unit
gtk_print_settings_set_paper_width
void
GtkPrintSettings *settings, gdouble width, GtkUnit unit
gtk_print_settings_get_paper_height
gdouble
GtkPrintSettings *settings, GtkUnit unit
gtk_print_settings_set_paper_height
void
GtkPrintSettings *settings, gdouble height, GtkUnit unit
gtk_print_settings_get_use_color
gboolean
GtkPrintSettings *settings
gtk_print_settings_set_use_color
void
GtkPrintSettings *settings, gboolean use_color
gtk_print_settings_get_collate
gboolean
GtkPrintSettings *settings
gtk_print_settings_set_collate
void
GtkPrintSettings *settings, gboolean collate
gtk_print_settings_get_reverse
gboolean
GtkPrintSettings *settings
gtk_print_settings_set_reverse
void
GtkPrintSettings *settings, gboolean reverse
gtk_print_settings_get_duplex
GtkPrintDuplex
GtkPrintSettings *settings
gtk_print_settings_set_duplex
void
GtkPrintSettings *settings, GtkPrintDuplex duplex
gtk_print_settings_get_quality
GtkPrintQuality
GtkPrintSettings *settings
gtk_print_settings_set_quality
void
GtkPrintSettings *settings, GtkPrintQuality quality
gtk_print_settings_get_n_copies
gint
GtkPrintSettings *settings
gtk_print_settings_set_n_copies
void
GtkPrintSettings *settings, gint num_copies
gtk_print_settings_get_number_up
gint
GtkPrintSettings *settings
gtk_print_settings_set_number_up
void
GtkPrintSettings *settings, gint number_up
gtk_print_settings_get_number_up_layout
GtkNumberUpLayout
GtkPrintSettings *settings
gtk_print_settings_set_number_up_layout
void
GtkPrintSettings *settings, GtkNumberUpLayout number_up_layout
gtk_print_settings_get_resolution
gint
GtkPrintSettings *settings
gtk_print_settings_set_resolution
void
GtkPrintSettings *settings, gint resolution
gtk_print_settings_get_resolution_x
gint
GtkPrintSettings *settings
gtk_print_settings_get_resolution_y
gint
GtkPrintSettings *settings
gtk_print_settings_set_resolution_xy
void
GtkPrintSettings *settings, gint resolution_x, gint resolution_y
gtk_print_settings_get_printer_lpi
gdouble
GtkPrintSettings *settings
gtk_print_settings_set_printer_lpi
void
GtkPrintSettings *settings, gdouble lpi
gtk_print_settings_get_scale
gdouble
GtkPrintSettings *settings
gtk_print_settings_set_scale
void
GtkPrintSettings *settings, gdouble scale
gtk_print_settings_get_print_pages
GtkPrintPages
GtkPrintSettings *settings
gtk_print_settings_set_print_pages
void
GtkPrintSettings *settings, GtkPrintPages pages
gtk_print_settings_get_page_ranges
GtkPageRange *
GtkPrintSettings *settings, gint *num_ranges
gtk_print_settings_set_page_ranges
void
GtkPrintSettings *settings, GtkPageRange *page_ranges, gint num_ranges
gtk_print_settings_get_page_set
GtkPageSet
GtkPrintSettings *settings
gtk_print_settings_set_page_set
void
GtkPrintSettings *settings, GtkPageSet page_set
gtk_print_settings_get_default_source
const gchar *
GtkPrintSettings *settings
gtk_print_settings_set_default_source
void
GtkPrintSettings *settings, const gchar *default_source
gtk_print_settings_get_media_type
const gchar *
GtkPrintSettings *settings
gtk_print_settings_set_media_type
void
GtkPrintSettings *settings, const gchar *media_type
gtk_print_settings_get_dither
const gchar *
GtkPrintSettings *settings
gtk_print_settings_set_dither
void
GtkPrintSettings *settings, const gchar *dither
gtk_print_settings_get_finishings
const gchar *
GtkPrintSettings *settings
gtk_print_settings_set_finishings
void
GtkPrintSettings *settings, const gchar *finishings
gtk_print_settings_get_output_bin
const gchar *
GtkPrintSettings *settings
gtk_print_settings_set_output_bin
void
GtkPrintSettings *settings, const gchar *output_bin
gtk_print_settings_to_gvariant
GVariant *
GtkPrintSettings *settings
gtk_print_settings_new_from_gvariant
GtkPrintSettings *
GVariant *variant
GtkPrintSettings
GTK_TYPE_PRINT_UNIX_DIALOG
#define GTK_TYPE_PRINT_UNIX_DIALOG (gtk_print_unix_dialog_get_type ())
GTK_PRINT_UNIX_DIALOG
#define GTK_PRINT_UNIX_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_PRINT_UNIX_DIALOG, GtkPrintUnixDialog))
GTK_IS_PRINT_UNIX_DIALOG
#define GTK_IS_PRINT_UNIX_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_PRINT_UNIX_DIALOG))
gtk_print_unix_dialog_get_type
GType
void
gtk_print_unix_dialog_new
GtkWidget *
const gchar *title, GtkWindow *parent
gtk_print_unix_dialog_set_page_setup
void
GtkPrintUnixDialog *dialog, GtkPageSetup *page_setup
gtk_print_unix_dialog_get_page_setup
GtkPageSetup *
GtkPrintUnixDialog *dialog
gtk_print_unix_dialog_set_current_page
void
GtkPrintUnixDialog *dialog, gint current_page
gtk_print_unix_dialog_get_current_page
gint
GtkPrintUnixDialog *dialog
gtk_print_unix_dialog_set_settings
void
GtkPrintUnixDialog *dialog, GtkPrintSettings *settings
gtk_print_unix_dialog_get_settings
GtkPrintSettings *
GtkPrintUnixDialog *dialog
gtk_print_unix_dialog_get_selected_printer
GtkPrinter *
GtkPrintUnixDialog *dialog
gtk_print_unix_dialog_add_custom_tab
void
GtkPrintUnixDialog *dialog, GtkWidget *child, GtkWidget *tab_label
gtk_print_unix_dialog_set_manual_capabilities
void
GtkPrintUnixDialog *dialog, GtkPrintCapabilities capabilities
gtk_print_unix_dialog_get_manual_capabilities
GtkPrintCapabilities
GtkPrintUnixDialog *dialog
gtk_print_unix_dialog_set_support_selection
void
GtkPrintUnixDialog *dialog, gboolean support_selection
gtk_print_unix_dialog_get_support_selection
gboolean
GtkPrintUnixDialog *dialog
gtk_print_unix_dialog_set_has_selection
void
GtkPrintUnixDialog *dialog, gboolean has_selection
gtk_print_unix_dialog_get_has_selection
gboolean
GtkPrintUnixDialog *dialog
gtk_print_unix_dialog_set_embed_page_setup
void
GtkPrintUnixDialog *dialog, gboolean embed
gtk_print_unix_dialog_get_embed_page_setup
gboolean
GtkPrintUnixDialog *dialog
gtk_print_unix_dialog_get_page_setup_set
gboolean
GtkPrintUnixDialog *dialog
GtkPrintUnixDialog
MM_PER_INCH
#define MM_PER_INCH 25.4
POINTS_PER_INCH
#define POINTS_PER_INCH 72
GTK_TYPE_PROGRESS_BAR
#define GTK_TYPE_PROGRESS_BAR (gtk_progress_bar_get_type ())
GTK_PROGRESS_BAR
#define GTK_PROGRESS_BAR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_PROGRESS_BAR, GtkProgressBar))
GTK_IS_PROGRESS_BAR
#define GTK_IS_PROGRESS_BAR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_PROGRESS_BAR))
gtk_progress_bar_get_type
GType
void
gtk_progress_bar_new
GtkWidget *
void
gtk_progress_bar_pulse
void
GtkProgressBar *pbar
gtk_progress_bar_set_text
void
GtkProgressBar *pbar, const gchar *text
gtk_progress_bar_set_fraction
void
GtkProgressBar *pbar, gdouble fraction
gtk_progress_bar_set_pulse_step
void
GtkProgressBar *pbar, gdouble fraction
gtk_progress_bar_set_inverted
void
GtkProgressBar *pbar, gboolean inverted
gtk_progress_bar_get_text
const gchar *
GtkProgressBar *pbar
gtk_progress_bar_get_fraction
gdouble
GtkProgressBar *pbar
gtk_progress_bar_get_pulse_step
gdouble
GtkProgressBar *pbar
gtk_progress_bar_get_inverted
gboolean
GtkProgressBar *pbar
gtk_progress_bar_set_ellipsize
void
GtkProgressBar *pbar, PangoEllipsizeMode mode
gtk_progress_bar_get_ellipsize
PangoEllipsizeMode
GtkProgressBar *pbar
gtk_progress_bar_set_show_text
void
GtkProgressBar *pbar, gboolean show_text
gtk_progress_bar_get_show_text
gboolean
GtkProgressBar *pbar
GtkProgressBar
GTK_TYPE_PROPERTY_LOOKUP_LIST_MODEL
#define GTK_TYPE_PROPERTY_LOOKUP_LIST_MODEL (gtk_property_lookup_list_model_get_type ())
GTK_PROPERTY_LOOKUP_LIST_MODEL
#define GTK_PROPERTY_LOOKUP_LIST_MODEL(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GTK_TYPE_PROPERTY_LOOKUP_LIST_MODEL, GtkPropertyLookupListModel))
GTK_PROPERTY_LOOKUP_LIST_MODEL_CLASS
#define GTK_PROPERTY_LOOKUP_LIST_MODEL_CLASS(k) (G_TYPE_CHECK_CLASS_CAST ((k), GTK_TYPE_PROPERTY_LOOKUP_LIST_MODEL, GtkPropertyLookupListModelClass))
GTK_IS_PROPERTY_LOOKUP_LIST_MODEL
#define GTK_IS_PROPERTY_LOOKUP_LIST_MODEL(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GTK_TYPE_PROPERTY_LOOKUP_LIST_MODEL))
GTK_IS_PROPERTY_LOOKUP_LIST_MODEL_CLASS
#define GTK_IS_PROPERTY_LOOKUP_LIST_MODEL_CLASS(k) (G_TYPE_CHECK_CLASS_TYPE ((k), GTK_TYPE_PROPERTY_LOOKUP_LIST_MODEL))
GTK_PROPERTY_LOOKUP_LIST_MODEL_GET_CLASS
#define GTK_PROPERTY_LOOKUP_LIST_MODEL_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GTK_TYPE_PROPERTY_LOOKUP_LIST_MODEL, GtkPropertyLookupListModelClass))
gtk_property_lookup_list_model_get_type
GType
void
gtk_property_lookup_list_model_new
GtkPropertyLookupListModel *
GType item_type, const char *property_name
gtk_property_lookup_list_model_set_object
void
GtkPropertyLookupListModel *self, gpointer object
gtk_property_lookup_list_model_get_object
gpointer
GtkPropertyLookupListModel *self
GtkPropertyLookupListModel
GtkPropertyLookupListModelClass
GTK_TYPE_QUERY
#define GTK_TYPE_QUERY (gtk_query_get_type ())
GTK_QUERY
#define GTK_QUERY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_QUERY, GtkQuery))
GTK_QUERY_CLASS
#define GTK_QUERY_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_QUERY, GtkQueryClass))
GTK_IS_QUERY
#define GTK_IS_QUERY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_QUERY))
GTK_IS_QUERY_CLASS
#define GTK_IS_QUERY_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_QUERY))
GTK_QUERY_GET_CLASS
#define GTK_QUERY_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_QUERY, GtkQueryClass))
GtkQuery
struct _GtkQuery
{
GObject parent;
};
GtkQueryClass
struct _GtkQueryClass
{
GObjectClass parent_class;
};
gtk_query_get_type
GType
void
gtk_query_new
GtkQuery *
void
gtk_query_get_text
const gchar *
GtkQuery *query
gtk_query_set_text
void
GtkQuery *query, const gchar *text
gtk_query_get_location
GFile *
GtkQuery *query
gtk_query_set_location
void
GtkQuery *query, GFile *file
gtk_query_matches_string
gboolean
GtkQuery *query, const gchar *string
GtkQueryPrivate
GTK_TYPE_RADIO_BUTTON
#define GTK_TYPE_RADIO_BUTTON (gtk_radio_button_get_type ())
GTK_RADIO_BUTTON
#define GTK_RADIO_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_RADIO_BUTTON, GtkRadioButton))
GTK_IS_RADIO_BUTTON
#define GTK_IS_RADIO_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_RADIO_BUTTON))
gtk_radio_button_get_type
GType
void
gtk_radio_button_new
GtkWidget *
GSList *group
gtk_radio_button_new_from_widget
GtkWidget *
GtkRadioButton *radio_group_member
gtk_radio_button_new_with_label
GtkWidget *
GSList *group, const gchar *label
gtk_radio_button_new_with_label_from_widget
GtkWidget *
GtkRadioButton *radio_group_member, const gchar *label
gtk_radio_button_new_with_mnemonic
GtkWidget *
GSList *group, const gchar *label
gtk_radio_button_new_with_mnemonic_from_widget
GtkWidget *
GtkRadioButton *radio_group_member, const gchar *label
gtk_radio_button_get_group
GSList *
GtkRadioButton *radio_button
gtk_radio_button_set_group
void
GtkRadioButton *radio_button, GSList *group
gtk_radio_button_join_group
void
GtkRadioButton *radio_button, GtkRadioButton *group_source
GtkRadioButton
GTK_TYPE_RANGE
#define GTK_TYPE_RANGE (gtk_range_get_type ())
GTK_RANGE
#define GTK_RANGE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_RANGE, GtkRange))
GTK_RANGE_CLASS
#define GTK_RANGE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_RANGE, GtkRangeClass))
GTK_IS_RANGE
#define GTK_IS_RANGE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_RANGE))
GTK_IS_RANGE_CLASS
#define GTK_IS_RANGE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_RANGE))
GTK_RANGE_GET_CLASS
#define GTK_RANGE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_RANGE, GtkRangeClass))
GtkRange
struct _GtkRange
{
GtkWidget parent_instance;
};
GtkRangeClass
struct _GtkRangeClass
{
GtkWidgetClass parent_class;
void (* value_changed) (GtkRange *range);
void (* adjust_bounds) (GtkRange *range,
gdouble new_value);
/* action signals for keybindings */
void (* move_slider) (GtkRange *range,
GtkScrollType scroll);
/* Virtual functions */
void (* get_range_border) (GtkRange *range,
GtkBorder *border_);
gboolean (* change_value) (GtkRange *range,
GtkScrollType scroll,
gdouble new_value);
/*< private > */
gpointer padding[8];
};
gtk_range_get_type
GType
void
gtk_range_set_adjustment
void
GtkRange *range, GtkAdjustment *adjustment
gtk_range_get_adjustment
GtkAdjustment *
GtkRange *range
gtk_range_set_inverted
void
GtkRange *range, gboolean setting
gtk_range_get_inverted
gboolean
GtkRange *range
gtk_range_set_flippable
void
GtkRange *range, gboolean flippable
gtk_range_get_flippable
gboolean
GtkRange *range
gtk_range_set_slider_size_fixed
void
GtkRange *range, gboolean size_fixed
gtk_range_get_slider_size_fixed
gboolean
GtkRange *range
gtk_range_get_range_rect
void
GtkRange *range, GdkRectangle *range_rect
gtk_range_get_slider_range
void
GtkRange *range, gint *slider_start, gint *slider_end
gtk_range_set_increments
void
GtkRange *range, gdouble step, gdouble page
gtk_range_set_range
void
GtkRange *range, gdouble min, gdouble max
gtk_range_set_value
void
GtkRange *range, gdouble value
gtk_range_get_value
gdouble
GtkRange *range
gtk_range_set_show_fill_level
void
GtkRange *range, gboolean show_fill_level
gtk_range_get_show_fill_level
gboolean
GtkRange *range
gtk_range_set_restrict_to_fill_level
void
GtkRange *range, gboolean restrict_to_fill_level
gtk_range_get_restrict_to_fill_level
gboolean
GtkRange *range
gtk_range_set_fill_level
void
GtkRange *range, gdouble fill_level
gtk_range_get_fill_level
gdouble
GtkRange *range
gtk_range_set_round_digits
void
GtkRange *range, gint round_digits
gtk_range_get_round_digits
gint
GtkRange *range
GTK_TYPE_RECENT_INFO
#define GTK_TYPE_RECENT_INFO (gtk_recent_info_get_type ())
GTK_TYPE_RECENT_MANAGER
#define GTK_TYPE_RECENT_MANAGER (gtk_recent_manager_get_type ())
GTK_RECENT_MANAGER
#define GTK_RECENT_MANAGER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_RECENT_MANAGER, GtkRecentManager))
GTK_IS_RECENT_MANAGER
#define GTK_IS_RECENT_MANAGER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_RECENT_MANAGER))
GTK_RECENT_MANAGER_CLASS
#define GTK_RECENT_MANAGER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_RECENT_MANAGER, GtkRecentManagerClass))
GTK_IS_RECENT_MANAGER_CLASS
#define GTK_IS_RECENT_MANAGER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_RECENT_MANAGER))
GTK_RECENT_MANAGER_GET_CLASS
#define GTK_RECENT_MANAGER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_RECENT_MANAGER, GtkRecentManagerClass))
GtkRecentData
struct _GtkRecentData
{
gchar *display_name;
gchar *description;
gchar *mime_type;
gchar *app_name;
gchar *app_exec;
gchar **groups;
gboolean is_private;
};
GtkRecentManager
struct _GtkRecentManager
{
/*< private >*/
GObject parent_instance;
GtkRecentManagerPrivate *priv;
};
GtkRecentManagerClass
struct _GtkRecentManagerClass
{
/*< private >*/
GObjectClass parent_class;
void (*changed) (GtkRecentManager *manager);
/* padding for future expansion */
void (*_gtk_recent1) (void);
void (*_gtk_recent2) (void);
void (*_gtk_recent3) (void);
void (*_gtk_recent4) (void);
};
GtkRecentManagerError
typedef enum
{
GTK_RECENT_MANAGER_ERROR_NOT_FOUND,
GTK_RECENT_MANAGER_ERROR_INVALID_URI,
GTK_RECENT_MANAGER_ERROR_INVALID_ENCODING,
GTK_RECENT_MANAGER_ERROR_NOT_REGISTERED,
GTK_RECENT_MANAGER_ERROR_READ,
GTK_RECENT_MANAGER_ERROR_WRITE,
GTK_RECENT_MANAGER_ERROR_UNKNOWN
} GtkRecentManagerError;
GTK_RECENT_MANAGER_ERROR
#define GTK_RECENT_MANAGER_ERROR (gtk_recent_manager_error_quark ())
gtk_recent_manager_error_quark
GQuark
void
gtk_recent_manager_get_type
GType
void
gtk_recent_manager_new
GtkRecentManager *
void
gtk_recent_manager_get_default
GtkRecentManager *
void
gtk_recent_manager_add_item
gboolean
GtkRecentManager *manager, const gchar *uri
gtk_recent_manager_add_full
gboolean
GtkRecentManager *manager, const gchar *uri, const GtkRecentData *recent_data
gtk_recent_manager_remove_item
gboolean
GtkRecentManager *manager, const gchar *uri, GError **error
gtk_recent_manager_lookup_item
GtkRecentInfo *
GtkRecentManager *manager, const gchar *uri, GError **error
gtk_recent_manager_has_item
gboolean
GtkRecentManager *manager, const gchar *uri
gtk_recent_manager_move_item
gboolean
GtkRecentManager *manager, const gchar *uri, const gchar *new_uri, GError **error
gtk_recent_manager_get_items
GList *
GtkRecentManager *manager
gtk_recent_manager_purge_items
gint
GtkRecentManager *manager, GError **error
gtk_recent_info_get_type
GType
void
gtk_recent_info_ref
GtkRecentInfo *
GtkRecentInfo *info
gtk_recent_info_unref
void
GtkRecentInfo *info
gtk_recent_info_get_uri
const gchar *
GtkRecentInfo *info
gtk_recent_info_get_display_name
const gchar *
GtkRecentInfo *info
gtk_recent_info_get_description
const gchar *
GtkRecentInfo *info
gtk_recent_info_get_mime_type
const gchar *
GtkRecentInfo *info
gtk_recent_info_get_added
time_t
GtkRecentInfo *info
gtk_recent_info_get_modified
time_t
GtkRecentInfo *info
gtk_recent_info_get_visited
time_t
GtkRecentInfo *info
gtk_recent_info_get_private_hint
gboolean
GtkRecentInfo *info
gtk_recent_info_get_application_info
gboolean
GtkRecentInfo *info, const gchar *app_name, const gchar **app_exec, guint *count, time_t *time_
gtk_recent_info_create_app_info
GAppInfo *
GtkRecentInfo *info, const gchar *app_name, GError **error
gtk_recent_info_get_applications
gchar **
GtkRecentInfo *info, gsize *length
gtk_recent_info_last_application
gchar *
GtkRecentInfo *info
gtk_recent_info_has_application
gboolean
GtkRecentInfo *info, const gchar *app_name
gtk_recent_info_get_groups
gchar **
GtkRecentInfo *info, gsize *length
gtk_recent_info_has_group
gboolean
GtkRecentInfo *info, const gchar *group_name
gtk_recent_info_get_gicon
GIcon *
GtkRecentInfo *info
gtk_recent_info_get_short_name
gchar *
GtkRecentInfo *info
gtk_recent_info_get_uri_display
gchar *
GtkRecentInfo *info
gtk_recent_info_get_age
gint
GtkRecentInfo *info
gtk_recent_info_is_local
gboolean
GtkRecentInfo *info
gtk_recent_info_exists
gboolean
GtkRecentInfo *info
gtk_recent_info_match
gboolean
GtkRecentInfo *info_a, GtkRecentInfo *info_b
GtkRecentInfo
GtkRecentManagerPrivate
gtk_render_check
void
GtkStyleContext *context, cairo_t *cr, gdouble x, gdouble y, gdouble width, gdouble height
gtk_render_option
void
GtkStyleContext *context, cairo_t *cr, gdouble x, gdouble y, gdouble width, gdouble height
gtk_render_arrow
void
GtkStyleContext *context, cairo_t *cr, gdouble angle, gdouble x, gdouble y, gdouble size
gtk_render_background
void
GtkStyleContext *context, cairo_t *cr, gdouble x, gdouble y, gdouble width, gdouble height
gtk_render_frame
void
GtkStyleContext *context, cairo_t *cr, gdouble x, gdouble y, gdouble width, gdouble height
gtk_render_expander
void
GtkStyleContext *context, cairo_t *cr, gdouble x, gdouble y, gdouble width, gdouble height
gtk_render_focus
void
GtkStyleContext *context, cairo_t *cr, gdouble x, gdouble y, gdouble width, gdouble height
gtk_render_layout
void
GtkStyleContext *context, cairo_t *cr, gdouble x, gdouble y, PangoLayout *layout
gtk_render_line
void
GtkStyleContext *context, cairo_t *cr, gdouble x0, gdouble y0, gdouble x1, gdouble y1
gtk_render_slider
void
GtkStyleContext *context, cairo_t *cr, gdouble x, gdouble y, gdouble width, gdouble height, GtkOrientation orientation
gtk_render_handle
void
GtkStyleContext *context, cairo_t *cr, gdouble x, gdouble y, gdouble width, gdouble height
gtk_render_activity
void
GtkStyleContext *context, cairo_t *cr, gdouble x, gdouble y, gdouble width, gdouble height
gtk_render_icon
void
GtkStyleContext *context, cairo_t *cr, GdkTexture *texture, gdouble x, gdouble y
GTK_TYPE_REVEALER
#define GTK_TYPE_REVEALER (gtk_revealer_get_type ())
GTK_REVEALER
#define GTK_REVEALER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_REVEALER, GtkRevealer))
GTK_IS_REVEALER
#define GTK_IS_REVEALER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_REVEALER))
GtkRevealerTransitionType
typedef enum {
GTK_REVEALER_TRANSITION_TYPE_NONE,
GTK_REVEALER_TRANSITION_TYPE_CROSSFADE,
GTK_REVEALER_TRANSITION_TYPE_SLIDE_RIGHT,
GTK_REVEALER_TRANSITION_TYPE_SLIDE_LEFT,
GTK_REVEALER_TRANSITION_TYPE_SLIDE_UP,
GTK_REVEALER_TRANSITION_TYPE_SLIDE_DOWN,
GTK_REVEALER_TRANSITION_TYPE_SWING_RIGHT,
GTK_REVEALER_TRANSITION_TYPE_SWING_LEFT,
GTK_REVEALER_TRANSITION_TYPE_SWING_UP,
GTK_REVEALER_TRANSITION_TYPE_SWING_DOWN
} GtkRevealerTransitionType;
gtk_revealer_get_type
GType
void
gtk_revealer_new
GtkWidget *
void
gtk_revealer_get_reveal_child
gboolean
GtkRevealer *revealer
gtk_revealer_set_reveal_child
void
GtkRevealer *revealer, gboolean reveal_child
gtk_revealer_get_child_revealed
gboolean
GtkRevealer *revealer
gtk_revealer_get_transition_duration
guint
GtkRevealer *revealer
gtk_revealer_set_transition_duration
void
GtkRevealer *revealer, guint duration
gtk_revealer_set_transition_type
void
GtkRevealer *revealer, GtkRevealerTransitionType transition
gtk_revealer_get_transition_type
GtkRevealerTransitionType
GtkRevealer *revealer
GtkRevealer
GTK_TYPE_ROOT
#define GTK_TYPE_ROOT (gtk_root_get_type ())
gtk_root_get_display
GdkDisplay *
GtkRoot *self
gtk_root_set_focus
void
GtkRoot *self, GtkWidget *focus
gtk_root_get_focus
GtkWidget *
GtkRoot *self
GtkRoot
GtkRootInterface
GtkRootInterface
struct _GtkRootInterface
{
/*< private >*/
GTypeInterface g_iface;
/*< public >*/
GdkDisplay * (* get_display) (GtkRoot *self);
GtkConstraintSolver * (* get_constraint_solver) (GtkRoot *self);
};
gtk_root_get_constraint_solver
GtkConstraintSolver *
GtkRoot *self
GtkRootProperties
typedef enum {
GTK_ROOT_PROP_FOCUS_WIDGET,
GTK_ROOT_NUM_PROPERTIES
} GtkRootProperties;
gtk_root_install_properties
guint
GObjectClass *object_class, guint first_prop
GTK_TYPE_SCALE
#define GTK_TYPE_SCALE (gtk_scale_get_type ())
GTK_SCALE
#define GTK_SCALE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_SCALE, GtkScale))
GTK_SCALE_CLASS
#define GTK_SCALE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_SCALE, GtkScaleClass))
GTK_IS_SCALE
#define GTK_IS_SCALE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_SCALE))
GTK_IS_SCALE_CLASS
#define GTK_IS_SCALE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_SCALE))
GTK_SCALE_GET_CLASS
#define GTK_SCALE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_SCALE, GtkScaleClass))
GtkScale
struct _GtkScale
{
GtkRange parent_instance;
};
GtkScaleClass
struct _GtkScaleClass
{
GtkRangeClass parent_class;
void (* get_layout_offsets) (GtkScale *scale,
gint *x,
gint *y);
/*< private >*/
gpointer padding[8];
};
GtkScaleFormatValueFunc
char *
GtkScale *scale, double value, gpointer user_data
gtk_scale_get_type
GType
void
gtk_scale_new
GtkWidget *
GtkOrientation orientation, GtkAdjustment *adjustment
gtk_scale_new_with_range
GtkWidget *
GtkOrientation orientation, gdouble min, gdouble max, gdouble step
gtk_scale_set_digits
void
GtkScale *scale, gint digits
gtk_scale_get_digits
gint
GtkScale *scale
gtk_scale_set_draw_value
void
GtkScale *scale, gboolean draw_value
gtk_scale_get_draw_value
gboolean
GtkScale *scale
gtk_scale_set_has_origin
void
GtkScale *scale, gboolean has_origin
gtk_scale_get_has_origin
gboolean
GtkScale *scale
gtk_scale_set_value_pos
void
GtkScale *scale, GtkPositionType pos
gtk_scale_get_value_pos
GtkPositionType
GtkScale *scale
gtk_scale_get_layout
PangoLayout *
GtkScale *scale
gtk_scale_get_layout_offsets
void
GtkScale *scale, gint *x, gint *y
gtk_scale_add_mark
void
GtkScale *scale, gdouble value, GtkPositionType position, const gchar *markup
gtk_scale_clear_marks
void
GtkScale *scale
gtk_scale_set_format_value_func
void
GtkScale *scale, GtkScaleFormatValueFunc func, gpointer user_data, GDestroyNotify destroy_notify
GTK_TYPE_SCALE_BUTTON
#define GTK_TYPE_SCALE_BUTTON (gtk_scale_button_get_type ())
GTK_SCALE_BUTTON
#define GTK_SCALE_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_SCALE_BUTTON, GtkScaleButton))
GTK_SCALE_BUTTON_CLASS
#define GTK_SCALE_BUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_SCALE_BUTTON, GtkScaleButtonClass))
GTK_IS_SCALE_BUTTON
#define GTK_IS_SCALE_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_SCALE_BUTTON))
GTK_IS_SCALE_BUTTON_CLASS
#define GTK_IS_SCALE_BUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_SCALE_BUTTON))
GTK_SCALE_BUTTON_GET_CLASS
#define GTK_SCALE_BUTTON_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_SCALE_BUTTON, GtkScaleButtonClass))
GtkScaleButton
struct _GtkScaleButton
{
GtkButton parent_instance;
};
GtkScaleButtonClass
struct _GtkScaleButtonClass
{
GtkButtonClass parent_class;
/* signals */
void (* value_changed) (GtkScaleButton *button,
gdouble value);
/*< private >*/
gpointer padding[8];
};
gtk_scale_button_get_type
GType
void
gtk_scale_button_new
GtkWidget *
gdouble min, gdouble max, gdouble step, const gchar **icons
gtk_scale_button_set_icons
void
GtkScaleButton *button, const gchar **icons
gtk_scale_button_get_value
gdouble
GtkScaleButton *button
gtk_scale_button_set_value
void
GtkScaleButton *button, gdouble value
gtk_scale_button_get_adjustment
GtkAdjustment *
GtkScaleButton *button
gtk_scale_button_set_adjustment
void
GtkScaleButton *button, GtkAdjustment *adjustment
gtk_scale_button_get_plus_button
GtkWidget *
GtkScaleButton *button
gtk_scale_button_get_minus_button
GtkWidget *
GtkScaleButton *button
gtk_scale_button_get_popup
GtkWidget *
GtkScaleButton *button
GTK_TYPE_SCROLLABLE
#define GTK_TYPE_SCROLLABLE (gtk_scrollable_get_type ())
GTK_SCROLLABLE
#define GTK_SCROLLABLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_SCROLLABLE, GtkScrollable))
GTK_IS_SCROLLABLE
#define GTK_IS_SCROLLABLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_SCROLLABLE))
GTK_SCROLLABLE_GET_IFACE
#define GTK_SCROLLABLE_GET_IFACE(inst) (G_TYPE_INSTANCE_GET_INTERFACE ((inst), GTK_TYPE_SCROLLABLE, GtkScrollableInterface))
GtkScrollableInterface
struct _GtkScrollableInterface
{
GTypeInterface base_iface;
gboolean (* get_border) (GtkScrollable *scrollable,
GtkBorder *border);
};
gtk_scrollable_get_type
GType
void
gtk_scrollable_get_hadjustment
GtkAdjustment *
GtkScrollable *scrollable
gtk_scrollable_set_hadjustment
void
GtkScrollable *scrollable, GtkAdjustment *hadjustment
gtk_scrollable_get_vadjustment
GtkAdjustment *
GtkScrollable *scrollable
gtk_scrollable_set_vadjustment
void
GtkScrollable *scrollable, GtkAdjustment *vadjustment
gtk_scrollable_get_hscroll_policy
GtkScrollablePolicy
GtkScrollable *scrollable
gtk_scrollable_set_hscroll_policy
void
GtkScrollable *scrollable, GtkScrollablePolicy policy
gtk_scrollable_get_vscroll_policy
GtkScrollablePolicy
GtkScrollable *scrollable
gtk_scrollable_set_vscroll_policy
void
GtkScrollable *scrollable, GtkScrollablePolicy policy
gtk_scrollable_get_border
gboolean
GtkScrollable *scrollable, GtkBorder *border
GtkScrollable
GTK_TYPE_SCROLLBAR
#define GTK_TYPE_SCROLLBAR (gtk_scrollbar_get_type ())
GTK_SCROLLBAR
#define GTK_SCROLLBAR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_SCROLLBAR, GtkScrollbar))
GTK_IS_SCROLLBAR
#define GTK_IS_SCROLLBAR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_SCROLLBAR))
gtk_scrollbar_get_type
GType
void
gtk_scrollbar_new
GtkWidget *
GtkOrientation orientation, GtkAdjustment *adjustment
gtk_scrollbar_set_adjustment
void
GtkScrollbar *self, GtkAdjustment *adjustment
gtk_scrollbar_get_adjustment
GtkAdjustment *
GtkScrollbar *self
GtkScrollbar
GTK_TYPE_SCROLLED_WINDOW
#define GTK_TYPE_SCROLLED_WINDOW (gtk_scrolled_window_get_type ())
GTK_SCROLLED_WINDOW
#define GTK_SCROLLED_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_SCROLLED_WINDOW, GtkScrolledWindow))
GTK_IS_SCROLLED_WINDOW
#define GTK_IS_SCROLLED_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_SCROLLED_WINDOW))
GtkCornerType
typedef enum
{
GTK_CORNER_TOP_LEFT,
GTK_CORNER_BOTTOM_LEFT,
GTK_CORNER_TOP_RIGHT,
GTK_CORNER_BOTTOM_RIGHT
} GtkCornerType;
GtkPolicyType
typedef enum
{
GTK_POLICY_ALWAYS,
GTK_POLICY_AUTOMATIC,
GTK_POLICY_NEVER,
GTK_POLICY_EXTERNAL
} GtkPolicyType;
gtk_scrolled_window_get_type
GType
void
gtk_scrolled_window_new
GtkWidget *
GtkAdjustment *hadjustment, GtkAdjustment *vadjustment
gtk_scrolled_window_set_hadjustment
void
GtkScrolledWindow *scrolled_window, GtkAdjustment *hadjustment
gtk_scrolled_window_set_vadjustment
void
GtkScrolledWindow *scrolled_window, GtkAdjustment *vadjustment
gtk_scrolled_window_get_hadjustment
GtkAdjustment *
GtkScrolledWindow *scrolled_window
gtk_scrolled_window_get_vadjustment
GtkAdjustment *
GtkScrolledWindow *scrolled_window
gtk_scrolled_window_get_hscrollbar
GtkWidget *
GtkScrolledWindow *scrolled_window
gtk_scrolled_window_get_vscrollbar
GtkWidget *
GtkScrolledWindow *scrolled_window
gtk_scrolled_window_set_policy
void
GtkScrolledWindow *scrolled_window, GtkPolicyType hscrollbar_policy, GtkPolicyType vscrollbar_policy
gtk_scrolled_window_get_policy
void
GtkScrolledWindow *scrolled_window, GtkPolicyType *hscrollbar_policy, GtkPolicyType *vscrollbar_policy
gtk_scrolled_window_set_placement
void
GtkScrolledWindow *scrolled_window, GtkCornerType window_placement
gtk_scrolled_window_unset_placement
void
GtkScrolledWindow *scrolled_window
gtk_scrolled_window_get_placement
GtkCornerType
GtkScrolledWindow *scrolled_window
gtk_scrolled_window_set_shadow_type
void
GtkScrolledWindow *scrolled_window, GtkShadowType type
gtk_scrolled_window_get_shadow_type
GtkShadowType
GtkScrolledWindow *scrolled_window
gtk_scrolled_window_get_min_content_width
gint
GtkScrolledWindow *scrolled_window
gtk_scrolled_window_set_min_content_width
void
GtkScrolledWindow *scrolled_window, gint width
gtk_scrolled_window_get_min_content_height
gint
GtkScrolledWindow *scrolled_window
gtk_scrolled_window_set_min_content_height
void
GtkScrolledWindow *scrolled_window, gint height
gtk_scrolled_window_set_kinetic_scrolling
void
GtkScrolledWindow *scrolled_window, gboolean kinetic_scrolling
gtk_scrolled_window_get_kinetic_scrolling
gboolean
GtkScrolledWindow *scrolled_window
gtk_scrolled_window_set_capture_button_press
void
GtkScrolledWindow *scrolled_window, gboolean capture_button_press
gtk_scrolled_window_get_capture_button_press
gboolean
GtkScrolledWindow *scrolled_window
gtk_scrolled_window_set_overlay_scrolling
void
GtkScrolledWindow *scrolled_window, gboolean overlay_scrolling
gtk_scrolled_window_get_overlay_scrolling
gboolean
GtkScrolledWindow *scrolled_window
gtk_scrolled_window_set_max_content_width
void
GtkScrolledWindow *scrolled_window, gint width
gtk_scrolled_window_get_max_content_width
gint
GtkScrolledWindow *scrolled_window
gtk_scrolled_window_set_max_content_height
void
GtkScrolledWindow *scrolled_window, gint height
gtk_scrolled_window_get_max_content_height
gint
GtkScrolledWindow *scrolled_window
gtk_scrolled_window_set_propagate_natural_width
void
GtkScrolledWindow *scrolled_window, gboolean propagate
gtk_scrolled_window_get_propagate_natural_width
gboolean
GtkScrolledWindow *scrolled_window
gtk_scrolled_window_set_propagate_natural_height
void
GtkScrolledWindow *scrolled_window, gboolean propagate
gtk_scrolled_window_get_propagate_natural_height
gboolean
GtkScrolledWindow *scrolled_window
GtkScrolledWindow
GTK_TYPE_SEARCH_BAR
#define GTK_TYPE_SEARCH_BAR (gtk_search_bar_get_type ())
GTK_SEARCH_BAR
#define GTK_SEARCH_BAR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_SEARCH_BAR, GtkSearchBar))
GTK_IS_SEARCH_BAR
#define GTK_IS_SEARCH_BAR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_SEARCH_BAR))
gtk_search_bar_get_type
GType
void
gtk_search_bar_new
GtkWidget *
void
gtk_search_bar_connect_entry
void
GtkSearchBar *bar, GtkEditable *entry
gtk_search_bar_get_search_mode
gboolean
GtkSearchBar *bar
gtk_search_bar_set_search_mode
void
GtkSearchBar *bar, gboolean search_mode
gtk_search_bar_get_show_close_button
gboolean
GtkSearchBar *bar
gtk_search_bar_set_show_close_button
void
GtkSearchBar *bar, gboolean visible
gtk_search_bar_set_key_capture_widget
void
GtkSearchBar *bar, GtkWidget *widget
gtk_search_bar_get_key_capture_widget
GtkWidget *
GtkSearchBar *bar
GtkSearchBar
GTK_TYPE_SEARCH_ENGINE
#define GTK_TYPE_SEARCH_ENGINE (_gtk_search_engine_get_type ())
GTK_SEARCH_ENGINE
#define GTK_SEARCH_ENGINE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_SEARCH_ENGINE, GtkSearchEngine))
GTK_SEARCH_ENGINE_CLASS
#define GTK_SEARCH_ENGINE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_SEARCH_ENGINE, GtkSearchEngineClass))
GTK_IS_SEARCH_ENGINE
#define GTK_IS_SEARCH_ENGINE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_SEARCH_ENGINE))
GTK_IS_SEARCH_ENGINE_CLASS
#define GTK_IS_SEARCH_ENGINE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_SEARCH_ENGINE))
GTK_SEARCH_ENGINE_GET_CLASS
#define GTK_SEARCH_ENGINE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_SEARCH_ENGINE, GtkSearchEngineClass))
GtkSearchHit
struct _GtkSearchHit
{
GFile *file;
GFileInfo *info; /* may be NULL */
};
GtkSearchEngine
struct _GtkSearchEngine
{
GObject parent;
GtkSearchEnginePrivate *priv;
};
GtkSearchEngineClass
struct _GtkSearchEngineClass
{
GObjectClass parent_class;
/* VTable */
void (*set_query) (GtkSearchEngine *engine,
GtkQuery *query);
void (*start) (GtkSearchEngine *engine);
void (*stop) (GtkSearchEngine *engine);
/* Signals */
void (*hits_added) (GtkSearchEngine *engine,
GList *hits);
void (*finished) (GtkSearchEngine *engine);
void (*error) (GtkSearchEngine *engine,
const gchar *error_message);
};
GtkSearchEnginePrivate
GTK_TYPE_SEARCH_ENGINE_MODEL
#define GTK_TYPE_SEARCH_ENGINE_MODEL (_gtk_search_engine_model_get_type ())
GTK_SEARCH_ENGINE_MODEL
#define GTK_SEARCH_ENGINE_MODEL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_SEARCH_ENGINE_MODEL, GtkSearchEngineModel))
GTK_SEARCH_ENGINE_MODEL_CLASS
#define GTK_SEARCH_ENGINE_MODEL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_SEARCH_ENGINE_MODEL, GtkSearchEngineModelClass))
GTK_IS_SEARCH_ENGINE_MODEL
#define GTK_IS_SEARCH_ENGINE_MODEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_SEARCH_ENGINE_MODEL))
GTK_IS_SEARCH_ENGINE_MODEL_CLASS
#define GTK_IS_SEARCH_ENGINE_MODEL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_SEARCH_ENGINE_MODEL))
GTK_SEARCH_ENGINE_MODEL_GET_CLASS
#define GTK_SEARCH_ENGINE_MODEL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_SEARCH_ENGINE_MODEL, GtkSearchEngineModelClass))
GtkSearchEngineModel
GtkSearchEngineModelClass
GTK_TYPE_SEARCH_ENGINE_QUARTZ
#define GTK_TYPE_SEARCH_ENGINE_QUARTZ (_gtk_search_engine_quartz_get_type ())
GTK_SEARCH_ENGINE_QUARTZ
#define GTK_SEARCH_ENGINE_QUARTZ(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_SEARCH_ENGINE_QUARTZ, GtkSearchEngineQuartz))
GTK_SEARCH_ENGINE_QUARTZ_CLASS
#define GTK_SEARCH_ENGINE_QUARTZ_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_SEARCH_ENGINE_QUARTZ, GtkSearchEngineQuartzClass))
GTK_IS_SEARCH_ENGINE_QUARTZ
#define GTK_IS_SEARCH_ENGINE_QUARTZ(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_SEARCH_ENGINE_QUARTZ))
GTK_IS_SEARCH_ENGINE_QUARTZ_CLASS
#define GTK_IS_SEARCH_ENGINE_QUARTZ_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_SEARCH_ENGINE_QUARTZ))
GTK_SEARCH_ENGINE_QUARTZ_GET_CLASS
#define GTK_SEARCH_ENGINE_QUARTZ_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_SEARCH_ENGINE_QUARTZ, GtkSearchEngineQuartzClass))
GtkSearchEngineQuartz
struct _GtkSearchEngineQuartz
{
GtkSearchEngine parent;
GtkSearchEngineQuartzPrivate *priv;
};
GtkSearchEngineQuartzClass
struct _GtkSearchEngineQuartzClass
{
GtkSearchEngineClass parent_class;
};
GtkSearchEngineQuartzPrivate
GTK_TYPE_SEARCH_ENGINE_TRACKER
#define GTK_TYPE_SEARCH_ENGINE_TRACKER (_gtk_search_engine_tracker_get_type ())
GTK_SEARCH_ENGINE_TRACKER
#define GTK_SEARCH_ENGINE_TRACKER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_SEARCH_ENGINE_TRACKER, GtkSearchEngineTracker))
GTK_SEARCH_ENGINE_TRACKER_CLASS
#define GTK_SEARCH_ENGINE_TRACKER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_SEARCH_ENGINE_TRACKER, GtkSearchEngineTrackerClass))
GTK_IS_SEARCH_ENGINE_TRACKER
#define GTK_IS_SEARCH_ENGINE_TRACKER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_SEARCH_ENGINE_TRACKER))
GTK_IS_SEARCH_ENGINE_TRACKER_CLASS
#define GTK_IS_SEARCH_ENGINE_TRACKER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_SEARCH_ENGINE_TRACKER))
GTK_SEARCH_ENGINE_TRACKER_GET_CLASS
#define GTK_SEARCH_ENGINE_TRACKER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_SEARCH_ENGINE_TRACKER, GtkSearchEngineTrackerClass))
GtkSearchEngineTracker
GtkSearchEngineTrackerClass
GTK_TYPE_SEARCH_ENTRY
#define GTK_TYPE_SEARCH_ENTRY (gtk_search_entry_get_type ())
GTK_SEARCH_ENTRY
#define GTK_SEARCH_ENTRY(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_SEARCH_ENTRY, GtkSearchEntry))
GTK_IS_SEARCH_ENTRY
#define GTK_IS_SEARCH_ENTRY(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_SEARCH_ENTRY))
gtk_search_entry_get_type
GType
void
gtk_search_entry_new
GtkWidget *
void
gtk_search_entry_set_key_capture_widget
void
GtkSearchEntry *entry, GtkWidget *widget
gtk_search_entry_get_key_capture_widget
GtkWidget *
GtkSearchEntry *entry
GtkSearchEntry
GTK_TYPE_SELECTION_DATA
#define GTK_TYPE_SELECTION_DATA (gtk_selection_data_get_type ())
gtk_selection_data_get_target
GdkAtom
const GtkSelectionData *selection_data
gtk_selection_data_get_data_type
GdkAtom
const GtkSelectionData *selection_data
gtk_selection_data_get_format
gint
const GtkSelectionData *selection_data
gtk_selection_data_get_data
const guchar *
const GtkSelectionData *selection_data
gtk_selection_data_get_length
gint
const GtkSelectionData *selection_data
gtk_selection_data_get_data_with_length
const guchar *
const GtkSelectionData *selection_data, gint *length
gtk_selection_data_get_display
GdkDisplay *
const GtkSelectionData *selection_data
gtk_selection_data_set
void
GtkSelectionData *selection_data, GdkAtom type, gint format, const guchar *data, gint length
gtk_selection_data_set_text
gboolean
GtkSelectionData *selection_data, const gchar *str, gint len
gtk_selection_data_get_text
guchar *
const GtkSelectionData *selection_data
gtk_selection_data_set_pixbuf
gboolean
GtkSelectionData *selection_data, GdkPixbuf *pixbuf
gtk_selection_data_get_pixbuf
GdkPixbuf *
const GtkSelectionData *selection_data
gtk_selection_data_set_texture
gboolean
GtkSelectionData *selection_data, GdkTexture *texture
gtk_selection_data_get_texture
GdkTexture *
const GtkSelectionData *selection_data
gtk_selection_data_set_uris
gboolean
GtkSelectionData *selection_data, gchar **uris
gtk_selection_data_get_uris
gchar **
const GtkSelectionData *selection_data
gtk_selection_data_get_targets
gboolean
const GtkSelectionData *selection_data, GdkAtom **targets, gint *n_atoms
gtk_selection_data_targets_include_text
gboolean
const GtkSelectionData *selection_data
gtk_selection_data_targets_include_image
gboolean
const GtkSelectionData *selection_data, gboolean writable
gtk_selection_data_targets_include_uri
gboolean
const GtkSelectionData *selection_data
gtk_targets_include_text
gboolean
GdkAtom *targets, gint n_targets
gtk_targets_include_image
gboolean
GdkAtom *targets, gint n_targets, gboolean writable
gtk_targets_include_uri
gboolean
GdkAtom *targets, gint n_targets
gtk_selection_data_get_type
GType
void
gtk_selection_data_copy
GtkSelectionData *
const GtkSelectionData *data
gtk_selection_data_free
void
GtkSelectionData *data
GTK_TYPE_SELECTION_MODEL
#define GTK_TYPE_SELECTION_MODEL (gtk_selection_model_get_type ())
GtkSelectionModelInterface
struct _GtkSelectionModelInterface
{
/*< private >*/
GTypeInterface g_iface;
/*< public >*/
gboolean (* is_selected) (GtkSelectionModel *model,
guint position);
gboolean (* select_item) (GtkSelectionModel *model,
guint position,
gboolean exclusive);
gboolean (* unselect_item) (GtkSelectionModel *model,
guint position);
gboolean (* select_range) (GtkSelectionModel *model,
guint position,
guint n_items,
gboolean exclusive);
gboolean (* unselect_range) (GtkSelectionModel *model,
guint position,
guint n_items);
gboolean (* select_all) (GtkSelectionModel *model);
gboolean (* unselect_all) (GtkSelectionModel *model);
void (* query_range) (GtkSelectionModel *model,
guint position,
guint *start_range,
guint *n_items,
gboolean *selected);
};
gtk_selection_model_is_selected
gboolean
GtkSelectionModel *model, guint position
gtk_selection_model_select_item
gboolean
GtkSelectionModel *model, guint position, gboolean exclusive
gtk_selection_model_unselect_item
gboolean
GtkSelectionModel *model, guint position
gtk_selection_model_select_range
gboolean
GtkSelectionModel *model, guint position, guint n_items, gboolean exclusive
gtk_selection_model_unselect_range
gboolean
GtkSelectionModel *model, guint position, guint n_items
gtk_selection_model_select_all
gboolean
GtkSelectionModel *model
gtk_selection_model_unselect_all
gboolean
GtkSelectionModel *model
gtk_selection_model_query_range
void
GtkSelectionModel *model, guint position, guint *start_range, guint *n_items, gboolean *selected
gtk_selection_model_selection_changed
void
GtkSelectionModel *model, guint position, guint n_items
GtkSelectionModel
GTK_TYPE_SEPARATOR
#define GTK_TYPE_SEPARATOR (gtk_separator_get_type ())
GTK_SEPARATOR
#define GTK_SEPARATOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_SEPARATOR, GtkSeparator))
GTK_IS_SEPARATOR
#define GTK_IS_SEPARATOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_SEPARATOR))
gtk_separator_get_type
GType
void
gtk_separator_new
GtkWidget *
GtkOrientation orientation
GtkSeparator
GTK_TYPE_SETTINGS
#define GTK_TYPE_SETTINGS (gtk_settings_get_type ())
GTK_SETTINGS
#define GTK_SETTINGS(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_SETTINGS, GtkSettings))
GTK_IS_SETTINGS
#define GTK_IS_SETTINGS(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_SETTINGS))
GtkSettings
struct _GtkSettings
{
GObject parent_instance;
};
GtkSettingsValue
struct _GtkSettingsValue
{
/* origin should be something like "filename:linenumber" for rc files,
* or e.g. "XProperty" for other sources
*/
gchar *origin;
/* valid types are LONG, DOUBLE and STRING corresponding to the token parsed,
* or a GSTRING holding an unparsed statement
*/
GValue value;
};
gtk_settings_get_type
GType
void
gtk_settings_get_default
GtkSettings *
void
gtk_settings_get_for_display
GtkSettings *
GdkDisplay *display
gtk_settings_reset_property
void
GtkSettings *settings, const gchar *name
GTK_TYPE_SHORTCUT_LABEL
#define GTK_TYPE_SHORTCUT_LABEL (gtk_shortcut_label_get_type())
GTK_SHORTCUT_LABEL
#define GTK_SHORTCUT_LABEL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_SHORTCUT_LABEL, GtkShortcutLabel))
GTK_IS_SHORTCUT_LABEL
#define GTK_IS_SHORTCUT_LABEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_SHORTCUT_LABEL))
gtk_shortcut_label_get_type
GType
void
gtk_shortcut_label_new
GtkWidget *
const gchar *accelerator
gtk_shortcut_label_get_accelerator
const gchar *
GtkShortcutLabel *self
gtk_shortcut_label_set_accelerator
void
GtkShortcutLabel *self, const gchar *accelerator
gtk_shortcut_label_get_disabled_text
const gchar *
GtkShortcutLabel *self
gtk_shortcut_label_set_disabled_text
void
GtkShortcutLabel *self, const gchar *disabled_text
GtkShortcutLabel
GtkShortcutLabelClass
GTK_TYPE_SHORTCUTS_GROUP
#define GTK_TYPE_SHORTCUTS_GROUP (gtk_shortcuts_group_get_type ())
GTK_SHORTCUTS_GROUP
#define GTK_SHORTCUTS_GROUP(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_SHORTCUTS_GROUP, GtkShortcutsGroup))
GTK_IS_SHORTCUTS_GROUP
#define GTK_IS_SHORTCUTS_GROUP(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_SHORTCUTS_GROUP))
gtk_shortcuts_group_get_type
GType
void
GtkShortcutsGroup
GtkShortcutsGroupClass
GTK_TYPE_SHORTCUTS_SECTION
#define GTK_TYPE_SHORTCUTS_SECTION (gtk_shortcuts_section_get_type ())
GTK_SHORTCUTS_SECTION
#define GTK_SHORTCUTS_SECTION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_SHORTCUTS_SECTION, GtkShortcutsSection))
GTK_IS_SHORTCUTS_SECTION
#define GTK_IS_SHORTCUTS_SECTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_SHORTCUTS_SECTION))
gtk_shortcuts_section_get_type
GType
void
GtkShortcutsSection
GtkShortcutsSectionClass
GTK_TYPE_SHORTCUTS_SHORTCUT
#define GTK_TYPE_SHORTCUTS_SHORTCUT (gtk_shortcuts_shortcut_get_type())
GTK_SHORTCUTS_SHORTCUT
#define GTK_SHORTCUTS_SHORTCUT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_SHORTCUTS_SHORTCUT, GtkShortcutsShortcut))
GTK_IS_SHORTCUTS_SHORTCUT
#define GTK_IS_SHORTCUTS_SHORTCUT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_SHORTCUTS_SHORTCUT))
GtkShortcutType
typedef enum {
GTK_SHORTCUT_ACCELERATOR,
GTK_SHORTCUT_GESTURE_PINCH,
GTK_SHORTCUT_GESTURE_STRETCH,
GTK_SHORTCUT_GESTURE_ROTATE_CLOCKWISE,
GTK_SHORTCUT_GESTURE_ROTATE_COUNTERCLOCKWISE,
GTK_SHORTCUT_GESTURE_TWO_FINGER_SWIPE_LEFT,
GTK_SHORTCUT_GESTURE_TWO_FINGER_SWIPE_RIGHT,
GTK_SHORTCUT_GESTURE,
GTK_SHORTCUT_GESTURE_SWIPE_LEFT,
GTK_SHORTCUT_GESTURE_SWIPE_RIGHT
} GtkShortcutType;
gtk_shortcuts_shortcut_get_type
GType
void
GtkShortcutsShortcut
GtkShortcutsShortcutClass
GTK_TYPE_SHORTCUTS_WINDOW
#define GTK_TYPE_SHORTCUTS_WINDOW (gtk_shortcuts_window_get_type ())
GTK_SHORTCUTS_WINDOW
#define GTK_SHORTCUTS_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_SHORTCUTS_WINDOW, GtkShortcutsWindow))
GTK_IS_SHORTCUTS_WINDOW
#define GTK_IS_SHORTCUTS_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_SHORTCUTS_WINDOW))
GtkShortcutsWindow
struct _GtkShortcutsWindow
{
GtkWindow window;
};
gtk_shortcuts_window_get_type
GType
void
GtkShortcutsWindowClass
gtk_show_uri_on_window
gboolean
GtkWindow *parent, const char *uri, guint32 timestamp, GError **error
GTK_TYPE_SINGLE_SELECTION
#define GTK_TYPE_SINGLE_SELECTION (gtk_single_selection_get_type ())
gtk_single_selection_new
GtkSingleSelection *
GListModel *model
gtk_single_selection_get_model
GListModel *
GtkSingleSelection *self
gtk_single_selection_get_selected
guint
GtkSingleSelection *self
gtk_single_selection_set_selected
void
GtkSingleSelection *self, guint position
gtk_single_selection_get_selected_item
gpointer
GtkSingleSelection *self
gtk_single_selection_get_autoselect
gboolean
GtkSingleSelection *self
gtk_single_selection_set_autoselect
void
GtkSingleSelection *self, gboolean autoselect
gtk_single_selection_get_can_unselect
gboolean
GtkSingleSelection *self
gtk_single_selection_set_can_unselect
void
GtkSingleSelection *self, gboolean can_unselect
GtkSingleSelection
GTK_TYPE_SIZE_GROUP
#define GTK_TYPE_SIZE_GROUP (gtk_size_group_get_type ())
GTK_SIZE_GROUP
#define GTK_SIZE_GROUP(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_SIZE_GROUP, GtkSizeGroup))
GTK_IS_SIZE_GROUP
#define GTK_IS_SIZE_GROUP(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_SIZE_GROUP))
GtkSizeGroup
struct _GtkSizeGroup
{
GObject parent_instance;
};
gtk_size_group_get_type
GType
void
gtk_size_group_new
GtkSizeGroup *
GtkSizeGroupMode mode
gtk_size_group_set_mode
void
GtkSizeGroup *size_group, GtkSizeGroupMode mode
gtk_size_group_get_mode
GtkSizeGroupMode
GtkSizeGroup *size_group
gtk_size_group_add_widget
void
GtkSizeGroup *size_group, GtkWidget *widget
gtk_size_group_remove_widget
void
GtkSizeGroup *size_group, GtkWidget *widget
gtk_size_group_get_widgets
GSList *
GtkSizeGroup *size_group
GtkRequestedSize
struct _GtkRequestedSize
{
gpointer data;
gint minimum_size;
gint natural_size;
};
gtk_distribute_natural_allocation
gint
gint extra_space, guint n_requested_sizes, GtkRequestedSize *sizes
GTK_TYPE_SLICE_LIST_MODEL
#define GTK_TYPE_SLICE_LIST_MODEL (gtk_slice_list_model_get_type ())
gtk_slice_list_model_new
GtkSliceListModel *
GListModel *model, guint offset, guint size
gtk_slice_list_model_new_for_type
GtkSliceListModel *
GType item_type
gtk_slice_list_model_set_model
void
GtkSliceListModel *self, GListModel *model
gtk_slice_list_model_get_model
GListModel *
GtkSliceListModel *self
gtk_slice_list_model_set_offset
void
GtkSliceListModel *self, guint offset
gtk_slice_list_model_get_offset
guint
GtkSliceListModel *self
gtk_slice_list_model_set_size
void
GtkSliceListModel *self, guint size
gtk_slice_list_model_get_size
guint
GtkSliceListModel *self
GtkSliceListModel
GTK_TYPE_SNAPSHOT
#define GTK_TYPE_SNAPSHOT (gtk_snapshot_get_type ())
GTK_SNAPSHOT
#define GTK_SNAPSHOT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_SNAPSHOT, GtkSnapshot))
GTK_IS_SNAPSHOT
#define GTK_IS_SNAPSHOT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_SNAPSHOT))
gtk_snapshot_get_type
GType
void
gtk_snapshot_new
GtkSnapshot *
void
gtk_snapshot_free_to_node
GskRenderNode *
GtkSnapshot *snapshot
gtk_snapshot_free_to_paintable
GdkPaintable *
GtkSnapshot *snapshot, const graphene_size_t *size
gtk_snapshot_to_node
GskRenderNode *
GtkSnapshot *snapshot
gtk_snapshot_to_paintable
GdkPaintable *
GtkSnapshot *snapshot, const graphene_size_t *size
gtk_snapshot_push_debug
void
GtkSnapshot *snapshot, const char *message, ...
gtk_snapshot_push_opacity
void
GtkSnapshot *snapshot, double opacity
gtk_snapshot_push_blur
void
GtkSnapshot *snapshot, double radius
gtk_snapshot_push_color_matrix
void
GtkSnapshot *snapshot, const graphene_matrix_t*color_matrix, const graphene_vec4_t *color_offset
gtk_snapshot_push_repeat
void
GtkSnapshot *snapshot, const graphene_rect_t *bounds, const graphene_rect_t *child_bounds
gtk_snapshot_push_clip
void
GtkSnapshot *snapshot, const graphene_rect_t *bounds
gtk_snapshot_push_rounded_clip
void
GtkSnapshot *snapshot, const GskRoundedRect *bounds
gtk_snapshot_push_shadow
void
GtkSnapshot *snapshot, const GskShadow *shadow, gsize n_shadows
gtk_snapshot_push_blend
void
GtkSnapshot *snapshot, GskBlendMode blend_mode
gtk_snapshot_push_cross_fade
void
GtkSnapshot *snapshot, double progress
gtk_snapshot_pop
void
GtkSnapshot *snapshot
gtk_snapshot_save
void
GtkSnapshot *snapshot
gtk_snapshot_restore
void
GtkSnapshot *snapshot
gtk_snapshot_transform
void
GtkSnapshot *snapshot, GskTransform *transform
gtk_snapshot_transform_matrix
void
GtkSnapshot *snapshot, const graphene_matrix_t*matrix
gtk_snapshot_translate
void
GtkSnapshot *snapshot, const graphene_point_t *point
gtk_snapshot_translate_3d
void
GtkSnapshot *snapshot, const graphene_point3d_t*point
gtk_snapshot_rotate
void
GtkSnapshot *snapshot, float angle
gtk_snapshot_rotate_3d
void
GtkSnapshot *snapshot, float angle, const graphene_vec3_t *axis
gtk_snapshot_scale
void
GtkSnapshot *snapshot, float factor_x, float factor_y
gtk_snapshot_scale_3d
void
GtkSnapshot *snapshot, float factor_x, float factor_y, float factor_z
gtk_snapshot_perspective
void
GtkSnapshot *snapshot, float depth
gtk_snapshot_append_node
void
GtkSnapshot *snapshot, GskRenderNode *node
gtk_snapshot_append_cairo
cairo_t *
GtkSnapshot *snapshot, const graphene_rect_t *bounds
gtk_snapshot_append_texture
void
GtkSnapshot *snapshot, GdkTexture *texture, const graphene_rect_t *bounds
gtk_snapshot_append_color
void
GtkSnapshot *snapshot, const GdkRGBA *color, const graphene_rect_t *bounds
gtk_snapshot_append_linear_gradient
void
GtkSnapshot *snapshot, const graphene_rect_t *bounds, const graphene_point_t *start_point, const graphene_point_t *end_point, const GskColorStop *stops, gsize n_stops
gtk_snapshot_append_repeating_linear_gradient
void
GtkSnapshot *snapshot, const graphene_rect_t *bounds, const graphene_point_t *start_point, const graphene_point_t *end_point, const GskColorStop *stops, gsize n_stops
gtk_snapshot_append_border
void
GtkSnapshot *snapshot, const GskRoundedRect *outline, const float border_width[4], const GdkRGBA border_color[4]
gtk_snapshot_append_inset_shadow
void
GtkSnapshot *snapshot, const GskRoundedRect *outline, const GdkRGBA *color, float dx, float dy, float spread, float blur_radius
gtk_snapshot_append_outset_shadow
void
GtkSnapshot *snapshot, const GskRoundedRect *outline, const GdkRGBA *color, float dx, float dy, float spread, float blur_radius
gtk_snapshot_append_layout
void
GtkSnapshot *snapshot, PangoLayout *layout, const GdkRGBA *color
gtk_snapshot_render_background
void
GtkSnapshot *snapshot, GtkStyleContext *context, gdouble x, gdouble y, gdouble width, gdouble height
gtk_snapshot_render_frame
void
GtkSnapshot *snapshot, GtkStyleContext *context, gdouble x, gdouble y, gdouble width, gdouble height
gtk_snapshot_render_focus
void
GtkSnapshot *snapshot, GtkStyleContext *context, gdouble x, gdouble y, gdouble width, gdouble height
gtk_snapshot_render_layout
void
GtkSnapshot *snapshot, GtkStyleContext *context, gdouble x, gdouble y, PangoLayout *layout
gtk_snapshot_render_insertion_cursor
void
GtkSnapshot *snapshot, GtkStyleContext *context, gdouble x, gdouble y, PangoLayout *layout, int index, PangoDirection direction
GtkSnapshotClass
GTK_TYPE_SORT_LIST_MODEL
#define GTK_TYPE_SORT_LIST_MODEL (gtk_sort_list_model_get_type ())
gtk_sort_list_model_new
GtkSortListModel *
GListModel *model, GCompareDataFunc sort_func, gpointer user_data, GDestroyNotify user_destroy
gtk_sort_list_model_new_for_type
GtkSortListModel *
GType item_type
gtk_sort_list_model_set_sort_func
void
GtkSortListModel *self, GCompareDataFunc sort_func, gpointer user_data, GDestroyNotify user_destroy
gtk_sort_list_model_has_sort
gboolean
GtkSortListModel *self
gtk_sort_list_model_set_model
void
GtkSortListModel *self, GListModel *model
gtk_sort_list_model_get_model
GListModel *
GtkSortListModel *self
gtk_sort_list_model_resort
void
GtkSortListModel *self
GtkSortListModel
GTK_TYPE_SPIN_BUTTON
#define GTK_TYPE_SPIN_BUTTON (gtk_spin_button_get_type ())
GTK_SPIN_BUTTON
#define GTK_SPIN_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_SPIN_BUTTON, GtkSpinButton))
GTK_IS_SPIN_BUTTON
#define GTK_IS_SPIN_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_SPIN_BUTTON))
GTK_INPUT_ERROR
#define GTK_INPUT_ERROR -1
GtkSpinButtonUpdatePolicy
typedef enum
{
GTK_UPDATE_ALWAYS,
GTK_UPDATE_IF_VALID
} GtkSpinButtonUpdatePolicy;
GtkSpinType
typedef enum
{
GTK_SPIN_STEP_FORWARD,
GTK_SPIN_STEP_BACKWARD,
GTK_SPIN_PAGE_FORWARD,
GTK_SPIN_PAGE_BACKWARD,
GTK_SPIN_HOME,
GTK_SPIN_END,
GTK_SPIN_USER_DEFINED
} GtkSpinType;
gtk_spin_button_get_type
GType
void
gtk_spin_button_configure
void
GtkSpinButton *spin_button, GtkAdjustment *adjustment, gdouble climb_rate, guint digits
gtk_spin_button_new
GtkWidget *
GtkAdjustment *adjustment, gdouble climb_rate, guint digits
gtk_spin_button_new_with_range
GtkWidget *
gdouble min, gdouble max, gdouble step
gtk_spin_button_set_adjustment
void
GtkSpinButton *spin_button, GtkAdjustment *adjustment
gtk_spin_button_get_adjustment
GtkAdjustment *
GtkSpinButton *spin_button
gtk_spin_button_set_digits
void
GtkSpinButton *spin_button, guint digits
gtk_spin_button_get_digits
guint
GtkSpinButton *spin_button
gtk_spin_button_set_increments
void
GtkSpinButton *spin_button, gdouble step, gdouble page
gtk_spin_button_get_increments
void
GtkSpinButton *spin_button, gdouble *step, gdouble *page
gtk_spin_button_set_range
void
GtkSpinButton *spin_button, gdouble min, gdouble max
gtk_spin_button_get_range
void
GtkSpinButton *spin_button, gdouble *min, gdouble *max
gtk_spin_button_get_value
gdouble
GtkSpinButton *spin_button
gtk_spin_button_get_value_as_int
gint
GtkSpinButton *spin_button
gtk_spin_button_set_value
void
GtkSpinButton *spin_button, gdouble value
gtk_spin_button_set_update_policy
void
GtkSpinButton *spin_button, GtkSpinButtonUpdatePolicy policy
gtk_spin_button_get_update_policy
GtkSpinButtonUpdatePolicy
GtkSpinButton *spin_button
gtk_spin_button_set_numeric
void
GtkSpinButton *spin_button, gboolean numeric
gtk_spin_button_get_numeric
gboolean
GtkSpinButton *spin_button
gtk_spin_button_spin
void
GtkSpinButton *spin_button, GtkSpinType direction, gdouble increment
gtk_spin_button_set_wrap
void
GtkSpinButton *spin_button, gboolean wrap
gtk_spin_button_get_wrap
gboolean
GtkSpinButton *spin_button
gtk_spin_button_set_snap_to_ticks
void
GtkSpinButton *spin_button, gboolean snap_to_ticks
gtk_spin_button_get_snap_to_ticks
gboolean
GtkSpinButton *spin_button
gtk_spin_button_update
void
GtkSpinButton *spin_button
GtkSpinButton
GTK_TYPE_SPINNER
#define GTK_TYPE_SPINNER (gtk_spinner_get_type ())
GTK_SPINNER
#define GTK_SPINNER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_SPINNER, GtkSpinner))
GTK_IS_SPINNER
#define GTK_IS_SPINNER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_SPINNER))
gtk_spinner_get_type
GType
void
gtk_spinner_new
GtkWidget *
void
gtk_spinner_start
void
GtkSpinner *spinner
gtk_spinner_stop
void
GtkSpinner *spinner
GtkSpinner
GTK_TYPE_STACK
#define GTK_TYPE_STACK (gtk_stack_get_type ())
GTK_STACK
#define GTK_STACK(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_STACK, GtkStack))
GTK_IS_STACK
#define GTK_IS_STACK(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_STACK))
GTK_TYPE_STACK_PAGE
#define GTK_TYPE_STACK_PAGE (gtk_stack_page_get_type ())
GTK_STACK_PAGE
#define GTK_STACK_PAGE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_STACK_PAGE, GtkStackPage))
GTK_IS_STACK_PAGE
#define GTK_IS_STACK_PAGE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_STACK_PAGE))
GtkStackTransitionType
typedef enum {
GTK_STACK_TRANSITION_TYPE_NONE,
GTK_STACK_TRANSITION_TYPE_CROSSFADE,
GTK_STACK_TRANSITION_TYPE_SLIDE_RIGHT,
GTK_STACK_TRANSITION_TYPE_SLIDE_LEFT,
GTK_STACK_TRANSITION_TYPE_SLIDE_UP,
GTK_STACK_TRANSITION_TYPE_SLIDE_DOWN,
GTK_STACK_TRANSITION_TYPE_SLIDE_LEFT_RIGHT,
GTK_STACK_TRANSITION_TYPE_SLIDE_UP_DOWN,
GTK_STACK_TRANSITION_TYPE_OVER_UP,
GTK_STACK_TRANSITION_TYPE_OVER_DOWN,
GTK_STACK_TRANSITION_TYPE_OVER_LEFT,
GTK_STACK_TRANSITION_TYPE_OVER_RIGHT,
GTK_STACK_TRANSITION_TYPE_UNDER_UP,
GTK_STACK_TRANSITION_TYPE_UNDER_DOWN,
GTK_STACK_TRANSITION_TYPE_UNDER_LEFT,
GTK_STACK_TRANSITION_TYPE_UNDER_RIGHT,
GTK_STACK_TRANSITION_TYPE_OVER_UP_DOWN,
GTK_STACK_TRANSITION_TYPE_OVER_DOWN_UP,
GTK_STACK_TRANSITION_TYPE_OVER_LEFT_RIGHT,
GTK_STACK_TRANSITION_TYPE_OVER_RIGHT_LEFT,
GTK_STACK_TRANSITION_TYPE_ROTATE_LEFT,
GTK_STACK_TRANSITION_TYPE_ROTATE_RIGHT,
GTK_STACK_TRANSITION_TYPE_ROTATE_LEFT_RIGHT
} GtkStackTransitionType;
gtk_stack_page_get_type
GType
void
gtk_stack_get_type
GType
void
gtk_stack_new
GtkWidget *
void
gtk_stack_add_named
GtkStackPage *
GtkStack *stack, GtkWidget *child, const gchar *name
gtk_stack_add_titled
GtkStackPage *
GtkStack *stack, GtkWidget *child, const gchar *name, const gchar *title
gtk_stack_get_page
GtkStackPage *
GtkStack *stack, GtkWidget *child
gtk_stack_page_get_child
GtkWidget *
GtkStackPage *page
gtk_stack_get_child_by_name
GtkWidget *
GtkStack *stack, const gchar *name
gtk_stack_set_visible_child
void
GtkStack *stack, GtkWidget *child
gtk_stack_get_visible_child
GtkWidget *
GtkStack *stack
gtk_stack_set_visible_child_name
void
GtkStack *stack, const gchar *name
gtk_stack_get_visible_child_name
const gchar *
GtkStack *stack
gtk_stack_set_visible_child_full
void
GtkStack *stack, const gchar *name, GtkStackTransitionType transition
gtk_stack_set_homogeneous
void
GtkStack *stack, gboolean homogeneous
gtk_stack_get_homogeneous
gboolean
GtkStack *stack
gtk_stack_set_hhomogeneous
void
GtkStack *stack, gboolean hhomogeneous
gtk_stack_get_hhomogeneous
gboolean
GtkStack *stack
gtk_stack_set_vhomogeneous
void
GtkStack *stack, gboolean vhomogeneous
gtk_stack_get_vhomogeneous
gboolean
GtkStack *stack
gtk_stack_set_transition_duration
void
GtkStack *stack, guint duration
gtk_stack_get_transition_duration
guint
GtkStack *stack
gtk_stack_set_transition_type
void
GtkStack *stack, GtkStackTransitionType transition
gtk_stack_get_transition_type
GtkStackTransitionType
GtkStack *stack
gtk_stack_get_transition_running
gboolean
GtkStack *stack
gtk_stack_set_interpolate_size
void
GtkStack *stack, gboolean interpolate_size
gtk_stack_get_interpolate_size
gboolean
GtkStack *stack
gtk_stack_get_pages
GtkSelectionModel *
GtkStack *stack
GtkStack
GtkStackPage
GTK_TYPE_STACK_SIDEBAR
#define GTK_TYPE_STACK_SIDEBAR (gtk_stack_sidebar_get_type ())
GTK_STACK_SIDEBAR
#define GTK_STACK_SIDEBAR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_STACK_SIDEBAR, GtkStackSidebar))
GTK_IS_STACK_SIDEBAR
#define GTK_IS_STACK_SIDEBAR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_STACK_SIDEBAR))
gtk_stack_sidebar_get_type
GType
void
gtk_stack_sidebar_new
GtkWidget *
void
gtk_stack_sidebar_set_stack
void
GtkStackSidebar *self, GtkStack *stack
gtk_stack_sidebar_get_stack
GtkStack *
GtkStackSidebar *self
GtkStackSidebar
GTK_TYPE_STACK_SWITCHER
#define GTK_TYPE_STACK_SWITCHER (gtk_stack_switcher_get_type ())
GTK_STACK_SWITCHER
#define GTK_STACK_SWITCHER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_STACK_SWITCHER, GtkStackSwitcher))
GTK_IS_STACK_SWITCHER
#define GTK_IS_STACK_SWITCHER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_STACK_SWITCHER))
gtk_stack_switcher_get_type
GType
void
gtk_stack_switcher_new
GtkWidget *
void
gtk_stack_switcher_set_stack
void
GtkStackSwitcher *switcher, GtkStack *stack
gtk_stack_switcher_get_stack
GtkStack *
GtkStackSwitcher *switcher
GtkStackSwitcher
GTK_TYPE_STATUSBAR
#define GTK_TYPE_STATUSBAR (gtk_statusbar_get_type ())
GTK_STATUSBAR
#define GTK_STATUSBAR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_STATUSBAR, GtkStatusbar))
GTK_IS_STATUSBAR
#define GTK_IS_STATUSBAR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_STATUSBAR))
gtk_statusbar_get_type
GType
void
gtk_statusbar_new
GtkWidget *
void
gtk_statusbar_get_context_id
guint
GtkStatusbar *statusbar, const gchar *context_description
gtk_statusbar_push
guint
GtkStatusbar *statusbar, guint context_id, const gchar *text
gtk_statusbar_pop
void
GtkStatusbar *statusbar, guint context_id
gtk_statusbar_remove
void
GtkStatusbar *statusbar, guint context_id, guint message_id
gtk_statusbar_remove_all
void
GtkStatusbar *statusbar, guint context_id
gtk_statusbar_get_message_area
GtkWidget *
GtkStatusbar *statusbar
GtkStatusbar
GTK_TYPE_STYLE_CONTEXT
#define GTK_TYPE_STYLE_CONTEXT (gtk_style_context_get_type ())
GTK_STYLE_CONTEXT
#define GTK_STYLE_CONTEXT(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GTK_TYPE_STYLE_CONTEXT, GtkStyleContext))
GTK_STYLE_CONTEXT_CLASS
#define GTK_STYLE_CONTEXT_CLASS(c) (G_TYPE_CHECK_CLASS_CAST ((c), GTK_TYPE_STYLE_CONTEXT, GtkStyleContextClass))
GTK_IS_STYLE_CONTEXT
#define GTK_IS_STYLE_CONTEXT(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GTK_TYPE_STYLE_CONTEXT))
GTK_IS_STYLE_CONTEXT_CLASS
#define GTK_IS_STYLE_CONTEXT_CLASS(c) (G_TYPE_CHECK_CLASS_TYPE ((c), GTK_TYPE_STYLE_CONTEXT))
GTK_STYLE_CONTEXT_GET_CLASS
#define GTK_STYLE_CONTEXT_GET_CLASS(o) (G_TYPE_INSTANCE_GET_CLASS ((o), GTK_TYPE_STYLE_CONTEXT, GtkStyleContextClass))
GtkStyleContext
struct _GtkStyleContext
{
GObject parent_object;
};
GtkStyleContextClass
struct _GtkStyleContextClass
{
GObjectClass parent_class;
void (* changed) (GtkStyleContext *context);
/* Padding for future expansion */
void (*_gtk_reserved1) (void);
void (*_gtk_reserved2) (void);
void (*_gtk_reserved3) (void);
void (*_gtk_reserved4) (void);
};
GTK_STYLE_CLASS_CELL
#define GTK_STYLE_CLASS_CELL "cell"
GTK_STYLE_CLASS_DIM_LABEL
#define GTK_STYLE_CLASS_DIM_LABEL "dim-label"
GTK_STYLE_CLASS_ENTRY
#define GTK_STYLE_CLASS_ENTRY "entry"
GTK_STYLE_CLASS_LABEL
#define GTK_STYLE_CLASS_LABEL "label"
GTK_STYLE_CLASS_COMBOBOX_ENTRY
#define GTK_STYLE_CLASS_COMBOBOX_ENTRY "combobox-entry"
GTK_STYLE_CLASS_BUTTON
#define GTK_STYLE_CLASS_BUTTON "button"
GTK_STYLE_CLASS_LIST
#define GTK_STYLE_CLASS_LIST "list"
GTK_STYLE_CLASS_LIST_ROW
#define GTK_STYLE_CLASS_LIST_ROW "list-row"
GTK_STYLE_CLASS_CALENDAR
#define GTK_STYLE_CLASS_CALENDAR "calendar"
GTK_STYLE_CLASS_SLIDER
#define GTK_STYLE_CLASS_SLIDER "slider"
GTK_STYLE_CLASS_BACKGROUND
#define GTK_STYLE_CLASS_BACKGROUND "background"
GTK_STYLE_CLASS_RUBBERBAND
#define GTK_STYLE_CLASS_RUBBERBAND "rubberband"
GTK_STYLE_CLASS_CSD
#define GTK_STYLE_CLASS_CSD "csd"
GTK_STYLE_CLASS_TOOLTIP
#define GTK_STYLE_CLASS_TOOLTIP "tooltip"
GTK_STYLE_CLASS_MENU
#define GTK_STYLE_CLASS_MENU "menu"
GTK_STYLE_CLASS_CONTEXT_MENU
#define GTK_STYLE_CLASS_CONTEXT_MENU "context-menu"
GTK_STYLE_CLASS_TOUCH_SELECTION
#define GTK_STYLE_CLASS_TOUCH_SELECTION "touch-selection"
GTK_STYLE_CLASS_MENUBAR
#define GTK_STYLE_CLASS_MENUBAR "menubar"
GTK_STYLE_CLASS_MENUITEM
#define GTK_STYLE_CLASS_MENUITEM "menuitem"
GTK_STYLE_CLASS_TOOLBAR
#define GTK_STYLE_CLASS_TOOLBAR "toolbar"
GTK_STYLE_CLASS_STATUSBAR
#define GTK_STYLE_CLASS_STATUSBAR "statusbar"
GTK_STYLE_CLASS_RADIO
#define GTK_STYLE_CLASS_RADIO "radio"
GTK_STYLE_CLASS_CHECK
#define GTK_STYLE_CLASS_CHECK "check"
GTK_STYLE_CLASS_DEFAULT
#define GTK_STYLE_CLASS_DEFAULT "default"
GTK_STYLE_CLASS_TROUGH
#define GTK_STYLE_CLASS_TROUGH "trough"
GTK_STYLE_CLASS_SCROLLBAR
#define GTK_STYLE_CLASS_SCROLLBAR "scrollbar"
GTK_STYLE_CLASS_SCROLLBARS_JUNCTION
#define GTK_STYLE_CLASS_SCROLLBARS_JUNCTION "scrollbars-junction"
GTK_STYLE_CLASS_SCALE
#define GTK_STYLE_CLASS_SCALE "scale"
GTK_STYLE_CLASS_SCALE_HAS_MARKS_ABOVE
#define GTK_STYLE_CLASS_SCALE_HAS_MARKS_ABOVE "scale-has-marks-above"
GTK_STYLE_CLASS_SCALE_HAS_MARKS_BELOW
#define GTK_STYLE_CLASS_SCALE_HAS_MARKS_BELOW "scale-has-marks-below"
GTK_STYLE_CLASS_HEADER
#define GTK_STYLE_CLASS_HEADER "header"
GTK_STYLE_CLASS_ACCELERATOR
#define GTK_STYLE_CLASS_ACCELERATOR "accelerator"
GTK_STYLE_CLASS_RAISED
#define GTK_STYLE_CLASS_RAISED "raised"
GTK_STYLE_CLASS_LINKED
#define GTK_STYLE_CLASS_LINKED "linked"
GTK_STYLE_CLASS_DOCK
#define GTK_STYLE_CLASS_DOCK "dock"
GTK_STYLE_CLASS_PROGRESSBAR
#define GTK_STYLE_CLASS_PROGRESSBAR "progressbar"
GTK_STYLE_CLASS_SPINNER
#define GTK_STYLE_CLASS_SPINNER "spinner"
GTK_STYLE_CLASS_MARK
#define GTK_STYLE_CLASS_MARK "mark"
GTK_STYLE_CLASS_EXPANDER
#define GTK_STYLE_CLASS_EXPANDER "expander"
GTK_STYLE_CLASS_SPINBUTTON
#define GTK_STYLE_CLASS_SPINBUTTON "spinbutton"
GTK_STYLE_CLASS_NOTEBOOK
#define GTK_STYLE_CLASS_NOTEBOOK "notebook"
GTK_STYLE_CLASS_VIEW
#define GTK_STYLE_CLASS_VIEW "view"
GTK_STYLE_CLASS_SIDEBAR
#define GTK_STYLE_CLASS_SIDEBAR "sidebar"
GTK_STYLE_CLASS_IMAGE
#define GTK_STYLE_CLASS_IMAGE "image"
GTK_STYLE_CLASS_HIGHLIGHT
#define GTK_STYLE_CLASS_HIGHLIGHT "highlight"
GTK_STYLE_CLASS_FRAME
#define GTK_STYLE_CLASS_FRAME "frame"
GTK_STYLE_CLASS_DND
#define GTK_STYLE_CLASS_DND "dnd"
GTK_STYLE_CLASS_PANE_SEPARATOR
#define GTK_STYLE_CLASS_PANE_SEPARATOR "pane-separator"
GTK_STYLE_CLASS_SEPARATOR
#define GTK_STYLE_CLASS_SEPARATOR "separator"
GTK_STYLE_CLASS_INFO
#define GTK_STYLE_CLASS_INFO "info"
GTK_STYLE_CLASS_WARNING
#define GTK_STYLE_CLASS_WARNING "warning"
GTK_STYLE_CLASS_QUESTION
#define GTK_STYLE_CLASS_QUESTION "question"
GTK_STYLE_CLASS_ERROR
#define GTK_STYLE_CLASS_ERROR "error"
GTK_STYLE_CLASS_HORIZONTAL
#define GTK_STYLE_CLASS_HORIZONTAL "horizontal"
GTK_STYLE_CLASS_VERTICAL
#define GTK_STYLE_CLASS_VERTICAL "vertical"
GTK_STYLE_CLASS_TOP
#define GTK_STYLE_CLASS_TOP "top"
GTK_STYLE_CLASS_BOTTOM
#define GTK_STYLE_CLASS_BOTTOM "bottom"
GTK_STYLE_CLASS_LEFT
#define GTK_STYLE_CLASS_LEFT "left"
GTK_STYLE_CLASS_RIGHT
#define GTK_STYLE_CLASS_RIGHT "right"
GTK_STYLE_CLASS_PULSE
#define GTK_STYLE_CLASS_PULSE "pulse"
GTK_STYLE_CLASS_ARROW
#define GTK_STYLE_CLASS_ARROW "arrow"
GTK_STYLE_CLASS_OSD
#define GTK_STYLE_CLASS_OSD "osd"
GTK_STYLE_CLASS_LEVEL_BAR
#define GTK_STYLE_CLASS_LEVEL_BAR "level-bar"
GTK_STYLE_CLASS_CURSOR_HANDLE
#define GTK_STYLE_CLASS_CURSOR_HANDLE "cursor-handle"
GTK_STYLE_CLASS_INSERTION_CURSOR
#define GTK_STYLE_CLASS_INSERTION_CURSOR "insertion-cursor"
GTK_STYLE_CLASS_TITLEBAR
#define GTK_STYLE_CLASS_TITLEBAR "titlebar"
GTK_STYLE_CLASS_TITLE
#define GTK_STYLE_CLASS_TITLE "title"
GTK_STYLE_CLASS_SUBTITLE
#define GTK_STYLE_CLASS_SUBTITLE "subtitle"
GTK_STYLE_CLASS_NEEDS_ATTENTION
#define GTK_STYLE_CLASS_NEEDS_ATTENTION "needs-attention"
GTK_STYLE_CLASS_SUGGESTED_ACTION
#define GTK_STYLE_CLASS_SUGGESTED_ACTION "suggested-action"
GTK_STYLE_CLASS_DESTRUCTIVE_ACTION
#define GTK_STYLE_CLASS_DESTRUCTIVE_ACTION "destructive-action"
GTK_STYLE_CLASS_POPOVER
#define GTK_STYLE_CLASS_POPOVER "popover"
GTK_STYLE_CLASS_POPUP
#define GTK_STYLE_CLASS_POPUP "popup"
GTK_STYLE_CLASS_MESSAGE_DIALOG
#define GTK_STYLE_CLASS_MESSAGE_DIALOG "message-dialog"
GTK_STYLE_CLASS_FLAT
#define GTK_STYLE_CLASS_FLAT "flat"
GTK_STYLE_CLASS_READ_ONLY
#define GTK_STYLE_CLASS_READ_ONLY "read-only"
GTK_STYLE_CLASS_OVERSHOOT
#define GTK_STYLE_CLASS_OVERSHOOT "overshoot"
GTK_STYLE_CLASS_UNDERSHOOT
#define GTK_STYLE_CLASS_UNDERSHOOT "undershoot"
GTK_STYLE_CLASS_PAPER
#define GTK_STYLE_CLASS_PAPER "paper"
GTK_STYLE_CLASS_MONOSPACE
#define GTK_STYLE_CLASS_MONOSPACE "monospace"
GTK_STYLE_CLASS_WIDE
#define GTK_STYLE_CLASS_WIDE "wide"
gtk_style_context_get_type
GType
void
gtk_style_context_add_provider_for_display
void
GdkDisplay *display, GtkStyleProvider *provider, guint priority
gtk_style_context_remove_provider_for_display
void
GdkDisplay *display, GtkStyleProvider *provider
gtk_style_context_add_provider
void
GtkStyleContext *context, GtkStyleProvider *provider, guint priority
gtk_style_context_remove_provider
void
GtkStyleContext *context, GtkStyleProvider *provider
gtk_style_context_save
void
GtkStyleContext *context
gtk_style_context_restore
void
GtkStyleContext *context
gtk_style_context_set_state
void
GtkStyleContext *context, GtkStateFlags flags
gtk_style_context_get_state
GtkStateFlags
GtkStyleContext *context
gtk_style_context_set_scale
void
GtkStyleContext *context, gint scale
gtk_style_context_get_scale
gint
GtkStyleContext *context
gtk_style_context_get_parent
GtkStyleContext *
GtkStyleContext *context
gtk_style_context_list_classes
GList *
GtkStyleContext *context
gtk_style_context_add_class
void
GtkStyleContext *context, const gchar *class_name
gtk_style_context_remove_class
void
GtkStyleContext *context, const gchar *class_name
gtk_style_context_has_class
gboolean
GtkStyleContext *context, const gchar *class_name
gtk_style_context_set_display
void
GtkStyleContext *context, GdkDisplay *display
gtk_style_context_get_display
GdkDisplay *
GtkStyleContext *context
gtk_style_context_lookup_color
gboolean
GtkStyleContext *context, const gchar *color_name, GdkRGBA *color
gtk_style_context_get_color
void
GtkStyleContext *context, GdkRGBA *color
gtk_style_context_get_border
void
GtkStyleContext *context, GtkBorder *border
gtk_style_context_get_padding
void
GtkStyleContext *context, GtkBorder *padding
gtk_style_context_get_margin
void
GtkStyleContext *context, GtkBorder *margin
gtk_style_context_reset_widgets
void
GdkDisplay *display
gtk_render_insertion_cursor
void
GtkStyleContext *context, cairo_t *cr, gdouble x, gdouble y, PangoLayout *layout, int index, PangoDirection direction
GtkStyleContextPrintFlags
typedef enum {
GTK_STYLE_CONTEXT_PRINT_NONE = 0,
GTK_STYLE_CONTEXT_PRINT_RECURSE = 1 << 0,
GTK_STYLE_CONTEXT_PRINT_SHOW_STYLE = 1 << 1,
GTK_STYLE_CONTEXT_PRINT_SHOW_CHANGE = 1 << 2
} GtkStyleContextPrintFlags;
gtk_style_context_to_string
char *
GtkStyleContext *context, GtkStyleContextPrintFlags flags
GTK_TYPE_STYLE_PROVIDER
#define GTK_TYPE_STYLE_PROVIDER (gtk_style_provider_get_type ())
GTK_STYLE_PROVIDER
#define GTK_STYLE_PROVIDER(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), GTK_TYPE_STYLE_PROVIDER, GtkStyleProvider))
GTK_IS_STYLE_PROVIDER
#define GTK_IS_STYLE_PROVIDER(o) (G_TYPE_CHECK_INSTANCE_TYPE ((o), GTK_TYPE_STYLE_PROVIDER))
GTK_STYLE_PROVIDER_PRIORITY_FALLBACK
#define GTK_STYLE_PROVIDER_PRIORITY_FALLBACK 1
GTK_STYLE_PROVIDER_PRIORITY_THEME
#define GTK_STYLE_PROVIDER_PRIORITY_THEME 200
GTK_STYLE_PROVIDER_PRIORITY_SETTINGS
#define GTK_STYLE_PROVIDER_PRIORITY_SETTINGS 400
GTK_STYLE_PROVIDER_PRIORITY_APPLICATION
#define GTK_STYLE_PROVIDER_PRIORITY_APPLICATION 600
GTK_STYLE_PROVIDER_PRIORITY_USER
#define GTK_STYLE_PROVIDER_PRIORITY_USER 800
gtk_style_provider_get_type
GType
void
GtkStyleProvider
GTK_TYPE_SWITCH
#define GTK_TYPE_SWITCH (gtk_switch_get_type ())
GTK_SWITCH
#define GTK_SWITCH(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_SWITCH, GtkSwitch))
GTK_IS_SWITCH
#define GTK_IS_SWITCH(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_SWITCH))
gtk_switch_get_type
GType
void
gtk_switch_new
GtkWidget *
void
gtk_switch_set_active
void
GtkSwitch *self, gboolean is_active
gtk_switch_get_active
gboolean
GtkSwitch *self
gtk_switch_set_state
void
GtkSwitch *self, gboolean state
gtk_switch_get_state
gboolean
GtkSwitch *self
GtkSwitch
gtk_test_init
void
int *argcp, char ***argvp, ...
gtk_test_register_all_types
void
void
gtk_test_list_all_types
const GType *
guint *n_types
gtk_test_widget_wait_for_draw
void
GtkWidget *widget
GTK_TYPE_TEXT
#define GTK_TYPE_TEXT (gtk_text_get_type ())
GTK_TEXT
#define GTK_TEXT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_TEXT, GtkText))
GTK_IS_TEXT
#define GTK_IS_TEXT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_TEXT))
GtkText
struct _GtkText
{
/*< private >*/
GtkWidget parent_instance;
};
gtk_text_get_type
GType
void
gtk_text_new
GtkWidget *
void
gtk_text_new_with_buffer
GtkWidget *
GtkEntryBuffer *buffer
gtk_text_get_buffer
GtkEntryBuffer *
GtkText *self
gtk_text_set_buffer
void
GtkText *self, GtkEntryBuffer *buffer
gtk_text_set_visibility
void
GtkText *self, gboolean visible
gtk_text_get_visibility
gboolean
GtkText *self
gtk_text_set_invisible_char
void
GtkText *self, gunichar ch
gtk_text_get_invisible_char
gunichar
GtkText *self
gtk_text_unset_invisible_char
void
GtkText *self
gtk_text_set_overwrite_mode
void
GtkText *self, gboolean overwrite
gtk_text_get_overwrite_mode
gboolean
GtkText *self
gtk_text_set_max_length
void
GtkText *self, int length
gtk_text_get_max_length
gint
GtkText *self
gtk_text_get_text_length
guint16
GtkText *self
gtk_text_set_activates_default
void
GtkText *self, gboolean activates
gtk_text_get_activates_default
gboolean
GtkText *self
gtk_text_get_placeholder_text
const char *
GtkText *self
gtk_text_set_placeholder_text
void
GtkText *self, const char *text
gtk_text_set_input_purpose
void
GtkText *self, GtkInputPurpose purpose
gtk_text_get_input_purpose
GtkInputPurpose
GtkText *self
gtk_text_set_input_hints
void
GtkText *self, GtkInputHints hints
gtk_text_get_input_hints
GtkInputHints
GtkText *self
gtk_text_set_attributes
void
GtkText *self, PangoAttrList *attrs
gtk_text_get_attributes
PangoAttrList *
GtkText *self
gtk_text_set_tabs
void
GtkText *self, PangoTabArray *tabs
gtk_text_get_tabs
PangoTabArray *
GtkText *self
gtk_text_grab_focus_without_selecting
gboolean
GtkText *self
gtk_text_set_extra_menu
void
GtkText *self, GMenuModel *model
gtk_text_get_extra_menu
GMenuModel *
GtkText *self
GTK_TYPE_TEXT_ATTRIBUTES
#define GTK_TYPE_TEXT_ATTRIBUTES (gtk_text_attributes_get_type ())
GtkTextAppearance
struct _GtkTextAppearance
{
GdkRGBA *bg_rgba;
GdkRGBA *fg_rgba;
GdkRGBA *underline_rgba;
GdkRGBA *strikethrough_rgba;
/* super/subscript rise, can be negative */
gint rise;
guint underline : 4; /* PangoUnderline */
guint strikethrough : 1;
/* Whether to use background-related values; this is irrelevant for
* the values struct when in a tag, but is used for the composite
* values struct; it's true if any of the tags being composited
* had background stuff set.
*/
guint draw_bg : 1;
/* These are only used when we are actually laying out and rendering
* a paragraph; not when a GtkTextAppearance is part of a
* GtkTextAttributes.
*/
guint inside_selection : 1;
guint is_text : 1;
};
GtkTextAttributes
struct _GtkTextAttributes
{
guint refcount;
GtkTextAppearance appearance;
GtkJustification justification;
GtkTextDirection direction;
PangoFontDescription *font;
gdouble font_scale;
gint left_margin;
gint right_margin;
gint indent;
gint pixels_above_lines;
gint pixels_below_lines;
gint pixels_inside_wrap;
PangoTabArray *tabs;
GtkWrapMode wrap_mode;
PangoLanguage *language;
guint invisible : 1;
guint bg_full_height : 1;
guint editable : 1;
guint no_fallback: 1;
GdkRGBA *pg_bg_rgba;
gint letter_spacing;
gchar *font_features;
};
gtk_text_attributes_new
GtkTextAttributes *
void
gtk_text_attributes_copy
GtkTextAttributes *
GtkTextAttributes *src
gtk_text_attributes_copy_values
void
GtkTextAttributes *src, GtkTextAttributes *dest
gtk_text_attributes_unref
void
GtkTextAttributes *values
gtk_text_attributes_ref
GtkTextAttributes *
GtkTextAttributes *values
gtk_text_attributes_get_type
GType
void
DEBUG_VALIDATION_AND_SCROLLING
#define DEBUG_VALIDATION_AND_SCROLLING
DV
#define DV(x) (x)
GtkTextLineData
struct _GtkTextLineData {
gpointer view_id;
GtkTextLineData *next;
gint height;
gint top_ink : 16;
gint bottom_ink : 16;
signed int width : 24;
guint valid : 8; /* Actually a boolean */
};
GtkTextLine
struct _GtkTextLine {
GtkTextBTreeNode *parent; /* Pointer to parent node containing
* line. */
GtkTextLine *next; /* Next in linked list of lines with
* same parent node in B-tree. NULL
* means end of list. */
GtkTextLineSegment *segments; /* First in ordered list of segments
* that make up the line. */
GtkTextLineData *views; /* data stored here by views */
guchar dir_strong; /* BiDi algo dir of line */
guchar dir_propagated_back; /* BiDi algo dir of next line */
guchar dir_propagated_forward; /* BiDi algo dir of prev line */
};
GtkTextBufferTargetInfo
typedef enum
{
GTK_TEXT_BUFFER_TARGET_INFO_BUFFER_CONTENTS = - 1,
GTK_TEXT_BUFFER_TARGET_INFO_RICH_TEXT = - 2,
GTK_TEXT_BUFFER_TARGET_INFO_TEXT = - 3
} GtkTextBufferTargetInfo;
GTK_TYPE_TEXT_BUFFER
#define GTK_TYPE_TEXT_BUFFER (gtk_text_buffer_get_type ())
GTK_TEXT_BUFFER
#define GTK_TEXT_BUFFER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_TEXT_BUFFER, GtkTextBuffer))
GTK_TEXT_BUFFER_CLASS
#define GTK_TEXT_BUFFER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_TEXT_BUFFER, GtkTextBufferClass))
GTK_IS_TEXT_BUFFER
#define GTK_IS_TEXT_BUFFER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_TEXT_BUFFER))
GTK_IS_TEXT_BUFFER_CLASS
#define GTK_IS_TEXT_BUFFER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_TEXT_BUFFER))
GTK_TEXT_BUFFER_GET_CLASS
#define GTK_TEXT_BUFFER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_TEXT_BUFFER, GtkTextBufferClass))
GtkTextBuffer
struct _GtkTextBuffer
{
GObject parent_instance;
GtkTextBufferPrivate *priv;
};
GtkTextBufferClass
struct _GtkTextBufferClass
{
GObjectClass parent_class;
void (* insert_text) (GtkTextBuffer *buffer,
GtkTextIter *pos,
const gchar *new_text,
gint new_text_length);
void (* insert_paintable) (GtkTextBuffer *buffer,
GtkTextIter *iter,
GdkPaintable *paintable);
void (* insert_child_anchor) (GtkTextBuffer *buffer,
GtkTextIter *iter,
GtkTextChildAnchor *anchor);
void (* delete_range) (GtkTextBuffer *buffer,
GtkTextIter *start,
GtkTextIter *end);
void (* changed) (GtkTextBuffer *buffer);
void (* modified_changed) (GtkTextBuffer *buffer);
void (* mark_set) (GtkTextBuffer *buffer,
const GtkTextIter *location,
GtkTextMark *mark);
void (* mark_deleted) (GtkTextBuffer *buffer,
GtkTextMark *mark);
void (* apply_tag) (GtkTextBuffer *buffer,
GtkTextTag *tag,
const GtkTextIter *start,
const GtkTextIter *end);
void (* remove_tag) (GtkTextBuffer *buffer,
GtkTextTag *tag,
const GtkTextIter *start,
const GtkTextIter *end);
void (* begin_user_action) (GtkTextBuffer *buffer);
void (* end_user_action) (GtkTextBuffer *buffer);
void (* paste_done) (GtkTextBuffer *buffer,
GdkClipboard *clipboard);
void (* undo) (GtkTextBuffer *buffer);
void (* redo) (GtkTextBuffer *buffer);
/*< private >*/
/* Padding for future expansion */
void (*_gtk_reserved1) (void);
void (*_gtk_reserved2) (void);
void (*_gtk_reserved3) (void);
void (*_gtk_reserved4) (void);
};
gtk_text_buffer_get_type
GType
void
gtk_text_buffer_new
GtkTextBuffer *
GtkTextTagTable *table
gtk_text_buffer_get_line_count
gint
GtkTextBuffer *buffer
gtk_text_buffer_get_char_count
gint
GtkTextBuffer *buffer
gtk_text_buffer_get_tag_table
GtkTextTagTable *
GtkTextBuffer *buffer
gtk_text_buffer_set_text
void
GtkTextBuffer *buffer, const gchar *text, gint len
gtk_text_buffer_insert
void
GtkTextBuffer *buffer, GtkTextIter *iter, const gchar *text, gint len
gtk_text_buffer_insert_at_cursor
void
GtkTextBuffer *buffer, const gchar *text, gint len
gtk_text_buffer_insert_interactive
gboolean
GtkTextBuffer *buffer, GtkTextIter *iter, const gchar *text, gint len, gboolean default_editable
gtk_text_buffer_insert_interactive_at_cursor
gboolean
GtkTextBuffer *buffer, const gchar *text, gint len, gboolean default_editable
gtk_text_buffer_insert_range
void
GtkTextBuffer *buffer, GtkTextIter *iter, const GtkTextIter *start, const GtkTextIter *end
gtk_text_buffer_insert_range_interactive
gboolean
GtkTextBuffer *buffer, GtkTextIter *iter, const GtkTextIter *start, const GtkTextIter *end, gboolean default_editable
gtk_text_buffer_insert_with_tags
void
GtkTextBuffer *buffer, GtkTextIter *iter, const gchar *text, gint len, GtkTextTag *first_tag, ...
gtk_text_buffer_insert_with_tags_by_name
void
GtkTextBuffer *buffer, GtkTextIter *iter, const gchar *text, gint len, const gchar *first_tag_name, ...
gtk_text_buffer_insert_markup
void
GtkTextBuffer *buffer, GtkTextIter *iter, const gchar *markup, gint len
gtk_text_buffer_delete
void
GtkTextBuffer *buffer, GtkTextIter *start, GtkTextIter *end
gtk_text_buffer_delete_interactive
gboolean
GtkTextBuffer *buffer, GtkTextIter *start_iter, GtkTextIter *end_iter, gboolean default_editable
gtk_text_buffer_backspace
gboolean
GtkTextBuffer *buffer, GtkTextIter *iter, gboolean interactive, gboolean default_editable
gtk_text_buffer_get_text
gchar *
GtkTextBuffer *buffer, const GtkTextIter *start, const GtkTextIter *end, gboolean include_hidden_chars
gtk_text_buffer_get_slice
gchar *
GtkTextBuffer *buffer, const GtkTextIter *start, const GtkTextIter *end, gboolean include_hidden_chars
gtk_text_buffer_insert_paintable
void
GtkTextBuffer *buffer, GtkTextIter *iter, GdkPaintable *texture
gtk_text_buffer_insert_child_anchor
void
GtkTextBuffer *buffer, GtkTextIter *iter, GtkTextChildAnchor *anchor
gtk_text_buffer_create_child_anchor
GtkTextChildAnchor *
GtkTextBuffer *buffer, GtkTextIter *iter
gtk_text_buffer_add_mark
void
GtkTextBuffer *buffer, GtkTextMark *mark, const GtkTextIter *where
gtk_text_buffer_create_mark
GtkTextMark *
GtkTextBuffer *buffer, const gchar *mark_name, const GtkTextIter *where, gboolean left_gravity
gtk_text_buffer_move_mark
void
GtkTextBuffer *buffer, GtkTextMark *mark, const GtkTextIter *where
gtk_text_buffer_delete_mark
void
GtkTextBuffer *buffer, GtkTextMark *mark
gtk_text_buffer_get_mark
GtkTextMark *
GtkTextBuffer *buffer, const gchar *name
gtk_text_buffer_move_mark_by_name
void
GtkTextBuffer *buffer, const gchar *name, const GtkTextIter *where
gtk_text_buffer_delete_mark_by_name
void
GtkTextBuffer *buffer, const gchar *name
gtk_text_buffer_get_insert
GtkTextMark *
GtkTextBuffer *buffer
gtk_text_buffer_get_selection_bound
GtkTextMark *
GtkTextBuffer *buffer
gtk_text_buffer_place_cursor
void
GtkTextBuffer *buffer, const GtkTextIter *where
gtk_text_buffer_select_range
void
GtkTextBuffer *buffer, const GtkTextIter *ins, const GtkTextIter *bound
gtk_text_buffer_apply_tag
void
GtkTextBuffer *buffer, GtkTextTag *tag, const GtkTextIter *start, const GtkTextIter *end
gtk_text_buffer_remove_tag
void
GtkTextBuffer *buffer, GtkTextTag *tag, const GtkTextIter *start, const GtkTextIter *end
gtk_text_buffer_apply_tag_by_name
void
GtkTextBuffer *buffer, const gchar *name, const GtkTextIter *start, const GtkTextIter *end
gtk_text_buffer_remove_tag_by_name
void
GtkTextBuffer *buffer, const gchar *name, const GtkTextIter *start, const GtkTextIter *end
gtk_text_buffer_remove_all_tags
void
GtkTextBuffer *buffer, const GtkTextIter *start, const GtkTextIter *end
gtk_text_buffer_create_tag
GtkTextTag *
GtkTextBuffer *buffer, const gchar *tag_name, const gchar *first_property_name, ...
gtk_text_buffer_get_iter_at_line_offset
void
GtkTextBuffer *buffer, GtkTextIter *iter, gint line_number, gint char_offset
gtk_text_buffer_get_iter_at_line_index
void
GtkTextBuffer *buffer, GtkTextIter *iter, gint line_number, gint byte_index
gtk_text_buffer_get_iter_at_offset
void
GtkTextBuffer *buffer, GtkTextIter *iter, gint char_offset
gtk_text_buffer_get_iter_at_line
void
GtkTextBuffer *buffer, GtkTextIter *iter, gint line_number
gtk_text_buffer_get_start_iter
void
GtkTextBuffer *buffer, GtkTextIter *iter
gtk_text_buffer_get_end_iter
void
GtkTextBuffer *buffer, GtkTextIter *iter
gtk_text_buffer_get_bounds
void
GtkTextBuffer *buffer, GtkTextIter *start, GtkTextIter *end
gtk_text_buffer_get_iter_at_mark
void
GtkTextBuffer *buffer, GtkTextIter *iter, GtkTextMark *mark
gtk_text_buffer_get_iter_at_child_anchor
void
GtkTextBuffer *buffer, GtkTextIter *iter, GtkTextChildAnchor *anchor
gtk_text_buffer_get_modified
gboolean
GtkTextBuffer *buffer
gtk_text_buffer_set_modified
void
GtkTextBuffer *buffer, gboolean setting
gtk_text_buffer_get_has_selection
gboolean
GtkTextBuffer *buffer
gtk_text_buffer_add_selection_clipboard
void
GtkTextBuffer *buffer, GdkClipboard *clipboard
gtk_text_buffer_remove_selection_clipboard
void
GtkTextBuffer *buffer, GdkClipboard *clipboard
gtk_text_buffer_cut_clipboard
void
GtkTextBuffer *buffer, GdkClipboard *clipboard, gboolean default_editable
gtk_text_buffer_copy_clipboard
void
GtkTextBuffer *buffer, GdkClipboard *clipboard
gtk_text_buffer_paste_clipboard
void
GtkTextBuffer *buffer, GdkClipboard *clipboard, GtkTextIter *override_location, gboolean default_editable
gtk_text_buffer_get_selection_bounds
gboolean
GtkTextBuffer *buffer, GtkTextIter *start, GtkTextIter *end
gtk_text_buffer_delete_selection
gboolean
GtkTextBuffer *buffer, gboolean interactive, gboolean default_editable
gtk_text_buffer_get_selection_content
GdkContentProvider *
GtkTextBuffer *buffer
gtk_text_buffer_get_can_undo
gboolean
GtkTextBuffer *buffer
gtk_text_buffer_get_can_redo
gboolean
GtkTextBuffer *buffer
gtk_text_buffer_get_enable_undo
gboolean
GtkTextBuffer *buffer
gtk_text_buffer_set_enable_undo
void
GtkTextBuffer *buffer, gboolean enable_undo
gtk_text_buffer_get_max_undo_levels
guint
GtkTextBuffer *buffer
gtk_text_buffer_set_max_undo_levels
void
GtkTextBuffer *buffer, guint max_undo_levels
gtk_text_buffer_undo
void
GtkTextBuffer *buffer
gtk_text_buffer_redo
void
GtkTextBuffer *buffer
gtk_text_buffer_begin_irreversible_action
void
GtkTextBuffer *buffer
gtk_text_buffer_end_irreversible_action
void
GtkTextBuffer *buffer
gtk_text_buffer_begin_user_action
void
GtkTextBuffer *buffer
gtk_text_buffer_end_user_action
void
GtkTextBuffer *buffer
GtkTextBTree
GtkTextBufferPrivate
GTK_TYPE_TEXT_CHILD_ANCHOR
#define GTK_TYPE_TEXT_CHILD_ANCHOR (gtk_text_child_anchor_get_type ())
GTK_TEXT_CHILD_ANCHOR
#define GTK_TEXT_CHILD_ANCHOR(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), GTK_TYPE_TEXT_CHILD_ANCHOR, GtkTextChildAnchor))
GTK_TEXT_CHILD_ANCHOR_CLASS
#define GTK_TEXT_CHILD_ANCHOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_TEXT_CHILD_ANCHOR, GtkTextChildAnchorClass))
GTK_IS_TEXT_CHILD_ANCHOR
#define GTK_IS_TEXT_CHILD_ANCHOR(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), GTK_TYPE_TEXT_CHILD_ANCHOR))
GTK_IS_TEXT_CHILD_ANCHOR_CLASS
#define GTK_IS_TEXT_CHILD_ANCHOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_TEXT_CHILD_ANCHOR))
GTK_TEXT_CHILD_ANCHOR_GET_CLASS
#define GTK_TEXT_CHILD_ANCHOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_TEXT_CHILD_ANCHOR, GtkTextChildAnchorClass))
GtkTextChildAnchor
struct _GtkTextChildAnchor
{
GObject parent_instance;
/*< private >*/
gpointer segment;
};
GtkTextChildAnchorClass
struct _GtkTextChildAnchorClass
{
GObjectClass parent_class;
/* Padding for future expansion */
void (*_gtk_reserved1) (void);
void (*_gtk_reserved2) (void);
void (*_gtk_reserved3) (void);
void (*_gtk_reserved4) (void);
};
gtk_text_child_anchor_get_type
GType
void
gtk_text_child_anchor_new
GtkTextChildAnchor *
void
gtk_text_child_anchor_get_widgets
GList *
GtkTextChildAnchor *anchor
gtk_text_child_anchor_get_deleted
gboolean
GtkTextChildAnchor *anchor
GtkTextSearchFlags
typedef enum {
GTK_TEXT_SEARCH_VISIBLE_ONLY = 1 << 0,
GTK_TEXT_SEARCH_TEXT_ONLY = 1 << 1,
GTK_TEXT_SEARCH_CASE_INSENSITIVE = 1 << 2
/* Possible future plans: SEARCH_REGEXP */
} GtkTextSearchFlags;
GTK_TYPE_TEXT_ITER
#define GTK_TYPE_TEXT_ITER (gtk_text_iter_get_type ())
GtkTextIter
struct _GtkTextIter {
/* GtkTextIter is an opaque datatype; ignore all these fields.
* Initialize the iter with gtk_text_buffer_get_iter_*
* functions
*/
/*< private >*/
gpointer dummy1;
gpointer dummy2;
gint dummy3;
gint dummy4;
gint dummy5;
gint dummy6;
gint dummy7;
gint dummy8;
gpointer dummy9;
gpointer dummy10;
gint dummy11;
gint dummy12;
/* padding */
gint dummy13;
gpointer dummy14;
};
gtk_text_iter_get_buffer
GtkTextBuffer *
const GtkTextIter *iter
gtk_text_iter_copy
GtkTextIter *
const GtkTextIter *iter
gtk_text_iter_free
void
GtkTextIter *iter
gtk_text_iter_assign
void
GtkTextIter *iter, const GtkTextIter *other
gtk_text_iter_get_type
GType
void
gtk_text_iter_get_offset
gint
const GtkTextIter *iter
gtk_text_iter_get_line
gint
const GtkTextIter *iter
gtk_text_iter_get_line_offset
gint
const GtkTextIter *iter
gtk_text_iter_get_line_index
gint
const GtkTextIter *iter
gtk_text_iter_get_visible_line_offset
gint
const GtkTextIter *iter
gtk_text_iter_get_visible_line_index
gint
const GtkTextIter *iter
gtk_text_iter_get_char
gunichar
const GtkTextIter *iter
gtk_text_iter_get_slice
gchar *
const GtkTextIter *start, const GtkTextIter *end
gtk_text_iter_get_text
gchar *
const GtkTextIter *start, const GtkTextIter *end
gtk_text_iter_get_visible_slice
gchar *
const GtkTextIter *start, const GtkTextIter *end
gtk_text_iter_get_visible_text
gchar *
const GtkTextIter *start, const GtkTextIter *end
gtk_text_iter_get_paintable
GdkPaintable *
const GtkTextIter *iter
gtk_text_iter_get_marks
GSList *
const GtkTextIter *iter
gtk_text_iter_get_child_anchor
GtkTextChildAnchor *
const GtkTextIter *iter
gtk_text_iter_get_toggled_tags
GSList *
const GtkTextIter *iter, gboolean toggled_on
gtk_text_iter_starts_tag
gboolean
const GtkTextIter *iter, GtkTextTag *tag
gtk_text_iter_ends_tag
gboolean
const GtkTextIter *iter, GtkTextTag *tag
gtk_text_iter_toggles_tag
gboolean
const GtkTextIter *iter, GtkTextTag *tag
gtk_text_iter_has_tag
gboolean
const GtkTextIter *iter, GtkTextTag *tag
gtk_text_iter_get_tags
GSList *
const GtkTextIter *iter
gtk_text_iter_editable
gboolean
const GtkTextIter *iter, gboolean default_setting
gtk_text_iter_can_insert
gboolean
const GtkTextIter *iter, gboolean default_editability
gtk_text_iter_starts_word
gboolean
const GtkTextIter *iter
gtk_text_iter_ends_word
gboolean
const GtkTextIter *iter
gtk_text_iter_inside_word
gboolean
const GtkTextIter *iter
gtk_text_iter_starts_sentence
gboolean
const GtkTextIter *iter
gtk_text_iter_ends_sentence
gboolean
const GtkTextIter *iter
gtk_text_iter_inside_sentence
gboolean
const GtkTextIter *iter
gtk_text_iter_starts_line
gboolean
const GtkTextIter *iter
gtk_text_iter_ends_line
gboolean
const GtkTextIter *iter
gtk_text_iter_is_cursor_position
gboolean
const GtkTextIter *iter
gtk_text_iter_get_chars_in_line
gint
const GtkTextIter *iter
gtk_text_iter_get_bytes_in_line
gint
const GtkTextIter *iter
gtk_text_iter_get_language
PangoLanguage *
const GtkTextIter *iter
gtk_text_iter_is_end
gboolean
const GtkTextIter *iter
gtk_text_iter_is_start
gboolean
const GtkTextIter *iter
gtk_text_iter_forward_char
gboolean
GtkTextIter *iter
gtk_text_iter_backward_char
gboolean
GtkTextIter *iter
gtk_text_iter_forward_chars
gboolean
GtkTextIter *iter, gint count
gtk_text_iter_backward_chars
gboolean
GtkTextIter *iter, gint count
gtk_text_iter_forward_line
gboolean
GtkTextIter *iter
gtk_text_iter_backward_line
gboolean
GtkTextIter *iter
gtk_text_iter_forward_lines
gboolean
GtkTextIter *iter, gint count
gtk_text_iter_backward_lines
gboolean
GtkTextIter *iter, gint count
gtk_text_iter_forward_word_end
gboolean
GtkTextIter *iter
gtk_text_iter_backward_word_start
gboolean
GtkTextIter *iter
gtk_text_iter_forward_word_ends
gboolean
GtkTextIter *iter, gint count
gtk_text_iter_backward_word_starts
gboolean
GtkTextIter *iter, gint count
gtk_text_iter_forward_visible_line
gboolean
GtkTextIter *iter
gtk_text_iter_backward_visible_line
gboolean
GtkTextIter *iter
gtk_text_iter_forward_visible_lines
gboolean
GtkTextIter *iter, gint count
gtk_text_iter_backward_visible_lines
gboolean
GtkTextIter *iter, gint count
gtk_text_iter_forward_visible_word_end
gboolean
GtkTextIter *iter
gtk_text_iter_backward_visible_word_start
gboolean
GtkTextIter *iter
gtk_text_iter_forward_visible_word_ends
gboolean
GtkTextIter *iter, gint count
gtk_text_iter_backward_visible_word_starts
gboolean
GtkTextIter *iter, gint count
gtk_text_iter_forward_sentence_end
gboolean
GtkTextIter *iter
gtk_text_iter_backward_sentence_start
gboolean
GtkTextIter *iter
gtk_text_iter_forward_sentence_ends
gboolean
GtkTextIter *iter, gint count
gtk_text_iter_backward_sentence_starts
gboolean
GtkTextIter *iter, gint count
gtk_text_iter_forward_cursor_position
gboolean
GtkTextIter *iter
gtk_text_iter_backward_cursor_position
gboolean
GtkTextIter *iter
gtk_text_iter_forward_cursor_positions
gboolean
GtkTextIter *iter, gint count
gtk_text_iter_backward_cursor_positions
gboolean
GtkTextIter *iter, gint count
gtk_text_iter_forward_visible_cursor_position
gboolean
GtkTextIter *iter
gtk_text_iter_backward_visible_cursor_position
gboolean
GtkTextIter *iter
gtk_text_iter_forward_visible_cursor_positions
gboolean
GtkTextIter *iter, gint count
gtk_text_iter_backward_visible_cursor_positions
gboolean
GtkTextIter *iter, gint count
gtk_text_iter_set_offset
void
GtkTextIter *iter, gint char_offset
gtk_text_iter_set_line
void
GtkTextIter *iter, gint line_number
gtk_text_iter_set_line_offset
void
GtkTextIter *iter, gint char_on_line
gtk_text_iter_set_line_index
void
GtkTextIter *iter, gint byte_on_line
gtk_text_iter_forward_to_end
void
GtkTextIter *iter
gtk_text_iter_forward_to_line_end
gboolean
GtkTextIter *iter
gtk_text_iter_set_visible_line_offset
void
GtkTextIter *iter, gint char_on_line
gtk_text_iter_set_visible_line_index
void
GtkTextIter *iter, gint byte_on_line
gtk_text_iter_forward_to_tag_toggle
gboolean
GtkTextIter *iter, GtkTextTag *tag
gtk_text_iter_backward_to_tag_toggle
gboolean
GtkTextIter *iter, GtkTextTag *tag
GtkTextCharPredicate
gboolean
gunichar ch, gpointer user_data
gtk_text_iter_forward_find_char
gboolean
GtkTextIter *iter, GtkTextCharPredicate pred, gpointer user_data, const GtkTextIter *limit
gtk_text_iter_backward_find_char
gboolean
GtkTextIter *iter, GtkTextCharPredicate pred, gpointer user_data, const GtkTextIter *limit
gtk_text_iter_forward_search
gboolean
const GtkTextIter *iter, const gchar *str, GtkTextSearchFlags flags, GtkTextIter *match_start, GtkTextIter *match_end, const GtkTextIter *limit
gtk_text_iter_backward_search
gboolean
const GtkTextIter *iter, const gchar *str, GtkTextSearchFlags flags, GtkTextIter *match_start, GtkTextIter *match_end, const GtkTextIter *limit
gtk_text_iter_equal
gboolean
const GtkTextIter *lhs, const GtkTextIter *rhs
gtk_text_iter_compare
gint
const GtkTextIter *lhs, const GtkTextIter *rhs
gtk_text_iter_in_range
gboolean
const GtkTextIter *iter, const GtkTextIter *start, const GtkTextIter *end
gtk_text_iter_order
void
GtkTextIter *first, GtkTextIter *second
GtkTextBuffer
GTK_TYPE_TEXT_MARK
#define GTK_TYPE_TEXT_MARK (gtk_text_mark_get_type ())
GTK_TEXT_MARK
#define GTK_TEXT_MARK(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), GTK_TYPE_TEXT_MARK, GtkTextMark))
GTK_TEXT_MARK_CLASS
#define GTK_TEXT_MARK_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_TEXT_MARK, GtkTextMarkClass))
GTK_IS_TEXT_MARK
#define GTK_IS_TEXT_MARK(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), GTK_TYPE_TEXT_MARK))
GTK_IS_TEXT_MARK_CLASS
#define GTK_IS_TEXT_MARK_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_TEXT_MARK))
GTK_TEXT_MARK_GET_CLASS
#define GTK_TEXT_MARK_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_TEXT_MARK, GtkTextMarkClass))
GtkTextMark
struct _GtkTextMark
{
GObject parent_instance;
/*< private >*/
gpointer segment;
};
GtkTextMarkClass
struct _GtkTextMarkClass
{
GObjectClass parent_class;
/*< private >*/
gpointer padding[8];
};
gtk_text_mark_get_type
GType
void
gtk_text_mark_new
GtkTextMark *
const gchar *name, gboolean left_gravity
gtk_text_mark_set_visible
void
GtkTextMark *mark, gboolean setting
gtk_text_mark_get_visible
gboolean
GtkTextMark *mark
gtk_text_mark_get_name
const gchar *
GtkTextMark *mark
gtk_text_mark_get_deleted
gboolean
GtkTextMark *mark
gtk_text_mark_get_buffer
GtkTextBuffer *
GtkTextMark *mark
gtk_text_mark_get_left_gravity
gboolean
GtkTextMark *mark
GTK_TEXT_CLASS
#define GTK_TEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_TEXT, GtkTextClass))
GTK_IS_TEXT_CLASS
#define GTK_IS_TEXT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_TEXT))
GTK_TEXT_GET_CLASS
#define GTK_TEXT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_TEXT, GtkTextClass))
GtkTextClass
struct _GtkTextClass
{
GtkWidgetClass parent_class;
/* Action signals
*/
void (* activate) (GtkText *self);
void (* move_cursor) (GtkText *self,
GtkMovementStep step,
gint count,
gboolean extend);
void (* insert_at_cursor) (GtkText *self,
const gchar *str);
void (* delete_from_cursor) (GtkText *self,
GtkDeleteType type,
gint count);
void (* backspace) (GtkText *self);
void (* cut_clipboard) (GtkText *self);
void (* copy_clipboard) (GtkText *self);
void (* paste_clipboard) (GtkText *self);
void (* toggle_overwrite) (GtkText *self);
void (* insert_emoji) (GtkText *self);
void (* undo) (GtkText *self);
void (* redo) (GtkText *self);
};
gtk_text_get_display_text
char *
GtkText *entry, int start_pos, int end_pos
gtk_text_get_im_context
GtkIMContext *
GtkText *entry
gtk_text_enter_text
void
GtkText *entry, const char *text
gtk_text_set_positions
void
GtkText *entry, int current_pos, int selection_bound
gtk_text_get_layout
PangoLayout *
GtkText *entry
gtk_text_get_layout_offsets
void
GtkText *entry, int *x, int *y
gtk_text_reset_im_context
void
GtkText *entry
gtk_text_get_key_controller
GtkEventController *
GtkText *entry
GtkTextTagInfo
struct _GtkTextTagInfo {
GtkTextTag *tag;
GtkTextBTreeNode *tag_root; /* highest-level node containing the tag */
gint toggle_count; /* total toggles of this tag below tag_root */
};
GtkTextToggleBody
struct _GtkTextToggleBody {
GtkTextTagInfo *info; /* Tag that starts or ends here. */
gboolean inNodeCounts; /* TRUE means this toggle has been
* accounted for in node toggle
* counts; FALSE means it hasn't, yet. */
};
GtkTextSegSplitFunc
GtkTextLineSegment *
GtkTextLineSegment *seg, gint index
GtkTextSegDeleteFunc
gboolean
GtkTextLineSegment *seg, GtkTextLine *line, gboolean tree_gone
GtkTextSegCleanupFunc
GtkTextLineSegment *
GtkTextLineSegment *seg, GtkTextLine *line
GtkTextSegLineChangeFunc
void
GtkTextLineSegment *seg, GtkTextLine *line
GtkTextSegCheckFunc
void
GtkTextLineSegment *seg, GtkTextLine *line
GtkTextLineSegmentClass
struct _GtkTextLineSegmentClass {
const char *name; /* Name of this kind of segment. */
gboolean leftGravity; /* If a segment has zero size (e.g. a
* mark or tag toggle), does it
* attach to character to its left
* or right? 1 means left, 0 means
* right. */
GtkTextSegSplitFunc splitFunc; /* Procedure to split large segment
* into two smaller ones. */
GtkTextSegDeleteFunc deleteFunc; /* Procedure to call to delete
* segment. */
GtkTextSegCleanupFunc cleanupFunc; /* After any change to a line, this
* procedure is invoked for all
* segments left in the line to
* perform any cleanup they wish
* (e.g. joining neighboring
* segments). */
GtkTextSegLineChangeFunc lineChangeFunc;
/* Invoked when a segment is about
* to be moved from its current line
* to an earlier line because of
* a deletion. The line is that
* for the segment's old line.
* CleanupFunc will be invoked after
* the deletion is finished. */
GtkTextSegCheckFunc checkFunc; /* Called during consistency checks
* to check internal consistency of
* segment. */
};
GtkTextLineSegment
struct _GtkTextLineSegment {
const GtkTextLineSegmentClass *type; /* Pointer to record describing
* segment's type. */
GtkTextLineSegment *next; /* Next in list of segments for this
* line, or NULL for end of list. */
int char_count; /* # of chars of index space occupied */
int byte_count; /* Size of this segment (# of bytes
* of index space it occupies). */
union {
char chars[4]; /* Characters that make up character
* info. Actual length varies to
* hold as many characters as needed.*/
GtkTextToggleBody toggle; /* Information about tag toggle. */
GtkTextMarkBody mark; /* Information about mark. */
GtkTextPaintable paintable; /* Child texture */
GtkTextChildBody child; /* Child widget */
} body;
};
gtk_text_line_segment_split
GtkTextLineSegment *
const GtkTextIter *iter
GTK_TYPE_TEXT_TAG
#define GTK_TYPE_TEXT_TAG (gtk_text_tag_get_type ())
GTK_TEXT_TAG
#define GTK_TEXT_TAG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_TEXT_TAG, GtkTextTag))
GTK_TEXT_TAG_CLASS
#define GTK_TEXT_TAG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_TEXT_TAG, GtkTextTagClass))
GTK_IS_TEXT_TAG
#define GTK_IS_TEXT_TAG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_TEXT_TAG))
GTK_IS_TEXT_TAG_CLASS
#define GTK_IS_TEXT_TAG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_TEXT_TAG))
GTK_TEXT_TAG_GET_CLASS
#define GTK_TEXT_TAG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_TEXT_TAG, GtkTextTagClass))
GtkTextTag
struct _GtkTextTag
{
GObject parent_instance;
GtkTextTagPrivate *priv;
};
GtkTextTagClass
struct _GtkTextTagClass
{
GObjectClass parent_class;
/*< private >*/
gpointer padding[8];
};
gtk_text_tag_get_type
GType
void
gtk_text_tag_new
GtkTextTag *
const gchar *name
gtk_text_tag_get_priority
gint
GtkTextTag *tag
gtk_text_tag_set_priority
void
GtkTextTag *tag, gint priority
gtk_text_tag_changed
void
GtkTextTag *tag, gboolean size_changed
GtkTextIter
GtkTextTagPrivate
GtkTextTagTable
GtkTextTagTableForeach
void
GtkTextTag *tag, gpointer data
GTK_TYPE_TEXT_TAG_TABLE
#define GTK_TYPE_TEXT_TAG_TABLE (gtk_text_tag_table_get_type ())
GTK_TEXT_TAG_TABLE
#define GTK_TEXT_TAG_TABLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_TEXT_TAG_TABLE, GtkTextTagTable))
GTK_IS_TEXT_TAG_TABLE
#define GTK_IS_TEXT_TAG_TABLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_TEXT_TAG_TABLE))
gtk_text_tag_table_get_type
GType
void
gtk_text_tag_table_new
GtkTextTagTable *
void
gtk_text_tag_table_add
gboolean
GtkTextTagTable *table, GtkTextTag *tag
gtk_text_tag_table_remove
void
GtkTextTagTable *table, GtkTextTag *tag
gtk_text_tag_table_lookup
GtkTextTag *
GtkTextTagTable *table, const gchar *name
gtk_text_tag_table_foreach
void
GtkTextTagTable *table, GtkTextTagTableForeach func, gpointer data
gtk_text_tag_table_get_size
gint
GtkTextTagTable *table
GTK_TEXT_UNKNOWN_CHAR
#define GTK_TEXT_UNKNOWN_CHAR 0xFFFC
GTK_TEXT_UNKNOWN_CHAR_UTF8_LEN
#define GTK_TEXT_UNKNOWN_CHAR_UTF8_LEN 3
gtk_text_unknown_char_utf8_gtk_tests_only
const gchar *
void
gtk_text_byte_begins_utf8_char
gboolean
const gchar *byte
GtkTextCounter
GtkTextLineSegment
GtkTextLineSegmentClass
GtkTextMarkBody
GtkTextToggleBody
gtk_text_util_create_drag_icon
GdkPaintable *
GtkWidget *widget, gchar *text, gssize len
gtk_text_util_create_rich_drag_icon
GdkPaintable *
GtkWidget *widget, GtkTextBuffer *buffer, GtkTextIter *start, GtkTextIter *end
GTK_TYPE_TEXT_VIEW
#define GTK_TYPE_TEXT_VIEW (gtk_text_view_get_type ())
GTK_TEXT_VIEW
#define GTK_TEXT_VIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_TEXT_VIEW, GtkTextView))
GTK_TEXT_VIEW_CLASS
#define GTK_TEXT_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_TEXT_VIEW, GtkTextViewClass))
GTK_IS_TEXT_VIEW
#define GTK_IS_TEXT_VIEW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_TEXT_VIEW))
GTK_IS_TEXT_VIEW_CLASS
#define GTK_IS_TEXT_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_TEXT_VIEW))
GTK_TEXT_VIEW_GET_CLASS
#define GTK_TEXT_VIEW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_TEXT_VIEW, GtkTextViewClass))
GtkTextWindowType
typedef enum
{
GTK_TEXT_WINDOW_WIDGET = 1,
GTK_TEXT_WINDOW_TEXT,
GTK_TEXT_WINDOW_LEFT,
GTK_TEXT_WINDOW_RIGHT,
GTK_TEXT_WINDOW_TOP,
GTK_TEXT_WINDOW_BOTTOM
} GtkTextWindowType;
GtkTextViewLayer
typedef enum
{
GTK_TEXT_VIEW_LAYER_BELOW_TEXT,
GTK_TEXT_VIEW_LAYER_ABOVE_TEXT
} GtkTextViewLayer;
GtkTextExtendSelection
typedef enum
{
GTK_TEXT_EXTEND_SELECTION_WORD,
GTK_TEXT_EXTEND_SELECTION_LINE
} GtkTextExtendSelection;
GTK_TEXT_VIEW_PRIORITY_VALIDATE
#define GTK_TEXT_VIEW_PRIORITY_VALIDATE (GDK_PRIORITY_REDRAW + 5)
GtkTextView
struct _GtkTextView
{
GtkContainer parent_instance;
/*< private >*/
GtkTextViewPrivate *priv;
};
GtkTextViewClass
struct _GtkTextViewClass
{
GtkContainerClass parent_class;
/*< public >*/
void (* move_cursor) (GtkTextView *text_view,
GtkMovementStep step,
gint count,
gboolean extend_selection);
void (* set_anchor) (GtkTextView *text_view);
void (* insert_at_cursor) (GtkTextView *text_view,
const gchar *str);
void (* delete_from_cursor) (GtkTextView *text_view,
GtkDeleteType type,
gint count);
void (* backspace) (GtkTextView *text_view);
void (* cut_clipboard) (GtkTextView *text_view);
void (* copy_clipboard) (GtkTextView *text_view);
void (* paste_clipboard) (GtkTextView *text_view);
void (* toggle_overwrite) (GtkTextView *text_view);
GtkTextBuffer * (* create_buffer) (GtkTextView *text_view);
void (* snapshot_layer) (GtkTextView *text_view,
GtkTextViewLayer layer,
GtkSnapshot *snapshot);
gboolean (* extend_selection) (GtkTextView *text_view,
GtkTextExtendSelection granularity,
const GtkTextIter *location,
GtkTextIter *start,
GtkTextIter *end);
void (* insert_emoji) (GtkTextView *text_view);
/*< private >*/
gpointer padding[8];
};
gtk_text_view_get_type
GType
void
gtk_text_view_new
GtkWidget *
void
gtk_text_view_new_with_buffer
GtkWidget *
GtkTextBuffer *buffer
gtk_text_view_set_buffer
void
GtkTextView *text_view, GtkTextBuffer *buffer
gtk_text_view_get_buffer
GtkTextBuffer *
GtkTextView *text_view
gtk_text_view_scroll_to_iter
gboolean
GtkTextView *text_view, GtkTextIter *iter, gdouble within_margin, gboolean use_align, gdouble xalign, gdouble yalign
gtk_text_view_scroll_to_mark
void
GtkTextView *text_view, GtkTextMark *mark, gdouble within_margin, gboolean use_align, gdouble xalign, gdouble yalign
gtk_text_view_scroll_mark_onscreen
void
GtkTextView *text_view, GtkTextMark *mark
gtk_text_view_move_mark_onscreen
gboolean
GtkTextView *text_view, GtkTextMark *mark
gtk_text_view_place_cursor_onscreen
gboolean
GtkTextView *text_view
gtk_text_view_get_visible_rect
void
GtkTextView *text_view, GdkRectangle *visible_rect
gtk_text_view_set_cursor_visible
void
GtkTextView *text_view, gboolean setting
gtk_text_view_get_cursor_visible
gboolean
GtkTextView *text_view
gtk_text_view_reset_cursor_blink
void
GtkTextView *text_view
gtk_text_view_get_cursor_locations
void
GtkTextView *text_view, const GtkTextIter *iter, GdkRectangle *strong, GdkRectangle *weak
gtk_text_view_get_iter_location
void
GtkTextView *text_view, const GtkTextIter *iter, GdkRectangle *location
gtk_text_view_get_iter_at_location
gboolean
GtkTextView *text_view, GtkTextIter *iter, gint x, gint y
gtk_text_view_get_iter_at_position
gboolean
GtkTextView *text_view, GtkTextIter *iter, gint *trailing, gint x, gint y
gtk_text_view_get_line_yrange
void
GtkTextView *text_view, const GtkTextIter *iter, gint *y, gint *height
gtk_text_view_get_line_at_y
void
GtkTextView *text_view, GtkTextIter *target_iter, gint y, gint *line_top
gtk_text_view_buffer_to_window_coords
void
GtkTextView *text_view, GtkTextWindowType win, gint buffer_x, gint buffer_y, gint *window_x, gint *window_y
gtk_text_view_window_to_buffer_coords
void
GtkTextView *text_view, GtkTextWindowType win, gint window_x, gint window_y, gint *buffer_x, gint *buffer_y
gtk_text_view_forward_display_line
gboolean
GtkTextView *text_view, GtkTextIter *iter
gtk_text_view_backward_display_line
gboolean
GtkTextView *text_view, GtkTextIter *iter
gtk_text_view_forward_display_line_end
gboolean
GtkTextView *text_view, GtkTextIter *iter
gtk_text_view_backward_display_line_start
gboolean
GtkTextView *text_view, GtkTextIter *iter
gtk_text_view_starts_display_line
gboolean
GtkTextView *text_view, const GtkTextIter *iter
gtk_text_view_move_visually
gboolean
GtkTextView *text_view, GtkTextIter *iter, gint count
gtk_text_view_im_context_filter_keypress
gboolean
GtkTextView *text_view, GdkEventKey *event
gtk_text_view_reset_im_context
void
GtkTextView *text_view
gtk_text_view_get_gutter
GtkWidget *
GtkTextView *text_view, GtkTextWindowType win
gtk_text_view_set_gutter
void
GtkTextView *text_view, GtkTextWindowType win, GtkWidget *widget
gtk_text_view_add_child_at_anchor
void
GtkTextView *text_view, GtkWidget *child, GtkTextChildAnchor *anchor
gtk_text_view_add_overlay
void
GtkTextView *text_view, GtkWidget *child, gint xpos, gint ypos
gtk_text_view_move_overlay
void
GtkTextView *text_view, GtkWidget *child, gint xpos, gint ypos
gtk_text_view_set_wrap_mode
void
GtkTextView *text_view, GtkWrapMode wrap_mode
gtk_text_view_get_wrap_mode
GtkWrapMode
GtkTextView *text_view
gtk_text_view_set_editable
void
GtkTextView *text_view, gboolean setting
gtk_text_view_get_editable
gboolean
GtkTextView *text_view
gtk_text_view_set_overwrite
void
GtkTextView *text_view, gboolean overwrite
gtk_text_view_get_overwrite
gboolean
GtkTextView *text_view
gtk_text_view_set_accepts_tab
void
GtkTextView *text_view, gboolean accepts_tab
gtk_text_view_get_accepts_tab
gboolean
GtkTextView *text_view
gtk_text_view_set_pixels_above_lines
void
GtkTextView *text_view, gint pixels_above_lines
gtk_text_view_get_pixels_above_lines
gint
GtkTextView *text_view
gtk_text_view_set_pixels_below_lines
void
GtkTextView *text_view, gint pixels_below_lines
gtk_text_view_get_pixels_below_lines
gint
GtkTextView *text_view
gtk_text_view_set_pixels_inside_wrap
void
GtkTextView *text_view, gint pixels_inside_wrap
gtk_text_view_get_pixels_inside_wrap
gint
GtkTextView *text_view
gtk_text_view_set_justification
void
GtkTextView *text_view, GtkJustification justification
gtk_text_view_get_justification
GtkJustification
GtkTextView *text_view
gtk_text_view_set_left_margin
void
GtkTextView *text_view, gint left_margin
gtk_text_view_get_left_margin
gint
GtkTextView *text_view
gtk_text_view_set_right_margin
void
GtkTextView *text_view, gint right_margin
gtk_text_view_get_right_margin
gint
GtkTextView *text_view
gtk_text_view_set_top_margin
void
GtkTextView *text_view, gint top_margin
gtk_text_view_get_top_margin
gint
GtkTextView *text_view
gtk_text_view_set_bottom_margin
void
GtkTextView *text_view, gint bottom_margin
gtk_text_view_get_bottom_margin
gint
GtkTextView *text_view
gtk_text_view_set_indent
void
GtkTextView *text_view, gint indent
gtk_text_view_get_indent
gint
GtkTextView *text_view
gtk_text_view_set_tabs
void
GtkTextView *text_view, PangoTabArray *tabs
gtk_text_view_get_tabs
PangoTabArray *
GtkTextView *text_view
gtk_text_view_set_input_purpose
void
GtkTextView *text_view, GtkInputPurpose purpose
gtk_text_view_get_input_purpose
GtkInputPurpose
GtkTextView *text_view
gtk_text_view_set_input_hints
void
GtkTextView *text_view, GtkInputHints hints
gtk_text_view_get_input_hints
GtkInputHints
GtkTextView *text_view
gtk_text_view_set_monospace
void
GtkTextView *text_view, gboolean monospace
gtk_text_view_get_monospace
gboolean
GtkTextView *text_view
gtk_text_view_set_extra_menu
void
GtkTextView *text_view, GMenuModel *model
gtk_text_view_get_extra_menu
GMenuModel *
GtkTextView *text_view
GtkTextViewPrivate
GTK_TYPE_TEXT_VIEW_CHILD
#define GTK_TYPE_TEXT_VIEW_CHILD (gtk_text_view_child_get_type())
gtk_text_view_child_new
GtkWidget *
GtkTextWindowType window_type
gtk_text_view_child_get_window_type
GtkTextWindowType
GtkTextViewChild *self
gtk_text_view_child_add_overlay
void
GtkTextViewChild *self, GtkWidget *widget, int xpos, int ypos
gtk_text_view_child_move_overlay
void
GtkTextViewChild *self, GtkWidget *widget, int xpos, int ypos
gtk_text_view_child_set_offset
void
GtkTextViewChild *child, int xoffset, int yoffset
GtkTextViewChild
GTK_TYPE_TOGGLE_BUTTON
#define GTK_TYPE_TOGGLE_BUTTON (gtk_toggle_button_get_type ())
GTK_TOGGLE_BUTTON
#define GTK_TOGGLE_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_TOGGLE_BUTTON, GtkToggleButton))
GTK_TOGGLE_BUTTON_CLASS
#define GTK_TOGGLE_BUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_TOGGLE_BUTTON, GtkToggleButtonClass))
GTK_IS_TOGGLE_BUTTON
#define GTK_IS_TOGGLE_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_TOGGLE_BUTTON))
GTK_IS_TOGGLE_BUTTON_CLASS
#define GTK_IS_TOGGLE_BUTTON_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_TOGGLE_BUTTON))
GTK_TOGGLE_BUTTON_GET_CLASS
#define GTK_TOGGLE_BUTTON_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_TOGGLE_BUTTON, GtkToggleButtonClass))
GtkToggleButton
struct _GtkToggleButton
{
/*< private >*/
GtkButton button;
};
GtkToggleButtonClass
struct _GtkToggleButtonClass
{
GtkButtonClass parent_class;
void (* toggled) (GtkToggleButton *toggle_button);
/*< private >*/
gpointer padding[8];
};
gtk_toggle_button_get_type
GType
void
gtk_toggle_button_new
GtkWidget *
void
gtk_toggle_button_new_with_label
GtkWidget *
const gchar *label
gtk_toggle_button_new_with_mnemonic
GtkWidget *
const gchar *label
gtk_toggle_button_set_active
void
GtkToggleButton *toggle_button, gboolean is_active
gtk_toggle_button_get_active
gboolean
GtkToggleButton *toggle_button
gtk_toggle_button_toggled
void
GtkToggleButton *toggle_button
GTK_TYPE_TOOLTIP
#define GTK_TYPE_TOOLTIP (gtk_tooltip_get_type ())
GTK_TOOLTIP
#define GTK_TOOLTIP(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_TOOLTIP, GtkTooltip))
GTK_IS_TOOLTIP
#define GTK_IS_TOOLTIP(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_TOOLTIP))
gtk_tooltip_get_type
GType
void
gtk_tooltip_set_markup
void
GtkTooltip *tooltip, const gchar *markup
gtk_tooltip_set_text
void
GtkTooltip *tooltip, const gchar *text
gtk_tooltip_set_icon
void
GtkTooltip *tooltip, GdkPaintable *paintable
gtk_tooltip_set_icon_from_icon_name
void
GtkTooltip *tooltip, const gchar *icon_name
gtk_tooltip_set_icon_from_gicon
void
GtkTooltip *tooltip, GIcon *gicon
gtk_tooltip_set_custom
void
GtkTooltip *tooltip, GtkWidget *custom_widget
gtk_tooltip_set_tip_area
void
GtkTooltip *tooltip, const GdkRectangle *rect
GTK_TYPE_TRASH_MONITOR
#define GTK_TYPE_TRASH_MONITOR (_gtk_trash_monitor_get_type ())
GTK_TRASH_MONITOR
#define GTK_TRASH_MONITOR(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_TRASH_MONITOR, GtkTrashMonitor))
GTK_TRASH_MONITOR_CLASS
#define GTK_TRASH_MONITOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_TRASH_MONITOR, GtkTrashMonitorClass))
GTK_IS_TRASH_MONITOR
#define GTK_IS_TRASH_MONITOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_TRASH_MONITOR))
GTK_IS_TRASH_MONITOR_CLASS
#define GTK_IS_TRASH_MONITOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_TRASH_MONITOR))
GTK_TRASH_MONITOR_GET_CLASS
#define GTK_TRASH_MONITOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_TRASH_MONITOR, GtkTrashMonitorClass))
GtkTrashMonitor
GtkTrashMonitorClass
GtkTreeDataList
struct _GtkTreeDataList
{
GtkTreeDataList *next;
union {
gint v_int;
gint8 v_char;
guint8 v_uchar;
guint v_uint;
glong v_long;
gulong v_ulong;
gint64 v_int64;
guint64 v_uint64;
gfloat v_float;
gdouble v_double;
gpointer v_pointer;
} data;
};
GTK_TYPE_TREE_DRAG_SOURCE
#define GTK_TYPE_TREE_DRAG_SOURCE (gtk_tree_drag_source_get_type ())
GTK_TREE_DRAG_SOURCE
#define GTK_TREE_DRAG_SOURCE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_TREE_DRAG_SOURCE, GtkTreeDragSource))
GTK_IS_TREE_DRAG_SOURCE
#define GTK_IS_TREE_DRAG_SOURCE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_TREE_DRAG_SOURCE))
GTK_TREE_DRAG_SOURCE_GET_IFACE
#define GTK_TREE_DRAG_SOURCE_GET_IFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), GTK_TYPE_TREE_DRAG_SOURCE, GtkTreeDragSourceIface))
GtkTreeDragSourceIface
struct _GtkTreeDragSourceIface
{
/*< private >*/
GTypeInterface g_iface;
/*< public >*/
/* VTable - not signals */
gboolean (* row_draggable) (GtkTreeDragSource *drag_source,
GtkTreePath *path);
gboolean (* drag_data_get) (GtkTreeDragSource *drag_source,
GtkTreePath *path,
GtkSelectionData *selection_data);
gboolean (* drag_data_delete) (GtkTreeDragSource *drag_source,
GtkTreePath *path);
};
gtk_tree_drag_source_get_type
GType
void
gtk_tree_drag_source_row_draggable
gboolean
GtkTreeDragSource *drag_source, GtkTreePath *path
gtk_tree_drag_source_drag_data_delete
gboolean
GtkTreeDragSource *drag_source, GtkTreePath *path
gtk_tree_drag_source_drag_data_get
gboolean
GtkTreeDragSource *drag_source, GtkTreePath *path, GtkSelectionData *selection_data
GTK_TYPE_TREE_DRAG_DEST
#define GTK_TYPE_TREE_DRAG_DEST (gtk_tree_drag_dest_get_type ())
GTK_TREE_DRAG_DEST
#define GTK_TREE_DRAG_DEST(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_TREE_DRAG_DEST, GtkTreeDragDest))
GTK_IS_TREE_DRAG_DEST
#define GTK_IS_TREE_DRAG_DEST(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_TREE_DRAG_DEST))
GTK_TREE_DRAG_DEST_GET_IFACE
#define GTK_TREE_DRAG_DEST_GET_IFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), GTK_TYPE_TREE_DRAG_DEST, GtkTreeDragDestIface))
GtkTreeDragDestIface
struct _GtkTreeDragDestIface
{
/*< private >*/
GTypeInterface g_iface;
/*< public >*/
/* VTable - not signals */
gboolean (* drag_data_received) (GtkTreeDragDest *drag_dest,
GtkTreePath *dest,
GtkSelectionData *selection_data);
gboolean (* row_drop_possible) (GtkTreeDragDest *drag_dest,
GtkTreePath *dest_path,
GtkSelectionData *selection_data);
};
gtk_tree_drag_dest_get_type
GType
void
gtk_tree_drag_dest_drag_data_received
gboolean
GtkTreeDragDest *drag_dest, GtkTreePath *dest, GtkSelectionData *selection_data
gtk_tree_drag_dest_row_drop_possible
gboolean
GtkTreeDragDest *drag_dest, GtkTreePath *dest_path, GtkSelectionData *selection_data
gtk_tree_set_row_drag_data
gboolean
GtkSelectionData *selection_data, GtkTreeModel *tree_model, GtkTreePath *path
gtk_tree_get_row_drag_data
gboolean
GtkSelectionData *selection_data, GtkTreeModel **tree_model, GtkTreePath **path
GtkTreeDragDest
GtkTreeDragSource
GTK_TYPE_TREE_LIST_MODEL
#define GTK_TYPE_TREE_LIST_MODEL (gtk_tree_list_model_get_type ())
GTK_TYPE_TREE_LIST_ROW
#define GTK_TYPE_TREE_LIST_ROW (gtk_tree_list_row_get_type ())
GtkTreeListModelCreateModelFunc
GListModel *
gpointer item, gpointer user_data
gtk_tree_list_model_new
GtkTreeListModel *
gboolean passthrough, GListModel *root, gboolean autoexpand, GtkTreeListModelCreateModelFunc create_func, gpointer user_data, GDestroyNotify user_destroy
gtk_tree_list_model_get_model
GListModel *
GtkTreeListModel *self
gtk_tree_list_model_get_passthrough
gboolean
GtkTreeListModel *self
gtk_tree_list_model_set_autoexpand
void
GtkTreeListModel *self, gboolean autoexpand
gtk_tree_list_model_get_autoexpand
gboolean
GtkTreeListModel *self
gtk_tree_list_model_get_child_row
GtkTreeListRow *
GtkTreeListModel *self, guint position
gtk_tree_list_model_get_row
GtkTreeListRow *
GtkTreeListModel *self, guint position
gtk_tree_list_row_get_item
gpointer
GtkTreeListRow *self
gtk_tree_list_row_set_expanded
void
GtkTreeListRow *self, gboolean expanded
gtk_tree_list_row_get_expanded
gboolean
GtkTreeListRow *self
gtk_tree_list_row_is_expandable
gboolean
GtkTreeListRow *self
gtk_tree_list_row_get_position
guint
GtkTreeListRow *self
gtk_tree_list_row_get_depth
guint
GtkTreeListRow *self
gtk_tree_list_row_get_children
GListModel *
GtkTreeListRow *self
gtk_tree_list_row_get_parent
GtkTreeListRow *
GtkTreeListRow *self
gtk_tree_list_row_get_child_row
GtkTreeListRow *
GtkTreeListRow *self, guint position
GtkTreeListModel
GtkTreeListRow
GTK_TYPE_TREE_MODEL
#define GTK_TYPE_TREE_MODEL (gtk_tree_model_get_type ())
GTK_TREE_MODEL
#define GTK_TREE_MODEL(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_TREE_MODEL, GtkTreeModel))
GTK_IS_TREE_MODEL
#define GTK_IS_TREE_MODEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_TREE_MODEL))
GTK_TREE_MODEL_GET_IFACE
#define GTK_TREE_MODEL_GET_IFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), GTK_TYPE_TREE_MODEL, GtkTreeModelIface))
GTK_TYPE_TREE_ITER
#define GTK_TYPE_TREE_ITER (gtk_tree_iter_get_type ())
GTK_TYPE_TREE_PATH
#define GTK_TYPE_TREE_PATH (gtk_tree_path_get_type ())
GTK_TYPE_TREE_ROW_REFERENCE
#define GTK_TYPE_TREE_ROW_REFERENCE (gtk_tree_row_reference_get_type ())
GtkTreeModelForeachFunc
gboolean
GtkTreeModel *model, GtkTreePath *path, GtkTreeIter *iter, gpointer data
GtkTreeModelFlags
typedef enum
{
GTK_TREE_MODEL_ITERS_PERSIST = 1 << 0,
GTK_TREE_MODEL_LIST_ONLY = 1 << 1
} GtkTreeModelFlags;
GtkTreeIter
struct _GtkTreeIter
{
gint stamp;
gpointer user_data;
gpointer user_data2;
gpointer user_data3;
};
GtkTreeModelIface
struct _GtkTreeModelIface
{
/*< private >*/
GTypeInterface g_iface;
/*< public >*/
/* Signals */
void (* row_changed) (GtkTreeModel *tree_model,
GtkTreePath *path,
GtkTreeIter *iter);
void (* row_inserted) (GtkTreeModel *tree_model,
GtkTreePath *path,
GtkTreeIter *iter);
void (* row_has_child_toggled) (GtkTreeModel *tree_model,
GtkTreePath *path,
GtkTreeIter *iter);
void (* row_deleted) (GtkTreeModel *tree_model,
GtkTreePath *path);
void (* rows_reordered) (GtkTreeModel *tree_model,
GtkTreePath *path,
GtkTreeIter *iter,
gint *new_order);
/* Virtual Table */
GtkTreeModelFlags (* get_flags) (GtkTreeModel *tree_model);
gint (* get_n_columns) (GtkTreeModel *tree_model);
GType (* get_column_type) (GtkTreeModel *tree_model,
gint index_);
gboolean (* get_iter) (GtkTreeModel *tree_model,
GtkTreeIter *iter,
GtkTreePath *path);
GtkTreePath *(* get_path) (GtkTreeModel *tree_model,
GtkTreeIter *iter);
void (* get_value) (GtkTreeModel *tree_model,
GtkTreeIter *iter,
gint column,
GValue *value);
gboolean (* iter_next) (GtkTreeModel *tree_model,
GtkTreeIter *iter);
gboolean (* iter_previous) (GtkTreeModel *tree_model,
GtkTreeIter *iter);
gboolean (* iter_children) (GtkTreeModel *tree_model,
GtkTreeIter *iter,
GtkTreeIter *parent);
gboolean (* iter_has_child) (GtkTreeModel *tree_model,
GtkTreeIter *iter);
gint (* iter_n_children) (GtkTreeModel *tree_model,
GtkTreeIter *iter);
gboolean (* iter_nth_child) (GtkTreeModel *tree_model,
GtkTreeIter *iter,
GtkTreeIter *parent,
gint n);
gboolean (* iter_parent) (GtkTreeModel *tree_model,
GtkTreeIter *iter,
GtkTreeIter *child);
void (* ref_node) (GtkTreeModel *tree_model,
GtkTreeIter *iter);
void (* unref_node) (GtkTreeModel *tree_model,
GtkTreeIter *iter);
};
gtk_tree_path_new
GtkTreePath *
void
gtk_tree_path_new_from_string
GtkTreePath *
const gchar *path
gtk_tree_path_new_from_indices
GtkTreePath *
gint first_index, ...
gtk_tree_path_new_from_indicesv
GtkTreePath *
gint *indices, gsize length
gtk_tree_path_to_string
gchar *
GtkTreePath *path
gtk_tree_path_new_first
GtkTreePath *
void
gtk_tree_path_append_index
void
GtkTreePath *path, gint index_
gtk_tree_path_prepend_index
void
GtkTreePath *path, gint index_
gtk_tree_path_get_depth
gint
GtkTreePath *path
gtk_tree_path_get_indices
gint *
GtkTreePath *path
gtk_tree_path_get_indices_with_depth
gint *
GtkTreePath *path, gint *depth
gtk_tree_path_free
void
GtkTreePath *path
gtk_tree_path_copy
GtkTreePath *
const GtkTreePath *path
gtk_tree_path_get_type
GType
void
gtk_tree_path_compare
gint
const GtkTreePath *a, const GtkTreePath *b
gtk_tree_path_next
void
GtkTreePath *path
gtk_tree_path_prev
gboolean
GtkTreePath *path
gtk_tree_path_up
gboolean
GtkTreePath *path
gtk_tree_path_down
void
GtkTreePath *path
gtk_tree_path_is_ancestor
gboolean
GtkTreePath *path, GtkTreePath *descendant
gtk_tree_path_is_descendant
gboolean
GtkTreePath *path, GtkTreePath *ancestor
gtk_tree_row_reference_get_type
GType
void
gtk_tree_row_reference_new
GtkTreeRowReference *
GtkTreeModel *model, GtkTreePath *path
gtk_tree_row_reference_new_proxy
GtkTreeRowReference *
GObject *proxy, GtkTreeModel *model, GtkTreePath *path
gtk_tree_row_reference_get_path
GtkTreePath *
GtkTreeRowReference *reference
gtk_tree_row_reference_get_model
GtkTreeModel *
GtkTreeRowReference *reference
gtk_tree_row_reference_valid
gboolean
GtkTreeRowReference *reference
gtk_tree_row_reference_copy
GtkTreeRowReference *
GtkTreeRowReference *reference
gtk_tree_row_reference_free
void
GtkTreeRowReference *reference
gtk_tree_row_reference_inserted
void
GObject *proxy, GtkTreePath *path
gtk_tree_row_reference_deleted
void
GObject *proxy, GtkTreePath *path
gtk_tree_row_reference_reordered
void
GObject *proxy, GtkTreePath *path, GtkTreeIter *iter, gint *new_order
gtk_tree_iter_copy
GtkTreeIter *
GtkTreeIter *iter
gtk_tree_iter_free
void
GtkTreeIter *iter
gtk_tree_iter_get_type
GType
void
gtk_tree_model_get_type
GType
void
gtk_tree_model_get_flags
GtkTreeModelFlags
GtkTreeModel *tree_model
gtk_tree_model_get_n_columns
gint
GtkTreeModel *tree_model
gtk_tree_model_get_column_type
GType
GtkTreeModel *tree_model, gint index_
gtk_tree_model_get_iter
gboolean
GtkTreeModel *tree_model, GtkTreeIter *iter, GtkTreePath *path
gtk_tree_model_get_iter_from_string
gboolean
GtkTreeModel *tree_model, GtkTreeIter *iter, const gchar *path_string
gtk_tree_model_get_string_from_iter
gchar *
GtkTreeModel *tree_model, GtkTreeIter *iter
gtk_tree_model_get_iter_first
gboolean
GtkTreeModel *tree_model, GtkTreeIter *iter
gtk_tree_model_get_path
GtkTreePath *
GtkTreeModel *tree_model, GtkTreeIter *iter
gtk_tree_model_get_value
void
GtkTreeModel *tree_model, GtkTreeIter *iter, gint column, GValue *value
gtk_tree_model_iter_previous
gboolean
GtkTreeModel *tree_model, GtkTreeIter *iter
gtk_tree_model_iter_next
gboolean
GtkTreeModel *tree_model, GtkTreeIter *iter
gtk_tree_model_iter_children
gboolean
GtkTreeModel *tree_model, GtkTreeIter *iter, GtkTreeIter *parent
gtk_tree_model_iter_has_child
gboolean
GtkTreeModel *tree_model, GtkTreeIter *iter
gtk_tree_model_iter_n_children
gint
GtkTreeModel *tree_model, GtkTreeIter *iter
gtk_tree_model_iter_nth_child
gboolean
GtkTreeModel *tree_model, GtkTreeIter *iter, GtkTreeIter *parent, gint n
gtk_tree_model_iter_parent
gboolean
GtkTreeModel *tree_model, GtkTreeIter *iter, GtkTreeIter *child
gtk_tree_model_ref_node
void
GtkTreeModel *tree_model, GtkTreeIter *iter
gtk_tree_model_unref_node
void
GtkTreeModel *tree_model, GtkTreeIter *iter
gtk_tree_model_get
void
GtkTreeModel *tree_model, GtkTreeIter *iter, ...
gtk_tree_model_get_valist
void
GtkTreeModel *tree_model, GtkTreeIter *iter, va_list var_args
gtk_tree_model_foreach
void
GtkTreeModel *model, GtkTreeModelForeachFunc func, gpointer user_data
gtk_tree_model_row_changed
void
GtkTreeModel *tree_model, GtkTreePath *path, GtkTreeIter *iter
gtk_tree_model_row_inserted
void
GtkTreeModel *tree_model, GtkTreePath *path, GtkTreeIter *iter
gtk_tree_model_row_has_child_toggled
void
GtkTreeModel *tree_model, GtkTreePath *path, GtkTreeIter *iter
gtk_tree_model_row_deleted
void
GtkTreeModel *tree_model, GtkTreePath *path
gtk_tree_model_rows_reordered
void
GtkTreeModel *tree_model, GtkTreePath *path, GtkTreeIter *iter, gint *new_order
gtk_tree_model_rows_reordered_with_length
void
GtkTreeModel *tree_model, GtkTreePath *path, GtkTreeIter *iter, gint *new_order, gint length
GtkTreeModel
GtkTreePath
GtkTreeRowReference
GTK_TYPE_TREE_MODEL_FILTER
#define GTK_TYPE_TREE_MODEL_FILTER (gtk_tree_model_filter_get_type ())
GTK_TREE_MODEL_FILTER
#define GTK_TREE_MODEL_FILTER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_TREE_MODEL_FILTER, GtkTreeModelFilter))
GTK_TREE_MODEL_FILTER_CLASS
#define GTK_TREE_MODEL_FILTER_CLASS(vtable) (G_TYPE_CHECK_CLASS_CAST ((vtable), GTK_TYPE_TREE_MODEL_FILTER, GtkTreeModelFilterClass))
GTK_IS_TREE_MODEL_FILTER
#define GTK_IS_TREE_MODEL_FILTER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_TREE_MODEL_FILTER))
GTK_IS_TREE_MODEL_FILTER_CLASS
#define GTK_IS_TREE_MODEL_FILTER_CLASS(vtable) (G_TYPE_CHECK_CLASS_TYPE ((vtable), GTK_TYPE_TREE_MODEL_FILTER))
GTK_TREE_MODEL_FILTER_GET_CLASS
#define GTK_TREE_MODEL_FILTER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_TREE_MODEL_FILTER, GtkTreeModelFilterClass))
GtkTreeModelFilterVisibleFunc
gboolean
GtkTreeModel *model, GtkTreeIter *iter, gpointer data
GtkTreeModelFilterModifyFunc
void
GtkTreeModel *model, GtkTreeIter *iter, GValue *value, gint column, gpointer data
GtkTreeModelFilter
struct _GtkTreeModelFilter
{
GObject parent;
/*< private >*/
GtkTreeModelFilterPrivate *priv;
};
GtkTreeModelFilterClass
struct _GtkTreeModelFilterClass
{
GObjectClass parent_class;
gboolean (* visible) (GtkTreeModelFilter *self,
GtkTreeModel *child_model,
GtkTreeIter *iter);
void (* modify) (GtkTreeModelFilter *self,
GtkTreeModel *child_model,
GtkTreeIter *iter,
GValue *value,
gint column);
/*< private >*/
gpointer padding[8];
};
gtk_tree_model_filter_get_type
GType
void
gtk_tree_model_filter_new
GtkTreeModel *
GtkTreeModel *child_model, GtkTreePath *root
gtk_tree_model_filter_set_visible_func
void
GtkTreeModelFilter *filter, GtkTreeModelFilterVisibleFunc func, gpointer data, GDestroyNotify destroy
gtk_tree_model_filter_set_modify_func
void
GtkTreeModelFilter *filter, gint n_columns, GType *types, GtkTreeModelFilterModifyFunc func, gpointer data, GDestroyNotify destroy
gtk_tree_model_filter_set_visible_column
void
GtkTreeModelFilter *filter, gint column
gtk_tree_model_filter_get_model
GtkTreeModel *
GtkTreeModelFilter *filter
gtk_tree_model_filter_convert_child_iter_to_iter
gboolean
GtkTreeModelFilter *filter, GtkTreeIter *filter_iter, GtkTreeIter *child_iter
gtk_tree_model_filter_convert_iter_to_child_iter
void
GtkTreeModelFilter *filter, GtkTreeIter *child_iter, GtkTreeIter *filter_iter
gtk_tree_model_filter_convert_child_path_to_path
GtkTreePath *
GtkTreeModelFilter *filter, GtkTreePath *child_path
gtk_tree_model_filter_convert_path_to_child_path
GtkTreePath *
GtkTreeModelFilter *filter, GtkTreePath *filter_path
gtk_tree_model_filter_refilter
void
GtkTreeModelFilter *filter
gtk_tree_model_filter_clear_cache
void
GtkTreeModelFilter *filter
GtkTreeModelFilterPrivate
GTK_TYPE_TREE_MODEL_SORT
#define GTK_TYPE_TREE_MODEL_SORT (gtk_tree_model_sort_get_type ())
GTK_TREE_MODEL_SORT
#define GTK_TREE_MODEL_SORT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_TREE_MODEL_SORT, GtkTreeModelSort))
GTK_TREE_MODEL_SORT_CLASS
#define GTK_TREE_MODEL_SORT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_TREE_MODEL_SORT, GtkTreeModelSortClass))
GTK_IS_TREE_MODEL_SORT
#define GTK_IS_TREE_MODEL_SORT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_TREE_MODEL_SORT))
GTK_IS_TREE_MODEL_SORT_CLASS
#define GTK_IS_TREE_MODEL_SORT_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_TREE_MODEL_SORT))
GTK_TREE_MODEL_SORT_GET_CLASS
#define GTK_TREE_MODEL_SORT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_TREE_MODEL_SORT, GtkTreeModelSortClass))
GtkTreeModelSort
struct _GtkTreeModelSort
{
GObject parent;
/* < private > */
GtkTreeModelSortPrivate *priv;
};
GtkTreeModelSortClass
struct _GtkTreeModelSortClass
{
GObjectClass parent_class;
/* < private > */
gpointer padding[8];
};
gtk_tree_model_sort_get_type
GType
void
gtk_tree_model_sort_new_with_model
GtkTreeModel *
GtkTreeModel *child_model
gtk_tree_model_sort_get_model
GtkTreeModel *
GtkTreeModelSort *tree_model
gtk_tree_model_sort_convert_child_path_to_path
GtkTreePath *
GtkTreeModelSort *tree_model_sort, GtkTreePath *child_path
gtk_tree_model_sort_convert_child_iter_to_iter
gboolean
GtkTreeModelSort *tree_model_sort, GtkTreeIter *sort_iter, GtkTreeIter *child_iter
gtk_tree_model_sort_convert_path_to_child_path
GtkTreePath *
GtkTreeModelSort *tree_model_sort, GtkTreePath *sorted_path
gtk_tree_model_sort_convert_iter_to_child_iter
void
GtkTreeModelSort *tree_model_sort, GtkTreeIter *child_iter, GtkTreeIter *sorted_iter
gtk_tree_model_sort_reset_default_sort_func
void
GtkTreeModelSort *tree_model_sort
gtk_tree_model_sort_clear_cache
void
GtkTreeModelSort *tree_model_sort
gtk_tree_model_sort_iter_is_valid
gboolean
GtkTreeModelSort *tree_model_sort, GtkTreeIter *iter
GtkTreeModelSortPrivate
GTK_TYPE_TREE_POPOVER
#define GTK_TYPE_TREE_POPOVER (gtk_tree_popover_get_type ())
gtk_tree_popover_set_model
void
GtkTreePopover *popover, GtkTreeModel *model
gtk_tree_popover_set_row_separator_func
void
GtkTreePopover *popover, GtkTreeViewRowSeparatorFunc func, gpointer data, GDestroyNotify destroy
gtk_tree_popover_set_active
void
GtkTreePopover *popover, int item
gtk_tree_popover_open_submenu
void
GtkTreePopover *popover, const char *name
GtkTreePopover
GtkTreeRBNodeColor
typedef enum
{
GTK_TREE_RBNODE_BLACK = 1 << 0,
GTK_TREE_RBNODE_RED = 1 << 1,
GTK_TREE_RBNODE_IS_PARENT = 1 << 2,
GTK_TREE_RBNODE_IS_SELECTED = 1 << 3,
GTK_TREE_RBNODE_IS_PRELIT = 1 << 4,
GTK_TREE_RBNODE_INVALID = 1 << 7,
GTK_TREE_RBNODE_COLUMN_INVALID = 1 << 8,
GTK_TREE_RBNODE_DESCENDANTS_INVALID = 1 << 9,
GTK_TREE_RBNODE_NON_COLORS = GTK_TREE_RBNODE_IS_PARENT |
GTK_TREE_RBNODE_IS_SELECTED |
GTK_TREE_RBNODE_IS_PRELIT |
GTK_TREE_RBNODE_INVALID |
GTK_TREE_RBNODE_COLUMN_INVALID |
GTK_TREE_RBNODE_DESCENDANTS_INVALID
} GtkTreeRBNodeColor;
GtkTreeRBTreeTraverseFunc
void
GtkTreeRBTree *tree, GtkTreeRBNode *node, gpointer data
GtkTreeRBTree
struct _GtkTreeRBTree
{
GtkTreeRBNode *root;
GtkTreeRBTree *parent_tree;
GtkTreeRBNode *parent_node;
};
GtkTreeRBNode
struct _GtkTreeRBNode
{
guint flags : 14;
/* count is the number of nodes beneath us, plus 1 for ourselves.
* i.e. node->left->count + node->right->count + 1
*/
gint count;
GtkTreeRBNode *left;
GtkTreeRBNode *right;
GtkTreeRBNode *parent;
/* count the number of total nodes beneath us, including nodes
* of children trees.
* i.e. node->left->count + node->right->count + node->children->root->count + 1
*/
guint total_count;
/* this is the total of sizes of
* node->left, node->right, our own height, and the height
* of all trees in ->children, iff children exists because
* the thing is expanded.
*/
gint offset;
/* Child trees */
GtkTreeRBTree *children;
};
GTK_TREE_RBNODE_GET_COLOR
#define GTK_TREE_RBNODE_GET_COLOR(node) (node?(((node->flags>K_TREE_RBNODE_RED)==GTK_TREE_RBNODE_RED)?GTK_TREE_RBNODE_RED:GTK_TREE_RBNODE_BLACK):GTK_TREE_RBNODE_BLACK)
GTK_TREE_RBNODE_SET_COLOR
#define GTK_TREE_RBNODE_SET_COLOR(node,color) if((node->flags&color)!=color)node->flags=node->flags^(GTK_TREE_RBNODE_RED|GTK_TREE_RBNODE_BLACK)
GTK_TREE_RBNODE_GET_HEIGHT
#define GTK_TREE_RBNODE_GET_HEIGHT(node) (node->offset-(node->left->offset+node->right->offset+(node->children?node->children->root->offset:0)))
GTK_TREE_RBNODE_SET_FLAG
#define GTK_TREE_RBNODE_SET_FLAG(node, flag) G_STMT_START{ (node->flags|=flag); }G_STMT_END
GTK_TREE_RBNODE_UNSET_FLAG
#define GTK_TREE_RBNODE_UNSET_FLAG(node, flag) G_STMT_START{ (node->flags&=~(flag)); }G_STMT_END
GTK_TREE_RBNODE_FLAG_SET
#define GTK_TREE_RBNODE_FLAG_SET(node, flag) (node?(((node->flags&flag)==flag)?TRUE:FALSE):FALSE)
gtk_tree_rbtree_new
GtkTreeRBTree *
void
gtk_tree_rbtree_free
void
GtkTreeRBTree *tree
gtk_tree_rbtree_remove
void
GtkTreeRBTree *tree
gtk_tree_rbtree_destroy
void
GtkTreeRBTree *tree
gtk_tree_rbtree_insert_before
GtkTreeRBNode *
GtkTreeRBTree *tree, GtkTreeRBNode *node, gint height, gboolean valid
gtk_tree_rbtree_insert_after
GtkTreeRBNode *
GtkTreeRBTree *tree, GtkTreeRBNode *node, gint height, gboolean valid
gtk_tree_rbtree_remove_node
void
GtkTreeRBTree *tree, GtkTreeRBNode *node
gtk_tree_rbtree_is_nil
gboolean
GtkTreeRBNode *node
gtk_tree_rbtree_reorder
void
GtkTreeRBTree *tree, gint *new_order, gint length
gtk_tree_rbtree_contains
gboolean
GtkTreeRBTree *tree, GtkTreeRBTree *potential_child
gtk_tree_rbtree_find_count
GtkTreeRBNode *
GtkTreeRBTree *tree, gint count
gtk_tree_rbtree_node_set_height
void
GtkTreeRBTree *tree, GtkTreeRBNode *node, gint height
gtk_tree_rbtree_node_mark_invalid
void
GtkTreeRBTree *tree, GtkTreeRBNode *node
gtk_tree_rbtree_node_mark_valid
void
GtkTreeRBTree *tree, GtkTreeRBNode *node
gtk_tree_rbtree_column_invalid
void
GtkTreeRBTree *tree
gtk_tree_rbtree_mark_invalid
void
GtkTreeRBTree *tree
gtk_tree_rbtree_set_fixed_height
void
GtkTreeRBTree *tree, gint height, gboolean mark_valid
gtk_tree_rbtree_node_find_offset
gint
GtkTreeRBTree *tree, GtkTreeRBNode *node
gtk_tree_rbtree_node_get_index
guint
GtkTreeRBTree *tree, GtkTreeRBNode *node
gtk_tree_rbtree_find_index
gboolean
GtkTreeRBTree *tree, guint index, GtkTreeRBTree **new_tree, GtkTreeRBNode **new_node
gtk_tree_rbtree_find_offset
gint
GtkTreeRBTree *tree, gint offset, GtkTreeRBTree **new_tree, GtkTreeRBNode **new_node
gtk_tree_rbtree_traverse
void
GtkTreeRBTree *tree, GtkTreeRBNode *node, GTraverseType order, GtkTreeRBTreeTraverseFunc func, gpointer data
gtk_tree_rbtree_first
GtkTreeRBNode *
GtkTreeRBTree *tree
gtk_tree_rbtree_next
GtkTreeRBNode *
GtkTreeRBTree *tree, GtkTreeRBNode *node
gtk_tree_rbtree_prev
GtkTreeRBNode *
GtkTreeRBTree *tree, GtkTreeRBNode *node
gtk_tree_rbtree_next_full
void
GtkTreeRBTree *tree, GtkTreeRBNode *node, GtkTreeRBTree **new_tree, GtkTreeRBNode **new_node
gtk_tree_rbtree_prev_full
void
GtkTreeRBTree *tree, GtkTreeRBNode *node, GtkTreeRBTree **new_tree, GtkTreeRBNode **new_node
gtk_tree_rbtree_get_depth
gint
GtkTreeRBTree *tree
GtkTreeRBTreeView
GTK_TYPE_TREE_SELECTION
#define GTK_TYPE_TREE_SELECTION (gtk_tree_selection_get_type ())
GTK_TREE_SELECTION
#define GTK_TREE_SELECTION(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_TREE_SELECTION, GtkTreeSelection))
GTK_IS_TREE_SELECTION
#define GTK_IS_TREE_SELECTION(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_TREE_SELECTION))
GtkTreeSelectionFunc
gboolean
GtkTreeSelection *selection, GtkTreeModel *model, GtkTreePath *path, gboolean path_currently_selected, gpointer data
GtkTreeSelectionForeachFunc
void
GtkTreeModel *model, GtkTreePath *path, GtkTreeIter *iter, gpointer data
gtk_tree_selection_get_type
GType
void
gtk_tree_selection_set_mode
void
GtkTreeSelection *selection, GtkSelectionMode type
gtk_tree_selection_get_mode
GtkSelectionMode
GtkTreeSelection *selection
gtk_tree_selection_set_select_function
void
GtkTreeSelection *selection, GtkTreeSelectionFunc func, gpointer data, GDestroyNotify destroy
gtk_tree_selection_get_user_data
gpointer
GtkTreeSelection *selection
gtk_tree_selection_get_tree_view
GtkTreeView *
GtkTreeSelection *selection
gtk_tree_selection_get_select_function
GtkTreeSelectionFunc
GtkTreeSelection *selection
gtk_tree_selection_get_selected
gboolean
GtkTreeSelection *selection, GtkTreeModel **model, GtkTreeIter *iter
gtk_tree_selection_get_selected_rows
GList *
GtkTreeSelection *selection, GtkTreeModel **model
gtk_tree_selection_count_selected_rows
gint
GtkTreeSelection *selection
gtk_tree_selection_selected_foreach
void
GtkTreeSelection *selection, GtkTreeSelectionForeachFunc func, gpointer data
gtk_tree_selection_select_path
void
GtkTreeSelection *selection, GtkTreePath *path
gtk_tree_selection_unselect_path
void
GtkTreeSelection *selection, GtkTreePath *path
gtk_tree_selection_select_iter
void
GtkTreeSelection *selection, GtkTreeIter *iter
gtk_tree_selection_unselect_iter
void
GtkTreeSelection *selection, GtkTreeIter *iter
gtk_tree_selection_path_is_selected
gboolean
GtkTreeSelection *selection, GtkTreePath *path
gtk_tree_selection_iter_is_selected
gboolean
GtkTreeSelection *selection, GtkTreeIter *iter
gtk_tree_selection_select_all
void
GtkTreeSelection *selection
gtk_tree_selection_unselect_all
void
GtkTreeSelection *selection
gtk_tree_selection_select_range
void
GtkTreeSelection *selection, GtkTreePath *start_path, GtkTreePath *end_path
gtk_tree_selection_unselect_range
void
GtkTreeSelection *selection, GtkTreePath *start_path, GtkTreePath *end_path
GTK_TYPE_TREE_SORTABLE
#define GTK_TYPE_TREE_SORTABLE (gtk_tree_sortable_get_type ())
GTK_TREE_SORTABLE
#define GTK_TREE_SORTABLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_TREE_SORTABLE, GtkTreeSortable))
GTK_TREE_SORTABLE_CLASS
#define GTK_TREE_SORTABLE_CLASS(obj) (G_TYPE_CHECK_CLASS_CAST ((obj), GTK_TYPE_TREE_SORTABLE, GtkTreeSortableIface))
GTK_IS_TREE_SORTABLE
#define GTK_IS_TREE_SORTABLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_TREE_SORTABLE))
GTK_TREE_SORTABLE_GET_IFACE
#define GTK_TREE_SORTABLE_GET_IFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), GTK_TYPE_TREE_SORTABLE, GtkTreeSortableIface))
GTK_TREE_SORTABLE_DEFAULT_SORT_COLUMN_ID
#define GTK_TREE_SORTABLE_DEFAULT_SORT_COLUMN_ID (-1)
GTK_TREE_SORTABLE_UNSORTED_SORT_COLUMN_ID
#define GTK_TREE_SORTABLE_UNSORTED_SORT_COLUMN_ID (-2)
GtkTreeIterCompareFunc
gint
GtkTreeModel *model, GtkTreeIter *a, GtkTreeIter *b, gpointer user_data
GtkTreeSortableIface
struct _GtkTreeSortableIface
{
/*< private >*/
GTypeInterface g_iface;
/*< public >*/
/* signals */
void (* sort_column_changed) (GtkTreeSortable *sortable);
/* virtual table */
gboolean (* get_sort_column_id) (GtkTreeSortable *sortable,
gint *sort_column_id,
GtkSortType *order);
void (* set_sort_column_id) (GtkTreeSortable *sortable,
gint sort_column_id,
GtkSortType order);
void (* set_sort_func) (GtkTreeSortable *sortable,
gint sort_column_id,
GtkTreeIterCompareFunc sort_func,
gpointer user_data,
GDestroyNotify destroy);
void (* set_default_sort_func) (GtkTreeSortable *sortable,
GtkTreeIterCompareFunc sort_func,
gpointer user_data,
GDestroyNotify destroy);
gboolean (* has_default_sort_func) (GtkTreeSortable *sortable);
};
gtk_tree_sortable_get_type
GType
void
gtk_tree_sortable_sort_column_changed
void
GtkTreeSortable *sortable
gtk_tree_sortable_get_sort_column_id
gboolean
GtkTreeSortable *sortable, gint *sort_column_id, GtkSortType *order
gtk_tree_sortable_set_sort_column_id
void
GtkTreeSortable *sortable, gint sort_column_id, GtkSortType order
gtk_tree_sortable_set_sort_func
void
GtkTreeSortable *sortable, gint sort_column_id, GtkTreeIterCompareFunc sort_func, gpointer user_data, GDestroyNotify destroy
gtk_tree_sortable_set_default_sort_func
void
GtkTreeSortable *sortable, GtkTreeIterCompareFunc sort_func, gpointer user_data, GDestroyNotify destroy
gtk_tree_sortable_has_default_sort_func
gboolean
GtkTreeSortable *sortable
GtkTreeSortable
GTK_TYPE_TREE_STORE
#define GTK_TYPE_TREE_STORE (gtk_tree_store_get_type ())
GTK_TREE_STORE
#define GTK_TREE_STORE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_TREE_STORE, GtkTreeStore))
GTK_TREE_STORE_CLASS
#define GTK_TREE_STORE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_TREE_STORE, GtkTreeStoreClass))
GTK_IS_TREE_STORE
#define GTK_IS_TREE_STORE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_TREE_STORE))
GTK_IS_TREE_STORE_CLASS
#define GTK_IS_TREE_STORE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_TREE_STORE))
GTK_TREE_STORE_GET_CLASS
#define GTK_TREE_STORE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_TREE_STORE, GtkTreeStoreClass))
GtkTreeStore
struct _GtkTreeStore
{
GObject parent;
GtkTreeStorePrivate *priv;
};
GtkTreeStoreClass
struct _GtkTreeStoreClass
{
GObjectClass parent_class;
/*< private >*/
gpointer padding[8];
};
gtk_tree_store_get_type
GType
void
gtk_tree_store_new
GtkTreeStore *
gint n_columns, ...
gtk_tree_store_newv
GtkTreeStore *
gint n_columns, GType *types
gtk_tree_store_set_column_types
void
GtkTreeStore *tree_store, gint n_columns, GType *types
gtk_tree_store_set_value
void
GtkTreeStore *tree_store, GtkTreeIter *iter, gint column, GValue *value
gtk_tree_store_set
void
GtkTreeStore *tree_store, GtkTreeIter *iter, ...
gtk_tree_store_set_valuesv
void
GtkTreeStore *tree_store, GtkTreeIter *iter, gint *columns, GValue *values, gint n_values
gtk_tree_store_set_valist
void
GtkTreeStore *tree_store, GtkTreeIter *iter, va_list var_args
gtk_tree_store_remove
gboolean
GtkTreeStore *tree_store, GtkTreeIter *iter
gtk_tree_store_insert
void
GtkTreeStore *tree_store, GtkTreeIter *iter, GtkTreeIter *parent, gint position
gtk_tree_store_insert_before
void
GtkTreeStore *tree_store, GtkTreeIter *iter, GtkTreeIter *parent, GtkTreeIter *sibling
gtk_tree_store_insert_after
void
GtkTreeStore *tree_store, GtkTreeIter *iter, GtkTreeIter *parent, GtkTreeIter *sibling
gtk_tree_store_insert_with_values
void
GtkTreeStore *tree_store, GtkTreeIter *iter, GtkTreeIter *parent, gint position, ...
gtk_tree_store_insert_with_valuesv
void
GtkTreeStore *tree_store, GtkTreeIter *iter, GtkTreeIter *parent, gint position, gint *columns, GValue *values, gint n_values
gtk_tree_store_prepend
void
GtkTreeStore *tree_store, GtkTreeIter *iter, GtkTreeIter *parent
gtk_tree_store_append
void
GtkTreeStore *tree_store, GtkTreeIter *iter, GtkTreeIter *parent
gtk_tree_store_is_ancestor
gboolean
GtkTreeStore *tree_store, GtkTreeIter *iter, GtkTreeIter *descendant
gtk_tree_store_iter_depth
gint
GtkTreeStore *tree_store, GtkTreeIter *iter
gtk_tree_store_clear
void
GtkTreeStore *tree_store
gtk_tree_store_iter_is_valid
gboolean
GtkTreeStore *tree_store, GtkTreeIter *iter
gtk_tree_store_reorder
void
GtkTreeStore *tree_store, GtkTreeIter *parent, gint *new_order
gtk_tree_store_swap
void
GtkTreeStore *tree_store, GtkTreeIter *a, GtkTreeIter *b
gtk_tree_store_move_before
void
GtkTreeStore *tree_store, GtkTreeIter *iter, GtkTreeIter *position
gtk_tree_store_move_after
void
GtkTreeStore *tree_store, GtkTreeIter *iter, GtkTreeIter *position
GtkTreeStorePrivate
GtkTreeViewDropPosition
typedef enum
{
/* drop before/after this row */
GTK_TREE_VIEW_DROP_BEFORE,
GTK_TREE_VIEW_DROP_AFTER,
/* drop as a child of this row (with fallback to before or after
* if into is not possible)
*/
GTK_TREE_VIEW_DROP_INTO_OR_BEFORE,
GTK_TREE_VIEW_DROP_INTO_OR_AFTER
} GtkTreeViewDropPosition;
GTK_TYPE_TREE_VIEW
#define GTK_TYPE_TREE_VIEW (gtk_tree_view_get_type ())
GTK_TREE_VIEW
#define GTK_TREE_VIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_TREE_VIEW, GtkTreeView))
GTK_IS_TREE_VIEW
#define GTK_IS_TREE_VIEW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_TREE_VIEW))
GtkTreeViewColumnDropFunc
gboolean
GtkTreeView *tree_view, GtkTreeViewColumn *column, GtkTreeViewColumn *prev_column, GtkTreeViewColumn *next_column, gpointer data
GtkTreeViewMappingFunc
void
GtkTreeView *tree_view, GtkTreePath *path, gpointer user_data
GtkTreeViewSearchEqualFunc
gboolean
GtkTreeModel *model, gint column, const gchar *key, GtkTreeIter *iter, gpointer search_data
GtkTreeViewRowSeparatorFunc
gboolean
GtkTreeModel *model, GtkTreeIter *iter, gpointer data
gtk_tree_view_get_type
GType
void
gtk_tree_view_new
GtkWidget *
void
gtk_tree_view_new_with_model
GtkWidget *
GtkTreeModel *model
gtk_tree_view_get_model
GtkTreeModel *
GtkTreeView *tree_view
gtk_tree_view_set_model
void
GtkTreeView *tree_view, GtkTreeModel *model
gtk_tree_view_get_selection
GtkTreeSelection *
GtkTreeView *tree_view
gtk_tree_view_get_headers_visible
gboolean
GtkTreeView *tree_view
gtk_tree_view_set_headers_visible
void
GtkTreeView *tree_view, gboolean headers_visible
gtk_tree_view_columns_autosize
void
GtkTreeView *tree_view
gtk_tree_view_get_headers_clickable
gboolean
GtkTreeView *tree_view
gtk_tree_view_set_headers_clickable
void
GtkTreeView *tree_view, gboolean setting
gtk_tree_view_get_activate_on_single_click
gboolean
GtkTreeView *tree_view
gtk_tree_view_set_activate_on_single_click
void
GtkTreeView *tree_view, gboolean single
gtk_tree_view_append_column
gint
GtkTreeView *tree_view, GtkTreeViewColumn *column
gtk_tree_view_remove_column
gint
GtkTreeView *tree_view, GtkTreeViewColumn *column
gtk_tree_view_insert_column
gint
GtkTreeView *tree_view, GtkTreeViewColumn *column, gint position
gtk_tree_view_insert_column_with_attributes
gint
GtkTreeView *tree_view, gint position, const gchar *title, GtkCellRenderer *cell, ...
gtk_tree_view_insert_column_with_data_func
gint
GtkTreeView *tree_view, gint position, const gchar *title, GtkCellRenderer *cell, GtkTreeCellDataFunc func, gpointer data, GDestroyNotify dnotify
gtk_tree_view_get_n_columns
guint
GtkTreeView *tree_view
gtk_tree_view_get_column
GtkTreeViewColumn *
GtkTreeView *tree_view, gint n
gtk_tree_view_get_columns
GList *
GtkTreeView *tree_view
gtk_tree_view_move_column_after
void
GtkTreeView *tree_view, GtkTreeViewColumn *column, GtkTreeViewColumn *base_column
gtk_tree_view_set_expander_column
void
GtkTreeView *tree_view, GtkTreeViewColumn *column
gtk_tree_view_get_expander_column
GtkTreeViewColumn *
GtkTreeView *tree_view
gtk_tree_view_set_column_drag_function
void
GtkTreeView *tree_view, GtkTreeViewColumnDropFunc func, gpointer user_data, GDestroyNotify destroy
gtk_tree_view_scroll_to_point
void
GtkTreeView *tree_view, gint tree_x, gint tree_y
gtk_tree_view_scroll_to_cell
void
GtkTreeView *tree_view, GtkTreePath *path, GtkTreeViewColumn *column, gboolean use_align, gfloat row_align, gfloat col_align
gtk_tree_view_row_activated
void
GtkTreeView *tree_view, GtkTreePath *path, GtkTreeViewColumn *column
gtk_tree_view_expand_all
void
GtkTreeView *tree_view
gtk_tree_view_collapse_all
void
GtkTreeView *tree_view
gtk_tree_view_expand_to_path
void
GtkTreeView *tree_view, GtkTreePath *path
gtk_tree_view_expand_row
gboolean
GtkTreeView *tree_view, GtkTreePath *path, gboolean open_all
gtk_tree_view_collapse_row
gboolean
GtkTreeView *tree_view, GtkTreePath *path
gtk_tree_view_map_expanded_rows
void
GtkTreeView *tree_view, GtkTreeViewMappingFunc func, gpointer data
gtk_tree_view_row_expanded
gboolean
GtkTreeView *tree_view, GtkTreePath *path
gtk_tree_view_set_reorderable
void
GtkTreeView *tree_view, gboolean reorderable
gtk_tree_view_get_reorderable
gboolean
GtkTreeView *tree_view
gtk_tree_view_set_cursor
void
GtkTreeView *tree_view, GtkTreePath *path, GtkTreeViewColumn *focus_column, gboolean start_editing
gtk_tree_view_set_cursor_on_cell
void
GtkTreeView *tree_view, GtkTreePath *path, GtkTreeViewColumn *focus_column, GtkCellRenderer *focus_cell, gboolean start_editing
gtk_tree_view_get_cursor
void
GtkTreeView *tree_view, GtkTreePath **path, GtkTreeViewColumn **focus_column
gtk_tree_view_get_path_at_pos
gboolean
GtkTreeView *tree_view, gint x, gint y, GtkTreePath **path, GtkTreeViewColumn **column, gint *cell_x, gint *cell_y
gtk_tree_view_get_cell_area
void
GtkTreeView *tree_view, GtkTreePath *path, GtkTreeViewColumn *column, GdkRectangle *rect
gtk_tree_view_get_background_area
void
GtkTreeView *tree_view, GtkTreePath *path, GtkTreeViewColumn *column, GdkRectangle *rect
gtk_tree_view_get_visible_rect
void
GtkTreeView *tree_view, GdkRectangle *visible_rect
gtk_tree_view_get_visible_range
gboolean
GtkTreeView *tree_view, GtkTreePath **start_path, GtkTreePath **end_path
gtk_tree_view_is_blank_at_pos
gboolean
GtkTreeView *tree_view, gint x, gint y, GtkTreePath **path, GtkTreeViewColumn **column, gint *cell_x, gint *cell_y
gtk_tree_view_enable_model_drag_source
void
GtkTreeView *tree_view, GdkModifierType start_button_mask, GdkContentFormats *formats, GdkDragAction actions
gtk_tree_view_enable_model_drag_dest
GtkDropTarget *
GtkTreeView *tree_view, GdkContentFormats *formats, GdkDragAction actions
gtk_tree_view_unset_rows_drag_source
void
GtkTreeView *tree_view
gtk_tree_view_unset_rows_drag_dest
void
GtkTreeView *tree_view
gtk_tree_view_set_drag_dest_row
void
GtkTreeView *tree_view, GtkTreePath *path, GtkTreeViewDropPosition pos
gtk_tree_view_get_drag_dest_row
void
GtkTreeView *tree_view, GtkTreePath **path, GtkTreeViewDropPosition *pos
gtk_tree_view_get_dest_row_at_pos
gboolean
GtkTreeView *tree_view, gint drag_x, gint drag_y, GtkTreePath **path, GtkTreeViewDropPosition *pos
gtk_tree_view_create_row_drag_icon
GdkPaintable *
GtkTreeView *tree_view, GtkTreePath *path
gtk_tree_view_set_enable_search
void
GtkTreeView *tree_view, gboolean enable_search
gtk_tree_view_get_enable_search
gboolean
GtkTreeView *tree_view
gtk_tree_view_get_search_column
gint
GtkTreeView *tree_view
gtk_tree_view_set_search_column
void
GtkTreeView *tree_view, gint column
gtk_tree_view_get_search_equal_func
GtkTreeViewSearchEqualFunc
GtkTreeView *tree_view
gtk_tree_view_set_search_equal_func
void
GtkTreeView *tree_view, GtkTreeViewSearchEqualFunc search_equal_func, gpointer search_user_data, GDestroyNotify search_destroy
gtk_tree_view_get_search_entry
GtkEditable *
GtkTreeView *tree_view
gtk_tree_view_set_search_entry
void
GtkTreeView *tree_view, GtkEditable *entry
gtk_tree_view_convert_widget_to_tree_coords
void
GtkTreeView *tree_view, gint wx, gint wy, gint *tx, gint *ty
gtk_tree_view_convert_tree_to_widget_coords
void
GtkTreeView *tree_view, gint tx, gint ty, gint *wx, gint *wy
gtk_tree_view_convert_widget_to_bin_window_coords
void
GtkTreeView *tree_view, gint wx, gint wy, gint *bx, gint *by
gtk_tree_view_convert_bin_window_to_widget_coords
void
GtkTreeView *tree_view, gint bx, gint by, gint *wx, gint *wy
gtk_tree_view_convert_tree_to_bin_window_coords
void
GtkTreeView *tree_view, gint tx, gint ty, gint *bx, gint *by
gtk_tree_view_convert_bin_window_to_tree_coords
void
GtkTreeView *tree_view, gint bx, gint by, gint *tx, gint *ty
gtk_tree_view_set_fixed_height_mode
void
GtkTreeView *tree_view, gboolean enable
gtk_tree_view_get_fixed_height_mode
gboolean
GtkTreeView *tree_view
gtk_tree_view_set_hover_selection
void
GtkTreeView *tree_view, gboolean hover
gtk_tree_view_get_hover_selection
gboolean
GtkTreeView *tree_view
gtk_tree_view_set_hover_expand
void
GtkTreeView *tree_view, gboolean expand
gtk_tree_view_get_hover_expand
gboolean
GtkTreeView *tree_view
gtk_tree_view_set_rubber_banding
void
GtkTreeView *tree_view, gboolean enable
gtk_tree_view_get_rubber_banding
gboolean
GtkTreeView *tree_view
gtk_tree_view_is_rubber_banding_active
gboolean
GtkTreeView *tree_view
gtk_tree_view_get_row_separator_func
GtkTreeViewRowSeparatorFunc
GtkTreeView *tree_view
gtk_tree_view_set_row_separator_func
void
GtkTreeView *tree_view, GtkTreeViewRowSeparatorFunc func, gpointer data, GDestroyNotify destroy
gtk_tree_view_get_grid_lines
GtkTreeViewGridLines
GtkTreeView *tree_view
gtk_tree_view_set_grid_lines
void
GtkTreeView *tree_view, GtkTreeViewGridLines grid_lines
gtk_tree_view_get_enable_tree_lines
gboolean
GtkTreeView *tree_view
gtk_tree_view_set_enable_tree_lines
void
GtkTreeView *tree_view, gboolean enabled
gtk_tree_view_set_show_expanders
void
GtkTreeView *tree_view, gboolean enabled
gtk_tree_view_get_show_expanders
gboolean
GtkTreeView *tree_view
gtk_tree_view_set_level_indentation
void
GtkTreeView *tree_view, gint indentation
gtk_tree_view_get_level_indentation
gint
GtkTreeView *tree_view
gtk_tree_view_set_tooltip_row
void
GtkTreeView *tree_view, GtkTooltip *tooltip, GtkTreePath *path
gtk_tree_view_set_tooltip_cell
void
GtkTreeView *tree_view, GtkTooltip *tooltip, GtkTreePath *path, GtkTreeViewColumn *column, GtkCellRenderer *cell
gtk_tree_view_get_tooltip_context
gboolean
GtkTreeView *tree_view, gint *x, gint *y, gboolean keyboard_tip, GtkTreeModel **model, GtkTreePath **path, GtkTreeIter *iter
gtk_tree_view_set_tooltip_column
void
GtkTreeView *tree_view, gint column
gtk_tree_view_get_tooltip_column
gint
GtkTreeView *tree_view
GtkTreeSelection
GtkTreeView
GTK_TYPE_TREE_VIEW_COLUMN
#define GTK_TYPE_TREE_VIEW_COLUMN (gtk_tree_view_column_get_type ())
GTK_TREE_VIEW_COLUMN
#define GTK_TREE_VIEW_COLUMN(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_TREE_VIEW_COLUMN, GtkTreeViewColumn))
GTK_IS_TREE_VIEW_COLUMN
#define GTK_IS_TREE_VIEW_COLUMN(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_TREE_VIEW_COLUMN))
GtkTreeViewColumnSizing
typedef enum
{
GTK_TREE_VIEW_COLUMN_GROW_ONLY,
GTK_TREE_VIEW_COLUMN_AUTOSIZE,
GTK_TREE_VIEW_COLUMN_FIXED
} GtkTreeViewColumnSizing;
GtkTreeCellDataFunc
void
GtkTreeViewColumn *tree_column, GtkCellRenderer *cell, GtkTreeModel *tree_model, GtkTreeIter *iter, gpointer data
gtk_tree_view_column_get_type
GType
void
gtk_tree_view_column_new
GtkTreeViewColumn *
void
gtk_tree_view_column_new_with_area
GtkTreeViewColumn *
GtkCellArea *area
gtk_tree_view_column_new_with_attributes
GtkTreeViewColumn *
const gchar *title, GtkCellRenderer *cell, ...
gtk_tree_view_column_pack_start
void
GtkTreeViewColumn *tree_column, GtkCellRenderer *cell, gboolean expand
gtk_tree_view_column_pack_end
void
GtkTreeViewColumn *tree_column, GtkCellRenderer *cell, gboolean expand
gtk_tree_view_column_clear
void
GtkTreeViewColumn *tree_column
gtk_tree_view_column_add_attribute
void
GtkTreeViewColumn *tree_column, GtkCellRenderer *cell_renderer, const gchar *attribute, gint column
gtk_tree_view_column_set_attributes
void
GtkTreeViewColumn *tree_column, GtkCellRenderer *cell_renderer, ...
gtk_tree_view_column_set_cell_data_func
void
GtkTreeViewColumn *tree_column, GtkCellRenderer *cell_renderer, GtkTreeCellDataFunc func, gpointer func_data, GDestroyNotify destroy
gtk_tree_view_column_clear_attributes
void
GtkTreeViewColumn *tree_column, GtkCellRenderer *cell_renderer
gtk_tree_view_column_set_spacing
void
GtkTreeViewColumn *tree_column, gint spacing
gtk_tree_view_column_get_spacing
gint
GtkTreeViewColumn *tree_column
gtk_tree_view_column_set_visible
void
GtkTreeViewColumn *tree_column, gboolean visible
gtk_tree_view_column_get_visible
gboolean
GtkTreeViewColumn *tree_column
gtk_tree_view_column_set_resizable
void
GtkTreeViewColumn *tree_column, gboolean resizable
gtk_tree_view_column_get_resizable
gboolean
GtkTreeViewColumn *tree_column
gtk_tree_view_column_set_sizing
void
GtkTreeViewColumn *tree_column, GtkTreeViewColumnSizing type
gtk_tree_view_column_get_sizing
GtkTreeViewColumnSizing
GtkTreeViewColumn *tree_column
gtk_tree_view_column_get_x_offset
gint
GtkTreeViewColumn *tree_column
gtk_tree_view_column_get_width
gint
GtkTreeViewColumn *tree_column
gtk_tree_view_column_get_fixed_width
gint
GtkTreeViewColumn *tree_column
gtk_tree_view_column_set_fixed_width
void
GtkTreeViewColumn *tree_column, gint fixed_width
gtk_tree_view_column_set_min_width
void
GtkTreeViewColumn *tree_column, gint min_width
gtk_tree_view_column_get_min_width
gint
GtkTreeViewColumn *tree_column
gtk_tree_view_column_set_max_width
void
GtkTreeViewColumn *tree_column, gint max_width
gtk_tree_view_column_get_max_width
gint
GtkTreeViewColumn *tree_column
gtk_tree_view_column_clicked
void
GtkTreeViewColumn *tree_column
gtk_tree_view_column_set_title
void
GtkTreeViewColumn *tree_column, const gchar *title
gtk_tree_view_column_get_title
const gchar *
GtkTreeViewColumn *tree_column
gtk_tree_view_column_set_expand
void
GtkTreeViewColumn *tree_column, gboolean expand
gtk_tree_view_column_get_expand
gboolean
GtkTreeViewColumn *tree_column
gtk_tree_view_column_set_clickable
void
GtkTreeViewColumn *tree_column, gboolean clickable
gtk_tree_view_column_get_clickable
gboolean
GtkTreeViewColumn *tree_column
gtk_tree_view_column_set_widget
void
GtkTreeViewColumn *tree_column, GtkWidget *widget
gtk_tree_view_column_get_widget
GtkWidget *
GtkTreeViewColumn *tree_column
gtk_tree_view_column_set_alignment
void
GtkTreeViewColumn *tree_column, gfloat xalign
gtk_tree_view_column_get_alignment
gfloat
GtkTreeViewColumn *tree_column
gtk_tree_view_column_set_reorderable
void
GtkTreeViewColumn *tree_column, gboolean reorderable
gtk_tree_view_column_get_reorderable
gboolean
GtkTreeViewColumn *tree_column
gtk_tree_view_column_set_sort_column_id
void
GtkTreeViewColumn *tree_column, gint sort_column_id
gtk_tree_view_column_get_sort_column_id
gint
GtkTreeViewColumn *tree_column
gtk_tree_view_column_set_sort_indicator
void
GtkTreeViewColumn *tree_column, gboolean setting
gtk_tree_view_column_get_sort_indicator
gboolean
GtkTreeViewColumn *tree_column
gtk_tree_view_column_set_sort_order
void
GtkTreeViewColumn *tree_column, GtkSortType order
gtk_tree_view_column_get_sort_order
GtkSortType
GtkTreeViewColumn *tree_column
gtk_tree_view_column_cell_set_cell_data
void
GtkTreeViewColumn *tree_column, GtkTreeModel *tree_model, GtkTreeIter *iter, gboolean is_expander, gboolean is_expanded
gtk_tree_view_column_cell_get_size
void
GtkTreeViewColumn *tree_column, int *x_offset, int *y_offset, int *width, int *height
gtk_tree_view_column_cell_is_visible
gboolean
GtkTreeViewColumn *tree_column
gtk_tree_view_column_focus_cell
void
GtkTreeViewColumn *tree_column, GtkCellRenderer *cell
gtk_tree_view_column_cell_get_position
gboolean
GtkTreeViewColumn *tree_column, GtkCellRenderer *cell_renderer, gint *x_offset, gint *width
gtk_tree_view_column_queue_resize
void
GtkTreeViewColumn *tree_column
gtk_tree_view_column_get_tree_view
GtkWidget *
GtkTreeViewColumn *tree_column
gtk_tree_view_column_get_button
GtkWidget *
GtkTreeViewColumn *tree_column
GtkTreeViewColumn
GtkSnapshot
typedef GdkSnapshot GtkSnapshot;
GTK_INVALID_LIST_POSITION
#define GTK_INVALID_LIST_POSITION (G_MAXUINT)
GtkAdjustment
GtkBuilder
GtkBuilderScope
GtkClipboard
GtkCssStyleChange
GtkEventController
GtkGesture
GtkLayoutManager
GtkNative
GtkRequisition
GtkRoot
GtkSelectionData
GtkSettings
GtkStyleContext
GtkTooltip
GtkWidget
GtkWindow
GTK_TYPE_VIDEO
#define GTK_TYPE_VIDEO (gtk_video_get_type ())
gtk_video_new
GtkWidget *
void
gtk_video_new_for_media_stream
GtkWidget *
GtkMediaStream *stream
gtk_video_new_for_file
GtkWidget *
GFile *file
gtk_video_new_for_filename
GtkWidget *
const char *filename
gtk_video_new_for_resource
GtkWidget *
const char *resource_path
gtk_video_get_media_stream
GtkMediaStream *
GtkVideo *self
gtk_video_set_media_stream
void
GtkVideo *self, GtkMediaStream *stream
gtk_video_get_file
GFile *
GtkVideo *self
gtk_video_set_file
void
GtkVideo *self, GFile *file
gtk_video_set_filename
void
GtkVideo *self, const char *filename
gtk_video_set_resource
void
GtkVideo *self, const char *resource_path
gtk_video_get_autoplay
gboolean
GtkVideo *self
gtk_video_set_autoplay
void
GtkVideo *self, gboolean autoplay
gtk_video_get_loop
gboolean
GtkVideo *self
gtk_video_set_loop
void
GtkVideo *self, gboolean loop
GtkVideo
GTK_TYPE_VIEWPORT
#define GTK_TYPE_VIEWPORT (gtk_viewport_get_type ())
GTK_VIEWPORT
#define GTK_VIEWPORT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_VIEWPORT, GtkViewport))
GTK_IS_VIEWPORT
#define GTK_IS_VIEWPORT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_VIEWPORT))
gtk_viewport_get_type
GType
void
gtk_viewport_new
GtkWidget *
GtkAdjustment *hadjustment, GtkAdjustment *vadjustment
gtk_viewport_set_shadow_type
void
GtkViewport *viewport, GtkShadowType type
gtk_viewport_get_shadow_type
GtkShadowType
GtkViewport *viewport
GtkViewport
GTK_TYPE_VOLUME_BUTTON
#define GTK_TYPE_VOLUME_BUTTON (gtk_volume_button_get_type ())
GTK_VOLUME_BUTTON
#define GTK_VOLUME_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_VOLUME_BUTTON, GtkVolumeButton))
GTK_IS_VOLUME_BUTTON
#define GTK_IS_VOLUME_BUTTON(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_VOLUME_BUTTON))
GtkVolumeButton
struct _GtkVolumeButton
{
GtkScaleButton parent;
};
gtk_volume_button_get_type
GType
void
gtk_volume_button_new
GtkWidget *
void
GTK_TYPE_WIDGET
#define GTK_TYPE_WIDGET (gtk_widget_get_type ())
GTK_WIDGET
#define GTK_WIDGET(widget) (G_TYPE_CHECK_INSTANCE_CAST ((widget), GTK_TYPE_WIDGET, GtkWidget))
GTK_WIDGET_CLASS
#define GTK_WIDGET_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_WIDGET, GtkWidgetClass))
GTK_IS_WIDGET
#define GTK_IS_WIDGET(widget) (G_TYPE_CHECK_INSTANCE_TYPE ((widget), GTK_TYPE_WIDGET))
GTK_IS_WIDGET_CLASS
#define GTK_IS_WIDGET_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_WIDGET))
GTK_WIDGET_GET_CLASS
#define GTK_WIDGET_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_WIDGET, GtkWidgetClass))
GTK_TYPE_REQUISITION
#define GTK_TYPE_REQUISITION (gtk_requisition_get_type ())
GtkAllocation
typedef GdkRectangle GtkAllocation;
GtkCallback
void
GtkWidget *widget, gpointer data
GtkTickCallback
gboolean
GtkWidget *widget, GdkFrameClock *frame_clock, gpointer user_data
GtkRequisition
struct _GtkRequisition
{
gint width;
gint height;
};
GtkWidget
struct _GtkWidget
{
GInitiallyUnowned parent_instance;
/*< private >*/
GtkWidgetPrivate *priv;
};
GtkWidgetClass
struct _GtkWidgetClass
{
GInitiallyUnownedClass parent_class;
/*< public >*/
guint activate_signal;
/* basics */
void (* destroy) (GtkWidget *widget);
void (* show) (GtkWidget *widget);
void (* hide) (GtkWidget *widget);
void (* map) (GtkWidget *widget);
void (* unmap) (GtkWidget *widget);
void (* realize) (GtkWidget *widget);
void (* unrealize) (GtkWidget *widget);
void (* root) (GtkWidget *widget);
void (* unroot) (GtkWidget *widget);
void (* size_allocate) (GtkWidget *widget,
int width,
int height,
int baseline);
void (* state_flags_changed) (GtkWidget *widget,
GtkStateFlags previous_state_flags);
void (* direction_changed) (GtkWidget *widget,
GtkTextDirection previous_direction);
void (* grab_notify) (GtkWidget *widget,
gboolean was_grabbed);
/* size requests */
GtkSizeRequestMode (* get_request_mode) (GtkWidget *widget);
void (* measure) (GtkWidget *widget,
GtkOrientation orientation,
int for_size,
int *minimum,
int *natural,
int *minimum_baseline,
int *natural_baseline);
/* Mnemonics */
gboolean (* mnemonic_activate) (GtkWidget *widget,
gboolean group_cycling);
/* explicit focus */
gboolean (* grab_focus) (GtkWidget *widget);
gboolean (* focus) (GtkWidget *widget,
GtkDirectionType direction);
/* keyboard navigation */
void (* move_focus) (GtkWidget *widget,
GtkDirectionType direction);
gboolean (* keynav_failed) (GtkWidget *widget,
GtkDirectionType direction);
/* Signals used only for keybindings */
gboolean (* popup_menu) (GtkWidget *widget);
/* accessibility support
*/
AtkObject * (* get_accessible) (GtkWidget *widget);
gboolean (* can_activate_accel) (GtkWidget *widget,
guint signal_id);
gboolean (* query_tooltip) (GtkWidget *widget,
gint x,
gint y,
gboolean keyboard_tooltip,
GtkTooltip *tooltip);
void (* compute_expand) (GtkWidget *widget,
gboolean *hexpand_p,
gboolean *vexpand_p);
void (* css_changed) (GtkWidget *widget,
GtkCssStyleChange *change);
void (* snapshot) (GtkWidget *widget,
GtkSnapshot *snapshot);
gboolean (* contains) (GtkWidget *widget,
gdouble x,
gdouble y);
/*< private >*/
GtkWidgetClassPrivate *priv;
gpointer padding[8];
};
gtk_widget_get_type
GType
void
gtk_widget_new
GtkWidget *
GType type, const gchar *first_property_name, ...
gtk_widget_destroy
void
GtkWidget *widget
gtk_widget_destroyed
void
GtkWidget *widget, GtkWidget **widget_pointer
gtk_widget_unparent
void
GtkWidget *widget
gtk_widget_show
void
GtkWidget *widget
gtk_widget_hide
void
GtkWidget *widget
gtk_widget_map
void
GtkWidget *widget
gtk_widget_unmap
void
GtkWidget *widget
gtk_widget_realize
void
GtkWidget *widget
gtk_widget_unrealize
void
GtkWidget *widget
gtk_widget_queue_draw
void
GtkWidget *widget
gtk_widget_queue_resize
void
GtkWidget *widget
gtk_widget_queue_allocate
void
GtkWidget *widget
gtk_widget_get_frame_clock
GdkFrameClock *
GtkWidget *widget
gtk_widget_size_allocate
void
GtkWidget *widget, const GtkAllocation *allocation, int baseline
gtk_widget_allocate
void
GtkWidget *widget, int width, int height, int baseline, GskTransform *transform
gtk_widget_get_request_mode
GtkSizeRequestMode
GtkWidget *widget
gtk_widget_measure
void
GtkWidget *widget, GtkOrientation orientation, int for_size, int *minimum, int *natural, int *minimum_baseline, int *natural_baseline
gtk_widget_get_preferred_size
void
GtkWidget *widget, GtkRequisition *minimum_size, GtkRequisition *natural_size
gtk_widget_set_layout_manager
void
GtkWidget *widget, GtkLayoutManager *layout_manager
gtk_widget_get_layout_manager
GtkLayoutManager *
GtkWidget *widget
gtk_widget_class_set_layout_manager_type
void
GtkWidgetClass *widget_class, GType type
gtk_widget_class_get_layout_manager_type
GType
GtkWidgetClass *widget_class
gtk_widget_add_accelerator
void
GtkWidget *widget, const gchar *accel_signal, GtkAccelGroup *accel_group, guint accel_key, GdkModifierType accel_mods, GtkAccelFlags accel_flags
gtk_widget_remove_accelerator
gboolean
GtkWidget *widget, GtkAccelGroup *accel_group, guint accel_key, GdkModifierType accel_mods
gtk_widget_set_accel_path
void
GtkWidget *widget, const gchar *accel_path, GtkAccelGroup *accel_group
gtk_widget_list_accel_closures
GList *
GtkWidget *widget
gtk_widget_can_activate_accel
gboolean
GtkWidget *widget, guint signal_id
gtk_widget_mnemonic_activate
gboolean
GtkWidget *widget, gboolean group_cycling
gtk_widget_event
gboolean
GtkWidget *widget, GdkEvent *event
gtk_widget_activate
gboolean
GtkWidget *widget
gtk_widget_set_can_focus
void
GtkWidget *widget, gboolean can_focus
gtk_widget_get_can_focus
gboolean
GtkWidget *widget
gtk_widget_has_focus
gboolean
GtkWidget *widget
gtk_widget_is_focus
gboolean
GtkWidget *widget
gtk_widget_has_visible_focus
gboolean
GtkWidget *widget
gtk_widget_grab_focus
gboolean
GtkWidget *widget
gtk_widget_set_focus_on_click
void
GtkWidget *widget, gboolean focus_on_click
gtk_widget_get_focus_on_click
gboolean
GtkWidget *widget
gtk_widget_set_can_target
void
GtkWidget *widget, gboolean can_target
gtk_widget_get_can_target
gboolean
GtkWidget *widget
gtk_widget_has_default
gboolean
GtkWidget *widget
gtk_widget_set_receives_default
void
GtkWidget *widget, gboolean receives_default
gtk_widget_get_receives_default
gboolean
GtkWidget *widget
gtk_widget_has_grab
gboolean
GtkWidget *widget
gtk_widget_device_is_shadowed
gboolean
GtkWidget *widget, GdkDevice *device
gtk_widget_set_name
void
GtkWidget *widget, const gchar *name
gtk_widget_get_name
const gchar *
GtkWidget *widget
gtk_widget_set_state_flags
void
GtkWidget *widget, GtkStateFlags flags, gboolean clear
gtk_widget_unset_state_flags
void
GtkWidget *widget, GtkStateFlags flags
gtk_widget_get_state_flags
GtkStateFlags
GtkWidget *widget
gtk_widget_set_sensitive
void
GtkWidget *widget, gboolean sensitive
gtk_widget_get_sensitive
gboolean
GtkWidget *widget
gtk_widget_is_sensitive
gboolean
GtkWidget *widget
gtk_widget_set_visible
void
GtkWidget *widget, gboolean visible
gtk_widget_get_visible
gboolean
GtkWidget *widget
gtk_widget_is_visible
gboolean
GtkWidget *widget
gtk_widget_is_drawable
gboolean
GtkWidget *widget
gtk_widget_get_realized
gboolean
GtkWidget *widget
gtk_widget_get_mapped
gboolean
GtkWidget *widget
gtk_widget_set_parent
void
GtkWidget *widget, GtkWidget *parent
gtk_widget_get_parent
GtkWidget *
GtkWidget *widget
gtk_widget_get_root
GtkRoot *
GtkWidget *widget
gtk_widget_get_native
GtkNative *
GtkWidget *widget
gtk_widget_set_child_visible
void
GtkWidget *widget, gboolean child_visible
gtk_widget_get_child_visible
gboolean
GtkWidget *widget
gtk_widget_get_allocated_width
int
GtkWidget *widget
gtk_widget_get_allocated_height
int
GtkWidget *widget
gtk_widget_get_allocated_baseline
int
GtkWidget *widget
gtk_widget_get_allocation
void
GtkWidget *widget, GtkAllocation *allocation
gtk_widget_compute_transform
gboolean
GtkWidget *widget, GtkWidget *target, graphene_matrix_t *out_transform
gtk_widget_compute_bounds
gboolean
GtkWidget *widget, GtkWidget *target, graphene_rect_t *out_bounds
gtk_widget_compute_point
gboolean
GtkWidget *widget, GtkWidget *target, const graphene_point_t *point, graphene_point_t *out_point
gtk_widget_get_width
int
GtkWidget *widget
gtk_widget_get_height
int
GtkWidget *widget
gtk_widget_child_focus
gboolean
GtkWidget *widget, GtkDirectionType direction
gtk_widget_keynav_failed
gboolean
GtkWidget *widget, GtkDirectionType direction
gtk_widget_error_bell
void
GtkWidget *widget
gtk_widget_set_size_request
void
GtkWidget *widget, gint width, gint height
gtk_widget_get_size_request
void
GtkWidget *widget, gint *width, gint *height
gtk_widget_set_opacity
void
GtkWidget *widget, double opacity
gtk_widget_get_opacity
double
GtkWidget *widget
gtk_widget_set_overflow
void
GtkWidget *widget, GtkOverflow overflow
gtk_widget_get_overflow
GtkOverflow
GtkWidget *widget
gtk_widget_get_ancestor
GtkWidget *
GtkWidget *widget, GType widget_type
gtk_widget_get_scale_factor
gint
GtkWidget *widget
gtk_widget_get_display
GdkDisplay *
GtkWidget *widget
gtk_widget_get_settings
GtkSettings *
GtkWidget *widget
gtk_widget_get_clipboard
GdkClipboard *
GtkWidget *widget
gtk_widget_get_primary_clipboard
GdkClipboard *
GtkWidget *widget
gtk_widget_get_hexpand
gboolean
GtkWidget *widget
gtk_widget_set_hexpand
void
GtkWidget *widget, gboolean expand
gtk_widget_get_hexpand_set
gboolean
GtkWidget *widget
gtk_widget_set_hexpand_set
void
GtkWidget *widget, gboolean set
gtk_widget_get_vexpand
gboolean
GtkWidget *widget
gtk_widget_set_vexpand
void
GtkWidget *widget, gboolean expand
gtk_widget_get_vexpand_set
gboolean
GtkWidget *widget
gtk_widget_set_vexpand_set
void
GtkWidget *widget, gboolean set
gtk_widget_compute_expand
gboolean
GtkWidget *widget, GtkOrientation orientation
gtk_widget_get_support_multidevice
gboolean
GtkWidget *widget
gtk_widget_set_support_multidevice
void
GtkWidget *widget, gboolean support_multidevice
gtk_widget_class_set_accessible_type
void
GtkWidgetClass *widget_class, GType type
gtk_widget_class_set_accessible_role
void
GtkWidgetClass *widget_class, AtkRole role
gtk_widget_get_accessible
AtkObject *
GtkWidget *widget
gtk_widget_get_halign
GtkAlign
GtkWidget *widget
gtk_widget_set_halign
void
GtkWidget *widget, GtkAlign align
gtk_widget_get_valign
GtkAlign
GtkWidget *widget
gtk_widget_set_valign
void
GtkWidget *widget, GtkAlign align
gtk_widget_get_margin_start
gint
GtkWidget *widget
gtk_widget_set_margin_start
void
GtkWidget *widget, gint margin
gtk_widget_get_margin_end
gint
GtkWidget *widget
gtk_widget_set_margin_end
void
GtkWidget *widget, gint margin
gtk_widget_get_margin_top
gint
GtkWidget *widget
gtk_widget_set_margin_top
void
GtkWidget *widget, gint margin
gtk_widget_get_margin_bottom
gint
GtkWidget *widget
gtk_widget_set_margin_bottom
void
GtkWidget *widget, gint margin
gtk_widget_is_ancestor
gboolean
GtkWidget *widget, GtkWidget *ancestor
gtk_widget_translate_coordinates
gboolean
GtkWidget *src_widget, GtkWidget *dest_widget, gint src_x, gint src_y, gint *dest_x, gint *dest_y
gtk_widget_contains
gboolean
GtkWidget *widget, gdouble x, gdouble y
gtk_widget_pick
GtkWidget *
GtkWidget *widget, gdouble x, gdouble y, GtkPickFlags flags
gtk_widget_add_controller
void
GtkWidget *widget, GtkEventController *controller
gtk_widget_remove_controller
void
GtkWidget *widget, GtkEventController *controller
gtk_widget_reset_style
void
GtkWidget *widget
gtk_widget_create_pango_context
PangoContext *
GtkWidget *widget
gtk_widget_get_pango_context
PangoContext *
GtkWidget *widget
gtk_widget_set_font_options
void
GtkWidget *widget, const cairo_font_options_t *options
gtk_widget_get_font_options
const cairo_font_options_t *
GtkWidget *widget
gtk_widget_create_pango_layout
PangoLayout *
GtkWidget *widget, const gchar *text
gtk_widget_set_direction
void
GtkWidget *widget, GtkTextDirection dir
gtk_widget_get_direction
GtkTextDirection
GtkWidget *widget
gtk_widget_set_default_direction
void
GtkTextDirection dir
gtk_widget_get_default_direction
GtkTextDirection
void
gtk_widget_input_shape_combine_region
void
GtkWidget *widget, cairo_region_t *region
gtk_widget_set_cursor
void
GtkWidget *widget, GdkCursor *cursor
gtk_widget_set_cursor_from_name
void
GtkWidget *widget, const char *name
gtk_widget_get_cursor
GdkCursor *
GtkWidget *widget
gtk_widget_list_mnemonic_labels
GList *
GtkWidget *widget
gtk_widget_add_mnemonic_label
void
GtkWidget *widget, GtkWidget *label
gtk_widget_remove_mnemonic_label
void
GtkWidget *widget, GtkWidget *label
gtk_widget_trigger_tooltip_query
void
GtkWidget *widget
gtk_widget_set_tooltip_text
void
GtkWidget *widget, const gchar *text
gtk_widget_get_tooltip_text
gchar *
GtkWidget *widget
gtk_widget_set_tooltip_markup
void
GtkWidget *widget, const gchar *markup
gtk_widget_get_tooltip_markup
gchar *
GtkWidget *widget
gtk_widget_set_has_tooltip
void
GtkWidget *widget, gboolean has_tooltip
gtk_widget_get_has_tooltip
gboolean
GtkWidget *widget
gtk_requisition_get_type
GType
void
gtk_requisition_new
GtkRequisition *
void
gtk_requisition_copy
GtkRequisition *
const GtkRequisition *requisition
gtk_requisition_free
void
GtkRequisition *requisition
gtk_widget_in_destruction
gboolean
GtkWidget *widget
gtk_widget_get_style_context
GtkStyleContext *
GtkWidget *widget
gtk_widget_class_set_css_name
void
GtkWidgetClass *widget_class, const char *name
gtk_widget_class_get_css_name
const char *
GtkWidgetClass *widget_class
gtk_widget_get_modifier_mask
GdkModifierType
GtkWidget *widget, GdkModifierIntent intent
gtk_widget_add_tick_callback
guint
GtkWidget *widget, GtkTickCallback callback, gpointer user_data, GDestroyNotify notify
gtk_widget_remove_tick_callback
void
GtkWidget *widget, guint id
gtk_widget_class_bind_template_callback
#define gtk_widget_class_bind_template_callback(widget_class, callback) \
gtk_widget_class_bind_template_callback_full (GTK_WIDGET_CLASS (widget_class), \
#callback, \
G_CALLBACK (callback))
gtk_widget_class_bind_template_child
#define gtk_widget_class_bind_template_child(widget_class, TypeName, member_name) \
gtk_widget_class_bind_template_child_full (widget_class, \
#member_name, \
FALSE, \
G_STRUCT_OFFSET (TypeName, member_name))
gtk_widget_class_bind_template_child_internal
#define gtk_widget_class_bind_template_child_internal(widget_class, TypeName, member_name) \
gtk_widget_class_bind_template_child_full (widget_class, \
#member_name, \
TRUE, \
G_STRUCT_OFFSET (TypeName, member_name))
gtk_widget_class_bind_template_child_private
#define gtk_widget_class_bind_template_child_private(widget_class, TypeName, member_name) \
gtk_widget_class_bind_template_child_full (widget_class, \
#member_name, \
FALSE, \
G_PRIVATE_OFFSET (TypeName, member_name))
gtk_widget_class_bind_template_child_internal_private
#define gtk_widget_class_bind_template_child_internal_private(widget_class, TypeName, member_name) \
gtk_widget_class_bind_template_child_full (widget_class, \
#member_name, \
TRUE, \
G_PRIVATE_OFFSET (TypeName, member_name))
gtk_widget_init_template
void
GtkWidget *widget
gtk_widget_get_template_child
GObject *
GtkWidget *widget, GType widget_type, const gchar *name
gtk_widget_class_set_template
void
GtkWidgetClass *widget_class, GBytes *template_bytes
gtk_widget_class_set_template_from_resource
void
GtkWidgetClass *widget_class, const gchar *resource_name
gtk_widget_class_bind_template_callback_full
void
GtkWidgetClass *widget_class, const gchar *callback_name, GCallback callback_symbol
gtk_widget_class_set_template_scope
void
GtkWidgetClass *widget_class, GtkBuilderScope *scope
gtk_widget_class_bind_template_child_full
void
GtkWidgetClass *widget_class, const gchar *name, gboolean internal_child, gssize struct_offset
gtk_widget_insert_action_group
void
GtkWidget *widget, const gchar *name, GActionGroup *group
gtk_widget_activate_action
gboolean
GtkWidget *widget, const char *name, const char *format_string, ...
gtk_widget_activate_action_variant
gboolean
GtkWidget *widget, const char *name, GVariant *args
gtk_widget_activate_default
void
GtkWidget *widget
gtk_widget_set_font_map
void
GtkWidget *widget, PangoFontMap *font_map
gtk_widget_get_font_map
PangoFontMap *
GtkWidget *widget
gtk_widget_get_first_child
GtkWidget *
GtkWidget *widget
gtk_widget_get_last_child
GtkWidget *
GtkWidget *widget
gtk_widget_get_next_sibling
GtkWidget *
GtkWidget *widget
gtk_widget_get_prev_sibling
GtkWidget *
GtkWidget *widget
gtk_widget_observe_children
GListModel *
GtkWidget *widget
gtk_widget_observe_controllers
GListModel *
GtkWidget *widget
gtk_widget_insert_after
void
GtkWidget *widget, GtkWidget *parent, GtkWidget *previous_sibling
gtk_widget_insert_before
void
GtkWidget *widget, GtkWidget *parent, GtkWidget *next_sibling
gtk_widget_set_focus_child
void
GtkWidget *widget, GtkWidget *child
gtk_widget_get_focus_child
GtkWidget *
GtkWidget *widget
gtk_widget_snapshot_child
void
GtkWidget *widget, GtkWidget *child, GtkSnapshot *snapshot
gtk_widget_should_layout
gboolean
GtkWidget *widget
gtk_widget_add_css_class
void
GtkWidget *widget, const char *css_class
gtk_widget_remove_css_class
void
GtkWidget *widget, const char *css_class
gtk_widget_has_css_class
gboolean
GtkWidget *widget, const char *css_class
GtkWidgetActionActivateFunc
void
GtkWidget *widget, const char *action_name, GVariant *parameter
gtk_widget_class_install_action
void
GtkWidgetClass *widget_class, const char *action_name, const char *parameter_type, GtkWidgetActionActivateFunc activate
gtk_widget_class_install_property_action
void
GtkWidgetClass *widget_class, const char *action_name, const char *property_name
gtk_widget_class_query_action
gboolean
GtkWidgetClass *widget_class, guint index_, GType *owner, const char **action_name, const GVariantType **parameter_type, const char **property_name
gtk_widget_action_set_enabled
void
GtkWidget *widget, const char *action_name, gboolean enabled
GtkWidgetClassPrivate
GtkWidgetPrivate
GTK_TYPE_WIDGET_PAINTABLE
#define GTK_TYPE_WIDGET_PAINTABLE (gtk_widget_paintable_get_type ())
gtk_widget_paintable_new
GdkPaintable *
GtkWidget *widget
gtk_widget_paintable_get_widget
GtkWidget *
GtkWidgetPaintable *self
gtk_widget_paintable_set_widget
void
GtkWidgetPaintable *self, GtkWidget *widget
GtkWidgetPaintable
GTK_TYPE_WINDOW
#define GTK_TYPE_WINDOW (gtk_window_get_type ())
GTK_WINDOW
#define GTK_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_WINDOW, GtkWindow))
GTK_WINDOW_CLASS
#define GTK_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_WINDOW, GtkWindowClass))
GTK_IS_WINDOW
#define GTK_IS_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_WINDOW))
GTK_IS_WINDOW_CLASS
#define GTK_IS_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_WINDOW))
GTK_WINDOW_GET_CLASS
#define GTK_WINDOW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_WINDOW, GtkWindowClass))
GtkWindow
struct _GtkWindow
{
GtkBin parent_instance;
};
GtkWindowClass
struct _GtkWindowClass
{
GtkBinClass parent_class;
/*< public >*/
/* G_SIGNAL_ACTION signals for keybindings */
void (* activate_focus) (GtkWindow *window);
void (* activate_default) (GtkWindow *window);
void (* keys_changed) (GtkWindow *window);
gboolean (* enable_debugging) (GtkWindow *window,
gboolean toggle);
gboolean (* close_request) (GtkWindow *window);
/*< private >*/
gpointer padding[8];
};
GtkWindowType
typedef enum
{
GTK_WINDOW_TOPLEVEL,
GTK_WINDOW_POPUP
} GtkWindowType;
gtk_window_get_type
GType
void
gtk_window_new
GtkWidget *
GtkWindowType type
gtk_window_set_title
void
GtkWindow *window, const gchar *title
gtk_window_get_title
const gchar *
GtkWindow *window
gtk_window_set_startup_id
void
GtkWindow *window, const gchar *startup_id
gtk_window_add_accel_group
void
GtkWindow *window, GtkAccelGroup *accel_group
gtk_window_remove_accel_group
void
GtkWindow *window, GtkAccelGroup *accel_group
gtk_window_set_focus
void
GtkWindow *window, GtkWidget *focus
gtk_window_get_focus
GtkWidget *
GtkWindow *window
gtk_window_set_default_widget
void
GtkWindow *window, GtkWidget *default_widget
gtk_window_get_default_widget
GtkWidget *
GtkWindow *window
gtk_window_set_transient_for
void
GtkWindow *window, GtkWindow *parent
gtk_window_get_transient_for
GtkWindow *
GtkWindow *window
gtk_window_set_attached_to
void
GtkWindow *window, GtkWidget *attach_widget
gtk_window_get_attached_to
GtkWidget *
GtkWindow *window
gtk_window_set_type_hint
void
GtkWindow *window, GdkSurfaceTypeHint hint
gtk_window_get_type_hint
GdkSurfaceTypeHint
GtkWindow *window
gtk_window_set_accept_focus
void
GtkWindow *window, gboolean setting
gtk_window_get_accept_focus
gboolean
GtkWindow *window
gtk_window_set_focus_on_map
void
GtkWindow *window, gboolean setting
gtk_window_get_focus_on_map
gboolean
GtkWindow *window
gtk_window_set_destroy_with_parent
void
GtkWindow *window, gboolean setting
gtk_window_get_destroy_with_parent
gboolean
GtkWindow *window
gtk_window_set_hide_on_close
void
GtkWindow *window, gboolean setting
gtk_window_get_hide_on_close
gboolean
GtkWindow *window
gtk_window_set_mnemonics_visible
void
GtkWindow *window, gboolean setting
gtk_window_get_mnemonics_visible
gboolean
GtkWindow *window
gtk_window_set_focus_visible
void
GtkWindow *window, gboolean setting
gtk_window_get_focus_visible
gboolean
GtkWindow *window
gtk_window_set_resizable
void
GtkWindow *window, gboolean resizable
gtk_window_get_resizable
gboolean
GtkWindow *window
gtk_window_set_display
void
GtkWindow *window, GdkDisplay *display
gtk_window_is_active
gboolean
GtkWindow *window
gtk_window_set_decorated
void
GtkWindow *window, gboolean setting
gtk_window_get_decorated
gboolean
GtkWindow *window
gtk_window_set_deletable
void
GtkWindow *window, gboolean setting
gtk_window_get_deletable
gboolean
GtkWindow *window
gtk_window_set_icon_name
void
GtkWindow *window, const gchar *name
gtk_window_get_icon_name
const gchar *
GtkWindow *window
gtk_window_set_default_icon_name
void
const gchar *name
gtk_window_get_default_icon_name
const gchar *
void
gtk_window_set_auto_startup_notification
void
gboolean setting
gtk_window_set_modal
void
GtkWindow *window, gboolean modal
gtk_window_get_modal
gboolean
GtkWindow *window
gtk_window_get_toplevels
GListModel *
void
gtk_window_list_toplevels
GList *
void
gtk_window_set_has_user_ref_count
void
GtkWindow *window, gboolean setting
gtk_window_add_mnemonic
void
GtkWindow *window, guint keyval, GtkWidget *target
gtk_window_remove_mnemonic
void
GtkWindow *window, guint keyval, GtkWidget *target
gtk_window_mnemonic_activate
gboolean
GtkWindow *window, guint keyval, GdkModifierType modifier
gtk_window_set_mnemonic_modifier
void
GtkWindow *window, GdkModifierType modifier
gtk_window_get_mnemonic_modifier
GdkModifierType
GtkWindow *window
gtk_window_activate_key
gboolean
GtkWindow *window, GdkEventKey *event
gtk_window_propagate_key_event
gboolean
GtkWindow *window, GdkEventKey *event
gtk_window_present
void
GtkWindow *window
gtk_window_present_with_time
void
GtkWindow *window, guint32 timestamp
gtk_window_minimize
void
GtkWindow *window
gtk_window_unminimize
void
GtkWindow *window
gtk_window_stick
void
GtkWindow *window
gtk_window_unstick
void
GtkWindow *window
gtk_window_maximize
void
GtkWindow *window
gtk_window_unmaximize
void
GtkWindow *window
gtk_window_fullscreen
void
GtkWindow *window
gtk_window_unfullscreen
void
GtkWindow *window
gtk_window_fullscreen_on_monitor
void
GtkWindow *window, GdkMonitor *monitor
gtk_window_close
void
GtkWindow *window
gtk_window_set_keep_above
void
GtkWindow *window, gboolean setting
gtk_window_set_keep_below
void
GtkWindow *window, gboolean setting
gtk_window_begin_resize_drag
void
GtkWindow *window, GdkSurfaceEdge edge, gint button, gint x, gint y, guint32 timestamp
gtk_window_begin_move_drag
void
GtkWindow *window, gint button, gint x, gint y, guint32 timestamp
gtk_window_set_default_size
void
GtkWindow *window, gint width, gint height
gtk_window_get_default_size
void
GtkWindow *window, gint *width, gint *height
gtk_window_resize
void
GtkWindow *window, gint width, gint height
gtk_window_get_size
void
GtkWindow *window, gint *width, gint *height
gtk_window_get_group
GtkWindowGroup *
GtkWindow *window
gtk_window_has_group
gboolean
GtkWindow *window
gtk_window_get_window_type
GtkWindowType
GtkWindow *window
gtk_window_get_application
GtkApplication *
GtkWindow *window
gtk_window_set_application
void
GtkWindow *window, GtkApplication *application
gtk_window_set_titlebar
void
GtkWindow *window, GtkWidget *titlebar
gtk_window_get_titlebar
GtkWidget *
GtkWindow *window
gtk_window_is_maximized
gboolean
GtkWindow *window
gtk_window_set_interactive_debugging
void
gboolean enable
GtkWindowGeometryInfo
GtkWindowGroup
GtkWindowGroupClass
GtkWindowGroupPrivate
GTK_TYPE_WINDOW_GROUP
#define GTK_TYPE_WINDOW_GROUP (gtk_window_group_get_type ())
GTK_WINDOW_GROUP
#define GTK_WINDOW_GROUP(object) (G_TYPE_CHECK_INSTANCE_CAST ((object), GTK_TYPE_WINDOW_GROUP, GtkWindowGroup))
GTK_WINDOW_GROUP_CLASS
#define GTK_WINDOW_GROUP_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_WINDOW_GROUP, GtkWindowGroupClass))
GTK_IS_WINDOW_GROUP
#define GTK_IS_WINDOW_GROUP(object) (G_TYPE_CHECK_INSTANCE_TYPE ((object), GTK_TYPE_WINDOW_GROUP))
GTK_IS_WINDOW_GROUP_CLASS
#define GTK_IS_WINDOW_GROUP_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_WINDOW_GROUP))
GTK_WINDOW_GROUP_GET_CLASS
#define GTK_WINDOW_GROUP_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_WINDOW_GROUP, GtkWindowGroupClass))
GtkWindowGroup
struct _GtkWindowGroup
{
GObject parent_instance;
GtkWindowGroupPrivate *priv;
};
GtkWindowGroupClass
struct _GtkWindowGroupClass
{
GObjectClass parent_class;
/* Padding for future expansion */
void (*_gtk_reserved1) (void);
void (*_gtk_reserved2) (void);
void (*_gtk_reserved3) (void);
void (*_gtk_reserved4) (void);
};
gtk_window_group_get_type
GType
void
gtk_window_group_new
GtkWindowGroup *
void
gtk_window_group_add_window
void
GtkWindowGroup *window_group, GtkWindow *window
gtk_window_group_remove_window
void
GtkWindowGroup *window_group, GtkWindow *window
gtk_window_group_list_windows
GList *
GtkWindowGroup *window_group
gtk_window_group_get_current_grab
GtkWidget *
GtkWindowGroup *window_group
gtk_window_group_get_current_device_grab
GtkWidget *
GtkWindowGroup *window_group, GdkDevice *device
get_language_name
const char *
PangoLanguage *language
get_language_name_for_tag
const char *
guint32 tag
NamedTag
typedef struct {
unsigned int tag;
const char *name;
} NamedTag;
MAKE_TAG
#define MAKE_TAG(a,b,c,d) (unsigned int)(((a) << 24) | ((b) << 16) | ((c) << 8) | (d))
get_script_name
const char *
GUnicodeScript script
get_script_name_for_tag
const char *
guint32 tag
GTK_TYPE_BOOLEAN_CELL_ACCESSIBLE
#define GTK_TYPE_BOOLEAN_CELL_ACCESSIBLE (gtk_boolean_cell_accessible_get_type ())
GTK_BOOLEAN_CELL_ACCESSIBLE
#define GTK_BOOLEAN_CELL_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_BOOLEAN_CELL_ACCESSIBLE, GtkBooleanCellAccessible))
GTK_BOOLEAN_CELL_ACCESSIBLE_CLASS
#define GTK_BOOLEAN_CELL_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GAIL_BOOLEAN_CELL, GtkBooleanCellAccessibleClass))
GTK_IS_BOOLEAN_CELL_ACCESSIBLE
#define GTK_IS_BOOLEAN_CELL_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_BOOLEAN_CELL_ACCESSIBLE))
GTK_IS_BOOLEAN_CELL_ACCESSIBLE_CLASS
#define GTK_IS_BOOLEAN_CELL_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_BOOLEAN_CELL_ACCESSIBLE))
GTK_BOOLEAN_CELL_ACCESSIBLE_GET_CLASS
#define GTK_BOOLEAN_CELL_ACCESSIBLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_BOOLEAN_CELL_ACCESSIBLE, GtkBooleanCellAccessibleClass))
GtkBooleanCellAccessible
struct _GtkBooleanCellAccessible
{
GtkRendererCellAccessible parent;
GtkBooleanCellAccessiblePrivate *priv;
};
GtkBooleanCellAccessibleClass
struct _GtkBooleanCellAccessibleClass
{
GtkRendererCellAccessibleClass parent_class;
};
gtk_boolean_cell_accessible_get_type
GType
void
GtkBooleanCellAccessiblePrivate
GTK_TYPE_BUTTON_ACCESSIBLE
#define GTK_TYPE_BUTTON_ACCESSIBLE (gtk_button_accessible_get_type ())
GTK_BUTTON_ACCESSIBLE
#define GTK_BUTTON_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_BUTTON_ACCESSIBLE, GtkButtonAccessible))
GTK_BUTTON_ACCESSIBLE_CLASS
#define GTK_BUTTON_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_BUTTON_ACCESSIBLE, GtkButtonAccessibleClass))
GTK_IS_BUTTON_ACCESSIBLE
#define GTK_IS_BUTTON_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_BUTTON_ACCESSIBLE))
GTK_IS_BUTTON_ACCESSIBLE_CLASS
#define GTK_IS_BUTTON_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_BUTTON_ACCESSIBLE))
GTK_BUTTON_ACCESSIBLE_GET_CLASS
#define GTK_BUTTON_ACCESSIBLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_BUTTON_ACCESSIBLE, GtkButtonAccessibleClass))
GtkButtonAccessible
struct _GtkButtonAccessible
{
GtkContainerAccessible parent;
GtkButtonAccessiblePrivate *priv;
};
GtkButtonAccessibleClass
struct _GtkButtonAccessibleClass
{
GtkContainerAccessibleClass parent_class;
};
gtk_button_accessible_get_type
GType
void
GtkButtonAccessiblePrivate
GTK_TYPE_CELL_ACCESSIBLE
#define GTK_TYPE_CELL_ACCESSIBLE (gtk_cell_accessible_get_type ())
GTK_CELL_ACCESSIBLE
#define GTK_CELL_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_CELL_ACCESSIBLE, GtkCellAccessible))
GTK_CELL_ACCESSIBLE_CLASS
#define GTK_CELL_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_CELL_ACCESSIBLE, GtkCellAccessibleClass))
GTK_IS_CELL_ACCESSIBLE
#define GTK_IS_CELL_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_CELL_ACCESSIBLE))
GTK_IS_CELL_ACCESSIBLE_CLASS
#define GTK_IS_CELL_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_CELL_ACCESSIBLE))
GTK_CELL_ACCESSIBLE_GET_CLASS
#define GTK_CELL_ACCESSIBLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_CELL_ACCESSIBLE, GtkCellAccessibleClass))
GtkCellAccessible
struct _GtkCellAccessible
{
GtkAccessible parent;
GtkCellAccessiblePrivate *priv;
};
GtkCellAccessibleClass
struct _GtkCellAccessibleClass
{
GtkAccessibleClass parent_class;
void (*update_cache) (GtkCellAccessible *cell,
gboolean emit_signal);
};
gtk_cell_accessible_get_type
GType
void
GtkCellAccessiblePrivate
GTK_TYPE_CELL_ACCESSIBLE_PARENT
#define GTK_TYPE_CELL_ACCESSIBLE_PARENT (gtk_cell_accessible_parent_get_type ())
GTK_IS_CELL_ACCESSIBLE_PARENT
#define GTK_IS_CELL_ACCESSIBLE_PARENT(obj) G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_CELL_ACCESSIBLE_PARENT)
GTK_CELL_ACCESSIBLE_PARENT
#define GTK_CELL_ACCESSIBLE_PARENT(obj) G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_CELL_ACCESSIBLE_PARENT, GtkCellAccessibleParent)
GTK_CELL_ACCESSIBLE_PARENT_GET_IFACE
#define GTK_CELL_ACCESSIBLE_PARENT_GET_IFACE(obj) (G_TYPE_INSTANCE_GET_INTERFACE ((obj), GTK_TYPE_CELL_ACCESSIBLE_PARENT, GtkCellAccessibleParentIface))
GtkCellAccessibleParentIface
struct _GtkCellAccessibleParentIface
{
GTypeInterface parent;
void ( *get_cell_extents) (GtkCellAccessibleParent *parent,
GtkCellAccessible *cell,
gint *x,
gint *y,
gint *width,
gint *height,
AtkCoordType coord_type);
void ( *get_cell_area) (GtkCellAccessibleParent *parent,
GtkCellAccessible *cell,
GdkRectangle *cell_rect);
gboolean ( *grab_focus) (GtkCellAccessibleParent *parent,
GtkCellAccessible *cell);
int ( *get_child_index) (GtkCellAccessibleParent *parent,
GtkCellAccessible *cell);
GtkCellRendererState
( *get_renderer_state) (GtkCellAccessibleParent *parent,
GtkCellAccessible *cell);
/* actions */
void ( *expand_collapse) (GtkCellAccessibleParent *parent,
GtkCellAccessible *cell);
void ( *activate) (GtkCellAccessibleParent *parent,
GtkCellAccessible *cell);
void ( *edit) (GtkCellAccessibleParent *parent,
GtkCellAccessible *cell);
/* end of actions */
void ( *update_relationset) (GtkCellAccessibleParent *parent,
GtkCellAccessible *cell,
AtkRelationSet *relationset);
void ( *get_cell_position) (GtkCellAccessibleParent *parent,
GtkCellAccessible *cell,
gint *row,
gint *column);
GPtrArray * ( *get_column_header_cells) (GtkCellAccessibleParent *parent,
GtkCellAccessible *cell);
GPtrArray * ( *get_row_header_cells) (GtkCellAccessibleParent *parent,
GtkCellAccessible *cell);
};
gtk_cell_accessible_parent_get_type
GType
void
gtk_cell_accessible_parent_get_cell_extents
void
GtkCellAccessibleParent *parent, GtkCellAccessible *cell, gint *x, gint *y, gint *width, gint *height, AtkCoordType coord_type
gtk_cell_accessible_parent_get_cell_area
void
GtkCellAccessibleParent *parent, GtkCellAccessible *cell, GdkRectangle *cell_rect
gtk_cell_accessible_parent_grab_focus
gboolean
GtkCellAccessibleParent *parent, GtkCellAccessible *cell
gtk_cell_accessible_parent_get_child_index
int
GtkCellAccessibleParent *parent, GtkCellAccessible *cell
gtk_cell_accessible_parent_get_renderer_state
GtkCellRendererState
GtkCellAccessibleParent *parent, GtkCellAccessible *cell
gtk_cell_accessible_parent_expand_collapse
void
GtkCellAccessibleParent *parent, GtkCellAccessible *cell
gtk_cell_accessible_parent_activate
void
GtkCellAccessibleParent *parent, GtkCellAccessible *cell
gtk_cell_accessible_parent_edit
void
GtkCellAccessibleParent *parent, GtkCellAccessible *cell
gtk_cell_accessible_parent_update_relationset
void
GtkCellAccessibleParent *parent, GtkCellAccessible *cell, AtkRelationSet *relationset
gtk_cell_accessible_parent_get_cell_position
void
GtkCellAccessibleParent *parent, GtkCellAccessible *cell, gint *row, gint *column
gtk_cell_accessible_parent_get_column_header_cells
GPtrArray *
GtkCellAccessibleParent *parent, GtkCellAccessible *cell
gtk_cell_accessible_parent_get_row_header_cells
GPtrArray *
GtkCellAccessibleParent *parent, GtkCellAccessible *cell
GtkCellAccessibleParent
GTK_TYPE_COLOR_SWATCH_ACCESSIBLE
#define GTK_TYPE_COLOR_SWATCH_ACCESSIBLE (_gtk_color_swatch_accessible_get_type ())
GTK_COLOR_SWATCH_ACCESSIBLE
#define GTK_COLOR_SWATCH_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_COLOR_SWATCH_ACCESSIBLE, GtkColorSwatchAccessible))
GTK_COLOR_SWATCH_ACCESSIBLE_CLASS
#define GTK_COLOR_SWATCH_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_COLOR_SWATCH_ACCESSIBLE, GtkColorSwatchAccessibleClass))
GTK_IS_COLOR_SWATCH_ACCESSIBLE
#define GTK_IS_COLOR_SWATCH_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_COLOR_SWATCH_ACCESSIBLE))
GTK_IS_COLOR_SWATCH_ACCESSIBLE_CLASS
#define GTK_IS_COLOR_SWATCH_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_COLOR_SWATCH_ACCESSIBLE))
GTK_COLOR_SWATCH_ACCESSIBLE_GET_CLASS
#define GTK_COLOR_SWATCH_ACCESSIBLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_COLOR_SWATCH_ACCESSIBLE, GtkColorSwatchAccessibleClass))
GtkColorSwatchAccessible
struct _GtkColorSwatchAccessible
{
GtkWidgetAccessible parent;
GtkColorSwatchAccessiblePrivate *priv;
};
GtkColorSwatchAccessibleClass
struct _GtkColorSwatchAccessibleClass
{
GtkWidgetAccessibleClass parent_class;
};
GtkColorSwatchAccessiblePrivate
GTK_TYPE_COMBO_BOX_ACCESSIBLE
#define GTK_TYPE_COMBO_BOX_ACCESSIBLE (gtk_combo_box_accessible_get_type ())
GTK_COMBO_BOX_ACCESSIBLE
#define GTK_COMBO_BOX_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_COMBO_BOX_ACCESSIBLE, GtkComboBoxAccessible))
GTK_COMBO_BOX_ACCESSIBLE_CLASS
#define GTK_COMBO_BOX_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_COMBO_BOX_ACCESSIBLE, GtkComboBoxAccessibleClass))
GTK_IS_COMBO_BOX_ACCESSIBLE
#define GTK_IS_COMBO_BOX_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_COMBO_BOX_ACCESSIBLE))
GTK_IS_COMBO_BOX_ACCESSIBLE_CLASS
#define GTK_IS_COMBO_BOX_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_COMBO_BOX_ACCESSIBLE))
GTK_COMBO_BOX_ACCESSIBLE_GET_CLASS
#define GTK_COMBO_BOX_ACCESSIBLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_COMBO_BOX_ACCESSIBLE, GtkComboBoxAccessibleClass))
GtkComboBoxAccessible
struct _GtkComboBoxAccessible
{
GtkContainerAccessible parent;
GtkComboBoxAccessiblePrivate *priv;
};
GtkComboBoxAccessibleClass
struct _GtkComboBoxAccessibleClass
{
GtkContainerAccessibleClass parent_class;
};
gtk_combo_box_accessible_get_type
GType
void
GtkComboBoxAccessiblePrivate
GTK_TYPE_COMPOSITE_ACCESSIBLE
#define GTK_TYPE_COMPOSITE_ACCESSIBLE (gtk_composite_accessible_get_type ())
GTK_COMPOSITE_ACCESSIBLE
#define GTK_COMPOSITE_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_COMPOSITE_ACCESSIBLE, GtkCompositeAccessible))
GTK_COMPOSITE_ACCESSIBLE_CLASS
#define GTK_COMPOSITE_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_COMPOSITE_ACCESSIBLE, GtkCompositeAccessibleClass))
GTK_IS_COMPOSITE_ACCESSIBLE
#define GTK_IS_COMPOSITE_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_COMPOSITE_ACCESSIBLE))
GTK_IS_COMPOSITE_ACCESSIBLE_CLASS
#define GTK_IS_COMPOSITE_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_COMPOSITE_ACCESSIBLE))
GTK_COMPOSITE_ACCESSIBLE_GET_CLASS
#define GTK_COMPOSITE_ACCESSIBLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_COMPOSITE_ACCESSIBLE, GtkCompositeAccessibleClass))
GtkCompositeAccessible
struct _GtkCompositeAccessible
{
GtkWidgetAccessible parent;
};
GtkCompositeAccessibleClass
struct _GtkCompositeAccessibleClass
{
GtkWidgetAccessibleClass parent_class;
};
gtk_composite_accessible_get_type
GType
void
GTK_TYPE_CONTAINER_ACCESSIBLE
#define GTK_TYPE_CONTAINER_ACCESSIBLE (gtk_container_accessible_get_type ())
GTK_CONTAINER_ACCESSIBLE
#define GTK_CONTAINER_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_CONTAINER_ACCESSIBLE, GtkContainerAccessible))
GTK_CONTAINER_ACCESSIBLE_CLASS
#define GTK_CONTAINER_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_CONTAINER_ACCESSIBLE, GtkContainerAccessibleClass))
GTK_IS_CONTAINER_ACCESSIBLE
#define GTK_IS_CONTAINER_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_CONTAINER_ACCESSIBLE))
GTK_IS_CONTAINER_ACCESSIBLE_CLASS
#define GTK_IS_CONTAINER_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_CONTAINER_ACCESSIBLE))
GTK_CONTAINER_ACCESSIBLE_GET_CLASS
#define GTK_CONTAINER_ACCESSIBLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_CONTAINER_ACCESSIBLE, GtkContainerAccessibleClass))
GtkContainerAccessible
struct _GtkContainerAccessible
{
GtkWidgetAccessible parent;
GtkContainerAccessiblePrivate *priv;
};
GtkContainerAccessibleClass
struct _GtkContainerAccessibleClass
{
GtkWidgetAccessibleClass parent_class;
gint (*add_gtk) (GtkContainer *container,
GtkWidget *widget,
gpointer data);
gint (*remove_gtk) (GtkContainer *container,
GtkWidget *widget,
gpointer data);
};
gtk_container_accessible_get_type
GType
void
GtkContainerAccessiblePrivate
GTK_TYPE_CONTAINER_CELL_ACCESSIBLE
#define GTK_TYPE_CONTAINER_CELL_ACCESSIBLE (gtk_container_cell_accessible_get_type ())
GTK_CONTAINER_CELL_ACCESSIBLE
#define GTK_CONTAINER_CELL_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_CONTAINER_CELL_ACCESSIBLE, GtkContainerCellAccessible))
GTK_CONTAINER_CELL_ACCESSIBLE_CLASS
#define GTK_CONTAINER_CELL_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_CONTAINER_CELL_ACCESSIBLE, GtkContainerCellAccessibleClass))
GTK_IS_CONTAINER_CELL_ACCESSIBLE
#define GTK_IS_CONTAINER_CELL_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_CONTAINER_CELL_ACCESSIBLE))
GTK_IS_CONTAINER_CELL_ACCESSIBLE_CLASS
#define GTK_IS_CONTAINER_CELL_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_CONTAINER_CELL_ACCESSIBLE))
GTK_CONTAINER_CELL_ACCESSIBLE_GET_CLASS
#define GTK_CONTAINER_CELL_ACCESSIBLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_CONTAINER_CELL_ACCESSIBLE, GtkContainerCellAccessibleClass))
GtkContainerCellAccessible
struct _GtkContainerCellAccessible
{
GtkCellAccessible parent;
GtkContainerCellAccessiblePrivate *priv;
};
GtkContainerCellAccessibleClass
struct _GtkContainerCellAccessibleClass
{
GtkCellAccessibleClass parent_class;
};
gtk_container_cell_accessible_get_type
GType
void
gtk_container_cell_accessible_new
GtkContainerCellAccessible *
void
gtk_container_cell_accessible_add_child
void
GtkContainerCellAccessible *container, GtkCellAccessible *child
gtk_container_cell_accessible_remove_child
void
GtkContainerCellAccessible *container, GtkCellAccessible *child
gtk_container_cell_accessible_get_children
GList *
GtkContainerCellAccessible *container
GtkContainerCellAccessiblePrivate
GTK_TYPE_ENTRY_ACCESSIBLE
#define GTK_TYPE_ENTRY_ACCESSIBLE (gtk_entry_accessible_get_type ())
GTK_ENTRY_ACCESSIBLE
#define GTK_ENTRY_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_ENTRY_ACCESSIBLE, GtkEntryAccessible))
GTK_ENTRY_ACCESSIBLE_CLASS
#define GTK_ENTRY_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_ENTRY_ACCESSIBLE, GtkEntryAccessibleClass))
GTK_IS_ENTRY_ACCESSIBLE
#define GTK_IS_ENTRY_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_ENTRY_ACCESSIBLE))
GTK_IS_ENTRY_ACCESSIBLE_CLASS
#define GTK_IS_ENTRY_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_ENTRY_ACCESSIBLE))
GTK_ENTRY_ACCESSIBLE_GET_CLASS
#define GTK_ENTRY_ACCESSIBLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_ENTRY_ACCESSIBLE, GtkEntryAccessibleClass))
GtkEntryAccessible
struct _GtkEntryAccessible
{
GtkWidgetAccessible parent;
GtkEntryAccessiblePrivate *priv;
};
GtkEntryAccessibleClass
struct _GtkEntryAccessibleClass
{
GtkWidgetAccessibleClass parent_class;
};
gtk_entry_accessible_get_type
GType
void
gtk_entry_icon_accessible_get_type
GType
void
GtkEntryAccessiblePrivate
GTK_TYPE_EXPANDER_ACCESSIBLE
#define GTK_TYPE_EXPANDER_ACCESSIBLE (gtk_expander_accessible_get_type ())
GTK_EXPANDER_ACCESSIBLE
#define GTK_EXPANDER_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_EXPANDER_ACCESSIBLE, GtkExpanderAccessible))
GTK_EXPANDER_ACCESSIBLE_CLASS
#define GTK_EXPANDER_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_EXPANDER_ACCESSIBLE, GtkExpanderAccessibleClass))
GTK_IS_EXPANDER_ACCESSIBLE
#define GTK_IS_EXPANDER_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_EXPANDER_ACCESSIBLE))
GTK_IS_EXPANDER_ACCESSIBLE_CLASS
#define GTK_IS_EXPANDER_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_EXPANDER_ACCESSIBLE))
GTK_EXPANDER_ACCESSIBLE_GET_CLASS
#define GTK_EXPANDER_ACCESSIBLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_EXPANDER_ACCESSIBLE, GtkExpanderAccessibleClass))
GtkExpanderAccessible
struct _GtkExpanderAccessible
{
GtkContainerAccessible parent;
GtkExpanderAccessiblePrivate *priv;
};
GtkExpanderAccessibleClass
struct _GtkExpanderAccessibleClass
{
GtkContainerAccessibleClass parent_class;
};
gtk_expander_accessible_get_type
GType
void
GtkExpanderAccessiblePrivate
GTK_TYPE_FLOW_BOX_ACCESSIBLE
#define GTK_TYPE_FLOW_BOX_ACCESSIBLE (gtk_flow_box_accessible_get_type ())
GTK_FLOW_BOX_ACCESSIBLE
#define GTK_FLOW_BOX_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_FLOW_BOX_ACCESSIBLE, GtkFlowBoxAccessible))
GTK_FLOW_BOX_ACCESSIBLE_CLASS
#define GTK_FLOW_BOX_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_FLOW_BOX_ACCESSIBLE, GtkFlowBoxAccessibleClass))
GTK_IS_FLOW_BOX_ACCESSIBLE
#define GTK_IS_FLOW_BOX_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_FLOW_BOX_ACCESSIBLE))
GTK_IS_FLOW_BOX_ACCESSIBLE_CLASS
#define GTK_IS_FLOW_BOX_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_FLOW_BOX_ACCESSIBLE))
GTK_FLOW_BOX_ACCESSIBLE_GET_CLASS
#define GTK_FLOW_BOX_ACCESSIBLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_FLOW_BOX_ACCESSIBLE, GtkFlowBoxAccessibleClass))
GtkFlowBoxAccessible
struct _GtkFlowBoxAccessible
{
GtkContainerAccessible parent;
GtkFlowBoxAccessiblePrivate *priv;
};
GtkFlowBoxAccessibleClass
struct _GtkFlowBoxAccessibleClass
{
GtkContainerAccessibleClass parent_class;
};
gtk_flow_box_accessible_get_type
GType
void
GtkFlowBoxAccessiblePrivate
GTK_TYPE_FLOW_BOX_CHILD_ACCESSIBLE
#define GTK_TYPE_FLOW_BOX_CHILD_ACCESSIBLE (gtk_flow_box_child_accessible_get_type ())
GTK_FLOW_BOX_CHILD_ACCESSIBLE
#define GTK_FLOW_BOX_CHILD_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_FLOW_BOX_CHILD_ACCESSIBLE, GtkFlowBoxChildAccessible))
GTK_FLOW_BOX_CHILD_ACCESSIBLE_CLASS
#define GTK_FLOW_BOX_CHILD_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_FLOW_BOX_CHILD_ACCESSIBLE, GtkFlowBoxChildAccessibleClass))
GTK_IS_FLOW_BOX_CHILD_ACCESSIBLE
#define GTK_IS_FLOW_BOX_CHILD_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_FLOW_BOX_CHILD_ACCESSIBLE))
GTK_IS_FLOW_BOX_CHILD_ACCESSIBLE_CLASS
#define GTK_IS_FLOW_BOX_CHILD_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_FLOW_BOX_CHILD_ACCESSIBLE))
GTK_FLOW_BOX_CHILD_ACCESSIBLE_GET_CLASS
#define GTK_FLOW_BOX_CHILD_ACCESSIBLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_FLOW_BOX_CHILD_ACCESSIBLE, GtkFlowBoxChildAccessibleClass))
GtkFlowBoxChildAccessible
struct _GtkFlowBoxChildAccessible
{
GtkContainerAccessible parent;
};
GtkFlowBoxChildAccessibleClass
struct _GtkFlowBoxChildAccessibleClass
{
GtkContainerAccessibleClass parent_class;
};
gtk_flow_box_child_accessible_get_type
GType
void
GTK_TYPE_FRAME_ACCESSIBLE
#define GTK_TYPE_FRAME_ACCESSIBLE (gtk_frame_accessible_get_type ())
GTK_FRAME_ACCESSIBLE
#define GTK_FRAME_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_FRAME_ACCESSIBLE, GtkFrameAccessible))
GTK_FRAME_ACCESSIBLE_CLASS
#define GTK_FRAME_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_FRAME_ACCESSIBLE, GtkFrameAccessibleClass))
GTK_IS_FRAME_ACCESSIBLE
#define GTK_IS_FRAME_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_FRAME_ACCESSIBLE))
GTK_IS_FRAME_ACCESSIBLE_CLASS
#define GTK_IS_FRAME_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_FRAME_ACCESSIBLE))
GTK_FRAME_ACCESSIBLE_GET_CLASS
#define GTK_FRAME_ACCESSIBLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_FRAME_ACCESSIBLE, GtkFrameAccessibleClass))
GtkFrameAccessible
struct _GtkFrameAccessible
{
GtkContainerAccessible parent;
GtkFrameAccessiblePrivate *priv;
};
GtkFrameAccessibleClass
struct _GtkFrameAccessibleClass
{
GtkContainerAccessibleClass parent_class;
};
gtk_frame_accessible_get_type
GType
void
GtkFrameAccessiblePrivate
GTK_TYPE_ICON_VIEW_ACCESSIBLE
#define GTK_TYPE_ICON_VIEW_ACCESSIBLE (gtk_icon_view_accessible_get_type ())
GTK_ICON_VIEW_ACCESSIBLE
#define GTK_ICON_VIEW_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_ICON_VIEW_ACCESSIBLE, GtkIconViewAccessible))
GTK_ICON_VIEW_ACCESSIBLE_CLASS
#define GTK_ICON_VIEW_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_ICON_VIEW_ACCESSIBLE, GtkIconViewAccessibleClass))
GTK_IS_ICON_VIEW_ACCESSIBLE
#define GTK_IS_ICON_VIEW_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_ICON_VIEW_ACCESSIBLE))
GTK_IS_ICON_VIEW_ACCESSIBLE_CLASS
#define GTK_IS_ICON_VIEW_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_ICON_VIEW_ACCESSIBLE))
GTK_ICON_VIEW_ACCESSIBLE_GET_CLASS
#define GTK_ICON_VIEW_ACCESSIBLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_ICON_VIEW_ACCESSIBLE, GtkIconViewAccessibleClass))
GtkIconViewAccessible
struct _GtkIconViewAccessible
{
GtkContainerAccessible parent;
GtkIconViewAccessiblePrivate *priv;
};
GtkIconViewAccessibleClass
struct _GtkIconViewAccessibleClass
{
GtkContainerAccessibleClass parent_class;
};
gtk_icon_view_accessible_get_type
GType
void
GtkIconViewAccessiblePrivate
GTK_TYPE_IMAGE_ACCESSIBLE
#define GTK_TYPE_IMAGE_ACCESSIBLE (gtk_image_accessible_get_type ())
GTK_IMAGE_ACCESSIBLE
#define GTK_IMAGE_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_IMAGE_ACCESSIBLE, GtkImageAccessible))
GTK_IMAGE_ACCESSIBLE_CLASS
#define GTK_IMAGE_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_IMAGE_ACCESSIBLE, GtkImageAccessibleClass))
GTK_IS_IMAGE_ACCESSIBLE
#define GTK_IS_IMAGE_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_IMAGE_ACCESSIBLE))
GTK_IS_IMAGE_ACCESSIBLE_CLASS
#define GTK_IS_IMAGE_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_IMAGE_ACCESSIBLE))
GTK_IMAGE_ACCESSIBLE_GET_CLASS
#define GTK_IMAGE_ACCESSIBLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_IMAGE_ACCESSIBLE, GtkImageAccessibleClass))
GtkImageAccessible
struct _GtkImageAccessible
{
GtkWidgetAccessible parent;
GtkImageAccessiblePrivate *priv;
};
GtkImageAccessibleClass
struct _GtkImageAccessibleClass
{
GtkWidgetAccessibleClass parent_class;
};
gtk_image_accessible_get_type
GType
void
GtkImageAccessiblePrivate
GTK_TYPE_IMAGE_CELL_ACCESSIBLE
#define GTK_TYPE_IMAGE_CELL_ACCESSIBLE (gtk_image_cell_accessible_get_type ())
GTK_IMAGE_CELL_ACCESSIBLE
#define GTK_IMAGE_CELL_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_IMAGE_CELL_ACCESSIBLE, GtkImageCellAccessible))
GTK_IMAGE_CELL_ACCESSIBLE_CLASS
#define GTK_IMAGE_CELL_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_IMAGE_CELL_ACCESSIBLE, GtkImageCellAccessibleClass))
GTK_IS_IMAGE_CELL_ACCESSIBLE
#define GTK_IS_IMAGE_CELL_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_IMAGE_CELL_ACCESSIBLE))
GTK_IS_IMAGE_CELL_ACCESSIBLE_CLASS
#define GTK_IS_IMAGE_CELL_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_IMAGE_CELL_ACCESSIBLE))
GTK_IMAGE_CELL_ACCESSIBLE_GET_CLASS
#define GTK_IMAGE_CELL_ACCESSIBLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_IMAGE_CELL_ACCESSIBLE, GtkImageCellAccessibleClass))
GtkImageCellAccessible
struct _GtkImageCellAccessible
{
GtkRendererCellAccessible parent;
GtkImageCellAccessiblePrivate *priv;
};
GtkImageCellAccessibleClass
struct _GtkImageCellAccessibleClass
{
GtkRendererCellAccessibleClass parent_class;
};
gtk_image_cell_accessible_get_type
GType
void
GtkImageCellAccessiblePrivate
GTK_TYPE_LABEL_ACCESSIBLE
#define GTK_TYPE_LABEL_ACCESSIBLE (gtk_label_accessible_get_type ())
GTK_LABEL_ACCESSIBLE
#define GTK_LABEL_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_LABEL_ACCESSIBLE, GtkLabelAccessible))
GTK_LABEL_ACCESSIBLE_CLASS
#define GTK_LABEL_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_LABEL_ACCESSIBLE, GtkLabelAccessibleClass))
GTK_IS_LABEL_ACCESSIBLE
#define GTK_IS_LABEL_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_LABEL_ACCESSIBLE))
GTK_IS_LABEL_ACCESSIBLE_CLASS
#define GTK_IS_LABEL_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_LABEL_ACCESSIBLE))
GTK_LABEL_ACCESSIBLE_GET_CLASS
#define GTK_LABEL_ACCESSIBLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_LABEL_ACCESSIBLE, GtkLabelAccessibleClass))
GtkLabelAccessible
struct _GtkLabelAccessible
{
GtkWidgetAccessible parent;
GtkLabelAccessiblePrivate *priv;
};
GtkLabelAccessibleClass
struct _GtkLabelAccessibleClass
{
GtkWidgetAccessibleClass parent_class;
};
gtk_label_accessible_get_type
GType
void
GtkLabelAccessiblePrivate
GTK_TYPE_LEVEL_BAR_ACCESSIBLE
#define GTK_TYPE_LEVEL_BAR_ACCESSIBLE (gtk_level_bar_accessible_get_type ())
GTK_LEVEL_BAR_ACCESSIBLE
#define GTK_LEVEL_BAR_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_LEVEL_BAR_ACCESSIBLE, GtkLevelBarAccessible))
GTK_LEVEL_BAR_ACCESSIBLE_CLASS
#define GTK_LEVEL_BAR_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_LEVEL_BAR_ACCESSIBLE, GtkLevelBarAccessibleClass))
GTK_IS_LEVEL_BAR_ACCESSIBLE
#define GTK_IS_LEVEL_BAR_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_LEVEL_BAR_ACCESSIBLE))
GTK_IS_LEVEL_BAR_ACCESSIBLE_CLASS
#define GTK_IS_LEVEL_BAR_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_LEVEL_BAR_ACCESSIBLE))
GTK_LEVEL_BAR_ACCESSIBLE_GET_CLASS
#define GTK_LEVEL_BAR_ACCESSIBLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_LEVEL_BAR_ACCESSIBLE, GtkLevelBarAccessibleClass))
GtkLevelBarAccessible
struct _GtkLevelBarAccessible
{
GtkWidgetAccessible parent;
GtkLevelBarAccessiblePrivate *priv;
};
GtkLevelBarAccessibleClass
struct _GtkLevelBarAccessibleClass
{
GtkWidgetAccessibleClass parent_class;
};
gtk_level_bar_accessible_get_type
GType
void
GtkLevelBarAccessiblePrivate
GTK_TYPE_LINK_BUTTON_ACCESSIBLE
#define GTK_TYPE_LINK_BUTTON_ACCESSIBLE (gtk_link_button_accessible_get_type ())
GTK_LINK_BUTTON_ACCESSIBLE
#define GTK_LINK_BUTTON_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_LINK_BUTTON_ACCESSIBLE, GtkLinkButtonAccessible))
GTK_LINK_BUTTON_ACCESSIBLE_CLASS
#define GTK_LINK_BUTTON_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_LINK_BUTTON_ACCESSIBLE, GtkLinkButtonAccessibleClass))
GTK_IS_LINK_BUTTON_ACCESSIBLE
#define GTK_IS_LINK_BUTTON_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_LINK_BUTTON_ACCESSIBLE))
GTK_IS_LINK_BUTTON_ACCESSIBLE_CLASS
#define GTK_IS_LINK_BUTTON_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_LINK_BUTTON_ACCESSIBLE))
GTK_LINK_BUTTON_ACCESSIBLE_GET_CLASS
#define GTK_LINK_BUTTON_ACCESSIBLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_LINK_BUTTON_ACCESSIBLE, GtkLinkButtonAccessibleClass))
GtkLinkButtonAccessible
struct _GtkLinkButtonAccessible
{
GtkButtonAccessible parent;
GtkLinkButtonAccessiblePrivate *priv;
};
GtkLinkButtonAccessibleClass
struct _GtkLinkButtonAccessibleClass
{
GtkButtonAccessibleClass parent_class;
};
gtk_link_button_accessible_get_type
GType
void
GtkLinkButtonAccessiblePrivate
GTK_TYPE_LIST_BOX_ACCESSIBLE
#define GTK_TYPE_LIST_BOX_ACCESSIBLE (gtk_list_box_accessible_get_type ())
GTK_LIST_BOX_ACCESSIBLE
#define GTK_LIST_BOX_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_LIST_BOX_ACCESSIBLE, GtkListBoxAccessible))
GTK_LIST_BOX_ACCESSIBLE_CLASS
#define GTK_LIST_BOX_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_LIST_BOX_ACCESSIBLE, GtkListBoxAccessibleClass))
GTK_IS_LIST_BOX_ACCESSIBLE
#define GTK_IS_LIST_BOX_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_LIST_BOX_ACCESSIBLE))
GTK_IS_LIST_BOX_ACCESSIBLE_CLASS
#define GTK_IS_LIST_BOX_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_LIST_BOX_ACCESSIBLE))
GTK_LIST_BOX_ACCESSIBLE_GET_CLASS
#define GTK_LIST_BOX_ACCESSIBLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_LIST_BOX_ACCESSIBLE, GtkListBoxAccessibleClass))
GtkListBoxAccessible
struct _GtkListBoxAccessible
{
GtkContainerAccessible parent;
GtkListBoxAccessiblePrivate *priv;
};
GtkListBoxAccessibleClass
struct _GtkListBoxAccessibleClass
{
GtkContainerAccessibleClass parent_class;
};
gtk_list_box_accessible_get_type
GType
void
GtkListBoxAccessiblePrivate
GTK_TYPE_LIST_BOX_ROW_ACCESSIBLE
#define GTK_TYPE_LIST_BOX_ROW_ACCESSIBLE (gtk_list_box_row_accessible_get_type ())
GTK_LIST_BOX_ROW_ACCESSIBLE
#define GTK_LIST_BOX_ROW_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_LIST_BOX_ROW_ACCESSIBLE, GtkListBoxRowAccessible))
GTK_LIST_BOX_ROW_ACCESSIBLE_CLASS
#define GTK_LIST_BOX_ROW_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_LIST_BOX_ROW_ACCESSIBLE, GtkListBoxRowAccessibleClass))
GTK_IS_LIST_BOX_ROW_ACCESSIBLE
#define GTK_IS_LIST_BOX_ROW_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_LIST_BOX_ROW_ACCESSIBLE))
GTK_IS_LIST_BOX_ROW_ACCESSIBLE_CLASS
#define GTK_IS_LIST_BOX_ROW_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_LIST_BOX_ROW_ACCESSIBLE))
GTK_LIST_BOX_ROW_ACCESSIBLE_GET_CLASS
#define GTK_LIST_BOX_ROW_ACCESSIBLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_LIST_BOX_ROW_ACCESSIBLE, GtkListBoxRowAccessibleClass))
GtkListBoxRowAccessible
struct _GtkListBoxRowAccessible
{
GtkContainerAccessible parent;
};
GtkListBoxRowAccessibleClass
struct _GtkListBoxRowAccessibleClass
{
GtkContainerAccessibleClass parent_class;
};
gtk_list_box_row_accessible_get_type
GType
void
GTK_TYPE_LOCK_BUTTON_ACCESSIBLE
#define GTK_TYPE_LOCK_BUTTON_ACCESSIBLE (gtk_lock_button_accessible_get_type ())
GTK_LOCK_BUTTON_ACCESSIBLE
#define GTK_LOCK_BUTTON_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_LOCK_BUTTON_ACCESSIBLE, GtkLockButtonAccessible))
GTK_LOCK_BUTTON_ACCESSIBLE_CLASS
#define GTK_LOCK_BUTTON_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_LOCK_BUTTON_ACCESSIBLE, GtkLockButtonAccessibleClass))
GTK_IS_LOCK_BUTTON_ACCESSIBLE
#define GTK_IS_LOCK_BUTTON_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_LOCK_BUTTON_ACCESSIBLE))
GTK_IS_LOCK_BUTTON_ACCESSIBLE_CLASS
#define GTK_IS_LOCK_BUTTON_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_LOCK_BUTTON_ACCESSIBLE))
GTK_LOCK_BUTTON_ACCESSIBLE_GET_CLASS
#define GTK_LOCK_BUTTON_ACCESSIBLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_LOCK_BUTTON_ACCESSIBLE, GtkLockButtonAccessibleClass))
GtkLockButtonAccessible
struct _GtkLockButtonAccessible
{
GtkButtonAccessible parent;
GtkLockButtonAccessiblePrivate *priv;
};
GtkLockButtonAccessibleClass
struct _GtkLockButtonAccessibleClass
{
GtkButtonAccessibleClass parent_class;
};
gtk_lock_button_accessible_get_type
GType
void
GtkLockButtonAccessiblePrivate
GTK_TYPE_MENU_BUTTON_ACCESSIBLE
#define GTK_TYPE_MENU_BUTTON_ACCESSIBLE (gtk_menu_button_accessible_get_type ())
GTK_MENU_BUTTON_ACCESSIBLE
#define GTK_MENU_BUTTON_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_MENU_BUTTON_ACCESSIBLE, GtkMenuButtonAccessible))
GTK_MENU_BUTTON_ACCESSIBLE_CLASS
#define GTK_MENU_BUTTON_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_MENU_BUTTON_ACCESSIBLE, GtkMenuButtonAccessibleClass))
GTK_IS_MENU_BUTTON_ACCESSIBLE
#define GTK_IS_MENU_BUTTON_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_MENU_BUTTON_ACCESSIBLE))
GTK_IS_MENU_BUTTON_ACCESSIBLE_CLASS
#define GTK_IS_MENU_BUTTON_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_MENU_BUTTON_ACCESSIBLE))
GTK_MENU_BUTTON_ACCESSIBLE_GET_CLASS
#define GTK_MENU_BUTTON_ACCESSIBLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_MENU_BUTTON_ACCESSIBLE, GtkMenuButtonAccessibleClass))
GtkMenuButtonAccessible
struct _GtkMenuButtonAccessible
{
GtkWidgetAccessible parent;
GtkMenuButtonAccessiblePrivate *priv;
};
GtkMenuButtonAccessibleClass
struct _GtkMenuButtonAccessibleClass
{
GtkWidgetAccessibleClass parent_class;
};
gtk_menu_button_accessible_get_type
GType
void
GtkMenuButtonAccessiblePrivate
GTK_TYPE_NOTEBOOK_ACCESSIBLE
#define GTK_TYPE_NOTEBOOK_ACCESSIBLE (gtk_notebook_accessible_get_type ())
GTK_NOTEBOOK_ACCESSIBLE
#define GTK_NOTEBOOK_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_NOTEBOOK_ACCESSIBLE, GtkNotebookAccessible))
GTK_NOTEBOOK_ACCESSIBLE_CLASS
#define GTK_NOTEBOOK_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_NOTEBOOK_ACCESSIBLE, GtkNotebookAccessibleClass))
GTK_IS_NOTEBOOK_ACCESSIBLE
#define GTK_IS_NOTEBOOK_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_NOTEBOOK_ACCESSIBLE))
GTK_IS_NOTEBOOK_ACCESSIBLE_CLASS
#define GTK_IS_NOTEBOOK_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_NOTEBOOK_ACCESSIBLE))
GTK_NOTEBOOK_ACCESSIBLE_GET_CLASS
#define GTK_NOTEBOOK_ACCESSIBLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_NOTEBOOK_ACCESSIBLE, GtkNotebookAccessibleClass))
GtkNotebookAccessible
struct _GtkNotebookAccessible
{
GtkContainerAccessible parent;
GtkNotebookAccessiblePrivate *priv;
};
GtkNotebookAccessibleClass
struct _GtkNotebookAccessibleClass
{
GtkContainerAccessibleClass parent_class;
};
gtk_notebook_accessible_get_type
GType
void
GtkNotebookAccessiblePrivate
GTK_TYPE_NOTEBOOK_PAGE_ACCESSIBLE
#define GTK_TYPE_NOTEBOOK_PAGE_ACCESSIBLE (gtk_notebook_page_accessible_get_type ())
GTK_NOTEBOOK_PAGE_ACCESSIBLE
#define GTK_NOTEBOOK_PAGE_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj),GTK_TYPE_NOTEBOOK_PAGE_ACCESSIBLE, GtkNotebookPageAccessible))
GTK_NOTEBOOK_PAGE_ACCESSIBLE_CLASS
#define GTK_NOTEBOOK_PAGE_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_NOTEBOOK_PAGE_ACCESSIBLE, GtkNotebookPageAccessibleClass))
GTK_IS_NOTEBOOK_PAGE_ACCESSIBLE
#define GTK_IS_NOTEBOOK_PAGE_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_NOTEBOOK_PAGE_ACCESSIBLE))
GTK_IS_NOTEBOOK_PAGE_ACCESSIBLE_CLASS
#define GTK_IS_NOTEBOOK_PAGE_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_NOTEBOOK_PAGE_ACCESSIBLE))
GTK_NOTEBOOK_PAGE_ACCESSIBLE_GET_CLASS
#define GTK_NOTEBOOK_PAGE_ACCESSIBLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_NOTEBOOK_PAGE_ACCESSIBLE, GtkNotebookPageAccessibleClass))
GtkNotebookPageAccessible
struct _GtkNotebookPageAccessible
{
AtkObject parent;
GtkNotebookPageAccessiblePrivate *priv;
};
GtkNotebookPageAccessibleClass
struct _GtkNotebookPageAccessibleClass
{
AtkObjectClass parent_class;
};
gtk_notebook_page_accessible_get_type
GType
void
gtk_notebook_page_accessible_new
AtkObject *
GtkNotebookAccessible *notebook, GtkWidget *child
gtk_notebook_page_accessible_invalidate
void
GtkNotebookPageAccessible *page
GtkNotebookPageAccessiblePrivate
GTK_TYPE_PANED_ACCESSIBLE
#define GTK_TYPE_PANED_ACCESSIBLE (gtk_paned_accessible_get_type ())
GTK_PANED_ACCESSIBLE
#define GTK_PANED_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_PANED_ACCESSIBLE, GtkPanedAccessible))
GTK_PANED_ACCESSIBLE_CLASS
#define GTK_PANED_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_PANED_ACCESSIBLE, GtkPanedAccessibleClass))
GTK_IS_PANED_ACCESSIBLE
#define GTK_IS_PANED_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_PANED_ACCESSIBLE))
GTK_IS_PANED_ACCESSIBLE_CLASS
#define GTK_IS_PANED_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_PANED_ACCESSIBLE))
GTK_PANED_ACCESSIBLE_GET_CLASS
#define GTK_PANED_ACCESSIBLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_PANED_ACCESSIBLE, GtkPanedAccessibleClass))
GtkPanedAccessible
struct _GtkPanedAccessible
{
GtkContainerAccessible parent;
GtkPanedAccessiblePrivate *priv;
};
GtkPanedAccessibleClass
struct _GtkPanedAccessibleClass
{
GtkContainerAccessibleClass parent_class;
};
gtk_paned_accessible_get_type
GType
void
GtkPanedAccessiblePrivate
GTK_TYPE_PICTURE_ACCESSIBLE
#define GTK_TYPE_PICTURE_ACCESSIBLE (gtk_picture_accessible_get_type ())
GtkPictureAccessible
GTK_TYPE_POPOVER_ACCESSIBLE
#define GTK_TYPE_POPOVER_ACCESSIBLE (gtk_popover_accessible_get_type ())
GTK_POPOVER_ACCESSIBLE
#define GTK_POPOVER_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_POPOVER_ACCESSIBLE, GtkPopoverAccessible))
GTK_POPOVER_ACCESSIBLE_CLASS
#define GTK_POPOVER_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_POPOVER_ACCESSIBLE, GtkPopoverAccessibleClass))
GTK_IS_POPOVER_ACCESSIBLE
#define GTK_IS_POPOVER_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_POPOVER_ACCESSIBLE))
GTK_IS_POPOVER_ACCESSIBLE_CLASS
#define GTK_IS_POPOVER_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_POPOVER_ACCESSIBLE))
GTK_POPOVER_ACCESSIBLE_GET_CLASS
#define GTK_POPOVER_ACCESSIBLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_POPOVER_ACCESSIBLE, GtkPopoverAccessibleClass))
GtkPopoverAccessible
struct _GtkPopoverAccessible
{
GtkContainerAccessible parent;
};
GtkPopoverAccessibleClass
struct _GtkPopoverAccessibleClass
{
GtkContainerAccessibleClass parent_class;
};
gtk_popover_accessible_get_type
GType
void
GTK_TYPE_PROGRESS_BAR_ACCESSIBLE
#define GTK_TYPE_PROGRESS_BAR_ACCESSIBLE (gtk_progress_bar_accessible_get_type ())
GTK_PROGRESS_BAR_ACCESSIBLE
#define GTK_PROGRESS_BAR_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_PROGRESS_BAR_ACCESSIBLE, GtkProgressBarAccessible))
GTK_PROGRESS_BAR_ACCESSIBLE_CLASS
#define GTK_PROGRESS_BAR_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_PROGRESS_BAR_ACCESSIBLE, GtkProgressBarAccessibleClass))
GTK_IS_PROGRESS_BAR_ACCESSIBLE
#define GTK_IS_PROGRESS_BAR_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_PROGRESS_BAR_ACCESSIBLE))
GTK_IS_PROGRESS_BAR_ACCESSIBLE_CLASS
#define GTK_IS_PROGRESS_BAR_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_PROGRESS_BAR_ACCESSIBLE))
GTK_PROGRESS_BAR_ACCESSIBLE_GET_CLASS
#define GTK_PROGRESS_BAR_ACCESSIBLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_PROGRESS_BAR_ACCESSIBLE, GtkProgressBarAccessibleClass))
GtkProgressBarAccessible
struct _GtkProgressBarAccessible
{
GtkWidgetAccessible parent;
GtkProgressBarAccessiblePrivate *priv;
};
GtkProgressBarAccessibleClass
struct _GtkProgressBarAccessibleClass
{
GtkWidgetAccessibleClass parent_class;
};
gtk_progress_bar_accessible_get_type
GType
void
GtkProgressBarAccessiblePrivate
GTK_TYPE_RADIO_BUTTON_ACCESSIBLE
#define GTK_TYPE_RADIO_BUTTON_ACCESSIBLE (gtk_radio_button_accessible_get_type ())
GTK_RADIO_BUTTON_ACCESSIBLE
#define GTK_RADIO_BUTTON_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_RADIO_BUTTON_ACCESSIBLE, GtkRadioButtonAccessible))
GTK_RADIO_BUTTON_ACCESSIBLE_CLASS
#define GTK_RADIO_BUTTON_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_RADIO_BUTTON_ACCESSIBLE, GtkRadioButtonAccessibleClass))
GTK_IS_RADIO_BUTTON_ACCESSIBLE
#define GTK_IS_RADIO_BUTTON_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_RADIO_BUTTON_ACCESSIBLE))
GTK_IS_RADIO_BUTTON_ACCESSIBLE_CLASS
#define GTK_IS_RADIO_BUTTON_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_RADIO_BUTTON_ACCESSIBLE))
GTK_RADIO_BUTTON_ACCESSIBLE_GET_CLASS
#define GTK_RADIO_BUTTON_ACCESSIBLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_RADIO_BUTTON_ACCESSIBLE, GtkRadioButtonAccessibleClass))
GtkRadioButtonAccessible
struct _GtkRadioButtonAccessible
{
GtkToggleButtonAccessible parent;
GtkRadioButtonAccessiblePrivate *priv;
};
GtkRadioButtonAccessibleClass
struct _GtkRadioButtonAccessibleClass
{
GtkToggleButtonAccessibleClass parent_class;
};
gtk_radio_button_accessible_get_type
GType
void
GtkRadioButtonAccessiblePrivate
GTK_TYPE_RANGE_ACCESSIBLE
#define GTK_TYPE_RANGE_ACCESSIBLE (gtk_range_accessible_get_type ())
GTK_RANGE_ACCESSIBLE
#define GTK_RANGE_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_RANGE_ACCESSIBLE, GtkRangeAccessible))
GTK_RANGE_ACCESSIBLE_CLASS
#define GTK_RANGE_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_RANGE_ACCESSIBLE, GtkRangeAccessibleClass))
GTK_IS_RANGE_ACCESSIBLE
#define GTK_IS_RANGE_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_RANGE_ACCESSIBLE))
GTK_IS_RANGE_ACCESSIBLE_CLASS
#define GTK_IS_RANGE_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_RANGE_ACCESSIBLE))
GTK_RANGE_ACCESSIBLE_GET_CLASS
#define GTK_RANGE_ACCESSIBLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_RANGE_ACCESSIBLE, GtkRangeAccessibleClass))
GtkRangeAccessible
struct _GtkRangeAccessible
{
GtkWidgetAccessible parent;
GtkRangeAccessiblePrivate *priv;
};
GtkRangeAccessibleClass
struct _GtkRangeAccessibleClass
{
GtkWidgetAccessibleClass parent_class;
};
gtk_range_accessible_get_type
GType
void
GtkRangeAccessiblePrivate
GTK_TYPE_RENDERER_CELL_ACCESSIBLE
#define GTK_TYPE_RENDERER_CELL_ACCESSIBLE (gtk_renderer_cell_accessible_get_type ())
GTK_RENDERER_CELL_ACCESSIBLE
#define GTK_RENDERER_CELL_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_RENDERER_CELL_ACCESSIBLE, GtkRendererCellAccessible))
GTK_RENDERER_CELL_ACCESSIBLE_CLASS
#define GTK_RENDERER_CELL_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_RENDERER_CELL_ACCESSIBLE, GtkRendererCellAccessibleClass))
GTK_IS_RENDERER_CELL_ACCESSIBLE
#define GTK_IS_RENDERER_CELL_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_RENDERER_CELL_ACCESSIBLE))
GTK_IS_RENDERER_CELL_ACCESSIBLE_CLASS
#define GTK_IS_RENDERER_CELL_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_RENDERER_CELL_ACCESSIBLE))
GTK_RENDERER_CELL_ACCESSIBLE_GET_CLASS
#define GTK_RENDERER_CELL_ACCESSIBLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_RENDERER_CELL_ACCESSIBLE, GtkRendererCellAccessibleClass))
GtkRendererCellAccessible
struct _GtkRendererCellAccessible
{
GtkCellAccessible parent;
GtkRendererCellAccessiblePrivate *priv;
};
GtkRendererCellAccessibleClass
struct _GtkRendererCellAccessibleClass
{
GtkCellAccessibleClass parent_class;
};
gtk_renderer_cell_accessible_get_type
GType
void
gtk_renderer_cell_accessible_new
AtkObject *
GtkCellRenderer * renderer
GtkRendererCellAccessiblePrivate
GTK_TYPE_SCALE_ACCESSIBLE
#define GTK_TYPE_SCALE_ACCESSIBLE (gtk_scale_accessible_get_type ())
GTK_SCALE_ACCESSIBLE
#define GTK_SCALE_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_SCALE_ACCESSIBLE, GtkScaleAccessible))
GTK_SCALE_ACCESSIBLE_CLASS
#define GTK_SCALE_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_SCALE_ACCESSIBLE, GtkScaleAccessibleClass))
GTK_IS_SCALE_ACCESSIBLE
#define GTK_IS_SCALE_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_SCALE_ACCESSIBLE))
GTK_IS_SCALE_ACCESSIBLE_CLASS
#define GTK_IS_SCALE_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_SCALE_ACCESSIBLE))
GTK_SCALE_ACCESSIBLE_GET_CLASS
#define GTK_SCALE_ACCESSIBLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_SCALE_ACCESSIBLE, GtkScaleAccessibleClass))
GtkScaleAccessible
struct _GtkScaleAccessible
{
GtkRangeAccessible parent;
GtkScaleAccessiblePrivate *priv;
};
GtkScaleAccessibleClass
struct _GtkScaleAccessibleClass
{
GtkRangeAccessibleClass parent_class;
};
gtk_scale_accessible_get_type
GType
void
GtkScaleAccessiblePrivate
GTK_TYPE_SCALE_BUTTON_ACCESSIBLE
#define GTK_TYPE_SCALE_BUTTON_ACCESSIBLE (gtk_scale_button_accessible_get_type ())
GTK_SCALE_BUTTON_ACCESSIBLE
#define GTK_SCALE_BUTTON_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_SCALE_BUTTON_ACCESSIBLE, GtkScaleButtonAccessible))
GTK_SCALE_BUTTON_ACCESSIBLE_CLASS
#define GTK_SCALE_BUTTON_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_SCALE_BUTTON_ACCESSIBLE, GtkScaleButtonAccessibleClass))
GTK_IS_SCALE_BUTTON_ACCESSIBLE
#define GTK_IS_SCALE_BUTTON_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_SCALE_BUTTON_ACCESSIBLE))
GTK_IS_SCALE_BUTTON_ACCESSIBLE_CLASS
#define GTK_IS_SCALE_BUTTON_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_SCALE_BUTTON_ACCESSIBLE))
GTK_SCALE_BUTTON_ACCESSIBLE_GET_CLASS
#define GTK_SCALE_BUTTON_ACCESSIBLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_SCALE_BUTTON_ACCESSIBLE, GtkScaleButtonAccessibleClass))
GtkScaleButtonAccessible
struct _GtkScaleButtonAccessible
{
GtkButtonAccessible parent;
GtkScaleButtonAccessiblePrivate *priv;
};
GtkScaleButtonAccessibleClass
struct _GtkScaleButtonAccessibleClass
{
GtkButtonAccessibleClass parent_class;
};
gtk_scale_button_accessible_get_type
GType
void
GtkScaleButtonAccessiblePrivate
GTK_TYPE_SCROLLED_WINDOW_ACCESSIBLE
#define GTK_TYPE_SCROLLED_WINDOW_ACCESSIBLE (gtk_scrolled_window_accessible_get_type ())
GTK_SCROLLED_WINDOW_ACCESSIBLE
#define GTK_SCROLLED_WINDOW_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_SCROLLED_WINDOW_ACCESSIBLE, GtkScrolledWindowAccessible))
GTK_SCROLLED_WINDOW_ACCESSIBLE_CLASS
#define GTK_SCROLLED_WINDOW_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_SCROLLED_WINDOW_ACCESSIBLE, GtkScrolledWindowAccessibleClass))
GTK_IS_SCROLLED_WINDOW_ACCESSIBLE
#define GTK_IS_SCROLLED_WINDOW_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_SCROLLED_WINDOW_ACCESSIBLE))
GTK_IS_SCROLLED_WINDOW_ACCESSIBLE_CLASS
#define GTK_IS_SCROLLED_WINDOW_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_SCROLLED_WINDOW_ACCESSIBLE))
GTK_SCROLLED_WINDOW_ACCESSIBLE_GET_CLASS
#define GTK_SCROLLED_WINDOW_ACCESSIBLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_SCROLLED_WINDOW_ACCESSIBLE, GtkScrolledWindowAccessibleClass))
GtkScrolledWindowAccessible
struct _GtkScrolledWindowAccessible
{
GtkContainerAccessible parent;
GtkScrolledWindowAccessiblePrivate *priv;
};
GtkScrolledWindowAccessibleClass
struct _GtkScrolledWindowAccessibleClass
{
GtkContainerAccessibleClass parent_class;
};
gtk_scrolled_window_accessible_get_type
GType
void
GtkScrolledWindowAccessiblePrivate
GTK_TYPE_SPIN_BUTTON_ACCESSIBLE
#define GTK_TYPE_SPIN_BUTTON_ACCESSIBLE (gtk_spin_button_accessible_get_type ())
GTK_SPIN_BUTTON_ACCESSIBLE
#define GTK_SPIN_BUTTON_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_SPIN_BUTTON_ACCESSIBLE, GtkSpinButtonAccessible))
GTK_SPIN_BUTTON_ACCESSIBLE_CLASS
#define GTK_SPIN_BUTTON_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_SPIN_BUTTON_ACCESSIBLE, GtkSpinButtonAccessibleClass))
GTK_IS_SPIN_BUTTON_ACCESSIBLE
#define GTK_IS_SPIN_BUTTON_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_SPIN_BUTTON_ACCESSIBLE))
GTK_IS_SPIN_BUTTON_ACCESSIBLE_CLASS
#define GTK_IS_SPIN_BUTTON_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_SPIN_BUTTON_ACCESSIBLE))
GTK_SPIN_BUTTON_ACCESSIBLE_GET_CLASS
#define GTK_SPIN_BUTTON_ACCESSIBLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_SPIN_BUTTON_ACCESSIBLE, GtkSpinButtonAccessibleClass))
GtkSpinButtonAccessible
struct _GtkSpinButtonAccessible
{
GtkEntryAccessible parent;
GtkSpinButtonAccessiblePrivate *priv;
};
GtkSpinButtonAccessibleClass
struct _GtkSpinButtonAccessibleClass
{
GtkEntryAccessibleClass parent_class;
};
gtk_spin_button_accessible_get_type
GType
void
GtkSpinButtonAccessiblePrivate
GTK_TYPE_SPINNER_ACCESSIBLE
#define GTK_TYPE_SPINNER_ACCESSIBLE (gtk_spinner_accessible_get_type ())
GTK_SPINNER_ACCESSIBLE
#define GTK_SPINNER_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_SPINNER_ACCESSIBLE, GtkSpinnerAccessible))
GTK_SPINNER_ACCESSIBLE_CLASS
#define GTK_SPINNER_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_SPINNER_ACCESSIBLE, GtkSpinnerAccessibleClass))
GTK_IS_SPINNER_ACCESSIBLE
#define GTK_IS_SPINNER_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_SPINNER_ACCESSIBLE))
GTK_IS_SPINNER_ACCESSIBLE_CLASS
#define GTK_IS_SPINNER_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_SPINNER_ACCESSIBLE))
GTK_SPINNER_ACCESSIBLE_GET_CLASS
#define GTK_SPINNER_ACCESSIBLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_SPINNER_ACCESSIBLE, GtkSpinnerAccessibleClass))
GtkSpinnerAccessible
struct _GtkSpinnerAccessible
{
GtkWidgetAccessible parent;
GtkSpinnerAccessiblePrivate *priv;
};
GtkSpinnerAccessibleClass
struct _GtkSpinnerAccessibleClass
{
GtkWidgetAccessibleClass parent_class;
};
gtk_spinner_accessible_get_type
GType
void
GtkSpinnerAccessiblePrivate
GTK_TYPE_STACK_ACCESSIBLE
#define GTK_TYPE_STACK_ACCESSIBLE (gtk_stack_accessible_get_type ())
GTK_STACK_ACCESSIBLE
#define GTK_STACK_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_STACK_ACCESSIBLE, GtkStackAccessible))
GTK_STACK_ACCESSIBLE_CLASS
#define GTK_STACK_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_STACK_ACCESSIBLE, GtkStackAccessibleClass))
GTK_IS_STACK_ACCESSIBLE
#define GTK_IS_STACK_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_STACK_ACCESSIBLE))
GTK_IS_STACK_ACCESSIBLE_CLASS
#define GTK_IS_STACK_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_STACK_ACCESSIBLE))
GTK_STACK_ACCESSIBLE_GET_CLASS
#define GTK_STACK_ACCESSIBLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_STACK_ACCESSIBLE, GtkStackAccessibleClass))
GtkStackAccessible
struct _GtkStackAccessible
{
GtkContainerAccessible parent;
};
GtkStackAccessibleClass
struct _GtkStackAccessibleClass
{
GtkContainerAccessibleClass parent_class;
};
gtk_stack_accessible_get_type
GType
void
gtk_stack_accessible_update_visible_child
void
GtkStack *stack, GtkWidget *old_visible_child, GtkWidget *new_visible_child
GTK_TYPE_STATUSBAR_ACCESSIBLE
#define GTK_TYPE_STATUSBAR_ACCESSIBLE (gtk_statusbar_accessible_get_type ())
GTK_STATUSBAR_ACCESSIBLE
#define GTK_STATUSBAR_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_STATUSBAR_ACCESSIBLE, GtkStatusbarAccessible))
GTK_STATUSBAR_ACCESSIBLE_CLASS
#define GTK_STATUSBAR_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_STATUSBAR_ACCESSIBLE, GtkStatusbarAccessibleClass))
GTK_IS_STATUSBAR_ACCESSIBLE
#define GTK_IS_STATUSBAR_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_STATUSBAR_ACCESSIBLE))
GTK_IS_STATUSBAR_ACCESSIBLE_CLASS
#define GTK_IS_STATUSBAR_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_STATUSBAR_ACCESSIBLE))
GTK_STATUSBAR_ACCESSIBLE_GET_CLASS
#define GTK_STATUSBAR_ACCESSIBLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_STATUSBAR_ACCESSIBLE, GtkStatusbarAccessibleClass))
GtkStatusbarAccessible
struct _GtkStatusbarAccessible
{
GtkContainerAccessible parent;
GtkStatusbarAccessiblePrivate *priv;
};
GtkStatusbarAccessibleClass
struct _GtkStatusbarAccessibleClass
{
GtkContainerAccessibleClass parent_class;
};
gtk_statusbar_accessible_get_type
GType
void
GtkStatusbarAccessiblePrivate
GTK_TYPE_SWITCH_ACCESSIBLE
#define GTK_TYPE_SWITCH_ACCESSIBLE (gtk_switch_accessible_get_type ())
GTK_SWITCH_ACCESSIBLE
#define GTK_SWITCH_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_SWITCH_ACCESSIBLE, GtkSwitchAccessible))
GTK_SWITCH_ACCESSIBLE_CLASS
#define GTK_SWITCH_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_SWITCH_ACCESSIBLE, GtkSwitchAccessibleClass))
GTK_IS_SWITCH_ACCESSIBLE
#define GTK_IS_SWITCH_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_SWITCH_ACCESSIBLE))
GTK_IS_SWITCH_ACCESSIBLE_CLASS
#define GTK_IS_SWITCH_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_SWITCH_ACCESSIBLE))
GTK_SWITCH_ACCESSIBLE_GET_CLASS
#define GTK_SWITCH_ACCESSIBLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_SWITCH_ACCESSIBLE, GtkSwitchAccessibleClass))
GtkSwitchAccessible
struct _GtkSwitchAccessible
{
GtkWidgetAccessible parent;
GtkSwitchAccessiblePrivate *priv;
};
GtkSwitchAccessibleClass
struct _GtkSwitchAccessibleClass
{
GtkWidgetAccessibleClass parent_class;
};
gtk_switch_accessible_get_type
GType
void
GtkSwitchAccessiblePrivate
GTK_TYPE_TEXT_ACCESSIBLE
#define GTK_TYPE_TEXT_ACCESSIBLE (gtk_text_accessible_get_type ())
GTK_TEXT_ACCESSIBLE
#define GTK_TEXT_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_TEXT_ACCESSIBLE, GtkTextAccessible))
GTK_TEXT_ACCESSIBLE_CLASS
#define GTK_TEXT_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_TEXT_ACCESSIBLE, GtkTextAccessibleClass))
GTK_IS_TEXT_ACCESSIBLE
#define GTK_IS_TEXT_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_TEXT_ACCESSIBLE))
GTK_IS_TEXT_ACCESSIBLE_CLASS
#define GTK_IS_TEXT_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_TEXT_ACCESSIBLE))
GTK_TEXT_ACCESSIBLE_GET_CLASS
#define GTK_TEXT_ACCESSIBLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_TEXT_ACCESSIBLE, GtkTextAccessibleClass))
GtkTextAccessible
struct _GtkTextAccessible
{
GtkWidgetAccessible parent;
GtkTextAccessiblePrivate *priv;
};
GtkTextAccessibleClass
struct _GtkTextAccessibleClass
{
GtkWidgetAccessibleClass parent_class;
};
gtk_text_accessible_get_type
GType
void
GtkTextAccessiblePrivate
GTK_TYPE_TEXT_CELL_ACCESSIBLE
#define GTK_TYPE_TEXT_CELL_ACCESSIBLE (gtk_text_cell_accessible_get_type ())
GTK_TEXT_CELL_ACCESSIBLE
#define GTK_TEXT_CELL_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_TEXT_CELL_ACCESSIBLE, GtkTextCellAccessible))
GTK_TEXT_CELL_ACCESSIBLE_CLASS
#define GTK_TEXT_CELL_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TEXT_CELL_ACCESSIBLE, GtkTextCellAccessibleClass))
GTK_IS_TEXT_CELL_ACCESSIBLE
#define GTK_IS_TEXT_CELL_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_TEXT_CELL_ACCESSIBLE))
GTK_IS_TEXT_CELL_ACCESSIBLE_CLASS
#define GTK_IS_TEXT_CELL_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_TEXT_CELL_ACCESSIBLE))
GTK_TEXT_CELL_ACCESSIBLE_GET_CLASS
#define GTK_TEXT_CELL_ACCESSIBLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_TEXT_CELL_ACCESSIBLE, GtkTextCellAccessibleClass))
GtkTextCellAccessible
struct _GtkTextCellAccessible
{
GtkRendererCellAccessible parent;
GtkTextCellAccessiblePrivate *priv;
};
GtkTextCellAccessibleClass
struct _GtkTextCellAccessibleClass
{
GtkRendererCellAccessibleClass parent_class;
};
gtk_text_cell_accessible_get_type
GType
void
GtkTextCellAccessiblePrivate
GTK_TYPE_TEXT_VIEW_ACCESSIBLE
#define GTK_TYPE_TEXT_VIEW_ACCESSIBLE (gtk_text_view_accessible_get_type ())
GTK_TEXT_VIEW_ACCESSIBLE
#define GTK_TEXT_VIEW_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_TEXT_VIEW_ACCESSIBLE, GtkTextViewAccessible))
GTK_TEXT_VIEW_ACCESSIBLE_CLASS
#define GTK_TEXT_VIEW_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_TEXT_VIEW_ACCESSIBLE, GtkTextViewAccessibleClass))
GTK_IS_TEXT_VIEW_ACCESSIBLE
#define GTK_IS_TEXT_VIEW_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_TEXT_VIEW_ACCESSIBLE))
GTK_IS_TEXT_VIEW_ACCESSIBLE_CLASS
#define GTK_IS_TEXT_VIEW_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_TEXT_VIEW_ACCESSIBLE))
GTK_TEXT_VIEW_ACCESSIBLE_GET_CLASS
#define GTK_TEXT_VIEW_ACCESSIBLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_TEXT_VIEW_ACCESSIBLE, GtkTextViewAccessibleClass))
GtkTextViewAccessible
struct _GtkTextViewAccessible
{
GtkContainerAccessible parent;
GtkTextViewAccessiblePrivate *priv;
};
GtkTextViewAccessibleClass
struct _GtkTextViewAccessibleClass
{
GtkContainerAccessibleClass parent_class;
};
gtk_text_view_accessible_get_type
GType
void
GtkTextViewAccessiblePrivate
GTK_TYPE_TOGGLE_BUTTON_ACCESSIBLE
#define GTK_TYPE_TOGGLE_BUTTON_ACCESSIBLE (gtk_toggle_button_accessible_get_type ())
GTK_TOGGLE_BUTTON_ACCESSIBLE
#define GTK_TOGGLE_BUTTON_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_TOGGLE_BUTTON_ACCESSIBLE, GtkToggleButtonAccessible))
GTK_TOGGLE_BUTTON_ACCESSIBLE_CLASS
#define GTK_TOGGLE_BUTTON_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_TOGGLE_BUTTON_ACCESSIBLE, GtkToggleButtonAccessibleClass))
GTK_IS_TOGGLE_BUTTON_ACCESSIBLE
#define GTK_IS_TOGGLE_BUTTON_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_TOGGLE_BUTTON_ACCESSIBLE))
GTK_IS_TOGGLE_BUTTON_ACCESSIBLE_CLASS
#define GTK_IS_TOGGLE_BUTTON_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_TOGGLE_BUTTON_ACCESSIBLE))
GTK_TOGGLE_BUTTON_ACCESSIBLE_GET_CLASS
#define GTK_TOGGLE_BUTTON_ACCESSIBLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_TOGGLE_BUTTON_ACCESSIBLE, GtkToggleButtonAccessibleClass))
GtkToggleButtonAccessible
struct _GtkToggleButtonAccessible
{
GtkButtonAccessible parent;
GtkToggleButtonAccessiblePrivate *priv;
};
GtkToggleButtonAccessibleClass
struct _GtkToggleButtonAccessibleClass
{
GtkButtonAccessibleClass parent_class;
};
gtk_toggle_button_accessible_get_type
GType
void
GtkToggleButtonAccessiblePrivate
GTK_TYPE_TOPLEVEL_ACCESSIBLE
#define GTK_TYPE_TOPLEVEL_ACCESSIBLE (gtk_toplevel_accessible_get_type ())
GTK_TOPLEVEL_ACCESSIBLE
#define GTK_TOPLEVEL_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_TOPLEVEL_ACCESSIBLE, GtkToplevelAccessible))
GTK_TOPLEVEL_ACCESSIBLE_CLASS
#define GTK_TOPLEVEL_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_TOPLEVEL_ACCESSIBLE, GtkToplevelAccessibleClass))
GTK_IS_TOPLEVEL_ACCESSIBLE
#define GTK_IS_TOPLEVEL_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_TOPLEVEL_ACCESSIBLE))
GTK_IS_TOPLEVEL_ACCESSIBLE_CLASS
#define GTK_IS_TOPLEVEL_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_TOPLEVEL_ACCESSIBLE))
GTK_TOPLEVEL_ACCESSIBLE_GET_CLASS
#define GTK_TOPLEVEL_ACCESSIBLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_TOPLEVEL_ACCESSIBLE, GtkToplevelAccessibleClass))
GtkToplevelAccessible
struct _GtkToplevelAccessible
{
AtkObject parent;
GtkToplevelAccessiblePrivate *priv;
};
GtkToplevelAccessibleClass
struct _GtkToplevelAccessibleClass
{
AtkObjectClass parent_class;
};
gtk_toplevel_accessible_get_type
GType
void
gtk_toplevel_accessible_get_children
GList *
GtkToplevelAccessible *accessible
GtkToplevelAccessiblePrivate
GTK_TYPE_TREE_VIEW_ACCESSIBLE
#define GTK_TYPE_TREE_VIEW_ACCESSIBLE (gtk_tree_view_accessible_get_type ())
GTK_TREE_VIEW_ACCESSIBLE
#define GTK_TREE_VIEW_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_TREE_VIEW_ACCESSIBLE, GtkTreeViewAccessible))
GTK_TREE_VIEW_ACCESSIBLE_CLASS
#define GTK_TREE_VIEW_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_TREE_VIEW_ACCESSIBLE, GtkTreeViewAccessibleClass))
GTK_IS_TREE_VIEW_ACCESSIBLE
#define GTK_IS_TREE_VIEW_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_TREE_VIEW_ACCESSIBLE))
GTK_IS_TREE_VIEW_ACCESSIBLE_CLASS
#define GTK_IS_TREE_VIEW_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_TREE_VIEW_ACCESSIBLE))
GTK_TREE_VIEW_ACCESSIBLE_GET_CLASS
#define GTK_TREE_VIEW_ACCESSIBLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_TREE_VIEW_ACCESSIBLE, GtkTreeViewAccessibleClass))
GtkTreeViewAccessible
struct _GtkTreeViewAccessible
{
GtkContainerAccessible parent;
GtkTreeViewAccessiblePrivate *priv;
};
GtkTreeViewAccessibleClass
struct _GtkTreeViewAccessibleClass
{
GtkContainerAccessibleClass parent_class;
};
gtk_tree_view_accessible_get_type
GType
void
GtkTreeViewAccessiblePrivate
GTK_TYPE_WIDGET_ACCESSIBLE
#define GTK_TYPE_WIDGET_ACCESSIBLE (gtk_widget_accessible_get_type ())
GTK_WIDGET_ACCESSIBLE
#define GTK_WIDGET_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_WIDGET_ACCESSIBLE, GtkWidgetAccessible))
GTK_WIDGET_ACCESSIBLE_CLASS
#define GTK_WIDGET_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_WIDGET_ACCESSIBLE, GtkWidgetAccessibleClass))
GTK_IS_WIDGET_ACCESSIBLE
#define GTK_IS_WIDGET_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_WIDGET_ACCESSIBLE))
GTK_IS_WIDGET_ACCESSIBLE_CLASS
#define GTK_IS_WIDGET_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_WIDGET_ACCESSIBLE))
GTK_WIDGET_ACCESSIBLE_GET_CLASS
#define GTK_WIDGET_ACCESSIBLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_WIDGET_ACCESSIBLE, GtkWidgetAccessibleClass))
GtkWidgetAccessible
struct _GtkWidgetAccessible
{
GtkAccessible parent;
GtkWidgetAccessiblePrivate *priv;
};
GtkWidgetAccessibleClass
struct _GtkWidgetAccessibleClass
{
GtkAccessibleClass parent_class;
/*
* Signal handler for notify signal on GTK widget
*/
void (*notify_gtk) (GObject *object,
GParamSpec *pspec);
};
gtk_widget_accessible_get_type
GType
void
GtkWidgetAccessiblePrivate
GTK_TYPE_WINDOW_ACCESSIBLE
#define GTK_TYPE_WINDOW_ACCESSIBLE (gtk_window_accessible_get_type ())
GTK_WINDOW_ACCESSIBLE
#define GTK_WINDOW_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_WINDOW_ACCESSIBLE, GtkWindowAccessible))
GTK_WINDOW_ACCESSIBLE_CLASS
#define GTK_WINDOW_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_WINDOW_ACCESSIBLE, GtkWindowAccessibleClass))
GTK_IS_WINDOW_ACCESSIBLE
#define GTK_IS_WINDOW_ACCESSIBLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_WINDOW_ACCESSIBLE))
GTK_IS_WINDOW_ACCESSIBLE_CLASS
#define GTK_IS_WINDOW_ACCESSIBLE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_WINDOW_ACCESSIBLE))
GTK_WINDOW_ACCESSIBLE_GET_CLASS
#define GTK_WINDOW_ACCESSIBLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_WINDOW_ACCESSIBLE, GtkWindowAccessibleClass))
GtkWindowAccessible
struct _GtkWindowAccessible
{
GtkContainerAccessible parent;
GtkWindowAccessiblePrivate *priv;
};
GtkWindowAccessibleClass
struct _GtkWindowAccessibleClass
{
GtkContainerAccessibleClass parent_class;
};
gtk_window_accessible_get_type
GType
void
GtkWindowAccessiblePrivate
gtk_css_data_url_parse
GBytes *
const char *url, char **out_mimetype, GError **error
GtkCssParserError
typedef enum
{
GTK_CSS_PARSER_ERROR_FAILED,
GTK_CSS_PARSER_ERROR_SYNTAX,
GTK_CSS_PARSER_ERROR_IMPORT,
GTK_CSS_PARSER_ERROR_NAME,
GTK_CSS_PARSER_ERROR_UNKNOWN_VALUE
} GtkCssParserError;
GtkCssParserWarning
typedef enum
{
GTK_CSS_PARSER_WARNING_DEPRECATED,
GTK_CSS_PARSER_WARNING_SYNTAX,
GTK_CSS_PARSER_WARNING_UNIMPLEMENTED
} GtkCssParserWarning;
GTK_CSS_PARSER_ERROR
#define GTK_CSS_PARSER_ERROR (gtk_css_parser_error_quark ())
gtk_css_parser_error_quark
GQuark
void
GTK_CSS_PARSER_WARNING
#define GTK_CSS_PARSER_WARNING (gtk_css_parser_warning_quark ())
gtk_css_parser_warning_quark
GQuark
void
GtkCssLocation
struct _GtkCssLocation
{
gsize bytes;
gsize chars;
gsize lines;
gsize line_bytes;
gsize line_chars;
};
gtk_css_location_init
void
GtkCssLocation *location
gtk_css_location_advance
void
GtkCssLocation *location, gsize bytes, gsize chars
gtk_css_location_advance_newline
void
GtkCssLocation *location, gboolean is_windows
GTK_TYPE_CSS_SECTION
#define GTK_TYPE_CSS_SECTION (gtk_css_section_get_type ())
gtk_css_section_get_type
GType
void
gtk_css_section_new
GtkCssSection *
GFile *file, const GtkCssLocation *start, const GtkCssLocation *end
gtk_css_section_ref
GtkCssSection *
GtkCssSection *section
gtk_css_section_unref
void
GtkCssSection *section
gtk_css_section_print
void
const GtkCssSection *section, GString *string
gtk_css_section_to_string
char *
const GtkCssSection *section
gtk_css_section_get_parent
GtkCssSection *
const GtkCssSection *section
gtk_css_section_get_file
GFile *
const GtkCssSection *section
gtk_css_section_get_start_location
const GtkCssLocation *
const GtkCssSection *section
gtk_css_section_get_end_location
const GtkCssLocation *
const GtkCssSection *section
GtkCssSection
GtkCssTokenType
typedef enum {
/* no content */
GTK_CSS_TOKEN_EOF,
GTK_CSS_TOKEN_WHITESPACE,
GTK_CSS_TOKEN_OPEN_PARENS,
GTK_CSS_TOKEN_CLOSE_PARENS,
GTK_CSS_TOKEN_OPEN_SQUARE,
GTK_CSS_TOKEN_CLOSE_SQUARE,
GTK_CSS_TOKEN_OPEN_CURLY,
GTK_CSS_TOKEN_CLOSE_CURLY,
GTK_CSS_TOKEN_COMMA,
GTK_CSS_TOKEN_COLON,
GTK_CSS_TOKEN_SEMICOLON,
GTK_CSS_TOKEN_CDO,
GTK_CSS_TOKEN_CDC,
GTK_CSS_TOKEN_INCLUDE_MATCH,
GTK_CSS_TOKEN_DASH_MATCH,
GTK_CSS_TOKEN_PREFIX_MATCH,
GTK_CSS_TOKEN_SUFFIX_MATCH,
GTK_CSS_TOKEN_SUBSTRING_MATCH,
GTK_CSS_TOKEN_COLUMN,
GTK_CSS_TOKEN_BAD_STRING,
GTK_CSS_TOKEN_BAD_URL,
GTK_CSS_TOKEN_COMMENT,
/* delim */
GTK_CSS_TOKEN_DELIM,
/* string */
GTK_CSS_TOKEN_STRING,
GTK_CSS_TOKEN_IDENT,
GTK_CSS_TOKEN_FUNCTION,
GTK_CSS_TOKEN_AT_KEYWORD,
GTK_CSS_TOKEN_HASH_UNRESTRICTED,
GTK_CSS_TOKEN_HASH_ID,
GTK_CSS_TOKEN_URL,
/* number */
GTK_CSS_TOKEN_SIGNED_INTEGER,
GTK_CSS_TOKEN_SIGNLESS_INTEGER,
GTK_CSS_TOKEN_SIGNED_NUMBER,
GTK_CSS_TOKEN_SIGNLESS_NUMBER,
GTK_CSS_TOKEN_PERCENTAGE,
/* dimension */
GTK_CSS_TOKEN_SIGNED_INTEGER_DIMENSION,
GTK_CSS_TOKEN_SIGNLESS_INTEGER_DIMENSION,
GTK_CSS_TOKEN_DIMENSION
} GtkCssTokenType;
GtkCssStringToken
struct _GtkCssStringToken {
GtkCssTokenType type;
char *string;
};
GtkCssDelimToken
struct _GtkCssDelimToken {
GtkCssTokenType type;
gunichar delim;
};
GtkCssNumberToken
struct _GtkCssNumberToken {
GtkCssTokenType type;
double number;
};
GtkCssDimensionToken
struct _GtkCssDimensionToken {
GtkCssTokenType type;
double value;
char *dimension;
};
GtkCssToken
union _GtkCssToken {
GtkCssTokenType type;
GtkCssStringToken string;
GtkCssDelimToken delim;
GtkCssNumberToken number;
GtkCssDimensionToken dimension;
};
gtk_css_token_clear
void
GtkCssToken *token
gtk_css_token_is_finite
gboolean
const GtkCssToken *token
gtk_css_token_is_preserved
gboolean
const GtkCssToken *token, GtkCssTokenType *out_closing
gtk_css_token_is
#define gtk_css_token_is(token, _type) ((token)->type == (_type))
gtk_css_token_is_ident
gboolean
const GtkCssToken *token, const char *ident
gtk_css_token_is_function
gboolean
const GtkCssToken *token, const char *ident
gtk_css_token_is_delim
gboolean
const GtkCssToken *token, gunichar delim
gtk_css_token_print
void
const GtkCssToken *token, GString *string
gtk_css_token_to_string
char *
const GtkCssToken *token
gtk_css_tokenizer_new
GtkCssTokenizer *
GBytes *bytes
gtk_css_tokenizer_ref
GtkCssTokenizer *
GtkCssTokenizer *tokenizer
gtk_css_tokenizer_unref
void
GtkCssTokenizer *tokenizer
gtk_css_tokenizer_get_location
const GtkCssLocation *
GtkCssTokenizer *tokenizer
gtk_css_tokenizer_read_token
gboolean
GtkCssTokenizer *tokenizer, GtkCssToken *token, GError **error
GtkCssTokenizer
GTK_TYPE_INSPECTOR_ACTION_EDITOR
#define GTK_TYPE_INSPECTOR_ACTION_EDITOR (gtk_inspector_action_editor_get_type())
GTK_INSPECTOR_ACTION_EDITOR
#define GTK_INSPECTOR_ACTION_EDITOR(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_INSPECTOR_ACTION_EDITOR, GtkInspectorActionEditor))
GTK_INSPECTOR_ACTION_EDITOR_CLASS
#define GTK_INSPECTOR_ACTION_EDITOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_INSPECTOR_ACTION_EDITOR, GtkInspectorActionEditorClass))
GTK_INSPECTOR_IS_ACTION_EDITOR
#define GTK_INSPECTOR_IS_ACTION_EDITOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_INSPECTOR_ACTION_EDITOR))
GTK_INSPECTOR_IS_ACTION_EDITOR_CLASS
#define GTK_INSPECTOR_IS_ACTION_EDITOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GTK_TYPE_INSPECTOR_ACTION_EDITOR))
GTK_INSPECTOR_ACTION_EDITOR_GET_CLASS
#define GTK_INSPECTOR_ACTION_EDITOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_INSPECTOR_ACTION_EDITOR, GtkInspectorActionEditorClass))
gtk_inspector_action_editor_get_type
GType
void
gtk_inspector_action_editor_new
GtkWidget *
GActionGroup *group, const gchar *name, GtkSizeGroup *activate
gtk_inspector_action_editor_update
void
GtkInspectorActionEditor *r, gboolean enabled, GVariant *state
GtkInspectorActionEditorPrivate
GTK_TYPE_INSPECTOR_ACTIONS
#define GTK_TYPE_INSPECTOR_ACTIONS (gtk_inspector_actions_get_type())
GTK_INSPECTOR_ACTIONS
#define GTK_INSPECTOR_ACTIONS(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_INSPECTOR_ACTIONS, GtkInspectorActions))
GTK_INSPECTOR_ACTIONS_CLASS
#define GTK_INSPECTOR_ACTIONS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_INSPECTOR_ACTIONS, GtkInspectorActionsClass))
GTK_INSPECTOR_IS_ACTIONS
#define GTK_INSPECTOR_IS_ACTIONS(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_INSPECTOR_ACTIONS))
GTK_INSPECTOR_IS_ACTIONS_CLASS
#define GTK_INSPECTOR_IS_ACTIONS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GTK_TYPE_INSPECTOR_ACTIONS))
GTK_INSPECTOR_ACTIONS_GET_CLASS
#define GTK_INSPECTOR_ACTIONS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_INSPECTOR_ACTIONS, GtkInspectorActionsClass))
gtk_inspector_actions_get_type
GType
void
gtk_inspector_actions_set_object
void
GtkInspectorActions *sl, GObject *object
GtkInspectorActionsPrivate
GTK_TYPE_BASELINE_OVERLAY
#define GTK_TYPE_BASELINE_OVERLAY (gtk_baseline_overlay_get_type ())
gtk_baseline_overlay_new
GtkInspectorOverlay *
void
GtkBaselineOverlay
GTK_TYPE_CELL_RENDERER_GRAPH
#define GTK_TYPE_CELL_RENDERER_GRAPH (gtk_cell_renderer_graph_get_type ())
GTK_CELL_RENDERER_GRAPH
#define GTK_CELL_RENDERER_GRAPH(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_CELL_RENDERER_GRAPH, GtkCellRendererGraph))
GTK_CELL_RENDERER_GRAPH_CLASS
#define GTK_CELL_RENDERER_GRAPH_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_CELL_RENDERER_GRAPH, GtkCellRendererGraphClass))
GTK_IS_CELL_RENDERER_GRAPH
#define GTK_IS_CELL_RENDERER_GRAPH(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_CELL_RENDERER_GRAPH))
GTK_IS_CELL_RENDERER_GRAPH_CLASS
#define GTK_IS_CELL_RENDERER_GRAPH_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_CELL_RENDERER_GRAPH))
GTK_CELL_RENDERER_GRAPH_GET_CLASS
#define GTK_CELL_RENDERER_GRAPH_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_CELL_RENDERER_GRAPH, GtkCellRendererGraphClass))
GtkCellRendererGraph
struct _GtkCellRendererGraph
{
GtkCellRenderer parent;
/*< private >*/
GtkCellRendererGraphPrivate *priv;
};
GtkCellRendererGraphClass
struct _GtkCellRendererGraphClass
{
GtkCellRendererClass parent_class;
/* Padding for future expansion */
void (*_gtk_reserved1) (void);
void (*_gtk_reserved2) (void);
void (*_gtk_reserved3) (void);
void (*_gtk_reserved4) (void);
};
gtk_cell_renderer_graph_get_type
GType
void
gtk_cell_renderer_graph_new
GtkCellRenderer *
void
GtkCellRendererGraphPrivate
GTK_TYPE_INSPECTOR_CONTROLLERS
#define GTK_TYPE_INSPECTOR_CONTROLLERS (gtk_inspector_controllers_get_type())
GTK_INSPECTOR_CONTROLLERS
#define GTK_INSPECTOR_CONTROLLERS(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_INSPECTOR_CONTROLLERS, GtkInspectorControllers))
GTK_INSPECTOR_CONTROLLERS_CLASS
#define GTK_INSPECTOR_CONTROLLERS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_INSPECTOR_CONTROLLERS, GtkInspectorControllersClass))
GTK_INSPECTOR_IS_GESTURES
#define GTK_INSPECTOR_IS_GESTURES(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_INSPECTOR_CONTROLLERS))
GTK_INSPECTOR_IS_GESTURES_CLASS
#define GTK_INSPECTOR_IS_GESTURES_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GTK_TYPE_INSPECTOR_CONTROLLERS))
GTK_INSPECTOR_CONTROLLERS_GET_CLASS
#define GTK_INSPECTOR_CONTROLLERS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_INSPECTOR_CONTROLLERS, GtkInspectorControllersClass))
gtk_inspector_controllers_get_type
GType
void
gtk_inspector_controllers_set_object
void
GtkInspectorControllers *sl, GObject *object
GtkInspectorControllersPrivate
GTK_TYPE_INSPECTOR_CSS_EDITOR
#define GTK_TYPE_INSPECTOR_CSS_EDITOR (gtk_inspector_css_editor_get_type())
GTK_INSPECTOR_CSS_EDITOR
#define GTK_INSPECTOR_CSS_EDITOR(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_INSPECTOR_CSS_EDITOR, GtkInspectorCssEditor))
GTK_INSPECTOR_CSS_EDITOR_CLASS
#define GTK_INSPECTOR_CSS_EDITOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_INSPECTOR_CSS_EDITOR, GtkInspectorCssEditorClass))
GTK_INSPECTOR_IS_CSS_EDITOR
#define GTK_INSPECTOR_IS_CSS_EDITOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_INSPECTOR_CSS_EDITOR))
GTK_INSPECTOR_IS_CSS_EDITOR_CLASS
#define GTK_INSPECTOR_IS_CSS_EDITOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GTK_TYPE_INSPECTOR_CSS_EDITOR))
GTK_INSPECTOR_CSS_EDITOR_GET_CLASS
#define GTK_INSPECTOR_CSS_EDITOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_INSPECTOR_CSS_EDITOR, GtkInspectorCssEditorClass))
gtk_inspector_css_editor_get_type
GType
void
gtk_inspector_css_editor_set_display
void
GtkInspectorCssEditor *ce, GdkDisplay *display
GtkInspectorCssEditorPrivate
GTK_TYPE_INSPECTOR_CSS_NODE_TREE
#define GTK_TYPE_INSPECTOR_CSS_NODE_TREE (gtk_inspector_css_node_tree_get_type())
GTK_INSPECTOR_CSS_NODE_TREE
#define GTK_INSPECTOR_CSS_NODE_TREE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_INSPECTOR_CSS_NODE_TREE, GtkInspectorCssNodeTree))
GTK_INSPECTOR_CSS_NODE_TREE_CLASS
#define GTK_INSPECTOR_CSS_NODE_TREE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_INSPECTOR_CSS_NODE_TREE, GtkInspectorCssNodeTreeClass))
GTK_INSPECTOR_IS_CSS_NODE_TREE
#define GTK_INSPECTOR_IS_CSS_NODE_TREE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_INSPECTOR_CSS_NODE_TREE))
GTK_INSPECTOR_IS_CSS_NODE_TREE_CLASS
#define GTK_INSPECTOR_IS_CSS_NODE_TREE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GTK_TYPE_INSPECTOR_CSS_NODE_TREE))
GTK_INSPECTOR_CSS_NODE_TREE_GET_CLASS
#define GTK_INSPECTOR_CSS_NODE_TREE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_INSPECTOR_CSS_NODE_TREE, GtkInspectorCssNodeTreeClass))
gtk_inspector_css_node_tree_get_type
GType
void
gtk_inspector_css_node_tree_set_object
void
GtkInspectorCssNodeTree *cnt, GObject *object
gtk_inspector_css_node_tree_get_node
GtkCssNode *
GtkInspectorCssNodeTree *cnt
gtk_inspector_css_node_tree_set_display
void
GtkInspectorCssNodeTree *cnt, GdkDisplay *display
GtkInspectorCssNodeTreePrivate
GTK_TYPE_INSPECTOR_DATA_LIST
#define GTK_TYPE_INSPECTOR_DATA_LIST (gtk_inspector_data_list_get_type())
GTK_INSPECTOR_DATA_LIST
#define GTK_INSPECTOR_DATA_LIST(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_INSPECTOR_DATA_LIST, GtkInspectorDataList))
GTK_INSPECTOR_DATA_LIST_CLASS
#define GTK_INSPECTOR_DATA_LIST_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_INSPECTOR_DATA_LIST, GtkInspectorDataListClass))
GTK_INSPECTOR_IS_DATA_LIST
#define GTK_INSPECTOR_IS_DATA_LIST(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_INSPECTOR_DATA_LIST))
GTK_INSPECTOR_IS_DATA_LIST_CLASS
#define GTK_INSPECTOR_IS_DATA_LIST_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GTK_TYPE_INSPECTOR_DATA_LIST))
GTK_INSPECTOR_DATA_LIST_GET_CLASS
#define GTK_INSPECTOR_DATA_LIST_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_INSPECTOR_DATA_LIST, GtkInspectorDataListClass))
gtk_inspector_data_list_get_type
GType
void
gtk_inspector_data_list_set_object
void
GtkInspectorDataList *sl, GObject *object
GtkInspectorDataListPrivate
GTK_TYPE_FOCUS_OVERLAY
#define GTK_TYPE_FOCUS_OVERLAY (gtk_focus_overlay_get_type ())
gtk_focus_overlay_new
GtkInspectorOverlay *
void
gtk_focus_overlay_set_color
void
GtkFocusOverlay *self, const GdkRGBA *color
GtkFocusOverlay
GTK_TYPE_FPS_OVERLAY
#define GTK_TYPE_FPS_OVERLAY (gtk_fps_overlay_get_type ())
gtk_fps_overlay_new
GtkInspectorOverlay *
void
GtkFpsOverlay
GTK_TYPE_INSPECTOR_GENERAL
#define GTK_TYPE_INSPECTOR_GENERAL (gtk_inspector_general_get_type())
GTK_INSPECTOR_GENERAL
#define GTK_INSPECTOR_GENERAL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_INSPECTOR_GENERAL, GtkInspectorGeneral))
GTK_INSPECTOR_GENERAL_CLASS
#define GTK_INSPECTOR_GENERAL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_INSPECTOR_GENERAL, GtkInspectorGeneralClass))
GTK_INSPECTOR_IS_GENERAL
#define GTK_INSPECTOR_IS_GENERAL(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_INSPECTOR_GENERAL))
GTK_INSPECTOR_IS_GENERAL_CLASS
#define GTK_INSPECTOR_IS_GENERAL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GTK_TYPE_INSPECTOR_GENERAL))
GTK_INSPECTOR_GENERAL_GET_CLASS
#define GTK_INSPECTOR_GENERAL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_INSPECTOR_GENERAL, GtkInspectorGeneralClass))
gtk_inspector_general_get_type
GType
void
gtk_inspector_general_set_display
void
GtkInspectorGeneral *general, GdkDisplay *display
GtkInspectorGeneralPrivate
GTK_TYPE_GRAPH_DATA
#define GTK_TYPE_GRAPH_DATA (gtk_graph_data_get_type ())
GTK_GRAPH_DATA
#define GTK_GRAPH_DATA(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_GRAPH_DATA, GtkGraphData))
GTK_GRAPH_DATA_CLASS
#define GTK_GRAPH_DATA_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_GRAPH_DATA, GtkGraphDataClass))
GTK_IS_GRAPH_DATA
#define GTK_IS_GRAPH_DATA(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_GRAPH_DATA))
GTK_IS_GRAPH_DATA_CLASS
#define GTK_IS_GRAPH_DATA_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_GRAPH_DATA))
GTK_GRAPH_DATA_GET_CLASS
#define GTK_GRAPH_DATA_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_GRAPH_DATA, GtkGraphDataClass))
GtkGraphData
struct _GtkGraphData
{
GObject object;
/*< private >*/
GtkGraphDataPrivate *priv;
};
GtkGraphDataClass
struct _GtkGraphDataClass
{
GObjectClass parent_class;
/* Padding for future expansion */
void (*_gtk_reserved1) (void);
void (*_gtk_reserved2) (void);
void (*_gtk_reserved3) (void);
void (*_gtk_reserved4) (void);
};
gtk_graph_data_get_type
GType
void
gtk_graph_data_new
GtkGraphData *
guint n_values
gtk_graph_data_get_n_values
guint
GtkGraphData *data
gtk_graph_data_get_value
double
GtkGraphData *data, guint i
gtk_graph_data_get_minimum
double
GtkGraphData *data
gtk_graph_data_get_maximum
double
GtkGraphData *data
gtk_graph_data_prepend_value
void
GtkGraphData *data, double value
GtkGraphDataPrivate
GTK_TYPE_TREE_MODEL_CSS_NODE
#define GTK_TYPE_TREE_MODEL_CSS_NODE (gtk_tree_model_css_node_get_type ())
GTK_TREE_MODEL_CSS_NODE
#define GTK_TREE_MODEL_CSS_NODE(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_TREE_MODEL_CSS_NODE, GtkTreeModelCssNode))
GTK_TREE_MODEL_CSS_NODE_CLASS
#define GTK_TREE_MODEL_CSS_NODE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_TREE_MODEL_CSS_NODE, GtkTreeModelCssNodeClass))
GTK_IS_TREE_MODEL_CSS_NODE
#define GTK_IS_TREE_MODEL_CSS_NODE(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_TREE_MODEL_CSS_NODE))
GTK_IS_TREE_MODEL_CSS_NODE_CLASS
#define GTK_IS_TREE_MODEL_CSS_NODE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_TREE_MODEL_CSS_NODE))
GTK_TREE_MODEL_CSS_NODE_GET_CLASS
#define GTK_TREE_MODEL_CSS_NODE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_TREE_MODEL_CSS_NODE, GtkTreeModelCssNodeClass))
GtkTreeModelCssNodeGetFunc
void
GtkTreeModelCssNode *model, GtkCssNode *node, int column, GValue *value
GtkTreeModelCssNode
struct _GtkTreeModelCssNode
{
GObject parent;
GtkTreeModelCssNodePrivate *priv;
};
GtkTreeModelCssNodeClass
struct _GtkTreeModelCssNodeClass
{
GObjectClass parent_class;
};
gtk_tree_model_css_node_get_type
GType
void
gtk_tree_model_css_node_new
GtkTreeModel *
GtkTreeModelCssNodeGetFunc get_func, gint n_columns, ...
gtk_tree_model_css_node_newv
GtkTreeModel *
GtkTreeModelCssNodeGetFunc get_func, gint n_columns, GType *types
gtk_tree_model_css_node_set_root_node
void
GtkTreeModelCssNode *model, GtkCssNode *node
gtk_tree_model_css_node_get_root_node
GtkCssNode *
GtkTreeModelCssNode *model
gtk_tree_model_css_node_get_node_from_iter
GtkCssNode *
GtkTreeModelCssNode *model, GtkTreeIter *iter
gtk_tree_model_css_node_get_iter_from_node
void
GtkTreeModelCssNode *model, GtkTreeIter *iter, GtkCssNode *node
GtkTreeModelCssNodePrivate
GTK_TYPE_HIGHLIGHT_OVERLAY
#define GTK_TYPE_HIGHLIGHT_OVERLAY (gtk_highlight_overlay_get_type ())
gtk_highlight_overlay_new
GtkInspectorOverlay *
GtkWidget *widget
gtk_highlight_overlay_get_widget
GtkWidget *
GtkHighlightOverlay *self
gtk_highlight_overlay_set_color
void
GtkHighlightOverlay *self, const GdkRGBA *color
GtkHighlightOverlay
gtk_inspector_init
void
void
GTK_TYPE_INSPECTOR_OVERLAY
#define GTK_TYPE_INSPECTOR_OVERLAY (gtk_inspector_overlay_get_type ())
GtkInspectorOverlayClass
struct _GtkInspectorOverlayClass
{
GObjectClass parent_class;
void (* snapshot) (GtkInspectorOverlay *self,
GtkSnapshot *snapshot,
GskRenderNode *node,
GtkWidget *widget);
void (* queue_draw) (GtkInspectorOverlay *self);
};
gtk_inspector_overlay_snapshot
void
GtkInspectorOverlay *self, GtkSnapshot *snapshot, GskRenderNode *node, GtkWidget *widget
gtk_inspector_overlay_queue_draw
void
GtkInspectorOverlay *self
GtkInspectorOverlay
GTK_TYPE_LAYOUT_OVERLAY
#define GTK_TYPE_LAYOUT_OVERLAY (gtk_layout_overlay_get_type ())
gtk_layout_overlay_new
GtkInspectorOverlay *
void
GtkLayoutOverlay
GTK_TYPE_INSPECTOR_LOGS
#define GTK_TYPE_INSPECTOR_LOGS (gtk_inspector_logs_get_type())
GTK_INSPECTOR_LOGS
#define GTK_INSPECTOR_LOGS(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_INSPECTOR_LOGS, GtkInspectorLogs))
GTK_INSPECTOR_LOGS_CLASS
#define GTK_INSPECTOR_LOGS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_INSPECTOR_LOGS, GtkInspectorLogsClass))
GTK_INSPECTOR_IS_LOGS
#define GTK_INSPECTOR_IS_LOGS(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_INSPECTOR_LOGS))
GTK_INSPECTOR_IS_LOGS_CLASS
#define GTK_INSPECTOR_IS_LOGS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GTK_TYPE_INSPECTOR_LOGS))
GTK_INSPECTOR_LOGS_GET_CLASS
#define GTK_INSPECTOR_LOGS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_INSPECTOR_LOGS, GtkInspectorLogsClass))
gtk_inspector_logs_get_type
GType
void
gtk_inspector_logs_set_display
void
GtkInspectorLogs *logs, GdkDisplay *display
GtkInspectorLogsPrivate
GTK_TYPE_INSPECTOR_MAGNIFIER
#define GTK_TYPE_INSPECTOR_MAGNIFIER (gtk_inspector_magnifier_get_type())
GTK_INSPECTOR_MAGNIFIER
#define GTK_INSPECTOR_MAGNIFIER(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_INSPECTOR_MAGNIFIER, GtkInspectorMagnifier))
GTK_INSPECTOR_MAGNIFIER_CLASS
#define GTK_INSPECTOR_MAGNIFIER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_INSPECTOR_MAGNIFIER, GtkInspectorMagnifierClass))
GTK_INSPECTOR_IS_MAGNIFIER
#define GTK_INSPECTOR_IS_MAGNIFIER(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_INSPECTOR_MAGNIFIER))
GTK_INSPECTOR_IS_MAGNIFIER_CLASS
#define GTK_INSPECTOR_IS_MAGNIFIER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GTK_TYPE_INSPECTOR_MAGNIFIER))
GTK_INSPECTOR_MAGNIFIER_GET_CLASS
#define GTK_INSPECTOR_MAGNIFIER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_INSPECTOR_MAGNIFIER, GtkInspectorMagnifierClass))
gtk_inspector_magnifier_get_type
GType
void
gtk_inspector_magnifier_set_object
void
GtkInspectorMagnifier *sl, GObject *object
GtkInspectorMagnifierPrivate
GTK_TYPE_INSPECTOR_MENU
#define GTK_TYPE_INSPECTOR_MENU (gtk_inspector_menu_get_type())
GTK_INSPECTOR_MENU
#define GTK_INSPECTOR_MENU(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_INSPECTOR_MENU, GtkInspectorMenu))
GTK_INSPECTOR_MENU_CLASS
#define GTK_INSPECTOR_MENU_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_INSPECTOR_MENU, GtkInspectorMenuClass))
GTK_INSPECTOR_IS_MENU
#define GTK_INSPECTOR_IS_MENU(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_INSPECTOR_MENU))
GTK_INSPECTOR_IS_MENU_CLASS
#define GTK_INSPECTOR_IS_MENU_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GTK_TYPE_INSPECTOR_MENU))
GTK_INSPECTOR_MENU_GET_CLASS
#define GTK_INSPECTOR_MENU_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_INSPECTOR_MENU, GtkInspectorMenuClass))
gtk_inspector_menu_get_type
GType
void
gtk_inspector_menu_set_object
void
GtkInspectorMenu *sl, GObject *object
GtkInspectorMenuPrivate
GTK_TYPE_INSPECTOR_MISC_INFO
#define GTK_TYPE_INSPECTOR_MISC_INFO (gtk_inspector_misc_info_get_type())
GTK_INSPECTOR_MISC_INFO
#define GTK_INSPECTOR_MISC_INFO(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_INSPECTOR_MISC_INFO, GtkInspectorMiscInfo))
GTK_INSPECTOR_MISC_INFO_CLASS
#define GTK_INSPECTOR_MISC_INFO_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_INSPECTOR_MISC_INFO, GtkInspectorMiscInfoClass))
GTK_INSPECTOR_IS_MISC_INFO
#define GTK_INSPECTOR_IS_MISC_INFO(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_INSPECTOR_MISC_INFO))
GTK_INSPECTOR_IS_MISC_INFO_CLASS
#define GTK_INSPECTOR_IS_MISC_INFO_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GTK_TYPE_INSPECTOR_MISC_INFO))
GTK_INSPECTOR_MISC_INFO_GET_CLASS
#define GTK_INSPECTOR_MISC_INFO_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_INSPECTOR_MISC_INFO, GtkInspectorMiscInfoClass))
gtk_inspector_misc_info_get_type
GType
void
gtk_inspector_misc_info_set_object
void
GtkInspectorMiscInfo *sl, GObject *object
GtkInspectorMiscInfoPrivate
GTK_TYPE_INSPECTOR_OBJECT_TREE
#define GTK_TYPE_INSPECTOR_OBJECT_TREE (gtk_inspector_object_tree_get_type())
GTK_INSPECTOR_OBJECT_TREE
#define GTK_INSPECTOR_OBJECT_TREE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_INSPECTOR_OBJECT_TREE, GtkInspectorObjectTree))
GTK_INSPECTOR_OBJECT_TREE_CLASS
#define GTK_INSPECTOR_OBJECT_TREE_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_INSPECTOR_OBJECT_TREE, GtkInspectorObjectTreeClass))
GTK_INSPECTOR_IS_OBJECT_TREE
#define GTK_INSPECTOR_IS_OBJECT_TREE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_INSPECTOR_OBJECT_TREE))
GTK_INSPECTOR_IS_OBJECT_TREE_CLASS
#define GTK_INSPECTOR_IS_OBJECT_TREE_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GTK_TYPE_INSPECTOR_OBJECT_TREE))
GTK_INSPECTOR_OBJECT_TREE_GET_CLASS
#define GTK_INSPECTOR_OBJECT_TREE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_INSPECTOR_OBJECT_TREE, GtkInspectorObjectTreeClass))
object_selected
void
GtkInspectorObjectTree *wt, GObject *object
object_activated
void
GtkInspectorObjectTree *wt, GObject *object
gtk_inspector_object_tree_get_type
GType
void
gtk_inspector_get_object_title
char *
GObject *object
gtk_inspector_object_tree_select_object
void
GtkInspectorObjectTree *wt, GObject *object
gtk_inspector_object_tree_activate_object
void
GtkInspectorObjectTree *wt, GObject *object
gtk_inspector_object_tree_get_selected
GObject *
GtkInspectorObjectTree *wt
gtk_inspector_object_tree_set_display
void
GtkInspectorObjectTree *wt, GdkDisplay *display
GtkInspectorObjectTreePrivate
GTK_TYPE_INSPECTOR_PROP_EDITOR
#define GTK_TYPE_INSPECTOR_PROP_EDITOR (gtk_inspector_prop_editor_get_type())
GTK_INSPECTOR_PROP_EDITOR
#define GTK_INSPECTOR_PROP_EDITOR(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_INSPECTOR_PROP_EDITOR, GtkInspectorPropEditor))
GTK_INSPECTOR_PROP_EDITOR_CLASS
#define GTK_INSPECTOR_PROP_EDITOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_INSPECTOR_PROP_EDITOR, GtkInspectorPropEditorClass))
GTK_INSPECTOR_IS_PROP_EDITOR
#define GTK_INSPECTOR_IS_PROP_EDITOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_INSPECTOR_PROP_EDITOR))
GTK_INSPECTOR_IS_PROP_EDITOR_CLASS
#define GTK_INSPECTOR_IS_PROP_EDITOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GTK_TYPE_INSPECTOR_PROP_EDITOR))
GTK_INSPECTOR_PROP_EDITOR_GET_CLASS
#define GTK_INSPECTOR_PROP_EDITOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_INSPECTOR_PROP_EDITOR, GtkInspectorPropEditorClass))
show_object
void
GtkInspectorPropEditor *editor, GObject *object, const gchar *name, const gchar *tab
gtk_inspector_prop_editor_get_type
GType
void
gtk_inspector_prop_editor_new
GtkWidget *
GObject *object, const gchar *name, GtkSizeGroup *values
gtk_inspector_prop_editor_should_expand
gboolean
GtkInspectorPropEditor *editor
GtkInspectorPropEditorPrivate
GTK_TYPE_INSPECTOR_PROP_LIST
#define GTK_TYPE_INSPECTOR_PROP_LIST (gtk_inspector_prop_list_get_type())
GTK_INSPECTOR_PROP_LIST
#define GTK_INSPECTOR_PROP_LIST(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_INSPECTOR_PROP_LIST, GtkInspectorPropList))
GTK_INSPECTOR_PROP_LIST_CLASS
#define GTK_INSPECTOR_PROP_LIST_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_INSPECTOR_PROP_LIST, GtkInspectorPropListClass))
GTK_INSPECTOR_IS_PROP_LIST
#define GTK_INSPECTOR_IS_PROP_LIST(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_INSPECTOR_PROP_LIST))
GTK_INSPECTOR_IS_PROP_LIST_CLASS
#define GTK_INSPECTOR_IS_PROP_LIST_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GTK_TYPE_INSPECTOR_PROP_LIST))
GTK_INSPECTOR_PROP_LIST_GET_CLASS
#define GTK_INSPECTOR_PROP_LIST_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_INSPECTOR_PROP_LIST, GtkInspectorPropListClass))
gtk_inspector_prop_list_get_type
GType
void
gtk_inspector_prop_list_set_object
gboolean
GtkInspectorPropList *pl, GObject *object
gtk_inspector_prop_list_set_layout_child
void
GtkInspectorPropList *pl, GObject *object
strdup_value_contents
void
const GValue *value, gchar **contents, gchar **type
GtkInspectorPropListPrivate
GTK_TYPE_INSPECTOR_RECORDER
#define GTK_TYPE_INSPECTOR_RECORDER (gtk_inspector_recorder_get_type())
GTK_INSPECTOR_RECORDER
#define GTK_INSPECTOR_RECORDER(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_INSPECTOR_RECORDER, GtkInspectorRecorder))
GTK_INSPECTOR_RECORDER_CLASS
#define GTK_INSPECTOR_RECORDER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_INSPECTOR_RECORDER, GtkInspectorRecorderClass))
GTK_INSPECTOR_IS_RECORDER
#define GTK_INSPECTOR_IS_RECORDER(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_INSPECTOR_RECORDER))
GTK_INSPECTOR_IS_RECORDER_CLASS
#define GTK_INSPECTOR_IS_RECORDER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GTK_TYPE_INSPECTOR_RECORDER))
GTK_INSPECTOR_RECORDER_GET_CLASS
#define GTK_INSPECTOR_RECORDER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_INSPECTOR_RECORDER, GtkInspectorRecorderClass))
gtk_inspector_recorder_get_type
GType
void
gtk_inspector_recorder_set_recording
void
GtkInspectorRecorder *recorder, gboolean record
gtk_inspector_recorder_is_recording
gboolean
GtkInspectorRecorder *recorder
gtk_inspector_recorder_set_debug_nodes
void
GtkInspectorRecorder *recorder, gboolean debug_nodes
gtk_inspector_recorder_record_render
void
GtkInspectorRecorder *recorder, GtkWidget *widget, GskRenderer *renderer, GdkSurface *surface, const cairo_region_t *region, GskRenderNode *node
GtkInspectorRecorderPrivate
GTK_TYPE_INSPECTOR_RECORDING
#define GTK_TYPE_INSPECTOR_RECORDING (gtk_inspector_recording_get_type())
GTK_INSPECTOR_RECORDING
#define GTK_INSPECTOR_RECORDING(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_INSPECTOR_RECORDING, GtkInspectorRecording))
GTK_INSPECTOR_RECORDING_CLASS
#define GTK_INSPECTOR_RECORDING_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_INSPECTOR_RECORDING, GtkInspectorRecordingClass))
GTK_INSPECTOR_IS_RECORDING
#define GTK_INSPECTOR_IS_RECORDING(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_INSPECTOR_RECORDING))
GTK_INSPECTOR_IS_RECORDING_CLASS
#define GTK_INSPECTOR_IS_RECORDING_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GTK_TYPE_INSPECTOR_RECORDING))
GTK_INSPECTOR_RECORDING_GET_CLASS
#define GTK_INSPECTOR_RECORDING_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_INSPECTOR_RECORDING, GtkInspectorRecordingClass))
gtk_inspector_recording_get_type
GType
void
gtk_inspector_recording_get_timestamp
gint64
GtkInspectorRecording *recording
GtkInspectorRecordingPrivate
GTK_TYPE_INSPECTOR_RENDER_RECORDING
#define GTK_TYPE_INSPECTOR_RENDER_RECORDING (gtk_inspector_render_recording_get_type())
GTK_INSPECTOR_RENDER_RECORDING
#define GTK_INSPECTOR_RENDER_RECORDING(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_INSPECTOR_RENDER_RECORDING, GtkInspectorRenderRecording))
GTK_INSPECTOR_RENDER_RECORDING_CLASS
#define GTK_INSPECTOR_RENDER_RECORDING_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_INSPECTOR_RENDER_RECORDING, GtkInspectorRenderRecordingClass))
GTK_INSPECTOR_IS_RENDER_RECORDING
#define GTK_INSPECTOR_IS_RENDER_RECORDING(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_INSPECTOR_RENDER_RECORDING))
GTK_INSPECTOR_IS_RENDER_RECORDING_CLASS
#define GTK_INSPECTOR_IS_RENDER_RECORDING_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GTK_TYPE_INSPECTOR_RENDER_RECORDING))
GTK_INSPECTOR_RENDER_RECORDING_GET_CLASS
#define GTK_INSPECTOR_RENDER_RECORDING_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_INSPECTOR_RENDER_RECORDING, GtkInspectorRenderRecordingClass))
gtk_inspector_render_recording_get_type
GType
void
gtk_inspector_render_recording_new
GtkInspectorRecording *
gint64 timestamp, GskProfiler *profiler, const GdkRectangle *area, const cairo_region_t *clip_region, GskRenderNode *node
gtk_inspector_render_recording_get_node
GskRenderNode *
GtkInspectorRenderRecording *recording
gtk_inspector_render_recording_get_clip_region
const cairo_region_t *
GtkInspectorRenderRecording *recording
gtk_inspector_render_recording_get_area
const cairo_rectangle_int_t *
GtkInspectorRenderRecording *recording
gtk_inspector_render_recording_get_profiler_info
const char *
GtkInspectorRenderRecording *recording
GtkInspectorRenderRecordingPrivate
GTK_TYPE_INSPECTOR_RESOURCE_LIST
#define GTK_TYPE_INSPECTOR_RESOURCE_LIST (gtk_inspector_resource_list_get_type())
GTK_INSPECTOR_RESOURCE_LIST
#define GTK_INSPECTOR_RESOURCE_LIST(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_INSPECTOR_RESOURCE_LIST, GtkInspectorResourceList))
GTK_INSPECTOR_RESOURCE_LIST_CLASS
#define GTK_INSPECTOR_RESOURCE_LIST_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_INSPECTOR_RESOURCE_LIST, GtkInspectorResourceListClass))
GTK_INSPECTOR_IS_RESOURCE_LIST
#define GTK_INSPECTOR_IS_RESOURCE_LIST(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_INSPECTOR_RESOURCE_LIST))
GTK_INSPECTOR_IS_RESOURCE_LIST_CLASS
#define GTK_INSPECTOR_IS_RESOURCE_LIST_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GTK_TYPE_INSPECTOR_RESOURCE_LIST))
GTK_INSPECTOR_RESOURCE_LIST_GET_CLASS
#define GTK_INSPECTOR_RESOURCE_LIST_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_INSPECTOR_RESOURCE_LIST, GtkInspectorResourceListClass))
gtk_inspector_resource_list_get_type
GType
void
GtkInspectorResourceListPrivate
GTK_TYPE_INSPECTOR_SIZE_GROUPS
#define GTK_TYPE_INSPECTOR_SIZE_GROUPS (gtk_inspector_size_groups_get_type())
GTK_INSPECTOR_SIZE_GROUPS
#define GTK_INSPECTOR_SIZE_GROUPS(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_INSPECTOR_SIZE_GROUPS, GtkInspectorSizeGroups))
GTK_INSPECTOR_SIZE_GROUPS_CLASS
#define GTK_INSPECTOR_SIZE_GROUPS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_INSPECTOR_SIZE_GROUPS, GtkInspectorSizeGroupsClass))
GTK_INSPECTOR_IS_SIZE_GROUPS
#define GTK_INSPECTOR_IS_SIZE_GROUPS(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_INSPECTOR_SIZE_GROUPS))
GTK_INSPECTOR_IS_SIZE_GROUPS_CLASS
#define GTK_INSPECTOR_IS_SIZE_GROUPS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GTK_TYPE_INSPECTOR_SIZE_GROUPS))
GTK_INSPECTOR_SIZE_GROUPS_GET_CLASS
#define GTK_INSPECTOR_SIZE_GROUPS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_INSPECTOR_SIZE_GROUPS, GtkInspectorSizeGroupsClass))
gtk_inspector_size_groups_get_type
GType
void
gtk_inspector_size_groups_set_object
void
GtkInspectorSizeGroups *sl, GObject *object
GTK_TYPE_INSPECTOR_START_RECORDING
#define GTK_TYPE_INSPECTOR_START_RECORDING (gtk_inspector_start_recording_get_type())
GTK_INSPECTOR_START_RECORDING
#define GTK_INSPECTOR_START_RECORDING(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_INSPECTOR_START_RECORDING, GtkInspectorStartRecording))
GTK_INSPECTOR_START_RECORDING_CLASS
#define GTK_INSPECTOR_START_RECORDING_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_INSPECTOR_START_RECORDING, GtkInspectorStartRecordingClass))
GTK_INSPECTOR_IS_START_RECORDING
#define GTK_INSPECTOR_IS_START_RECORDING(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_INSPECTOR_START_RECORDING))
GTK_INSPECTOR_IS_START_RECORDING_CLASS
#define GTK_INSPECTOR_IS_START_RECORDING_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GTK_TYPE_INSPECTOR_START_RECORDING))
GTK_INSPECTOR_START_RECORDING_GET_CLASS
#define GTK_INSPECTOR_START_RECORDING_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_INSPECTOR_START_RECORDING, GtkInspectorStartRecordingClass))
gtk_inspector_start_recording_get_type
GType
void
gtk_inspector_start_recording_new
GtkInspectorRecording *
void
GtkInspectorStartRecordingPrivate
GTK_TYPE_INSPECTOR_STATISTICS
#define GTK_TYPE_INSPECTOR_STATISTICS (gtk_inspector_statistics_get_type())
GTK_INSPECTOR_STATISTICS
#define GTK_INSPECTOR_STATISTICS(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_INSPECTOR_STATISTICS, GtkInspectorStatistics))
GTK_INSPECTOR_STATISTICS_CLASS
#define GTK_INSPECTOR_STATISTICS_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_INSPECTOR_STATISTICS, GtkInspectorStatisticsClass))
GTK_INSPECTOR_IS_STATISTICS
#define GTK_INSPECTOR_IS_STATISTICS(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_INSPECTOR_STATISTICS))
GTK_INSPECTOR_IS_STATISTICS_CLASS
#define GTK_INSPECTOR_IS_STATISTICS_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GTK_TYPE_INSPECTOR_STATISTICS))
GTK_INSPECTOR_STATISTICS_GET_CLASS
#define GTK_INSPECTOR_STATISTICS_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_INSPECTOR_STATISTICS, GtkInspectorStatisticsClass))
gtk_inspector_statistics_get_type
GType
void
GtkInspectorStatisticsPrivate
GTK_TYPE_INSPECTOR_STRV_EDITOR
#define GTK_TYPE_INSPECTOR_STRV_EDITOR (gtk_inspector_strv_editor_get_type())
GTK_INSPECTOR_STRV_EDITOR
#define GTK_INSPECTOR_STRV_EDITOR(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_INSPECTOR_STRV_EDITOR, GtkInspectorStrvEditor))
GTK_INSPECTOR_STRV_EDITOR_CLASS
#define GTK_INSPECTOR_STRV_EDITOR_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_INSPECTOR_STRV_EDITOR, GtkInspectorStrvEditorClass))
GTK_INSPECTOR_IS_STRV_EDITOR
#define GTK_INSPECTOR_IS_STRV_EDITOR(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_INSPECTOR_STRV_EDITOR))
GTK_INSPECTOR_IS_STRV_EDITOR_CLASS
#define GTK_INSPECTOR_IS_STRV_EDITOR_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GTK_TYPE_INSPECTOR_STRV_EDITOR))
GTK_INSPECTOR_STRV_EDITOR_GET_CLASS
#define GTK_INSPECTOR_STRV_EDITOR_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_INSPECTOR_STRV_EDITOR, GtkInspectorStrvEditorClass))
changed
void
GtkInspectorStrvEditor *editor
gtk_inspector_strv_editor_get_type
GType
void
gtk_inspector_strv_editor_set_strv
void
GtkInspectorStrvEditor *editor, gchar **strv
gtk_inspector_strv_editor_get_strv
gchar **
GtkInspectorStrvEditor *editor
RowPredicate
gboolean
GtkTreeModel *model, GtkTreeIter *iter, gpointer data
gtk_tree_walk_new
GtkTreeWalk *
GtkTreeModel *model, RowPredicate predicate, gpointer data, GDestroyNotify destroy
gtk_tree_walk_free
void
GtkTreeWalk *walk
gtk_tree_walk_reset
void
GtkTreeWalk *walk, GtkTreeIter *iter
gtk_tree_walk_next_match
gboolean
GtkTreeWalk *walk, gboolean force_move, gboolean backwards, GtkTreeIter *iter
gtk_tree_walk_get_position
gboolean
GtkTreeWalk *walk, GtkTreeIter *iter
GtkTreeWalk
GTK_TYPE_INSPECTOR_TYPE_POPOVER
#define GTK_TYPE_INSPECTOR_TYPE_POPOVER (gtk_inspector_type_popover_get_type ())
gtk_inspector_type_popover_set_gtype
void
GtkInspectorTypePopover *self, GType gtype
GtkInspectorTypePopover
GTK_TYPE_UPDATES_OVERLAY
#define GTK_TYPE_UPDATES_OVERLAY (gtk_updates_overlay_get_type ())
gtk_updates_overlay_new
GtkInspectorOverlay *
void
GtkUpdatesOverlay
GTK_TYPE_INSPECTOR_VISUAL
#define GTK_TYPE_INSPECTOR_VISUAL (gtk_inspector_visual_get_type())
GTK_INSPECTOR_VISUAL
#define GTK_INSPECTOR_VISUAL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_INSPECTOR_VISUAL, GtkInspectorVisual))
GTK_INSPECTOR_VISUAL_CLASS
#define GTK_INSPECTOR_VISUAL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_INSPECTOR_VISUAL, GtkInspectorVisualClass))
GTK_INSPECTOR_IS_VISUAL
#define GTK_INSPECTOR_IS_VISUAL(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_INSPECTOR_VISUAL))
GTK_INSPECTOR_IS_VISUAL_CLASS
#define GTK_INSPECTOR_IS_VISUAL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GTK_TYPE_INSPECTOR_VISUAL))
GTK_INSPECTOR_VISUAL_GET_CLASS
#define GTK_INSPECTOR_VISUAL_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_INSPECTOR_VISUAL, GtkInspectorVisualClass))
gtk_inspector_visual_get_type
GType
void
gtk_inspector_visual_set_display
void
GtkInspectorVisual *vis, GdkDisplay *display
GtkInspectorVisualPrivate
GTK_TYPE_INSPECTOR_WINDOW
#define GTK_TYPE_INSPECTOR_WINDOW (gtk_inspector_window_get_type())
GTK_INSPECTOR_WINDOW
#define GTK_INSPECTOR_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), GTK_TYPE_INSPECTOR_WINDOW, GtkInspectorWindow))
GTK_INSPECTOR_WINDOW_CLASS
#define GTK_INSPECTOR_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), GTK_TYPE_INSPECTOR_WINDOW, GtkInspectorWindowClass))
GTK_INSPECTOR_IS_WINDOW
#define GTK_INSPECTOR_IS_WINDOW(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), GTK_TYPE_INSPECTOR_WINDOW))
GTK_INSPECTOR_IS_WINDOW_CLASS
#define GTK_INSPECTOR_IS_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), GTK_TYPE_INSPECTOR_WINDOW))
GTK_INSPECTOR_WINDOW_GET_CLASS
#define GTK_INSPECTOR_WINDOW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_INSPECTOR_WINDOW, GtkInspectorWindowClass))
TREE_TEXT_SCALE
#define TREE_TEXT_SCALE 0.8
TREE_CHECKBOX_SIZE
#define TREE_CHECKBOX_SIZE (gint)(0.8 * 13)
gtk_inspector_window_get_type
GType
void
gtk_inspector_window_get
GtkWidget *
GdkDisplay *display
gtk_inspector_flash_widget
void
GtkInspectorWindow *iw, GtkWidget *widget
gtk_inspector_on_inspect
void
GtkWidget *widget, GtkInspectorWindow *iw
gtk_inspector_window_add_overlay
void
GtkInspectorWindow *iw, GtkInspectorOverlay *overlay
gtk_inspector_window_remove_overlay
void
GtkInspectorWindow *iw, GtkInspectorOverlay *overlay
gtk_inspector_window_select_widget_under_pointer
void
GtkInspectorWindow *iw
gtk_inspector_window_get_inspected_display
GdkDisplay *
GtkInspectorWindow *iw
gtk_inspector_is_recording
gboolean
GtkWidget *widget
gtk_inspector_prepare_render
GskRenderNode *
GtkWidget *widget, GskRenderer *renderer, GdkSurface *surface, const cairo_region_t *region, GskRenderNode *node
gtk_inspector_handle_event
gboolean
GdkEvent *event
_GtkMountOperationHandlerIface
struct __GtkMountOperationHandlerIface
{
GTypeInterface parent_iface;
gboolean (*handle_ask_password) (
_GtkMountOperationHandler *object,
GDBusMethodInvocation *invocation,
const gchar *arg_id,
const gchar *arg_message,
const gchar *arg_icon_name,
const gchar *arg_default_user,
const gchar *arg_default_domain,
guint arg_flags);
gboolean (*handle_ask_question) (
_GtkMountOperationHandler *object,
GDBusMethodInvocation *invocation,
const gchar *arg_id,
const gchar *arg_message,
const gchar *arg_icon_name,
const gchar *const *arg_choices);
gboolean (*handle_close) (
_GtkMountOperationHandler *object,
GDBusMethodInvocation *invocation);
gboolean (*handle_show_processes) (
_GtkMountOperationHandler *object,
GDBusMethodInvocation *invocation,
const gchar *arg_id,
const gchar *arg_message,
const gchar *arg_icon_name,
GVariant *arg_application_pids,
const gchar *const *arg_choices);
};
_GtkMountOperationHandlerProxy
struct __GtkMountOperationHandlerProxy
{
/*< private >*/
GDBusProxy parent_instance;
_GtkMountOperationHandlerProxyPrivate *priv;
};
_GtkMountOperationHandlerProxyClass
struct __GtkMountOperationHandlerProxyClass
{
GDBusProxyClass parent_class;
};
_GtkMountOperationHandlerSkeleton
struct __GtkMountOperationHandlerSkeleton
{
/*< private >*/
GDBusInterfaceSkeleton parent_instance;
_GtkMountOperationHandlerSkeletonPrivate *priv;
};
_GtkMountOperationHandlerSkeletonClass
struct __GtkMountOperationHandlerSkeletonClass
{
GDBusInterfaceSkeletonClass parent_class;
};
_GtkMountOperationHandler
_GtkMountOperationHandlerProxyPrivate
_GtkMountOperationHandlerSkeletonPrivate
GTK_TYPE_CSS_AFFECTS
#define GTK_TYPE_CSS_AFFECTS (_gtk_css_affects_get_type ())
GTK_TYPE_TEXT_HANDLE_POSITION
#define GTK_TYPE_TEXT_HANDLE_POSITION (_gtk_text_handle_position_get_type ())
GTK_TYPE_TEXT_HANDLE_MODE
#define GTK_TYPE_TEXT_HANDLE_MODE (_gtk_text_handle_mode_get_type ())
GTK_TYPE_LICENSE
#define GTK_TYPE_LICENSE (gtk_license_get_type ())
GTK_TYPE_ACCEL_FLAGS
#define GTK_TYPE_ACCEL_FLAGS (gtk_accel_flags_get_type ())
GTK_TYPE_APPLICATION_INHIBIT_FLAGS
#define GTK_TYPE_APPLICATION_INHIBIT_FLAGS (gtk_application_inhibit_flags_get_type ())
GTK_TYPE_ASSISTANT_PAGE_TYPE
#define GTK_TYPE_ASSISTANT_PAGE_TYPE (gtk_assistant_page_type_get_type ())
GTK_TYPE_BUILDER_ERROR
#define GTK_TYPE_BUILDER_ERROR (gtk_builder_error_get_type ())
GTK_TYPE_BUILDER_CLOSURE_FLAGS
#define GTK_TYPE_BUILDER_CLOSURE_FLAGS (gtk_builder_closure_flags_get_type ())
GTK_TYPE_CELL_RENDERER_STATE
#define GTK_TYPE_CELL_RENDERER_STATE (gtk_cell_renderer_state_get_type ())
GTK_TYPE_CELL_RENDERER_MODE
#define GTK_TYPE_CELL_RENDERER_MODE (gtk_cell_renderer_mode_get_type ())
GTK_TYPE_CELL_RENDERER_ACCEL_MODE
#define GTK_TYPE_CELL_RENDERER_ACCEL_MODE (gtk_cell_renderer_accel_mode_get_type ())
GTK_TYPE_DEBUG_FLAG
#define GTK_TYPE_DEBUG_FLAG (gtk_debug_flag_get_type ())
GTK_TYPE_DIALOG_FLAGS
#define GTK_TYPE_DIALOG_FLAGS (gtk_dialog_flags_get_type ())
GTK_TYPE_RESPONSE_TYPE
#define GTK_TYPE_RESPONSE_TYPE (gtk_response_type_get_type ())
GTK_TYPE_EDITABLE_PROPERTIES
#define GTK_TYPE_EDITABLE_PROPERTIES (gtk_editable_properties_get_type ())
GTK_TYPE_ENTRY_ICON_POSITION
#define GTK_TYPE_ENTRY_ICON_POSITION (gtk_entry_icon_position_get_type ())
GTK_TYPE_ALIGN
#define GTK_TYPE_ALIGN (gtk_align_get_type ())
GTK_TYPE_ARROW_TYPE
#define GTK_TYPE_ARROW_TYPE (gtk_arrow_type_get_type ())
GTK_TYPE_BASELINE_POSITION
#define GTK_TYPE_BASELINE_POSITION (gtk_baseline_position_get_type ())
GTK_TYPE_DELETE_TYPE
#define GTK_TYPE_DELETE_TYPE (gtk_delete_type_get_type ())
GTK_TYPE_DIRECTION_TYPE
#define GTK_TYPE_DIRECTION_TYPE (gtk_direction_type_get_type ())
GTK_TYPE_ICON_SIZE
#define GTK_TYPE_ICON_SIZE (gtk_icon_size_get_type ())
GTK_TYPE_SENSITIVITY_TYPE
#define GTK_TYPE_SENSITIVITY_TYPE (gtk_sensitivity_type_get_type ())
GTK_TYPE_TEXT_DIRECTION
#define GTK_TYPE_TEXT_DIRECTION (gtk_text_direction_get_type ())
GTK_TYPE_JUSTIFICATION
#define GTK_TYPE_JUSTIFICATION (gtk_justification_get_type ())
GTK_TYPE_MENU_DIRECTION_TYPE
#define GTK_TYPE_MENU_DIRECTION_TYPE (gtk_menu_direction_type_get_type ())
GTK_TYPE_MESSAGE_TYPE
#define GTK_TYPE_MESSAGE_TYPE (gtk_message_type_get_type ())
GTK_TYPE_MOVEMENT_STEP
#define GTK_TYPE_MOVEMENT_STEP (gtk_movement_step_get_type ())
GTK_TYPE_SCROLL_STEP
#define GTK_TYPE_SCROLL_STEP (gtk_scroll_step_get_type ())
GTK_TYPE_ORIENTATION
#define GTK_TYPE_ORIENTATION (gtk_orientation_get_type ())
GTK_TYPE_OVERFLOW
#define GTK_TYPE_OVERFLOW (gtk_overflow_get_type ())
GTK_TYPE_PACK_TYPE
#define GTK_TYPE_PACK_TYPE (gtk_pack_type_get_type ())
GTK_TYPE_POSITION_TYPE
#define GTK_TYPE_POSITION_TYPE (gtk_position_type_get_type ())
GTK_TYPE_RELIEF_STYLE
#define GTK_TYPE_RELIEF_STYLE (gtk_relief_style_get_type ())
GTK_TYPE_SCROLL_TYPE
#define GTK_TYPE_SCROLL_TYPE (gtk_scroll_type_get_type ())
GTK_TYPE_SELECTION_MODE
#define GTK_TYPE_SELECTION_MODE (gtk_selection_mode_get_type ())
GTK_TYPE_SHADOW_TYPE
#define GTK_TYPE_SHADOW_TYPE (gtk_shadow_type_get_type ())
GTK_TYPE_WRAP_MODE
#define GTK_TYPE_WRAP_MODE (gtk_wrap_mode_get_type ())
GTK_TYPE_SORT_TYPE
#define GTK_TYPE_SORT_TYPE (gtk_sort_type_get_type ())
GTK_TYPE_PRINT_PAGES
#define GTK_TYPE_PRINT_PAGES (gtk_print_pages_get_type ())
GTK_TYPE_PAGE_SET
#define GTK_TYPE_PAGE_SET (gtk_page_set_get_type ())
GTK_TYPE_NUMBER_UP_LAYOUT
#define GTK_TYPE_NUMBER_UP_LAYOUT (gtk_number_up_layout_get_type ())
GTK_TYPE_PAGE_ORIENTATION
#define GTK_TYPE_PAGE_ORIENTATION (gtk_page_orientation_get_type ())
GTK_TYPE_PRINT_QUALITY
#define GTK_TYPE_PRINT_QUALITY (gtk_print_quality_get_type ())
GTK_TYPE_PRINT_DUPLEX
#define GTK_TYPE_PRINT_DUPLEX (gtk_print_duplex_get_type ())
GTK_TYPE_UNIT
#define GTK_TYPE_UNIT (gtk_unit_get_type ())
GTK_TYPE_TREE_VIEW_GRID_LINES
#define GTK_TYPE_TREE_VIEW_GRID_LINES (gtk_tree_view_grid_lines_get_type ())
GTK_TYPE_SIZE_GROUP_MODE
#define GTK_TYPE_SIZE_GROUP_MODE (gtk_size_group_mode_get_type ())
GTK_TYPE_SIZE_REQUEST_MODE
#define GTK_TYPE_SIZE_REQUEST_MODE (gtk_size_request_mode_get_type ())
GTK_TYPE_SCROLLABLE_POLICY
#define GTK_TYPE_SCROLLABLE_POLICY (gtk_scrollable_policy_get_type ())
GTK_TYPE_STATE_FLAGS
#define GTK_TYPE_STATE_FLAGS (gtk_state_flags_get_type ())
GTK_TYPE_BORDER_STYLE
#define GTK_TYPE_BORDER_STYLE (gtk_border_style_get_type ())
GTK_TYPE_LEVEL_BAR_MODE
#define GTK_TYPE_LEVEL_BAR_MODE (gtk_level_bar_mode_get_type ())
GTK_TYPE_INPUT_PURPOSE
#define GTK_TYPE_INPUT_PURPOSE (gtk_input_purpose_get_type ())
GTK_TYPE_INPUT_HINTS
#define GTK_TYPE_INPUT_HINTS (gtk_input_hints_get_type ())
GTK_TYPE_PROPAGATION_PHASE
#define GTK_TYPE_PROPAGATION_PHASE (gtk_propagation_phase_get_type ())
GTK_TYPE_PROPAGATION_LIMIT
#define GTK_TYPE_PROPAGATION_LIMIT (gtk_propagation_limit_get_type ())
GTK_TYPE_EVENT_SEQUENCE_STATE
#define GTK_TYPE_EVENT_SEQUENCE_STATE (gtk_event_sequence_state_get_type ())
GTK_TYPE_PAN_DIRECTION
#define GTK_TYPE_PAN_DIRECTION (gtk_pan_direction_get_type ())
GTK_TYPE_POPOVER_CONSTRAINT
#define GTK_TYPE_POPOVER_CONSTRAINT (gtk_popover_constraint_get_type ())
GTK_TYPE_PLACES_OPEN_FLAGS
#define GTK_TYPE_PLACES_OPEN_FLAGS (gtk_places_open_flags_get_type ())
GTK_TYPE_PICK_FLAGS
#define GTK_TYPE_PICK_FLAGS (gtk_pick_flags_get_type ())
GTK_TYPE_CONSTRAINT_RELATION
#define GTK_TYPE_CONSTRAINT_RELATION (gtk_constraint_relation_get_type ())
GTK_TYPE_CONSTRAINT_STRENGTH
#define GTK_TYPE_CONSTRAINT_STRENGTH (gtk_constraint_strength_get_type ())
GTK_TYPE_CONSTRAINT_ATTRIBUTE
#define GTK_TYPE_CONSTRAINT_ATTRIBUTE (gtk_constraint_attribute_get_type ())
GTK_TYPE_CONSTRAINT_VFL_PARSER_ERROR
#define GTK_TYPE_CONSTRAINT_VFL_PARSER_ERROR (gtk_constraint_vfl_parser_error_get_type ())
GTK_TYPE_EVENT_CONTROLLER_SCROLL_FLAGS
#define GTK_TYPE_EVENT_CONTROLLER_SCROLL_FLAGS (gtk_event_controller_scroll_flags_get_type ())
GTK_TYPE_FILE_CHOOSER_ACTION
#define GTK_TYPE_FILE_CHOOSER_ACTION (gtk_file_chooser_action_get_type ())
GTK_TYPE_FILE_CHOOSER_CONFIRMATION
#define GTK_TYPE_FILE_CHOOSER_CONFIRMATION (gtk_file_chooser_confirmation_get_type ())
GTK_TYPE_FILE_CHOOSER_ERROR
#define GTK_TYPE_FILE_CHOOSER_ERROR (gtk_file_chooser_error_get_type ())
GTK_TYPE_FILE_FILTER_FLAGS
#define GTK_TYPE_FILE_FILTER_FLAGS (gtk_file_filter_flags_get_type ())
GTK_TYPE_FONT_CHOOSER_LEVEL
#define GTK_TYPE_FONT_CHOOSER_LEVEL (gtk_font_chooser_level_get_type ())
GTK_TYPE_ICON_LOOKUP_FLAGS
#define GTK_TYPE_ICON_LOOKUP_FLAGS (gtk_icon_lookup_flags_get_type ())
GTK_TYPE_ICON_THEME_ERROR
#define GTK_TYPE_ICON_THEME_ERROR (gtk_icon_theme_error_get_type ())
GTK_TYPE_ICON_VIEW_DROP_POSITION
#define GTK_TYPE_ICON_VIEW_DROP_POSITION (gtk_icon_view_drop_position_get_type ())
GTK_TYPE_IMAGE_TYPE
#define GTK_TYPE_IMAGE_TYPE (gtk_image_type_get_type ())
GTK_TYPE_BUTTONS_TYPE
#define GTK_TYPE_BUTTONS_TYPE (gtk_buttons_type_get_type ())
GTK_TYPE_NOTEBOOK_TAB
#define GTK_TYPE_NOTEBOOK_TAB (gtk_notebook_tab_get_type ())
GTK_TYPE_PAD_ACTION_TYPE
#define GTK_TYPE_PAD_ACTION_TYPE (gtk_pad_action_type_get_type ())
GTK_TYPE_POPOVER_MENU_FLAGS
#define GTK_TYPE_POPOVER_MENU_FLAGS (gtk_popover_menu_flags_get_type ())
GTK_TYPE_PRINT_STATUS
#define GTK_TYPE_PRINT_STATUS (gtk_print_status_get_type ())
GTK_TYPE_PRINT_OPERATION_RESULT
#define GTK_TYPE_PRINT_OPERATION_RESULT (gtk_print_operation_result_get_type ())
GTK_TYPE_PRINT_OPERATION_ACTION
#define GTK_TYPE_PRINT_OPERATION_ACTION (gtk_print_operation_action_get_type ())
GTK_TYPE_PRINT_ERROR
#define GTK_TYPE_PRINT_ERROR (gtk_print_error_get_type ())
GTK_TYPE_RECENT_MANAGER_ERROR
#define GTK_TYPE_RECENT_MANAGER_ERROR (gtk_recent_manager_error_get_type ())
GTK_TYPE_REVEALER_TRANSITION_TYPE
#define GTK_TYPE_REVEALER_TRANSITION_TYPE (gtk_revealer_transition_type_get_type ())
GTK_TYPE_CORNER_TYPE
#define GTK_TYPE_CORNER_TYPE (gtk_corner_type_get_type ())
GTK_TYPE_POLICY_TYPE
#define GTK_TYPE_POLICY_TYPE (gtk_policy_type_get_type ())
GTK_TYPE_SHORTCUT_TYPE
#define GTK_TYPE_SHORTCUT_TYPE (gtk_shortcut_type_get_type ())
GTK_TYPE_SPIN_BUTTON_UPDATE_POLICY
#define GTK_TYPE_SPIN_BUTTON_UPDATE_POLICY (gtk_spin_button_update_policy_get_type ())
GTK_TYPE_SPIN_TYPE
#define GTK_TYPE_SPIN_TYPE (gtk_spin_type_get_type ())
GTK_TYPE_STACK_TRANSITION_TYPE
#define GTK_TYPE_STACK_TRANSITION_TYPE (gtk_stack_transition_type_get_type ())
GTK_TYPE_STYLE_CONTEXT_PRINT_FLAGS
#define GTK_TYPE_STYLE_CONTEXT_PRINT_FLAGS (gtk_style_context_print_flags_get_type ())
GTK_TYPE_TEXT_BUFFER_TARGET_INFO
#define GTK_TYPE_TEXT_BUFFER_TARGET_INFO (gtk_text_buffer_target_info_get_type ())
GTK_TYPE_TEXT_SEARCH_FLAGS
#define GTK_TYPE_TEXT_SEARCH_FLAGS (gtk_text_search_flags_get_type ())
GTK_TYPE_TEXT_WINDOW_TYPE
#define GTK_TYPE_TEXT_WINDOW_TYPE (gtk_text_window_type_get_type ())
GTK_TYPE_TEXT_VIEW_LAYER
#define GTK_TYPE_TEXT_VIEW_LAYER (gtk_text_view_layer_get_type ())
GTK_TYPE_TEXT_EXTEND_SELECTION
#define GTK_TYPE_TEXT_EXTEND_SELECTION (gtk_text_extend_selection_get_type ())
GTK_TYPE_TREE_MODEL_FLAGS
#define GTK_TYPE_TREE_MODEL_FLAGS (gtk_tree_model_flags_get_type ())
GTK_TYPE_TREE_VIEW_DROP_POSITION
#define GTK_TYPE_TREE_VIEW_DROP_POSITION (gtk_tree_view_drop_position_get_type ())
GTK_TYPE_TREE_VIEW_COLUMN_SIZING
#define GTK_TYPE_TREE_VIEW_COLUMN_SIZING (gtk_tree_view_column_sizing_get_type ())
GTK_TYPE_WINDOW_TYPE
#define GTK_TYPE_WINDOW_TYPE (gtk_window_type_get_type ())
GTK_MAJOR_VERSION
#define GTK_MAJOR_VERSION (3)
GTK_MINOR_VERSION
#define GTK_MINOR_VERSION (96)
GTK_MICRO_VERSION
#define GTK_MICRO_VERSION (0)
GTK_BINARY_AGE
#define GTK_BINARY_AGE (9600)
GTK_INTERFACE_AGE
#define GTK_INTERFACE_AGE (0)
GTK_CHECK_VERSION
#define GTK_CHECK_VERSION(major,minor,micro) \
(GTK_MAJOR_VERSION > (major) || \
(GTK_MAJOR_VERSION == (major) && GTK_MINOR_VERSION > (minor)) || \
(GTK_MAJOR_VERSION == (major) && GTK_MINOR_VERSION == (minor) && \
GTK_MICRO_VERSION >= (micro)))
zwp_text_input_v3_interface
extern const struct wl_interface zwp_text_input_v3_interface;
zwp_text_input_manager_v3_interface
extern const struct wl_interface zwp_text_input_manager_v3_interface;
ZWP_TEXT_INPUT_V3_CHANGE_CAUSE_ENUM
#define ZWP_TEXT_INPUT_V3_CHANGE_CAUSE_ENUM
zwp_text_input_v3_change_cause
enum zwp_text_input_v3_change_cause {
/**
* input method caused the change
*/
ZWP_TEXT_INPUT_V3_CHANGE_CAUSE_INPUT_METHOD = 0,
/**
* something else than the input method caused the change
*/
ZWP_TEXT_INPUT_V3_CHANGE_CAUSE_OTHER = 1,
};
ZWP_TEXT_INPUT_V3_CONTENT_HINT_ENUM
#define ZWP_TEXT_INPUT_V3_CONTENT_HINT_ENUM
zwp_text_input_v3_content_hint
enum zwp_text_input_v3_content_hint {
/**
* no special behavior
*/
ZWP_TEXT_INPUT_V3_CONTENT_HINT_NONE = 0x0,
/**
* suggest word completions
*/
ZWP_TEXT_INPUT_V3_CONTENT_HINT_COMPLETION = 0x1,
/**
* suggest word corrections
*/
ZWP_TEXT_INPUT_V3_CONTENT_HINT_SPELLCHECK = 0x2,
/**
* switch to uppercase letters at the start of a sentence
*/
ZWP_TEXT_INPUT_V3_CONTENT_HINT_AUTO_CAPITALIZATION = 0x4,
/**
* prefer lowercase letters
*/
ZWP_TEXT_INPUT_V3_CONTENT_HINT_LOWERCASE = 0x8,
/**
* prefer uppercase letters
*/
ZWP_TEXT_INPUT_V3_CONTENT_HINT_UPPERCASE = 0x10,
/**
* prefer casing for titles and headings (can be language dependent)
*/
ZWP_TEXT_INPUT_V3_CONTENT_HINT_TITLECASE = 0x20,
/**
* characters should be hidden
*/
ZWP_TEXT_INPUT_V3_CONTENT_HINT_HIDDEN_TEXT = 0x40,
/**
* typed text should not be stored
*/
ZWP_TEXT_INPUT_V3_CONTENT_HINT_SENSITIVE_DATA = 0x80,
/**
* just Latin characters should be entered
*/
ZWP_TEXT_INPUT_V3_CONTENT_HINT_LATIN = 0x100,
/**
* the text input is multiline
*/
ZWP_TEXT_INPUT_V3_CONTENT_HINT_MULTILINE = 0x200,
};
ZWP_TEXT_INPUT_V3_CONTENT_PURPOSE_ENUM
#define ZWP_TEXT_INPUT_V3_CONTENT_PURPOSE_ENUM
zwp_text_input_v3_content_purpose
enum zwp_text_input_v3_content_purpose {
/**
* default input, allowing all characters
*/
ZWP_TEXT_INPUT_V3_CONTENT_PURPOSE_NORMAL = 0,
/**
* allow only alphabetic characters
*/
ZWP_TEXT_INPUT_V3_CONTENT_PURPOSE_ALPHA = 1,
/**
* allow only digits
*/
ZWP_TEXT_INPUT_V3_CONTENT_PURPOSE_DIGITS = 2,
/**
* input a number (including decimal separator and sign)
*/
ZWP_TEXT_INPUT_V3_CONTENT_PURPOSE_NUMBER = 3,
/**
* input a phone number
*/
ZWP_TEXT_INPUT_V3_CONTENT_PURPOSE_PHONE = 4,
/**
* input an URL
*/
ZWP_TEXT_INPUT_V3_CONTENT_PURPOSE_URL = 5,
/**
* input an email address
*/
ZWP_TEXT_INPUT_V3_CONTENT_PURPOSE_EMAIL = 6,
/**
* input a name of a person
*/
ZWP_TEXT_INPUT_V3_CONTENT_PURPOSE_NAME = 7,
/**
* input a password (combine with sensitive_data hint)
*/
ZWP_TEXT_INPUT_V3_CONTENT_PURPOSE_PASSWORD = 8,
/**
* input is a numeric password (combine with sensitive_data hint)
*/
ZWP_TEXT_INPUT_V3_CONTENT_PURPOSE_PIN = 9,
/**
* input a date
*/
ZWP_TEXT_INPUT_V3_CONTENT_PURPOSE_DATE = 10,
/**
* input a time
*/
ZWP_TEXT_INPUT_V3_CONTENT_PURPOSE_TIME = 11,
/**
* input a date and time
*/
ZWP_TEXT_INPUT_V3_CONTENT_PURPOSE_DATETIME = 12,
/**
* input for a terminal
*/
ZWP_TEXT_INPUT_V3_CONTENT_PURPOSE_TERMINAL = 13,
};
zwp_text_input_v3_listener
struct zwp_text_input_v3_listener {
/**
* enter event
*
* Notification that this seat's text-input focus is on a certain
* surface.
*
* When the seat has the keyboard capability the text-input focus
* follows the keyboard focus. This event sets the current surface
* for the text-input object.
*/
void (*enter)(void *data,
struct zwp_text_input_v3 *zwp_text_input_v3,
struct wl_surface *surface);
/**
* leave event
*
* Notification that this seat's text-input focus is no longer on
* a certain surface. The client should reset any preedit string
* previously set.
*
* The leave notification clears the current surface. It is sent
* before the enter notification for the new focus.
*
* When the seat has the keyboard capability the text-input focus
* follows the keyboard focus.
*/
void (*leave)(void *data,
struct zwp_text_input_v3 *zwp_text_input_v3,
struct wl_surface *surface);
/**
* pre-edit
*
* Notify when a new composing text (pre-edit) should be set at
* the current cursor position. Any previously set composing text
* must be removed. Any previously existing selected text must be
* removed.
*
* The argument text contains the pre-edit string buffer.
*
* The parameters cursor_begin and cursor_end are counted in bytes
* relative to the beginning of the submitted text buffer. Cursor
* should be hidden when both are equal to -1.
*
* They could be represented by the client as a line if both values
* are the same, or as a text highlight otherwise.
*
* Values set with this event are double-buffered. They must be
* applied and reset to initial on the next zwp_text_input_v3.done
* event.
*
* The initial value of text is an empty string, and cursor_begin,
* cursor_end and cursor_hidden are all 0.
*/
void (*preedit_string)(void *data,
struct zwp_text_input_v3 *zwp_text_input_v3,
const char *text,
int32_t cursor_begin,
int32_t cursor_end);
/**
* text commit
*
* Notify when text should be inserted into the editor widget.
* The text to commit could be either just a single character after
* a key press or the result of some composing (pre-edit).
*
* Values set with this event are double-buffered. They must be
* applied and reset to initial on the next zwp_text_input_v3.done
* event.
*
* The initial value of text is an empty string.
*/
void (*commit_string)(void *data,
struct zwp_text_input_v3 *zwp_text_input_v3,
const char *text);
/**
* delete surrounding text
*
* Notify when the text around the current cursor position should
* be deleted.
*
* Before_length and after_length are the number of bytes before
* and after the current cursor index (excluding the selection) to
* delete.
*
* If a preedit text is present, in effect before_length is counted
* from the beginning of it, and after_length from its end (see
* done event sequence).
*
* Values set with this event are double-buffered. They must be
* applied and reset to initial on the next zwp_text_input_v3.done
* event.
*
* The initial values of both before_length and after_length are 0.
* @param before_length length of text before current cursor position
* @param after_length length of text after current cursor position
*/
void (*delete_surrounding_text)(void *data,
struct zwp_text_input_v3 *zwp_text_input_v3,
uint32_t before_length,
uint32_t after_length);
/**
* apply changes
*
* Instruct the application to apply changes to state requested
* by the preedit_string, commit_string and delete_surrounding_text
* events. The state relating to these events is double-buffered,
* and each one modifies the pending state. This event replaces the
* current state with the pending state.
*
* The application must proceed by evaluating the changes in the
* following order:
*
* 1. Replace existing preedit string with the cursor. 2. Delete
* requested surrounding text. 3. Insert commit string with the
* cursor at its end. 4. Calculate surrounding text to send. 5.
* Insert new preedit text in cursor position. 6. Place cursor
* inside preedit text.
*
* The serial number reflects the last state of the
* zwp_text_input_v3 object known to the compositor. The value of
* the serial argument must be equal to the number of commit
* requests already issued on that object. When the client receives
* a done event with a serial different than the number of past
* commit requests, it must proceed as normal, except it should not
* change the current state of the zwp_text_input_v3 object.
*/
void (*done)(void *data,
struct zwp_text_input_v3 *zwp_text_input_v3,
uint32_t serial);
};
zwp_text_input_v3_add_listener
int
struct zwp_text_input_v3 *zwp_text_input_v3, const struct zwp_text_input_v3_listener *listener, void *data
ZWP_TEXT_INPUT_V3_DESTROY
#define ZWP_TEXT_INPUT_V3_DESTROY 0
ZWP_TEXT_INPUT_V3_ENABLE
#define ZWP_TEXT_INPUT_V3_ENABLE 1
ZWP_TEXT_INPUT_V3_DISABLE
#define ZWP_TEXT_INPUT_V3_DISABLE 2
ZWP_TEXT_INPUT_V3_SET_SURROUNDING_TEXT
#define ZWP_TEXT_INPUT_V3_SET_SURROUNDING_TEXT 3
ZWP_TEXT_INPUT_V3_SET_TEXT_CHANGE_CAUSE
#define ZWP_TEXT_INPUT_V3_SET_TEXT_CHANGE_CAUSE 4
ZWP_TEXT_INPUT_V3_SET_CONTENT_TYPE
#define ZWP_TEXT_INPUT_V3_SET_CONTENT_TYPE 5
ZWP_TEXT_INPUT_V3_SET_CURSOR_RECTANGLE
#define ZWP_TEXT_INPUT_V3_SET_CURSOR_RECTANGLE 6
ZWP_TEXT_INPUT_V3_COMMIT
#define ZWP_TEXT_INPUT_V3_COMMIT 7
ZWP_TEXT_INPUT_V3_ENTER_SINCE_VERSION
#define ZWP_TEXT_INPUT_V3_ENTER_SINCE_VERSION 1
ZWP_TEXT_INPUT_V3_LEAVE_SINCE_VERSION
#define ZWP_TEXT_INPUT_V3_LEAVE_SINCE_VERSION 1
ZWP_TEXT_INPUT_V3_PREEDIT_STRING_SINCE_VERSION
#define ZWP_TEXT_INPUT_V3_PREEDIT_STRING_SINCE_VERSION 1
ZWP_TEXT_INPUT_V3_COMMIT_STRING_SINCE_VERSION
#define ZWP_TEXT_INPUT_V3_COMMIT_STRING_SINCE_VERSION 1
ZWP_TEXT_INPUT_V3_DELETE_SURROUNDING_TEXT_SINCE_VERSION
#define ZWP_TEXT_INPUT_V3_DELETE_SURROUNDING_TEXT_SINCE_VERSION 1
ZWP_TEXT_INPUT_V3_DONE_SINCE_VERSION
#define ZWP_TEXT_INPUT_V3_DONE_SINCE_VERSION 1
ZWP_TEXT_INPUT_V3_DESTROY_SINCE_VERSION
#define ZWP_TEXT_INPUT_V3_DESTROY_SINCE_VERSION 1
ZWP_TEXT_INPUT_V3_ENABLE_SINCE_VERSION
#define ZWP_TEXT_INPUT_V3_ENABLE_SINCE_VERSION 1
ZWP_TEXT_INPUT_V3_DISABLE_SINCE_VERSION
#define ZWP_TEXT_INPUT_V3_DISABLE_SINCE_VERSION 1
ZWP_TEXT_INPUT_V3_SET_SURROUNDING_TEXT_SINCE_VERSION
#define ZWP_TEXT_INPUT_V3_SET_SURROUNDING_TEXT_SINCE_VERSION 1
ZWP_TEXT_INPUT_V3_SET_TEXT_CHANGE_CAUSE_SINCE_VERSION
#define ZWP_TEXT_INPUT_V3_SET_TEXT_CHANGE_CAUSE_SINCE_VERSION 1
ZWP_TEXT_INPUT_V3_SET_CONTENT_TYPE_SINCE_VERSION
#define ZWP_TEXT_INPUT_V3_SET_CONTENT_TYPE_SINCE_VERSION 1
ZWP_TEXT_INPUT_V3_SET_CURSOR_RECTANGLE_SINCE_VERSION
#define ZWP_TEXT_INPUT_V3_SET_CURSOR_RECTANGLE_SINCE_VERSION 1
ZWP_TEXT_INPUT_V3_COMMIT_SINCE_VERSION
#define ZWP_TEXT_INPUT_V3_COMMIT_SINCE_VERSION 1
zwp_text_input_v3_set_user_data
void
struct zwp_text_input_v3 *zwp_text_input_v3, void *user_data
zwp_text_input_v3_get_user_data
void *
struct zwp_text_input_v3 *zwp_text_input_v3
zwp_text_input_v3_get_version
uint32_t
struct zwp_text_input_v3 *zwp_text_input_v3
zwp_text_input_v3_destroy
void
struct zwp_text_input_v3 *zwp_text_input_v3
zwp_text_input_v3_enable
void
struct zwp_text_input_v3 *zwp_text_input_v3
zwp_text_input_v3_disable
void
struct zwp_text_input_v3 *zwp_text_input_v3
zwp_text_input_v3_set_surrounding_text
void
struct zwp_text_input_v3 *zwp_text_input_v3, const char *text, int32_t cursor, int32_t anchor
zwp_text_input_v3_set_text_change_cause
void
struct zwp_text_input_v3 *zwp_text_input_v3, uint32_t cause
zwp_text_input_v3_set_content_type
void
struct zwp_text_input_v3 *zwp_text_input_v3, uint32_t hint, uint32_t purpose
zwp_text_input_v3_set_cursor_rectangle
void
struct zwp_text_input_v3 *zwp_text_input_v3, int32_t x, int32_t y, int32_t width, int32_t height
zwp_text_input_v3_commit
void
struct zwp_text_input_v3 *zwp_text_input_v3
ZWP_TEXT_INPUT_MANAGER_V3_DESTROY
#define ZWP_TEXT_INPUT_MANAGER_V3_DESTROY 0
ZWP_TEXT_INPUT_MANAGER_V3_GET_TEXT_INPUT
#define ZWP_TEXT_INPUT_MANAGER_V3_GET_TEXT_INPUT 1
ZWP_TEXT_INPUT_MANAGER_V3_DESTROY_SINCE_VERSION
#define ZWP_TEXT_INPUT_MANAGER_V3_DESTROY_SINCE_VERSION 1
ZWP_TEXT_INPUT_MANAGER_V3_GET_TEXT_INPUT_SINCE_VERSION
#define ZWP_TEXT_INPUT_MANAGER_V3_GET_TEXT_INPUT_SINCE_VERSION 1
zwp_text_input_manager_v3_set_user_data
void
struct zwp_text_input_manager_v3 *zwp_text_input_manager_v3, void *user_data
zwp_text_input_manager_v3_get_user_data
void *
struct zwp_text_input_manager_v3 *zwp_text_input_manager_v3
zwp_text_input_manager_v3_get_version
uint32_t
struct zwp_text_input_manager_v3 *zwp_text_input_manager_v3
zwp_text_input_manager_v3_destroy
void
struct zwp_text_input_manager_v3 *zwp_text_input_manager_v3
zwp_text_input_manager_v3_get_text_input
struct zwp_text_input_v3 *
struct zwp_text_input_manager_v3 *zwp_text_input_manager_v3, struct wl_seat *seat
wl_seat
struct wl_seat;
wl_surface
struct wl_surface;
zwp_text_input_manager_v3
struct zwp_text_input_manager_v3;
zwp_text_input_v3
struct zwp_text_input_v3;
GTK_TYPE_CSS_PARSER_ERROR
#define GTK_TYPE_CSS_PARSER_ERROR (gtk_css_parser_error_get_type ())
GTK_TYPE_CSS_PARSER_WARNING
#define GTK_TYPE_CSS_PARSER_WARNING (gtk_css_parser_warning_get_type ())
docs/reference/gtk/gtk4-undocumented.txt 0000664 0001750 0001750 00000021323 13620320501 020454 0 ustar mclasen mclasen 93% symbol docs coverage.
5335 symbols documented.
26 symbols incomplete.
397 not documented.
GTK_BUILDER_ERROR
GTK_PRINT_SETTINGS_COLLATE
GTK_PRINT_SETTINGS_DEFAULT_SOURCE
GTK_PRINT_SETTINGS_DITHER
GTK_PRINT_SETTINGS_DUPLEX
GTK_PRINT_SETTINGS_FINISHINGS
GTK_PRINT_SETTINGS_MEDIA_TYPE
GTK_PRINT_SETTINGS_NUMBER_UP
GTK_PRINT_SETTINGS_NUMBER_UP_LAYOUT
GTK_PRINT_SETTINGS_N_COPIES
GTK_PRINT_SETTINGS_ORIENTATION
GTK_PRINT_SETTINGS_OUTPUT_BIN
GTK_PRINT_SETTINGS_PAGE_RANGES
GTK_PRINT_SETTINGS_PAGE_SET
GTK_PRINT_SETTINGS_PAPER_FORMAT
GTK_PRINT_SETTINGS_PAPER_HEIGHT
GTK_PRINT_SETTINGS_PAPER_WIDTH
GTK_PRINT_SETTINGS_PRINTER
GTK_PRINT_SETTINGS_PRINTER_LPI
GTK_PRINT_SETTINGS_PRINT_PAGES
GTK_PRINT_SETTINGS_QUALITY
GTK_PRINT_SETTINGS_RESOLUTION
GTK_PRINT_SETTINGS_RESOLUTION_X
GTK_PRINT_SETTINGS_RESOLUTION_Y
GTK_PRINT_SETTINGS_REVERSE
GTK_PRINT_SETTINGS_SCALE
GTK_PRINT_SETTINGS_USE_COLOR
GTK_PRINT_SETTINGS_WIN32_DRIVER_EXTRA
GTK_PRINT_SETTINGS_WIN32_DRIVER_VERSION
GTK_TYPE_ICON_LOOKUP_FLAGS
GTK_TYPE_ICON_THEME_ERROR
GTK_TYPE_NATIVE_DIALOG
GTK_UNIT_PIXEL
GtkAboutDialog
GtkAccelGroupActivate ()
GtkAccelGroupClass
GtkAccelGroupFindFunc
GtkAccelKey
GtkAccelLabel
GtkAccelMap
GtkAccelMapForeach
GtkAccessible
GtkActionBar
GtkAppChooser
GtkAppChooserButton
GtkAppChooserButton::changed
GtkAppChooserDialog
GtkAppChooserWidget
GtkApplication
GtkApplicationClass
GtkApplicationWindow
GtkApplicationWindowClass
GtkAspectFrame
GtkAssistant
GtkAssistant::escape
GtkAssistantPage
GtkBin
GtkBinClass
GtkBinLayout
GtkBox
GtkBoxClass
GtkBoxLayout
GtkBuildable
GtkBuilder
GtkButton
GtkButtonClass
GtkCalendar
GtkCalendarDisplayOptions
GtkCellArea
GtkCellAreaBox
GtkCellAreaClass
GtkCellAreaContext
GtkCellAreaContextClass
GtkCellEditable
GtkCellEditableIface
GtkCellLayout
GtkCellLayoutIface
GtkCellRenderer
GtkCellRendererAccel
GtkCellRendererClass
GtkCellRendererCombo
GtkCellRendererPixbuf
GtkCellRendererProgress
GtkCellRendererSpin
GtkCellRendererSpinner
GtkCellRendererText
GtkCellRendererToggle
GtkCellView
GtkCenterBox
GtkCenterLayout
GtkCheckButton
GtkColorButton
GtkColorChooser
GtkColorChooserDialog
GtkColorChooserWidget
GtkComboBox
GtkComboBoxClass
GtkComboBoxText
GtkContainer
GtkContainer::add
GtkContainer::remove
GtkCssProvider
GtkCustomLayout
GtkCustomPaperUnixDialogClass
GtkDialogClass
GtkDragIcon
GtkDragSource
GtkDrawingArea
GtkDropTarget
GtkDropTarget::accept
GtkEditable
GtkEmojiChooser
GtkEntry
GtkEntry::activate
GtkEntryBuffer
GtkEntryCompletion
GtkEventController
GtkEventControllerKey
GtkEventControllerLegacy
GtkEventControllerMotion
GtkEventControllerScroll
GtkExpander
GtkExpander::activate
GtkFileChooser
GtkFileChooserButton
GtkFileChooserDialog
GtkFileChooserWidget
GtkFileFilter
GtkFilterListModel
GtkFixed
GtkFixedLayout
GtkFixedLayoutChild
GtkFlattenListModel
GtkFlowBox
GtkFlowBoxChild
GtkFontButton
GtkFontChooser
GtkFontChooserDialog
GtkFontChooserWidget
GtkFrame
GtkFrameClass
GtkGesture
GtkGestureClick
GtkGestureDrag
GtkGestureLongPress
GtkGesturePan
GtkGestureRotate
GtkGestureSingle
GtkGestureStylus
GtkGestureStylus::down
GtkGestureStylus::motion
GtkGestureStylus::proximity
GtkGestureStylus::up
GtkGestureSwipe
GtkGestureZoom
GtkGrid
GtkGridClass
GtkHeaderBar
GtkIMContext
GtkIMContextClass
GtkIMContextSimple
GtkIMMulticontext
GtkIconLookupFlags (GTK_ICON_LOOKUP_PRELOAD)
GtkIconView
GtkImage
GtkInfoBar
GtkLabel
GtkLabel|clipboard.copy
GtkLabel|clipboard.cut
GtkLabel|clipboard.paste
GtkLabel|link.copy
GtkLabel|link.open
GtkLabel|selection.delete
GtkLabel|selection.select-all
GtkLayoutChild
GtkLayoutChildClass
GtkLayoutManager
GtkLevelBar
GtkLinkButton
GtkLinkButton|clipboard.copy
GtkListBox
GtkListBox::activate-cursor-row
GtkListBox::move-cursor
GtkListBox::toggle-cursor-row
GtkListBoxRow
GtkListBoxRowClass
GtkListStore
GtkLockButton
GtkMapListModel
GtkMediaControls
GtkMediaFile
GtkMediaStream
GtkMediaStreamClass ()
GtkMenuButton
GtkMenuButtonCreatePopupFunc (user_data)
GtkMessageDialog
GtkMountOperationClass
GtkMovementStep
GtkNative
GtkNativeDialogClass ()
GtkNoSelection
GtkNotebook
GtkNotebook::change-current-page
GtkNotebook::focus-tab
GtkNotebook::move-focus-out
GtkNotebook::reorder-tab
GtkNotebook::select-page
GtkNotebookPage
GtkOrientable
GtkOverlay
GtkPadController
GtkPageSetup
GtkPageSetupUnixDialog
GtkPaned
GtkPaperSize
GtkPasswordEntry
GtkPicture
GtkPopover
GtkPopover::activate-default
GtkPopover::closed
GtkPopoverMenu
GtkPopoverMenuBar
GtkPrintBackend
GtkPrintContext
GtkPrintJob
GtkPrintOperation
GtkPrintOperationClass
GtkPrintOperationPreview
GtkPrintSettings
GtkPrintSettingsFunc ()
GtkPrintUnixDialog
GtkPrinter
GtkProgressBar
GtkRadioButton
GtkRange
GtkRevealer
GtkRoot
GtkScale
GtkScaleButton
GtkScaleFormatValueFunc
GtkScrollStep
GtkScrollable
GtkScrollbar
GtkScrolledWindow
GtkSearchBar
GtkSearchEntry
GtkSearchEntry::activate
GtkSelectionData
GtkSelectionModel
GtkSeparator
GtkSettings
GtkSettingsValue
GtkShortcutLabel
GtkShortcutsGroup
GtkShortcutsSection
GtkShortcutsSection::change-current-page
GtkShortcutsShortcut
GtkShortcutsWindow
GtkSingleSelection
GtkSizeGroup
GtkSliceListModel
GtkSnapshot
GtkSortListModel
GtkSpinButton
GtkSpinner
GtkStack
GtkStackPage
GtkStackSidebar
GtkStackSwitcher
GtkStatusbar
GtkStyleContext
GtkStyleContextPrintFlags (GTK_STYLE_CONTEXT_PRINT_SHOW_CHANGE)
GtkStyleProvider
GtkStyleProvider::gtk-private-changed
GtkText
GtkTextAppearance
GtkTextBuffer
GtkTextBufferClass (undo, redo)
GtkTextCharPredicate ()
GtkTextClass ()
GtkTextIter
GtkTextMark
GtkTextTag
GtkTextTagTable
GtkTextTagTable::tag-added
GtkTextTagTable::tag-changed
GtkTextTagTable::tag-removed
GtkTextTagTableForeach
GtkTextView
GtkTextViewClass
GtkTextView|clipboard.copy
GtkTextView|clipboard.cut
GtkTextView|clipboard.paste
GtkTextView|misc.insert-emoji
GtkTextView|selection.delete
GtkTextView|selection.select-all
GtkTextView|text.redo
GtkTextView|text.undo
GtkText|clipboard.copy
GtkText|clipboard.cut
GtkText|clipboard.paste
GtkText|misc.insert-emoji
GtkText|misc.toggle-visibility
GtkText|selection.delete
GtkText|selection.select-all
GtkText|text.redo
GtkText|text.undo
GtkToggleButton
GtkTooltip
GtkTreeDragDest
GtkTreeDragDestIface
GtkTreeDragSource
GtkTreeDragSourceIface
GtkTreeListModel
GtkTreeListRow
GtkTreeModel
GtkTreeModelFilter
GtkTreeModelIface
GtkTreeModelSort
GtkTreePath
GtkTreeSelection
GtkTreeSortable
GtkTreeSortableIface
GtkTreeStore
GtkTreeView
GtkTreeView::expand-collapse-cursor-row
GtkTreeView::select-all
GtkTreeView::select-cursor-parent
GtkTreeView::select-cursor-row
GtkTreeView::start-interactive-search
GtkTreeView::toggle-cursor-row
GtkTreeView::unselect-all
GtkTreeViewColumn
GtkTreeViewColumn::clicked
GtkVideo
GtkViewport
GtkVolumeButton
GtkWidget
GtkWidget::move-focus
GtkWidget::size-allocate
GtkWidgetClass
GtkWindow
GtkWindowClass
GtkWindowGroup
GtkWindow|default.activate
gtk_binding_entry_add_callback ()
gtk_builder_cscope_lookup_callback_symbol ()
gtk_calendar_get_date (self)
gtk_calendar_get_day_names
gtk_calendar_get_display_options
gtk_calendar_get_show_heading
gtk_calendar_get_show_week_numbers
gtk_calendar_select_day (self)
gtk_calendar_select_month
gtk_calendar_set_display_options
gtk_calendar_set_show_day_names
gtk_calendar_set_show_heading
gtk_cell_accessible_parent_get_cell_area
gtk_cell_accessible_parent_get_cell_extents
gtk_cell_accessible_parent_get_cell_position
gtk_cell_accessible_parent_get_column_header_cells
gtk_cell_accessible_parent_get_row_header_cells
gtk_center_layout_get_baseline_position
gtk_center_layout_get_center_widget
gtk_center_layout_get_end_widget
gtk_center_layout_get_orientation
gtk_center_layout_get_start_widget
gtk_drag_highlight
gtk_drag_unhighlight
gtk_event_controller_get_propagation_limit ()
gtk_event_controller_set_propagation_limit ()
gtk_gesture_long_press_get_delay_factor ()
gtk_gesture_long_press_set_delay_factor ()
gtk_icon_theme_choose_icon_async
gtk_icon_theme_choose_icon_finish
gtk_icon_view_get_item_at_pos
gtk_icon_view_get_path_at_pos
gtk_menu_tracker_item_may_disappear
gtk_popover_menu_set_menu_model ()
gtk_popover_new ()
gtk_popover_set_default_widget ()
gtk_print_backend_load_modules
gtk_style_context_get_parent ()
gtk_style_context_set_parent
gtk_text_buffer_get_can_redo ()
gtk_text_buffer_get_can_undo ()
gtk_text_buffer_insert_texture
gtk_text_buffer_set_enable_undo (enable_undo)
gtk_text_iter_get_texture
gtk_text_layout_get_lines
gtk_text_layout_set_buffer
gtk_toplevel_accessible_get_children
gtk_widget_class_install_action ()
gtk_widget_get_first_child
gtk_widget_get_last_child
gtk_widget_get_next_sibling
gtk_widget_get_prev_sibling
gtk_widget_get_tooltip_window
gtk_widget_set_tooltip_window
gtkenums:long_description
gtkimmulticontext:long_description
gtktesting:long_description
docs/reference/gtk/html/ 0000775 0001750 0001750 00000000000 13620320637 015327 5 ustar mclasen mclasen docs/reference/gtk/html/aboutdialog.png 0000664 0001750 0001750 00000050640 13620320467 020335 0 ustar mclasen mclasen PNG
IHDR O g sBIT|d IDATxw|e̶$EE,Գg~gEQ+{ogw RDNMef$lBIv7y-;;33 """""""""""""""""""""""""""""""""""""""""""""maĺ͈zȎŎu&1""";xxHX\v,Cu+ED35qر
ŦUhHgjm8_Z4v՞i)XpKC(Ӏ3g4~Ā%zȡlܸBk/v
#-lp8tP`W06mM7mI;tTg٧ǷS=DDD?UmB!]Y[Eal2hKj7vǏ7nqP6rȴ^o@w иMuHpG&MQg?#'mwEDDp9]?~0ЃP˹[ulds+CGWP7"Z:iYYYCi""""+3dlsnhF玲KYE|VYMeUe#s)ۏ>`qd
8qd i}ձIeNς_A(݅}9K,pIuuvZmc6thӫej*Ĕt?`$OljOTKk|tO`GPGZ
-]\JR
NWּm˲XWg04YsfAHLLu5PP:K)|zqb\ѲCQ7'/fuoZeYx<زm`0Yvɖd{| ]y?O'NdsK:|ºCtQYjQ LTPX;DWp@tǨozZ80q ($$^ A%g
sKz4FчJצ/jQ۶1c-|>_Wfۦ%VQ@3'Ԣ.(;E
3l,}ǖw8F~L0Il_M^5_[50;ϫ'0p>E{g*TNAyL&"*ZS[֝yz҇Jק`c-̝5p?ĬPZiF]1^~
:>Fk}u/c^Nꎜ^/=}G{