WatchKit Modal Sheet top right "Done" button - watchkit

This has been asked in 2015 and 2016 but maybe WatchOS 5 brings a change to this:
When presenting dictation input, the user can click 'cancel' as well as 'done'. I would like to use this for a modal sheet in my app as well. Unfortunately I can't find any API on how to create this button. Is this private API?
Here is a screenshot of what I mean (right picture) https://mikebluestein.com/2015/05/02/voice-dictation-with-watchkit-and-xamarin/
Thanks

That's correct, Apple hasn't made a public API for that, and the Done button in the question article's screenshot is unique to Apple's own presentTextInputController(withSuggestions:allowedInputMode:completion:). I'd file a suggestion with your developer account in Bug Reporter → watchOS + SDK → WatchKit.
If you only need a Done button and not a Cancel button as well, what you could do is present a modal and change the top left title text from away from the default "Cancel" to "Done".

Related

Microsoft Teams navigate in a view and press a button (mute all)?

How to click a button when the frame is highlighted after SHIFT+TAB on mac?
Is this not supported in the OSX app as part of accessibility/screen reader feature in MS Teams and description of how to navigate in a view?
I can't figure out i.e. how to click Admit all or Mute all.
FYI - I'm writing applescript to press the required keys sequences accordingly.
EDIT: FYI - the web client supports selecting the button, I have to use the desktop app though for other features.
I tested the desktop version of Teams (1.4.00.26376) on Windows 10; similarly to the OP I also found I couldn't access the 'Mute All' button when focus was on the 'Attendees/In this meeting' accordion panel. But, I could access the 'Mute All' button when I used the Applications Key (or Shift F10) a context menu appeared with the 'Mute All' option and I could access it with the keyboard.

Visual indication for inline buttons

Is there a way to show some visual indication that the inline button has been pressed in telegram bot.
I have a bit which send inline keyboard, and when I press each buttons it works perfectly fine, but there is a slight delay in getting response from the server. As there is no visual indication to show if a button has been pressed, it is confusing for uses to know if the button was pressed and end up pressing the same button several times.
there are different types of inline buttons in Telegram:
Opens URL (with url).
Forward a message (with switch_inline_query).
Insert query at the chat (with switch_inline_query_current_chat).
Button with action (with callback_data).
I suppose you are refering to the last type of button, in that case, if a user press a button you will get the callback_data via CallbackQuery, and that lets you modify the original message with editMessageText to add something like:
Button TEST pressed.
As an alternative way, after you got the callback response at your server, you can use Emoji for showing feedback to your users. Just edit the inline message and edit some relative emoji to the button text.

Can't fingure out what this is called

Since I can't post a picture I am going to have to reference you to an app that does this. If you have the twitter app and you are going to retweet a tweet and that view comes up at the bottom, what is this called? And how would I be able to do this?
it's called a popup window. And the view it doesn't come # the bottom but comes right below the tweet you opt to re tweet.
Apple user interface model is that dialogs that slide up should be modal dialogs.
See: presentModalViewController:animated here

What is the proper name for a multibutton?

I'm trying to design a UI in Qt and I can't find anywhere in the designer a button which can be "droped down" like combobox. What I mean by that is that I would like to have this button with his "default" option choosen so if I like it I would have to just click on it but if I would like to choose different option I would be able to clik the little arrow on the right side of this button and then pick option suitable for me at that moment.
You're looking for a QToolButton that has a set of actions or a menu set on it. From the documentation, the QToolButton::ToolButtonPopupMode...
Describes how a menu should be popped up for tool buttons that has a menu set or contains a list of actions.
Of it's values, the two that I see most frequently are DelayedPopup:
After pressing and holding the tool button down for a certain amount of time (the timeout is style dependant, see QStyle::SH_ToolButton_PopupDelay), the menu is displayed. A typical application example is the "back" button in some web browsers's tool bars. If the user clicks it, the browser simply browses back to the previous page. If the user presses and holds the button down for a while, the tool button shows a menu containing the current history list
And MenuButtonPopup:
In this mode the tool button displays a special arrow to indicate that a menu is present. The menu is displayed when the arrow part of the button is pressed.

VSTO C#: How to disable the popup (tooltip) on a Ribbon Button

I developed a plugin for outlook 2007 that adds a button to the office ribbon.
I wanted to know if there is any possibility (programmatically) to not show the popup message when hoovering over the button with the mouse pointer.
When I hover over the button, a little popup (tooltip) with the following text is displayed: MyAddinName Press F1 for help
Is there any way to suppress this message for this custom button?
It's not possible to remove that text. Microsoft puts it there so that third-party add-ins are clearly identified and their product doesn't get blamed for buggy behavior.

Resources