Gtk2

 view release on metacpan or  search on metacpan

ChangeLog.pre-git  view on Meta::CPAN

	* xs/GtkClipboard.xs, xs/GtkToolbar.xs: Fix a signedness and a
	no-comma-after-last-enum-value warning.

2005/10/15	kaffeetisch

	* t/GdkX11.t, xs/GdkX11.xs: Patch from Marc Lehmann adds
	gdk_x11_screen_supports_net_wm_hint and gdk_net_wm_supports.  Also
	bind gdk_x11_get_server_time, gdk_x11_grab_server,
	gdk_x11_ungrab_server, gdk_x11_get_default_screen,
	gdk_x11_register_standard_event_type,
	gdk_x11_window_move_to_current_desktop,
	gdk_x11_screen_get_screen_number,
	gdk_x11_screen_get_window_manager_name and
	gdk_x11_screen_supports_net_wm_hint while we're at it.

2005/10/13	muppetman

	* MANIFEST: update with missing entries.

	* pm/SimpleList.pm, pm/SimpleMenu.pm: add deprecation notices.

ChangeLog.pre-git  view on Meta::CPAN


	* xs/GtkCellRenderer.xs: hide deprecated warnings unless env var
	GTK2PERL_DEBUG is set and true.

2004/03/01 02:05 (-0500) muppetman

	* t/GdkDnd.t: make the test not fail when the destination window
	doesn't exist.

	* t/GdkEvent.t: some settings don't exist if you're not running
	gnome, e.g., remote to non-gnome desktop; don't fail if the setting
	isn't there.

	* xs/GdkDnd.xs: if find_window returns no destination window, the
	protocol is garbage; don't try to convert it to a protocol enum
	value.  this is half of the fix for the bizarre test problem
	were seeing in t/GdkDnd.t

2004/03/01 04:51 (+0100) kaffeetisch

	* t/GtkFileChooser.t: Rearrange some function calls to avoid

t/01.GtkWindow.t  view on Meta::CPAN

	$win2->set_type_hint($_);
	ok(1);

	is( $win2->get_type_hint, $_ );
}

SKIP: {
	skip 'stuff missing in 2.0.x', 6
		unless Gtk2->CHECK_VERSION (2, 2, 0);

	foreach (qw/splashscreen utility dock desktop/)
	{
		$win2->set_type_hint($_);

		is( $win2->get_type_hint, $_ );
	}

	SKIP: {
		skip 'taskbar stuff missing on windows', 1
			if $^O eq 'MSWin32';

t/GdkX11.t  view on Meta::CPAN

    skip("2.6 stuff", 0)
      unless Gtk2->CHECK_VERSION(2, 6, 0);

    $window -> window() -> set_user_time(time());
  }

  SKIP: {
    skip("2.8 stuff", 1)
      unless Gtk2->CHECK_VERSION(2, 8, 0);

    $window -> window() -> move_to_current_desktop();

    my $display = Gtk2::Gdk::Display -> get_default();

    $display -> set_cursor_theme("just-testing", 23);
    like($display -> get_user_time(), qr/^\d+$/);
  }

  SKIP: {
    skip '2.12 stuff', 1
      unless Gtk2->CHECK_VERSION(2, 12, 0);

xs/GdkX11.xs  view on Meta::CPAN

#ifdef GDK_WINDOWING_X11

#if GTK_CHECK_VERSION (2, 6, 0)

void gdk_x11_window_set_user_time (GdkWindow *window, guint32 timestamp);

#endif /* 2.6.0 */

#if GTK_CHECK_VERSION (2, 8, 0)

void gdk_x11_window_move_to_current_desktop (GdkWindow *window);

#endif /* 2.8.0 */

#endif /* GDK_WINDOWING_X11 */

# --------------------------------------------------------------------------- #

MODULE = Gtk2::Gdk::X11	PACKAGE = Gtk2::Gdk::Screen	PREFIX = gdk_x11_screen_

#ifdef GDK_WINDOWING_X11

xs/GtkWindow.xs  view on Meta::CPAN


## gboolean gtk_window_get_decorated (GtkWindow *window)
gboolean
gtk_window_get_decorated (window)
	GtkWindow * window

## void gtk_window_set_icon_list (GtkWindow *window, GList *list)
=for apidoc
=for arg ... of Gtk2::Gdk::Pixbuf's
Sets up the icon representing a Gtk2::Window. The icon is used when the window
is minimized (also known as iconified). Some window managers or desktop
environments may also place it in the window frame, or display it in other
contexts.

L<set_icon_list ()|/"$window-E<gt>B<set_icon_list> (...)"> allows you to pass
in the same icon in several hand-drawn sizes. The list should contain the
natural sizes your icon is available in; that is, don't scale the image before
passing it to GTK+.  Scaling is postponed until the last minute, when the
desired final size is known, to allow best quality.

By passing several sizes, you may improve the final image quality of the icon,



( run in 0.594 second using v1.01-cache-2.11-cpan-299005ec8e3 )