Create  Edit  FrontPage  Index  Search  Changes  History  RSS  Login

GLib::Instantiatable

Instance Methods

signal_connect(detailed_signal, *other_args){|instance, *signal_related_args, *other_args| ... }
Connects a block to a signal for a particular object. The handler will be called before the default handler of the signal.
  • detailed_signal: a string of the form "signal-name::detail".
  • other_args: extra arguments to pass handler.
  • Returns : the handler id
signal_connect_after(detailed_signal, *other_args){|instance, *signal_related_args, *other_args| ... }
Connects a block to a signal for a particular object. The handler will be called after the default handler of the signal.
  • detailed_signal: a string of the form "signal-name::detail".
  • other_args: extra arguments to pass handler.
  • Returns : the handler id
signal_emit(detailed_signal, *args)
Emits a signal.
  • detailed_signal: a string of the form "signal-name::detail".
  • args: parameters to be passed to the signal,
signal_emit_stop
(FIXME)
signal_handler_block(handler_id)
signal_handler_block(handler_id){ ... }
Blocks a handler of an instance so it will not be called during any signal emissions unless it is unblocked again. Thus "blocking" a signal handler means to temporarily deactive it, a signal handler has to be unblocked exactly the same amount of times it has been blocked before to become active again. The handler_id has to be a valid signal handler id, connected to a signal of instance.
  • handler_id : Handler id of the handler to be blocked.
signal_handler_unblock(handler_id)
Undoes the effect of a previous GLib::Instantiatable#signal_handler_block call. A blocked handler is skipped during signal emissions and will not be invoked, unblocking it (for exactly the amount of times it has been blocked before) reverts its "blocked" state, so the handler will be recognized by the signal system and is called upon future or currently ongoing signal emissions (since the order in which handlers are called during signal emissions is deterministic, whether the unblocked handler in question is called as part of a currently ongoing emission depends on how far that emission has proceeded yet). The handler_id has to be a valid id of a signal handler that is connected to a signal of instance and is currently blocked.
  • handler_id : Handler id of the handler to be unblocked.
signal_handler_disconnect(handler_id)
Disconnects a handler from an instance so it will not be called during any future or currently ongoing emissions of the signal it has been connected to. The handler_id becomes invalid and may be reused. The handler_id has to be a valid signal handler id, connected to a signal of instance.
  • handler_id : Handler id of the handler to be disconnected.
signal_handler_is_connected?(handler_id)
Returns whether handler_id is the id of a handler connected to instance.
  • handler_id : the handler id.
  • Returns : whether handler_id identifies a handler connected to instance.

- sakai?

clone
  • Returns: self: FIXME
gtype
  • Returns: self: FIXME
signal_has_handler_pending?
  • Returns: self: FIXME
Last modified:2008/04/10 11:01:32
Keyword(s):
References:[Gtk::IconView] [Gdk::DisplayManager] [Poppler::TextField] [Gtk::FileFilter] [Gtk::ToolItem] [Gtk::ComboBox] [Bonobo::Window] [GLib::FileOutputStream] [Gtk::FileChooserDialog] [Gtk::Fixed] [GLib::ThemedIcon] [Gdk::PixbufLoader] [Gtk::CellRendererAccel] [Gnome::Client] [GLib::DesktopAppInfo] [News_20031116_1] [GLib::Param::UniChar] [Gst::Bus] [Gnome::FileEntry] [Gtk::HPaned] [ruby-gtk-object-hierarchy] [Gdk::GLContext] [Gtk::HtmlView] [Gtk] [Gda::Connection] [GLib::SocketConnection] [Gtk::TreeView] [GLib::Param::Object] [Gdk::PixbufAnimation] [Gst::PluginFeature] [Gtk::SourceLanguageManager] [GladeXML] [Atk::NoOpObject] [Gtk::SourceMark] [Gtk::SpinButton] [Pango::Font] [Atk::Hyperlink] [GLib::ThreadedSocketService] [Gnome::CanvasItem] [Gtk::InputDialog] [Gtk::HtmlBoxTableCaption] [GLib::Param::String] [Gtk::Window] [Gnome::App] [Gtk::HScale] [Gtk::HtmlContext] [Gtk::TreeModelSort] [Gdk::DragContext] [Gtk::TextView] [GLib::Param::Pointer] [index-ruby-glib2] [Gtk::Statusbar] [Gdk::Visual] [Gtk::HScrollbar] [GLib::Param::UInt64] [Gnome::DruidPage] [Gtk::PrintJob] [GLib::SocketControlMessage] [Gtk::SourceLanguage] [Gtk::FileChooserButton] [Gtk::TrayIcon] [GLib::Param::Long] [Gdk::PixbufSimpleAnim] [Gtk::PageSetupUnixDialog] [Gtk::Scale] [Gtk::Tooltip] [Gtk::TextTag] [Gtk::CheckButton] [Gnome::CanvasPolygon] [Gst::Object] [Gnome::IconList] [Gtk::MenuItem] [GLib::DataOutputStream] [Poppler::PSFile] [GLib::Param::Flags] [Gtk::VRuler] [Gda::DataModel] [Atk::Util] [Gtk::RadioMenuItem] [Gtk::PageSetup] [index-ruby-gio2] [Gda::DataModelHash] [Gnome::ColorPicker] [Gtk::GammaCurve] [Gtk::PrintUnixDialog] [Gtk::PrintSettings] [Gnome::PrintConfig] [Gtk::HtmlBoxTableRowGroup] [Gtk::HtmlDocument] [GLib::UnixMountMonitor] [Gtk::Combo] [Gst::Scheduler] [GLib::NetworkAddress] [GLib::BufferedOutputStream] [Poppler::UnknownField] [Gtk::ColorButton] [GLib::MemoryInputStream] [Gtk::VScale] [Gst::GhostPad] [Gtk::ListStore] [Pango::Fontset] [Gtk::Table] [Gnome::PrintPreview] [Gtk::Expander] [GLib::Param::Double] [Gtk::Object] [Gtk::SourceStyle] [GLib::Param::Boolean] [Gtk::IconTheme] [Gtk::SourcePrintCompositor] [GLib::FileEnumerator] [Gtk::Ruler] [Gnome::PaperSelector] [GLib::UnixSocketAddress] [Atk::Registry] [Gst::SystemClock] [Gst::Pad] [Gtk::SizeGroup] [Gtk::VPaned] [Ruby/GLib] [Gst::XML] [Gnome::PrintJobPreview] [GLib::InitiallyUnowned] [GConf::Client] [Gnome::CanvasWidget] [GLib::Instantiatable] [Gtk::EntryCompletion] [Gtk::ToggleToolButton] [GLib::ConverterInputStream] [Gtk::CellRendererPixbuf] [Gdk::Window] [Poppler::Page] [Poppler::ChoiceField] [Gtk::Paned] [Gtk::MozEmbed] [Gtk::Accessible] [Gtk::ScrolledWindow] [Gtk::FontSelection] [Pango::FontFamily] [Gda::DataModelArray] [GLib::Param::UInt] [Gst::AutoplugFactory] [Gtk::VScrollbar] [Gtk::CellRendererCombo] [Gtk::HRuler] [Gtk::VBox] [Gtk::FontButton] [Gtk::PatternTag] [Gtk::Misc] [Poppler::AnnotationText] [Gdk::Screen] [Bonobo::UI::Component] [Gdk::Pixbuf] [Gtk::Assistant] [Gnome::About] [Gtk::HtmlStream] [GLib::Param::Int64] [Gtk::Dialog] [Gnome::PrintContext] [Gda::Table] [Gtk::Progress] [Gdk::GC] [Gda::Error] [Gtk::HtmlParser] [Gda::DataModelList] [Gst::ElementFactory] [Pango::Layout] [Gtk::TreeSelection] [Gtk::SourcePrintJob] [GLib::Param::Enum] [GLib::ZlibDecompressor] [GLib::Param::Param] [How to Implement Ruby-GNOME2] [Gtk::MenuBar] [GLib::NetworkService] [Atk::RelationSet] [Gtk::TreeViewColumn] [GLib::FilterOutputStream] [GLib::Param::ULong] [Gtk::AccelMap] [Gst::Index] [GLib::IOModule] [GLib::ZlibCompressor] [Gtk::Invisible] [Gtk::PrintOperation] [Gtk::ScaleButton] [Gnome::GPASettings] [Gtk::ColorSelection] [Gtk::CellRenderer] [Gtk::MenuShell] [Gtk::HtmlBoxRoot] [Gtk::MenuToolButton] [GLib::MountOperation] [Gtk::HtmlBoxText] [Gnome::CanvasClipgroup] [Gnome::AppBar] [Gtk::Toolbar] [Gnome::CanvasBpath] [Gtk::SourceTagTable] [Gnome::FontPicker] [Gtk::TextMark] [Poppler::Attachment] [Gtk::Box] [Gtk::ButtonBox] [Gnome::CanvasLine] [Gtk::RecentChooserMenu] [Gtk::RadioToolButton] [GLib::UnixConnection] [GLib::UnixInputStream] [Gdk::Pixmap] [Gtk::FileChooserWidget] [Gnome::GPAModel] [Pango::EngineLang] [Bonobo::Object] [Gnome::FontDialog] [GLib::Param::UChar] [GLib::SimpleAsyncResult] [Gnome::DateEdit] [Gtk::VolumeButton] [Bonobo::Dock] [Gtk::VButtonBox] [Gst::Autoplug] [RSVG::Handle] [GLib::EmblemedIcon] [Gnome::GPAPrinter] [Gnome::DruidPageEdge] [Gtk::IMContext] [Gtk::Socket] [GLib::Vfs] [Gtk::SyntaxTag] [Gtk::HtmlBoxTable] [Gtk::HtmlEmbedded] [Gtk::PrintBackend] [Gtk::RecentChooserDialog] [Gda::Transaction] [Gda::Client] [Gtk::AccelGroup] [Gtk::CellRendererText] [Gnome::GPANode] [Atk::Object] [Gtk::IMMulticontext] [Pango::FontsetSimple] [Gst::Registry] [GLib::FileInputStream] [GLib::MemoryOutputStream] [GLib::FileMonitor] [Gnome::PrintConfigDialog] [Gtk::Alignment] [Gtk::ProgressBar] [GLib::AppLaunchContext] [Gtk::ColorSelectionDialog] [Gtk::SourceMarker] [Gtk::MessageDialog] [GLib::FileIcon] [Bonobo::UI::Engine] [Gtk::ActionGroup] [Gtk::Separator] [Gtk::RcStyle] [Ruby/PanelApplet] [GLib::VolumeMonitor] [Gtk::ComboBoxEntry] [GLib::Resolver] [Gtk::Label] [Gtk::EventBox] [Gtk::CellView] [Gtk::RadioAction] [Gtk::HBox] [Gtk::CellRendererSpin] [Gst::TypeFactory] [Gtk::Scrollbar] [GLib::Param::Char] [GLib::ConverterOutputStream] [GLib::Param::Int] [Gtk::SourceStyleScheme] [Gtk::Editable] [GLib::CharsetConverter] [Gtk::RecentAction] [Poppler::SignatureField] [Gtk::HtmlBoxTableRow] [Gtk::Entry] [Gnome::IconEntry] [Gst::PadTemplate] [Poppler::ButtonField] [Gtk::Layout] [Gtk::FileSelection] [Vte::Reaper] [Gnome::CanvasPixbuf] [GLib::SocketListener] [Gnome::IconSelection] [Gda::Export] [Bonobo::DockItem] [tut-gtk-signals] [Pango::Engine] [Gtk::Widget] [GLib::SocketClient] [Gnome::FontSelection] [Gdk::Keymap] [GLib::TypeModule] [GLib::Param::Boxed] [Gtk::IMContextSimple] [Gtk::TearoffMenuItem] [Gtk::RC] [Gtk::AboutDialog] [Poppler::FontInfo] [Gnome::Entry] [Gtk::CellRendererProgress] [Gtk::TextTagTable] [Gtk::Notebook] [Gda::Select] [Gtk::Calendar] [Gtk::Container] [Gtk::OptionMenu] [Gtk::HtmlBox] [Gtk::Arrow] [Gnome::PixmapEntry] [Pango::EngineShape] [Gtk::Bin] [Gdk::GLConfig] [Gnome::PrintContentSelector] [Gnome::Canvas] [Gtk::SourceStyleSchemeManager] [Gtk::Menu] [Atk::Relation] [GLib::InputStream] [Gtk::SourceLanguagesManager] [GLib::UnixFdList] [Gtk::Plug] [Gtk::Style] [Gtk::RadioButton] [Gtk::TextChildAnchor] [Gst::Clock] [Gnome::CanvasRect] [GLib::DataInputStream] [GLib::FilterInputStream] [Gtk::AspectFrame] [Atk::GObjectAccessible] [Gst::IndexFactory] [Gdk::GLWindow] [Gtk::CellRendererToggle] [Gtk::ToggleAction] [Gtk::RecentFilter] [Gtk::ImageMenuItem] [Gnome::PrintJob] [Gtk::SeparatorToolItem] [Gst::Thread] [tut-gtk-signals-more] [Gdk::Display] [Gnome::CanvasEllipse] [Gtk::ToolButton] [Gtk::Frame] [GLib::BufferedInputStream] [Gtk::Button] [Gtk::VSeparator] [Gtk::Settings] [GLib::Cancellable] [Gtk::ItemFactory] [GLib::SocketAddressEnumerator] [GLib::SocketAddress] [Gdk::Image] [Gtk::Curve] [Gnome::PrintUnitSelector] [Gtk::FontSelectionDialog] [Gst::Element] [Gtk::HSeparator] [Gnome::CanvasShape] [Poppler::AnnotationFreeText] [Atk::ObjectFactory] [Pango::Context] [Gnome::IconTextItem] [Gdk::GLPixmap] [Pango::FontMap] [Gtk::LinkButton] [GLib::FileInfo] [Gtk::SourceView] [Gtk::PrintContext] [Gst::SchedulerFactory] [Gtk::WindowGroup] [Gtk::StatusIcon] [Gtk::Printer] [Atk::NoOpObjectFactory] [Bonobo::DockLayout] [Gnome::PrintDialog] [Gtk::HtmlBoxBlock] [Gnome::Druid] [Gtk::TextBuffer] [Vte::TerminalAccessible] [Gtk::Range] [Gtk::SeparatorMenuItem] [Gtk::HtmlBoxEmbedded] [Gdk::PixbufAnimationIter] [Gnome::DruidPageStandard] [Pango::FontFace] [GLib::OutputStream] [GLib::Socket] [Gst::Plugin] [Gdk::PangoRenderer] [Gtk::TreeStore] [Gnome::CanvasGroup] [GLib::Param::Float] [Gtk::Tooltips] [Gtk::CheckMenuItem] [Gst::TypeFindFactory] [Gst::Pipeline] [Gtk::TreeModelFilter] [Gtk::HandleBox] [GLib::InetAddress] [Gdk::Colormap] [Poppler::FormField] [Gtk::ToggleButton] [Gtk::Adjustment] [Gnome::CanvasRichText] [Gnome::GPAList] [Poppler::Annotation] [Gnome::FontPreview] [Gst::Bin] [Gtk::SourceTag] [Bonobo::DockBand] [Gnome::Scores] [Gtk::Image] [Gnome::CanvasRE] [GLib::FilenameCompleter] [GLib::Param::ValueArray] [Vte::Terminal] [Pango::Renderer] [GLib::UnixFDMessage] [Gnome::CanvasText] [Gtk::RecentManager] [Gtk::AccelLabel] [GLib::Object] [GLib::IOStream] [GLib::Param] [Gnome::PopupMenu] [Poppler::Document] [Gtk::Viewport] [Gtk::Builder] [GLib::InetSocketAddress] [Gdk::Drawable] [Gtk::RecentChooserWidget] [Atk::StateSet] [GLib::SocketService] [Poppler::AnnotationMarkup] [Gtk::UIManager] [Gtk::HButtonBox] [Gnome::HRef] [GLib::Emblem] [Gtk::DrawingArea] [Gnome::GPAState] [Gtk::SourceBuffer] [Gtk::Action] [Gtk::Item] [Gtk::HtmlBoxForm] [GLib::UnixOutputStream] [Gtk::IconFactory] [Gdk::Device] [GLib::TcpConnection] [GLib::FileIOStream] [Gnome::Program]