Gtk2 manual




















To make GTK pick up this theme, put a file settings. This should contain. To top it all off, run the glib-compile-schemas utility provided by GLib to generate the compiled settings schema in your installation folder:. Step 6. You can then zip up your installation folder, or use an installer generator to do that for you, and distribute the result. Your installer will need to ship your application build artifacts as well as GTK binaries and runtime dependencies.

If not set, an appropriate default will be used. The paragraph background color as a as a possibly unallocated GdkColor. Font size as a scale factor relative to the default font size. This properly adapts to theme changes etc. The ::event signal is emitted when an event occurs on a region of the buffer marked with this tag. TRUE to stop other handlers from being invoked for the event. FALSE to propagate the event further. Go to page content Go to main menu Go to the search field.

About Users Administrators Developers. Signals gboolean event Run Last. 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. 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. 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. 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. Only enable this option if all rows are the same height.

This mode is primarily intended for treeviews in popups, e. GtkTreeView:row-ending-details has been deprecated since version 2. For selection handling refer to the tree widget conceptual overview as well as GtkTreeSelection.

Set the scroll adjustments for the tree view. Usually scrolled containers like GtkScrolledWindow will emit this signal to connect two instances of GtkScrollbar to the scroll directions of the GtkTreeView.

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. 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. Go to page content Go to main menu Go to the search field. About Users Administrators Developers.

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 void set-scroll-adjustments 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.

Returns A newly created GtkTreeView widget. Parameters model the model. Returns A GtkTreeSelection object. Returns Whether the headers are visible or not. Only works after the treeview has been realized. Returns TRUE if rules are useful for the user of this tree. Returns number of columns in the tree view post-insert.

Returns The expander column. Returns TRUE if the row existed and had children. Returns TRUE if the row was collapsed. Returns TRUE if path is expanded. Returns TRUE if the tree can be reordered.

Returns TRUE if a row exists at that coordinate. Returns whether there is a row at the given position, TRUE if this is indeed the case. Returns a newly-allocated pixmap of the drag icon. Returns whether or not to let the user search interactively. Returns the column the interactive search code searches in. Returns the currently used compare function for the search code. Returns the entry currently in use as search entry.

Returns the currently used function for positioning the search dialog. Returns the current row separator function. Returns whether or not the given tooltip context points to a row.

Have you looked at the Perl GTK2 home? They have some documentation there. By the way, there's a command called perldoc that will display the built in documentation of any Perl module. It also has the complete documentation for any function, pragmas, etc. For example:. Of course, the Perldoc webpage has all of the standard included documentation in it. By the way, you know about the cpan command? This is how you download and install a module you find in the CPAN webpage.

All this stuff is nice, but there's a lot of assumption that most people know about this stuff. I was a Perl programmer for over a decade before I realized you were suppose to use the cpan command to install Perl modules. I didn't know about the perldoc command until a few years ago although I already knew about POD plain old documentation which is Perl's standard way of documentation.



0コメント

  • 1000 / 1000