Show
Ignore:
Timestamp:
12/27/07 23:50:17 (5 years ago)
Author:
jeffrey
Message:

+ remaining docs

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • plgtkimageview/ImageNav.xs

    r451 r456  
    44MODULE = Gtk2::ImageView::Nav  PACKAGE = Gtk2::ImageView::Nav  PREFIX = gtk_image_nav_ 
    55 
     6=for object Gtk2::ImageView::Nav Navigation window showing a thumbnailed overview of a Gtk2::ImageView. 
    67 
     8=head1 DESCRIPTION 
     9 
     10Gtk2::ImageView::Nav is a popup window that shows a downscaled preview of the pixbuf that Gtk2::ImageView is showing. The user can drag around a rectangle which indicates the current view of the image. 
     11 
     12This class is used by Gtk2::ImageView::ScrollWin itself. It is probably not very useful for clients of this library. 
     13 
     14Gtk2::ImageView::Nav has the same keybindings that Gtk2::ImageView has. All keypresses that it receives are passed along to the view.  
     15 
     16=cut 
     17 
     18 
     19=for apidoc 
     20 
     21Creates a new Gtk2::ImageView::Nav for showing thumbnails of the view. The pixbuf is by default NULL. 
     22 
     23=over 
     24 
     25=item view : a Gtk2::ImageView. 
     26 
     27=back 
     28 
     29=head3 Returns 
     30 
     31=over 
     32 
     33=item a new Gtk2::ImageView::Nav showing the view. 
     34 
     35=back 
     36 
     37=cut 
    738GtkWidget * 
    839gtk_image_nav_new (view) 
    940                GtkImageView *  view 
    1041 
     42 
     43=for apidoc 
     44 
     45Returns the downscaled pixbuf of the views pixbuf that this Gtk2::ImageView::Nav shows, or NULL if that pixbuf has not been created yet. 
     46 
     47The pixbuf is by default NULL. 
     48 
     49=over 
     50 
     51=item nav : a Gtk2::ImageView::Nav. 
     52 
     53=back 
     54 
     55=head3 Returns 
     56 
     57=over 
     58 
     59=item the pixbuf in the navigation area this image navigator shows, or NULL if none exist. 
     60 
     61=back 
     62 
     63=cut 
    1164GdkPixbuf * 
    1265gtk_image_nav_get_pixbuf (nav) 
     
    2174                GtkImageNav *   nav 
    2275 
     76 
     77=for apidoc 
     78 
     79Show the Gtk2::ImageView::Nav centered around the point (center_x, center_y) and grab mouse and keyboard events. The grab continues until a button release event is received which causes the widget to hide. 
     80 
     81=over 
     82 
     83=item nav : a Gtk2::ImageView::Nav. 
     84 
     85=item center_x : x coordinate of center position 
     86 
     87=item center_y : y coordinate of center position 
     88 
     89=back 
     90 
     91=head3 Returns 
     92 
     93=over 
     94 
     95=item the pixbuf in the navigation area this image navigator shows, or NULL if none exist. 
     96 
     97=back 
     98 
     99=cut 
    23100void 
    24101gtk_image_nav_show_and_grab (nav, center_x, center_y)