ToggleToolButton.this

Warning gtk_toggle_tool_button_new_from_stock has been deprecated since version 3.10 and should not be used in newly-written code. Use gtk_toggle_tool_button_new() instead. Creates a new GtkToggleToolButton containing the image and text from a stock item. Some stock ids have preprocessor macros like GTK_STOCK_OK and GTK_STOCK_APPLY. It is an error if stock_id is not a name of a stock item. Since 2.4

  1. this(GtkToggleToolButton* gtkToggleToolButton)
  2. this(StockID stockId)
  3. this()
  4. this(string stockId)
    class ToggleToolButton
    this
    (
    string stockId
    )

Parameters

stockId string

the name of the stock item

Throws

ConstructionException GTK+ fails to create the object.

Meta