Creates a new GtkButton widget.
sub add_button #( Name = > <name>, Position = > [pos_x, pos_y], Title = > <title>, [Frame => <frame_name>], [Font => [family, size, weight]], [Color => [<color>, <state>]], [Size => [width, height]], [Tooltip => <tooltip_text>], [Function => <function_click>], [Signal => <signal>], [Sensitive => <sensitive>] )
Creates a new GtkCheckButton widget.
sub add_check_button #( Name = > <name>, Position = > [pos_x, pos_y], Title = > <title>, [Frame => <frame_name>], [Active => <0/1>], [Font => [family, size, weight]], [Color => [<color>, <state>]], [Tooltip => <tooltip_text>], [Function => <function_click>], [Signal => <signal>], [Sensitive => <sensitive>] )
Creates a new GtkComboBox widget.
sub add_combo_box #( Name = > <name>, Position = > [pos_x, pos_y], Data = > [Array_of_values>], [Start => <start_value>], [Size => [width, height]], [Frame => <frame_name>], [Tooltip => <tooltip_text>], [Function => <function_click>], [Signal => <signal>], [Sensitive => <sensitive>] )
Creates a new GtkImage widget.
sub add_drawing_area #( Name = > <name>, Pos = > [pos_x, pos_y], Size = > [width, height], [Frame => <frame_name>], [Function => <function_click>], [Signal => <signal>], [Sensitive => <sensitive>] )
Creates a new GtkEntry widget.
sub add_entry #( Name = > <name>, Position = > [pos_x, pos_y], Size = > [width, height], [Title => <title>], [Frame => <frame_name>], [Font => [family, size, weight]], [Align => <xalign>], [Tooltip => <tooltip_text>], [Function => <function_click>], [Signal => <signal>], [Sensitive => <sensitive>] )
Creates a new GtkFileChooserButton widget.
sub add_filechooser_button #( Name = > <name>, Position = > [pos_x, pos_y], Title = > <title>, Action = > <open_mode>, [Frame => <frame_name>], [File => <file_path>], [Filter => <pattern|mimetype> | [<name>, <pattern|mimetype>]], [Folder => <directory>], [Size => [width, height]], [Function => <function_click>], [Signal => <signal>], [Sensitive => <sensitive>] )
Creates a new GtkFileChooserDialog widget.
sub add_filechooser_dialog #( Name = > <name>, Action = > <open_mode>, [Title => <title>], [FName => <file_name>], [Filter => <pattern|mimetype> | [<name>, <pattern|mimetype>]], [Folder => <directory>], [RFunc => <response_function>] )
Creates a new GtkFontButton widget.
sub add_font_button #( Name = > <name>, Position = > [pos_x, pos_y], Title = > <title>, Action = > <open_mode>, [Frame => <frame_name>], [Font => [family, size, weight]], [Size => [width, height]], [Function => <function_click>], [Signal => <signal>], [Sensitive => <sensitive>] )
Creates a new GtkFontSelectionDialog widget.
sub add_fontselection_dialog #( Name = > <name>, Title = > <title>, [Font => [family, size, weight]], [Preview => <preview text>], [RFunc => <response_function>] )
Creates a new GtkFrame widget.
sub add_frame #( Name = > <name>, Position = > [pos_x, pos_y], [Title => <title>], [Frame => <frame_name>], [Font => [family, size, weight]], [Tooltip => <tooltip_text>], [Sensitive => <sensitive>] )
Creates a new GtkImage widget.
sub add_image #( Name = > <name>, Path = > <file_path>, or Pixbuffer = > <pix_buffer_object>, or Stock = > [<stock_name>[,<stock_size>]], Size = > [width, height], Position = > [pos_x, pos_y], [Frame => <frame_name>], [Tooltip => <tooltip_text>], [Function => <function_click>], [Signal => <signal>], [Sensitive => <sensitive>] )
Creates a new GtkLabel widget.
sub add_label #( Name = > <name>, Position = > [pos_x, pos_y], Title = > <title>, [Frame => <frame_name>], [Font => [family, size, weight]], [Widget => <name_of_linked_widget>], [Justify => <justify>], [Wrapped => <0/1>], [Tooltip => <tooltip_text>], [Sensitive => <sensitive>] )
Creates a new GtkLinkButton widget.
sub add_link_button #( Name = > <name>, Position = > [pos_x, pos_y], Title = > <title>, Uri = > <uri-text>, [Frame => <frame_name>], [Font => [family, size, weight]], [Color => [<color>, <state>]], [Size => [width, height]], [Function => <function_click>], [Signal => <signal>], [Sensitive => <sensitive>] )
Creates a new GtkMenu widget.
sub add_menu #( Name = > <name>, Menubar = > <menu_bar>, Title = > <title>, [Justify => <justification>], [Sensitive => <sensitive>] )
Creates a new GtkMenuBar widget.
sub add_menu_bar #( Name = > <name>, Position = > [pos_x, pos_y], [Size => [width, height]] )
Creates a new GtkMenuItem widget.
sub add_menu_item #( Name = > <name>, Menu = > <menu_name>, [Type => <type>], [Title => <title>], [Tip|Tooltip => <tooltip_text>], [Icon => <path|stock|name>], Group = > <group_name>, Active = > <0/1>, [Func|Function => <function>], [Sig|Signal => <signal>], [Sens|Sensitive => <sensitive>] )
Creates a new GtkMessageDialog object.
sub add_msg_dialog #( Name = > <name>, Modal = > <0/1>, DType = > <dialog_type>, MTyp = > <message_type>, [Icon => <path|stock|name>], [RFunc => <response_function>] )
Creates a new GtkNotebook page.
sub add_nb_page #( Name = > <name>, Notebook = > <notebook_name>, [Font => [family, size, weight]], [Color => [<color>, <state>]], [Pos_n|PositionNumber => <number>], [Tip|Tooltip => <tooltip_text>], [Sens|Sensitive => <sensitive>] )
Creates a new GtkNotebook widget.
sub add_notebook #( Name = > <name> , Pos|Position = > [pos_x, pos_y], Size = > [width, height], [Tabs => <position>], [Scroll|Scrollable => <0/1>], [Popup => <0/1>], [Frame => <frame_name>], [Sens|Sensitive => <sensitive>] )
Creates a new GtkRadioButton widget.
sub add_radio_button #( Name = > <name>, Position = > [pos_x, pos_y], Title = > <title>, Group = > <button_group>, [Frame => <frame_name>], [Active => <0/1>], [Font => [family, size, weight]], [Color => [<color>, <state>]], [Tooltip => <tooltip_text>], [Function => <function_click>], [Signal => <signal>], [Sensitive => <sensitive>] )
Creates a new GtkScrollBar widget.
sub add_scrollbar #( Name = > <name>, Position = > [pos_x, pos_y], Orientation = > <orientation>, [Size => [width, height]], [Start => <start_value>], Minimum = > <min_value>, Maximum = > <max_value>, Step = > <step_value>, [Digits => <used_digits>], [Frame => <frame_name>], [Tooltip => <tooltip_text>], [Function => <function_click>], [Signal => <signal>], [Sensitive => <sensitive>] )
Creates a new GtkSeparator widget.
sub add_separator #( Name = > <name>, Orient|Orientation = > <orientation>, Pos|Position = > [pos_x, pos_y], [Size => [width, height]], [Frame => <frame_name>], [Sens|Sensitive => <sensitive>] )
Adds a signal handler to a widget.
sub add_signal_handler #( <name>, <signal>, <function>, [<data>] )
Creates a new GtkSlider widget.
sub add_slider #( Name = > <name>, Position = > [pos_x, pos_y], Orientation = > <orientation>, [Size => [width, height]], [Start => <start_value>], Minimum = > <min_value>, Maximum = > <max_value>, Step = > <step_in/decrease>, [DrawValue => <1/0>], [ValuePosition => <value_position>], [Digits => <used_digits>], [Frame => <frame_name>], [Tooltip => <tooltip_text>], [Function => <function_click>], [Signal => <signal>], [Sensitive => <sensitive>] )
Creates a new GtkSpinButton widget.
sub add_spin_button #( Name = > <name>, Position = > [pos_x, pos_y], [Size => [width, height]], [Start => <start_value>], Minimum = > <min_value>, Maximum = > <max_value>, Step = > <step_in/decrease>, Page = > <page_in/decrease>, [Snap => <snap_to_tick>], [Align => <xalign>], [Rate => <from 0.0 to 1.0>], [Digits => <used_digits>], [Frame => <frame_name>], [Tooltip => <tooltip_text>], [Function => <function_click>], [Signal => <signal>], [Sensitive => <sensitive>] )
Creates a new GtkStatusbar widget.
sub add_statusbar #( Name = > <name>, Position = > [pos_x, pos_y], [Size => [width, height]], [Frame => <frame_name>], [Timeout => <show_time>], [Sensitive => <sensitive>] )
Creates a new GtkTextView widget.
sub add_text_view #( Name = > <name>, Position = > [pos_x, pos_y], Size = > [width, height], Path = > <file_path>, or Textbuffer = > <text_buffer_object>, or Text = > <text_string>, [LeftMargin => <in_pixel>], [RightMargin => <in_pixel>], [Wrapped => <wrap_mode>], [Justify => <justification>], [Frame => <frame_name>], [Tooltip => <tooltip_text>], [Function => <function_click>], [Signal => <signal>], [Sensitive => <sensitive>] )
Add a tooltip to a widget.
sub add_tooltip #( <name>, <text> )
Creates a new GtkTreeView widget.
sub add_treeview #( Name = > <name>, Type = > <List|Tree>, Position = > [pos_x, pos_y], Size = > [width, height], Headers = > [<Array_of_column_pairs>], [Data => [<Array_of_arrays>]], [Treeview => <Gtk2::TreeView>], [Mode => <selection mode>], [Frame => <frame_name>], [Function => <function_click>], [Signal => <signal>], [Sensitive => <sensitive>] )