Re: Tutorial



Michael Ott <michael zolnott de> writes:

Hallo!

I downloaded Gtk2. I found tutorial-examples but cannot found a
tutorial. Where can I found the Gtk2-tutorial

There is no "written" tutorial for gtk2-perl that I know of. More
or less, you need to read the C tutorial along with the gtk2-perl
tutorial examples, the function names and calls are rather
similar.

Then, when coding, I personally use two things: the C API
documentation, and the perl debugger which helps to see what
functions are available for a given object, with:

[gc obiwan ~] perl -de1

Loading DB routines from perl5db.pl version 1.19
Editor support available.

Enter h or `h h' for help, or `man perldebug' for more help.

main::(-e:1):   1
  DB<1> use Gtk2

  DB<2> Gtk2->init

  DB<3> use Gtk2::CheckButton

  DB<4> m Gtk2::CheckButton
_new
bootstrap
carp
confess
croak
new
new_with_label
new_with_mnemonic
xbootstrap
via Gtk2::ToggleButton: _set_active
via Gtk2::ToggleButton: active
via Gtk2::ToggleButton: get_active
via Gtk2::ToggleButton: get_inconsistent
via Gtk2::ToggleButton: get_mode
via Gtk2::ToggleButton: set_active
via Gtk2::ToggleButton: set_inconsistent
via Gtk2::ToggleButton: set_mode
via Gtk2::ToggleButton: toggled
via Gtk2::ToggleButton -> Gtk2::Button: clicked
via Gtk2::ToggleButton -> Gtk2::Button: enter
via Gtk2::ToggleButton -> Gtk2::Button: get_label
via Gtk2::ToggleButton -> Gtk2::Button: get_relief
via Gtk2::ToggleButton -> Gtk2::Button: get_use_stock
via Gtk2::ToggleButton -> Gtk2::Button: get_use_underline
via Gtk2::ToggleButton -> Gtk2::Button: leave
via Gtk2::ToggleButton -> Gtk2::Button: new_from_stock
via Gtk2::ToggleButton -> Gtk2::Button: pressed
via Gtk2::ToggleButton -> Gtk2::Button: released
via Gtk2::ToggleButton -> Gtk2::Button: set_label
via Gtk2::ToggleButton -> Gtk2::Button: set_relief
via Gtk2::ToggleButton -> Gtk2::Button: set_use_stock
via Gtk2::ToggleButton -> Gtk2::Button: set_use_underline
via Gtk2::ToggleButton -> Gtk2::Button -> Gtk2::Bin: child
via Gtk2::ToggleButton -> Gtk2::Button -> Gtk2::Bin: get_child
via Gtk2::ToggleButton -> Gtk2::Button -> Gtk2::Bin -> Gtk2::Container: _get_children
via Gtk2::ToggleButton -> Gtk2::Button -> Gtk2::Bin -> Gtk2::Container: add
via Gtk2::ToggleButton -> Gtk2::Button -> Gtk2::Bin -> Gtk2::Container: border_width
via Gtk2::ToggleButton -> Gtk2::Button -> Gtk2::Bin -> Gtk2::Container: check_resize
via Gtk2::ToggleButton -> Gtk2::Button -> Gtk2::Bin -> Gtk2::Container: forall
via Gtk2::ToggleButton -> Gtk2::Button -> Gtk2::Bin -> Gtk2::Container: foreach
via Gtk2::ToggleButton -> Gtk2::Button -> Gtk2::Bin -> Gtk2::Container: get_border_width
via Gtk2::ToggleButton -> Gtk2::Button -> Gtk2::Bin -> Gtk2::Container: get_children
via Gtk2::ToggleButton -> Gtk2::Button -> Gtk2::Bin -> Gtk2::Container: get_focus_hadjustment
via Gtk2::ToggleButton -> Gtk2::Button -> Gtk2::Bin -> Gtk2::Container: get_focus_vadjustment
via Gtk2::ToggleButton -> Gtk2::Button -> Gtk2::Bin -> Gtk2::Container: get_resize_mode
via Gtk2::ToggleButton -> Gtk2::Button -> Gtk2::Bin -> Gtk2::Container: remove
via Gtk2::ToggleButton -> Gtk2::Button -> Gtk2::Bin -> Gtk2::Container: resize_children
via Gtk2::ToggleButton -> Gtk2::Button -> Gtk2::Bin -> Gtk2::Container: set_border_width
via Gtk2::ToggleButton -> Gtk2::Button -> Gtk2::Bin -> Gtk2::Container: set_focus_child
via Gtk2::ToggleButton -> Gtk2::Button -> Gtk2::Bin -> Gtk2::Container: set_focus_hadjustment
via Gtk2::ToggleButton -> Gtk2::Button -> Gtk2::Bin -> Gtk2::Container: set_focus_vadjustment
via Gtk2::ToggleButton -> Gtk2::Button -> Gtk2::Bin -> Gtk2::Container: set_reallocate_redraws
via Gtk2::ToggleButton -> Gtk2::Button -> Gtk2::Bin -> Gtk2::Container: set_resize_mode
via Gtk2::ToggleButton -> Gtk2::Button -> Gtk2::Bin -> Gtk2::Container -> Gtk2::Widget: CAN_DEFAULT
via Gtk2::ToggleButton -> Gtk2::Button -> Gtk2::Bin -> Gtk2::Container -> Gtk2::Widget: CAN_FOCUS
via Gtk2::ToggleButton -> Gtk2::Button -> Gtk2::Bin -> Gtk2::Container -> Gtk2::Widget: DRAWABLE
via Gtk2::ToggleButton -> Gtk2::Button -> Gtk2::Bin -> Gtk2::Container -> Gtk2::Widget: FLAGS
via Gtk2::ToggleButton -> Gtk2::Button -> Gtk2::Bin -> Gtk2::Container -> Gtk2::Widget: GET_FLAGS

[...]



-- 
Guillaume Cottenceau - http://people.mandrakesoft.com/~gc/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]