Skip to content

Commit

Permalink
stubs: Add icon_name property to ToolButton
Browse files Browse the repository at this point in the history
  • Loading branch information
infirit committed Oct 17, 2024
1 parent d291869 commit a558fa0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions stubs/gi/repository/Gtk.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -9572,13 +9572,15 @@ class ToolButton(ToolItem, Actionable):
parent: ToolItem

class _Props(ToolItem._Props):
icon_name: typing.Optional[str]
icon_widget: typing.Optional[Widget]
label: typing.Optional[str]

props: _Props

def __init__(self,
*,
icon_name: typing.Optional[str],
icon_widget: typing.Optional[Widget],
label: typing.Optional[str] = None,
# Container
Expand Down

0 comments on commit a558fa0

Please sign in to comment.