Skip to content

Commit

Permalink
proxy the force hidden state
Browse files Browse the repository at this point in the history
  • Loading branch information
sccolbert committed Jun 17, 2013
1 parent a4ed886 commit 75f00a8
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions enaml/qt/docking/q_dock_item.py
Original file line number Diff line number Diff line change
Expand Up @@ -413,6 +413,28 @@ def setTitleEditable(self, editable):
"""
self.titleBarWidget().setEditable(editable)

def titleBarForceHidden(self):
""" Get whether or not the title bar is force hidden.
Returns
-------
result : bool
Whether or not the title bar is force hidden.
"""
return self.titleBarWidget().isForceHidden()

def setTitleBarForceHidden(self, hidden):
""" Set the force hidden state of the title bar.
Parameters
----------
hidden : bool
True if the title bar should be hidden, False otherwise.
"""
self.titleBarWidget().setForceHidden(hidden)

def closable(self):
""" Get whether or not the dock item is closable.
Expand Down

0 comments on commit 75f00a8

Please sign in to comment.